@piveau/piveau-hub-ui-modules 4.4.0-beta.2 → 4.4.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/dist/catalogues/CatalogPage.vue.mjs +23 -22
- package/dist/catalogues/CatalogPage.vue.mjs.map +1 -1
- package/dist/composables/head/useDatasetDetailsDatasetHead.mjs +19 -15
- package/dist/composables/head/useDatasetDetailsDatasetHead.mjs.map +1 -1
- package/dist/composables/useRuntimeEnv.d.ts +1 -1
- package/dist/configurations/config-schema/apiSchema.d.ts +3 -3
- package/dist/configurations/config-schema/apiSchema.mjs +1 -1
- package/dist/configurations/config-schema/apiSchema.mjs.map +1 -1
- package/dist/configurations/config-schema/configSchema.d.ts +5 -5
- package/dist/data-provider-interface/DPIMenu.vue.d.ts +2 -2
- package/dist/data-provider-interface/DPIMenu.vue.mjs +3 -3
- package/dist/data-provider-interface/DPIMenu.vue.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +29 -7
- package/dist/data-provider-interface/DataProviderInterface.vue.mjs +12 -69
- package/dist/data-provider-interface/DataProviderInterface.vue.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue2.mjs +91 -2
- package/dist/data-provider-interface/DataProviderInterface.vue2.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue3.mjs +5 -0
- package/dist/data-provider-interface/DataProviderInterface.vue3.mjs.map +1 -0
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs +66 -65
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +127 -115
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.mjs +25 -19
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/FileUpload.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/Navigation.vue.d.ts +5 -5
- package/dist/data-provider-interface/composables/index.d.ts +2 -0
- package/dist/data-provider-interface/composables/useDpiContext.d.ts +17 -0
- package/dist/data-provider-interface/composables/useDpiContext.mjs +19 -0
- package/dist/data-provider-interface/composables/useDpiContext.mjs.map +1 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.d.ts +16 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.mjs +41 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.mjs.map +1 -0
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs +28 -2
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs +5 -2
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/config/dpi-spec-config.mjs +1 -0
- package/dist/data-provider-interface/config/dpi-spec-config.mjs.map +1 -1
- package/dist/data-provider-interface/index.d.ts +2 -0
- package/dist/data-provider-interface/index.mjs +11 -0
- package/dist/data-provider-interface/index.mjs.map +1 -0
- package/dist/data-provider-interface/store/dpiStore.d.ts +31 -15
- package/dist/data-provider-interface/store/dpiStore.mjs +30 -13
- package/dist/data-provider-interface/store/dpiStore.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/autocompleteStore.d.ts +3 -1
- package/dist/data-provider-interface/store/modules/autocompleteStore.mjs +28 -29
- package/dist/data-provider-interface/store/modules/autocompleteStore.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/conversionStore.d.ts +6 -6
- package/dist/data-provider-interface/store/modules/conversionStore.mjs +21 -22
- package/dist/data-provider-interface/store/modules/conversionStore.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/formSchemaStore.d.ts +5 -3
- package/dist/data-provider-interface/store/modules/formSchemaStore.mjs +29 -29
- package/dist/data-provider-interface/store/modules/formSchemaStore.mjs.map +1 -1
- package/dist/data-provider-interface/store/modules/navigationStore.d.ts +1 -1
- package/dist/data-provider-interface/store/modules/navigationStore.mjs +13 -14
- package/dist/data-provider-interface/store/modules/navigationStore.mjs.map +1 -1
- package/dist/data-provider-interface/utils/RDFconverter.mjs +63 -60
- package/dist/data-provider-interface/utils/RDFconverter.mjs.map +1 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +2 -2
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +3 -3
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.mjs +1 -1
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +1 -1
- package/dist/datasetDetails/DatasetDetails.vue.d.ts +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue2.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsDescription.vue.d.ts +1 -1
- package/dist/datasetDetails/distributions/Distribution.vue.mjs +45 -43
- package/dist/datasetDetails/distributions/Distribution.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DistributionFormat.vue.d.ts +3 -3
- package/dist/datasetDetails/distributions/DownloadAllDistributions.vue.d.ts +2 -2
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.d.ts +1 -0
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs +18 -14
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.d.ts +3 -3
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.mjs +68 -57
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue2.mjs +2 -2
- package/dist/datasetDetails/header/DatasetDetailsHeaderTitle.vue.d.ts +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigation.vue.d.ts +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.d.ts +1 -1
- package/dist/embed/EmbedDataset.vue.d.ts +1 -1
- package/dist/embed/EmbedDatasetSnippet.vue.d.ts +2 -2
- package/dist/external/@vueuse/core/index +129 -80
- package/dist/external/@vueuse/core/index.map +1 -1
- package/dist/external/@vueuse/shared/index +121 -17
- package/dist/external/@vueuse/shared/index.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +250 -248
- package/dist/index.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/dist/services/datasetService.d.ts +1 -1
- package/dist/services/datasetService.mjs +2 -2
- package/dist/services/datasetService.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { getCurrentInstance as n, inject as i, provide as r, computed as u, toValue as p } from "vue";
|
|
2
|
+
const o = Symbol("dpiContext");
|
|
3
|
+
function c() {
|
|
4
|
+
if (!n())
|
|
5
|
+
throw new Error("[useDpiContext] useDpiContext must be used inside a setup function");
|
|
6
|
+
const e = i(o);
|
|
7
|
+
if (!e)
|
|
8
|
+
throw new Error("[useDpiContext] DPI Context not found. Did you forget to inject it?");
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
function x(t) {
|
|
12
|
+
r(o, u(() => p(t)));
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
o as dpiContextKey,
|
|
16
|
+
x as setupDpiContext,
|
|
17
|
+
c as useDpiContext
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=useDpiContext.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDpiContext.mjs","sources":["../../../lib/data-provider-interface/composables/useDpiContext.ts"],"sourcesContent":["import { FormKitLibrary } from \"@formkit/core\"\nimport { computed, ComputedRef, getCurrentInstance, inject, InjectionKey, MaybeRefOrGetter, provide, toValue } from \"vue\"\n\nexport interface DpiSpecification {\n pageConent?: object\n inputDefinition: object\n prefixes: object\n formatTypes: object\n vocabPrefixes: object\n}\n\nexport interface DpiContext {\n specification: DpiSpecification\n specificationName: string\n}\n\nexport type ComputedDpiContext = ComputedRef<DpiContext>\n\nexport const dpiContextKey: InjectionKey<ComputedDpiContext> = Symbol('dpiContext')\n\nexport function useDpiContext(): ComputedDpiContext {\n const vm = getCurrentInstance();\n if (!vm) throw new Error('[useDpiContext] useDpiContext must be used inside a setup function')\n\n const dpiContext = inject(dpiContextKey)\n\n if (!dpiContext) {\n throw new Error('[useDpiContext] DPI Context not found. Did you forget to inject it?')\n }\n\n return dpiContext\n}\n\nexport function setupDpiContext(context: MaybeRefOrGetter<DpiContext>) {\n provide(dpiContextKey, computed(() => toValue(context)))\n}"],"names":["dpiContextKey","useDpiContext","getCurrentInstance","dpiContext","inject","setupDpiContext","context","provide","computed","toValue"],"mappings":";AAkBa,MAAAA,IAAkD,OAAO,YAAY;AAE3E,SAASC,IAAoC;AAElD,MAAI,CADOC;AACI,UAAA,IAAI,MAAM,oEAAoE;AAEvF,QAAAC,IAAaC,EAAOJ,CAAa;AAEvC,MAAI,CAACG;AACG,UAAA,IAAI,MAAM,qEAAqE;AAGhF,SAAAA;AACT;AAEO,SAASE,EAAgBC,GAAuC;AACrE,EAAAC,EAAQP,GAAeQ,EAAS,MAAMC,EAAQH,CAAO,CAAC,CAAC;AACzD;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DpiContext } from './useDpiContext';
|
|
2
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Use this composable in the DataProviderInterface to fetch a dataset from the Hub API and
|
|
6
|
+
* convert it to a form input via localStorage. This composable is used when the user navigates to a dataset
|
|
7
|
+
* by clicking on the "Edit" on the DatasetDetails page or in DraftsPage
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* @param dpiContext - The DPI context as returned by `useDpiContext`.
|
|
11
|
+
* @returns The computed properties described above.
|
|
12
|
+
*/
|
|
13
|
+
export declare function useDpiEditMode(dpiContext: MaybeRefOrGetter<DpiContext>): {
|
|
14
|
+
isReady: import('vue').ComputedRef<boolean>;
|
|
15
|
+
error: import('vue').Ref<unknown>;
|
|
16
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { useRoute as h } from "vue-router";
|
|
2
|
+
import { computed as o } from "vue";
|
|
3
|
+
import { useStore as g } from "vuex";
|
|
4
|
+
import { useRuntimeEnv as y } from "../../composables/useRuntimeEnv.mjs";
|
|
5
|
+
import { useAsyncState as v } from "../../external/@vueuse/core/index";
|
|
6
|
+
import { watchOnce as D } from "../../external/@vueuse/shared/index";
|
|
7
|
+
function M(I) {
|
|
8
|
+
const e = h(), t = g(), s = y(), r = o(() => e.query.id), u = o(() => e.query.fromDraft || t.getters["auth/getIsDraft"]), n = o(() => {
|
|
9
|
+
var i;
|
|
10
|
+
const a = u.value, m = (i = t.getters["auth/getUserData"]) == null ? void 0 : i.rtpToken, f = e.params.property, l = e.params.id;
|
|
11
|
+
return t.dispatch("auth/setIsEditMode", !0), t.dispatch("auth/setIsDraft", a), { endpoint: a ? `${s.api.hubUrl}drafts/datasets/${r.value}.nt?catalogue=${e.query.catalog}` : e.params.property === "catalogues" ? `${s.api.hubUrl}catalogues/${e.query.catalog}.nt` : `${s.api.hubUrl}datasets/${r.value}.nt?useNormalizedId=true`, token: m, property: f, id: l };
|
|
12
|
+
}), { execute: c, isLoading: d, error: p } = v(
|
|
13
|
+
async () => await t.dispatch(
|
|
14
|
+
"dpiStore/convertToInput",
|
|
15
|
+
n.value
|
|
16
|
+
),
|
|
17
|
+
void 0,
|
|
18
|
+
{
|
|
19
|
+
immediate: !1
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
return D(
|
|
23
|
+
r,
|
|
24
|
+
() => {
|
|
25
|
+
if (!r.value)
|
|
26
|
+
return;
|
|
27
|
+
const a = u.value;
|
|
28
|
+
t.dispatch("auth/setIsEditMode", !0), t.dispatch("auth/setIsDraft", a), c();
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
immediate: !0
|
|
32
|
+
}
|
|
33
|
+
), {
|
|
34
|
+
isReady: o(() => !!t.getters["dpiStore/getSpecificationName"] && !d.value),
|
|
35
|
+
error: p
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
M as useDpiEditMode
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=useDpiEditMode.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDpiEditMode.mjs","sources":["../../../lib/data-provider-interface/composables/useDpiEditMode.ts"],"sourcesContent":["import { useRoute } from \"vue-router\";\nimport { type DpiContext } from \"./useDpiContext\";\nimport { computed, MaybeRefOrGetter } from \"vue\";\nimport { useStore } from \"vuex\";\nimport { useRuntimeEnv } from \"../../composables/useRuntimeEnv\";\nimport { useAsyncState, watchOnce } from \"@vueuse/core\";\n\n /**\n * Use this composable in the DataProviderInterface to fetch a dataset from the Hub API and\n * convert it to a form input via localStorage. This composable is used when the user navigates to a dataset\n * by clicking on the \"Edit\" on the DatasetDetails page or in DraftsPage\n *\n *\n * @param dpiContext - The DPI context as returned by `useDpiContext`.\n * @returns The computed properties described above.\n */\nexport function useDpiEditMode(dpiContext: MaybeRefOrGetter<DpiContext>) {\n const route = useRoute();\n const store = useStore();\n const env = useRuntimeEnv();\n\n const editIdQuery = computed(() => {\n return route.query.id;\n });\n\n const editFromDraft = computed(() => {\n return route.query.fromDraft || store.getters[\"auth/getIsDraft\"];\n });\n\n const requestParams = computed(() => {\n const isDraft = editFromDraft.value;\n const token = store.getters[\"auth/getUserData\"]?.rtpToken;\n const property = route.params.property;\n const id = route.params.id;\n\n store.dispatch(\"auth/setIsEditMode\", true);\n store.dispatch(\"auth/setIsDraft\", isDraft);\n\n const endpoint = isDraft\n ? `${env.api.hubUrl}drafts/datasets/${editIdQuery.value}.nt?catalogue=${route.query.catalog}`\n : route.params.property === \"catalogues\"\n ? `${env.api.hubUrl}catalogues/${route.query.catalog}.nt`\n : `${env.api.hubUrl}datasets/${editIdQuery.value}.nt?useNormalizedId=true`;\n return { endpoint, token, property, id };\n });\n\n const { execute, isLoading, error } = useAsyncState(\n async () => {\n return await store.dispatch(\n \"dpiStore/convertToInput\",\n requestParams.value\n );\n },\n undefined,\n {\n immediate: false,\n }\n );\n\n watchOnce(\n editIdQuery,\n () => {\n if (!editIdQuery.value) return;\n const isDraft = editFromDraft.value;\n store.dispatch(\"auth/setIsEditMode\", true);\n store.dispatch(\"auth/setIsDraft\", isDraft);\n execute();\n },\n {\n immediate: true,\n }\n );\n\n // Ensure dpiStore contains a specification before rendering the input page.\n // Maybe it's not needed but better safe than sorry.\n const isReady = computed(() => {\n return !!store.getters[\"dpiStore/getSpecificationName\"] && !isLoading.value;\n });\n\n return {\n isReady,\n error,\n }\n}\n"],"names":["useDpiEditMode","dpiContext","route","useRoute","store","useStore","env","useRuntimeEnv","editIdQuery","computed","editFromDraft","requestParams","isDraft","token","_a","property","id","execute","isLoading","error","useAsyncState","watchOnce"],"mappings":";;;;;;AAgBO,SAASA,EAAeC,GAA0C;AACvE,QAAMC,IAAQC,KACRC,IAAQC,KACRC,IAAMC,KAENC,IAAcC,EAAS,MACpBP,EAAM,MAAM,EACpB,GAEKQ,IAAgBD,EAAS,MACtBP,EAAM,MAAM,aAAaE,EAAM,QAAQ,iBAAiB,CAChE,GAEKO,IAAgBF,EAAS,MAAM;;AACnC,UAAMG,IAAUF,EAAc,OACxBG,KAAQC,IAAAV,EAAM,QAAQ,kBAAkB,MAAhC,gBAAAU,EAAmC,UAC3CC,IAAWb,EAAM,OAAO,UACxBc,IAAKd,EAAM,OAAO;AAElB,WAAAE,EAAA,SAAS,sBAAsB,EAAI,GACnCA,EAAA,SAAS,mBAAmBQ,CAAO,GAOlC,EAAE,UALQA,IACb,GAAGN,EAAI,IAAI,MAAM,mBAAmBE,EAAY,KAAK,iBAAiBN,EAAM,MAAM,OAAO,KACzFA,EAAM,OAAO,aAAa,eAC1B,GAAGI,EAAI,IAAI,MAAM,cAAcJ,EAAM,MAAM,OAAO,QAClD,GAAGI,EAAI,IAAI,MAAM,YAAYE,EAAY,KAAK,4BAC/B,OAAAK,GAAO,UAAAE,GAAU,IAAAC,EAAG;AAAA,EAAA,CACxC,GAEK,EAAE,SAAAC,GAAS,WAAAC,GAAW,OAAAC,EAAU,IAAAC;AAAA,IACpC,YACS,MAAMhB,EAAM;AAAA,MACjB;AAAA,MACAO,EAAc;AAAA,IAAA;AAAA,IAGlB;AAAA,IACA;AAAA,MACE,WAAW;AAAA,IACb;AAAA,EAAA;AAGF,SAAAU;AAAA,IACEb;AAAA,IACA,MAAM;AACJ,UAAI,CAACA,EAAY;AAAO;AACxB,YAAMI,IAAUF,EAAc;AACxB,MAAAN,EAAA,SAAS,sBAAsB,EAAI,GACnCA,EAAA,SAAS,mBAAmBQ,CAAO,GACjCK;IACV;AAAA,IACA;AAAA,MACE,WAAW;AAAA,IACb;AAAA,EAAA,GASK;AAAA,IACL,SALcR,EAAS,MAChB,CAAC,CAACL,EAAM,QAAQ,+BAA+B,KAAK,CAACc,EAAU,KACvE;AAAA,IAIC,OAAAC;AAAA,EAAA;AAEJ;"}
|
|
@@ -1014,6 +1014,7 @@ const t = {
|
|
|
1014
1014
|
$formkit: "repeatable",
|
|
1015
1015
|
name: "dcat:accessURL",
|
|
1016
1016
|
validation: "required",
|
|
1017
|
+
class: "property inDistribution",
|
|
1017
1018
|
children: [
|
|
1018
1019
|
{
|
|
1019
1020
|
identifier: "accessUrl",
|
|
@@ -1027,12 +1028,14 @@ const t = {
|
|
|
1027
1028
|
$formkit: "auto",
|
|
1028
1029
|
voc: "planned-availability",
|
|
1029
1030
|
name: "dcatap:availability",
|
|
1030
|
-
id: "availability"
|
|
1031
|
+
id: "availability",
|
|
1032
|
+
class: "property inDistribution"
|
|
1031
1033
|
},
|
|
1032
1034
|
description: {
|
|
1033
1035
|
identifier: "description",
|
|
1034
1036
|
$formkit: "repeatable",
|
|
1035
1037
|
name: "dct:description",
|
|
1038
|
+
class: "property inDistribution",
|
|
1036
1039
|
children: [
|
|
1037
1040
|
{
|
|
1038
1041
|
identifier: "description",
|
|
@@ -1068,6 +1071,7 @@ const t = {
|
|
|
1068
1071
|
$formkit: "auto",
|
|
1069
1072
|
voc: "file-type",
|
|
1070
1073
|
name: "dct:format",
|
|
1074
|
+
class: "property inDistribution",
|
|
1071
1075
|
id: "format",
|
|
1072
1076
|
classes: {
|
|
1073
1077
|
outer: "w88-textfield"
|
|
@@ -1078,13 +1082,15 @@ const t = {
|
|
|
1078
1082
|
name: "dct:license",
|
|
1079
1083
|
identifier: "licence",
|
|
1080
1084
|
voc: "licence",
|
|
1085
|
+
class: "property inDistribution",
|
|
1081
1086
|
options: { text: "dct:title", textarea: "skos:prefLabel", url: "skos:exactMatch" },
|
|
1082
|
-
selection: { 1: "
|
|
1087
|
+
selection: { 1: "vocabulary", 2: "manually" }
|
|
1083
1088
|
},
|
|
1084
1089
|
title: {
|
|
1085
1090
|
identifier: "title",
|
|
1086
1091
|
$formkit: "repeatable",
|
|
1087
1092
|
name: "dct:title",
|
|
1093
|
+
class: "property inDistribution langStringInput mandatory",
|
|
1088
1094
|
children: [
|
|
1089
1095
|
{
|
|
1090
1096
|
identifier: "title",
|
|
@@ -1120,12 +1126,14 @@ const t = {
|
|
|
1120
1126
|
$formkit: "auto",
|
|
1121
1127
|
voc: "iana-media-types",
|
|
1122
1128
|
name: "dcat:mediaType",
|
|
1129
|
+
class: "property inDistribution",
|
|
1123
1130
|
id: "mediaType"
|
|
1124
1131
|
},
|
|
1125
1132
|
downloadUrl: {
|
|
1126
1133
|
identifier: "downloadUrl",
|
|
1127
1134
|
$formkit: "repeatable",
|
|
1128
1135
|
name: "dcat:downloadURL",
|
|
1136
|
+
class: "property inDistribution",
|
|
1129
1137
|
children: [
|
|
1130
1138
|
{
|
|
1131
1139
|
$formkit: "group",
|
|
@@ -1149,6 +1157,7 @@ const t = {
|
|
|
1149
1157
|
identifier: "accessService",
|
|
1150
1158
|
$formkit: "repeatable",
|
|
1151
1159
|
name: "dcat:accessService",
|
|
1160
|
+
class: "property inDistribution",
|
|
1152
1161
|
children: [
|
|
1153
1162
|
{
|
|
1154
1163
|
identifier: "accessService",
|
|
@@ -1165,6 +1174,7 @@ const t = {
|
|
|
1165
1174
|
identifier: "accessServiceTitle",
|
|
1166
1175
|
$formkit: "repeatable",
|
|
1167
1176
|
name: "dct:title",
|
|
1177
|
+
class: "property langStringInput inDistribution",
|
|
1168
1178
|
children: [
|
|
1169
1179
|
{
|
|
1170
1180
|
identifier: "accessServiceTitle",
|
|
@@ -1197,6 +1207,7 @@ const t = {
|
|
|
1197
1207
|
identifier: "accessServiceDescription",
|
|
1198
1208
|
$formkit: "repeatable",
|
|
1199
1209
|
name: "dct:description",
|
|
1210
|
+
class: "property langDescriptionInput inDistribution",
|
|
1200
1211
|
children: [
|
|
1201
1212
|
{
|
|
1202
1213
|
identifier: "accessServiceDescription",
|
|
@@ -1233,11 +1244,13 @@ const t = {
|
|
|
1233
1244
|
identifier: "byteSize",
|
|
1234
1245
|
$formkit: "simpleInput",
|
|
1235
1246
|
name: "dcat:byteSize",
|
|
1247
|
+
class: "property inDistribution",
|
|
1236
1248
|
validationType: "number"
|
|
1237
1249
|
},
|
|
1238
1250
|
checksum: {
|
|
1239
1251
|
$formkit: "formkitGroup",
|
|
1240
1252
|
identifier: "checksum",
|
|
1253
|
+
class: "property inDistribution",
|
|
1241
1254
|
name: "spdx:checksum",
|
|
1242
1255
|
children: [
|
|
1243
1256
|
{
|
|
@@ -1257,12 +1270,14 @@ const t = {
|
|
|
1257
1270
|
compressFormat: {
|
|
1258
1271
|
identifier: "compressFormat",
|
|
1259
1272
|
$formkit: "auto",
|
|
1273
|
+
class: "property inDistribution",
|
|
1260
1274
|
voc: "iana-media-types",
|
|
1261
1275
|
name: "dcat:compressFormat"
|
|
1262
1276
|
},
|
|
1263
1277
|
packageFormat: {
|
|
1264
1278
|
identifier: "packageFormat",
|
|
1265
1279
|
$formkit: "auto",
|
|
1280
|
+
class: "property inDistribution",
|
|
1266
1281
|
voc: "iana-media-types",
|
|
1267
1282
|
name: "dcat:packageFormat"
|
|
1268
1283
|
},
|
|
@@ -1270,6 +1285,7 @@ const t = {
|
|
|
1270
1285
|
identifier: "page",
|
|
1271
1286
|
$formkit: "repeatable",
|
|
1272
1287
|
name: "foaf:page",
|
|
1288
|
+
class: "property inDistribution",
|
|
1273
1289
|
children: [
|
|
1274
1290
|
{
|
|
1275
1291
|
identifier: "page",
|
|
@@ -1362,6 +1378,7 @@ const t = {
|
|
|
1362
1378
|
identifier: "hasPolicy",
|
|
1363
1379
|
$formkit: "repeatable",
|
|
1364
1380
|
name: "odrl:hasPolicy",
|
|
1381
|
+
class: "property inDistribution",
|
|
1365
1382
|
children: [
|
|
1366
1383
|
{
|
|
1367
1384
|
identifier: "hasPolicy",
|
|
@@ -1386,12 +1403,14 @@ const t = {
|
|
|
1386
1403
|
identifier: "language",
|
|
1387
1404
|
multiple: !0,
|
|
1388
1405
|
name: "dct:language",
|
|
1406
|
+
class: "property inDistribution",
|
|
1389
1407
|
voc: "language"
|
|
1390
1408
|
},
|
|
1391
1409
|
conformsTo: {
|
|
1392
1410
|
identifier: "conformsTo",
|
|
1393
1411
|
$formkit: "repeatable",
|
|
1394
1412
|
name: "dct:conformsTo",
|
|
1413
|
+
class: "property inDistribution",
|
|
1395
1414
|
children: [
|
|
1396
1415
|
{
|
|
1397
1416
|
identifier: "conformsTo",
|
|
@@ -1423,6 +1442,7 @@ const t = {
|
|
|
1423
1442
|
identifier: "issued",
|
|
1424
1443
|
$formkit: "formkitGroup",
|
|
1425
1444
|
name: "dct:issued",
|
|
1445
|
+
class: "property inDistribution",
|
|
1426
1446
|
children: [
|
|
1427
1447
|
{
|
|
1428
1448
|
identifier: "issued",
|
|
@@ -1443,6 +1463,7 @@ const t = {
|
|
|
1443
1463
|
identifier: "modified",
|
|
1444
1464
|
$formkit: "formkitGroup",
|
|
1445
1465
|
name: "dct:modified",
|
|
1466
|
+
class: "property inDistribution",
|
|
1446
1467
|
children: [
|
|
1447
1468
|
{
|
|
1448
1469
|
identifier: "modified",
|
|
@@ -1460,6 +1481,7 @@ const t = {
|
|
|
1460
1481
|
]
|
|
1461
1482
|
},
|
|
1462
1483
|
rights: {
|
|
1484
|
+
class: "property inDistribution",
|
|
1463
1485
|
identifier: "rights",
|
|
1464
1486
|
id: "rightsCondDataset",
|
|
1465
1487
|
$formkit: "simpleConditional",
|
|
@@ -1490,12 +1512,14 @@ const t = {
|
|
|
1490
1512
|
$formkit: "simpleInput",
|
|
1491
1513
|
name: "dcat:spatialResolutionInMeters",
|
|
1492
1514
|
validation: "number",
|
|
1515
|
+
class: "property inDistribution",
|
|
1493
1516
|
classes: { outer: "formkitProperty formkitCmpWrap mx-0 my-3 p-3" }
|
|
1494
1517
|
},
|
|
1495
1518
|
temporalResolution: {
|
|
1496
1519
|
identifier: "temporalResolution",
|
|
1497
1520
|
$formkit: "formkitGroup",
|
|
1498
1521
|
name: "dcat:temporalResolution",
|
|
1522
|
+
class: "property inDistribution",
|
|
1499
1523
|
children: [
|
|
1500
1524
|
{
|
|
1501
1525
|
identifier: "temporalResolutionYear",
|
|
@@ -1539,12 +1563,14 @@ const t = {
|
|
|
1539
1563
|
identifier: "type",
|
|
1540
1564
|
$formkit: "auto",
|
|
1541
1565
|
voc: "distribution-type",
|
|
1566
|
+
class: "property inDistribution",
|
|
1542
1567
|
name: "dct:type"
|
|
1543
1568
|
},
|
|
1544
1569
|
status: {
|
|
1545
1570
|
identifier: "status",
|
|
1546
1571
|
$formkit: "auto",
|
|
1547
1572
|
voc: "dataset-status",
|
|
1573
|
+
class: "property inDistribution",
|
|
1548
1574
|
name: "adms:status"
|
|
1549
1575
|
}
|
|
1550
1576
|
},
|