@lblod/ember-rdfa-editor-lblod-plugins 32.7.0 → 32.8.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/CHANGELOG.md +17 -0
- package/addon/plugins/roadsign-regulation-plugin/actions/insert-measure.ts +4 -2
- package/addon/plugins/roadsign-regulation-plugin/constants.ts +3 -3
- package/addon/plugins/roadsign-regulation-plugin/nodes.ts +76 -2
- package/addon/plugins/roadsign-regulation-plugin/queries/road-sign-category.ts +1 -1
- package/addon/plugins/roadsign-regulation-plugin/queries/traffic-signal-concept.ts +5 -0
- package/addon/plugins/roadsign-regulation-plugin/schemas/traffic-signal-concept.ts +1 -0
- package/addon/plugins/structure-plugin/commands/move-structure.ts +6 -19
- package/addon/plugins/structure-plugin/monads/recalculate-structure-numbers.ts +3 -0
- package/addon/plugins/variable-plugin/utils/recreate-variable-uris.ts +0 -5
- package/addon/services/import-rdfa-snippet.ts +1 -5
- package/declarations/addon/components/roadsign-regulation-plugin/roadsigns-modal.d.ts +2 -0
- package/declarations/addon/plugins/roadsign-regulation-plugin/constants.d.ts +6 -6
- package/declarations/addon/plugins/roadsign-regulation-plugin/nodes.d.ts +6 -0
- package/declarations/addon/plugins/roadsign-regulation-plugin/queries/mobility-measure-concept.d.ts +1 -0
- package/declarations/addon/plugins/roadsign-regulation-plugin/queries/traffic-signal-concept.d.ts +2 -0
- package/declarations/addon/plugins/roadsign-regulation-plugin/schemas/mobility-measure-concept.d.ts +5 -0
- package/declarations/addon/plugins/roadsign-regulation-plugin/schemas/traffic-signal-concept.d.ts +3 -0
- package/package.json +2 -2
- package/pnpm-lock.yaml +12 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @lblod/ember-rdfa-editor-lblod-plugins
|
|
2
2
|
|
|
3
|
+
## 32.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#603](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/603) [`8f109f8`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/8f109f8799741e529d627e4fdea03bb6cf47d181) Thanks [@lagartoverde](https://github.com/lagartoverde)! - IRGN: Use IRGN name when present for traffic signs
|
|
8
|
+
|
|
9
|
+
- [#605](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/605) [`40b481c`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/40b481cce0884e958174c10530cff019c4e53ddc) Thanks [@piemonkey](https://github.com/piemonkey)! - Update data model used for roadsigns to us correct classnames for different subclasses of traffic signal
|
|
10
|
+
|
|
11
|
+
- [#597](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/597) [`b04e6d2`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/b04e6d26c370dd3100fb674dc081eb1a53f445b8) Thanks [@piemonkey](https://github.com/piemonkey)! - Add model migration to update older roadsign regulation documents to the latest model
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#606](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/606) [`b4e4d9a`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/b4e4d9a502fdb07974f13894d0168dc3548b7ed2) Thanks [@elpoelma](https://github.com/elpoelma)! - Resolve issue where selection was not correctly set when moving articles around
|
|
16
|
+
Note: this solution only works when having `@lblod/ember-rdfa-editor` 12.14.0 or later installed in your host-app.
|
|
17
|
+
|
|
18
|
+
- [#597](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/597) [`533ccab`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/533ccab48508c9765e9dc7e176e63701fdb056d9) Thanks [@piemonkey](https://github.com/piemonkey)! - Update @lblod/ember-rdfa-editor to 12.13.0
|
|
19
|
+
|
|
3
20
|
## 32.7.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -241,12 +241,14 @@ function constructSignNode(
|
|
|
241
241
|
),
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
|
-
predicate:
|
|
244
|
+
predicate: PROV('wasDerivedFrom').full,
|
|
245
245
|
object: sayDataFactory.namedNode(signConcept.uri),
|
|
246
246
|
},
|
|
247
247
|
],
|
|
248
248
|
},
|
|
249
|
-
schema.text(
|
|
249
|
+
schema.text(
|
|
250
|
+
`${prefix} ${signConcept.regulatoryNotation || signConcept.code}${zonalityText}`,
|
|
251
|
+
),
|
|
250
252
|
);
|
|
251
253
|
return node;
|
|
252
254
|
}
|
|
@@ -23,9 +23,9 @@ export const TRAFFIC_SIGNAL_CONCEPT_TYPES = {
|
|
|
23
23
|
|
|
24
24
|
export const TRAFFIC_SIGNAL_TYPES = {
|
|
25
25
|
TRAFFIC_SIGNAL: MOBILITEIT('Verkeersteken').full,
|
|
26
|
-
ROAD_SIGN: MOBILITEIT('
|
|
27
|
-
TRAFFIC_LIGHT: MOBILITEIT('
|
|
28
|
-
ROAD_MARKING: MOBILITEIT('
|
|
26
|
+
ROAD_SIGN: MOBILITEIT('VerkeersbordVerkeersteken').full,
|
|
27
|
+
TRAFFIC_LIGHT: MOBILITEIT('VerkeerslichtVerkeersteken').full,
|
|
28
|
+
ROAD_MARKING: MOBILITEIT('WegmarkeringVerkeersteken').full,
|
|
29
29
|
} as const;
|
|
30
30
|
|
|
31
31
|
export const TRAFFIC_SIGNAL_TYPE_MAPPING = {
|
|
@@ -9,10 +9,25 @@ import {
|
|
|
9
9
|
EXT,
|
|
10
10
|
MOBILITEIT,
|
|
11
11
|
PROV,
|
|
12
|
+
RDF,
|
|
12
13
|
} from '@lblod/ember-rdfa-editor-lblod-plugins/utils/constants';
|
|
13
|
-
import {
|
|
14
|
+
import {
|
|
15
|
+
getOutgoingTriple,
|
|
16
|
+
hasOutgoingNamedNodeTriple,
|
|
17
|
+
hasRDFaAttribute,
|
|
18
|
+
} from '@lblod/ember-rdfa-editor-lblod-plugins/utils/namespace';
|
|
14
19
|
import getClassnamesFromNode from '@lblod/ember-rdfa-editor/utils/get-classnames-from-node';
|
|
15
|
-
import {
|
|
20
|
+
import {
|
|
21
|
+
SayDataFactory,
|
|
22
|
+
sayDataFactory,
|
|
23
|
+
} from '@lblod/ember-rdfa-editor/core/say-data-factory';
|
|
24
|
+
import {
|
|
25
|
+
isResourceAttrs,
|
|
26
|
+
ModelMigration,
|
|
27
|
+
ModelMigrationGenerator,
|
|
28
|
+
} from '@lblod/ember-rdfa-editor/core/rdfa-types';
|
|
29
|
+
import { getRdfaContentElement } from '@lblod/ember-rdfa-editor/core/schema';
|
|
30
|
+
import { TRAFFIC_SIGNAL_TYPES } from './constants';
|
|
16
31
|
|
|
17
32
|
const CONTENT_SELECTOR = `div[property~='${
|
|
18
33
|
DCT('description').full
|
|
@@ -124,3 +139,62 @@ export const roadsign_regulation: NodeSpec = {
|
|
|
124
139
|
},
|
|
125
140
|
],
|
|
126
141
|
};
|
|
142
|
+
|
|
143
|
+
const replacements = [
|
|
144
|
+
[MOBILITEIT('Verkeersbord-Verkeersteken'), TRAFFIC_SIGNAL_TYPES.ROAD_SIGN],
|
|
145
|
+
[
|
|
146
|
+
MOBILITEIT('Verkeerslicht-Verkeersteken'),
|
|
147
|
+
TRAFFIC_SIGNAL_TYPES.TRAFFIC_LIGHT,
|
|
148
|
+
],
|
|
149
|
+
[MOBILITEIT('Wegmarkering-Verkeersteken'), TRAFFIC_SIGNAL_TYPES.ROAD_MARKING],
|
|
150
|
+
] as const;
|
|
151
|
+
/**
|
|
152
|
+
* Migrates documents from a data model featuring multiple nested inline_rdfa nodes to one that uses
|
|
153
|
+
* namedNodes to encode everything in one inline_rdfa
|
|
154
|
+
**/
|
|
155
|
+
export const trafficSignalMigration: ModelMigrationGenerator = (attrs) => {
|
|
156
|
+
const factory = new SayDataFactory();
|
|
157
|
+
for (const [source, replacement] of replacements) {
|
|
158
|
+
const conceptTriple = getOutgoingTriple(
|
|
159
|
+
attrs,
|
|
160
|
+
MOBILITEIT('heeftVerkeersbordconcept'),
|
|
161
|
+
);
|
|
162
|
+
if (
|
|
163
|
+
isResourceAttrs(attrs) &&
|
|
164
|
+
hasOutgoingNamedNodeTriple(attrs, RDF('type'), source) &&
|
|
165
|
+
conceptTriple
|
|
166
|
+
) {
|
|
167
|
+
return {
|
|
168
|
+
getAttrs: () => {
|
|
169
|
+
const conceptProp = {
|
|
170
|
+
predicate: PROV('wasDerivedFrom').full,
|
|
171
|
+
object: factory.namedNode(conceptTriple.object.value),
|
|
172
|
+
};
|
|
173
|
+
return {
|
|
174
|
+
...attrs,
|
|
175
|
+
properties: [
|
|
176
|
+
...(conceptProp ? [conceptProp] : []),
|
|
177
|
+
{
|
|
178
|
+
predicate: RDF('type').full,
|
|
179
|
+
object: sayDataFactory.namedNode(
|
|
180
|
+
TRAFFIC_SIGNAL_TYPES.TRAFFIC_SIGNAL,
|
|
181
|
+
),
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
predicate: RDF('type').full,
|
|
185
|
+
object: sayDataFactory.namedNode(replacement),
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
contentElement: (element) => {
|
|
191
|
+
const content = element.querySelector(
|
|
192
|
+
'[property="http://www.w3.org/2004/02/skos/core#prefLabel"]',
|
|
193
|
+
);
|
|
194
|
+
return getRdfaContentElement(content || element);
|
|
195
|
+
},
|
|
196
|
+
} satisfies ModelMigration;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
return false;
|
|
200
|
+
};
|
|
@@ -29,7 +29,7 @@ export default async function queryRoadSignCategories(
|
|
|
29
29
|
?label
|
|
30
30
|
WHERE {
|
|
31
31
|
?uri a mobiliteit:Verkeersbordcategorie;
|
|
32
|
-
|
|
32
|
+
skos:prefLabel ?label.
|
|
33
33
|
|
|
34
34
|
${roadSignConceptUri ? `${sparqlEscapeUri(roadSignConceptUri)} dct:type ?uri` : ''}
|
|
35
35
|
}
|
|
@@ -35,6 +35,7 @@ export async function queryTrafficSignalConcepts(
|
|
|
35
35
|
?uri
|
|
36
36
|
?type
|
|
37
37
|
?code
|
|
38
|
+
?regulatoryNotation
|
|
38
39
|
?zonality
|
|
39
40
|
?image
|
|
40
41
|
?position
|
|
@@ -70,6 +71,10 @@ export async function queryTrafficSignalConcepts(
|
|
|
70
71
|
?uri ext:zonality ?zonality.
|
|
71
72
|
}
|
|
72
73
|
|
|
74
|
+
OPTIONAL {
|
|
75
|
+
?uri ext:regulatoryNotation ?regulatoryNotation.
|
|
76
|
+
}
|
|
77
|
+
|
|
73
78
|
VALUES ?type {
|
|
74
79
|
<https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept>
|
|
75
80
|
<https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept>
|
|
@@ -8,14 +8,11 @@ import {
|
|
|
8
8
|
findNodePosDown,
|
|
9
9
|
findNodePosUp,
|
|
10
10
|
} from '@lblod/ember-rdfa-editor/utils/position-utils';
|
|
11
|
-
import { transactionCombinator } from '@lblod/ember-rdfa-editor/utils/transaction-utils';
|
|
12
11
|
import { findAncestorOfType } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/_private/find-ancestor';
|
|
13
12
|
import {
|
|
14
13
|
isNone,
|
|
15
14
|
unwrap,
|
|
16
15
|
} from '@lblod/ember-rdfa-editor-lblod-plugins/utils/option';
|
|
17
|
-
import { recalculateNumbers } from '../monads/recalculate-structure-numbers';
|
|
18
|
-
import { regenerateRdfaLinks } from '../monads/regenerate-rdfa-links';
|
|
19
16
|
|
|
20
17
|
export function moveStructure(direction: 'up' | 'down'): Command {
|
|
21
18
|
return (state, dispatch) => {
|
|
@@ -53,23 +50,18 @@ export function moveStructure(direction: 'up' | 'down'): Command {
|
|
|
53
50
|
// previousStructurePos is the position right BEFORE the previous structure,
|
|
54
51
|
// so inserting there is correct
|
|
55
52
|
transaction.insert(previousStructurePos, node);
|
|
56
|
-
// after updating we have to recalculate the numbers
|
|
57
|
-
const { transaction: newTr } = transactionCombinator(
|
|
58
|
-
state,
|
|
59
|
-
transaction,
|
|
60
|
-
)([recalculateNumbers, regenerateRdfaLinks]);
|
|
61
53
|
|
|
62
54
|
// previousStructurePos should now point to the position right before our moved structure
|
|
63
55
|
// so we can simply add 1 to get the first position inside of it, and for the end
|
|
64
56
|
// we add the nodesize and subtract one
|
|
65
|
-
|
|
57
|
+
transaction.setSelection(
|
|
66
58
|
TextSelection.create(
|
|
67
|
-
|
|
59
|
+
transaction.doc,
|
|
68
60
|
previousStructurePos + 1,
|
|
69
61
|
previousStructurePos + node.nodeSize - 1,
|
|
70
62
|
),
|
|
71
63
|
);
|
|
72
|
-
dispatch(
|
|
64
|
+
dispatch(transaction);
|
|
73
65
|
}
|
|
74
66
|
return true;
|
|
75
67
|
}
|
|
@@ -107,21 +99,16 @@ export function moveStructure(direction: 'up' | 'down'): Command {
|
|
|
107
99
|
);
|
|
108
100
|
transaction.insert(insertPos, node);
|
|
109
101
|
|
|
110
|
-
const { transaction: newTr } = transactionCombinator(
|
|
111
|
-
state,
|
|
112
|
-
transaction,
|
|
113
|
-
)([recalculateNumbers, regenerateRdfaLinks]);
|
|
114
|
-
|
|
115
102
|
// since we've deleted something before the insert position, we have to map
|
|
116
103
|
// the positions through the transaction to find the moved node's new position
|
|
117
|
-
|
|
104
|
+
transaction.setSelection(
|
|
118
105
|
TextSelection.create(
|
|
119
|
-
|
|
106
|
+
transaction.doc,
|
|
120
107
|
insertPos + 1,
|
|
121
108
|
insertPos + node.nodeSize - 1,
|
|
122
109
|
),
|
|
123
110
|
);
|
|
124
|
-
dispatch(
|
|
111
|
+
dispatch(transaction);
|
|
125
112
|
}
|
|
126
113
|
|
|
127
114
|
return true;
|
|
@@ -135,11 +135,7 @@ export default class ImportRdfaSnippet extends Service {
|
|
|
135
135
|
.filter((triple) => triple.predicate === 'a')
|
|
136
136
|
.map((triple) => triple.object)
|
|
137
137
|
.filter((v, i, a) => a.indexOf(v) === i); //This filters only unique values
|
|
138
|
-
if (
|
|
139
|
-
types.includes(
|
|
140
|
-
'https://data.vlaanderen.be/ns/mobiliteit#Verkeersbord-Verkeersteken',
|
|
141
|
-
)
|
|
142
|
-
) {
|
|
138
|
+
if (types.includes('Verkeersteken')) {
|
|
143
139
|
return 'roadsign';
|
|
144
140
|
} else {
|
|
145
141
|
return 'generic';
|
|
@@ -91,6 +91,7 @@ export default class RoadsignsModal extends Component<Signature> {
|
|
|
91
91
|
image: string;
|
|
92
92
|
uri: string;
|
|
93
93
|
position: number;
|
|
94
|
+
regulatoryNotation?: string | undefined;
|
|
94
95
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
95
96
|
} & ({
|
|
96
97
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
@@ -119,6 +120,7 @@ export default class RoadsignsModal extends Component<Signature> {
|
|
|
119
120
|
image: string;
|
|
120
121
|
uri: string;
|
|
121
122
|
position: number;
|
|
123
|
+
regulatoryNotation?: string | undefined;
|
|
122
124
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
123
125
|
} & ({
|
|
124
126
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
@@ -14,15 +14,15 @@ export declare const TRAFFIC_SIGNAL_CONCEPT_TYPES: {
|
|
|
14
14
|
};
|
|
15
15
|
export declare const TRAFFIC_SIGNAL_TYPES: {
|
|
16
16
|
readonly TRAFFIC_SIGNAL: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersteken";
|
|
17
|
-
readonly ROAD_SIGN: "https://data.vlaanderen.be/ns/mobiliteit#
|
|
18
|
-
readonly TRAFFIC_LIGHT: "https://data.vlaanderen.be/ns/mobiliteit#
|
|
19
|
-
readonly ROAD_MARKING: "https://data.vlaanderen.be/ns/mobiliteit#
|
|
17
|
+
readonly ROAD_SIGN: "https://data.vlaanderen.be/ns/mobiliteit#VerkeersbordVerkeersteken";
|
|
18
|
+
readonly TRAFFIC_LIGHT: "https://data.vlaanderen.be/ns/mobiliteit#VerkeerslichtVerkeersteken";
|
|
19
|
+
readonly ROAD_MARKING: "https://data.vlaanderen.be/ns/mobiliteit#WegmarkeringVerkeersteken";
|
|
20
20
|
};
|
|
21
21
|
export declare const TRAFFIC_SIGNAL_TYPE_MAPPING: {
|
|
22
22
|
readonly "https://data.vlaanderen.be/ns/mobiliteit#Verkeerstekenconcept": "https://data.vlaanderen.be/ns/mobiliteit#Verkeersteken";
|
|
23
|
-
readonly "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept": "https://data.vlaanderen.be/ns/mobiliteit#
|
|
24
|
-
readonly "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept": "https://data.vlaanderen.be/ns/mobiliteit#
|
|
25
|
-
readonly "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept": "https://data.vlaanderen.be/ns/mobiliteit#
|
|
23
|
+
readonly "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept": "https://data.vlaanderen.be/ns/mobiliteit#VerkeersbordVerkeersteken";
|
|
24
|
+
readonly "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept": "https://data.vlaanderen.be/ns/mobiliteit#VerkeerslichtVerkeersteken";
|
|
25
|
+
readonly "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept": "https://data.vlaanderen.be/ns/mobiliteit#WegmarkeringVerkeersteken";
|
|
26
26
|
};
|
|
27
27
|
export declare const ROAD_SIGN_CATEGORIES: {
|
|
28
28
|
XXBORD: string;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
import { NodeSpec } from '@lblod/ember-rdfa-editor';
|
|
2
|
+
import { ModelMigrationGenerator } from '@lblod/ember-rdfa-editor/core/rdfa-types';
|
|
2
3
|
export declare const roadsign_regulation: NodeSpec;
|
|
4
|
+
/**
|
|
5
|
+
* Migrates documents from a data model featuring multiple nested inline_rdfa nodes to one that uses
|
|
6
|
+
* namedNodes to encode everything in one inline_rdfa
|
|
7
|
+
**/
|
|
8
|
+
export declare const trafficSignalMigration: ModelMigrationGenerator;
|
package/declarations/addon/plugins/roadsign-regulation-plugin/queries/mobility-measure-concept.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare function queryMobilityMeasures(endpoint: string, options?: Mobili
|
|
|
22
22
|
image: string;
|
|
23
23
|
uri: string;
|
|
24
24
|
position: number;
|
|
25
|
+
regulatoryNotation?: string | undefined;
|
|
25
26
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
26
27
|
} & ({
|
|
27
28
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
package/declarations/addon/plugins/roadsign-regulation-plugin/queries/traffic-signal-concept.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare function queryTrafficSignalConcepts(endpoint: string, options: Qu
|
|
|
8
8
|
image: string;
|
|
9
9
|
uri: string;
|
|
10
10
|
position: number;
|
|
11
|
+
regulatoryNotation?: string | undefined;
|
|
11
12
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
12
13
|
} & {
|
|
13
14
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept" | "https://data.vlaanderen.be/ns/mobiliteit#Wegmarkeringconcept";
|
|
@@ -20,6 +21,7 @@ export declare function queryTrafficSignalConcepts(endpoint: string, options: Qu
|
|
|
20
21
|
image: string;
|
|
21
22
|
uri: string;
|
|
22
23
|
position: number;
|
|
24
|
+
regulatoryNotation?: string | undefined;
|
|
23
25
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
24
26
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
25
27
|
})[]>;
|
package/declarations/addon/plugins/roadsign-regulation-plugin/schemas/mobility-measure-concept.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const MobilityMeasureConceptSchema: z.ZodObject<{
|
|
|
12
12
|
trafficSignalConcepts: z.ZodDefault<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
13
13
|
uri: z.ZodString;
|
|
14
14
|
code: z.ZodString;
|
|
15
|
+
regulatoryNotation: z.ZodOptional<z.ZodString>;
|
|
15
16
|
image: z.ZodString;
|
|
16
17
|
zonality: z.ZodOptional<z.ZodNativeEnum<{
|
|
17
18
|
readonly POTENTIALLY_ZONAL: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f";
|
|
@@ -24,12 +25,14 @@ export declare const MobilityMeasureConceptSchema: z.ZodObject<{
|
|
|
24
25
|
image: string;
|
|
25
26
|
uri: string;
|
|
26
27
|
position: number;
|
|
28
|
+
regulatoryNotation?: string | undefined;
|
|
27
29
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
28
30
|
}, {
|
|
29
31
|
code: string;
|
|
30
32
|
image: string;
|
|
31
33
|
uri: string;
|
|
32
34
|
position?: number | undefined;
|
|
35
|
+
regulatoryNotation?: string | undefined;
|
|
33
36
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
34
37
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
35
38
|
type: z.ZodLiteral<"https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept">;
|
|
@@ -73,6 +76,7 @@ export declare const MobilityMeasureConceptSchema: z.ZodObject<{
|
|
|
73
76
|
image: string;
|
|
74
77
|
uri: string;
|
|
75
78
|
position: number;
|
|
79
|
+
regulatoryNotation?: string | undefined;
|
|
76
80
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
77
81
|
} & ({
|
|
78
82
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
@@ -94,6 +98,7 @@ export declare const MobilityMeasureConceptSchema: z.ZodObject<{
|
|
|
94
98
|
image: string;
|
|
95
99
|
uri: string;
|
|
96
100
|
position?: number | undefined;
|
|
101
|
+
regulatoryNotation?: string | undefined;
|
|
97
102
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
98
103
|
} & ({
|
|
99
104
|
type: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
package/declarations/addon/plugins/roadsign-regulation-plugin/schemas/traffic-signal-concept.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const TrafficSignalConceptSchema: z.ZodIntersection<z.ZodObject<{
|
|
3
3
|
uri: z.ZodString;
|
|
4
4
|
code: z.ZodString;
|
|
5
|
+
regulatoryNotation: z.ZodOptional<z.ZodString>;
|
|
5
6
|
image: z.ZodString;
|
|
6
7
|
zonality: z.ZodOptional<z.ZodNativeEnum<{
|
|
7
8
|
readonly POTENTIALLY_ZONAL: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f";
|
|
@@ -14,12 +15,14 @@ export declare const TrafficSignalConceptSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
14
15
|
image: string;
|
|
15
16
|
uri: string;
|
|
16
17
|
position: number;
|
|
18
|
+
regulatoryNotation?: string | undefined;
|
|
17
19
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
code: string;
|
|
20
22
|
image: string;
|
|
21
23
|
uri: string;
|
|
22
24
|
position?: number | undefined;
|
|
25
|
+
regulatoryNotation?: string | undefined;
|
|
23
26
|
zonality?: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f" | "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d" | "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc" | undefined;
|
|
24
27
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
25
28
|
type: z.ZodLiteral<"https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lblod/ember-rdfa-editor-lblod-plugins",
|
|
3
|
-
"version": "32.
|
|
3
|
+
"version": "32.8.0",
|
|
4
4
|
"description": "Ember addon providing lblod specific plugins for the ember-rdfa-editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@glint/template": "^1.5.0",
|
|
113
113
|
"@graphy/content.ttl.write": "^4.3.7",
|
|
114
114
|
"@graphy/memory.dataset.fast": "4.3.3",
|
|
115
|
-
"@lblod/ember-rdfa-editor": "
|
|
115
|
+
"@lblod/ember-rdfa-editor": "12.14.0",
|
|
116
116
|
"@rdfjs/types": "^1.1.0",
|
|
117
117
|
"@release-it/keep-a-changelog": "^4.0.0",
|
|
118
118
|
"@tsconfig/ember": "^3.0.8",
|
package/pnpm-lock.yaml
CHANGED
|
@@ -190,8 +190,8 @@ importers:
|
|
|
190
190
|
specifier: 4.3.3
|
|
191
191
|
version: 4.3.3
|
|
192
192
|
'@lblod/ember-rdfa-editor':
|
|
193
|
-
specifier:
|
|
194
|
-
version: 12.
|
|
193
|
+
specifier: 12.14.0
|
|
194
|
+
version: 12.14.0(ejdcruazsu3pxrclhcixxsjesq)
|
|
195
195
|
'@rdfjs/types':
|
|
196
196
|
specifier: ^1.1.0
|
|
197
197
|
version: 1.1.2
|
|
@@ -1725,8 +1725,8 @@ packages:
|
|
|
1725
1725
|
'@jridgewell/trace-mapping@0.3.25':
|
|
1726
1726
|
resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
|
|
1727
1727
|
|
|
1728
|
-
'@lblod/ember-rdfa-editor@12.
|
|
1729
|
-
resolution: {integrity: sha512-
|
|
1728
|
+
'@lblod/ember-rdfa-editor@12.14.0':
|
|
1729
|
+
resolution: {integrity: sha512-M4uNn788QrtfWL7qxEzNDaVmPCDV5B3x2dJMOU39pOUMfe2UKhH0Rca7vTXWXOkJSXI+P3WlWod55mXzWVpUDg==}
|
|
1730
1730
|
peerDependencies:
|
|
1731
1731
|
'@appuniversum/ember-appuniversum': ^3.11.0
|
|
1732
1732
|
'@ember/test-helpers': ^2.9.4 || ^3.2.1 || ^4.0.2 || ^5.0.0
|
|
@@ -6319,6 +6319,7 @@ packages:
|
|
|
6319
6319
|
resolution: {integrity: sha512-t0etAxTUk1w5MYdNOkZBZ8rvYYN5iL+2dHCCx/DpkFm/bW28M6y5nUS83D4XdZiHy35Fpaw6LBb+F88fHZnVCw==}
|
|
6320
6320
|
engines: {node: '>=8.17.0'}
|
|
6321
6321
|
hasBin: true
|
|
6322
|
+
bundledDependencies: []
|
|
6322
6323
|
|
|
6323
6324
|
jsonfile@2.4.0:
|
|
6324
6325
|
resolution: {integrity: sha512-PKllAqbgLgxHaj8TElYymKCAgrASebJrWpTnEkOaTowt23VKXXN0sUeriJ+eh7y6ufb/CC5ap11pz71/cM0hUw==}
|
|
@@ -11984,7 +11985,7 @@ snapshots:
|
|
|
11984
11985
|
'@jridgewell/resolve-uri': 3.1.2
|
|
11985
11986
|
'@jridgewell/sourcemap-codec': 1.4.15
|
|
11986
11987
|
|
|
11987
|
-
'@lblod/ember-rdfa-editor@12.
|
|
11988
|
+
'@lblod/ember-rdfa-editor@12.14.0(ejdcruazsu3pxrclhcixxsjesq)':
|
|
11988
11989
|
dependencies:
|
|
11989
11990
|
'@appuniversum/ember-appuniversum': 3.12.0(@ember/test-helpers@3.3.1(@babel/core@7.26.0)(@glint/template@1.5.1)(ember-source@5.12.0(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.1)(rsvp@4.8.5)(webpack@5.97.1))(webpack@5.97.1))(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glimmer/tracking@1.1.2)(@glint/environment-ember-loose@1.5.1(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.1)(@types/ember__array@4.0.10(@babel/core@7.26.0))(@types/ember__component@4.0.22(@babel/core@7.26.0))(@types/ember__controller@4.0.12(@babel/core@7.26.0))(@types/ember__object@4.0.12(@babel/core@7.26.0))(@types/ember__routing@4.0.22(@babel/core@7.26.0))(ember-cli-htmlbars@6.3.0)(ember-modifier@4.1.0(ember-source@5.12.0(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.1)(rsvp@4.8.5)(webpack@5.97.1))))(@glint/template@1.5.1)(ember-source@5.12.0(@glimmer/component@1.1.2(@babel/core@7.26.0))(@glint/template@1.5.1)(rsvp@4.8.5)(webpack@5.97.1))(tracked-built-ins@3.3.0)(webpack@5.97.1)
|
|
11990
11991
|
'@codemirror/commands': 6.6.0
|
|
@@ -12598,7 +12599,7 @@ snapshots:
|
|
|
12598
12599
|
'@types/ember__string': 3.16.3
|
|
12599
12600
|
'@types/ember__template': 4.0.7
|
|
12600
12601
|
'@types/ember__test': 4.0.6(@babel/core@7.26.0)
|
|
12601
|
-
'@types/ember__utils': 4.0.7
|
|
12602
|
+
'@types/ember__utils': 4.0.7
|
|
12602
12603
|
'@types/rsvp': 4.0.9
|
|
12603
12604
|
optional: true
|
|
12604
12605
|
|
|
@@ -12768,6 +12769,11 @@ snapshots:
|
|
|
12768
12769
|
- supports-color
|
|
12769
12770
|
optional: true
|
|
12770
12771
|
|
|
12772
|
+
'@types/ember__utils@4.0.7':
|
|
12773
|
+
dependencies:
|
|
12774
|
+
'@types/ember': 4.0.11
|
|
12775
|
+
optional: true
|
|
12776
|
+
|
|
12771
12777
|
'@types/ember__utils@4.0.7(@babel/core@7.26.0)':
|
|
12772
12778
|
dependencies:
|
|
12773
12779
|
'@types/ember': 4.0.11(@babel/core@7.26.0)
|