@lblod/ember-rdfa-editor-lblod-plugins 16.3.0 → 17.0.0-dev.f473cdfb5868261b49cdae52ea2558970c082d01
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/.changeset/afraid-tips-visit.md +5 -0
- package/.changeset/chilly-ravens-think.md +6 -0
- package/.changeset/hot-owls-laugh.md +5 -0
- package/.changeset/olive-pets-cheer.md +5 -0
- package/.changeset/smooth-fireants-doubt.md +5 -0
- package/.changeset/tall-carrots-ring.md +5 -0
- package/.changeset/wet-baboons-serve.md +5 -0
- package/.changeset/witty-suns-speak.md +5 -0
- package/.woodpecker/.release-commit.yml +18 -0
- package/.woodpecker/.release.yml +21 -0
- package/.woodpecker/.verify-pr.yml +30 -0
- package/CHANGELOG.md +20 -0
- package/Dockerfile +6 -4
- package/addon/commands/index.ts +1 -0
- package/addon/commands/replace-selection-and-select-node.ts +24 -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 +7 -6
- package/addon/components/article-structure-plugin/structure-card.ts +49 -35
- 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 +48 -20
- package/addon/components/citation-plugin/citation-card.hbs +4 -3
- package/addon/components/citation-plugin/citation-card.ts +9 -2
- 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/import-snippet-plugin/card.ts +7 -2
- 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-rdfa.hbs +7 -0
- package/addon/components/snippet-plugin/snippet-insert-rdfa.ts +78 -0
- package/addon/components/snippet-plugin/snippet-insert.hbs +3 -1
- package/addon/components/snippet-plugin/snippet-insert.ts +25 -4
- package/addon/components/snippet-plugin/snippet-list/snippet-list-modal.hbs +4 -6
- package/addon/components/snippet-plugin/snippet-list/snippet-list-modal.ts +3 -3
- package/addon/components/snippet-plugin/snippet-list/snippet-list-view.hbs +3 -2
- package/addon/components/snippet-plugin/snippet-list-select-rdfa.hbs +8 -0
- package/addon/components/snippet-plugin/snippet-list-select-rdfa.ts +69 -0
- 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/standard-template-plugin/template-provider.ts +10 -4
- 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 +4 -3
- package/addon/components/variable-plugin/address/nodeview.ts +9 -0
- package/addon/components/variable-plugin/address/utils.ts +28 -3
- package/addon/components/variable-plugin/codelist/edit.hbs +1 -0
- package/addon/components/variable-plugin/codelist/edit.ts +24 -7
- package/addon/components/variable-plugin/codelist/insert.hbs +1 -0
- package/addon/components/variable-plugin/codelist/insert.ts +52 -17
- 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 +47 -8
- 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-variable.ts +36 -10
- package/addon/components/variable-plugin/date/insert.hbs +2 -1
- package/addon/components/variable-plugin/date/insert.ts +38 -10
- package/addon/components/variable-plugin/date/nodeview.hbs +4 -3
- package/addon/components/variable-plugin/date/nodeview.ts +11 -1
- package/addon/components/variable-plugin/insert-variable-card.hbs +1 -0
- package/addon/components/variable-plugin/insert-variable-card.ts +9 -1
- package/addon/components/variable-plugin/location/edit.hbs +1 -0
- package/addon/components/variable-plugin/location/edit.ts +1 -9
- package/addon/components/variable-plugin/location/insert.hbs +1 -0
- package/addon/components/variable-plugin/location/insert.ts +4 -7
- package/addon/components/variable-plugin/location/nodeview.hbs +19 -8
- package/addon/components/variable-plugin/location/nodeview.ts +37 -9
- package/addon/components/variable-plugin/number/insert.hbs +1 -0
- package/addon/components/variable-plugin/number/insert.ts +34 -10
- package/addon/components/variable-plugin/number/nodeview.hbs +7 -5
- package/addon/components/variable-plugin/number/nodeview.ts +32 -5
- package/addon/components/variable-plugin/text/insert.hbs +1 -0
- package/addon/components/variable-plugin/text/insert.ts +40 -12
- package/addon/components/variable-plugin/variable/nodeview.hbs +12 -8
- package/addon/components/variable-plugin/variable/nodeview.ts +16 -9
- 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/article-structure-plugin/commands/insert-structure.ts +82 -15
- package/addon/plugins/article-structure-plugin/commands/move-selected-structure.ts +2 -1
- package/addon/plugins/article-structure-plugin/commands/recalculate-structure-numbers.ts +70 -2
- package/addon/plugins/article-structure-plugin/commands/remove-structure.ts +1 -1
- package/addon/plugins/article-structure-plugin/commands/set-structure-start-number.ts +5 -14
- package/addon/plugins/article-structure-plugin/commands/unwrap-structure.ts +1 -1
- package/addon/plugins/article-structure-plugin/commands/wrap-structure-content.ts +197 -105
- package/addon/plugins/article-structure-plugin/index.ts +16 -7
- package/addon/plugins/article-structure-plugin/structures/article-paragraph.ts +181 -71
- package/addon/plugins/article-structure-plugin/structures/article.ts +91 -98
- package/addon/plugins/article-structure-plugin/structures/chapter.ts +89 -39
- package/addon/plugins/article-structure-plugin/structures/index.ts +12 -1
- package/addon/plugins/article-structure-plugin/structures/section.ts +88 -39
- package/addon/plugins/article-structure-plugin/structures/structure-header-number.ts +56 -0
- package/addon/plugins/article-structure-plugin/structures/structure-header-title.ts +38 -0
- package/addon/plugins/article-structure-plugin/structures/structure-header.ts +87 -73
- package/addon/plugins/article-structure-plugin/structures/subsection.ts +81 -39
- package/addon/plugins/article-structure-plugin/structures/title.ts +91 -39
- package/addon/plugins/article-structure-plugin/utils/structure.ts +223 -127
- package/addon/plugins/citation-plugin/utils/cited-text.ts +38 -8
- package/addon/plugins/confidentiality-plugin/marks/redacted.ts +1 -1
- package/addon/plugins/document-title-plugin/nodes/document-title.ts +4 -3
- package/addon/plugins/roadsign-regulation-plugin/nodes.ts +4 -3
- package/addon/plugins/snippet-plugin/commands/index.ts +1 -0
- package/addon/plugins/snippet-plugin/commands/update-snippet-ids.ts +55 -0
- package/addon/plugins/snippet-plugin/index.ts +6 -1
- package/addon/plugins/snippet-plugin/utils/fetch-data.ts +1 -3
- package/addon/plugins/snippet-plugin/utils/rdfa-predicate.ts +33 -0
- package/addon/plugins/standard-template-plugin/utils/nodes.ts +293 -81
- package/addon/plugins/table-of-contents-plugin/nodes/table-of-contents.ts +3 -2
- package/addon/plugins/variable-plugin/utils/attribute-parsers.ts +19 -1
- package/addon/plugins/variable-plugin/utils/dom-constructors.ts +3 -3
- package/addon/plugins/variable-plugin/variables/address.ts +93 -26
- package/addon/plugins/variable-plugin/variables/codelist.ts +99 -50
- package/addon/plugins/variable-plugin/variables/date.ts +143 -53
- package/addon/plugins/variable-plugin/variables/location.ts +1 -0
- package/addon/plugins/variable-plugin/variables/number.ts +99 -52
- package/addon/plugins/variable-plugin/variables/text.ts +80 -28
- 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/_private/find-insertion-range.ts +18 -5
- package/addon/utils/dom-utils.ts +4 -0
- package/addon/utils/namespace.ts +63 -13
- 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/{citation-plugin/helpers/alert-load-error.js → snippet-plugin/snippet-list-insert-rdfa.js} +1 -1
- package/app/components/snippet-plugin/snippet-list-select-rdfa.js +1 -0
- package/app/components/worship-plugin/administrative-unit-picker.js +1 -0
- package/app/components/worship-plugin/insert.js +1 -0
- 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/article-structure-plugin.scss +106 -3
- 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/declarations/addon/commands/index.d.ts +1 -0
- package/declarations/addon/commands/replace-selection-and-select-node.d.ts +3 -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 +5 -2
- 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 -5
- package/{components → declarations/addon/components}/citation-plugin/citation-card.d.ts +3 -2
- 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 +2 -1
- 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}/import-snippet-plugin/card.d.ts +6 -5
- 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/declarations/addon/components/snippet-plugin/snippet-insert-rdfa.d.ts +19 -0
- package/{components → declarations/addon/components}/snippet-plugin/snippet-insert.d.ts +3 -0
- package/declarations/addon/components/snippet-plugin/snippet-list-select-rdfa.d.ts +21 -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 +2 -2
- package/{components → declarations/addon/components}/variable-plugin/address/insert.d.ts +1 -0
- package/{components → declarations/addon/components}/variable-plugin/address/nodeview.d.ts +2 -0
- package/{components → declarations/addon/components}/variable-plugin/date/edit.d.ts +4 -2
- package/{components → declarations/addon/components}/variable-plugin/date/insert.d.ts +1 -0
- package/{components → declarations/addon/components}/variable-plugin/date/nodeview.d.ts +2 -0
- package/{components → declarations/addon/components}/variable-plugin/insert-variable-card.d.ts +9 -1
- package/{components → declarations/addon/components}/variable-plugin/location/edit.d.ts +0 -1
- package/declarations/addon/components/variable-plugin/location/nodeview.d.ts +11 -0
- package/{components → declarations/addon/components}/variable-plugin/number/nodeview.d.ts +4 -1
- package/{components → declarations/addon/components}/variable-plugin/text/insert.d.ts +1 -1
- package/declarations/addon/components/variable-plugin/utils/label-input.d.ts +1 -0
- package/declarations/addon/components/variable-plugin/variable/nodeview.d.ts +11 -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/declarations/addon/plugins/article-structure-plugin/commands/recalculate-structure-numbers.d.ts +3 -0
- package/declarations/addon/plugins/article-structure-plugin/commands/set-structure-start-number.d.ts +7 -0
- package/{plugins → declarations/addon/plugins}/article-structure-plugin/index.d.ts +15 -7
- package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/article-paragraph.d.ts +2 -0
- package/declarations/addon/plugins/article-structure-plugin/structures/article.d.ts +5 -0
- package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/index.d.ts +4 -0
- package/declarations/addon/plugins/article-structure-plugin/structures/structure-header-number.d.ts +2 -0
- package/declarations/addon/plugins/article-structure-plugin/structures/structure-header-title.d.ts +2 -0
- package/declarations/addon/plugins/article-structure-plugin/structures/structure-header.d.ts +17 -0
- package/declarations/addon/plugins/article-structure-plugin/utils/structure.d.ts +42 -0
- package/declarations/addon/plugins/confidentiality-plugin/marks/redacted.d.ts +2 -0
- package/declarations/addon/plugins/snippet-plugin/commands/index.d.ts +1 -0
- package/declarations/addon/plugins/snippet-plugin/commands/update-snippet-ids.d.ts +8 -0
- package/{plugins → declarations/addon/plugins}/snippet-plugin/index.d.ts +2 -0
- package/declarations/addon/plugins/snippet-plugin/utils/rdfa-predicate.d.ts +5 -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/utils/attribute-parsers.d.ts +3 -0
- 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}/_private/find-insertion-range.d.ts +7 -4
- package/declarations/addon/utils/dom-utils.d.ts +2 -0
- package/declarations/addon/utils/namespace.d.ts +21 -0
- package/{utils → declarations/addon/utils}/sparql-helpers.d.ts +4 -0
- package/package.json +54 -19
- package/pnpm-lock.yaml +17788 -0
- 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 +62 -0
- package/types/ember-intl.d.ts +15 -0
- package/types/graphy/memory.dataset.fast.d.ts +74 -0
- package/.woodpecker/.test.yml +0 -49
- 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/variable-plugin/location/nodeview.d.ts +0 -12
- package/components/variable-plugin/variable/nodeview.d.ts +0 -11
- package/plugins/article-structure-plugin/commands/recalculate-structure-numbers.d.ts +0 -3
- package/plugins/article-structure-plugin/commands/set-structure-start-number.d.ts +0 -4
- package/plugins/article-structure-plugin/structures/article.d.ts +0 -6
- package/plugins/article-structure-plugin/structures/structure-header.d.ts +0 -2
- package/plugins/article-structure-plugin/utils/structure.d.ts +0 -36
- package/plugins/confidentiality-plugin/marks/redacted.d.ts +0 -2
- package/utils/namespace.d.ts +0 -12
- package/{components → declarations/addon/components}/hover-tooltip.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/insert.d.ts +0 -0
- package/{components → declarations/addon/components}/variable-plugin/number/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/remove-structure.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 +1 -1
- /package/{plugins → declarations/addon/plugins}/article-structure-plugin/structures/chapter.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/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}/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}/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/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/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}/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}/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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
|
|
3
|
+
# This script exists because glint does not currently respect the --project flag, so we need to
|
|
4
|
+
# switch out the tsconfig.json file to generate declarations, without that configuration preventing
|
|
5
|
+
# --watch from running correctly
|
|
6
|
+
|
|
7
|
+
mv tsconfig.json tsconfig.watch.json
|
|
8
|
+
mv tsconfig.declarations.json tsconfig.json
|
|
9
|
+
|
|
10
|
+
glint --declaration
|
|
11
|
+
RETURN_VAL=$?
|
|
12
|
+
|
|
13
|
+
mv tsconfig.json tsconfig.declarations.json
|
|
14
|
+
mv tsconfig.watch.json tsconfig.json
|
|
15
|
+
|
|
16
|
+
exit $RETURN_VAL
|
package/translations/en-US.yaml
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
common:
|
|
2
|
+
search:
|
|
3
|
+
loading: Loading…
|
|
4
|
+
no-results: No results found
|
|
5
|
+
error-title: Error while loading results
|
|
6
|
+
error-intro: 'An error occurred while loading results'
|
|
7
|
+
error-outro: In case this problem keeps occurring, please contact
|
|
8
|
+
|
|
1
9
|
article-structure-plugin:
|
|
2
10
|
insert:
|
|
3
11
|
paragraph: Insert paragraph
|
|
@@ -103,12 +111,6 @@ citaten-plugin:
|
|
|
103
111
|
lookup-publicatie-short: Publicatie
|
|
104
112
|
publicatie-non-available: Full content not public
|
|
105
113
|
publicatie-non-available-short: Not public
|
|
106
|
-
alert:
|
|
107
|
-
loading: Loading…
|
|
108
|
-
no-results: No results found
|
|
109
|
-
error-title: Error while loading results
|
|
110
|
-
error-intro: 'An error occured while loading results from the Flemish Codex:'
|
|
111
|
-
error-outro: In case this problem keeps occuring, please contact
|
|
112
114
|
|
|
113
115
|
besluit-type-plugin:
|
|
114
116
|
dt: 'Decision type'
|
|
@@ -267,12 +269,6 @@ snippet-plugin:
|
|
|
267
269
|
title: Filter on
|
|
268
270
|
label: Snippet name
|
|
269
271
|
placeholder: Type something...
|
|
270
|
-
alert:
|
|
271
|
-
loading: Loading…
|
|
272
|
-
no-results: No results found
|
|
273
|
-
error-title: Error while loading results
|
|
274
|
-
error-intro: 'An error occurred while loading results'
|
|
275
|
-
error-outro: In case this problem keeps occurring, please contact
|
|
276
272
|
snippet-list:
|
|
277
273
|
open-modal: Manage snippet lists
|
|
278
274
|
modal:
|
|
@@ -383,3 +379,22 @@ editor-plugins:
|
|
|
383
379
|
|
|
384
380
|
confidentiality-plugin:
|
|
385
381
|
redact: Redact
|
|
382
|
+
|
|
383
|
+
worship-plugin:
|
|
384
|
+
insert:
|
|
385
|
+
title: Insert worship service
|
|
386
|
+
modal:
|
|
387
|
+
title: Choose a worship service
|
|
388
|
+
insert: Insert
|
|
389
|
+
search:
|
|
390
|
+
title: Filter on
|
|
391
|
+
placeholder: Type something...
|
|
392
|
+
search: search
|
|
393
|
+
no results: nothing found
|
|
394
|
+
fields:
|
|
395
|
+
name: Name
|
|
396
|
+
admin-unit: Administrative Unit
|
|
397
|
+
sort:
|
|
398
|
+
sort: Sort
|
|
399
|
+
asc: Sort ascending
|
|
400
|
+
desc: Sort descending
|
package/translations/nl-BE.yaml
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
common:
|
|
2
|
+
search:
|
|
3
|
+
loading: Laden…
|
|
4
|
+
no-results: Geen resultaten gevonden
|
|
5
|
+
error-title: Probleem bij het laden
|
|
6
|
+
error-intro: "Er is een fout opgetreden tijdens het laden van de resultaten:"
|
|
7
|
+
error-outro: Moest dit probleem aanhouden, neem contact op met
|
|
8
|
+
|
|
1
9
|
article-structure-plugin:
|
|
2
10
|
insert:
|
|
3
11
|
paragraph: Paragraaf invoegen
|
|
@@ -104,12 +112,6 @@ citaten-plugin:
|
|
|
104
112
|
lookup-publicatie-short: Publicatie
|
|
105
113
|
publicatie-non-available: Volledige inhoud niet publiek
|
|
106
114
|
publicatie-non-available-short: Niet publiek
|
|
107
|
-
alert:
|
|
108
|
-
loading: Laden…
|
|
109
|
-
no-results: Geen resultaten gevonden
|
|
110
|
-
error-title: Probleem bij het laden
|
|
111
|
-
error-intro: "Er heeft zich een fout voorgedaan bij het zoeken in de Vlaamse Codex:"
|
|
112
|
-
error-outro: Moest dit probleem aanhouden, neem contact op met
|
|
113
115
|
|
|
114
116
|
|
|
115
117
|
besluit-type-plugin:
|
|
@@ -271,12 +273,6 @@ snippet-plugin:
|
|
|
271
273
|
title: Filter op
|
|
272
274
|
label: Fragmentnaam
|
|
273
275
|
placeholder: Typ iets...
|
|
274
|
-
alert:
|
|
275
|
-
loading: Laden…
|
|
276
|
-
no-results: Geen resultaten gevonden
|
|
277
|
-
error-title: Probleem bij het laden
|
|
278
|
-
error-intro: "Er is een fout opgetreden tijdens het laden van de resultaten:"
|
|
279
|
-
error-outro: Moest dit probleem aanhouden, neem contact op met
|
|
280
276
|
snippet-list:
|
|
281
277
|
open-modal: Fragmentlijsten beheren
|
|
282
278
|
modal:
|
|
@@ -387,3 +383,22 @@ editor-plugins:
|
|
|
387
383
|
|
|
388
384
|
confidentiality-plugin:
|
|
389
385
|
redact: Redigeren
|
|
386
|
+
|
|
387
|
+
worship-plugin:
|
|
388
|
+
insert:
|
|
389
|
+
title: Erediensten invoegen
|
|
390
|
+
modal:
|
|
391
|
+
title: Kies een erediensten
|
|
392
|
+
insert: Invoegen
|
|
393
|
+
search:
|
|
394
|
+
title: Filter op
|
|
395
|
+
placeholder: Typ iets...
|
|
396
|
+
search: zoeken
|
|
397
|
+
no results: niets gevonden
|
|
398
|
+
fields:
|
|
399
|
+
name: Naam
|
|
400
|
+
admin-unit: Bestuurseenheid
|
|
401
|
+
sort:
|
|
402
|
+
sort: Sorteren
|
|
403
|
+
asc: Oplopend sorteren
|
|
404
|
+
desc: Aflopend sorteren
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// This is the config for generating declarations
|
|
2
|
+
{
|
|
3
|
+
"extends": "./tsconfig.main.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
// glint has a bug which means that glint directive comments cause an internal error,
|
|
6
|
+
// so to get declarations we need to also emit when we get an error (which is every time)
|
|
7
|
+
// See https://github.com/typed-ember/glint/issues/599
|
|
8
|
+
"noEmitOnError": false,
|
|
9
|
+
"declarationDir": "declarations",
|
|
10
|
+
"emitDeclarationOnly": true,
|
|
11
|
+
"noEmit": false,
|
|
12
|
+
"rootDir": "."
|
|
13
|
+
},
|
|
14
|
+
"include": ["addon", "addon-test-support", "types"]
|
|
15
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,61 +1,11 @@
|
|
|
1
|
+
// This is the config for running glint in watch mode
|
|
1
2
|
{
|
|
3
|
+
"extends": "./tsconfig.main.json",
|
|
2
4
|
"compilerOptions": {
|
|
3
|
-
"
|
|
4
|
-
"module": "es2020",
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"checkJs": false,
|
|
7
|
-
"moduleResolution": "node",
|
|
8
|
-
"allowSyntheticDefaultImports": true,
|
|
9
|
-
"noImplicitAny": true,
|
|
10
|
-
"noImplicitThis": true,
|
|
11
|
-
"alwaysStrict": true,
|
|
12
|
-
"strictNullChecks": true,
|
|
13
|
-
"strictPropertyInitialization": true,
|
|
14
|
-
"noFallthroughCasesInSwitch": true,
|
|
15
|
-
"noUnusedLocals": false,
|
|
16
|
-
"noUnusedParameters": false,
|
|
17
|
-
"noImplicitReturns": true,
|
|
18
|
-
"noEmitOnError": false,
|
|
19
|
-
"noEmit": true,
|
|
20
|
-
"inlineSourceMap": true,
|
|
21
|
-
"inlineSources": true,
|
|
22
|
-
"baseUrl": ".",
|
|
23
|
-
"skipLibCheck": true,
|
|
24
|
-
"experimentalDecorators": true,
|
|
25
|
-
"typeRoots": [
|
|
26
|
-
"./node_modules/@types"
|
|
27
|
-
],
|
|
28
|
-
"paths": {
|
|
29
|
-
"dummy/tests/*": [
|
|
30
|
-
"tests/*"
|
|
31
|
-
],
|
|
32
|
-
"dummy/*": [
|
|
33
|
-
"tests/dummy/app/*",
|
|
34
|
-
"app/*"
|
|
35
|
-
],
|
|
36
|
-
"@lblod/ember-rdfa-editor-lblod-plugins": [
|
|
37
|
-
"addon"
|
|
38
|
-
],
|
|
39
|
-
"@lblod/ember-rdfa-editor-lblod-plugins/*": [
|
|
40
|
-
"addon/*"
|
|
41
|
-
],
|
|
42
|
-
"@lblod/ember-rdfa-editor-lblod-plugins/test-support": [
|
|
43
|
-
"addon-test-support"
|
|
44
|
-
],
|
|
45
|
-
"@lblod/ember-rdfa-editor-lblod-plugins/test-support/*": [
|
|
46
|
-
"addon-test-support/*"
|
|
47
|
-
],
|
|
48
|
-
"*": [
|
|
49
|
-
"types/*"
|
|
50
|
-
]
|
|
51
|
-
}
|
|
5
|
+
"rootDir": ".",
|
|
52
6
|
},
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
"types/**/*",
|
|
58
|
-
"test-support/**/*",
|
|
59
|
-
"addon-test-support/**/*"
|
|
60
|
-
]
|
|
7
|
+
"glint": {
|
|
8
|
+
"environment": ["ember-loose", "ember-template-imports"],
|
|
9
|
+
"checkStandaloneTemplates": false
|
|
10
|
+
}
|
|
61
11
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es2021",
|
|
4
|
+
"module": "es2020",
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"checkJs": false,
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"noImplicitAny": true,
|
|
10
|
+
"noImplicitThis": true,
|
|
11
|
+
"alwaysStrict": true,
|
|
12
|
+
"strictNullChecks": true,
|
|
13
|
+
"strictPropertyInitialization": true,
|
|
14
|
+
"noFallthroughCasesInSwitch": true,
|
|
15
|
+
"noUnusedLocals": false,
|
|
16
|
+
"noUnusedParameters": false,
|
|
17
|
+
"noImplicitReturns": true,
|
|
18
|
+
"noEmitOnError": false,
|
|
19
|
+
"noEmit": true,
|
|
20
|
+
"inlineSourceMap": true,
|
|
21
|
+
"inlineSources": true,
|
|
22
|
+
"baseUrl": ".",
|
|
23
|
+
"skipLibCheck": true,
|
|
24
|
+
"experimentalDecorators": true,
|
|
25
|
+
"paths": {
|
|
26
|
+
"dummy/tests/*": [
|
|
27
|
+
"tests/*"
|
|
28
|
+
],
|
|
29
|
+
"dummy/*": [
|
|
30
|
+
"tests/dummy/app/*",
|
|
31
|
+
"app/*"
|
|
32
|
+
],
|
|
33
|
+
"@lblod/ember-rdfa-editor-lblod-plugins": [
|
|
34
|
+
"addon"
|
|
35
|
+
],
|
|
36
|
+
"@lblod/ember-rdfa-editor-lblod-plugins/*": [
|
|
37
|
+
"addon/*"
|
|
38
|
+
],
|
|
39
|
+
"@lblod/ember-rdfa-editor-lblod-plugins/test-support": [
|
|
40
|
+
"addon-test-support"
|
|
41
|
+
],
|
|
42
|
+
"@lblod/ember-rdfa-editor-lblod-plugins/test-support/*": [
|
|
43
|
+
"addon-test-support/*"
|
|
44
|
+
],
|
|
45
|
+
"*": [
|
|
46
|
+
"types/*"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"include": [
|
|
51
|
+
"app/**/*",
|
|
52
|
+
"addon/**/*",
|
|
53
|
+
"tests/**/*",
|
|
54
|
+
"types/**/*",
|
|
55
|
+
"test-support/**/*",
|
|
56
|
+
"addon-test-support/**/*"
|
|
57
|
+
],
|
|
58
|
+
"glint": {
|
|
59
|
+
"environment": ["ember-loose", "ember-template-imports"],
|
|
60
|
+
"checkStandaloneTemplates": false
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// The types of the ember-intl `t` helper, at least in v5.7.2 seem to expect 0 arguments instead of
|
|
2
|
+
// requiring 1 string. These types are taken from the latest ember-intl.
|
|
3
|
+
declare module 'ember-intl/helpers/t' {
|
|
4
|
+
import Helper from '@ember/component/helper';
|
|
5
|
+
|
|
6
|
+
interface TSignature {
|
|
7
|
+
Args: {
|
|
8
|
+
Named?: Options & { allowEmpty?: boolean };
|
|
9
|
+
Positional: [Value] | [Value, Options];
|
|
10
|
+
};
|
|
11
|
+
Return: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default class THelper extends Helper<TSignature> {}
|
|
15
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
declare module '@graphy/memory.dataset.fast' {
|
|
2
|
+
import * as RDF from '@rdfjs/types';
|
|
3
|
+
export type TermType = 'NamedNode' | 'BlankNode' | 'Literal' | 'DefaultGraph';
|
|
4
|
+
|
|
5
|
+
export type AnyQuad = RDF.Quad;
|
|
6
|
+
|
|
7
|
+
export type TermIsolate = AnyTerm;
|
|
8
|
+
export type QuadIsolate = AnyQuad;
|
|
9
|
+
|
|
10
|
+
export interface Quad extends AnyQuad {
|
|
11
|
+
equals(other: AnyQuad): boolean;
|
|
12
|
+
|
|
13
|
+
verbose(): string;
|
|
14
|
+
|
|
15
|
+
terse(prefixes: string): string;
|
|
16
|
+
|
|
17
|
+
concise(prefixes: string): string;
|
|
18
|
+
|
|
19
|
+
isolate(): QuadIsolate;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface AnyTerm {
|
|
23
|
+
termType: TermType;
|
|
24
|
+
value: string;
|
|
25
|
+
datatype?: AnyTerm;
|
|
26
|
+
language?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
30
|
+
export interface DatasetConfig {
|
|
31
|
+
//TODO
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export default function dataset(config?: DatasetConfig): FastDataset;
|
|
35
|
+
|
|
36
|
+
export interface FastDataset extends Iterable<Quad> {
|
|
37
|
+
size: number;
|
|
38
|
+
|
|
39
|
+
isGraphyFastDataset: true;
|
|
40
|
+
|
|
41
|
+
canonicalize(): FastDataset;
|
|
42
|
+
|
|
43
|
+
add(quad: AnyQuad): FastDataset;
|
|
44
|
+
|
|
45
|
+
addAll(quads: RDF.Dataset | AnyQuad[]): FastDataset;
|
|
46
|
+
|
|
47
|
+
addQuads(quads: Array<Quad>): number;
|
|
48
|
+
|
|
49
|
+
delete(quad: AnyQuad): FastDataset;
|
|
50
|
+
|
|
51
|
+
clear(): void;
|
|
52
|
+
|
|
53
|
+
disjoint(other: FastDataset): boolean;
|
|
54
|
+
|
|
55
|
+
union(other: FastDataset): FastDataset;
|
|
56
|
+
|
|
57
|
+
intersection(other: FastDataset): FastDataset;
|
|
58
|
+
|
|
59
|
+
minus(other: FastDataset): FastDataset;
|
|
60
|
+
|
|
61
|
+
difference(other: FastDataset): FastDataset;
|
|
62
|
+
|
|
63
|
+
match(
|
|
64
|
+
subject?: RDF.Quad_Subject | null,
|
|
65
|
+
predicate?: RDF.Quad_Predicate | null,
|
|
66
|
+
object?: RDF.Quad_Object | null,
|
|
67
|
+
graph?: RDF.Quad_Graph | null,
|
|
68
|
+
): FastDataset;
|
|
69
|
+
|
|
70
|
+
equals(other: FastDataset): boolean;
|
|
71
|
+
|
|
72
|
+
has(quad: AnyQuad): boolean;
|
|
73
|
+
}
|
|
74
|
+
}
|
package/.woodpecker/.test.yml
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
steps:
|
|
2
|
-
install:
|
|
3
|
-
image: danlynn/ember-cli:4.8.0
|
|
4
|
-
commands:
|
|
5
|
-
- npm ci
|
|
6
|
-
# ember-try already runs ember test, so we don't need another test step
|
|
7
|
-
lint-js:
|
|
8
|
-
image: danlynn/ember-cli:4.8.0
|
|
9
|
-
group: check
|
|
10
|
-
commands:
|
|
11
|
-
- npm run lint:js
|
|
12
|
-
lint-hbs:
|
|
13
|
-
image: danlynn/ember-cli:4.8.0
|
|
14
|
-
group: check
|
|
15
|
-
commands:
|
|
16
|
-
- npm run lint:hbs
|
|
17
|
-
test:
|
|
18
|
-
image: danlynn/ember-cli:4.8.0
|
|
19
|
-
group: check
|
|
20
|
-
commands:
|
|
21
|
-
- ember test
|
|
22
|
-
precompile:
|
|
23
|
-
image: danlynn/ember-cli:4.8.0
|
|
24
|
-
commands:
|
|
25
|
-
- ember ts:precompile
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
release:
|
|
29
|
-
image: plugins/npm
|
|
30
|
-
settings:
|
|
31
|
-
token:
|
|
32
|
-
from_secret: npm_access_token
|
|
33
|
-
when:
|
|
34
|
-
event: tag
|
|
35
|
-
ref: refs/tags/v*
|
|
36
|
-
|
|
37
|
-
push-tagged-build:
|
|
38
|
-
image: plugins/docker
|
|
39
|
-
settings:
|
|
40
|
-
repo: lblod/ember-rdfa-editor-lblod-plugins
|
|
41
|
-
tags: "${CI_COMMIT_TAG##v}"
|
|
42
|
-
purge: true
|
|
43
|
-
secrets: [ docker_username, docker_password ]
|
|
44
|
-
when:
|
|
45
|
-
event: tag
|
|
46
|
-
ref: refs/tags/v*
|
|
47
|
-
# according to docs, this also runs on prs targetting master
|
|
48
|
-
when:
|
|
49
|
-
branch: [ master, hotfix/* ]
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<AuAlert
|
|
2
|
-
@title="{{t "citaten-plugin.alert.error-title"}}"
|
|
3
|
-
@skin="error"
|
|
4
|
-
@icon="alert-triangle"
|
|
5
|
-
@size="{{if @fullSize "default" "small"}}"
|
|
6
|
-
@closable={{false}}
|
|
7
|
-
...attributes>
|
|
8
|
-
<p>{{t "citaten-plugin.alert.error-intro"}}</p>
|
|
9
|
-
<code class="au-u-error citaten--error-code">{{@error}}</code>
|
|
10
|
-
<p>
|
|
11
|
-
{{t "citaten-plugin.alert.error-outro"}}
|
|
12
|
-
<AuLinkExternal
|
|
13
|
-
href="mailto:gelinktnotuleren@vlaanderen.be"
|
|
14
|
-
@icon="mail"
|
|
15
|
-
@iconAlignment="left">
|
|
16
|
-
{{!-- template-lint-disable no-bare-strings --}}
|
|
17
|
-
gelinktnotuleren@vlaanderen.be
|
|
18
|
-
</AuLinkExternal>.
|
|
19
|
-
</p>
|
|
20
|
-
</AuAlert>
|
|
21
|
-
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<div class='au-u-background-gray-100'>
|
|
2
|
-
<AuToolbar @border='top' @size='large' @nowrap={{true}}>
|
|
3
|
-
<div class='au-c-pagination'>
|
|
4
|
-
<p>
|
|
5
|
-
<span class='au-u-hidden-visually'>
|
|
6
|
-
{{t 'pagination.results'}}</span>
|
|
7
|
-
<strong>
|
|
8
|
-
{{@rangeStart}}
|
|
9
|
-
-
|
|
10
|
-
{{@rangeEnd}}
|
|
11
|
-
</strong>
|
|
12
|
-
{{t 'pagination.of'}}
|
|
13
|
-
{{@totalCount}}
|
|
14
|
-
</p>
|
|
15
|
-
<div class='au-u-flex'>
|
|
16
|
-
{{#unless @isFirstPage}}
|
|
17
|
-
<AuButton
|
|
18
|
-
@skin='link'
|
|
19
|
-
@icon='nav-left'
|
|
20
|
-
@iconAlignment='left'
|
|
21
|
-
{{on 'click' @onPreviousPage}}
|
|
22
|
-
>
|
|
23
|
-
{{t 'pagination.previous'}}
|
|
24
|
-
</AuButton>
|
|
25
|
-
{{/unless}}
|
|
26
|
-
{{#unless @isLastPage}}
|
|
27
|
-
<AuButton
|
|
28
|
-
@skin='link'
|
|
29
|
-
@icon='nav-right'
|
|
30
|
-
@iconAlignment='right'
|
|
31
|
-
{{on 'click' @onNextPage}}
|
|
32
|
-
>
|
|
33
|
-
{{t 'pagination.next'}}
|
|
34
|
-
</AuButton>
|
|
35
|
-
{{/unless}}
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</AuToolbar>
|
|
39
|
-
</div>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<AuAlert
|
|
2
|
-
@title='{{t "snippet-plugin.modal.alert.error-title"}}'
|
|
3
|
-
@skin='error'
|
|
4
|
-
@icon='alert-triangle'
|
|
5
|
-
@closable={{false}}
|
|
6
|
-
class='au-u-margin au-u-margin-top-none'
|
|
7
|
-
...attributes
|
|
8
|
-
>
|
|
9
|
-
<p>{{t 'snippet-plugin.modal.alert.error-intro'}}</p>
|
|
10
|
-
<code class='au-u-error snippet-modal--error-code'>{{@error}}</code>
|
|
11
|
-
<p>
|
|
12
|
-
{{t 'snippet-plugin.modal.alert.error-outro'}}
|
|
13
|
-
<AuLinkExternal
|
|
14
|
-
href='mailto:gelinktnotuleren@vlaanderen.be'
|
|
15
|
-
@icon='mail'
|
|
16
|
-
@iconAlignment='left'
|
|
17
|
-
>
|
|
18
|
-
{{! template-lint-disable no-bare-strings }}
|
|
19
|
-
gelinktnotuleren@vlaanderen.be
|
|
20
|
-
</AuLinkExternal>.
|
|
21
|
-
</p>
|
|
22
|
-
</AuAlert>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import { LegalDocument } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/citation-plugin/utils/legal-documents';
|
|
3
|
-
interface Args {
|
|
4
|
-
legalDocument: LegalDocument;
|
|
5
|
-
}
|
|
6
|
-
export default class LegalDocumentPreviewComponent extends Component<Args> {
|
|
7
|
-
get isBesluit(): boolean;
|
|
8
|
-
get hasPublicationLink(): unknown;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import { SayController, SayView } from '@lblod/ember-rdfa-editor';
|
|
3
|
-
type Args = {
|
|
4
|
-
controller: SayController;
|
|
5
|
-
};
|
|
6
|
-
export default class LocationNodeViewComponent extends Component<Args> {
|
|
7
|
-
nodeViews: {
|
|
8
|
-
address: import("prosemirror-view").NodeViewConstructor;
|
|
9
|
-
};
|
|
10
|
-
innerView?: SayView;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import { SayController, SayView } from '@lblod/ember-rdfa-editor';
|
|
3
|
-
type Args = {
|
|
4
|
-
controller: SayController;
|
|
5
|
-
};
|
|
6
|
-
export default class VariableNodeViewComponent extends Component<Args> {
|
|
7
|
-
innerView?: SayView;
|
|
8
|
-
onClick(): void;
|
|
9
|
-
initEditor(view: SayView): void;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Command } from '@lblod/ember-rdfa-editor';
|
|
2
|
-
import type { ArticleStructurePluginOptions } from '..';
|
|
3
|
-
declare const setStructureStartNumber: (options: ArticleStructurePluginOptions, startNumber: number | null) => Command;
|
|
4
|
-
export default setStructureStartNumber;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NodeSpec } from '@lblod/ember-rdfa-editor';
|
|
2
|
-
import { StructureSpec } from '..';
|
|
3
|
-
export declare const articleSpec: StructureSpec;
|
|
4
|
-
export declare const article: NodeSpec;
|
|
5
|
-
export declare const article_header: NodeSpec;
|
|
6
|
-
export declare const article_body: NodeSpec;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { DOMOutputSpec, NodeSpec, NodeType, PNode, Schema, Selection } from '@lblod/ember-rdfa-editor';
|
|
2
|
-
import { Resource } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/namespace';
|
|
3
|
-
import { StructureSpec } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/article-structure-plugin';
|
|
4
|
-
export declare function constructStructureNodeSpec(config: {
|
|
5
|
-
type: Resource;
|
|
6
|
-
content: string;
|
|
7
|
-
group?: string;
|
|
8
|
-
allowSplitByTable?: boolean;
|
|
9
|
-
}): NodeSpec;
|
|
10
|
-
export declare function constructStructureBodyNodeSpec(config: {
|
|
11
|
-
content: string;
|
|
12
|
-
allowSplitByTable?: boolean;
|
|
13
|
-
}): NodeSpec;
|
|
14
|
-
export declare function findAncestorOfType(selection: Selection, ...types: NodeType[]): {
|
|
15
|
-
pos: number;
|
|
16
|
-
start: number;
|
|
17
|
-
depth: number;
|
|
18
|
-
node: PNode;
|
|
19
|
-
} | undefined;
|
|
20
|
-
export declare function getNumberAttributeFromElement(containerElement: Element, numberElement: Element): {
|
|
21
|
-
number: number;
|
|
22
|
-
numberDisplayStyle: string;
|
|
23
|
-
startNumber: number | null;
|
|
24
|
-
};
|
|
25
|
-
export declare function getStructureHeaderAttrs(element: HTMLElement): false | {
|
|
26
|
-
number: number;
|
|
27
|
-
numberDisplayStyle: string;
|
|
28
|
-
startNumber: number | null;
|
|
29
|
-
};
|
|
30
|
-
export declare function containsOnlyPlaceholder(schema: Schema, node: PNode): boolean;
|
|
31
|
-
export declare const getNumberAttributesFromNode: (node: PNode) => {
|
|
32
|
-
"data-start-number": string | null;
|
|
33
|
-
"data-number-display-style": string;
|
|
34
|
-
};
|
|
35
|
-
export declare const getNumberDocSpecFromNode: (node: PNode) => DOMOutputSpec;
|
|
36
|
-
export declare const getNumberUtils: (offset?: number) => Pick<StructureSpec, 'setStartNumber' | 'getStartNumber' | 'getNumber' | 'updateNumber'>;
|
package/utils/namespace.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PNode } from '@lblod/ember-rdfa-editor';
|
|
2
|
-
export declare class Resource {
|
|
3
|
-
full: string;
|
|
4
|
-
prefixed: string;
|
|
5
|
-
constructor(full: string, prefixed: string);
|
|
6
|
-
toString(): string;
|
|
7
|
-
}
|
|
8
|
-
export declare function namespace(uri: string, prefix: string): (s: string) => Resource;
|
|
9
|
-
export declare function hasRDFaAttribute(element: Element, attr: string, value: Resource): boolean;
|
|
10
|
-
export declare function findChildWithRdfaAttribute(element: Element, attr: string, value: Resource): Element | undefined;
|
|
11
|
-
export declare function pnodeHasRdfaAttribute(node: PNode, attr: string, value: Resource): boolean;
|
|
12
|
-
export declare function expandPrefixedString(base: string, prefix: string, stringToExpand: string): string;
|
|
File without changes
|
|
File without changes
|
package/{components → declarations/addon/components}/roadsign-regulation-plugin/roadsigns-modal.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/{components → declarations/addon/components}/snippet-plugin/snippets/snippet-preview.d.ts
RENAMED
|
File without changes
|