@piveau/piveau-hub-ui-modules 4.6.58 → 4.6.59
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/dist/data-provider-interface/DataProviderInterface.vue.d.ts +41 -41
- package/dist/data-provider-interface/components/SimpleInput.vue.mjs +6 -2
- package/dist/data-provider-interface/components/SimpleInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatap/format-types.mjs +19 -29
- package/dist/data-provider-interface/config/dcatap/format-types.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatap/input-definition.d.ts +3 -3
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs +29 -11
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/conversionStore.mjs +4 -4
- package/dist/data-provider-interface/store/modules/conversionStore.mjs.map +1 -1
- package/dist/data-provider-interface/utils/RDFconverter.mjs.map +1 -1
- package/dist/data-provider-interface/utils/inputConverter.mjs +57 -57
- package/dist/data-provider-interface/utils/inputConverter.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +41 -41
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.d.ts +41 -41
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs +232 -51
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs +303 -256
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs +20 -20
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +41 -41
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
|
@@ -429,207 +429,207 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
429
429
|
values: never[];
|
|
430
430
|
pageLoaded: boolean;
|
|
431
431
|
tableProperties: {
|
|
432
|
-
|
|
432
|
+
"dct:publisher": {
|
|
433
433
|
type: string;
|
|
434
434
|
voc: string;
|
|
435
435
|
label: string;
|
|
436
436
|
};
|
|
437
|
-
|
|
437
|
+
"dcat:contactPoint": {
|
|
438
438
|
type: string;
|
|
439
439
|
voc: string;
|
|
440
440
|
label: string;
|
|
441
441
|
};
|
|
442
|
-
|
|
442
|
+
"dct:creator": {
|
|
443
443
|
type: string;
|
|
444
444
|
voc: string;
|
|
445
445
|
label: string;
|
|
446
446
|
};
|
|
447
|
-
|
|
447
|
+
"dct:language": {
|
|
448
448
|
type: string;
|
|
449
449
|
voc: string;
|
|
450
450
|
label: string;
|
|
451
451
|
};
|
|
452
|
-
|
|
452
|
+
"dct:subject": {
|
|
453
453
|
type: string;
|
|
454
454
|
voc: string;
|
|
455
455
|
label: string;
|
|
456
456
|
};
|
|
457
|
-
|
|
457
|
+
"dcat:theme": {
|
|
458
458
|
type: string;
|
|
459
459
|
voc: string;
|
|
460
460
|
label: string;
|
|
461
461
|
};
|
|
462
|
-
|
|
462
|
+
"dct:type": {
|
|
463
463
|
type: string;
|
|
464
464
|
voc: string;
|
|
465
465
|
label: string;
|
|
466
466
|
};
|
|
467
|
-
|
|
467
|
+
"dct:source": {
|
|
468
468
|
type: string;
|
|
469
469
|
voc: string;
|
|
470
470
|
label: string;
|
|
471
471
|
};
|
|
472
|
-
|
|
472
|
+
"dct:identifier": {
|
|
473
473
|
type: string;
|
|
474
474
|
voc: string;
|
|
475
475
|
label: string;
|
|
476
476
|
};
|
|
477
|
-
|
|
477
|
+
"adms:identifier": {
|
|
478
478
|
type: string;
|
|
479
479
|
voc: string;
|
|
480
480
|
label: string;
|
|
481
481
|
};
|
|
482
|
-
|
|
482
|
+
"foaf:page": {
|
|
483
483
|
type: string;
|
|
484
484
|
voc: string;
|
|
485
485
|
label: string;
|
|
486
486
|
};
|
|
487
|
-
|
|
487
|
+
"dcat:landingPage": {
|
|
488
488
|
type: string;
|
|
489
489
|
voc: string;
|
|
490
490
|
label: string;
|
|
491
491
|
};
|
|
492
|
-
|
|
492
|
+
"dct:provenance": {
|
|
493
493
|
type: string;
|
|
494
494
|
voc: string;
|
|
495
495
|
label: string;
|
|
496
496
|
};
|
|
497
|
-
|
|
497
|
+
"dct:accrualPeriodicity": {
|
|
498
498
|
type: string;
|
|
499
499
|
voc: string;
|
|
500
500
|
label: string;
|
|
501
501
|
};
|
|
502
|
-
|
|
502
|
+
"dct:accessRights": {
|
|
503
503
|
type: string;
|
|
504
504
|
voc: string;
|
|
505
505
|
label: string;
|
|
506
506
|
};
|
|
507
|
-
|
|
507
|
+
"dct:conformsTo": {
|
|
508
508
|
type: string;
|
|
509
509
|
voc: string;
|
|
510
510
|
label: string;
|
|
511
511
|
};
|
|
512
|
-
|
|
512
|
+
"dct:relation": {
|
|
513
513
|
type: string;
|
|
514
514
|
voc: string;
|
|
515
515
|
label: string;
|
|
516
516
|
};
|
|
517
|
-
|
|
517
|
+
"dcat:qualifiedRelation": {
|
|
518
518
|
type: string;
|
|
519
519
|
voc: string;
|
|
520
520
|
label: string;
|
|
521
521
|
};
|
|
522
|
-
|
|
522
|
+
"prov:qualifiedAttribution": {
|
|
523
523
|
type: string;
|
|
524
524
|
voc: string;
|
|
525
525
|
label: string;
|
|
526
526
|
};
|
|
527
|
-
|
|
527
|
+
"dct:spatial": {
|
|
528
528
|
type: string;
|
|
529
529
|
voc: string;
|
|
530
530
|
label: string;
|
|
531
531
|
};
|
|
532
|
-
|
|
532
|
+
"dcat:spatialResolutionInMeters": {
|
|
533
533
|
type: string;
|
|
534
534
|
voc: string;
|
|
535
535
|
label: string;
|
|
536
536
|
};
|
|
537
|
-
|
|
537
|
+
"dct:temporal": {
|
|
538
538
|
type: string;
|
|
539
539
|
voc: string;
|
|
540
540
|
label: string;
|
|
541
541
|
};
|
|
542
|
-
|
|
542
|
+
"dcat:temporalResolution": {
|
|
543
543
|
type: string;
|
|
544
544
|
voc: string;
|
|
545
545
|
label: string;
|
|
546
546
|
};
|
|
547
|
-
|
|
547
|
+
"dct:isReferencedBy": {
|
|
548
548
|
type: string;
|
|
549
549
|
voc: string;
|
|
550
550
|
label: string;
|
|
551
551
|
};
|
|
552
|
-
|
|
552
|
+
"prov:wasGeneratedBy": {
|
|
553
553
|
type: string;
|
|
554
554
|
voc: string;
|
|
555
555
|
label: string;
|
|
556
556
|
};
|
|
557
|
-
|
|
557
|
+
"dct:isVersionOf": {
|
|
558
558
|
type: string;
|
|
559
559
|
voc: string;
|
|
560
560
|
label: string;
|
|
561
561
|
};
|
|
562
|
-
|
|
562
|
+
"dext:metadataExtension": {
|
|
563
563
|
type: string;
|
|
564
564
|
voc: string;
|
|
565
565
|
label: string;
|
|
566
566
|
};
|
|
567
|
-
|
|
567
|
+
"dct:hasVersion": {
|
|
568
568
|
type: string;
|
|
569
569
|
voc: string;
|
|
570
570
|
label: string;
|
|
571
571
|
};
|
|
572
|
-
|
|
572
|
+
"owl:versionInfo": {
|
|
573
573
|
type: string;
|
|
574
574
|
voc: string;
|
|
575
575
|
label: string;
|
|
576
576
|
};
|
|
577
|
-
|
|
577
|
+
"adms:versionNotes": {
|
|
578
578
|
type: string;
|
|
579
579
|
voc: string;
|
|
580
580
|
label: string;
|
|
581
581
|
};
|
|
582
|
-
|
|
582
|
+
"dcatde:qualityProcessURI": {
|
|
583
583
|
type: string;
|
|
584
584
|
voc: string;
|
|
585
585
|
label: string;
|
|
586
586
|
};
|
|
587
|
-
|
|
587
|
+
"dct:references": {
|
|
588
588
|
type: string;
|
|
589
589
|
voc: string;
|
|
590
590
|
label: string;
|
|
591
591
|
};
|
|
592
|
-
|
|
592
|
+
"dcatde:legalBasis": {
|
|
593
593
|
type: string;
|
|
594
594
|
voc: string;
|
|
595
595
|
label: string;
|
|
596
596
|
};
|
|
597
|
-
|
|
597
|
+
"dct:contributor": {
|
|
598
598
|
type: string;
|
|
599
599
|
voc: string;
|
|
600
600
|
label: string;
|
|
601
601
|
};
|
|
602
|
-
|
|
602
|
+
"dcatde:contributorID": {
|
|
603
603
|
type: string;
|
|
604
604
|
voc: string;
|
|
605
605
|
label: string;
|
|
606
606
|
};
|
|
607
|
-
|
|
607
|
+
"dcatde:originator": {
|
|
608
608
|
type: string;
|
|
609
609
|
voc: string;
|
|
610
610
|
label: string;
|
|
611
611
|
};
|
|
612
|
-
|
|
612
|
+
"dcatde:maintainer": {
|
|
613
613
|
type: string;
|
|
614
614
|
voc: string;
|
|
615
615
|
label: string;
|
|
616
616
|
};
|
|
617
|
-
|
|
617
|
+
"dcatap:availability": {
|
|
618
618
|
type: string;
|
|
619
619
|
voc: string;
|
|
620
620
|
label: string;
|
|
621
621
|
};
|
|
622
|
-
|
|
622
|
+
"dcatde:geocodingDescription": {
|
|
623
623
|
type: string;
|
|
624
624
|
voc: string;
|
|
625
625
|
label: string;
|
|
626
626
|
};
|
|
627
|
-
|
|
627
|
+
"dcatde:politicalGeocodingLevelURI": {
|
|
628
628
|
type: string;
|
|
629
629
|
voc: string;
|
|
630
630
|
label: string;
|
|
631
631
|
};
|
|
632
|
-
|
|
632
|
+
"dcatde:politicalGeocodingURI": {
|
|
633
633
|
type: string;
|
|
634
634
|
voc: string;
|
|
635
635
|
label: string;
|
|
@@ -15,9 +15,13 @@ const x = { class: "formkitProperty" }, h = { key: 0 }, _ = { key: 1 }, b = { cl
|
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
return (o, e) => (i(), r("div", x, [
|
|
18
|
-
!t.context.attrs.insideRepeatable && !n(a) ? (i(), r("h4", h, s(o.$t(
|
|
18
|
+
!t.context.attrs.insideRepeatable && !n(a) ? (i(), r("h4", h, s(o.$t(
|
|
19
|
+
"message.dataupload.datasets." + t.context.attrs.identifier + ".label"
|
|
20
|
+
)), 1)) : l("", !0),
|
|
19
21
|
e[0] || (e[0] = d()),
|
|
20
|
-
n(a) ? (i(), r("h4", _, s(o.$t(
|
|
22
|
+
n(a) ? (i(), r("h4", _, s(o.$t(
|
|
23
|
+
"message.dataupload.distributions." + t.context.attrs.identifier + ".label"
|
|
24
|
+
)), 1)) : l("", !0),
|
|
21
25
|
e[1] || (e[1] = d()),
|
|
22
26
|
m("div", b, [
|
|
23
27
|
u(n(f), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/SimpleInput.vue"],"sourcesContent":["<template>\n
|
|
1
|
+
{"version":3,"file":"SimpleInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/SimpleInput.vue"],"sourcesContent":["<template>\n <div class=\"formkitProperty\">\n <h4 v-if=\"!props.context.attrs.insideRepeatable && !inDis\">\n {{\n $t(\n \"message.dataupload.datasets.\" +\n props.context.attrs.identifier +\n \".label\"\n )\n }}\n </h4>\n <h4 v-if=\"inDis\">\n {{\n $t(\n \"message.dataupload.distributions.\" +\n props.context.attrs.identifier +\n \".label\"\n )\n }}\n </h4>\n <div class=\"position-relative formkitCmpWrap\">\n <FormKit\n class=\"autocompleteInputfield\"\n :identifier=\"props.context.attrs.identifier\"\n :name=\"props.context.node.name\"\n :help=\"props.context.help\"\n :placeholder=\"props.context.attrs.placeholder\"\n :validation=\"props.context.attrs.validationType\"\n />\n </div>\n </div>\n</template>\n<script setup>\nimport { FormKit } from \"@formkit/vue\";\nimport { ref, computed } from \"vue\";\n\nconst props = defineProps({\n context: Object,\n});\n// console.log(props.context);\n// Need to make sure, that the right header gets displayed\nlet inDis = computed(() => {\n try {\n if (props.context.attrs.class.includes(\"inDistribution\")) {\n return true;\n }\n } catch (error) {}\n});\n</script>\n<style></style>\n"],"names":["props","__props","inDis","computed"],"mappings":";;;;;;;;AAoCA,UAAMA,IAAQC;QAKVC,IAAQC,EAAS,MAAM;AACzB,UAAI;AACF,YAAIH,EAAM,QAAQ,MAAM,MAAM,SAAS,gBAAgB;AACrD,iBAAO;AAAA,MAEb,QAAkB;AAAA,MAAC;AAAA,IACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
const t = {
|
|
2
2
|
datasets: [
|
|
3
|
-
"dct:publisher",
|
|
4
3
|
"dct:accrualPeriodicity",
|
|
5
4
|
"dct:accessRights",
|
|
6
5
|
"dct:type",
|
|
@@ -15,8 +14,12 @@ const t = {
|
|
|
15
14
|
// creator
|
|
16
15
|
"foaf:homepage",
|
|
17
16
|
// creator
|
|
18
|
-
"dct:format"
|
|
17
|
+
"dct:format",
|
|
19
18
|
// page
|
|
19
|
+
"dct:Relation",
|
|
20
|
+
// qualifiedRelation
|
|
21
|
+
"dcat:hadRole"
|
|
22
|
+
//qualifiedRelation
|
|
20
23
|
],
|
|
21
24
|
distributions: [
|
|
22
25
|
"dct:format",
|
|
@@ -37,7 +40,6 @@ const t = {
|
|
|
37
40
|
catalogues: [
|
|
38
41
|
"foaf:homepage",
|
|
39
42
|
// homepage and creator
|
|
40
|
-
"dct:publisher",
|
|
41
43
|
"dct:isPartOf",
|
|
42
44
|
// singular URIs nested within other properties
|
|
43
45
|
"foaf:mbox",
|
|
@@ -56,7 +58,6 @@ const t = {
|
|
|
56
58
|
"dct:source",
|
|
57
59
|
"dcat:landingPage",
|
|
58
60
|
"dct:relation",
|
|
59
|
-
"dcat:qualifiedRelation",
|
|
60
61
|
"prov:qualifiedAttribution",
|
|
61
62
|
"dct:isReferencedBy",
|
|
62
63
|
"prov:wasGeneratedBy",
|
|
@@ -69,12 +70,7 @@ const t = {
|
|
|
69
70
|
"dct:language",
|
|
70
71
|
"odrl:hasPolicy"
|
|
71
72
|
],
|
|
72
|
-
catalogues: [
|
|
73
|
-
"dct:hasPart",
|
|
74
|
-
"dct:spatial",
|
|
75
|
-
"dcat:catalog",
|
|
76
|
-
"dct:language"
|
|
77
|
-
]
|
|
73
|
+
catalogues: ["dct:hasPart", "dct:spatial", "dcat:catalog", "dct:language"]
|
|
78
74
|
}, c = {
|
|
79
75
|
datasets: [
|
|
80
76
|
"dct:issued",
|
|
@@ -147,10 +143,7 @@ const t = {
|
|
|
147
143
|
"dct:description"
|
|
148
144
|
// also nested within page
|
|
149
145
|
],
|
|
150
|
-
catalogues: [
|
|
151
|
-
"dct:title",
|
|
152
|
-
"dct:description"
|
|
153
|
-
]
|
|
146
|
+
catalogues: ["dct:title", "dct:description"]
|
|
154
147
|
}, s = {
|
|
155
148
|
datasets: [
|
|
156
149
|
"dcat:contactPoint",
|
|
@@ -163,7 +156,9 @@ const t = {
|
|
|
163
156
|
"adms:identifier",
|
|
164
157
|
// nested grouped properties
|
|
165
158
|
"vcard:hasAddress",
|
|
166
|
-
"skos:notation"
|
|
159
|
+
"skos:notation",
|
|
160
|
+
"dcat:qualifiedRelation",
|
|
161
|
+
"dcat:Relationship"
|
|
167
162
|
],
|
|
168
163
|
distributions: [
|
|
169
164
|
"foaf:page",
|
|
@@ -171,18 +166,11 @@ const t = {
|
|
|
171
166
|
"spdx:checksum",
|
|
172
167
|
"dct:conformsTo"
|
|
173
168
|
],
|
|
174
|
-
catalogues: [
|
|
175
|
-
"dct:creator",
|
|
176
|
-
"dct:conformsTo"
|
|
177
|
-
]
|
|
169
|
+
catalogues: ["dct:creator", "dct:conformsTo"]
|
|
178
170
|
}, o = {
|
|
179
|
-
datasets: [],
|
|
180
|
-
distributions: [
|
|
181
|
-
|
|
182
|
-
],
|
|
183
|
-
catalogues: [
|
|
184
|
-
"dct:license"
|
|
185
|
-
]
|
|
171
|
+
datasets: ["dct:publisher"],
|
|
172
|
+
distributions: ["dct:license"],
|
|
173
|
+
catalogues: ["dct:publisher", "dct:license"]
|
|
186
174
|
}, i = {
|
|
187
175
|
"dct:temporal": "dct:PeriodOfTime",
|
|
188
176
|
"dct:conformsTo": "dct:Standard",
|
|
@@ -191,7 +179,9 @@ const t = {
|
|
|
191
179
|
"dext:metadataExtension": "dext:MetadataExtension",
|
|
192
180
|
"spdx:checksum": "spdx:Checksum",
|
|
193
181
|
"dcat:accessService": "dcat:DataService",
|
|
194
|
-
"dct:license": "dct:LicenseDocument"
|
|
182
|
+
"dct:license": "dct:LicenseDocument",
|
|
183
|
+
"dcat:qualifiedRelation": "dcat:Relationship",
|
|
184
|
+
"dct:publisher": "foaf:Agent"
|
|
195
185
|
}, r = {
|
|
196
186
|
// {'name': '', 'resource': ''} mainly needed for vocabulary data
|
|
197
187
|
voc: [
|
|
@@ -233,12 +223,12 @@ const t = {
|
|
|
233
223
|
"dct:source",
|
|
234
224
|
"dcat:landingPage",
|
|
235
225
|
"dct:relation",
|
|
236
|
-
"dcat:qualifiedRelation",
|
|
237
226
|
"prov:qualifiedAttribution",
|
|
238
227
|
"dct:isReferencedBy",
|
|
239
228
|
"prov:wasGeneratedBy",
|
|
240
229
|
"dct:isVersionOf",
|
|
241
|
-
"dct:hasVersion"
|
|
230
|
+
"dct:hasVersion",
|
|
231
|
+
"dct:Relation"
|
|
242
232
|
]
|
|
243
233
|
}, n = {
|
|
244
234
|
singularURI: t,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format-types.mjs","sources":["../../../../lib/data-provider-interface/config/dcatap/format-types.js"],"sourcesContent":["// all properties which value is a single URI\nconst singularURI = {\n
|
|
1
|
+
{"version":3,"file":"format-types.mjs","sources":["../../../../lib/data-provider-interface/config/dcatap/format-types.js"],"sourcesContent":["// all properties which value is a single URI\nconst singularURI = {\n datasets: [\n \n \"dct:accrualPeriodicity\",\n \"dct:accessRights\",\n \"dct:type\",\n // singular URIs nested within other properties\n \"vcard:hasEmail\", // contact point\n \"vcard:hasURL\", // contect point\n \"dext:isUsedBy\", // isUsedBy\n \"foaf:mbox\", // creator\n \"foaf:homepage\", // creator\n \"dct:format\", // page\n \"dct:Relation\", // qualifiedRelation\n \"dcat:hadRole\", //qualifiedRelation\n ],\n distributions: [\n \"dct:format\",\n \"dct:type\",\n \"dcat:mediaType\",\n \"dcatap:availability\",\n \"dcat:compressFormat\",\n \"dcat:packageFormat\",\n \"adms:status\",\n // singular URIs nested within other properties\n \"spdx:algorithm\", // checksum\n \"dcat:endpointURL\", // accessservice\n \"skos:exactMatch\", // license\n ],\n catalogues: [\n \"foaf:homepage\", // homepage and creator\n \n \"dct:isPartOf\",\n // singular URIs nested within other properties\n \"foaf:mbox\", // creator\n \"dct:format\", // page\n \"skos:exactMatch\", // license\n ],\n};\n\n// all properties with multiple URI values\nconst multipleURI = {\n datasets: [\n \"dct:language\",\n \"dct:subject\",\n \"dcat:theme\",\n \"dct:spatial\",\n \"dct:source\",\n \"dcat:landingPage\",\n \"dct:relation\",\n \"prov:qualifiedAttribution\",\n \"dct:isReferencedBy\",\n \"prov:wasGeneratedBy\",\n \"dct:isVersionOf\",\n \"dct:hasVersion\",\n ],\n distributions: [\n \"dcat:accessURL\",\n \"dcat:downloadURL\",\n \"dct:language\",\n \"odrl:hasPolicy\",\n ],\n catalogues: [\"dct:hasPart\", \"dct:spatial\", \"dcat:catalog\", \"dct:language\"],\n};\n\n// all properties which are typed strings\nconst typedStrings = {\n datasets: [\n \"dct:issued\",\n \"dct:modified\",\n \"dcat:spatialResolutionInMeters\",\n // nested typed strings\n \"dcat:endDate\",\n \"dcat:startDate\",\n ],\n distributions: [\n \"dct:issued\",\n \"dct:modified\",\n \"dcat:spatialResolutionInMeters\",\n \"dcat:byteSize\",\n ],\n catalogues: [],\n};\n\n// all properties with a singular string\nconst singularString = {\n datasets: [\n \"owl:versionInfo\",\n // nested singulat strings\n \"vcard:fn\", // contactPoint\n \"vcard:hasOrganizationName\", // contactPoint\n \"vcard:hasTelephone\", // contactPoint\n \"vcard:country_name\", // hasAddress\n \"vcard:locality\", // hasAddress\n \"vcard:postal_code\", // hasAddress\n \"vcard:street_address\", // hasAddress\n \"rdfs:label\", // conformsTo and provenance\n \"foaf:name\", // creator\n \n ],\n distributions: [\n // nested singular string\n \"spdx:checksumValue\", //checksum\n \"rdfs:label\", // rights !!!\n \"skos:prefLabel\", //license\n ],\n catalogues: [\n // nested singular strings\n \"rdfs:label\", // conformsTo and rights\n \"foaf:name\", // creator\n \"skos:prefLabel\", // license\n ],\n};\n\n// all properties which can be provided in different languages\nconst multilingualStrings = {\n datasets: [\n \"dct:title\", // also nested within page\n \"dct:description\", // also nested within page\n \"dcat:keyword\",\n \"adms:versionNotes\",\n ],\n distributions: [\n \"dct:title\", // also nested within page\n \"dct:description\", // also nested within page\n ],\n catalogues: [\"dct:title\", \"dct:description\"],\n};\n\n// all properties which contain grouped values\nconst groupedProperties = {\n datasets: [\n \"dcat:contactPoint\",\n \"dct:creator\",\n \"dext:metadataExtension\",\n \"dct:provenance\",\n \"dct:conformsTo\",\n \"foaf:page\",\n \"dct:temporal\",\n \"adms:identifier\",\n // nested grouped properties\n \"vcard:hasAddress\",\n \"skos:notation\",\n \"dcat:qualifiedRelation\",\n \"dcat:Relationship\",\n ],\n distributions: [\n \"foaf:page\",\n \"dcat:accessService\",\n \"spdx:checksum\",\n \"dct:conformsTo\",\n ],\n catalogues: [\"dct:creator\", \"dct:conformsTo\"],\n};\n\n// for properties with dynamic input type\nconst conditionalProperties = {\n datasets: ['dct:publisher',],\n distributions: [\"dct:license\"],\n catalogues: ['dct:publisher',\"dct:license\"],\n};\n\n// some properties have additional statement included which must be added to the linked data\nconst additionalPropertyTypes = {\n \"dct:temporal\": \"dct:PeriodOfTime\",\n \"dct:conformsTo\": \"dct:Standard\",\n \"foaf:page\": \"foaf:Document\",\n \"dct:provenance\": \"dct:ProvenanceStatement\",\n \"dext:metadataExtension\": \"dext:MetadataExtension\",\n \"spdx:checksum\": \"spdx:Checksum\",\n \"dcat:accessService\": \"dcat:DataService\",\n \"dct:license\": \"dct:LicenseDocument\",\n \"dcat:qualifiedRelation\": \"dcat:Relationship\",\n 'dct:publisher': 'foaf:Agent',\n};\n\n// some inputs need URIs in diefferent formats\nconst URIformat = {\n // {'name': '', 'resource': ''} mainly needed for vocabulary data\n voc: [\n \"dct:publisher\",\n \"dcat:theme\",\n \"dct:accrualPeriodicity\",\n \"dct:accessRights\",\n \"dct:type\",\n \"dct:format\",\n \"dcat:mediaType\",\n \"dcatap:availability\",\n \"dcat:compressFormat\",\n \"dcat:packageFormat\",\n \"spdx:algorithm\",\n \"dct:subject\",\n \"dct:language\",\n \"adms:status\",\n \"dct:spatial\",\n ],\n // 'URI' mainly used for mail addresses\n string: [\n \"vcard:hasEmail\",\n \"vcard:hasURL\",\n \"foaf:mbox\",\n \"skos:exactMatch\",\n \"foaf:homepage\",\n \"dext:isUsedBy\",\n \"dcat:endpointURL\",\n \"dct:isPartOf\",\n ],\n // {'@id': ''} mainly used for repeated links\n id: [\n \"dct:source\",\n \"dcat:accessURL\",\n \"dcat:downloadURL\",\n \"odrl:hasPolicy\",\n \"dct:hasPart\",\n \"dcat:catalog\",\n \"dct:source\",\n \"dcat:landingPage\",\n \"dct:relation\",\n \"prov:qualifiedAttribution\",\n \"dct:isReferencedBy\",\n \"prov:wasGeneratedBy\",\n \"dct:isVersionOf\",\n \"dct:hasVersion\",\n \"dct:Relation\",\n ],\n};\n\nexport default {\n singularURI,\n multipleURI,\n typedStrings,\n singularString,\n multilingualStrings,\n groupedProperties,\n additionalPropertyTypes,\n conditionalProperties,\n URIformat,\n};\n"],"names":["singularURI","multipleURI","typedStrings","singularString","multilingualStrings","groupedProperties","conditionalProperties","additionalPropertyTypes","URIformat","formatTypes"],"mappings":"AACA,MAAMA,IAAc;AAAA,EAClB,UAAU;AAAA,IAER;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACC;AAAA;AAAA,EACF;AAAA,EACD,eAAe;AAAA,IACb;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,EACD;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,EACA,gBAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,yBAAAE;AAAA,EACA,uBAAAD;AAAA,EACA,WAAAE;AACF;"}
|
|
@@ -3,12 +3,12 @@ import { FormKitSchemaDefinition } from '@formkit/core';
|
|
|
3
3
|
/**
|
|
4
4
|
* Available properties for datasets.
|
|
5
5
|
*/
|
|
6
|
-
export type DcatApDatasetsProperty =
|
|
6
|
+
export type DcatApDatasetsProperty = "datasetID" | "overview" | "description" | "title" | "contactPoint" | "subject" | "keyword" | "publisher" | "spatial" | "temporal" | "theme" | "accessRights" | "creator" | "conformsTo" | "page" | "accrualPeriodicity" | "hasVersion" | "isVersionOf" | "source" | "identifier" | "isReferencedBy" | "landingPage" | "language" | "admsIdentifier" | "provenance" | "qualifiedAttribution" | "wasGeneratedBy" | "qualifiedRelation" | "relation" | "issued" | "modified" | "spatialResolutionInMeters" | "temporalResolution" | "type" | "versionInfo" | "versionNotes" | "catalog" | "isUsedBy";
|
|
7
7
|
/**
|
|
8
8
|
* Available properties for distributions.
|
|
9
9
|
*/
|
|
10
|
-
export type DcatApDistributionsProperty =
|
|
11
|
-
export type DcatApCataloguesProperty =
|
|
10
|
+
export type DcatApDistributionsProperty = "accessURL" | "availability" | "description" | "format" | "title" | "byteSize" | "conformsTo" | "issued" | "modified" | "rights" | "spatialResolutionInMeters" | "temporalResolution" | "mediaType" | "downloadUrl" | "accessService" | "checksum" | "compressFormat" | "packageFormat" | "page" | "hasPolicy" | "language" | "licence" | "conformsTo" | "issued" | "modified" | "rights" | "spatialResolutionInMeters" | "temporalResolution" | "type" | "status";
|
|
11
|
+
export type DcatApCataloguesProperty = "datasetID" | "overview" | "title" | "description" | "publisher" | "language" | "licence" | "spatial" | "homepage" | "hasPart" | "isPartOf" | "rights" | "catalog" | "creator";
|
|
12
12
|
export type InputDefinition = {
|
|
13
13
|
datasets: Record<DcatApDatasetsProperty, FormKitSchemaDefinition>;
|
|
14
14
|
distributions: Record<DcatApDistributionsProperty, FormKitSchemaDefinition>;
|
|
@@ -244,12 +244,12 @@ const t = {
|
|
|
244
244
|
]
|
|
245
245
|
},
|
|
246
246
|
publisher: {
|
|
247
|
-
$formkit: "
|
|
247
|
+
$formkit: "simpleConditional",
|
|
248
|
+
name: "dct:publisher",
|
|
248
249
|
identifier: "publisher",
|
|
249
250
|
voc: "corporate-body",
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
name: "dct:publisher"
|
|
251
|
+
options: { text: "foaf:name", email: "foaf:mbox", url: "foaf:homepage" },
|
|
252
|
+
selection: { 1: "vocabulary", 2: "manually" }
|
|
253
253
|
},
|
|
254
254
|
spatial: {
|
|
255
255
|
identifier: "spatial",
|
|
@@ -755,14 +755,23 @@ const t = {
|
|
|
755
755
|
name: "dcat:qualifiedRelation",
|
|
756
756
|
children: [
|
|
757
757
|
{
|
|
758
|
-
$formkit: "group",
|
|
759
758
|
identifier: "qualifiedRelation",
|
|
759
|
+
$formkit: "group",
|
|
760
760
|
name: "dcat:qualifiedRelation",
|
|
761
761
|
children: [
|
|
762
762
|
{
|
|
763
|
-
identifier: "
|
|
763
|
+
identifier: "qRelationUrl",
|
|
764
764
|
$formkit: "url",
|
|
765
|
-
name: "
|
|
765
|
+
name: "dct:Relation",
|
|
766
|
+
validation: "optional|url",
|
|
767
|
+
classes: {
|
|
768
|
+
outer: "w100-textfield"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
identifier: "qRelationRole",
|
|
773
|
+
$formkit: "url",
|
|
774
|
+
name: "dcat:hadRole",
|
|
766
775
|
validation: "optional|url",
|
|
767
776
|
classes: {
|
|
768
777
|
outer: "w100-textfield"
|
|
@@ -1085,7 +1094,11 @@ const t = {
|
|
|
1085
1094
|
identifier: "licence",
|
|
1086
1095
|
voc: "licence",
|
|
1087
1096
|
class: "property inDistribution",
|
|
1088
|
-
options: {
|
|
1097
|
+
options: {
|
|
1098
|
+
text: "dct:title",
|
|
1099
|
+
textarea: "skos:prefLabel",
|
|
1100
|
+
url: "skos:exactMatch"
|
|
1101
|
+
},
|
|
1089
1102
|
selection: { 1: "vocabulary", 2: "manually" }
|
|
1090
1103
|
},
|
|
1091
1104
|
title: {
|
|
@@ -1663,11 +1676,12 @@ const t = {
|
|
|
1663
1676
|
]
|
|
1664
1677
|
},
|
|
1665
1678
|
publisher: {
|
|
1666
|
-
$formkit: "
|
|
1679
|
+
$formkit: "simpleConditional",
|
|
1667
1680
|
identifier: "publisher",
|
|
1668
1681
|
name: "dct:publisher",
|
|
1669
1682
|
voc: "corporate-body",
|
|
1670
|
-
|
|
1683
|
+
options: { text: "foaf:name", email: "foaf:mbox", url: "foaf:homepage" },
|
|
1684
|
+
selection: { 1: "vocabulary", 2: "manually" }
|
|
1671
1685
|
},
|
|
1672
1686
|
language: {
|
|
1673
1687
|
identifier: "language",
|
|
@@ -1682,7 +1696,11 @@ const t = {
|
|
|
1682
1696
|
name: "dct:license",
|
|
1683
1697
|
identifier: "licence",
|
|
1684
1698
|
voc: "licence",
|
|
1685
|
-
options: {
|
|
1699
|
+
options: {
|
|
1700
|
+
text: "dct:title",
|
|
1701
|
+
textarea: "skos:prefLabel",
|
|
1702
|
+
url: "skos:exactMatch"
|
|
1703
|
+
},
|
|
1686
1704
|
selection: { 1: "vocabulary", 2: "manually" }
|
|
1687
1705
|
},
|
|
1688
1706
|
spatial: {
|