-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
158 changed files
with
5,272 additions
and
3,151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'frontend-gelinkt-notuleren': patch | ||
--- | ||
|
||
Apply Prettier to the codebase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
overrides: [ | ||
{ | ||
files: '*.{js,ts}', | ||
options: { | ||
singleQuote: true, | ||
}, | ||
}, | ||
], | ||
singleQuote: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ | |
"ignoreVersion": true, | ||
"allowSameVersion": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
<div class={{if @error "ember-power-select--error"}}> | ||
<div class={{if @error 'ember-power-select--error'}}> | ||
<PowerSelect | ||
@placeholder={{t "manage-zittings-data.select-placeholder"}} | ||
@placeholder={{t 'manage-zittings-data.select-placeholder'}} | ||
@selected={{@selected}} | ||
@options={{this.administrativeBodyOptions}} | ||
@onChange={{@onChange}} | ||
@triggerId={{@id}} | ||
as |administrativeBody| | ||
> | ||
{{administrativeBody.isTijdsspecialisatieVan.naam}} | ||
({{t "administrative-body-select.period"}}: {{plain-date administrativeBody.bindingStart}} - | ||
({{t 'administrative-body-select.period'}}: | ||
{{plain-date administrativeBody.bindingStart}} | ||
- | ||
{{#if administrativeBody.bindingEinde~}} | ||
{{plain-date administrativeBody.bindingEinde}} | ||
{{else}} | ||
{{t "administrative-body-select.not-applicable"}} | ||
{{t 'administrative-body-select.not-applicable'}} | ||
{{/if}}) | ||
</PowerSelect> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{{yield (hash | ||
items=this.items | ||
loadItemsTask=this.loadItemsTask | ||
deleteItemTask=this.deleteItemTask | ||
onSort=(perform this.onSortTask) | ||
saveItemTask=this.updateItemTask | ||
createAgendaItem=this.createAgendaItem | ||
onCancel=(perform this.resetItemTask) | ||
)}} | ||
{{yield | ||
(hash | ||
items=this.items | ||
loadItemsTask=this.loadItemsTask | ||
deleteItemTask=this.deleteItemTask | ||
onSort=(perform this.onSortTask) | ||
saveItemTask=this.updateItemTask | ||
createAgendaItem=this.createAgendaItem | ||
onCancel=(perform this.resetItemTask) | ||
) | ||
}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
{{yield (hash | ||
Textarea=(component "agenda-manager/agenda-item-form/text-area" model=@model) | ||
Radio=(component "agenda-manager/agenda-item-form/radio" model=@model) | ||
Submit=(component "agenda-manager/agenda-item-form/submit" submit=this.submit loading=this.submitTask.isRunning) | ||
SelectDraft=(component "agenda-manager/agenda-item-form/select-draft" model=@model) | ||
SelectLocation=(component "agenda-manager/agenda-item-form/select-location" model=@model) | ||
)}} | ||
{{yield | ||
(hash | ||
Textarea=(component | ||
'agenda-manager/agenda-item-form/text-area' model=@model | ||
) | ||
Radio=(component 'agenda-manager/agenda-item-form/radio' model=@model) | ||
Submit=(component | ||
'agenda-manager/agenda-item-form/submit' | ||
submit=this.submit | ||
loading=this.submitTask.isRunning | ||
) | ||
SelectDraft=(component | ||
'agenda-manager/agenda-item-form/select-draft' model=@model | ||
) | ||
SelectLocation=(component | ||
'agenda-manager/agenda-item-form/select-location' model=@model | ||
) | ||
) | ||
}} |
15 changes: 10 additions & 5 deletions
15
app/components/agenda-manager/agenda-item-form/radio/index.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
{{yield (hash Option=(component "agenda-manager/agenda-item-form/radio/option" | ||
selectedOption=this.selectedOption | ||
selectOption=this.selectOption | ||
name=@name)) | ||
}} | ||
{{yield | ||
(hash | ||
Option=(component | ||
'agenda-manager/agenda-item-form/radio/option' | ||
selectedOption=this.selectedOption | ||
selectOption=this.selectOption | ||
name=@name | ||
) | ||
) | ||
}} |
17 changes: 11 additions & 6 deletions
17
app/components/agenda-manager/agenda-item-form/radio/option.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
<label class="au-c-control au-c-control--radio"> | ||
<input class="au-c-control__input" type="radio" name={{@name}} | ||
checked={{eq @selectedOption @value}} value={{@value}} | ||
{{on "click" (fn @selectOption @value)}}/> | ||
<span class="au-c-control__indicator"></span> | ||
<label class='au-c-control au-c-control--radio'> | ||
<input | ||
class='au-c-control__input' | ||
type='radio' | ||
name={{@name}} | ||
checked={{eq @selectedOption @value}} | ||
value={{@value}} | ||
{{on 'click' (fn @selectOption @value)}} | ||
/> | ||
<span class='au-c-control__indicator'></span> | ||
{{yield}} | ||
</label> | ||
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 22 additions & 13 deletions
35
app/components/agenda-manager/agenda-item-form/select-location.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,46 @@ | ||
<div class="au-u-margin-bottom"> | ||
<div class='au-u-margin-bottom'> | ||
<AuLabel> | ||
{{yield}} | ||
</AuLabel> | ||
<div class="au-o-grid au-o-grid--tiny"> | ||
<div class="au-o-grid__item au-u-1-2"> | ||
<div class='au-o-grid au-o-grid--tiny'> | ||
<div class='au-o-grid__item au-u-1-2'> | ||
<PowerSelect | ||
@renderInPlace={{true}} | ||
@placeholder={{t "manage-agenda-zitting-modal-move.position-select-placeholder"}} | ||
@placeholder={{t | ||
'manage-agenda-zitting-modal-move.position-select-placeholder' | ||
}} | ||
@options={{this.locationOptions}} | ||
@verticalPosition="above" | ||
@verticalPosition='above' | ||
@selected={{this.selectedLocation}} | ||
@allowClear={{true}} | ||
@onChange={{this.selectLocation}} | ||
as |location|> | ||
as |location| | ||
> | ||
{{location.name}} | ||
</PowerSelect> | ||
</div> | ||
{{#if this.showAfterItemOptions}} | ||
<div class="au-o-grid__item au-u-1-2"> | ||
<div class='au-o-grid__item au-u-1-2'> | ||
<PowerSelect | ||
@renderInPlace={{true}} | ||
@placeholder={{t "manage-agenda-zitting-modal-move.agendapunt-select-placeholder"}} | ||
@placeholder={{t | ||
'manage-agenda-zitting-modal-move.agendapunt-select-placeholder' | ||
}} | ||
@searchEnabled={{true}} | ||
@searchPlaceholder={{t "manage-agenda-zitting-modal-move.search-placeholder"}} | ||
@verticalPosition="above" | ||
@searchPlaceholder={{t | ||
'manage-agenda-zitting-modal-move.search-placeholder' | ||
}} | ||
@verticalPosition='above' | ||
@options={{this.afterItemOptions}} | ||
@selected={{this.selectedAfterItem}} | ||
@onChange={{this.selectAfterItem}} | ||
@matcher={{this.searchMatcher}} | ||
as |a|> | ||
{{add a.position 1}}. {{a.titel}} | ||
as |a| | ||
> | ||
{{add a.position 1}}. | ||
{{a.titel}} | ||
</PowerSelect> | ||
</div> | ||
{{/if}} | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<AuButton @loading={{@loading}} {{on "click" @submit}}> | ||
<AuButton @loading={{@loading}} {{on 'click' @submit}}> | ||
{{yield}} | ||
</AuButton> | ||
</AuButton> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
<SortableObjects @tagName={{"tbody"}} | ||
@sortEndAction={{@onSort}} | ||
@sortableObjectList={{@items}} | ||
@enableSort={{true}} | ||
@useSwap={{true}} | ||
@inPlace={{true}}> | ||
{{yield (hash | ||
Row=(component "agenda-manager/agenda-table/row" readOnly=@readOnly) | ||
Empty=(component "agenda-manager/agenda-table/empty" onCreate=@onCreate) | ||
)}} | ||
<SortableObjects | ||
@tagName={{'tbody'}} | ||
@sortEndAction={{@onSort}} | ||
@sortableObjectList={{@items}} | ||
@enableSort={{true}} | ||
@useSwap={{true}} | ||
@inPlace={{true}} | ||
> | ||
{{yield | ||
(hash | ||
Row=(component 'agenda-manager/agenda-table/row' readOnly=@readOnly) | ||
Empty=(component 'agenda-manager/agenda-table/empty' onCreate=@onCreate) | ||
) | ||
}} | ||
</SortableObjects> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<tr> | ||
<td colspan="4"> | ||
<AuHelpText @size="normal" @skin="link"> | ||
{{t "manage-agenda-zitting-modal.no-data-message"}} | ||
<td colspan='4'> | ||
<AuHelpText @size='normal' @skin='link'> | ||
{{t 'manage-agenda-zitting-modal.no-data-message'}} | ||
</AuHelpText> | ||
</td> | ||
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
<thead> | ||
<tr> | ||
<th>{{t "manage-agenda-zitting-modal.order-label"}}</th> | ||
<th>{{t 'manage-agenda-zitting-modal.order-label'}}</th> | ||
{{!template-lint-disable no-inline-styles}} | ||
<th style="width: 400px;">{{t "manage-agenda-zitting-modal.title-label"}}</th> | ||
<th>{{t "manage-agenda-zitting-modal.gepland-openbaar"}}</th> | ||
<th class="au-u-table-right"> | ||
<span class="au-u-hidden-visually">{{t "manage-agenda-zitting-modal.actions-label"}}</span> | ||
<th style='width: 400px;'>{{t | ||
'manage-agenda-zitting-modal.title-label' | ||
}}</th> | ||
<th>{{t 'manage-agenda-zitting-modal.gepland-openbaar'}}</th> | ||
<th class='au-u-table-right'> | ||
<span class='au-u-hidden-visually'>{{t | ||
'manage-agenda-zitting-modal.actions-label' | ||
}}</span> | ||
{{#unless @readOnly}} | ||
<AuButton {{on "click" @onCreate}} @icon="add" @iconAlignment="left"> | ||
{{t "manage-agenda-zitting-modal.create-item-button"}} | ||
<AuButton {{on 'click' @onCreate}} @icon='add' @iconAlignment='left'> | ||
{{t 'manage-agenda-zitting-modal.create-item-button'}} | ||
</AuButton> | ||
{{/unless}} | ||
</th> | ||
</tr> | ||
</thead> | ||
</thead> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
<table class="au-c-meeting-chrome-table"> | ||
{{yield (hash | ||
Header=(component "agenda-manager/agenda-table/header" onCreate=@onCreate readOnly=@readOnly) | ||
Body=(component "agenda-manager/agenda-table/body" items=@items onSort=@onSort onCreate=@onCreate readOnly=@readOnly) | ||
)}} | ||
</table> | ||
<table class='au-c-meeting-chrome-table'> | ||
{{yield | ||
(hash | ||
Header=(component | ||
'agenda-manager/agenda-table/header' | ||
onCreate=@onCreate | ||
readOnly=@readOnly | ||
) | ||
Body=(component | ||
'agenda-manager/agenda-table/body' | ||
items=@items | ||
onSort=@onSort | ||
onCreate=@onCreate | ||
readOnly=@readOnly | ||
) | ||
) | ||
}} | ||
</table> |
Oops, something went wrong.