@piveau/piveau-hub-ui-modules 4.6.25 → 4.6.27

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.
@@ -1,4 +1,4 @@
1
- import { ref as n, openBlock as r, createElementBlock as u, createElementVNode as s, createTextVNode as p, unref as g, withDirectives as _, Fragment as k, renderList as y, toDisplayString as C, vShow as D, normalizeClass as w, createCommentVNode as h } from "vue";
1
+ import { ref as n, openBlock as r, createElementBlock as u, createElementVNode as s, createTextVNode as p, unref as g, withDirectives as _, Fragment as k, renderList as y, toDisplayString as C, vShow as w, normalizeClass as D, createCommentVNode as h } from "vue";
2
2
  import { getNode as m } from "@formkit/core";
3
3
  import "./WidgetInput.vue2.mjs";
4
4
  import B from "../../_virtual/_plugin-vue_export-helper.mjs";
@@ -21,7 +21,7 @@ const I = { class: "formkitProperty" }, N = { class: "formkitCmpWrap d-flex p-3
21
21
  const f = () => {
22
22
  v.value = m("Distributions").value.distributionList;
23
23
  for (let o = 0; o < v.value.length; o++)
24
- v.value[o].Mandatory["pv:DistributionType"] === "LeadingWidget" && (c.value = !0);
24
+ v.value[o].Mandatory["pv:distributionType"] === "LeadingWidget" && (c.value = !0);
25
25
  }, x = (o) => {
26
26
  f(), t.context.node.input(o), i.value = o;
27
27
  };
@@ -51,13 +51,13 @@ const I = { class: "formkitProperty" }, N = { class: "formkitCmpWrap d-flex p-3
51
51
  class: "p-2 border-b border-gray-200 data-[selected=true]:bg-blue-100 choosableItemsAC"
52
52
  }, C(d), 9, q))), 128))
53
53
  ], 512), [
54
- [D, l.value]
54
+ [w, l.value]
55
55
  ])
56
56
  ]),
57
57
  e[2] || (e[2] = p()),
58
58
  g(i) === "Widget" ? (r(), u("button", {
59
59
  key: 0,
60
- class: w(["ml-3 widgetButton", { activeLeading: g(a) || t.context.value === "LeadingWidget" }]),
60
+ class: D(["ml-3 widgetButton", { activeLeading: g(a) || t.context.value === "LeadingWidget" }]),
61
61
  type: "button",
62
62
  onClick: L
63
63
  }, `
@@ -66,7 +66,7 @@ const I = { class: "formkitProperty" }, N = { class: "formkitCmpWrap d-flex p-3
66
66
  ])
67
67
  ]));
68
68
  }
69
- }, z = /* @__PURE__ */ B(A, [["__scopeId", "data-v-b72bd63e"]]);
69
+ }, z = /* @__PURE__ */ B(A, [["__scopeId", "data-v-5a5eaf95"]]);
70
70
  export {
71
71
  z as default
72
72
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/WidgetInput.vue"],"sourcesContent":["<template>\n <div class=\"formkitProperty\">\n <h4 class=\"\">Tag</h4>\n\n <div class=\"formkitCmpWrap d-flex p-3 w-100\">\n\n <div class=\"formkit-inner\">\n <input readonly=\"\" placeholder=\"Wählen Sie die Art des Widgets aus\" class=\"formkit-input\" type=\"text\"\n name=\"mode\" aria-required=\"true\" :value=\"widgetType\" aria-describedby=\"input_164-rule_required\"\n @click=\"activeList = !activeList\">\n <ul ref=\"dropdownListWidget\" v-show=\"activeList\" class=\"autocompleteResultList\">\n <li v-for=\"match in matches\" :key=\"match\" @click=\"setValue(match); activeList = !activeList\"\n class=\"p-2 border-b border-gray-200 data-[selected=true]:bg-blue-100 choosableItemsAC\">{{ match\n }}\n </li>\n </ul>\n </div>\n\n <!-- Liste Distribution/ Widget/ Report --- leading kann nur 1 sein und auch nur ein widget -->\n <button class=\"ml-3 widgetButton\" v-if=\"widgetType === 'Widget' \"\n :class=\"{ activeLeading: activeButton || props.context.value === 'LeadingWidget', }\" type=\"button\"\n @click=\"isLeading\">\n Leading\n </button>\n </div>\n </div>\n\n\n\n</template>\n<script setup>\nimport { ref, watch } from 'vue';\nimport { getNode } from '@formkit/core'\n\nconst props = defineProps({\n context: Object\n})\nlet disList = ref(getNode('Distributions').value['distributionList'])\nlet activeButton = ref(false)\n\nconst isLeading = () => {\n\n checkForLead()\n\n // console.log(props.context.value['type']);\n if (props.context.value['type'] != 'LeadingWidget' && !activeLeadingWidget.value) {\n props.context.node.input('LeadingWidget')\n activeButton.value = !activeButton.value\n } else {\n activeLeadingWidget.value = false\n activeButton.value = false\n widgetType.value = \"Widget\"\n props.context.node.input('Widget')\n }\n\n}\nconst activeList = ref(false)\nconst matches = ref(['Distribution', 'Widget', 'Report'])\nlet activeLeadingWidget = ref(false)\nlet widgetType = ref('')\n\n\n// Init every dis as distribution if there's nothing set - default state\n\n\nif (props.context.value != undefined) {\n if (props.context.value === 'LeadingWidget') {\n widgetType.value = 'Widget'\n } else widgetType.value = props.context.value\n} else widgetType.value = 'Distribution'\n\nconsole.log(widgetType);\n\n\nconst checkForLead = () => {\n disList.value = getNode('Distributions').value['distributionList']\n for (let index = 0; index < disList.value.length; index++) {\n \n if (disList.value[index]['Mandatory']['pv:DistributionType'] === 'LeadingWidget') {\n activeLeadingWidget.value = true\n }\n\n }\n}\n\nconst setValue = (item) => {\n checkForLead()\n props.context.node.input(item)\n widgetType.value = item\n}\n</script>\n<style scoped>\n.formkit-inner:focus-within {\n margin-top: 0;\n}\n\n.formkit-inner {\n\n flex-grow: 1;\n\n}\n\n.formkitCmpWrap {\n position: relative;\n}\n\n.widgetButton {\n border-color: lightgray;\n\n &:hover {\n background-color: green;\n color: white;\n }\n\n}\n\n.activeLeading {\n background-color: green;\n color: white;\n border-color: green;\n\n}\n</style>"],"names":["props","__props","disList","ref","getNode","activeButton","isLeading","checkForLead","activeLeadingWidget","widgetType","activeList","matches","index","setValue","item"],"mappings":";;;;;;;;;;;;;AAkCA,UAAMA,IAAQC;AAGX,QAACC,IAAUC,EAAIC,EAAQ,eAAe,EAAE,MAAM,gBAAmB,GAChEC,IAAeF,EAAI,EAAK;AAE5B,UAAMG,IAAY,MAAM;AAEpB,MAAAC,EAAa,GAGTP,EAAM,QAAQ,MAAM,QAAW,mBAAmB,CAACQ,EAAoB,SACvER,EAAM,QAAQ,KAAK,MAAM,eAAe,GACxCK,EAAa,QAAQ,CAACA,EAAa,UAEnCG,EAAoB,QAAQ,IAC5BH,EAAa,QAAQ,IACrBI,EAAW,QAAQ,UACnBT,EAAM,QAAQ,KAAK,MAAM,QAAQ;AAAA,IAGzC,GACMU,IAAaP,EAAI,EAAK,GACtBQ,IAAUR,EAAI,CAAC,gBAAgB,UAAU,QAAQ,CAAC;AACxD,QAAIK,IAAsBL,EAAI,EAAK,GAC/BM,IAAaN,EAAI,EAAE;AAMrB,IAAEH,EAAM,QAAQ,SAAS,OACnBA,EAAM,QAAQ,UAAU,kBACxBS,EAAW,QAAQ,WAChBA,EAAW,QAAQT,EAAM,QAAQ,QACrCS,EAAW,QAAQ,gBAE1B,QAAQ,IAAIA,CAAU;AAGtB,UAAMF,IAAe,MAAM;AACvB,MAAAL,EAAQ,QAAQE,EAAQ,eAAe,EAAE,MAAM;AAC/C,eAASQ,IAAQ,GAAGA,IAAQV,EAAQ,MAAM,QAAQU;AAE9C,QAAIV,EAAQ,MAAMU,CAAK,EAAE,UAAa,qBAAqB,MAAM,oBAC7DJ,EAAoB,QAAQ;AAAA,IAIxC,GAEMK,IAAW,CAACC,MAAS;AACvB,MAAAP,EAAa,GACbP,EAAM,QAAQ,KAAK,MAAMc,CAAI,GAC7BL,EAAW,QAAQK;AAAA,IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"WidgetInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/WidgetInput.vue"],"sourcesContent":["<template>\n <div class=\"formkitProperty\">\n <h4 class=\"\">Tag</h4>\n\n <div class=\"formkitCmpWrap d-flex p-3 w-100\">\n\n <div class=\"formkit-inner\">\n <input readonly=\"\" placeholder=\"Wählen Sie die Art des Widgets aus\" class=\"formkit-input\" type=\"text\"\n name=\"mode\" aria-required=\"true\" :value=\"widgetType\" aria-describedby=\"input_164-rule_required\"\n @click=\"activeList = !activeList\">\n <ul ref=\"dropdownListWidget\" v-show=\"activeList\" class=\"autocompleteResultList\">\n <li v-for=\"match in matches\" :key=\"match\" @click=\"setValue(match); activeList = !activeList\"\n class=\"p-2 border-b border-gray-200 data-[selected=true]:bg-blue-100 choosableItemsAC\">{{ match\n }}\n </li>\n </ul>\n </div>\n\n <!-- Liste Distribution/ Widget/ Report --- leading kann nur 1 sein und auch nur ein widget -->\n <button class=\"ml-3 widgetButton\" v-if=\"widgetType === 'Widget' \"\n :class=\"{ activeLeading: activeButton || props.context.value === 'LeadingWidget', }\" type=\"button\"\n @click=\"isLeading\">\n Leading\n </button>\n </div>\n </div>\n\n\n\n</template>\n<script setup>\nimport { ref, watch } from 'vue';\nimport { getNode } from '@formkit/core'\n\nconst props = defineProps({\n context: Object\n})\nlet disList = ref(getNode('Distributions').value['distributionList'])\nlet activeButton = ref(false)\n\nconst isLeading = () => {\n\n checkForLead()\n\n // console.log(props.context.value['type']);\n if (props.context.value['type'] != 'LeadingWidget' && !activeLeadingWidget.value) {\n props.context.node.input('LeadingWidget')\n activeButton.value = !activeButton.value\n } else {\n activeLeadingWidget.value = false\n activeButton.value = false\n widgetType.value = \"Widget\"\n props.context.node.input('Widget')\n }\n\n}\nconst activeList = ref(false)\nconst matches = ref(['Distribution', 'Widget', 'Report'])\nlet activeLeadingWidget = ref(false)\nlet widgetType = ref('')\n\n\n// Init every dis as distribution if there's nothing set - default state\n\n\nif (props.context.value != undefined) {\n if (props.context.value === 'LeadingWidget') {\n widgetType.value = 'Widget'\n } else widgetType.value = props.context.value\n} else widgetType.value = 'Distribution'\n\nconsole.log(widgetType);\n\n\nconst checkForLead = () => {\n disList.value = getNode('Distributions').value['distributionList']\n for (let index = 0; index < disList.value.length; index++) {\n \n if (disList.value[index]['Mandatory']['pv:distributionType'] === 'LeadingWidget') {\n activeLeadingWidget.value = true\n }\n\n }\n}\n\nconst setValue = (item) => {\n checkForLead()\n props.context.node.input(item)\n widgetType.value = item\n}\n</script>\n<style scoped>\n.formkit-inner:focus-within {\n margin-top: 0;\n}\n\n.formkit-inner {\n\n flex-grow: 1;\n\n}\n\n.formkitCmpWrap {\n position: relative;\n}\n\n.widgetButton {\n border-color: lightgray;\n\n &:hover {\n background-color: green;\n color: white;\n }\n\n}\n\n.activeLeading {\n background-color: green;\n color: white;\n border-color: green;\n\n}\n</style>"],"names":["props","__props","disList","ref","getNode","activeButton","isLeading","checkForLead","activeLeadingWidget","widgetType","activeList","matches","index","setValue","item"],"mappings":";;;;;;;;;;;;;AAkCA,UAAMA,IAAQC;AAGX,QAACC,IAAUC,EAAIC,EAAQ,eAAe,EAAE,MAAM,gBAAmB,GAChEC,IAAeF,EAAI,EAAK;AAE5B,UAAMG,IAAY,MAAM;AAEpB,MAAAC,EAAa,GAGTP,EAAM,QAAQ,MAAM,QAAW,mBAAmB,CAACQ,EAAoB,SACvER,EAAM,QAAQ,KAAK,MAAM,eAAe,GACxCK,EAAa,QAAQ,CAACA,EAAa,UAEnCG,EAAoB,QAAQ,IAC5BH,EAAa,QAAQ,IACrBI,EAAW,QAAQ,UACnBT,EAAM,QAAQ,KAAK,MAAM,QAAQ;AAAA,IAGzC,GACMU,IAAaP,EAAI,EAAK,GACtBQ,IAAUR,EAAI,CAAC,gBAAgB,UAAU,QAAQ,CAAC;AACxD,QAAIK,IAAsBL,EAAI,EAAK,GAC/BM,IAAaN,EAAI,EAAE;AAMrB,IAAEH,EAAM,QAAQ,SAAS,OACnBA,EAAM,QAAQ,UAAU,kBACxBS,EAAW,QAAQ,WAChBA,EAAW,QAAQT,EAAM,QAAQ,QACrCS,EAAW,QAAQ,gBAE1B,QAAQ,IAAIA,CAAU;AAGtB,UAAMF,IAAe,MAAM;AACvB,MAAAL,EAAQ,QAAQE,EAAQ,eAAe,EAAE,MAAM;AAC/C,eAASQ,IAAQ,GAAGA,IAAQV,EAAQ,MAAM,QAAQU;AAE9C,QAAIV,EAAQ,MAAMU,CAAK,EAAE,UAAa,qBAAqB,MAAM,oBAC7DJ,EAAoB,QAAQ;AAAA,IAIxC,GAEMK,IAAW,CAACC,MAAS;AACvB,MAAAP,EAAa,GACbP,EAAM,QAAQ,KAAK,MAAMc,CAAI,GAC7BL,EAAW,QAAQK;AAAA,IACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -93,7 +93,7 @@ const t = {
93
93
  "dct:issued",
94
94
  "dct:modified",
95
95
  "dcat:spatialResolutionInMeters",
96
- "pv:DistributionType",
96
+ "pv:distributionType",
97
97
  "dcat:byteSize"
98
98
  ],
99
99
  catalogues: []
@@ -1 +1 @@
1
- {"version":3,"file":"format-types.mjs","sources":["../../../../lib/data-provider-interface/config/dcatapde_BFS/format-types.js"],"sourcesContent":["// all properties which value is a single URI\nconst singularURI = {\n datasets: [\n \"dct:accrualPeriodicity\",\n \"dct:accessRights\",\n \"dct:type\",\n \"dcatap:availability\",\n \"dcatde:qualityProcessURI\",\n\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, publisher\n 'foaf:homepage', // creator, publisher\n 'dct:format', // page\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 'dct:license'\n ],\n catalogues: [\n 'foaf:homepage', // homepage and creator\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 \"dcatde:politicalGeocodingLevelURI\",\n \"dcatde:politicalGeocodingURI\",\n \"dcatde:contributorID\",\n \"dct:language\",\n \"dct:subject\",\n \"dcat:theme\",\n \"dct:source\",\n \"dcat:landingPage\",\n \"dct:relation\",\n \"dcat:qualifiedRelation\",\n \"prov:qualifiedAttribution\",\n \"dct:isReferencedBy\",\n \"prov:wasGeneratedBy\",\n \"dct:isVersionOf\",\n \"dct:hasVersion\",\n \"dct:references\",\n \"dct:spatial\",\n ],\n distributions: [\n \"dcat:accessURL\",\n \"dcat:downloadURL\",\n \"dct:language\",\n \"odrl:hasPolicy\",\n ],\n catalogues: [\n \"dct:hasPart\",\n 'dcat:catalog',\n 'dct:language',\n 'dct:spatial',\n ],\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 \"pv:DistributionType\",\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, publisher\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 \"dcatde:geocodingDescription\",\n \"dcatde:legalBasis\",\n \n ],\n distributions: [\n \"dct:title\", // also nested within page\n \"dct:description\", // also nested within page\n \"dcatde:licenseAttributionByText\",\n ],\n catalogues: [\n 'dct:title',\n 'dct:description',\n ],\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 \"dct:contributor\",\n \"dcatde:originator\",\n \"dcatde:maintainer\",\n ],\n distributions: [\n 'foaf:page',\n 'dcat:accessService',\n 'spdx:checksum',\n 'dct:conformsTo',\n ],\n catalogues: [\n 'dct:creator',\n 'dct:conformsTo',\n ]\n};\n\n// some properties provide the ability to choose the input type and therefore the respective fields which will be provided\nconst conditionalProperties = {\n datasets: [\n 'dct:publisher',\n ],\n distributions: [],\n catalogues: [\n 'dct:publisher',\n 'dct:license'\n ],\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: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 \"dcatde:politicalGeocodingLevelURI\",\n \"dcatde:contributorID\",\n \"dcatde:politicalGeocodingURI\",\n 'dct:license'\n\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 'dcatde:qualityProcessURI',\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 \"dcat:qualifiedRelation\",\n \"prov:qualifiedAttribution\",\n \"dct:isReferencedBy\",\n \"prov:wasGeneratedBy\",\n \"dct:isVersionOf\",\n \"dct:hasVersion\",\n 'dct:isPartOf',\n \"dct:references\",\n ]\n}\n\nexport default {\n singularURI,\n multipleURI,\n typedStrings,\n singularString,\n multilingualStrings,\n groupedProperties,\n additionalPropertyTypes,\n conditionalProperties,\n URIformat,\n};"],"names":["singularURI","multipleURI","typedStrings","singularString","multilingualStrings","groupedProperties","conditionalProperties","additionalPropertyTypes","URIformat","formatTypesDCATAPDE_BFS"],"mappings":"AACA,MAAMA,IAAc;AAAA,EAChB,UAAU;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAGA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,EACH;AAAA,EACD,eAAe;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA,EACH;AAAA,EACD,YAAY;AAAA,IACR;AAAA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,EACH;AACL,GAGMC,IAAc;AAAA,EAChB,UAAU;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA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yBAAAE;AAAA,EACA,uBAAAD;AAAA,EACA,WAAAE;AACJ;"}
1
+ {"version":3,"file":"format-types.mjs","sources":["../../../../lib/data-provider-interface/config/dcatapde_BFS/format-types.js"],"sourcesContent":["// all properties which value is a single URI\nconst singularURI = {\n datasets: [\n \"dct:accrualPeriodicity\",\n \"dct:accessRights\",\n \"dct:type\",\n \"dcatap:availability\",\n \"dcatde:qualityProcessURI\",\n\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, publisher\n 'foaf:homepage', // creator, publisher\n 'dct:format', // page\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 'dct:license'\n ],\n catalogues: [\n 'foaf:homepage', // homepage and creator\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 \"dcatde:politicalGeocodingLevelURI\",\n \"dcatde:politicalGeocodingURI\",\n \"dcatde:contributorID\",\n \"dct:language\",\n \"dct:subject\",\n \"dcat:theme\",\n \"dct:source\",\n \"dcat:landingPage\",\n \"dct:relation\",\n \"dcat:qualifiedRelation\",\n \"prov:qualifiedAttribution\",\n \"dct:isReferencedBy\",\n \"prov:wasGeneratedBy\",\n \"dct:isVersionOf\",\n \"dct:hasVersion\",\n \"dct:references\",\n \"dct:spatial\",\n ],\n distributions: [\n \"dcat:accessURL\",\n \"dcat:downloadURL\",\n \"dct:language\",\n \"odrl:hasPolicy\",\n ],\n catalogues: [\n \"dct:hasPart\",\n 'dcat:catalog',\n 'dct:language',\n 'dct:spatial',\n ],\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 \"pv:distributionType\",\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, publisher\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 \"dcatde:geocodingDescription\",\n \"dcatde:legalBasis\",\n \n ],\n distributions: [\n \"dct:title\", // also nested within page\n \"dct:description\", // also nested within page\n \"dcatde:licenseAttributionByText\",\n ],\n catalogues: [\n 'dct:title',\n 'dct:description',\n ],\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 \"dct:contributor\",\n \"dcatde:originator\",\n \"dcatde:maintainer\",\n ],\n distributions: [\n 'foaf:page',\n 'dcat:accessService',\n 'spdx:checksum',\n 'dct:conformsTo',\n ],\n catalogues: [\n 'dct:creator',\n 'dct:conformsTo',\n ]\n};\n\n// some properties provide the ability to choose the input type and therefore the respective fields which will be provided\nconst conditionalProperties = {\n datasets: [\n 'dct:publisher',\n ],\n distributions: [],\n catalogues: [\n 'dct:publisher',\n 'dct:license'\n ],\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: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 \"dcatde:politicalGeocodingLevelURI\",\n \"dcatde:contributorID\",\n \"dcatde:politicalGeocodingURI\",\n 'dct:license'\n\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 'dcatde:qualityProcessURI',\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 \"dcat:qualifiedRelation\",\n \"prov:qualifiedAttribution\",\n \"dct:isReferencedBy\",\n \"prov:wasGeneratedBy\",\n \"dct:isVersionOf\",\n \"dct:hasVersion\",\n 'dct:isPartOf',\n \"dct:references\",\n ]\n}\n\nexport default {\n singularURI,\n multipleURI,\n typedStrings,\n singularString,\n multilingualStrings,\n groupedProperties,\n additionalPropertyTypes,\n conditionalProperties,\n URIformat,\n};"],"names":["singularURI","multipleURI","typedStrings","singularString","multilingualStrings","groupedProperties","conditionalProperties","additionalPropertyTypes","URIformat","formatTypesDCATAPDE_BFS"],"mappings":"AACA,MAAMA,IAAc;AAAA,EAChB,UAAU;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAGA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,EACH;AAAA,EACD,eAAe;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA,EACH;AAAA,EACD,YAAY;AAAA,IACR;AAAA;AAAA,IACA;AAAA;AAAA,IAEA;AAAA;AAAA,IACA;AAAA;AAAA,IACA;AAAA;AAAA,EACH;AACL,GAGMC,IAAc;AAAA,EAChB,UAAU;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACH;AAAA,EACD,eAAe;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACH;AAAA,EACD,YAAY;AAAA,IACR;AAAA,IACA;AAAA,IACA;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IACN;AAAA,EACH;AAAA,EACD,eAAe,CAAE;AAAA,EACjB,YAAY;AAAA,IACR;AAAA,IACA;AAAA,EACH;AACL,GAGMC,IAA0B;AAAA,EAC5B,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,kBAAkB;AAAA,EAClB,0BAA0B;AAAA,EAC1B,iBAAiB;AAAA,EACjB,sBAAsB;AAAA,EACtB,iBAAiB;AACrB,GAGMC,IAAY;AAAA;AAAA,EAEd,KAAK;AAAA,IACD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAEH;AAAA;AAAA,EAED,QAAQ;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACH;AAAA;AAAA,EAED,IAAI;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACH;AACL,GAEeC,IAAA;AAAA,EACX,aAAAT;AAAA,EACA,aAAAC;AAAA,EACA,cAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,yBAAAE;AAAA,EACA,uBAAAD;AAAA,EACA,WAAAE;AACJ;"}
@@ -1255,7 +1255,7 @@ const t = {
1255
1255
  distributions: {
1256
1256
  isWidget: {
1257
1257
  identifier: "widget",
1258
- name: "pv:DistributionType",
1258
+ name: "pv:distributionType",
1259
1259
  $formkit: "widget",
1260
1260
  class: "property inDistribution"
1261
1261
  },