@lblod/ember-rdfa-editor-lblod-plugins 32.6.2 → 32.7.0-dev.ffb486db4b2faad6325a4004749fdb16df2c36af
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/silver-pumas-play.md +5 -0
- package/.changeset/wise-candles-relate.md +5 -0
- package/.changeset/yellow-hairs-protect.md +5 -0
- package/CHANGELOG.md +6 -0
- package/addon/components/roadsign-regulation-plugin/expanded-measure.gts +9 -15
- package/addon/components/roadsign-regulation-plugin/roadsigns-modal.gts +2 -3
- package/addon/plugins/roadsign-regulation-plugin/actions/insert-measure.ts +16 -5
- package/addon/plugins/roadsign-regulation-plugin/constants.ts +9 -3
- package/addon/plugins/roadsign-regulation-plugin/nodes.ts +76 -2
- package/addon/services/import-rdfa-snippet.ts +1 -5
- package/declarations/addon/components/roadsign-regulation-plugin/expanded-measure.d.ts +4 -4
- package/declarations/addon/components/roadsign-regulation-plugin/roadsigns-modal.d.ts +2 -2
- package/declarations/addon/plugins/roadsign-regulation-plugin/actions/insert-measure.d.ts +2 -2
- package/declarations/addon/plugins/roadsign-regulation-plugin/constants.d.ts +9 -6
- package/declarations/addon/plugins/roadsign-regulation-plugin/nodes.d.ts +6 -0
- package/package.json +2 -2
- package/pnpm-lock.yaml +12 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @lblod/ember-rdfa-editor-lblod-plugins
|
|
2
2
|
|
|
3
|
+
## 32.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#601](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/601) [`a221a64`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/a221a64427c84b70e0058762367835274541656a) Thanks [@piemonkey](https://github.com/piemonkey)! - Add text to roadsigns indicating zonality to newly inserted zonal measures
|
|
8
|
+
|
|
3
9
|
## 32.6.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -10,17 +10,16 @@ import AuButton from '@appuniversum/ember-appuniversum/components/au-button';
|
|
|
10
10
|
import { MobilityMeasureConcept } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/schemas/mobility-measure-concept';
|
|
11
11
|
import { action } from '@ember/object';
|
|
12
12
|
import { on } from '@ember/modifier';
|
|
13
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
ZONALITY_OPTIONS,
|
|
15
|
+
ZonalOrNot,
|
|
16
|
+
} from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/constants';
|
|
14
17
|
import { Task } from 'ember-concurrency';
|
|
15
18
|
import { isSome } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/option';
|
|
16
19
|
|
|
17
20
|
export type InsertMobilityMeasureTask = Task<
|
|
18
21
|
void,
|
|
19
|
-
[
|
|
20
|
-
MobilityMeasureConcept,
|
|
21
|
-
typeof ZONALITY_OPTIONS.ZONAL | typeof ZONALITY_OPTIONS.NON_ZONAL,
|
|
22
|
-
boolean,
|
|
23
|
-
]
|
|
22
|
+
[MobilityMeasureConcept, ZonalOrNot, boolean]
|
|
24
23
|
>;
|
|
25
24
|
type Signature = {
|
|
26
25
|
Args: {
|
|
@@ -32,9 +31,7 @@ type Signature = {
|
|
|
32
31
|
};
|
|
33
32
|
|
|
34
33
|
export default class ExpandedMeasure extends Component<Signature> {
|
|
35
|
-
@tracked zonalityValue?:
|
|
36
|
-
| typeof ZONALITY_OPTIONS.ZONAL
|
|
37
|
-
| typeof ZONALITY_OPTIONS.NON_ZONAL;
|
|
34
|
+
@tracked zonalityValue?: ZonalOrNot;
|
|
38
35
|
@tracked temporalValue?: boolean;
|
|
39
36
|
|
|
40
37
|
get isPotentiallyZonal() {
|
|
@@ -49,9 +46,7 @@ export default class ExpandedMeasure extends Component<Signature> {
|
|
|
49
46
|
}
|
|
50
47
|
|
|
51
48
|
@action
|
|
52
|
-
changeZonality(
|
|
53
|
-
zonality: typeof ZONALITY_OPTIONS.ZONAL | typeof ZONALITY_OPTIONS.NON_ZONAL,
|
|
54
|
-
) {
|
|
49
|
+
changeZonality(zonality: ZonalOrNot) {
|
|
55
50
|
this.zonalityValue = zonality;
|
|
56
51
|
}
|
|
57
52
|
|
|
@@ -64,9 +59,8 @@ export default class ExpandedMeasure extends Component<Signature> {
|
|
|
64
59
|
insert() {
|
|
65
60
|
this.args.insert.perform(
|
|
66
61
|
this.args.concept,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
| typeof ZONALITY_OPTIONS.NON_ZONAL,
|
|
62
|
+
// POTENTIALLY_ZONAL option is filtered out by requiring a zonalityValue to submit
|
|
63
|
+
(this.zonalityValue ?? this.args.concept.zonality) as ZonalOrNot,
|
|
70
64
|
this.temporalValue ?? false,
|
|
71
65
|
);
|
|
72
66
|
}
|
|
@@ -32,6 +32,7 @@ import { on } from '@ember/modifier';
|
|
|
32
32
|
import {
|
|
33
33
|
TRAFFIC_SIGNAL_CONCEPT_TYPES,
|
|
34
34
|
ZONALITY_OPTIONS,
|
|
35
|
+
type ZonalOrNot,
|
|
35
36
|
} from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/constants';
|
|
36
37
|
import { resolveTemplate } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/actions/resolve-template';
|
|
37
38
|
import { queryMobilityTemplates } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/queries/mobility-template';
|
|
@@ -309,9 +310,7 @@ export default class RoadsignsModal extends Component<Signature> {
|
|
|
309
310
|
insertMeasure = task(
|
|
310
311
|
async (
|
|
311
312
|
concept: MobilityMeasureConcept,
|
|
312
|
-
zonality:
|
|
313
|
-
| typeof ZONALITY_OPTIONS.ZONAL
|
|
314
|
-
| typeof ZONALITY_OPTIONS.NON_ZONAL,
|
|
313
|
+
zonality: ZonalOrNot,
|
|
315
314
|
temporal: boolean,
|
|
316
315
|
) => {
|
|
317
316
|
if (!this.decisionLocation) {
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
TRAFFIC_SIGNAL_TYPE_MAPPING,
|
|
31
31
|
TRAFFIC_SIGNAL_TYPES,
|
|
32
32
|
ZONALITY_OPTIONS,
|
|
33
|
+
ZonalOrNot,
|
|
33
34
|
} from '../constants';
|
|
34
35
|
import { createTextVariable } from '../../variable-plugin/actions/create-text-variable';
|
|
35
36
|
import { generateVariableInstanceUri } from '../../variable-plugin/utils/variable-helpers';
|
|
@@ -40,7 +41,7 @@ import { createClassicLocationVariable } from '../../variable-plugin/actions/cre
|
|
|
40
41
|
|
|
41
42
|
interface InsertMeasureArgs {
|
|
42
43
|
measureConcept: MobilityMeasureConcept;
|
|
43
|
-
zonality:
|
|
44
|
+
zonality: ZonalOrNot;
|
|
44
45
|
temporal: boolean;
|
|
45
46
|
variables: Record<string, Exclude<Variable, { type: 'instruction' }>>;
|
|
46
47
|
templateString: string;
|
|
@@ -60,7 +61,7 @@ export default function insertMeasure({
|
|
|
60
61
|
return function (state: EditorState) {
|
|
61
62
|
const { schema } = state;
|
|
62
63
|
const signNodes = measureConcept.trafficSignalConcepts.map((signConcept) =>
|
|
63
|
-
constructSignNode(signConcept, schema),
|
|
64
|
+
constructSignNode(signConcept, schema, zonality),
|
|
64
65
|
);
|
|
65
66
|
let signSection: PNode[] = [];
|
|
66
67
|
if (signNodes.length) {
|
|
@@ -210,9 +211,19 @@ function determineSignLabel(signConcept: TrafficSignalConcept) {
|
|
|
210
211
|
}
|
|
211
212
|
}
|
|
212
213
|
|
|
213
|
-
function constructSignNode(
|
|
214
|
+
function constructSignNode(
|
|
215
|
+
signConcept: TrafficSignalConcept,
|
|
216
|
+
schema: Schema,
|
|
217
|
+
zonality?: ZonalOrNot,
|
|
218
|
+
) {
|
|
214
219
|
const signUri = `http://data.lblod.info/verkeerstekens/${uuid()}`;
|
|
215
220
|
const prefix = determineSignLabel(signConcept);
|
|
221
|
+
const zonalityText =
|
|
222
|
+
!zonality || zonality !== ZONALITY_OPTIONS.ZONAL
|
|
223
|
+
? ''
|
|
224
|
+
: prefix === 'Onderbord'
|
|
225
|
+
? ' op het verkeersbord met zonale geldigheid'
|
|
226
|
+
: ' met zonale geldigheid';
|
|
216
227
|
const node = schema.nodes.inline_rdfa.create(
|
|
217
228
|
{
|
|
218
229
|
rdfaNodeType: 'resource',
|
|
@@ -230,12 +241,12 @@ function constructSignNode(signConcept: TrafficSignalConcept, schema: Schema) {
|
|
|
230
241
|
),
|
|
231
242
|
},
|
|
232
243
|
{
|
|
233
|
-
predicate:
|
|
244
|
+
predicate: PROV('wasDerivedFrom').full,
|
|
234
245
|
object: sayDataFactory.namedNode(signConcept.uri),
|
|
235
246
|
},
|
|
236
247
|
],
|
|
237
248
|
},
|
|
238
|
-
schema.text(`${prefix} ${signConcept.code}`),
|
|
249
|
+
schema.text(`${prefix} ${signConcept.code}${zonalityText}`),
|
|
239
250
|
);
|
|
240
251
|
return node;
|
|
241
252
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MOBILITEIT } from '@lblod/ember-rdfa-editor-lblod-plugins/utils/constants';
|
|
2
|
+
import { ValuesOf } from '@lblod/ember-rdfa-editor/utils/_private/types';
|
|
2
3
|
|
|
3
4
|
export const ZONALITY_OPTIONS = {
|
|
4
5
|
POTENTIALLY_ZONAL:
|
|
@@ -7,6 +8,11 @@ export const ZONALITY_OPTIONS = {
|
|
|
7
8
|
NON_ZONAL:
|
|
8
9
|
'http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc',
|
|
9
10
|
} as const;
|
|
11
|
+
export type ZonalityOption = ValuesOf<typeof ZONALITY_OPTIONS>;
|
|
12
|
+
export type ZonalOrNot = Exclude<
|
|
13
|
+
ZonalityOption,
|
|
14
|
+
typeof ZONALITY_OPTIONS.POTENTIALLY_ZONAL
|
|
15
|
+
>;
|
|
10
16
|
|
|
11
17
|
export const TRAFFIC_SIGNAL_CONCEPT_TYPES = {
|
|
12
18
|
TRAFFIC_SIGNAL: MOBILITEIT('Verkeerstekenconcept').full,
|
|
@@ -17,9 +23,9 @@ export const TRAFFIC_SIGNAL_CONCEPT_TYPES = {
|
|
|
17
23
|
|
|
18
24
|
export const TRAFFIC_SIGNAL_TYPES = {
|
|
19
25
|
TRAFFIC_SIGNAL: MOBILITEIT('Verkeersteken').full,
|
|
20
|
-
ROAD_SIGN: MOBILITEIT('
|
|
21
|
-
TRAFFIC_LIGHT: MOBILITEIT('
|
|
22
|
-
ROAD_MARKING: MOBILITEIT('
|
|
26
|
+
ROAD_SIGN: MOBILITEIT('VerkeersbordVerkeersteken').full,
|
|
27
|
+
TRAFFIC_LIGHT: MOBILITEIT('VerkeerslichtVerkeersteken').full,
|
|
28
|
+
ROAD_MARKING: MOBILITEIT('WegmarkeringVerkeersteken').full,
|
|
23
29
|
} as const;
|
|
24
30
|
|
|
25
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
|
+
};
|
|
@@ -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';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import { MobilityMeasureConcept } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/schemas/mobility-measure-concept';
|
|
3
|
-
import {
|
|
3
|
+
import { ZonalOrNot } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/constants';
|
|
4
4
|
import { Task } from 'ember-concurrency';
|
|
5
5
|
export type InsertMobilityMeasureTask = Task<void, [
|
|
6
6
|
MobilityMeasureConcept,
|
|
7
|
-
|
|
7
|
+
ZonalOrNot,
|
|
8
8
|
boolean
|
|
9
9
|
]>;
|
|
10
10
|
type Signature = {
|
|
@@ -16,11 +16,11 @@ type Signature = {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
export default class ExpandedMeasure extends Component<Signature> {
|
|
19
|
-
zonalityValue?:
|
|
19
|
+
zonalityValue?: ZonalOrNot;
|
|
20
20
|
temporalValue?: boolean;
|
|
21
21
|
get isPotentiallyZonal(): boolean;
|
|
22
22
|
get insertButtonDisabled(): boolean;
|
|
23
|
-
changeZonality(zonality:
|
|
23
|
+
changeZonality(zonality: ZonalOrNot): void;
|
|
24
24
|
changeTemporality(temporality: 'true' | 'false'): void;
|
|
25
25
|
insert(): void;
|
|
26
26
|
unselectRow(): void;
|
|
@@ -4,7 +4,7 @@ import { RoadsignRegulationPluginOptions } from '@lblod/ember-rdfa-editor-lblod-
|
|
|
4
4
|
import { MobilityMeasureConcept } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/schemas/mobility-measure-concept';
|
|
5
5
|
import { Select } from 'ember-power-select/components/power-select';
|
|
6
6
|
import { TaskInstance } from 'reactiveweb/ember-concurrency';
|
|
7
|
-
import {
|
|
7
|
+
import { type ZonalOrNot } from '@lblod/ember-rdfa-editor-lblod-plugins/plugins/roadsign-regulation-plugin/constants';
|
|
8
8
|
type Option = {
|
|
9
9
|
uri: string;
|
|
10
10
|
label: string;
|
|
@@ -131,7 +131,7 @@ export default class RoadsignsModal extends Component<Signature> {
|
|
|
131
131
|
}))[];
|
|
132
132
|
}[] | undefined;
|
|
133
133
|
get measureConceptCount(): number | undefined;
|
|
134
|
-
insertMeasure: import("ember-concurrency").TaskForAsyncTaskFunction<unknown, (concept: MobilityMeasureConcept, zonality:
|
|
134
|
+
insertMeasure: import("ember-concurrency").TaskForAsyncTaskFunction<unknown, (concept: MobilityMeasureConcept, zonality: ZonalOrNot, temporal: boolean) => Promise<void>>;
|
|
135
135
|
resetPagination(): void;
|
|
136
136
|
goToPreviousPage(): void;
|
|
137
137
|
goToNextPage(): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TransactionMonad } from '@lblod/ember-rdfa-editor/utils/transaction-utils';
|
|
2
2
|
import { MobilityMeasureConcept } from '../schemas/mobility-measure-concept';
|
|
3
3
|
import { Variable } from '../schemas/variable';
|
|
4
|
-
import {
|
|
4
|
+
import { ZonalOrNot } from '../constants';
|
|
5
5
|
interface InsertMeasureArgs {
|
|
6
6
|
measureConcept: MobilityMeasureConcept;
|
|
7
|
-
zonality:
|
|
7
|
+
zonality: ZonalOrNot;
|
|
8
8
|
temporal: boolean;
|
|
9
9
|
variables: Record<string, Exclude<Variable, {
|
|
10
10
|
type: 'instruction';
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { ValuesOf } from '@lblod/ember-rdfa-editor/utils/_private/types';
|
|
1
2
|
export declare const ZONALITY_OPTIONS: {
|
|
2
3
|
readonly POTENTIALLY_ZONAL: "http://lblod.data.gift/concepts/8f9367b2-c717-4be7-8833-4c75bbb4ae1f";
|
|
3
4
|
readonly ZONAL: "http://lblod.data.gift/concepts/c81c6b96-736a-48cf-b003-6f5cc3dbc55d";
|
|
4
5
|
readonly NON_ZONAL: "http://lblod.data.gift/concepts/b651931b-923c-477c-8da9-fc7dd841fdcc";
|
|
5
6
|
};
|
|
7
|
+
export type ZonalityOption = ValuesOf<typeof ZONALITY_OPTIONS>;
|
|
8
|
+
export type ZonalOrNot = Exclude<ZonalityOption, typeof ZONALITY_OPTIONS.POTENTIALLY_ZONAL>;
|
|
6
9
|
export declare const TRAFFIC_SIGNAL_CONCEPT_TYPES: {
|
|
7
10
|
readonly TRAFFIC_SIGNAL: "https://data.vlaanderen.be/ns/mobiliteit#Verkeerstekenconcept";
|
|
8
11
|
readonly ROAD_SIGN: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept";
|
|
@@ -11,15 +14,15 @@ export declare const TRAFFIC_SIGNAL_CONCEPT_TYPES: {
|
|
|
11
14
|
};
|
|
12
15
|
export declare const TRAFFIC_SIGNAL_TYPES: {
|
|
13
16
|
readonly TRAFFIC_SIGNAL: "https://data.vlaanderen.be/ns/mobiliteit#Verkeersteken";
|
|
14
|
-
readonly ROAD_SIGN: "https://data.vlaanderen.be/ns/mobiliteit#
|
|
15
|
-
readonly TRAFFIC_LIGHT: "https://data.vlaanderen.be/ns/mobiliteit#
|
|
16
|
-
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";
|
|
17
20
|
};
|
|
18
21
|
export declare const TRAFFIC_SIGNAL_TYPE_MAPPING: {
|
|
19
22
|
readonly "https://data.vlaanderen.be/ns/mobiliteit#Verkeerstekenconcept": "https://data.vlaanderen.be/ns/mobiliteit#Verkeersteken";
|
|
20
|
-
readonly "https://data.vlaanderen.be/ns/mobiliteit#Verkeersbordconcept": "https://data.vlaanderen.be/ns/mobiliteit#
|
|
21
|
-
readonly "https://data.vlaanderen.be/ns/mobiliteit#Verkeerslichtconcept": "https://data.vlaanderen.be/ns/mobiliteit#
|
|
22
|
-
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";
|
|
23
26
|
};
|
|
24
27
|
export declare const ROAD_SIGN_CATEGORIES: {
|
|
25
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lblod/ember-rdfa-editor-lblod-plugins",
|
|
3
|
-
"version": "32.
|
|
3
|
+
"version": "32.7.0-dev.ffb486db4b2faad6325a4004749fdb16df2c36af",
|
|
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.13.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.13.0
|
|
194
|
+
version: 12.13.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.13.0':
|
|
1729
|
+
resolution: {integrity: sha512-dXbqx0ZIBjxn9GDSjIiPqYiEvqp0gXSVZ0/Q1jggFD+Rnp0XR/KuHzu+79X1JM7LoOWMLvNzHM0aOsKZt+s0iQ==}
|
|
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.13.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)
|