@lblod/ember-rdfa-editor-lblod-plugins 19.0.0 → 19.1.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/.release-it.json +1 -1
- package/.woodpecker/.verify-pr.yml +6 -0
- package/CHANGELOG.md +10 -0
- package/README.md +21 -0
- package/addon/components/article-structure-plugin/article-structure-card.hbs +11 -6
- package/addon/components/article-structure-plugin/structure-card.hbs +50 -39
- package/addon/components/besluit-topic-plugin/besluit-topic-select.hbs +19 -0
- package/addon/components/besluit-topic-plugin/besluit-topic-select.ts +32 -0
- package/addon/components/besluit-topic-plugin/besluit-topic-toolbar-dropdown.hbs +93 -0
- package/addon/components/besluit-topic-plugin/besluit-topic-toolbar-dropdown.ts +151 -0
- package/addon/components/besluit-type-plugin/besluit-type-select.hbs +11 -8
- package/addon/components/citation-plugin/citation-card.hbs +1 -4
- package/addon/components/citation-plugin/citation-insert.hbs +1 -1
- package/addon/components/citation-plugin/citations/article-list.hbs +7 -3
- package/addon/components/citation-plugin/citations/article-preview.hbs +12 -8
- package/addon/components/citation-plugin/citations/legal-document-detail.hbs +75 -53
- package/addon/components/citation-plugin/citations/legal-document-list.hbs +8 -4
- package/addon/components/citation-plugin/citations/legal-document-preview.hbs +51 -41
- package/addon/components/citation-plugin/citations/search-modal.hbs +1 -1
- package/addon/components/confidentiality-plugin/toolbar.hbs +1 -1
- package/addon/components/decision-plugin/decision-plugin-card.hbs +42 -12
- package/addon/components/document-title-plugin/insert-title-card.hbs +4 -4
- package/addon/components/hover-tooltip.hbs +4 -1
- package/addon/components/import-snippet-plugin/card.hbs +25 -11
- package/addon/components/loading-alert.hbs +12 -12
- package/addon/components/roadsign-regulation-plugin/expanded-measure.hbs +37 -22
- package/addon/components/roadsign-regulation-plugin/measure-template.hbs +1 -1
- package/addon/components/roadsign-regulation-plugin/roadsign-regulation-card.hbs +11 -6
- package/addon/components/roadsign-regulation-plugin/roadsigns-modal.hbs +34 -26
- package/addon/components/roadsign-regulation-plugin/roadsigns-pagination.hbs +28 -11
- package/addon/components/roadsign-regulation-plugin/roadsigns-table.hbs +83 -55
- package/addon/components/snippet-plugin/search-modal.hbs +1 -1
- package/addon/components/snippet-plugin/snippet-insert.hbs +1 -1
- package/addon/components/snippet-plugin/snippet-list/snippet-list-modal.hbs +10 -2
- package/addon/components/snippet-plugin/snippet-list/snippet-list-view.hbs +24 -18
- package/addon/components/snippet-plugin/snippet-list-select-rdfa.hbs +5 -5
- package/addon/components/standard-template-plugin/card.hbs +9 -5
- package/addon/components/standard-template-plugin/template-provider.hbs +7 -5
- package/addon/components/table-of-contents-plugin/ember-nodes/outline.hbs +1 -1
- package/addon/components/table-of-contents-plugin/ember-nodes/table-of-contents.hbs +1 -1
- package/addon/components/template-comments-plugin/edit-card.hbs +4 -2
- package/addon/components/template-comments-plugin/insert.hbs +1 -1
- package/addon/components/template-comments-plugin/template-comment.hbs +3 -3
- package/addon/components/validation-plugin/validation-card.hbs +7 -4
- package/addon/components/validation-plugin/validation-item.hbs +7 -2
- package/addon/components/variable-plugin/address/edit.hbs +67 -34
- package/addon/components/variable-plugin/address/insert-variable.hbs +2 -2
- package/addon/components/variable-plugin/address/insert.hbs +6 -5
- package/addon/components/variable-plugin/codelist/edit.hbs +23 -10
- package/addon/components/variable-plugin/codelist/insert.hbs +2 -5
- package/addon/components/variable-plugin/date/date-time-picker.hbs +8 -7
- package/addon/components/variable-plugin/date/edit.hbs +49 -30
- package/addon/components/variable-plugin/date/help-modal.hbs +22 -19
- package/addon/components/variable-plugin/date/insert.hbs +6 -5
- package/addon/components/variable-plugin/date/nodeview.hbs +3 -3
- package/addon/components/variable-plugin/location/edit.hbs +23 -10
- package/addon/components/variable-plugin/location/insert.hbs +2 -2
- package/addon/components/variable-plugin/location/nodeview.hbs +7 -2
- package/addon/components/variable-plugin/number/insert.hbs +7 -7
- package/addon/components/variable-plugin/number/nodeview.hbs +5 -3
- package/addon/components/variable-plugin/text/insert.hbs +2 -2
- package/addon/components/variable-plugin/utils/label-input.hbs +1 -1
- package/addon/components/variable-plugin/variable/nodeview.hbs +7 -2
- package/addon/components/worship-plugin/administrative-unit-picker.hbs +2 -1
- package/addon/components/worship-plugin/list.hbs +1 -3
- package/addon/components/worship-plugin/search-modal.hbs +10 -10
- package/addon/components/worship-plugin/sortable-table-header.hbs +11 -5
- package/addon/plugins/besluit-topic-plugin/commands/update-besluit-topic-resource.ts +59 -0
- package/addon/plugins/besluit-topic-plugin/index.ts +3 -0
- package/addon/plugins/besluit-topic-plugin/utils/fetchBesluitTopics.ts +66 -0
- package/addon/plugins/besluit-topic-plugin/utils/helpers.ts +36 -0
- package/app/components/besluit-topic-plugin/besluit-topic-select.js +1 -0
- package/app/components/besluit-topic-plugin/besluit-topic-toolbar-dropdown.js +1 -0
- package/app/styles/besluit-plugin.scss +2 -2
- package/app/styles/citaten-plugin.scss +19 -16
- package/app/styles/confidentiality-plugin.scss +2 -2
- package/app/styles/document-title-plugin.scss +1 -1
- package/app/styles/snippet-plugin.scss +1 -1
- package/app/styles/variable-plugin.scss +5 -3
- package/declarations/addon/components/besluit-topic-plugin/besluit-topic-select.d.ts +12 -0
- package/declarations/addon/components/besluit-topic-plugin/besluit-topic-toolbar-dropdown.d.ts +28 -0
- package/declarations/addon/plugins/besluit-topic-plugin/commands/update-besluit-topic-resource.d.ts +8 -0
- package/declarations/addon/plugins/besluit-topic-plugin/index.d.ts +3 -0
- package/declarations/addon/plugins/besluit-topic-plugin/utils/fetchBesluitTopics.d.ts +16 -0
- package/declarations/addon/plugins/besluit-topic-plugin/utils/helpers.d.ts +4 -0
- package/package.json +3 -1
- package/translations/appuniversum/en-us.yaml +10 -10
- package/translations/appuniversum/nl-be.yaml +10 -10
- package/translations/en-US.yaml +18 -5
- package/translations/nl-BE.yaml +61 -52
- package/tsconfig.json +1 -1
- package/tsconfig.main.json +5 -16
|
@@ -1,115 +1,137 @@
|
|
|
1
1
|
{{! @glint-nocheck: not typesafe yet }}
|
|
2
|
-
<div
|
|
3
|
-
|
|
2
|
+
<div
|
|
3
|
+
class='citaten--main-container au-u-flex au-u-flex--column au-u-flex--between'
|
|
4
|
+
>
|
|
5
|
+
<div class='citaten--container-content'>
|
|
4
6
|
{{! Heading with title and actions }}
|
|
5
|
-
<div class=
|
|
6
|
-
<AuHeading @level=
|
|
7
|
+
<div class='citaten--container-header au-u-background-gray-100 au-o-box'>
|
|
8
|
+
<AuHeading @level='2' @skin='4'>
|
|
7
9
|
{{capitalize @legalDocument.fullTitle}}
|
|
8
10
|
</AuHeading>
|
|
9
11
|
{{#if @legalDocument.publicationDate}}
|
|
10
12
|
<AuPill
|
|
11
|
-
class=
|
|
12
|
-
@skin=
|
|
13
|
+
class='au-u-margin-top-small au-u-margin-bottom-small'
|
|
14
|
+
@skin='border'
|
|
13
15
|
@icon={{this.CalendarIcon}}
|
|
14
|
-
@iconAlignment=
|
|
16
|
+
@iconAlignment='left'
|
|
17
|
+
>
|
|
15
18
|
{{@legalDocument.publicationDate}}
|
|
16
19
|
</AuPill>
|
|
17
20
|
{{/if}}
|
|
18
|
-
<br/>
|
|
21
|
+
<br />
|
|
19
22
|
<AuButton
|
|
20
|
-
@skin=
|
|
23
|
+
@skin='primary'
|
|
21
24
|
@icon={{this.PlusTextIcon}}
|
|
22
|
-
@iconAlignment=
|
|
23
|
-
class=
|
|
24
|
-
{{on
|
|
25
|
-
|
|
25
|
+
@iconAlignment='left'
|
|
26
|
+
class='au-u-margin-right'
|
|
27
|
+
{{on 'click' (fn @insertLegalDocumentCitation @legalDocument)}}
|
|
28
|
+
>
|
|
29
|
+
{{t 'citaten-plugin.references.refer-whole'}}
|
|
26
30
|
</AuButton>
|
|
27
31
|
<AuLinkExternal
|
|
28
|
-
@skin=
|
|
32
|
+
@skin='primary'
|
|
29
33
|
@icon={{this.LinkExternalIcon}}
|
|
30
|
-
@iconAlignment=
|
|
34
|
+
@iconAlignment='left'
|
|
31
35
|
href={{@legalDocument.uri}}
|
|
32
|
-
rel=
|
|
33
|
-
|
|
36
|
+
rel='noreferrer noopener'
|
|
37
|
+
>
|
|
38
|
+
{{t 'citaten-plugin.references.lookup-codex'}}
|
|
34
39
|
</AuLinkExternal>
|
|
35
40
|
{{! Search field }}
|
|
36
|
-
<AuLabel
|
|
37
|
-
|
|
41
|
+
<AuLabel
|
|
42
|
+
class='au-u-margin-top-small au-margin-bottom-small'
|
|
43
|
+
for='searchCodex'
|
|
44
|
+
@inline={{true}}
|
|
45
|
+
@required={{false}}
|
|
46
|
+
@error={{false}}
|
|
47
|
+
@warning={{false}}
|
|
48
|
+
>{{t 'citaten-plugin.search.article'}}</AuLabel>
|
|
38
49
|
<AuInput
|
|
39
|
-
id=
|
|
40
|
-
placeholder=
|
|
41
|
-
type=
|
|
42
|
-
@width=
|
|
50
|
+
id='searchCodex'
|
|
51
|
+
placeholder='{{t "citaten-plugin.search.article-placeholder"}}'
|
|
52
|
+
type='text'
|
|
53
|
+
@width='default'
|
|
43
54
|
@icon={{this.SearchIcon}}
|
|
44
|
-
@iconAlignment=
|
|
55
|
+
@iconAlignment='right'
|
|
45
56
|
value={{this.articleFilter}}
|
|
46
|
-
{{on
|
|
57
|
+
{{on 'input' (perform this.updateArticleFilter)}}
|
|
47
58
|
/>
|
|
48
59
|
</div>
|
|
49
60
|
{{! Search results }}
|
|
50
61
|
<div>
|
|
51
62
|
{{#if this.articleResource.isRunning}}
|
|
52
|
-
<div class=
|
|
53
|
-
<AuLoader @padding=
|
|
54
|
-
<span class=
|
|
63
|
+
<div class='au-o-box'>
|
|
64
|
+
<AuLoader @padding='large' />
|
|
65
|
+
<span class='au-u-hidden-visually'>{{t
|
|
66
|
+
'citaten-plugin.alert.loading'
|
|
67
|
+
}}</span>
|
|
55
68
|
</div>
|
|
56
69
|
{{else}}
|
|
57
70
|
{{#if this.error}}
|
|
58
|
-
<Common::Search::AlertLoadError
|
|
71
|
+
<Common::Search::AlertLoadError
|
|
72
|
+
@fullSize={{true}}
|
|
73
|
+
@error={{this.error}}
|
|
74
|
+
class='au-o-box'
|
|
75
|
+
/>
|
|
59
76
|
{{else}}
|
|
60
77
|
<CitationPlugin::Citations::ArticleList
|
|
61
78
|
@insertArticleCitation={{fn @insertArticleCitation @legalDocument}}
|
|
62
79
|
@articles={{this.articleResource.value}}
|
|
63
|
-
@fullSize={{true}}
|
|
80
|
+
@fullSize={{true}}
|
|
81
|
+
/>
|
|
64
82
|
{{/if}}
|
|
65
83
|
{{/if}}
|
|
66
84
|
</div>
|
|
67
85
|
</div>
|
|
68
86
|
{{! Footer }}
|
|
69
87
|
<div>
|
|
70
|
-
<div class=
|
|
71
|
-
<AuToolbar
|
|
72
|
-
|
|
73
|
-
@size="large"
|
|
74
|
-
@nowrap={{true}}>
|
|
75
|
-
<div class="au-c-pagination">
|
|
88
|
+
<div class='citaten--container-footer au-u-background-gray-100'>
|
|
89
|
+
<AuToolbar @border='top' @size='large' @nowrap={{true}}>
|
|
90
|
+
<div class='au-c-pagination'>
|
|
76
91
|
{{! Always shown, back to main dialog }}
|
|
77
|
-
<div class=
|
|
92
|
+
<div class='au-c-pagination__list-item'>
|
|
78
93
|
<AuButton
|
|
79
|
-
@skin=
|
|
94
|
+
@skin='link'
|
|
80
95
|
@icon={{this.HierarchicalBackIcon}}
|
|
81
|
-
@iconAlignment=
|
|
82
|
-
{{on
|
|
83
|
-
|
|
96
|
+
@iconAlignment='left'
|
|
97
|
+
{{on 'click' this.close}}
|
|
98
|
+
>
|
|
99
|
+
{{t 'citaten-plugin.search.back'}}
|
|
84
100
|
</AuButton>
|
|
85
101
|
</div>
|
|
86
102
|
{{! Pagination of articles }}
|
|
87
103
|
{{#if this.articleResource.value.length}}
|
|
88
104
|
<p>
|
|
89
|
-
<span class=
|
|
105
|
+
<span class='au-u-hidden-visually'>{{t
|
|
106
|
+
'citaten-plugin.search.results'
|
|
107
|
+
}}</span>
|
|
90
108
|
<strong>
|
|
91
|
-
{{this.rangeStart}}
|
|
109
|
+
{{this.rangeStart}}
|
|
110
|
+
-
|
|
111
|
+
{{this.rangeEnd}}
|
|
92
112
|
</strong>
|
|
93
|
-
{{t
|
|
113
|
+
{{t 'citaten-plugin.pagination.of'}}
|
|
94
114
|
{{this.totalCount}}
|
|
95
115
|
</p>
|
|
96
|
-
<div class=
|
|
116
|
+
<div class='au-c-pagination__list-item'>
|
|
97
117
|
{{#unless this.isFirstPage}}
|
|
98
118
|
<AuButton
|
|
99
|
-
@skin=
|
|
119
|
+
@skin='link'
|
|
100
120
|
@icon={{this.NavLeftIcon}}
|
|
101
|
-
@iconAlignment=
|
|
102
|
-
{{on
|
|
103
|
-
|
|
121
|
+
@iconAlignment='left'
|
|
122
|
+
{{on 'click' this.previousPage}}
|
|
123
|
+
>
|
|
124
|
+
{{t 'citaten-plugin.pagination.previous'}}
|
|
104
125
|
</AuButton>
|
|
105
126
|
{{/unless}}
|
|
106
127
|
{{#unless this.isLastPage}}
|
|
107
128
|
<AuButton
|
|
108
|
-
@skin=
|
|
129
|
+
@skin='link'
|
|
109
130
|
@icon={{this.NavRightIcon}}
|
|
110
|
-
@iconAlignment=
|
|
111
|
-
{{on
|
|
112
|
-
|
|
131
|
+
@iconAlignment='right'
|
|
132
|
+
{{on 'click' this.nextPage}}
|
|
133
|
+
>
|
|
134
|
+
{{t 'citaten-plugin.pagination.next'}}
|
|
113
135
|
</AuButton>
|
|
114
136
|
{{/unless}}
|
|
115
137
|
</div>
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
{{#if @legalDocuments.length}}
|
|
2
|
-
<AuList @direction=
|
|
2
|
+
<AuList @direction='vertical' @divider={{true}} as |Item|>
|
|
3
3
|
{{#each @legalDocuments as |legalDocument|}}
|
|
4
|
-
<Item class=
|
|
4
|
+
<Item class='au-u-padding-left-small au-u-padding-right-small'>
|
|
5
5
|
<CitationPlugin::Citations::LegalDocumentPreview
|
|
6
6
|
@legalDocument={{legalDocument}}
|
|
7
7
|
@onCitationInsert={{fn @onCitationInsert legalDocument}}
|
|
8
8
|
@onCitationDetails={{fn @onCitationDetails legalDocument}}
|
|
9
|
-
@fullSize={{@fullSize}}
|
|
9
|
+
@fullSize={{@fullSize}}
|
|
10
|
+
/>
|
|
10
11
|
</Item>
|
|
11
12
|
{{/each}}
|
|
12
13
|
</AuList>
|
|
13
14
|
{{else}}
|
|
14
|
-
<Common::Search::AlertNoItems
|
|
15
|
+
<Common::Search::AlertNoItems
|
|
16
|
+
@fullSize={{@fullSize}}
|
|
17
|
+
class={{if @fullSize 'au-u-margin'}}
|
|
18
|
+
/>
|
|
15
19
|
{{/if}}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
{{! @glint-nocheck: not typesafe yet }}
|
|
2
|
-
<div
|
|
3
|
-
|
|
2
|
+
<div
|
|
3
|
+
class='citaten--decision-list-item {{if @fullSize "au-u-padding-small"}}'
|
|
4
|
+
...attributes
|
|
5
|
+
>
|
|
6
|
+
<p
|
|
7
|
+
class='citaten--decision-title
|
|
8
|
+
{{if @fullSize "au-u-h6 au-u-medium" "au-u-h-functional"}}'
|
|
9
|
+
>
|
|
4
10
|
{{if @fullSize (capitalize @legalDocument.fullTitle) @legalDocument.title}}
|
|
5
11
|
</p>
|
|
6
12
|
{{#if (and @fullSize @legalDocument.publicationDate)}}
|
|
7
13
|
<AuPill
|
|
8
|
-
class=
|
|
9
|
-
@skin=
|
|
14
|
+
class='au-u-margin-top-small au-u-margin-bottom-small'
|
|
15
|
+
@skin='border'
|
|
10
16
|
@icon={{this.CalendarIcon}}
|
|
11
|
-
@iconAlignment=
|
|
17
|
+
@iconAlignment='left'
|
|
18
|
+
>
|
|
12
19
|
{{@legalDocument.publicationDate}}
|
|
13
20
|
</AuPill>
|
|
14
21
|
{{/if}}
|
|
@@ -16,83 +23,86 @@
|
|
|
16
23
|
<div>
|
|
17
24
|
<AuButtonGroup @inline={{false}}>
|
|
18
25
|
<AuButton
|
|
19
|
-
@skin=
|
|
26
|
+
@skin='primary'
|
|
20
27
|
@icon={{this.PlusTextIcon}}
|
|
21
|
-
@iconAlignment=
|
|
22
|
-
{{on
|
|
23
|
-
|
|
28
|
+
@iconAlignment='left'
|
|
29
|
+
{{on 'click' @onCitationInsert}}
|
|
30
|
+
>
|
|
31
|
+
{{t 'citaten-plugin.references.insert'}}
|
|
24
32
|
</AuButton>
|
|
25
33
|
{{#if this.isBesluit}}
|
|
26
34
|
{{#if this.hasPublicationLink}}
|
|
27
35
|
<AuLinkExternal
|
|
28
|
-
@skin=
|
|
36
|
+
@skin='button'
|
|
29
37
|
@icon={{this.LinkExternalIcon}}
|
|
30
|
-
@iconAlignment=
|
|
38
|
+
@iconAlignment='left'
|
|
31
39
|
href={{@legalDocument.meta.publicationLink}}
|
|
32
|
-
rel=
|
|
33
|
-
|
|
40
|
+
rel='noreferrer noopener'
|
|
41
|
+
>
|
|
42
|
+
{{t 'citaten-plugin.references.lookup-publicatie'}}
|
|
34
43
|
</AuLinkExternal>
|
|
35
44
|
{{else}}
|
|
36
45
|
<AuButton
|
|
37
46
|
@skin='button'
|
|
38
47
|
@icon={{this.LinkExternalIcon}}
|
|
39
|
-
@iconAlignment=
|
|
48
|
+
@iconAlignment='left'
|
|
40
49
|
@disabled={{true}}
|
|
41
50
|
>
|
|
42
|
-
{{t
|
|
51
|
+
{{t 'citaten-plugin.references.publicatie-non-available'}}
|
|
43
52
|
</AuButton>
|
|
44
53
|
{{/if}}
|
|
45
54
|
{{else}}
|
|
46
55
|
<AuButton
|
|
47
|
-
@skin=
|
|
56
|
+
@skin='secondary'
|
|
48
57
|
@icon={{this.ManualIcon}}
|
|
49
|
-
@iconAlignment=
|
|
50
|
-
{{on
|
|
51
|
-
|
|
58
|
+
@iconAlignment='left'
|
|
59
|
+
{{on 'click' @onCitationDetails}}
|
|
60
|
+
>
|
|
61
|
+
{{t 'citaten-plugin.references.details'}}
|
|
52
62
|
</AuButton>
|
|
53
63
|
{{/if}}
|
|
54
64
|
|
|
55
65
|
</AuButtonGroup>
|
|
56
66
|
</div>
|
|
57
67
|
{{else}}
|
|
58
|
-
<div
|
|
68
|
+
<div
|
|
69
|
+
class='au-u-flex au-u-flex--row au-u-flex--no-wrap au-u-flex--between au-u-margin-top-tiny'
|
|
70
|
+
>
|
|
59
71
|
<AuButton
|
|
60
|
-
@skin=
|
|
72
|
+
@skin='link-secondary'
|
|
61
73
|
@icon={{this.PlusTextIcon}}
|
|
62
|
-
@iconAlignment=
|
|
63
|
-
class=
|
|
64
|
-
{{on
|
|
65
|
-
|
|
74
|
+
@iconAlignment='left'
|
|
75
|
+
class='au-u-h-functional'
|
|
76
|
+
{{on 'click' @onCitationInsert}}
|
|
77
|
+
>
|
|
78
|
+
{{t 'citaten-plugin.references.insert'}}
|
|
66
79
|
</AuButton>
|
|
67
80
|
{{#if this.isBesluit}}
|
|
68
81
|
{{#if this.hasPublicationLink}}
|
|
69
82
|
<AuLinkExternal
|
|
70
|
-
@skin=
|
|
83
|
+
@skin='link'
|
|
71
84
|
@icon={{this.LinkExternalIcon}}
|
|
72
|
-
@iconAlignment=
|
|
85
|
+
@iconAlignment='left'
|
|
73
86
|
href={{@legalDocument.meta.publicationLink}}
|
|
74
|
-
rel=
|
|
75
|
-
class=
|
|
87
|
+
rel='noreferrer noopener'
|
|
88
|
+
class='au-u-h-functional'
|
|
76
89
|
>
|
|
77
|
-
{{t
|
|
90
|
+
{{t 'citaten-plugin.references.lookup-publicatie-short'}}
|
|
78
91
|
</AuLinkExternal>
|
|
79
92
|
{{else}}
|
|
80
|
-
<AuButton
|
|
81
|
-
|
|
82
|
-
@disabled={{true}}
|
|
83
|
-
class="au-u-h-functional"
|
|
84
|
-
>
|
|
85
|
-
{{t "citaten-plugin.references.publicatie-non-available-short"}}
|
|
93
|
+
<AuButton @skin='link' @disabled={{true}} class='au-u-h-functional'>
|
|
94
|
+
{{t 'citaten-plugin.references.publicatie-non-available-short'}}
|
|
86
95
|
</AuButton>
|
|
87
96
|
{{/if}}
|
|
88
97
|
{{else}}
|
|
89
98
|
<AuButton
|
|
90
|
-
@skin=
|
|
99
|
+
@skin='link'
|
|
91
100
|
@icon={{this.ManualIcon}}
|
|
92
|
-
@iconAlignment=
|
|
93
|
-
class=
|
|
94
|
-
{{on
|
|
95
|
-
|
|
101
|
+
@iconAlignment='left'
|
|
102
|
+
class='au-u-h-functional'
|
|
103
|
+
{{on 'click' @onCitationDetails}}
|
|
104
|
+
>
|
|
105
|
+
{{t 'citaten-plugin.references.details'}}
|
|
96
106
|
</AuButton>
|
|
97
107
|
{{/if}}
|
|
98
108
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<ConfidentialityPlugin::Redact @controller={{@controller}}/>
|
|
1
|
+
<ConfidentialityPlugin::Redact @controller={{@controller}} />
|
|
@@ -1,25 +1,55 @@
|
|
|
1
1
|
{{! @glint-nocheck: not typesafe yet }}
|
|
2
2
|
{{#if this.canInsertTitle}}
|
|
3
|
-
<AuAlert
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
<AuAlert
|
|
4
|
+
class='say-validation-alert'
|
|
5
|
+
@skin='warning'
|
|
6
|
+
@closable={{false}}
|
|
7
|
+
@icon={{this.AlertTriangleIcon}}
|
|
8
|
+
@title={{t 'besluit-plugin.missing-title-warning'}}
|
|
9
|
+
>
|
|
10
|
+
<AuButton
|
|
11
|
+
@iconAlignment='left'
|
|
12
|
+
@skin='link-secondary'
|
|
13
|
+
@disabled={{not this.canInsertTitle}}
|
|
14
|
+
{{on 'click' this.insertTitle}}
|
|
15
|
+
>
|
|
16
|
+
{{t 'besluit-plugin.insert.decision-title'}}
|
|
7
17
|
</AuButton>
|
|
8
18
|
</AuAlert>
|
|
9
19
|
{{/if}}
|
|
10
20
|
{{#if this.canInsertMotivation}}
|
|
11
|
-
<AuAlert
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
<AuAlert
|
|
22
|
+
class='say-validation-alert'
|
|
23
|
+
@skin='warning'
|
|
24
|
+
@closable={{false}}
|
|
25
|
+
@icon={{this.AlertTriangleIcon}}
|
|
26
|
+
@title={{t 'besluit-plugin.missing-motivation-warning'}}
|
|
27
|
+
>
|
|
28
|
+
<AuButton
|
|
29
|
+
@iconAlignment='left'
|
|
30
|
+
@skin='link-secondary'
|
|
31
|
+
@disabled={{not this.canInsertMotivation}}
|
|
32
|
+
{{on 'click' this.insertMotivation}}
|
|
33
|
+
>
|
|
34
|
+
{{t 'besluit-plugin.insert.motivation'}}
|
|
15
35
|
</AuButton>
|
|
16
36
|
</AuAlert>
|
|
17
37
|
{{/if}}
|
|
18
38
|
{{#if this.missingArticleBlock}}
|
|
19
|
-
<AuAlert
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
39
|
+
<AuAlert
|
|
40
|
+
class='say-validation-alert'
|
|
41
|
+
@skin='warning'
|
|
42
|
+
@closable={{false}}
|
|
43
|
+
@icon={{this.AlertTriangleIcon}}
|
|
44
|
+
@title={{t 'besluit-plugin.missing-article-block-warning'}}
|
|
45
|
+
>
|
|
46
|
+
<AuButton
|
|
47
|
+
@iconAlignment='left'
|
|
48
|
+
@skin='link-secondary'
|
|
49
|
+
@disabled={{not this.missingArticleBlock}}
|
|
50
|
+
{{on 'click' this.insertArticleBlock}}
|
|
51
|
+
>
|
|
52
|
+
{{t 'besluit-plugin.insert.article-block'}}
|
|
23
53
|
</AuButton>
|
|
24
54
|
</AuAlert>
|
|
25
55
|
{{/if}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{{! @glint-nocheck: not typesafe yet }}
|
|
2
|
-
<li class=
|
|
2
|
+
<li class='au-c-list__item'>
|
|
3
3
|
<AuButton
|
|
4
4
|
@icon={{this.AddIcon}}
|
|
5
|
-
@iconAlignment=
|
|
6
|
-
@skin=
|
|
5
|
+
@iconAlignment='left'
|
|
6
|
+
@skin='link'
|
|
7
7
|
{{on 'click' this.insertTitle}}
|
|
8
8
|
@disabled={{not this.canInsertTitle}}
|
|
9
9
|
>
|
|
10
|
-
{{t
|
|
10
|
+
{{t 'document-title-plugin.insert-title'}}
|
|
11
11
|
</AuButton>
|
|
12
12
|
</li>
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{{! @glint-nocheck: not typesafe yet }}
|
|
2
2
|
<this.Velcro @placement={{this.placement}} as |velcro|>
|
|
3
3
|
{{#let velcro.loop as |loop|}}
|
|
4
|
-
{{yield
|
|
4
|
+
{{yield
|
|
5
|
+
(hash velcroHook=velcro.hook handleHover=(modifier this.hover))
|
|
6
|
+
to='hover'
|
|
7
|
+
}}
|
|
5
8
|
{{#if this.tooltipOpen}}
|
|
6
9
|
{{yield loop to='tooltip'}}
|
|
7
10
|
{{/if}}
|
|
@@ -1,24 +1,38 @@
|
|
|
1
1
|
{{! @glint-nocheck: not typesafe yet }}
|
|
2
2
|
{{#each this.snippets as |snippet|}}
|
|
3
|
-
<AuCard
|
|
3
|
+
<AuCard
|
|
4
|
+
@flex={{true}}
|
|
5
|
+
@divided={{true}}
|
|
6
|
+
@expandable={{true}}
|
|
7
|
+
@shadow={{true}}
|
|
8
|
+
@isOpenInitially={{true}}
|
|
9
|
+
@size='small'
|
|
10
|
+
as |c|
|
|
11
|
+
>
|
|
4
12
|
<c.header>
|
|
5
|
-
<AuHeading @level=
|
|
6
|
-
{{t
|
|
13
|
+
<AuHeading @level='3' @skin='6'>
|
|
14
|
+
{{t 'editor-plugins.import-snippet.card.title'}}
|
|
7
15
|
</AuHeading>
|
|
8
16
|
</c.header>
|
|
9
17
|
<c.content>
|
|
10
|
-
<p class=
|
|
11
|
-
{{t
|
|
18
|
+
<p class='u-spacer--tiny'>
|
|
19
|
+
{{t
|
|
20
|
+
'editor-plugins.import-snippet.card.body.document-available'
|
|
21
|
+
htmlSafe=true
|
|
22
|
+
source=snippet.source
|
|
23
|
+
}}
|
|
12
24
|
</p>
|
|
13
|
-
<p><strong>{{t
|
|
25
|
+
<p><strong>{{t
|
|
26
|
+
'editor-plugins.import-snippet.card.body.confirmation'
|
|
27
|
+
}}</strong></p>
|
|
14
28
|
{{#if this.besluitNode}}
|
|
15
|
-
<AuButton {{on
|
|
16
|
-
{{t
|
|
29
|
+
<AuButton {{on 'click' (fn this.insert snippet 'attachment')}}>
|
|
30
|
+
{{t 'editor-plugins.import-snippet.card.body.insert-attachment'}}
|
|
17
31
|
</AuButton>
|
|
18
32
|
{{/if}}
|
|
19
|
-
<AuButton {{on
|
|
20
|
-
{{t
|
|
33
|
+
<AuButton {{on 'click' (fn this.insert snippet)}}>
|
|
34
|
+
{{t 'editor-plugins.import-snippet.card.body.insert-document'}}
|
|
21
35
|
</AuButton>
|
|
22
36
|
</c.content>
|
|
23
37
|
</AuCard>
|
|
24
|
-
{{/each}}
|
|
38
|
+
{{/each}}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{{! @glint-nocheck: not typesafe yet }}
|
|
2
2
|
{{#if this.isVisible}}
|
|
3
3
|
<div
|
|
4
|
-
class=
|
|
5
|
-
role=
|
|
4
|
+
class='au-c-alert {{this.skin}} {{this.size}}'
|
|
5
|
+
role='alert'
|
|
6
6
|
data-test-alert
|
|
7
7
|
...attributes
|
|
8
8
|
>
|
|
9
|
-
<AuLoader/>
|
|
10
|
-
<div class=
|
|
9
|
+
<AuLoader />
|
|
10
|
+
<div class='au-c-alert__content'>
|
|
11
11
|
{{#if @title}}
|
|
12
|
-
<p class=
|
|
12
|
+
<p class='au-c-alert__title' data-test-alert-title>{{@title}}</p>
|
|
13
13
|
{{/if}}
|
|
14
|
-
<div class=
|
|
14
|
+
<div class='au-c-alert__message' data-test-alert-message>{{yield}}</div>
|
|
15
15
|
</div>
|
|
16
16
|
{{#if @closable}}
|
|
17
17
|
<button
|
|
18
|
-
class=
|
|
19
|
-
type=
|
|
18
|
+
class='au-c-alert__close'
|
|
19
|
+
type='button'
|
|
20
20
|
data-test-alert-close
|
|
21
|
-
{{on
|
|
21
|
+
{{on 'click' this.closeAlert}}
|
|
22
22
|
>
|
|
23
|
-
<AuIcon @icon={{this.CrossIcon}} @size=
|
|
24
|
-
{{
|
|
25
|
-
<span class=
|
|
23
|
+
<AuIcon @icon={{this.CrossIcon}} @size='large' />
|
|
24
|
+
{{! template-lint-disable no-bare-strings }}
|
|
25
|
+
<span class='au-u-hidden-visually'>Sluit alert</span>
|
|
26
26
|
</button>
|
|
27
27
|
{{/if}}
|
|
28
28
|
</div>
|