@lblod/ember-rdfa-editor-lblod-plugins 34.1.0 → 34.1.1-dev.662c97f4ef4a91b7fafef7c52c2fc843477c448a
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/healthy-experts-clean.md +5 -0
- package/CHANGELOG.md +6 -0
- package/addon/components/variable-plugin/codelist/edit.gts +20 -9
- package/addon/components/variable-plugin/codelist/insert.gts +28 -19
- package/addon/components/variable-plugin/date/{insert.ts → insert.gts} +22 -6
- package/addon/components/variable-plugin/marcode/insert.gts +71 -0
- package/addon/plugins/roadsign-regulation-plugin/schemas/mobility-measure-design.ts +5 -1
- package/addon/plugins/variable-plugin/actions/create-codelist-variable.ts +6 -1
- package/addon/plugins/variable-plugin/variables/codelist.ts +26 -2
- package/addon/plugins/variable-plugin/variables/marcode.ts +433 -0
- package/app/components/variable-plugin/marcode/insert.js +1 -0
- package/declarations/addon/components/variable-plugin/codelist/edit.d.ts +3 -1
- package/declarations/addon/components/variable-plugin/codelist/insert.d.ts +9 -5
- package/declarations/addon/components/variable-plugin/date/insert.d.ts +6 -5
- package/declarations/addon/components/variable-plugin/marcode/insert.d.ts +17 -0
- package/declarations/addon/plugins/roadsign-regulation-plugin/schemas/mobility-measure-design.d.ts +80 -4
- package/declarations/addon/plugins/variable-plugin/actions/create-codelist-variable.d.ts +4 -11
- package/declarations/addon/plugins/variable-plugin/variables/codelist.d.ts +11 -0
- package/declarations/addon/plugins/variable-plugin/variables/marcode.d.ts +4 -0
- package/package.json +1 -1
- package/translations/en-US.yaml +3 -0
- package/translations/nl-BE.yaml +3 -0
- package/addon/components/variable-plugin/date/insert.hbs +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @lblod/ember-rdfa-editor-lblod-plugins
|
|
2
2
|
|
|
3
|
+
## 34.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ea58ba1`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/ea58ba1cebf5d69c4f1d784c524a13c1dfe6034e) Thanks [@abeforgit](https://github.com/abeforgit)! - Allow insertMeasure to take in ar-designs with concepts instead of signs
|
|
8
|
+
|
|
3
9
|
## 34.1.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -17,7 +17,6 @@ import {
|
|
|
17
17
|
updateCodelistVariable,
|
|
18
18
|
updateCodelistVariableLegacy,
|
|
19
19
|
} from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/variable-plugin/utils/codelist-utils';
|
|
20
|
-
import { Option } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/option';
|
|
21
20
|
import AuCard from '@appuniversum/ember-appuniversum/components/au-card';
|
|
22
21
|
import AuHeading from '@appuniversum/ember-appuniversum/components/au-heading';
|
|
23
22
|
import AuLabel from '@appuniversum/ember-appuniversum/components/au-label';
|
|
@@ -26,6 +25,7 @@ import AuButton from '@appuniversum/ember-appuniversum/components/au-button';
|
|
|
26
25
|
import { AlertTriangleIcon } from '@appuniversum/ember-appuniversum/components/icons/alert-triangle';
|
|
27
26
|
import AuAlert from '@appuniversum/ember-appuniversum/components/au-alert';
|
|
28
27
|
import { tracked } from '@glimmer/tracking';
|
|
28
|
+
import { CodelistAttrs } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/variable-plugin/variables';
|
|
29
29
|
|
|
30
30
|
export type CodelistEditOptions = {
|
|
31
31
|
endpoint: string;
|
|
@@ -68,10 +68,17 @@ export default class CodelistEditComponent extends Component<Sig> {
|
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
get
|
|
71
|
+
get codelistAttrs() {
|
|
72
72
|
if (this.selectedCodelist) {
|
|
73
73
|
const { node } = this.selectedCodelist;
|
|
74
|
-
|
|
74
|
+
return node.attrs as CodelistAttrs;
|
|
75
|
+
}
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
get source() {
|
|
80
|
+
if (this.codelistAttrs) {
|
|
81
|
+
const source = this.codelistAttrs['source'];
|
|
75
82
|
if (source && source !== 'UNKNOWN') {
|
|
76
83
|
return source;
|
|
77
84
|
}
|
|
@@ -80,9 +87,8 @@ export default class CodelistEditComponent extends Component<Sig> {
|
|
|
80
87
|
}
|
|
81
88
|
|
|
82
89
|
get codelistUri() {
|
|
83
|
-
if (this.
|
|
84
|
-
const
|
|
85
|
-
const codelistUri = node.attrs['codelist'] as Option<string>;
|
|
90
|
+
if (this.codelistAttrs) {
|
|
91
|
+
const codelistUri = this.codelistAttrs['codelist'];
|
|
86
92
|
if (codelistUri) {
|
|
87
93
|
return codelistUri;
|
|
88
94
|
}
|
|
@@ -95,7 +101,7 @@ export default class CodelistEditComponent extends Component<Sig> {
|
|
|
95
101
|
}
|
|
96
102
|
|
|
97
103
|
get label() {
|
|
98
|
-
return this.
|
|
104
|
+
return this.codelistAttrs?.label;
|
|
99
105
|
}
|
|
100
106
|
|
|
101
107
|
get schema() {
|
|
@@ -104,6 +110,12 @@ export default class CodelistEditComponent extends Component<Sig> {
|
|
|
104
110
|
|
|
105
111
|
codelistOptions = trackedFunction(this, async () => {
|
|
106
112
|
let result: CodeListOptions | undefined;
|
|
113
|
+
if (this.codelistAttrs?.hardcodedOptionList) {
|
|
114
|
+
return {
|
|
115
|
+
type: '',
|
|
116
|
+
options: this.codelistAttrs.hardcodedOptionList,
|
|
117
|
+
} as CodeListOptions;
|
|
118
|
+
}
|
|
107
119
|
if (this.source && this.codelistUri) {
|
|
108
120
|
result = await fetchCodeListOptions(this.source, this.codelistUri);
|
|
109
121
|
}
|
|
@@ -138,8 +150,7 @@ export default class CodelistEditComponent extends Component<Sig> {
|
|
|
138
150
|
});
|
|
139
151
|
|
|
140
152
|
get multiSelect() {
|
|
141
|
-
const localStyle = this.
|
|
142
|
-
.selectionStyle as string;
|
|
153
|
+
const localStyle = this.codelistAttrs?.selectionStyle;
|
|
143
154
|
if (localStyle) {
|
|
144
155
|
return localStyle === 'multi';
|
|
145
156
|
} else
|
|
@@ -24,10 +24,13 @@ export type CodelistInsertOptions = {
|
|
|
24
24
|
endpoint: string;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
type
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
type Sig = {
|
|
28
|
+
Args: {
|
|
29
|
+
controller: SayController;
|
|
30
|
+
options: CodelistInsertOptions;
|
|
31
|
+
templateMode?: boolean;
|
|
32
|
+
fixedCodelist?: CodeList;
|
|
33
|
+
};
|
|
31
34
|
};
|
|
32
35
|
|
|
33
36
|
interface SelectStyle {
|
|
@@ -35,12 +38,16 @@ interface SelectStyle {
|
|
|
35
38
|
value: 'single' | 'multi';
|
|
36
39
|
}
|
|
37
40
|
|
|
38
|
-
export default class CodelistInsertComponent extends Component<
|
|
41
|
+
export default class CodelistInsertComponent extends Component<Sig> {
|
|
39
42
|
@service declare intl: IntlService;
|
|
40
43
|
@tracked selectedCodelist?: CodeList;
|
|
41
44
|
@tracked label: string = '';
|
|
42
45
|
@tracked selectedStyleValue: 'single' | 'multi' = 'single';
|
|
43
46
|
|
|
47
|
+
get codelistToInsert() {
|
|
48
|
+
return this.args.fixedCodelist ?? this.selectedCodelist;
|
|
49
|
+
}
|
|
50
|
+
|
|
44
51
|
get controller() {
|
|
45
52
|
return this.args.controller;
|
|
46
53
|
}
|
|
@@ -90,13 +97,13 @@ export default class CodelistInsertComponent extends Component<Args> {
|
|
|
90
97
|
|
|
91
98
|
@action
|
|
92
99
|
insert() {
|
|
93
|
-
const codelistResource = this.
|
|
100
|
+
const codelistResource = this.codelistToInsert?.uri;
|
|
94
101
|
if (!codelistResource) {
|
|
95
102
|
return;
|
|
96
103
|
}
|
|
97
104
|
const label =
|
|
98
105
|
this.label ??
|
|
99
|
-
this.
|
|
106
|
+
this.codelistToInsert?.label ??
|
|
100
107
|
this.intl.t('variable.codelist.label', {
|
|
101
108
|
locale: this.documentLanguage,
|
|
102
109
|
});
|
|
@@ -127,17 +134,19 @@ export default class CodelistInsertComponent extends Component<Args> {
|
|
|
127
134
|
|
|
128
135
|
<template>
|
|
129
136
|
{{#if this.codelistData.value}}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
{{#unless @fixedCodelist}}
|
|
138
|
+
<PowerSelect
|
|
139
|
+
@allowClear={{false}}
|
|
140
|
+
@searchEnabled={{true}}
|
|
141
|
+
@searchField='label'
|
|
142
|
+
@options={{this.codelistData.value}}
|
|
143
|
+
@selected={{this.selectedCodelist}}
|
|
144
|
+
@onChange={{this.selectCodelist}}
|
|
145
|
+
as |codelist|
|
|
146
|
+
>
|
|
147
|
+
{{codelist.label}}
|
|
148
|
+
</PowerSelect>
|
|
149
|
+
{{/unless}}
|
|
141
150
|
<PowerSelect
|
|
142
151
|
@allowClear={{false}}
|
|
143
152
|
@searchEnabled={{false}}
|
|
@@ -153,7 +162,7 @@ export default class CodelistInsertComponent extends Component<Args> {
|
|
|
153
162
|
</AuFormRow>
|
|
154
163
|
<AuButton
|
|
155
164
|
{{on 'click' this.insert}}
|
|
156
|
-
@disabled={{not this.
|
|
165
|
+
@disabled={{not this.codelistToInsert}}
|
|
157
166
|
>
|
|
158
167
|
{{t 'variable-plugin.button'}}
|
|
159
168
|
</AuButton>
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import { action } from '@ember/object';
|
|
3
3
|
import { service } from '@ember/service';
|
|
4
|
+
import { on } from '@ember/modifier';
|
|
4
5
|
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
5
6
|
import IntlService from 'ember-intl/services/intl';
|
|
7
|
+
import t from 'ember-intl/helpers/t';
|
|
6
8
|
import { replaceSelectionWithAndSelectNode } from '@lblod/ember-rdfa-editor-lblod-plugins/commands';
|
|
7
9
|
import { AddIcon } from '@appuniversum/ember-appuniversum/components/icons/add';
|
|
8
10
|
import { createDateVariable } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/variable-plugin/actions/create-date-variable';
|
|
11
|
+
import AuButton from '@appuniversum/ember-appuniversum/components/au-button';
|
|
9
12
|
|
|
10
|
-
type
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
type Sig = {
|
|
14
|
+
Args: {
|
|
15
|
+
controller: SayController;
|
|
16
|
+
templateMode?: boolean;
|
|
17
|
+
};
|
|
13
18
|
};
|
|
14
19
|
|
|
15
|
-
export default class DateInsertComponent extends Component<
|
|
16
|
-
AddIcon = AddIcon;
|
|
17
|
-
|
|
20
|
+
export default class DateInsertComponent extends Component<Sig> {
|
|
18
21
|
@service declare intl: IntlService;
|
|
19
22
|
|
|
20
23
|
get controller() {
|
|
@@ -44,4 +47,17 @@ export default class DateInsertComponent extends Component<Args> {
|
|
|
44
47
|
view: this.controller.mainEditorView,
|
|
45
48
|
});
|
|
46
49
|
}
|
|
50
|
+
|
|
51
|
+
<template>
|
|
52
|
+
<li class='au-c-list__item'>
|
|
53
|
+
<AuButton
|
|
54
|
+
@icon={{AddIcon}}
|
|
55
|
+
@iconAlignment='left'
|
|
56
|
+
@skin='link'
|
|
57
|
+
{{on 'click' this.insert}}
|
|
58
|
+
>
|
|
59
|
+
{{t 'date-plugin.insert.date'}}
|
|
60
|
+
</AuButton>
|
|
61
|
+
</li>
|
|
62
|
+
</template>
|
|
47
63
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { action } from '@ember/object';
|
|
3
|
+
import { service } from '@ember/service';
|
|
4
|
+
import { on } from '@ember/modifier';
|
|
5
|
+
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
6
|
+
import IntlService from 'ember-intl/services/intl';
|
|
7
|
+
import t from 'ember-intl/helpers/t';
|
|
8
|
+
import { AddIcon } from '@appuniversum/ember-appuniversum/components/icons/add';
|
|
9
|
+
import AuButton from '@appuniversum/ember-appuniversum/components/au-button';
|
|
10
|
+
import { replaceSelectionWithAndSelectNode } from '@lblod/ember-rdfa-editor-lblod-plugins/commands';
|
|
11
|
+
import { createCodelistVariable } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/variable-plugin/actions/create-codelist-variable';
|
|
12
|
+
import { hardcodedMarcodeList } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/variable-plugin/variables/marcode';
|
|
13
|
+
|
|
14
|
+
type Sig = {
|
|
15
|
+
Args: {
|
|
16
|
+
controller: SayController;
|
|
17
|
+
templateMode?: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default class MarcodeInsertComponent extends Component<Sig> {
|
|
22
|
+
@service declare intl: IntlService;
|
|
23
|
+
|
|
24
|
+
get controller() {
|
|
25
|
+
return this.args.controller;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
get schema() {
|
|
29
|
+
return this.controller.schema;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
get documentLanguage() {
|
|
33
|
+
return this.controller.documentLanguage;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@action
|
|
37
|
+
insert() {
|
|
38
|
+
const defaultLabel = this.intl.t('variable.marcode.label', {
|
|
39
|
+
locale: this.documentLanguage,
|
|
40
|
+
});
|
|
41
|
+
const label = defaultLabel;
|
|
42
|
+
|
|
43
|
+
const node = createCodelistVariable({
|
|
44
|
+
schema: this.schema,
|
|
45
|
+
// It's not clear if this should always be single, or whether we need to add a way to set it
|
|
46
|
+
selectionStyle: 'single',
|
|
47
|
+
codelist: 'http://example.org/this/doesnt/exist/yet',
|
|
48
|
+
source: 'https://data.lblod.info/sparql',
|
|
49
|
+
// This list is huge, but this hack also seems to be temporary... Maybe we should keep the
|
|
50
|
+
// list in code instead of in the doc?
|
|
51
|
+
hardcodedOptionList: hardcodedMarcodeList,
|
|
52
|
+
label,
|
|
53
|
+
});
|
|
54
|
+
this.controller.doCommand(replaceSelectionWithAndSelectNode(node), {
|
|
55
|
+
view: this.controller.mainEditorView,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
<template>
|
|
60
|
+
<li class='au-c-list__item'>
|
|
61
|
+
<AuButton
|
|
62
|
+
@icon={{AddIcon}}
|
|
63
|
+
@iconAlignment='left'
|
|
64
|
+
@skin='link'
|
|
65
|
+
{{on 'click' this.insert}}
|
|
66
|
+
>
|
|
67
|
+
{{t 'variable.marcode.insert'}}
|
|
68
|
+
</AuButton>
|
|
69
|
+
</li>
|
|
70
|
+
</template>
|
|
71
|
+
}
|
|
@@ -4,10 +4,14 @@ import {
|
|
|
4
4
|
type MobilityMeasureConcept,
|
|
5
5
|
MobilityMeasureConceptSchema,
|
|
6
6
|
} from './mobility-measure-concept';
|
|
7
|
+
import { TrafficSignalConceptSchema } from './traffic-signal-concept';
|
|
7
8
|
|
|
8
9
|
export const MobilityMeasureDesignSchema = z.object({
|
|
9
10
|
uri: z.string(),
|
|
10
|
-
trafficSignals: z.
|
|
11
|
+
trafficSignals: z.union([
|
|
12
|
+
z.array(TrafficSignalSchema),
|
|
13
|
+
z.array(TrafficSignalConceptSchema),
|
|
14
|
+
]),
|
|
11
15
|
measureConcept: MobilityMeasureConceptSchema,
|
|
12
16
|
});
|
|
13
17
|
|
|
@@ -12,6 +12,8 @@ import {
|
|
|
12
12
|
OutgoingTriple,
|
|
13
13
|
} from '@lblod/ember-rdfa-editor/core/rdfa-processor';
|
|
14
14
|
import { sayDataFactory } from '@lblod/ember-rdfa-editor/core/say-data-factory';
|
|
15
|
+
import { CodelistAttrs } from '../variables';
|
|
16
|
+
import { CodeListOption } from '../utils/fetch-data';
|
|
15
17
|
|
|
16
18
|
type CreateCodelistVariableArgs = {
|
|
17
19
|
schema: Schema;
|
|
@@ -39,6 +41,7 @@ type CreateCodelistVariableAttrsArgs = {
|
|
|
39
41
|
label?: string;
|
|
40
42
|
source: string;
|
|
41
43
|
codelist: string;
|
|
44
|
+
hardcodedOptionList?: CodeListOption[];
|
|
42
45
|
} & AllOrNone<{ variable: string; variableInstance: string }>;
|
|
43
46
|
|
|
44
47
|
export function createCodelistVariableAttrs({
|
|
@@ -48,6 +51,7 @@ export function createCodelistVariableAttrs({
|
|
|
48
51
|
codelist,
|
|
49
52
|
variable,
|
|
50
53
|
variableInstance,
|
|
54
|
+
hardcodedOptionList,
|
|
51
55
|
}: CreateCodelistVariableAttrsArgs) {
|
|
52
56
|
const externalTriples: FullTriple[] = [];
|
|
53
57
|
if (variable) {
|
|
@@ -79,7 +83,8 @@ export function createCodelistVariableAttrs({
|
|
|
79
83
|
label,
|
|
80
84
|
variable,
|
|
81
85
|
variableInstance,
|
|
82
|
-
|
|
86
|
+
hardcodedOptionList,
|
|
87
|
+
} as CodelistAttrs;
|
|
83
88
|
}
|
|
84
89
|
|
|
85
90
|
type CreateCodelistOptionNodeArgs = {
|
|
@@ -22,7 +22,22 @@ import { recreateVariableUris } from '../utils/recreate-variable-uris';
|
|
|
22
22
|
import getClassnamesFromNode from '@lblod/ember-rdfa-editor/utils/get-classnames-from-node';
|
|
23
23
|
import SayNodeSpec from '@lblod/ember-rdfa-editor/core/say-node-spec';
|
|
24
24
|
import CodelistNodeviewComponent from '@lblod/ember-rdfa-editor-lblod-plugins/components/variable-plugin/codelist/nodeview';
|
|
25
|
-
import {
|
|
25
|
+
import {
|
|
26
|
+
Option,
|
|
27
|
+
unwrap,
|
|
28
|
+
} from '@lblod/ember-rdfa-editor-lblod-plugins/utils/option';
|
|
29
|
+
import { jsonParse } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/strings';
|
|
30
|
+
import { CodeListOption } from '../utils/fetch-data';
|
|
31
|
+
|
|
32
|
+
export type CodelistAttrs = {
|
|
33
|
+
label: Option<string>;
|
|
34
|
+
source: Option<string>;
|
|
35
|
+
codelist: Option<string>;
|
|
36
|
+
variable: Option<string>;
|
|
37
|
+
variableInstance: Option<string>;
|
|
38
|
+
selectionStyle: Option<string>;
|
|
39
|
+
hardcodedOptionList: Option<CodeListOption[]>;
|
|
40
|
+
};
|
|
26
41
|
|
|
27
42
|
const rdfaAware = true;
|
|
28
43
|
|
|
@@ -45,6 +60,9 @@ const parseDOM: TagParseRule[] = [
|
|
|
45
60
|
const variable = node.dataset.variable;
|
|
46
61
|
const variableInstance = node.dataset.variableInstance;
|
|
47
62
|
const selectionStyle = node.dataset.selectionStyle;
|
|
63
|
+
const hardcodedOptionList = jsonParse(
|
|
64
|
+
node.dataset.optionList,
|
|
65
|
+
) as Option<CodeListOption[]>;
|
|
48
66
|
return {
|
|
49
67
|
...attrs,
|
|
50
68
|
label,
|
|
@@ -53,7 +71,8 @@ const parseDOM: TagParseRule[] = [
|
|
|
53
71
|
selectionStyle,
|
|
54
72
|
variable,
|
|
55
73
|
variableInstance,
|
|
56
|
-
|
|
74
|
+
hardcodedOptionList,
|
|
75
|
+
} satisfies CodelistAttrs;
|
|
57
76
|
}
|
|
58
77
|
return false;
|
|
59
78
|
},
|
|
@@ -92,6 +111,7 @@ const toDOM = (node: PNode): DOMOutputSpec => {
|
|
|
92
111
|
selectionStyle,
|
|
93
112
|
variable,
|
|
94
113
|
variableInstance,
|
|
114
|
+
hardcodedOptionList,
|
|
95
115
|
} = node.attrs;
|
|
96
116
|
const className = humanReadableContent ? '' : ' say-variable';
|
|
97
117
|
const codelist_option_nodes = node.content.content;
|
|
@@ -119,6 +139,7 @@ const toDOM = (node: PNode): DOMOutputSpec => {
|
|
|
119
139
|
'data-selection-style': selectionStyle as string,
|
|
120
140
|
'data-variable': variable as string,
|
|
121
141
|
'data-variable-instance': variableInstance as string,
|
|
142
|
+
'data-option-list': JSON.stringify(hardcodedOptionList),
|
|
122
143
|
},
|
|
123
144
|
contentArray: contentArray.length ? contentArray : [label],
|
|
124
145
|
});
|
|
@@ -152,6 +173,9 @@ const emberNodeConfig: EmberNodeConfig = {
|
|
|
152
173
|
variableInstance: {
|
|
153
174
|
default: null,
|
|
154
175
|
},
|
|
176
|
+
hardcodedOptionList: {
|
|
177
|
+
default: null,
|
|
178
|
+
},
|
|
155
179
|
},
|
|
156
180
|
classNames: ['say-codelist-variable'],
|
|
157
181
|
toDOM,
|
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
// Values taken from loket QA, sorted in schema:position order
|
|
2
|
+
export const hardcodedMarcodeList = [
|
|
3
|
+
{
|
|
4
|
+
uri: 'http://data.lblod.info/Nomenclature/0ce2d45f1bb5414e7cd4d9de7929097e7278260434ded0b16d336bb407e9f0ec',
|
|
5
|
+
label: 'MAR7300 - Opcentiemen op de onroerenden voorheffing',
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
uri: 'http://data.lblod.info/Nomenclature/62ff89f6f239ffa0d5db180dec394c10169ae137fdbe75eb889e5cb71d7222b3',
|
|
9
|
+
label: 'MAR7301 - Aanvullende belasting op de personenbelasting',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
uri: 'http://data.lblod.info/Nomenclature/1dc3fc4d982b24edad4be43d239ff7a075fc897fdbe23d7bd41e8962880b88f0',
|
|
13
|
+
label: 'MAR7302 - Motorrijtuigen',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
uri: 'http://data.lblod.info/Nomenclature/6f7c2412a03ba54a8fb323dac20161d705e1622113b794aefdd74c7c2463db2a',
|
|
17
|
+
label: 'MAR7303 - Gewestelijke milieuheffing',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
uri: 'http://data.lblod.info/Nomenclature/6c8132fc24e1be8b0134380e308eef3adb1357f0fb8bbfa62eea8197916580fd',
|
|
21
|
+
label: 'MAR7304 - Gewestbelasting op verwaarlozing woningen en gebouwen',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
uri: 'http://data.lblod.info/Nomenclature/6c8132fc24e1be8b0134380e308eef3adb1357f0fb8bbfa62eea8197916580fd',
|
|
25
|
+
label:
|
|
26
|
+
'MAR7304 - Gewestelijke belasting op ongeschikt en onbewoonbare woningen',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
uri: 'http://data.lblod.info/Nomenclature/06d669bb64d3959b0e515751a63a73cd2c4371686f7562111ab2e988141f9ea8',
|
|
30
|
+
label:
|
|
31
|
+
'MAR7305 - Gewestbelasting op leegstand en verwaarlozing bedrijfsruimten',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
uri: 'http://data.lblod.info/Nomenclature/a759a8946d9519df281fd1e26f688fef1b661329975b6dfa8d16e04c3530bf48',
|
|
35
|
+
label: 'MAR7309 - Andere aanvullende belastingen',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
uri: 'http://data.lblod.info/Nomenclature/d2fa90744b4ef7874b2620f2041c796b08ea13b6107ada254c999495efa373c3',
|
|
39
|
+
label: 'MAR7310 - Aansluiting riolering',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
uri: 'http://data.lblod.info/Nomenclature/9ce4b0d51b13dcd64af0fe8dad038fc2443f1ec0f9a3b98fd2d121fefc550ee6',
|
|
43
|
+
label: 'MAR7311 - Aansluiting waterleiding',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
uri: 'http://data.lblod.info/Nomenclature/bb70a14393e443217f655e3cec2410c1edf712d7e4d8524f6ada91c08c8e6902',
|
|
47
|
+
label: 'MAR7312 - Vervoer van personen die overlast veroorzaken',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
uri: 'http://data.lblod.info/Nomenclature/941ad679c2171db86e3ac8bbff34ada2551b04e5a2fd235e1cd9627834e17065',
|
|
51
|
+
label: 'MAR7313 - Valse alarmmeldingen',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
uri: 'http://data.lblod.info/Nomenclature/9dbc65ced8556dc520c659a1209fca769b70d2546121cc602e21d622d7ff7c55',
|
|
55
|
+
label: 'MAR7314 - weghalen/bewaren in beslag genomen voertuigen',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
uri: 'http://data.lblod.info/Nomenclature/f119eb770124dfa23ce537f6b18ea081a7dc3e91990e3f4e77e277d1e2869430',
|
|
59
|
+
label:
|
|
60
|
+
'MAR7315 - Afgifte identiteitsbewijzen/paspoorten/trouwboekjes/uittreksels',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
uri: 'http://data.lblod.info/Nomenclature/3ed0d5fcb47be47b6dfd3e93edebc6b5bc972e53d2428585796e62999fbffb0d',
|
|
64
|
+
label: 'MAR7316 - Aanvragen stedenbouwkundige vergunningen',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
uri: 'http://data.lblod.info/Nomenclature/736a0c6c232616be462ec781482472f67d91b99ef70612e5d6d4cc2054dcb274',
|
|
68
|
+
label: 'MAR7317 - Aanvragen/melden hinderlijke inrichtingen',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
uri: 'http://data.lblod.info/Nomenclature/c9e82ccaffec24dd2780820b27d22df409c543a02322f7876a219f75650c4650',
|
|
72
|
+
label: 'MAR7318 - Andere belastingen op afgifte administratieve stukken',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
uri: 'http://data.lblod.info/Nomenclature/7e824673345c0b722e24c08d47c59c332efceaff58b5ee5ed9e15c3dc103f19f',
|
|
76
|
+
label: 'MAR7319 - Andere belastingen op prestaties',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
uri: 'http://data.lblod.info/Nomenclature/fe429e6963e9b190a7da23a42cb4978dcfa3fdfb372a79630e7f572924f3bae8',
|
|
80
|
+
label: 'MAR7320 - Verwerving zate',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
uri: 'http://data.lblod.info/Nomenclature/dc1b878c8e1b2f01dc5827c5570521b891992220f40e702617e92bead8998936',
|
|
84
|
+
label: 'MAR7321 - Leggen straten',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
uri: 'http://data.lblod.info/Nomenclature/566f45955e53e08fc19fc8149452c0494055b6a2210bfad74457a28ae194376c',
|
|
88
|
+
label: 'MAR7322 - Leggen riolen',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
uri: 'http://data.lblod.info/Nomenclature/9af59348a86a564b65c0fb8decdb8b2d829209542b7b972d58df3306a41808ab',
|
|
92
|
+
label: 'MAR7323 - Leggen trottoirs',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
uri: 'http://data.lblod.info/Nomenclature/ebe1b6fce153a34130c6c4724e090af434251461f4024de128f0a90df7f7391f',
|
|
96
|
+
label: 'MAR7324 - Leggen inritten in trottoirs',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
uri: 'http://data.lblod.info/Nomenclature/1496012f002e35ad9fc283fd6575999943f68730aaa1dca935b53669018034d4',
|
|
100
|
+
label: 'MAR7325 - Leggen waterleiding',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
uri: 'http://data.lblod.info/Nomenclature/cbf951e77860ae233a403da770675162f8db08f33a582e47e9035077fa91d991',
|
|
104
|
+
label: 'MAR7326 - Urbanisatiebelasting',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
uri: 'http://data.lblod.info/Nomenclature/9d3758e76f3e8019091656d049eca3022150b71589c64f072dfc5e56e470df81',
|
|
108
|
+
label: 'MAR7329 - Andere verhaalbelastingen',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
uri: 'http://data.lblod.info/Nomenclature/b8527cf765baf12c6f8eb2aec91b63cea98f769ecdd77e05785f30a5cf3d4be9',
|
|
112
|
+
label: 'MAR73300 - Onderhoud rioolnet',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
uri: 'http://data.lblod.info/Nomenclature/c88fa16f18847977f9246def70019f4fa25799fd44b4a77ee093eb25df578964',
|
|
116
|
+
label: 'MAR73301 - Op rioolnet aangesloten en aansluitbare gebouwen',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
uri: 'http://data.lblod.info/Nomenclature/13f2a1b41ea358a4ae937c936ce123fc007d4860749ef8111f7fc84e6c067fdc',
|
|
120
|
+
label:
|
|
121
|
+
'MAR73302 - Op waterleidingsnet aangesloten en aansluitbare gebouwen',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
uri: 'http://data.lblod.info/Nomenclature/96a5eea83ecfedf80b1148cc454ce74b666e51c8440e9f59b910b4242f9c4d1c',
|
|
125
|
+
label: 'MAR73303 - Ruiming aalputten',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
uri: 'http://data.lblod.info/Nomenclature/7b75d533427b8035b423796058bc4a1282a737358aa4081241d018251444cf6c',
|
|
129
|
+
label: 'MAR73304 - Afkoppelen hemelwater',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
uri: 'http://data.lblod.info/Nomenclature/97fa07cb0e54048da3b9c20c41e3fd8f06a73f45fbdda2bc39c55c80484934aa',
|
|
133
|
+
label: 'MAR73310 - Verblijf lijkenhuis',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
uri: 'http://data.lblod.info/Nomenclature/0813826b18cc89b41b4c5a6c125f84f7d23d62c60067b473eaf3dcb611fdae9f',
|
|
137
|
+
label: 'MAR73311 - Begraving/bijzetting/verstrooiing/concessies',
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
uri: 'http://data.lblod.info/Nomenclature/c7de5c071fc04f75cdcf8e625fd77f0c8123e9407da28d66b3c839806198addc',
|
|
141
|
+
label: 'MAR73312 - Lijkenvervoer',
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
uri: 'http://data.lblod.info/Nomenclature/7321647bd8c60c84a14d935d17ec62c4f5f5f9b32cd662bb05e8c85cb5a42aa5',
|
|
145
|
+
label: 'MAR73313 - Graftekens',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
uri: 'http://data.lblod.info/Nomenclature/f085cbc34d21c44f0548f32cdc139b0f40640271a341ebc3b83389aedb549af8',
|
|
149
|
+
label: 'MAR73314 - Ontgraving',
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
uri: 'http://data.lblod.info/Nomenclature/eaa9582e180ff03b5d0d3e2c73ee54ba7f56ca2bb0f065163b1bbcbe81fab69a',
|
|
153
|
+
label: 'MAR73320 - Jaarlijkse huisvuilbelasting',
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
uri: 'http://data.lblod.info/Nomenclature/b0aa7e11000ec4cd8201a724749b49075dc8571dae66fa2fcd8e80de4914963b',
|
|
157
|
+
label: 'MAR73321 - Jaarlijkse milieubelasting',
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
uri: 'http://data.lblod.info/Nomenclature/e82e6239fbd81ee900b6a115152e547b71ca6e809e2f22ab57a6567509940460',
|
|
161
|
+
label: 'MAR73322 - Diftar/ophaalronde',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
uri: 'http://data.lblod.info/Nomenclature/48ce0e7030f0c74f284c0bd8658235f8a6efd3e785cbbd00f5d341baa5fd2578',
|
|
165
|
+
label: 'MAR73323 - Afgifte zakken, klevers, recipiënten',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
uri: 'http://data.lblod.info/Nomenclature/87a1c8189411abc50cc309b21e72b880c588106661353d195d39bda17038f24b',
|
|
169
|
+
label: 'MAR73324 - Gebruik gemeentelijke containers',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
uri: 'http://data.lblod.info/Nomenclature/2934757edaf045d715a02642637c844dfe9b1e0ada61a946b40863876f2dfc87',
|
|
173
|
+
label: 'MAR73325 - Toegang containerpark',
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
uri: 'http://data.lblod.info/Nomenclature/a52f9dfcccd223088a1178e59878def462e3e83bd7d7533dc8a59d6cd08c1558',
|
|
177
|
+
label: 'MAR73326 - Grof vuil',
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
uri: 'http://data.lblod.info/Nomenclature/904a98bf5ce6143f9fec0422570fea91dcade7b8ad8d3a13282d6d9f3ff32e4e',
|
|
181
|
+
label: 'MAR73327 - Bedrijfsvuil/nijverheidsvuil',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
uri: 'http://data.lblod.info/Nomenclature/72c1b72733a998444d00f4375a28d97f078ca03da53ac37a2c6ca720391ba440',
|
|
185
|
+
label: 'MAR73328 - Sluikstorten',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
uri: 'http://data.lblod.info/Nomenclature/954ece1906d4d2be22f59d542d17fdcf98445334cff7e1a4fdd8138cf89d9730',
|
|
189
|
+
label: 'MAR73329 - Reinigen openbare weg',
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
uri: 'http://data.lblod.info/Nomenclature/5575cfc4d90826b9b5c7ef066bfcc478b1fba7b135318b2bf0404e619cff5e62',
|
|
193
|
+
label: 'MAR73400 - Algemene bedrijfsbelasting',
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
uri: 'http://data.lblod.info/Nomenclature/254023ed65d00f06960e4151876af9aed7fb2e24db5474ea1e329e9c30aea867',
|
|
197
|
+
label: 'MAR73401 - Exploitatie hinderlijke inrichtingen',
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
uri: 'http://data.lblod.info/Nomenclature/118fdc122b135b1d7539dfd5a09a91c10059e90cad5dfaaf0f7c894f19c533ad',
|
|
201
|
+
label: 'MAR73402 - Drijfkracht',
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
uri: 'http://data.lblod.info/Nomenclature/486c2771a2492b2d792eb4eb7cc072348396011690d6099ecfa43136bf7a3f84',
|
|
205
|
+
label: 'MAR73403 - Groeven: zand, kiezel, klei',
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
uri: 'http://data.lblod.info/Nomenclature/c9fc255f03991db19bb7b3ea73ef0fd1bbc5361a38f01d28f94e3f0a3f3f7aee',
|
|
209
|
+
label: 'MAR73404 - Steenbakkerijen',
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
uri: 'http://data.lblod.info/Nomenclature/0909992ebec48fde5057ceecaff8da15a1049846fb9aa164b0daedfca0362a1f',
|
|
213
|
+
label: 'MAR73405 - Tabakslijterijen',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
uri: 'http://data.lblod.info/Nomenclature/dcd28f2a81141699d2453b8a12f72dcd7312a0479d92256f5933bd17e396c611',
|
|
217
|
+
label: 'MAR73406 - Drankslijterijen',
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
uri: 'http://data.lblod.info/Nomenclature/2b34ffe3ef546f681461313871e0d553ad48d88380c5285fa2c84756f43cea8b',
|
|
221
|
+
label: 'MAR73407 - Openblijven drankgelegenheden na het sluitingsuur',
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
uri: 'http://data.lblod.info/Nomenclature/50f3ca3e3b7219fd42b18efa62681cc729f6f2443c77d6dd58b7f32233013c89',
|
|
225
|
+
label: 'MAR73408 - Nachtwinkels en phoneshops',
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
uri: 'http://data.lblod.info/Nomenclature/8fbb38bb207764d0546111d67591acc75cb2f5882ce1516068b5154f5c444999',
|
|
229
|
+
label: 'MAR73409 - Barpersoneel',
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
uri: 'http://data.lblod.info/Nomenclature/9f7aa4658b41399ffec917d08bcafa9edb392d51f2eadd0271cc6271e15dcf9c',
|
|
233
|
+
label: 'MAR73410 - Privé-clubs',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
uri: 'http://data.lblod.info/Nomenclature/e56af81f079a636a90faab4cb86310c71741876e1da5a09befd4df84a999ab07',
|
|
237
|
+
label: 'MAR73411 - Banken en financieringsinstellingen',
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
uri: 'http://data.lblod.info/Nomenclature/ed2a5d8e9d0d6fd2b8f4f03709e67f237e786fbff6471be27d22a068349c0893',
|
|
241
|
+
label: 'MAR73412 - Wedkantoren',
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
uri: 'http://data.lblod.info/Nomenclature/143b254279d87336c55773fdbdd514405f184c48b4ad6caa07bf1a830c29ca9c',
|
|
245
|
+
label: 'MAR73413 - Leurhandel',
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
uri: 'http://data.lblod.info/Nomenclature/c7f269f948fdc0392fe11933323547aab31698e77ead56b8e8435caf4534b19b',
|
|
249
|
+
label: 'MAR73414 - Taxidiensten',
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
uri: 'http://data.lblod.info/Nomenclature/fbcc10c4d3d7db592c201fd3c63acb8611fe0109cf57f5dc60395efa88b6f055',
|
|
253
|
+
label: 'MAR73415 - Diensten verhuur voertuigen met bestuurder',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
uri: 'http://data.lblod.info/Nomenclature/6b5c7a1ca8fccc6e17e693ba5ee94a3a389a522f19027feda403d349d07dbda2',
|
|
257
|
+
label: 'MAR73416 - Stortplaatsen',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
uri: 'http://data.lblod.info/Nomenclature/5add1c672d3467a7e46adbc6aab92a92446d6485a2df501dc3083d48849f266a',
|
|
261
|
+
label:
|
|
262
|
+
'MAR73417 - Stapelplaatsen voor schroot / oude achtergelaten voertuigen / materialen',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
uri: 'http://data.lblod.info/Nomenclature/5a59dbb85e9145f14bce9a91bf152378800b376e55774d3deae69c6ea5ced486',
|
|
266
|
+
label: 'MAR73418 - Tanks en vergaarbakken',
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
uri: 'http://data.lblod.info/Nomenclature/66db8d3808fcb817bfcab334ede8e9adb7ed4991f8dc47c94f654fe8cec7ab02',
|
|
270
|
+
label: 'MAR73419 - Verblijfsbelasting',
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
uri: 'http://data.lblod.info/Nomenclature/465d1afa7ae56f05da6928d5c70531e7633464bbfe168a6e99d26767fd72a73b',
|
|
274
|
+
label: 'MAR73420 - Kamers',
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
uri: 'http://data.lblod.info/Nomenclature/09a2155dcc11eeac43e346c4a7ea11fcf62a1d034d526e410464a99a0ea4a8cb',
|
|
278
|
+
label: 'MAR73421 - Kampeerterreinen / kampeerverblijfparken',
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
uri: 'http://data.lblod.info/Nomenclature/3fdd6d8825346138ae1b503b2165e61f966a9d688cfc2ebb10c95b0199184e7b',
|
|
282
|
+
label: 'MAR73422 - Reclameborden',
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
uri: 'http://data.lblod.info/Nomenclature/dd906359deab50dc3fa56f50e0adb8034b26c88cf4a05b88126e600ac1e2dbfe',
|
|
286
|
+
label: 'MAR73423 - Lichtreclames',
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
uri: 'http://data.lblod.info/Nomenclature/a4e4315af979131959055f1de5ea830f1ccb42b1311afb24cf754527de7228ff',
|
|
290
|
+
label: 'MAR73424 - Verspreiding kosteloos reclamedrukwerk',
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
uri: 'http://data.lblod.info/Nomenclature/1061b317c4b7ff4929b143fe6cbd73c0d2ef131545718204785e33b465ae93a7',
|
|
294
|
+
label: 'MAR73425 - Voertuigen met reclame',
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
uri: 'http://data.lblod.info/Nomenclature/1f348305f294804b519f6ead30e5b7725e2f4e192d429d97ca781e982ea183be',
|
|
298
|
+
label: 'MAR73426 - Privé-wegwijzers',
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
uri: 'http://data.lblod.info/Nomenclature/27fe2c466887c5c7152dee96d05b89e82b5ee7567da218ecac4582fdfade2f5b',
|
|
302
|
+
label: 'MAR73499 - Andere bedrijfsbelastingen',
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
uri: 'http://data.lblod.info/Nomenclature/ae714fcb2c954e365d69072b88ce7fb2d71c943a96a5efc84ba8835f891db8c7',
|
|
306
|
+
label: 'MAR7350 - Vermakelijkheden (festivals/evenementen)',
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
uri: 'http://data.lblod.info/Nomenclature/e8ec5c4d6c9323640111632c4f26141dfd63af5e684bf78b8cbb649f6c16e812',
|
|
310
|
+
label: 'MAR7351 - Vertoningen (films)',
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
uri: 'http://data.lblod.info/Nomenclature/29a6cc2eef0299218a1c653457bc9315b06510b6dcdff32681cc33dbf26c5318',
|
|
314
|
+
label: 'MAR7352 - Openbare bals',
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
uri: 'http://data.lblod.info/Nomenclature/84888c3e3def3ba920a383f6cdc660af53095be3b51dbf8b66bef3af446e1b84',
|
|
318
|
+
label: 'MAR73600 - Plaatsrecht markten',
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
uri: 'http://data.lblod.info/Nomenclature/1b96dbbf8dda4f8ec14994eada38f4d90bbafb1fc9f3416b40f81db7070a66e0',
|
|
322
|
+
label: 'MAR73601 - Plaatsrecht kermissen',
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
uri: 'http://data.lblod.info/Nomenclature/376e27fae1cf39fe5f869d63cdbeaf323bec51f814115bc2186666f8cc4c7a8e',
|
|
326
|
+
label: 'MAR73602 - Kaairechten',
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
uri: 'http://data.lblod.info/Nomenclature/a3a281040281251fe14b1fa9ec84d735e64b368f7ad589808f421d5c09b3215c',
|
|
330
|
+
label: 'MAR73603 - Dagbladkiosken, frituurkramen, handelsinrichtingen',
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
uri: 'http://data.lblod.info/Nomenclature/5388f21ef74fc1017f41dc89f4b7bebc1ca5933293ea88a6a547b146476e4dcd',
|
|
334
|
+
label: 'MAR73604 - Strandexploitaties',
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
uri: 'http://data.lblod.info/Nomenclature/11a50b101113244db89c83147ee88cdf762c13c26b37138b0b82afef82458fbd',
|
|
338
|
+
label: 'MAR73605 - Benzine-, olie- en persdrukpompen',
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
uri: 'http://data.lblod.info/Nomenclature/e7b69b2a4e7cd036c5d073857c0ecb6ddcd6f9c52059d112210ab468cec60c44',
|
|
342
|
+
label: 'MAR73606 - Automatische verdelers',
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
uri: 'http://data.lblod.info/Nomenclature/e8de2c28bd4861c26f408b3a44bb6290eca23bec341649b45819fced4d9f3008',
|
|
346
|
+
label: 'MAR73607 - Standplaatsen huurrijtuigen',
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
uri: 'http://data.lblod.info/Nomenclature/4981553f478b5723045989dcf8b585b8d0880dbfb4a17c4d02921e48296c6ecc',
|
|
350
|
+
label: 'MAR73608 - Terrassen, tafels, stoelen',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
uri: 'http://data.lblod.info/Nomenclature/c4b49ab5ca8a9ca56c3536bb96959433d2a9cb94b0f4419f89b04a083fe41265',
|
|
354
|
+
label: 'MAR73609 - Masten en pylonen',
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
uri: 'http://data.lblod.info/Nomenclature/749f38db726ba6fd8ba5fd876035f46cd8275e7bf6af4828f21eb96ecd8af80d',
|
|
358
|
+
label: 'MAR73610 - Andere inname openbaar domein',
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
uri: 'http://data.lblod.info/Nomenclature/d5fe60cef1a852eb589a97fd6ee9a4683751e26300a038dc711e50fef1b86a80',
|
|
362
|
+
label: 'MAR73611 - Parkeren',
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
uri: 'http://data.lblod.info/Nomenclature/d79ef868f94df27e1e495ad4e5c6f89e551b25ae1d932c5fa890b3e36ae4d999',
|
|
366
|
+
label:
|
|
367
|
+
'MAR73699 - Andere belastingen op het gebruik van het openbaar domein',
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
uri: 'http://data.lblod.info/Nomenclature/755d905ed4de9cd83bc56aff5cccfe277e9b6880e48efa4ab3bbc08e3c10ee04',
|
|
371
|
+
label: 'MAR7370 - Bouwen',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
uri: 'http://data.lblod.info/Nomenclature/724c33f37dfd0fdec9b4b7aac4958603bdadcb0d351b0839cb3e92840d572e2f',
|
|
375
|
+
label: 'MAR7371 - Niet-bebouwde gronden',
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
uri: 'http://data.lblod.info/Nomenclature/3a48d98ee5219ba072959e86143ce20cd0d85d88d0c229f43134533c845fe3ad',
|
|
379
|
+
label: 'MAR7372 - Niet-bebouwde percelen',
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
uri: 'http://data.lblod.info/Nomenclature/b99e8290421059f39e3fed46bcf57c274831c4780d6478a5f86554e670d8a34f',
|
|
383
|
+
label: 'MAR7373 - Ontbreken van parkeerplaatsen',
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
uri: 'http://data.lblod.info/Nomenclature/3ac28bce249498d8f0ad8fe5418c917a7952f0c9b78e6a702c41207797aca938',
|
|
387
|
+
label: 'MAR7374 - Leegstaande woningen en gebouwen',
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
uri: 'http://data.lblod.info/Nomenclature/6e11525bf8326666f2697f0ad25bf3d412ccf77c3248fc9068cd5662618d7f93',
|
|
391
|
+
label: 'MAR7375 - Krotten/ verwaarloosde/ongeschikte woningen en gebouwen',
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
uri: 'http://data.lblod.info/Nomenclature/d884752ff3a0a50b59f231a1dea9c9d90e2d8dfb669b33c0e42dfcc4266ee52e',
|
|
395
|
+
label: 'MAR7376 - Leegstand / verkrotting bedrijfsruimten',
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
uri: 'http://data.lblod.info/Nomenclature/54c24494271f70e5932f704499f8c6c46210e52fe0312bda027966a3e3f224bd',
|
|
399
|
+
label: 'MAR7377 - Tweede verblijven',
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
uri: 'http://data.lblod.info/Nomenclature/5b747f28e654ca48c6468d4b6bbb3a0f5a0b62a7a240d16c38f45da27aefaadf',
|
|
403
|
+
label: 'MAR7379 - Andere belastingen op patrimonium',
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
uri: 'http://data.lblod.info/Nomenclature/462d4abd37b532d085bdbdacdf934c8a9f1373d00e2b52d7cb00d3a4f245e482',
|
|
407
|
+
label: 'MAR7380 - Algemene gemeentebelasting',
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
uri: 'http://data.lblod.info/Nomenclature/7f51b8a5ca5b3a037ac009a1391e2c518da1a0c3fb45d84dcd8f1ae69a8873d5',
|
|
411
|
+
label: 'MAR7381 - Luxepaarden',
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
uri: 'http://data.lblod.info/Nomenclature/ebb5170df3f920bf7afcd2d76564a60eabbee9acf0165debfa30e02fd0e80ba0',
|
|
415
|
+
label: 'MAR7382 - Honden',
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
uri: 'http://data.lblod.info/Nomenclature/d4788d47a4112cee5eae05fb6197849b92a6bd53cfca7e4494e87fdac4f3f310',
|
|
419
|
+
label: 'MAR7389 - Overige andere belastingen',
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
uri: 'http://data.lblod.info/Nomenclature/7269692ca95031e8267903419569c1dab117cb25e7acfcf5cb594465f792bbc7',
|
|
423
|
+
label: 'MAR73009 - brandweerprestaties',
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
uri: 'http://data.lblod.info/Nomenclature/45012d229ba88c2f9d083f27673197fe50395a6c5287e1fe2841a0c6e97b8a96',
|
|
427
|
+
label: 'MAR739 - Boetes',
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
uri: 'http://data.lblod.info/Nomenclature/9885befa962042ccb3ecd451b7d9a410d86a508bf005c53b59a2a9a3bb815437',
|
|
431
|
+
label: 'MAR700/7 - retributies',
|
|
432
|
+
},
|
|
433
|
+
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@lblod/ember-rdfa-editor-lblod-plugins/components/variable-plugin/marcode/insert';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
3
3
|
import { CodeListOption, CodeListOptions } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/variable-plugin/utils/fetch-data';
|
|
4
|
+
import { CodelistAttrs } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/variable-plugin/variables';
|
|
4
5
|
export type CodelistEditOptions = {
|
|
5
6
|
endpoint: string;
|
|
6
7
|
};
|
|
@@ -18,10 +19,11 @@ export default class CodelistEditComponent extends Component<Sig> {
|
|
|
18
19
|
node: import("prosemirror-model").Node;
|
|
19
20
|
pos: number;
|
|
20
21
|
} | undefined;
|
|
22
|
+
get codelistAttrs(): CodelistAttrs | undefined;
|
|
21
23
|
get source(): string;
|
|
22
24
|
get codelistUri(): string | undefined;
|
|
23
25
|
get showCard(): boolean;
|
|
24
|
-
get label(): string
|
|
26
|
+
get label(): import("../../../utils/option").Option<string>;
|
|
25
27
|
get schema(): import("prosemirror-model").Schema<any, any>;
|
|
26
28
|
codelistOptions: import("reactiveweb/function").State<Promise<CodeListOptions | undefined>>;
|
|
27
29
|
get multiSelect(): boolean;
|
|
@@ -6,20 +6,24 @@ export type CodelistInsertOptions = {
|
|
|
6
6
|
publisher?: string;
|
|
7
7
|
endpoint: string;
|
|
8
8
|
};
|
|
9
|
-
type
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
type Sig = {
|
|
10
|
+
Args: {
|
|
11
|
+
controller: SayController;
|
|
12
|
+
options: CodelistInsertOptions;
|
|
13
|
+
templateMode?: boolean;
|
|
14
|
+
fixedCodelist?: CodeList;
|
|
15
|
+
};
|
|
13
16
|
};
|
|
14
17
|
interface SelectStyle {
|
|
15
18
|
label: string;
|
|
16
19
|
value: 'single' | 'multi';
|
|
17
20
|
}
|
|
18
|
-
export default class CodelistInsertComponent extends Component<
|
|
21
|
+
export default class CodelistInsertComponent extends Component<Sig> {
|
|
19
22
|
intl: IntlService;
|
|
20
23
|
selectedCodelist?: CodeList;
|
|
21
24
|
label: string;
|
|
22
25
|
selectedStyleValue: 'single' | 'multi';
|
|
26
|
+
get codelistToInsert(): CodeList | undefined;
|
|
23
27
|
get controller(): SayController;
|
|
24
28
|
get documentLanguage(): string;
|
|
25
29
|
get schema(): import("prosemirror-model").Schema<any, any>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
3
3
|
import IntlService from 'ember-intl/services/intl';
|
|
4
|
-
type
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
type Sig = {
|
|
5
|
+
Args: {
|
|
6
|
+
controller: SayController;
|
|
7
|
+
templateMode?: boolean;
|
|
8
|
+
};
|
|
7
9
|
};
|
|
8
|
-
export default class DateInsertComponent extends Component<
|
|
9
|
-
AddIcon: import("@ember/component/template-only").TOC<import("@appuniversum/ember-appuniversum/components/icons/add").AddIconSignature>;
|
|
10
|
+
export default class DateInsertComponent extends Component<Sig> {
|
|
10
11
|
intl: IntlService;
|
|
11
12
|
get controller(): SayController;
|
|
12
13
|
get schema(): import("prosemirror-model").Schema<any, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { SayController } from '@lblod/ember-rdfa-editor';
|
|
3
|
+
import IntlService from 'ember-intl/services/intl';
|
|
4
|
+
type Sig = {
|
|
5
|
+
Args: {
|
|
6
|
+
controller: SayController;
|
|
7
|
+
templateMode?: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default class MarcodeInsertComponent extends Component<Sig> {
|
|
11
|
+
intl: IntlService;
|
|
12
|
+
get controller(): SayController;
|
|
13
|
+
get schema(): import("prosemirror-model").Schema<any, any>;
|
|
14
|
+
get documentLanguage(): string;
|
|
15
|
+
insert(): void;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
package/declarations/addon/plugins/roadsign-regulation-plugin/schemas/mobility-measure-design.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { type MobilityMeasureConcept } from './mobility-measure-concept';
|
|
3
3
|
export declare const MobilityMeasureDesignSchema: z.ZodObject<{
|
|
4
4
|
uri: z.ZodString;
|
|
5
|
-
trafficSignals: z.ZodArray<z.ZodObject<{
|
|
5
|
+
trafficSignals: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
6
6
|
uri: z.ZodString;
|
|
7
7
|
trafficSignalConcept: z.ZodIntersection<z.ZodObject<{
|
|
8
8
|
uri: z.ZodString;
|
|
@@ -87,7 +87,55 @@ export declare const MobilityMeasureDesignSchema: z.ZodObject<{
|
|
|
87
87
|
} | {
|
|
88
88
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept" | "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept";
|
|
89
89
|
});
|
|
90
|
-
}>, "many"
|
|
90
|
+
}>, "many">, z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
91
|
+
uri: z.ZodString;
|
|
92
|
+
code: z.ZodString;
|
|
93
|
+
regulatoryNotation: z.ZodOptional<z.ZodString>;
|
|
94
|
+
image: z.ZodString;
|
|
95
|
+
position: z.ZodDefault<z.ZodNumber>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
code: string;
|
|
98
|
+
image: string;
|
|
99
|
+
uri: string;
|
|
100
|
+
position: number;
|
|
101
|
+
regulatoryNotation?: string | undefined;
|
|
102
|
+
}, {
|
|
103
|
+
code: string;
|
|
104
|
+
image: string;
|
|
105
|
+
uri: string;
|
|
106
|
+
position?: number | undefined;
|
|
107
|
+
regulatoryNotation?: string | undefined;
|
|
108
|
+
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept">;
|
|
110
|
+
categories: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
111
|
+
uri: z.ZodString;
|
|
112
|
+
label: z.ZodString;
|
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
label: string;
|
|
115
|
+
uri: string;
|
|
116
|
+
}, {
|
|
117
|
+
label: string;
|
|
118
|
+
uri: string;
|
|
119
|
+
}>, "many">>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
122
|
+
categories: {
|
|
123
|
+
label: string;
|
|
124
|
+
uri: string;
|
|
125
|
+
}[];
|
|
126
|
+
}, {
|
|
127
|
+
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
128
|
+
categories?: {
|
|
129
|
+
label: string;
|
|
130
|
+
uri: string;
|
|
131
|
+
}[] | undefined;
|
|
132
|
+
}>, z.ZodObject<{
|
|
133
|
+
type: z.ZodEnum<["https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept", "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept"]>;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept" | "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept";
|
|
136
|
+
}, {
|
|
137
|
+
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept" | "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept";
|
|
138
|
+
}>]>>, "many">]>;
|
|
91
139
|
measureConcept: z.ZodObject<{
|
|
92
140
|
uri: z.ZodString;
|
|
93
141
|
label: z.ZodString;
|
|
@@ -214,7 +262,21 @@ export declare const MobilityMeasureDesignSchema: z.ZodObject<{
|
|
|
214
262
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept" | "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept";
|
|
215
263
|
}))[];
|
|
216
264
|
};
|
|
217
|
-
trafficSignals: {
|
|
265
|
+
trafficSignals: ({
|
|
266
|
+
code: string;
|
|
267
|
+
image: string;
|
|
268
|
+
uri: string;
|
|
269
|
+
position: number;
|
|
270
|
+
regulatoryNotation?: string | undefined;
|
|
271
|
+
} & ({
|
|
272
|
+
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
273
|
+
categories: {
|
|
274
|
+
label: string;
|
|
275
|
+
uri: string;
|
|
276
|
+
}[];
|
|
277
|
+
} | {
|
|
278
|
+
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept" | "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept";
|
|
279
|
+
}))[] | {
|
|
218
280
|
uri: string;
|
|
219
281
|
trafficSignalConcept: {
|
|
220
282
|
code: string;
|
|
@@ -256,7 +318,21 @@ export declare const MobilityMeasureDesignSchema: z.ZodObject<{
|
|
|
256
318
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept" | "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept";
|
|
257
319
|
}))[] | undefined;
|
|
258
320
|
};
|
|
259
|
-
trafficSignals: {
|
|
321
|
+
trafficSignals: ({
|
|
322
|
+
code: string;
|
|
323
|
+
image: string;
|
|
324
|
+
uri: string;
|
|
325
|
+
position?: number | undefined;
|
|
326
|
+
regulatoryNotation?: string | undefined;
|
|
327
|
+
} & ({
|
|
328
|
+
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
329
|
+
categories?: {
|
|
330
|
+
label: string;
|
|
331
|
+
uri: string;
|
|
332
|
+
}[] | undefined;
|
|
333
|
+
} | {
|
|
334
|
+
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept" | "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept";
|
|
335
|
+
}))[] | {
|
|
260
336
|
uri: string;
|
|
261
337
|
trafficSignalConcept: {
|
|
262
338
|
code: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Schema } from '@lblod/ember-rdfa-editor';
|
|
2
2
|
import { AllOrNone } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/types';
|
|
3
|
-
import {
|
|
3
|
+
import { CodelistAttrs } from '../variables';
|
|
4
|
+
import { CodeListOption } from '../utils/fetch-data';
|
|
4
5
|
type CreateCodelistVariableArgs = {
|
|
5
6
|
schema: Schema;
|
|
6
7
|
value?: string;
|
|
@@ -12,20 +13,12 @@ type CreateCodelistVariableAttrsArgs = {
|
|
|
12
13
|
label?: string;
|
|
13
14
|
source: string;
|
|
14
15
|
codelist: string;
|
|
16
|
+
hardcodedOptionList?: CodeListOption[];
|
|
15
17
|
} & AllOrNone<{
|
|
16
18
|
variable: string;
|
|
17
19
|
variableInstance: string;
|
|
18
20
|
}>;
|
|
19
|
-
export declare function createCodelistVariableAttrs({ selectionStyle, label, source, codelist, variable, variableInstance, }: CreateCodelistVariableAttrsArgs):
|
|
20
|
-
rdfaNodeType: string;
|
|
21
|
-
externalTriples: FullTriple[];
|
|
22
|
-
selectionStyle: "single" | "multi" | undefined;
|
|
23
|
-
source: string;
|
|
24
|
-
codelist: string;
|
|
25
|
-
label: string | undefined;
|
|
26
|
-
variable: string | undefined;
|
|
27
|
-
variableInstance: string | undefined;
|
|
28
|
-
};
|
|
21
|
+
export declare function createCodelistVariableAttrs({ selectionStyle, label, source, codelist, variable, variableInstance, hardcodedOptionList, }: CreateCodelistVariableAttrsArgs): CodelistAttrs;
|
|
29
22
|
type CreateCodelistOptionNodeArgs = {
|
|
30
23
|
schema: Schema;
|
|
31
24
|
text: string;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import SayNodeSpec from '@lblod/ember-rdfa-editor/core/say-node-spec';
|
|
2
|
+
import { Option } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/option';
|
|
3
|
+
import { CodeListOption } from '../utils/fetch-data';
|
|
4
|
+
export type CodelistAttrs = {
|
|
5
|
+
label: Option<string>;
|
|
6
|
+
source: Option<string>;
|
|
7
|
+
codelist: Option<string>;
|
|
8
|
+
variable: Option<string>;
|
|
9
|
+
variableInstance: Option<string>;
|
|
10
|
+
selectionStyle: Option<string>;
|
|
11
|
+
hardcodedOptionList: Option<CodeListOption[]>;
|
|
12
|
+
};
|
|
2
13
|
export declare const codelist: SayNodeSpec;
|
|
3
14
|
export declare const codelistView: (controller: import("@lblod/ember-rdfa-editor").SayController) => import("@lblod/ember-rdfa-editor/utils/ember-node").SayNodeViewConstructor;
|
|
4
15
|
export declare const codelist_option: SayNodeSpec;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lblod/ember-rdfa-editor-lblod-plugins",
|
|
3
|
-
"version": "34.1.
|
|
3
|
+
"version": "34.1.1-dev.662c97f4ef4a91b7fafef7c52c2fc843477c448a",
|
|
4
4
|
"description": "Ember addon providing lblod specific plugins for the ember-rdfa-editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
package/translations/en-US.yaml
CHANGED
package/translations/nl-BE.yaml
CHANGED