-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'DES/enhancement/#732-vlc-refactor' into DES/enhancement…
…/732-vlc-refactor/button # Conflicts: # app/styles/app.scss # app/styles/au-kaleidos-css/_auk-u-generic.scss
- Loading branch information
Showing
55 changed files
with
562 additions
and
1,053 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
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
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
2 changes: 1 addition & 1 deletion
2
app/components/agenda/agendaitem/agendaitem-case/agendaitem-titles-edit.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
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
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
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
2 changes: 1 addition & 1 deletion
2
app/components/mandatees/mandatees-domains-panel/mandatees-domains-panel-edit.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
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
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,8 @@ | ||
<div class="auk-form-group"> | ||
{{#unless this.loadData.isRunning}} | ||
<WebComponents::VlCheckbox | ||
@value={{@urgencyLevel.isUrgent}} | ||
@toggle={{this.toggleUrgency}} | ||
@label={{t "priority-procedure"}}/> | ||
{{/unless}} | ||
</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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Component from '@glimmer/component'; | ||
import { action } from '@ember/object'; | ||
import CONFIG from 'frontend-kaleidos/utils/config'; | ||
import { inject as service } from '@ember/service'; | ||
import { task } from 'ember-concurrency-decorators'; | ||
import { tracked } from '@glimmer/tracking'; | ||
|
||
export default class UrgencyLevelCheckboxComponent extends Component { | ||
@service store; | ||
|
||
@tracked urgencyLevels = null; | ||
|
||
constructor() { | ||
super(...arguments); | ||
this.loadData.perform(); | ||
} | ||
|
||
@task | ||
*loadData() { | ||
this.urgencyLevels = yield this.store.query('urgency-level', {}); | ||
} | ||
|
||
@action | ||
toggleUrgency(value) { | ||
const uri = value ? CONFIG.URGENCY_LEVELS.spoedprocedure : CONFIG.URGENCY_LEVELS.standaard; | ||
const urgencyLevel = this.urgencyLevels.find((level) => level.uri === uri); | ||
this.args.onChange(urgencyLevel); | ||
} | ||
} |
Oops, something went wrong.