@lblod/ember-rdfa-editor-lblod-plugins 16.3.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.woodpecker/.test.yml +5 -4
- package/CHANGELOG.md +20 -0
- package/addon/components/article-structure-plugin/article-structure-card.hbs +2 -1
- package/addon/components/article-structure-plugin/article-structure-card.ts +2 -0
- package/addon/components/article-structure-plugin/structure-card.hbs +6 -5
- package/addon/components/article-structure-plugin/structure-card.ts +6 -0
- package/addon/components/au-native-input.hbs +1 -0
- package/addon/components/au-native-input.ts +2 -1
- package/addon/components/besluit-type-plugin/besluit-type-select.hbs +3 -2
- package/addon/components/besluit-type-plugin/besluit-type-select.ts +4 -0
- package/addon/components/besluit-type-plugin/toolbar-dropdown.hbs +5 -4
- package/addon/components/besluit-type-plugin/toolbar-dropdown.ts +8 -0
- package/addon/components/citation-plugin/citation-card.hbs +4 -3
- package/addon/components/citation-plugin/citation-card.ts +3 -0
- package/addon/components/citation-plugin/citation-insert.hbs +2 -1
- package/addon/components/citation-plugin/citation-insert.ts +3 -0
- package/addon/components/citation-plugin/citations/article-list.hbs +2 -2
- package/addon/components/citation-plugin/citations/article-preview.hbs +3 -2
- package/addon/components/citation-plugin/citations/article-preview.ts +2 -0
- package/addon/components/citation-plugin/citations/legal-document-detail.hbs +19 -11
- package/addon/components/citation-plugin/citations/legal-document-detail.ts +18 -1
- package/addon/components/citation-plugin/citations/legal-document-list.hbs +2 -2
- package/addon/components/citation-plugin/citations/legal-document-preview.hbs +10 -9
- package/addon/components/citation-plugin/citations/legal-document-preview.ts +9 -0
- package/addon/components/citation-plugin/citations/search-modal.hbs +7 -8
- package/addon/components/citation-plugin/citations/search-modal.ts +3 -0
- package/addon/components/common/search/alert-load-error.gts +34 -0
- package/addon/components/common/search/alert-no-items.gts +18 -0
- package/addon/components/common/search/loading.hbs +4 -0
- package/addon/components/confidentiality-plugin/redact.gts +13 -0
- package/addon/components/decision-plugin/decision-plugin-card.hbs +4 -3
- package/addon/components/decision-plugin/decision-plugin-card.ts +3 -0
- package/addon/components/document-title-plugin/insert-title-card.hbs +8 -1
- package/addon/components/document-title-plugin/insert-title-card.ts +3 -0
- package/addon/components/generic-rdfa-variable/insert-menu.hbs +2 -1
- package/addon/components/generic-rdfa-variable/insert-menu.ts +3 -1
- package/addon/components/hover-tooltip.hbs +1 -0
- package/addon/components/import-snippet-plugin/card.hbs +1 -0
- package/addon/components/loading-alert.hbs +2 -1
- package/addon/components/loading-alert.ts +5 -2
- package/addon/components/pagination/pagination-view.gts +55 -0
- package/addon/components/roadsign-regulation-plugin/expanded-measure.hbs +28 -37
- package/addon/components/roadsign-regulation-plugin/expanded-measure.ts +4 -13
- package/addon/components/roadsign-regulation-plugin/measure-template.hbs +1 -0
- package/addon/components/roadsign-regulation-plugin/roadsign-regulation-card.hbs +2 -1
- package/addon/components/roadsign-regulation-plugin/roadsign-regulation-card.ts +3 -0
- package/addon/components/roadsign-regulation-plugin/roadsigns-modal.hbs +1 -0
- package/addon/components/roadsign-regulation-plugin/roadsigns-pagination.hbs +9 -4
- package/addon/components/roadsign-regulation-plugin/roadsigns-pagination.ts +5 -0
- package/addon/components/roadsign-regulation-plugin/roadsigns-table.hbs +7 -6
- package/addon/components/roadsign-regulation-plugin/roadsigns-table.ts +5 -0
- package/addon/components/snippet-plugin/search-modal.hbs +5 -6
- package/addon/components/snippet-plugin/snippet-insert.hbs +2 -1
- package/addon/components/snippet-plugin/snippet-insert.ts +3 -0
- package/addon/components/snippet-plugin/snippet-list/snippet-list-modal.hbs +4 -6
- package/addon/components/snippet-plugin/snippet-list/snippet-list-view.hbs +3 -2
- package/addon/components/snippet-plugin/snippet-list-select.hbs +2 -1
- package/addon/components/snippet-plugin/snippet-list-select.ts +2 -1
- package/addon/components/snippet-plugin/snippets/snippet-preview.hbs +1 -0
- package/addon/components/standard-template-plugin/card.hbs +2 -1
- package/addon/components/standard-template-plugin/card.ts +2 -0
- package/addon/components/standard-template-plugin/template-provider.hbs +1 -0
- package/addon/components/table-of-contents-plugin/ember-nodes/table-of-contents.hbs +1 -0
- package/addon/components/table-of-contents-plugin/toolbar-button.hbs +1 -0
- package/addon/components/template-comments-plugin/edit-card.hbs +4 -3
- package/addon/components/template-comments-plugin/edit-card.ts +7 -0
- package/addon/components/template-comments-plugin/insert.hbs +2 -1
- package/addon/components/template-comments-plugin/insert.ts +3 -0
- package/addon/components/template-comments-plugin/template-comment.hbs +2 -1
- package/addon/components/template-comments-plugin/template-comment.ts +3 -0
- package/addon/components/validation-plugin/validation-card.hbs +1 -0
- package/addon/components/validation-plugin/validation-item.hbs +1 -0
- package/addon/components/validation-plugin/validation-item.ts +7 -4
- package/addon/components/variable-plugin/address/edit.hbs +1 -0
- package/addon/components/variable-plugin/address/edit.ts +5 -3
- package/addon/components/variable-plugin/address/insert-variable.hbs +1 -0
- package/addon/components/variable-plugin/address/insert.hbs +3 -2
- package/addon/components/variable-plugin/address/insert.ts +3 -0
- package/addon/components/variable-plugin/address/nodeview.hbs +2 -1
- package/addon/components/variable-plugin/address/nodeview.ts +3 -0
- package/addon/components/variable-plugin/codelist/edit.hbs +1 -0
- package/addon/components/variable-plugin/codelist/insert.hbs +1 -0
- package/addon/components/variable-plugin/date/date-time-picker.hbs +1 -0
- package/addon/components/variable-plugin/date/edit.hbs +27 -31
- package/addon/components/variable-plugin/date/edit.ts +4 -0
- package/addon/components/variable-plugin/date/help-modal.hbs +1 -0
- package/addon/components/variable-plugin/date/insert-variable.hbs +1 -0
- package/addon/components/variable-plugin/date/insert.hbs +2 -1
- package/addon/components/variable-plugin/date/insert.ts +3 -0
- package/addon/components/variable-plugin/date/nodeview.hbs +2 -1
- package/addon/components/variable-plugin/date/nodeview.ts +3 -0
- package/addon/components/variable-plugin/insert-variable-card.hbs +1 -0
- package/addon/components/variable-plugin/insert-variable-card.ts +2 -1
- package/addon/components/variable-plugin/location/edit.hbs +1 -0
- package/addon/components/variable-plugin/location/insert.hbs +1 -0
- package/addon/components/variable-plugin/location/nodeview.hbs +1 -0
- package/addon/components/variable-plugin/number/insert.hbs +1 -0
- package/addon/components/variable-plugin/number/nodeview.hbs +5 -3
- package/addon/components/variable-plugin/number/nodeview.ts +2 -0
- package/addon/components/variable-plugin/text/insert.hbs +1 -0
- package/addon/components/variable-plugin/variable/nodeview.hbs +7 -6
- package/addon/components/variable-plugin/variable/nodeview.ts +3 -0
- package/addon/components/worship-plugin/administrative-unit-picker.hbs +16 -0
- package/addon/components/worship-plugin/administrative-unit-picker.ts +38 -0
- package/addon/components/worship-plugin/insert.hbs +18 -0
- package/addon/components/worship-plugin/insert.ts +41 -0
- package/addon/components/worship-plugin/list.hbs +46 -0
- package/addon/components/worship-plugin/search-modal.hbs +79 -0
- package/addon/components/worship-plugin/search-modal.ts +131 -0
- package/addon/components/worship-plugin/sortable-table-header.hbs +36 -0
- package/addon/components/worship-plugin/sortable-table-header.ts +45 -0
- package/addon/plugins/snippet-plugin/utils/fetch-data.ts +1 -3
- package/addon/plugins/variable-plugin/variables/date.ts +7 -4
- package/addon/plugins/worship-plugin/index.ts +9 -0
- package/addon/plugins/worship-plugin/utils/fetchAdministrativeUnits.ts +52 -0
- package/addon/plugins/worship-plugin/utils/fetchWorshipServices.ts +109 -0
- package/addon/plugins/worship-plugin/utils/insertWorshipService.ts +16 -0
- package/addon/utils/sparql-helpers.ts +8 -0
- package/app/components/{citation-plugin/helpers/alert-no-items.js → common/search/alert-load-error.js} +1 -1
- package/app/components/{snippet-plugin/helpers → common/search}/alert-no-items.js +1 -1
- package/app/components/{snippet-plugin/helpers/alert-load-error.js → common/search/loading.js} +1 -1
- package/app/components/worship-plugin/administrative-unit-picker.js +1 -0
- package/app/components/{citation-plugin/helpers/alert-load-error.js → worship-plugin/insert.js} +1 -1
- package/app/components/worship-plugin/list.js +1 -0
- package/app/components/worship-plugin/search-modal.js +1 -0
- package/app/components/worship-plugin/sortable-table-header.js +1 -0
- package/app/styles/citaten-plugin.scss +1 -1
- package/app/styles/snippet-plugin.scss +1 -1
- package/app/styles/worship-plugin.scss +19 -0
- package/{components → declarations/addon/components}/article-structure-plugin/article-structure-card.d.ts +1 -0
- package/{components → declarations/addon/components}/article-structure-plugin/structure-card.d.ts +3 -0
- package/{components → declarations/addon/components}/au-native-input.d.ts +2 -1
- package/{components → declarations/addon/components}/besluit-type-plugin/besluit-type-select.d.ts +1 -0
- package/{components → declarations/addon/components}/besluit-type-plugin/toolbar-dropdown.d.ts +4 -0
- package/{components → declarations/addon/components}/citation-plugin/citation-card.d.ts +1 -0
- package/{components → declarations/addon/components}/citation-plugin/citation-insert.d.ts +1 -0
- package/declarations/addon/components/citation-plugin/citations/article-list.d.ts +1 -0
- package/{components → declarations/addon/components}/citation-plugin/citations/article-preview.d.ts +1 -0
- package/{components → declarations/addon/components}/citation-plugin/citations/legal-document-detail.d.ts +8 -1
- package/declarations/addon/components/citation-plugin/citations/legal-document-list.d.ts +1 -0
- package/declarations/addon/components/citation-plugin/citations/legal-document-preview.d.ts +14 -0
- package/{components → declarations/addon/components}/citation-plugin/citations/search-modal.d.ts +1 -0
- package/declarations/addon/components/common/search/alert-load-error.d.ts +4 -0
- package/declarations/addon/components/common/search/alert-no-items.d.ts +4 -0
- package/declarations/addon/components/common/search/loading.d.ts +1 -0
- package/declarations/addon/components/confidentiality-plugin/redact.d.ts +4 -0
- package/declarations/addon/components/confidentiality-plugin/toolbar.d.ts +1 -0
- package/{components → declarations/addon/components}/decision-plugin/decision-plugin-card.d.ts +1 -0
- package/{components → declarations/addon/components}/document-title-plugin/insert-title-card.d.ts +1 -0
- package/{components → declarations/addon/components}/generic-rdfa-variable/insert-menu.d.ts +1 -0
- package/{components → declarations/addon/components}/loading-alert.d.ts +1 -0
- package/declarations/addon/components/pagination/pagination-view.d.ts +4 -0
- package/{components → declarations/addon/components}/roadsign-regulation-plugin/expanded-measure.d.ts +2 -2
- package/{components → declarations/addon/components}/roadsign-regulation-plugin/roadsign-regulation-card.d.ts +1 -0
- package/{components → declarations/addon/components}/roadsign-regulation-plugin/roadsigns-pagination.d.ts +2 -0
- package/{components → declarations/addon/components}/roadsign-regulation-plugin/roadsigns-table.d.ts +2 -0
- package/{components → declarations/addon/components}/snippet-plugin/snippet-insert.d.ts +1 -0
- package/{components → declarations/addon/components}/snippet-plugin/snippet-list-select.d.ts +1 -0
- package/declarations/addon/components/snippet-plugin/snippets/snippet-list.d.ts +1 -0
- package/{components → declarations/addon/components}/standard-template-plugin/card.d.ts +1 -0
- package/declarations/addon/components/table-of-contents-plugin/ember-nodes/outline.d.ts +1 -0
- package/{components → declarations/addon/components}/template-comments-plugin/edit-card.d.ts +3 -0
- package/{components → declarations/addon/components}/template-comments-plugin/insert.d.ts +1 -0
- package/{components → declarations/addon/components}/template-comments-plugin/template-comment.d.ts +1 -0
- package/{components → declarations/addon/components}/validation-plugin/validation-item.d.ts +2 -2
- package/{components → declarations/addon/components}/variable-plugin/address/edit.d.ts +1 -1
- package/{components → declarations/addon/components}/variable-plugin/address/insert.d.ts +1 -0
- package/{components → declarations/addon/components}/variable-plugin/address/nodeview.d.ts +1 -0
- package/{components → declarations/addon/components}/variable-plugin/date/edit.d.ts +2 -0
- package/{components → declarations/addon/components}/variable-plugin/date/insert.d.ts +1 -0
- package/{components → declarations/addon/components}/variable-plugin/date/nodeview.d.ts +1 -0
- package/{components → declarations/addon/components}/variable-plugin/insert-variable-card.d.ts +2 -1
- package/{components → declarations/addon/components}/variable-plugin/location/nodeview.d.ts +1 -1
- package/{components → declarations/addon/components}/variable-plugin/number/nodeview.d.ts +1 -0
- package/declarations/addon/components/variable-plugin/utils/label-input.d.ts +1 -0
- package/{components → declarations/addon/components}/variable-plugin/variable/nodeview.d.ts +1 -0
- package/declarations/addon/components/worship-plugin/administrative-unit-picker.d.ts +12 -0
- package/declarations/addon/components/worship-plugin/insert.d.ts +17 -0
- package/declarations/addon/components/worship-plugin/list.d.ts +1 -0
- package/declarations/addon/components/worship-plugin/search-modal.d.ts +30 -0
- package/declarations/addon/components/worship-plugin/sortable-table-header.d.ts +16 -0
- package/{plugins → declarations/addon/plugins}/table-of-contents-plugin/nodes/table-of-contents.d.ts +1 -1
- package/{plugins → declarations/addon/plugins}/template-comments-plugin/node.d.ts +1 -1
- package/{plugins → declarations/addon/plugins}/variable-plugin/variables/address.d.ts +1 -1
- package/{plugins → declarations/addon/plugins}/variable-plugin/variables/codelist.d.ts +1 -1
- package/{plugins → declarations/addon/plugins}/variable-plugin/variables/date.d.ts +1 -1
- package/{plugins → declarations/addon/plugins}/variable-plugin/variables/location.d.ts +1 -1
- package/{plugins → declarations/addon/plugins}/variable-plugin/variables/number.d.ts +1 -1
- package/{plugins → declarations/addon/plugins}/variable-plugin/variables/text.d.ts +1 -1
- package/declarations/addon/plugins/worship-plugin/index.d.ts +8 -0
- package/declarations/addon/plugins/worship-plugin/utils/fetchAdministrativeUnits.d.ts +7 -0
- package/declarations/addon/plugins/worship-plugin/utils/fetchWorshipServices.d.ts +23 -0
- package/declarations/addon/plugins/worship-plugin/utils/insertWorshipService.d.ts +3 -0
- package/declarations/addon/serializers/application.d.ts +3 -0
- package/{services → declarations/addon/services}/import-rdfa-snippet.d.ts +2 -0
- package/{utils → declarations/addon/utils}/sparql-helpers.d.ts +4 -0
- package/package.json +43 -15
- package/scripts/generate-type-declarations.sh +16 -0
- package/translations/en-US.yaml +27 -12
- package/translations/nl-BE.yaml +27 -12
- package/tsconfig.declarations.json +15 -0
- package/tsconfig.json +7 -57
- package/tsconfig.main.json +65 -0
- package/types/ember-intl.d.ts +15 -0
- package/addon/components/citation-plugin/helpers/alert-load-error.hbs +0 -21
- package/addon/components/citation-plugin/helpers/alert-no-items.hbs +0 -10
- package/addon/components/confidentiality-plugin/redact.hbs +0 -6
- package/addon/components/pagination/pagination-view.hbs +0 -39
- package/addon/components/snippet-plugin/helpers/alert-load-error.hbs +0 -22
- package/addon/components/snippet-plugin/helpers/alert-no-items.hbs +0 -8
- package/components/citation-plugin/citations/legal-document-preview.d.ts +0 -10
- /package/{components → declarations/addon/components}/hover-tooltip.d.ts +0 -0
- /package/{components → declarations/addon/components}/import-snippet-plugin/card.d.ts +0 -0
- /package/{components → declarations/addon/components}/roadsign-regulation-plugin/measure-template.d.ts +0 -0
- /package/{components → declarations/addon/components}/roadsign-regulation-plugin/roadsigns-modal.d.ts +0 -0
- /package/{components → declarations/addon/components}/snippet-plugin/search-modal.d.ts +0 -0
- /package/{components → declarations/addon/components}/snippet-plugin/snippet-list/snippet-list-modal.d.ts +0 -0
- /package/{components → declarations/addon/components}/snippet-plugin/snippet-list/snippet-list-view.d.ts +0 -0
- /package/{components → declarations/addon/components}/snippet-plugin/snippets/snippet-preview.d.ts +0 -0
- /package/{components → declarations/addon/components}/standard-template-plugin/template-provider.d.ts +0 -0
- /package/{components → declarations/addon/components}/table-of-contents-plugin/ember-nodes/table-of-contents.d.ts +0 -0
- /package/{components → declarations/addon/components}/table-of-contents-plugin/toolbar-button.d.ts +0 -0
- /package/{components → declarations/addon/components}/validation-plugin/validation-card.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/address/insert-variable.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/address/utils.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/codelist/edit.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/codelist/insert.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/date/date-time-picker.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/date/help-modal.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/date/insert-variable.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/location/edit.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/location/insert.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/number/insert.d.ts +0 -0
- /package/{components → declarations/addon/components}/variable-plugin/text/insert.d.ts +0 -0
- /package/{helpers → declarations/addon/helpers}/capitalize.d.ts +0 -0
- /package/{helpers → declarations/addon/helpers}/in-array.d.ts +0 -0
- /package/{helpers → declarations/addon/helpers}/limit-text.d.ts +0 -0
- /package/{helpers → declarations/addon/helpers}/pagination.d.ts +0 -0
- /package/{models → declarations/addon/models}/instruction.d.ts +0 -0
- /package/{models → declarations/addon/models}/measure.d.ts +0 -0
- /package/{models → declarations/addon/models}/sign.d.ts +0 -0
- /package/{models → declarations/addon/models}/template.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/commands/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/commands/insert-structure.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/commands/move-selected-structure.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/commands/recalculate-structure-numbers.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/commands/remove-structure.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/commands/set-structure-start-number.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/commands/unwrap-structure.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/commands/wrap-structure-content.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/article-paragraph.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/article.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/chapter.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/section.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/structure-header.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/subsection.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/title.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/utils/romanize.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/utils/structure.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/besluit-type-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/besluit-type-plugin/utils/fetchBesluitTypes.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/article.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/cache.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/cited-text.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/legal-documents.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/process-match.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/public-decisions.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/types.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/utils.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/citation-plugin/utils/vlaamse-codex.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/confidentiality-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/confidentiality-plugin/marks/redacted.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/decision-plugin/commands/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/decision-plugin/commands/insert-article-container.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/decision-plugin/commands/insert-description.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/decision-plugin/commands/insert-motivation.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/decision-plugin/commands/insert-title.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/decision-plugin/utils/get-title-for-decision.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/decision-plugin/utils/validation-rules.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/document-title-plugin/commands/insert-document-title.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/document-title-plugin/nodes/document-title.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/document-title-plugin/nodes/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/generic-rdfa-variable/commands/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/generic-rdfa-variable/commands/insert-generic-rdfa.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/roadsign-regulation-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/roadsign-regulation-plugin/nodes.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/roadsign-regulation-plugin/utils/constants.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/roadsign-regulation-plugin/utils/fetchData.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/roadsign-regulation-plugin/utils/includeInstructions.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/snippet-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/snippet-plugin/utils/fetch-data.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/standard-template-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/standard-template-plugin/utils/instantiate-uuids.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/standard-template-plugin/utils/nodes.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/table-of-contents-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/table-of-contents-plugin/nodes/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/table-of-contents-plugin/utils/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/template-comments-plugin/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/validation/index.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/validation/utils/transaction-complies-with-shapes.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/utils/address-helpers.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/utils/attribute-parsers.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/utils/codelist-utils.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/utils/constants.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/utils/date-helpers.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/utils/dom-constructors.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/utils/fetch-data.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/utils/number-to-words.d.ts +0 -0
- /package/{plugins → declarations/addon/plugins}/variable-plugin/variables/index.d.ts +0 -0
- /package/{services → declarations/addon/services}/roadsign-registry.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/_private/find-insertion-range.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/changed-descendants.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/constants.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/dom-output-spec-helpers.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/find-insertion-contentmatch.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/find-insertion-pos-in-ancestor-of-type.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/memoize.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/namespace.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/option.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/strings.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/translation.d.ts +0 -0
- /package/{utils → declarations/addon/utils}/types.d.ts +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
{{! @glint-nocheck: not typesafe yet }}
|
|
1
2
|
<AuModal
|
|
3
|
+
class="citaten-modal"
|
|
2
4
|
@modalOpen={{@open}}
|
|
3
5
|
@closeModal={{fn this.closeModal this.legislationTypeUri this.text}}
|
|
4
6
|
@title={{t 'citaten-plugin.card.title'}}
|
|
@@ -55,7 +57,7 @@
|
|
|
55
57
|
@warning={{false}}
|
|
56
58
|
>{{t 'citaten-plugin.search.term'}}</AuLabel>
|
|
57
59
|
<AuNativeInput
|
|
58
|
-
@icon=
|
|
60
|
+
@icon={{this.SearchIcon}}
|
|
59
61
|
@type='text'
|
|
60
62
|
@width='block'
|
|
61
63
|
@iconAlignment='right'
|
|
@@ -78,7 +80,7 @@
|
|
|
78
80
|
{{t 'citaten-plugin.search.government-search'}}
|
|
79
81
|
</AuLabel>
|
|
80
82
|
<AuNativeInput
|
|
81
|
-
@icon=
|
|
83
|
+
@icon={{this.SearchIcon}}
|
|
82
84
|
@type='text'
|
|
83
85
|
@width='block'
|
|
84
86
|
@iconAlignment='right'
|
|
@@ -197,14 +199,11 @@
|
|
|
197
199
|
<mc.content>
|
|
198
200
|
{{#if this.legalDocumentResource.isRunning}}
|
|
199
201
|
<div class='au-u-margin'>
|
|
200
|
-
<
|
|
201
|
-
<span class='au-u-hidden-visually'>{{t
|
|
202
|
-
'citaten-plugin.alert.loading'
|
|
203
|
-
}}</span>
|
|
202
|
+
<Common::Search::Loading />
|
|
204
203
|
</div>
|
|
205
204
|
{{else}}
|
|
206
205
|
{{#if this.error}}
|
|
207
|
-
<
|
|
206
|
+
<Common::Search::AlertLoadError
|
|
208
207
|
@fullSize={{true}}
|
|
209
208
|
@error={{this.error}}
|
|
210
209
|
class='au-u-margin'
|
|
@@ -222,7 +221,7 @@
|
|
|
222
221
|
/>
|
|
223
222
|
</div>
|
|
224
223
|
{{else}}
|
|
225
|
-
<
|
|
224
|
+
<Common::Search::AlertNoItems
|
|
226
225
|
@fullSize={{true}}
|
|
227
226
|
class='au-u-margin'
|
|
228
227
|
/>
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
fetchLegalDocuments,
|
|
24
24
|
LegalDocument,
|
|
25
25
|
} from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/citation-plugin/utils/legal-documents';
|
|
26
|
+
import { SearchIcon } from '@appuniversum/ember-appuniversum/components/icons/search';
|
|
26
27
|
|
|
27
28
|
function getISODate(date: Option<Date>): string | null {
|
|
28
29
|
if (date) {
|
|
@@ -51,6 +52,8 @@ interface Args {
|
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
export default class EditorPluginsCitationsSearchModalComponent extends Component<Args> {
|
|
55
|
+
SearchIcon = SearchIcon;
|
|
56
|
+
|
|
54
57
|
@service declare intl: IntlService;
|
|
55
58
|
// Vlaamse Codex currently doesn't contain captions and content of legal document
|
|
56
59
|
// @tracked isEnabledSearchCaption = false
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import t from 'ember-intl/helpers/t';
|
|
2
|
+
import AuAlert from '@appuniversum/ember-appuniversum/components/au-alert';
|
|
3
|
+
import AuLinkExternal from '@appuniversum/ember-appuniversum/components/au-link-external';
|
|
4
|
+
import { AlertTriangleIcon } from '@appuniversum/ember-appuniversum/components/icons/alert-triangle';
|
|
5
|
+
import { MailIcon } from '@appuniversum/ember-appuniversum/components/icons/mail';
|
|
6
|
+
|
|
7
|
+
<template>
|
|
8
|
+
<AuAlert
|
|
9
|
+
@title={{t 'common.search.error-title'}}
|
|
10
|
+
@skin='error'
|
|
11
|
+
@icon={{AlertTriangleIcon}}
|
|
12
|
+
@closable={{false}}
|
|
13
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
14
|
+
@size={{if @fullSize undefined 'small'}}
|
|
15
|
+
class='au-u-margin'
|
|
16
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
17
|
+
...attributes
|
|
18
|
+
>
|
|
19
|
+
<p>{{t 'common.search.error-intro'}}</p>
|
|
20
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
21
|
+
<code class='au-u-error error-code'>{{@error}}</code>
|
|
22
|
+
<p>
|
|
23
|
+
{{t 'common.search.error-outro'}}
|
|
24
|
+
<AuLinkExternal
|
|
25
|
+
href='mailto:gelinktnotuleren@vlaanderen.be'
|
|
26
|
+
@icon={{MailIcon}}
|
|
27
|
+
@iconAlignment='left'
|
|
28
|
+
>
|
|
29
|
+
{{! template-lint-disable no-bare-strings }}
|
|
30
|
+
gelinktnotuleren@vlaanderen.be
|
|
31
|
+
</AuLinkExternal>.
|
|
32
|
+
</p>
|
|
33
|
+
</AuAlert>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import t from 'ember-intl/helpers/t';
|
|
2
|
+
import AuAlert from '@appuniversum/ember-appuniversum/components/au-alert';
|
|
3
|
+
import { CrossIcon } from '@appuniversum/ember-appuniversum/components/icons/cross';
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<AuAlert
|
|
7
|
+
@title={{t 'common.search.no-results'}}
|
|
8
|
+
@skin='warning'
|
|
9
|
+
@icon={{CrossIcon}}
|
|
10
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
11
|
+
@size={{if @fullSize undefined 'small'}}
|
|
12
|
+
@closable={{false}}
|
|
13
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
14
|
+
class={{unless @fullSize 'au-u-margin-small'}}
|
|
15
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
16
|
+
...attributes
|
|
17
|
+
/>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Mark from '@lblod/ember-rdfa-editor/components/toolbar/mark';
|
|
2
|
+
import t from 'ember-intl/helpers/t';
|
|
3
|
+
import { NotVisibleIcon } from '@appuniversum/ember-appuniversum/components/icons/not-visible';
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<Mark
|
|
7
|
+
@icon={{NotVisibleIcon}}
|
|
8
|
+
@title={{t 'confidentiality-plugin.redact'}}
|
|
9
|
+
@mark='redacted'
|
|
10
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
11
|
+
@controller={{@controller}}
|
|
12
|
+
/>
|
|
13
|
+
</template>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
{{! @glint-nocheck: not typesafe yet }}
|
|
1
2
|
{{#if this.canInsertTitle}}
|
|
2
|
-
<AuAlert class="say-validation-alert" @skin="warning" @closable={{false}} @icon=
|
|
3
|
+
<AuAlert class="say-validation-alert" @skin="warning" @closable={{false}} @icon={{this.AlertTriangleIcon}} @title={{t "besluit-plugin.missing-title-warning"}}>
|
|
3
4
|
<AuButton @iconAlignment="left" @skin="link-secondary" @disabled={{not this.canInsertTitle}} {{on 'click'
|
|
4
5
|
this.insertTitle}}>
|
|
5
6
|
{{t "besluit-plugin.insert.decision-title"}}
|
|
@@ -7,7 +8,7 @@
|
|
|
7
8
|
</AuAlert>
|
|
8
9
|
{{/if}}
|
|
9
10
|
{{#if this.canInsertMotivation}}
|
|
10
|
-
<AuAlert class="say-validation-alert" @skin="warning" @closable={{false}} @icon=
|
|
11
|
+
<AuAlert class="say-validation-alert" @skin="warning" @closable={{false}} @icon={{this.AlertTriangleIcon}} @title={{t "besluit-plugin.missing-motivation-warning"}}>
|
|
11
12
|
<AuButton @iconAlignment="left" @skin="link-secondary" @disabled={{not this.canInsertMotivation}} {{on 'click'
|
|
12
13
|
this.insertMotivation}}>
|
|
13
14
|
{{t "besluit-plugin.insert.motivation"}}
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
</AuAlert>
|
|
16
17
|
{{/if}}
|
|
17
18
|
{{#if this.missingArticleBlock}}
|
|
18
|
-
<AuAlert class="say-validation-alert" @skin="warning" @closable={{false}} @icon=
|
|
19
|
+
<AuAlert class="say-validation-alert" @skin="warning" @closable={{false}} @icon={{this.AlertTriangleIcon}} @title={{t "besluit-plugin.missing-article-block-warning"}}>
|
|
19
20
|
<AuButton @iconAlignment="left" @skin="link-secondary" @disabled={{not this.missingArticleBlock}} {{on 'click'
|
|
20
21
|
this.insertArticleBlock}}>
|
|
21
22
|
{{t "besluit-plugin.insert.article-block"}}
|
|
@@ -8,6 +8,7 @@ import { SayController } from '@lblod/ember-rdfa-editor';
|
|
|
8
8
|
import { service } from '@ember/service';
|
|
9
9
|
import IntlService from 'ember-intl/services/intl';
|
|
10
10
|
import { VALIDATION_KEY } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/validation';
|
|
11
|
+
import { AlertTriangleIcon } from '@appuniversum/ember-appuniversum/components/icons/alert-triangle';
|
|
11
12
|
|
|
12
13
|
type Args = {
|
|
13
14
|
controller: SayController;
|
|
@@ -17,6 +18,8 @@ type Args = {
|
|
|
17
18
|
* @deprecated
|
|
18
19
|
*/
|
|
19
20
|
export default class DecisionPluginCard extends Component<Args> {
|
|
21
|
+
AlertTriangleIcon = AlertTriangleIcon;
|
|
22
|
+
|
|
20
23
|
@service declare intl: IntlService;
|
|
21
24
|
|
|
22
25
|
get controller() {
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
{{! @glint-nocheck: not typesafe yet }}
|
|
1
2
|
<li class="au-c-list__item">
|
|
2
|
-
<AuButton
|
|
3
|
+
<AuButton
|
|
4
|
+
@icon={{this.AddIcon}}
|
|
5
|
+
@iconAlignment="left"
|
|
6
|
+
@skin="link"
|
|
7
|
+
{{on 'click' this.insertTitle}}
|
|
8
|
+
@disabled={{not this.canInsertTitle}}
|
|
9
|
+
>
|
|
3
10
|
{{t "document-title-plugin.insert-title"}}
|
|
4
11
|
</AuButton>
|
|
5
12
|
</li>
|
|
@@ -4,11 +4,14 @@ import { service } from '@ember/service';
|
|
|
4
4
|
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
5
5
|
import IntlService from 'ember-intl/services/intl';
|
|
6
6
|
import insertDocumentTitle from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/document-title-plugin/commands/insert-document-title';
|
|
7
|
+
import { AddIcon } from '@appuniversum/ember-appuniversum/components/icons/add';
|
|
7
8
|
|
|
8
9
|
type Args = {
|
|
9
10
|
controller: SayController;
|
|
10
11
|
};
|
|
11
12
|
export default class InsertTitleCardComponent extends Component<Args> {
|
|
13
|
+
AddIcon = AddIcon;
|
|
14
|
+
|
|
12
15
|
@service declare intl: IntlService;
|
|
13
16
|
|
|
14
17
|
@action
|
|
@@ -2,11 +2,11 @@ import Component from '@glimmer/component';
|
|
|
2
2
|
import { action } from '@ember/object';
|
|
3
3
|
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
4
4
|
import { tracked } from 'tracked-built-ins';
|
|
5
|
-
|
|
6
5
|
import { basicSetup, EditorView } from 'codemirror';
|
|
7
6
|
import { EditorState } from '@codemirror/state';
|
|
8
7
|
import { html } from '@codemirror/lang-html';
|
|
9
8
|
import { tooltips } from '@codemirror/view';
|
|
9
|
+
import { HtmlPlusIcon } from '@appuniversum/ember-appuniversum/components/icons/html-plus';
|
|
10
10
|
|
|
11
11
|
import { insertGenericRdfa } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/generic-rdfa-variable/commands/insert-generic-rdfa';
|
|
12
12
|
|
|
@@ -15,6 +15,8 @@ type Args = {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export default class GenericRdfaVariableInsertMenu extends Component<Args> {
|
|
18
|
+
HtmlPlusIcon = HtmlPlusIcon;
|
|
19
|
+
|
|
18
20
|
@tracked modalOpen = false;
|
|
19
21
|
private htmlEditor?: EditorView;
|
|
20
22
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
{{! @glint-nocheck: not typesafe yet }}
|
|
1
2
|
{{#if this.isVisible}}
|
|
2
3
|
<div
|
|
3
4
|
class="au-c-alert {{this.skin}} {{this.size}}"
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
data-test-alert-close
|
|
20
21
|
{{on "click" this.closeAlert}}
|
|
21
22
|
>
|
|
22
|
-
<AuIcon @icon=
|
|
23
|
+
<AuIcon @icon={{this.CrossIcon}} @size="large" />
|
|
23
24
|
{{!-- template-lint-disable no-bare-strings --}}
|
|
24
25
|
<span class="au-u-hidden-visually">Sluit alert</span>
|
|
25
26
|
</button>
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
//@ts-expect-error ember-appuniversum uses vanilla javascript
|
|
2
1
|
import AuAlertComponent from '@appuniversum/ember-appuniversum/components/au-alert';
|
|
3
|
-
|
|
2
|
+
import { CrossIcon } from '@appuniversum/ember-appuniversum/components/icons/cross';
|
|
3
|
+
|
|
4
|
+
export default class LoadingAlertComponent extends AuAlertComponent {
|
|
5
|
+
CrossIcon = CrossIcon;
|
|
6
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { on } from '@ember/modifier';
|
|
2
|
+
import t from 'ember-intl/helpers/t';
|
|
3
|
+
import AuToolbar from '@appuniversum/ember-appuniversum/components/au-toolbar';
|
|
4
|
+
import AuButton from '@appuniversum/ember-appuniversum/components/au-button';
|
|
5
|
+
import { NavLeftIcon } from '@appuniversum/ember-appuniversum/components/icons/nav-left';
|
|
6
|
+
import { NavRightIcon } from '@appuniversum/ember-appuniversum/components/icons/nav-right';
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div class='au-u-background-gray-100'>
|
|
10
|
+
<AuToolbar @border='top' @size='large' @nowrap={{true}}>
|
|
11
|
+
<div class='au-c-pagination'>
|
|
12
|
+
<p>
|
|
13
|
+
<span class='au-u-hidden-visually'>
|
|
14
|
+
{{t 'pagination.results'}}</span>
|
|
15
|
+
<strong>
|
|
16
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
17
|
+
{{@rangeStart}}
|
|
18
|
+
-
|
|
19
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
20
|
+
{{@rangeEnd}}
|
|
21
|
+
</strong>
|
|
22
|
+
{{t 'pagination.of'}}
|
|
23
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
24
|
+
{{@totalCount}}
|
|
25
|
+
</p>
|
|
26
|
+
<div class='au-u-flex'>
|
|
27
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
28
|
+
{{#unless @isFirstPage}}
|
|
29
|
+
<AuButton
|
|
30
|
+
@skin='link'
|
|
31
|
+
@icon={{NavLeftIcon}}
|
|
32
|
+
@iconAlignment='left'
|
|
33
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
34
|
+
{{on 'click' @onPreviousPage}}
|
|
35
|
+
>
|
|
36
|
+
{{t 'pagination.previous'}}
|
|
37
|
+
</AuButton>
|
|
38
|
+
{{/unless}}
|
|
39
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
40
|
+
{{#unless @isLastPage}}
|
|
41
|
+
<AuButton
|
|
42
|
+
@skin='link'
|
|
43
|
+
@icon={{NavRightIcon}}
|
|
44
|
+
@iconAlignment='right'
|
|
45
|
+
{{! @glint-expect-error: not typesafe yet }}
|
|
46
|
+
{{on 'click' @onNextPage}}
|
|
47
|
+
>
|
|
48
|
+
{{t 'pagination.next'}}
|
|
49
|
+
</AuButton>
|
|
50
|
+
{{/unless}}
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</AuToolbar>
|
|
54
|
+
</div>
|
|
55
|
+
</template>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
{{! @glint-nocheck: not typesafe yet }}
|
|
1
2
|
<tr class="au-c-data-table__detail">
|
|
2
3
|
<td colspan="5" class="au-o-flow au-o-flow--small">
|
|
3
4
|
<AuHeading @level="6" @skin="6">
|
|
@@ -17,24 +18,19 @@
|
|
|
17
18
|
{{t "editor-plugins.roadsign-regulation.expanded-measure.select-zonality.label"}}
|
|
18
19
|
</AuHeading>
|
|
19
20
|
<div class="au-c-form">
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
@value={{this.NON_ZONAL_URI}}
|
|
34
|
-
@identifier="non-zonal"
|
|
35
|
-
{{on 'change' this.changeZonality}} />
|
|
36
|
-
</li>
|
|
37
|
-
</ul>
|
|
21
|
+
<AuRadioGroup
|
|
22
|
+
@name="zonal"
|
|
23
|
+
@selected={{this.zonalityValue}}
|
|
24
|
+
@onChange={{this.changeZonality}}
|
|
25
|
+
as |Group|
|
|
26
|
+
>
|
|
27
|
+
<Group.Radio @value={{this.ZONAL_URI}}>
|
|
28
|
+
{{t "editor-plugins.roadsign-regulation.expanded-measure.select-zonality.zonal"}}
|
|
29
|
+
</Group.Radio>
|
|
30
|
+
<Group.Radio @value={{this.NON_ZONAL_URI}}>
|
|
31
|
+
{{t "editor-plugins.roadsign-regulation.expanded-measure.select-zonality.non-zonal"}}
|
|
32
|
+
</Group.Radio>
|
|
33
|
+
</AuRadioGroup>
|
|
38
34
|
</div>
|
|
39
35
|
{{/if}}
|
|
40
36
|
{{#if @measure.temporal}}
|
|
@@ -42,24 +38,19 @@
|
|
|
42
38
|
{{t "editor-plugins.roadsign-regulation.expanded-measure.varying-signalisation.label"}}
|
|
43
39
|
</AuHeading>
|
|
44
40
|
<div class="au-c-form">
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
@value={{false}}
|
|
59
|
-
@identifier="false"
|
|
60
|
-
{{on 'change' this.changeTemporality}} />
|
|
61
|
-
</li>
|
|
62
|
-
</ul>
|
|
41
|
+
<AuRadioGroup
|
|
42
|
+
@name="temporal"
|
|
43
|
+
@selected={{this.temporalValue}}
|
|
44
|
+
@onChange={{this.changeTemporality}}
|
|
45
|
+
as |Group|
|
|
46
|
+
>
|
|
47
|
+
<Group.Radio @value="true">
|
|
48
|
+
{{t "editor-plugins.roadsign-regulation.expanded-measure.varying-signalisation.varying"}}
|
|
49
|
+
</Group.Radio>
|
|
50
|
+
<Group.Radio @value="false">
|
|
51
|
+
{{t "editor-plugins.roadsign-regulation.expanded-measure.varying-signalisation.non-varying"}}
|
|
52
|
+
</Group.Radio>
|
|
53
|
+
</AuRadioGroup>
|
|
63
54
|
</div>
|
|
64
55
|
{{/if}}
|
|
65
56
|
<AuButtonGroup>
|
|
@@ -71,4 +62,4 @@
|
|
|
71
62
|
</AuButton>
|
|
72
63
|
</AuButtonGroup>
|
|
73
64
|
</td>
|
|
74
|
-
</tr>
|
|
65
|
+
</tr>
|
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
ZONAL_URI,
|
|
8
8
|
} from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/utils/constants';
|
|
9
9
|
import Measure from '@lblod/ember-rdfa-editor-lblod-plugins/models/measure';
|
|
10
|
-
import { assert } from '@ember/debug';
|
|
11
10
|
|
|
12
11
|
type Args = {
|
|
13
12
|
measure: Measure;
|
|
@@ -33,20 +32,12 @@ export default class ExpandedMeasureComponent extends Component<Args> {
|
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
@action
|
|
36
|
-
changeZonality(
|
|
37
|
-
|
|
38
|
-
'changeZonalityValue must be bound to an input element',
|
|
39
|
-
event.target instanceof HTMLInputElement,
|
|
40
|
-
);
|
|
41
|
-
this.zonalityValue = event.target.value;
|
|
35
|
+
changeZonality(zonality: string) {
|
|
36
|
+
this.zonalityValue = zonality;
|
|
42
37
|
}
|
|
43
38
|
@action
|
|
44
|
-
changeTemporality(
|
|
45
|
-
|
|
46
|
-
'changeTemporality must be bound to an input element',
|
|
47
|
-
event.target instanceof HTMLInputElement,
|
|
48
|
-
);
|
|
49
|
-
this.temporalValue = event.target.value;
|
|
39
|
+
changeTemporality(temporality: string) {
|
|
40
|
+
this.temporalValue = temporality;
|
|
50
41
|
}
|
|
51
42
|
@action
|
|
52
43
|
insert() {
|
|
@@ -3,6 +3,7 @@ import { action } from '@ember/object';
|
|
|
3
3
|
import Component from '@glimmer/component';
|
|
4
4
|
import { tracked } from '@glimmer/tracking';
|
|
5
5
|
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
6
|
+
import { AddIcon } from '@appuniversum/ember-appuniversum/components/icons/add';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Card displaying a hint of the Date plugin
|
|
@@ -26,6 +27,8 @@ type Args = {
|
|
|
26
27
|
};
|
|
27
28
|
|
|
28
29
|
export default class RoadsignRegulationCard extends Component<Args> {
|
|
30
|
+
AddIcon = AddIcon;
|
|
31
|
+
|
|
29
32
|
@tracked modalOpen = false;
|
|
30
33
|
|
|
31
34
|
@action
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
{{! @glint-nocheck: not typesafe yet }}
|
|
2
|
+
<AuToolbar @border="top" @size="large" @nowrap={{true}}
|
|
2
3
|
{{did-update this.onUpdateCount @count @pageStart}}
|
|
3
4
|
{{did-insert this.onUpdateCount @count @pageStart}}
|
|
4
5
|
>
|
|
5
6
|
<div class="au-c-pagination">
|
|
6
7
|
{{#if this.hasPreviousPage}}
|
|
7
8
|
<div class="au-c-pagination__list-item">
|
|
8
|
-
<AuButton @skin="link" {{on 'click' this.goToPreviousPage}} @iconAlignment="left" @icon=
|
|
9
|
+
<AuButton @skin="link" {{on 'click' this.goToPreviousPage}} @iconAlignment="left" @icon={{this.NavLeftIcon}}>
|
|
10
|
+
{{t "pagination.previous"}}
|
|
11
|
+
</AuButton>
|
|
9
12
|
</div>
|
|
10
13
|
{{/if}}
|
|
11
14
|
<p>
|
|
@@ -18,8 +21,10 @@
|
|
|
18
21
|
</p>
|
|
19
22
|
{{#if this.hasNextPage}}
|
|
20
23
|
<div class="au-c-pagination__list-item">
|
|
21
|
-
<AuButton @skin="link" {{on 'click' this.goToNextPage}} @icon=
|
|
24
|
+
<AuButton @skin="link" {{on 'click' this.goToNextPage}} @icon={{this.NavRightIcon}} @iconAlignment="right">
|
|
25
|
+
{{t "pagination.next"}}
|
|
26
|
+
</AuButton>
|
|
22
27
|
</div>
|
|
23
28
|
{{/if}}
|
|
24
29
|
</div>
|
|
25
|
-
</AuToolbar>
|
|
30
|
+
</AuToolbar>
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import { tracked } from '@glimmer/tracking';
|
|
3
3
|
import { action } from '@ember/object';
|
|
4
|
+
import { NavLeftIcon } from '@appuniversum/ember-appuniversum/components/icons/nav-left';
|
|
5
|
+
import { NavRightIcon } from '@appuniversum/ember-appuniversum/components/icons/nav-right';
|
|
4
6
|
|
|
5
7
|
type Args = {
|
|
6
8
|
count: number;
|
|
@@ -8,6 +10,9 @@ type Args = {
|
|
|
8
10
|
goToPage: (n: number) => void;
|
|
9
11
|
};
|
|
10
12
|
export default class RoadsignsPagination extends Component<Args> {
|
|
13
|
+
NavRightIcon = NavRightIcon;
|
|
14
|
+
NavLeftIcon = NavLeftIcon;
|
|
15
|
+
|
|
11
16
|
@tracked actualPageStart = 0;
|
|
12
17
|
@tracked actualPageEnd = 10;
|
|
13
18
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
{{! @glint-nocheck: not typesafe yet }}
|
|
1
2
|
<AuDataTable @isLoading={{@isLoading}} @noDataMessage="No data" as |table|>
|
|
2
3
|
<table.content as |c|>
|
|
3
4
|
<c.header>
|
|
@@ -27,9 +28,9 @@
|
|
|
27
28
|
<div class="au-o-grid au-o-grid--tiny">
|
|
28
29
|
{{#each row.signs as |sign|}}
|
|
29
30
|
<div class="au-o-grid__item au-u-1-3">
|
|
30
|
-
<img
|
|
31
|
-
src={{sign.image}}
|
|
32
|
-
alt={{t "editor-plugins.roadsign-regulation.table.content.image.alt" code=sign.code}}
|
|
31
|
+
<img
|
|
32
|
+
src={{sign.image}}
|
|
33
|
+
alt={{t "editor-plugins.roadsign-regulation.table.content.image.alt" code=sign.code}}
|
|
33
34
|
class="au-c-data-table__image" />
|
|
34
35
|
</div>
|
|
35
36
|
{{/each}}
|
|
@@ -53,9 +54,9 @@
|
|
|
53
54
|
</td>
|
|
54
55
|
<td>
|
|
55
56
|
{{#if (eq this.selected row.uri)}}
|
|
56
|
-
<AuIcon @icon=
|
|
57
|
+
<AuIcon @icon={{this.NavUpIcon}} @ariaHidden={{true}} class="au-c-data-table__clickable-row-icon" />
|
|
57
58
|
{{else}}
|
|
58
|
-
<AuIcon @icon=
|
|
59
|
+
<AuIcon @icon={{this.NavDownIcon}} @ariaHidden={{true}} class="au-c-data-table__clickable-row-icon" />
|
|
59
60
|
{{/if}}
|
|
60
61
|
</td>
|
|
61
62
|
</tr>
|
|
@@ -86,4 +87,4 @@
|
|
|
86
87
|
@pageStart={{@pageStart}}
|
|
87
88
|
@count={{@count}}
|
|
88
89
|
/>
|
|
89
|
-
{{/if}}
|
|
90
|
+
{{/if}}
|
|
@@ -3,6 +3,8 @@ import Component from '@glimmer/component';
|
|
|
3
3
|
import { tracked } from '@glimmer/tracking';
|
|
4
4
|
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
5
5
|
import { RoadsignRegulationPluginOptions } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin';
|
|
6
|
+
import { NavUpIcon } from '@appuniversum/ember-appuniversum/components/icons/nav-up';
|
|
7
|
+
import { NavDownIcon } from '@appuniversum/ember-appuniversum/components/icons/nav-down';
|
|
6
8
|
|
|
7
9
|
type Args = {
|
|
8
10
|
controller: SayController;
|
|
@@ -10,6 +12,9 @@ type Args = {
|
|
|
10
12
|
};
|
|
11
13
|
|
|
12
14
|
export default class RoadsignsTable extends Component<Args> {
|
|
15
|
+
NavDownIcon = NavDownIcon;
|
|
16
|
+
NavUpIcon = NavUpIcon;
|
|
17
|
+
|
|
13
18
|
@tracked selected?: string;
|
|
14
19
|
imageBaseUrl: string;
|
|
15
20
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
{{! @glint-nocheck: not typesafe yet }}
|
|
1
2
|
<AuModal
|
|
3
|
+
class="snippet-modal"
|
|
2
4
|
@modalOpen={{@open}}
|
|
3
5
|
@closeModal={{this.closeModal}}
|
|
4
6
|
@title={{t 'snippet-plugin.modal.title'}}
|
|
@@ -39,14 +41,11 @@
|
|
|
39
41
|
<div class='au-u-padding-top snippet-modal--list-container'>
|
|
40
42
|
{{#if this.snippetsResource.isRunning}}
|
|
41
43
|
<div class='au-u-margin'>
|
|
42
|
-
<
|
|
43
|
-
<span class='au-u-hidden-visually'>
|
|
44
|
-
{{t 'snippet-plugin.alert.loading'}}
|
|
45
|
-
</span>
|
|
44
|
+
<Common::Search::Loading />
|
|
46
45
|
</div>
|
|
47
46
|
{{else}}
|
|
48
47
|
{{#if this.error}}
|
|
49
|
-
<
|
|
48
|
+
<Common::Search::AlertLoadError @error={{this.error}} />
|
|
50
49
|
{{else}}
|
|
51
50
|
{{#if this.snippetsResource.value.length}}
|
|
52
51
|
<SnippetPlugin::Snippets::SnippetList
|
|
@@ -54,7 +53,7 @@
|
|
|
54
53
|
@onInsert={{@onInsert}}
|
|
55
54
|
/>
|
|
56
55
|
{{else}}
|
|
57
|
-
<
|
|
56
|
+
<Common::Search::AlertNoItems />
|
|
58
57
|
{{/if}}
|
|
59
58
|
{{/if}}
|
|
60
59
|
{{/if}}
|