@piveau/dpi 0.1.0-beta.5

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.
Files changed (194) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  2. package/dist/assets/dpi.css +1 -0
  3. package/dist/composables/useRuntimeEnv.js +11 -0
  4. package/dist/composables/useTed.js +9 -0
  5. package/dist/data-provider-interface/DPIMenu.vue.js +457 -0
  6. package/dist/data-provider-interface/DataProviderInterface.vue.js +43 -0
  7. package/dist/data-provider-interface/DataProviderInterface.vue2.js +144 -0
  8. package/dist/data-provider-interface/HappyFlowComponents/BlogDPIHome.vue.js +13 -0
  9. package/dist/data-provider-interface/HappyFlowComponents/CommunityDPI.vue.js +11 -0
  10. package/dist/data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js +1052 -0
  11. package/dist/data-provider-interface/HappyFlowComponents/ConsultingDPI.vue.js +11 -0
  12. package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +26 -0
  13. package/dist/data-provider-interface/HappyFlowComponents/FAQDPIHome.vue.js +11 -0
  14. package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +109 -0
  15. package/dist/data-provider-interface/HappyFlowComponents/ServiceDPIHome.vue.js +11 -0
  16. package/dist/data-provider-interface/HappyFlowComponents/img/CheckCircleFill.svg.js +4 -0
  17. package/dist/data-provider-interface/HappyFlowComponents/img/Circle.svg.js +4 -0
  18. package/dist/data-provider-interface/HappyFlowComponents/img/CircleFill.svg.js +4 -0
  19. package/dist/data-provider-interface/HappyFlowComponents/img/DatenbereitstellerV3.svg.js +4 -0
  20. package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Error.svg.js +4 -0
  21. package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Published.svg.js +4 -0
  22. package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Warning.svg.js +4 -0
  23. package/dist/data-provider-interface/HappyFlowComponents/img/FurV3.svg.js +4 -0
  24. package/dist/data-provider-interface/HappyFlowComponents/img/IllustrationCelebrate.svg.js +4 -0
  25. package/dist/data-provider-interface/HappyFlowComponents/img/IllustrationStart.svg.js +4 -0
  26. package/dist/data-provider-interface/HappyFlowComponents/img/InfoFill.svg.js +4 -0
  27. package/dist/data-provider-interface/HappyFlowComponents/img/Selected1.svg.js +4 -0
  28. package/dist/data-provider-interface/HappyFlowComponents/img/Selected1_2.svg.js +4 -0
  29. package/dist/data-provider-interface/HappyFlowComponents/img/Selected2.svg.js +4 -0
  30. package/dist/data-provider-interface/HappyFlowComponents/img/Selected2_2.svg.js +4 -0
  31. package/dist/data-provider-interface/HappyFlowComponents/img/Selected3.svg.js +4 -0
  32. package/dist/data-provider-interface/HappyFlowComponents/img/Selected3_2.svg.js +4 -0
  33. package/dist/data-provider-interface/HappyFlowComponents/img/Selected4.svg.js +4 -0
  34. package/dist/data-provider-interface/HappyFlowComponents/img/Selected4_2.svg.js +4 -0
  35. package/dist/data-provider-interface/HappyFlowComponents/img/Selected5.svg.js +4 -0
  36. package/dist/data-provider-interface/HappyFlowComponents/img/Selected5_2.svg.js +4 -0
  37. package/dist/data-provider-interface/HappyFlowComponents/img/WarningFill.svg.js +4 -0
  38. package/dist/data-provider-interface/HappyFlowComponents/img/bydata_logo_blue_small.svg.js +4 -0
  39. package/dist/data-provider-interface/HappyFlowComponents/img/iconRight.svg.js +4 -0
  40. package/dist/data-provider-interface/HappyFlowComponents/img/x-circleFill.svg.js +4 -0
  41. package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +135 -0
  42. package/dist/data-provider-interface/HappyFlowComponents/services/eventBus.js +16 -0
  43. package/dist/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +256 -0
  44. package/dist/data-provider-interface/HappyFlowComponents/ui/CheckboxV3.vue.js +96 -0
  45. package/dist/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +91 -0
  46. package/dist/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +67 -0
  47. package/dist/data-provider-interface/HappyFlowComponents/ui/CrossOutButton.vue.js +63 -0
  48. package/dist/data-provider-interface/HappyFlowComponents/ui/DatasetStatus.vue.js +52 -0
  49. package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +7 -0
  50. package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +96 -0
  51. package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +231 -0
  52. package/dist/data-provider-interface/HappyFlowComponents/ui/Illustration.vue.js +33 -0
  53. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +477 -0
  54. package/dist/data-provider-interface/HappyFlowComponents/ui/InputV3.vue.js +182 -0
  55. package/dist/data-provider-interface/HappyFlowComponents/ui/LogoV3.vue.js +40 -0
  56. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +123 -0
  57. package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +566 -0
  58. package/dist/data-provider-interface/HappyFlowComponents/ui/MoreButton.vue.js +56 -0
  59. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +41 -0
  60. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +157 -0
  61. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +80 -0
  62. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js +50 -0
  63. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +113 -0
  64. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +116 -0
  65. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +157 -0
  66. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js +40 -0
  67. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +227 -0
  68. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +148 -0
  69. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js +43 -0
  70. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +70 -0
  71. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +46 -0
  72. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js +43 -0
  73. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +130 -0
  74. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +67 -0
  75. package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +157 -0
  76. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +106 -0
  77. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +247 -0
  78. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +79 -0
  79. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +73 -0
  80. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +134 -0
  81. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +43 -0
  82. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +68 -0
  83. package/dist/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +64 -0
  84. package/dist/data-provider-interface/HappyFlowComponents/ui/SwitchV3.vue.js +195 -0
  85. package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +207 -0
  86. package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +115 -0
  87. package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonLarge.vue.js +108 -0
  88. package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +125 -0
  89. package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +69 -0
  90. package/dist/data-provider-interface/components/AutocompleteInput.vue.js +279 -0
  91. package/dist/data-provider-interface/components/BasicInfosPage.vue.js +9 -0
  92. package/dist/data-provider-interface/components/ConditionalInput.vue.js +196 -0
  93. package/dist/data-provider-interface/components/ContactPage.vue.js +246 -0
  94. package/dist/data-provider-interface/components/CoveringPage.vue.js +9 -0
  95. package/dist/data-provider-interface/components/DataFetchingComponent.vue.js +49 -0
  96. package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +60 -0
  97. package/dist/data-provider-interface/components/DistLicense.vue.js +160 -0
  98. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +1147 -0
  99. package/dist/data-provider-interface/components/DistributionStepper.vue.js +212 -0
  100. package/dist/data-provider-interface/components/Dropup.vue.js +62 -0
  101. package/dist/data-provider-interface/components/FileUpload.vue.js +278 -0
  102. package/dist/data-provider-interface/components/HVDPage.vue.js +106 -0
  103. package/dist/data-provider-interface/components/HappyFlowLandingPage.vue.js +70 -0
  104. package/dist/data-provider-interface/components/InfoSlot.vue.js +81 -0
  105. package/dist/data-provider-interface/components/InputPageStep.vue.js +40 -0
  106. package/dist/data-provider-interface/components/InputPageStep.vue2.js +4 -0
  107. package/dist/data-provider-interface/components/LanguageSelector.vue.js +65 -0
  108. package/dist/data-provider-interface/components/Navigation.vue.js +256 -0
  109. package/dist/data-provider-interface/components/Navigation.vue2.js +1 -0
  110. package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +81 -0
  111. package/dist/data-provider-interface/components/PublisherPage.vue.js +176 -0
  112. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +413 -0
  113. package/dist/data-provider-interface/components/SelectControlledGroup.vue.js +55 -0
  114. package/dist/data-provider-interface/components/SelectControlledGroup.vue2.js +4 -0
  115. package/dist/data-provider-interface/components/SimpleAccessURLInput.vue.js +32 -0
  116. package/dist/data-provider-interface/components/SimpleInput.vue.js +35 -0
  117. package/dist/data-provider-interface/components/SimpleSelect.vue.js +111 -0
  118. package/dist/data-provider-interface/components/SpatialInput.vue.js +276 -0
  119. package/dist/data-provider-interface/components/TempResPage.vue.js +211 -0
  120. package/dist/data-provider-interface/components/TheErrorDialog.vue.js +90 -0
  121. package/dist/data-provider-interface/components/TheErrorDialog.vue2.js +4 -0
  122. package/dist/data-provider-interface/components/TitelPage.vue.js +52 -0
  123. package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.js +75 -0
  124. package/dist/data-provider-interface/components/UpdateDate.vue.js +75 -0
  125. package/dist/data-provider-interface/components/dpiV3Description.vue.js +44 -0
  126. package/dist/data-provider-interface/composables/aucotomplete.js +50 -0
  127. package/dist/data-provider-interface/composables/useDpiContext.js +17 -0
  128. package/dist/data-provider-interface/composables/useDpiEditMode.js +88 -0
  129. package/dist/data-provider-interface/composables/useDpiFormValues.js +8 -0
  130. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +384 -0
  131. package/dist/data-provider-interface/composables/useDpiStepper.js +47 -0
  132. package/dist/data-provider-interface/composables/useDpiUtils.js +39 -0
  133. package/dist/data-provider-interface/composables/useErrorDialog.js +31 -0
  134. package/dist/data-provider-interface/composables/useFormSchema.js +56 -0
  135. package/dist/data-provider-interface/composables/useRequestUriName.js +58 -0
  136. package/dist/data-provider-interface/config/dcatap/format-types.js +256 -0
  137. package/dist/data-provider-interface/config/dcatap/input-definition.js +1842 -0
  138. package/dist/data-provider-interface/config/dcatap/page-content-config.js +23 -0
  139. package/dist/data-provider-interface/config/dcatap/prefixes.js +25 -0
  140. package/dist/data-provider-interface/config/dcatap/vocab-prefixes.js +24 -0
  141. package/dist/data-provider-interface/config/dcatapde/format-types.js +274 -0
  142. package/dist/data-provider-interface/config/dcatapde/input-definition.js +2131 -0
  143. package/dist/data-provider-interface/config/dcatapde/page-content-config.js +23 -0
  144. package/dist/data-provider-interface/config/dcatapde/prefixes.js +27 -0
  145. package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.js +33 -0
  146. package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +161 -0
  147. package/dist/data-provider-interface/config/dcatapdeHappyFlow/format-types.js +5 -0
  148. package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +2196 -0
  149. package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +82 -0
  150. package/dist/data-provider-interface/config/dcatapdeHappyFlow/prefixes.js +5 -0
  151. package/dist/data-provider-interface/config/dcatapdeHappyFlow/vocab-prefixes.js +5 -0
  152. package/dist/data-provider-interface/config/dcatapdeODB/format-types.js +5 -0
  153. package/dist/data-provider-interface/config/dcatapdeODB/input-definition.js +18 -0
  154. package/dist/data-provider-interface/config/dcatapdeODB/page-content-config.js +5 -0
  155. package/dist/data-provider-interface/config/dcatapdeODB/prefixes.js +5 -0
  156. package/dist/data-provider-interface/config/dcatapdeODB/vocab-prefixes.js +5 -0
  157. package/dist/data-provider-interface/config/dpi-spec-config.js +54 -0
  158. package/dist/data-provider-interface/config/selector-languages.json.js +57 -0
  159. package/dist/data-provider-interface/plugins/userConfigShimPlugin.js +10 -0
  160. package/dist/data-provider-interface/store/dpiStore.js +33 -0
  161. package/dist/data-provider-interface/store/modules/formSchemaStore.js +94 -0
  162. package/dist/data-provider-interface/store/modules/navigationStore.js +24 -0
  163. package/dist/data-provider-interface/utils/general-helper.js +218 -0
  164. package/dist/data-provider-interface/utils/injectionKeys.js +5 -0
  165. package/dist/data-provider-interface/utils/translation-helper.js +31 -0
  166. package/dist/data-provider-interface/utils/useSteps.js +34 -0
  167. package/dist/data-provider-interface/views/DistributionInputPage.vue.js +100 -0
  168. package/dist/data-provider-interface/views/DistributionOverview.vue.js +201 -0
  169. package/dist/data-provider-interface/views/DraftsPage.vue.js +278 -0
  170. package/dist/data-provider-interface/views/InputPage.vue.js +1182 -0
  171. package/dist/data-provider-interface/views/LinkedDataViewer.vue.js +105 -0
  172. package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.js +86 -0
  173. package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.js +214 -0
  174. package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.js +219 -0
  175. package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.js +19 -0
  176. package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.js +397 -0
  177. package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.js +56 -0
  178. package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.js +109 -0
  179. package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.js +92 -0
  180. package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.js +103 -0
  181. package/dist/data-provider-interface/views/OverviewPage.vue.js +189 -0
  182. package/dist/data-provider-interface/views/PropertyChooser.vue.js +41 -0
  183. package/dist/data-provider-interface/views/UserCataloguesPage.vue.js +74 -0
  184. package/dist/data-provider-interface/views/UserProfilePage.vue.js +83 -0
  185. package/dist/filters/dateFilters.js +39 -0
  186. package/dist/form/FormKitGroup.vue.js +55 -0
  187. package/dist/form/Repeatable.vue.js +7 -0
  188. package/dist/form/Repeatable.vue2.js +72 -0
  189. package/dist/form/inputDefinitions.js +131 -0
  190. package/dist/index.d.ts +1 -0
  191. package/dist/index.js +124 -0
  192. package/dist/utils/helpers.js +32 -0
  193. package/dist/widgets/AppLink.vue.js +118 -0
  194. package/package.json +96 -0
@@ -0,0 +1,157 @@
1
+ import { ref as m, onMounted as U, createElementBlock as u, openBlock as s, normalizeClass as V, createCommentVNode as I, createBlock as y, Fragment as L, renderList as A, createElementVNode as R, createVNode as p, unref as i, isRef as M } from "vue";
2
+ import b from "../ButtonV3.vue.js";
3
+ import z from "../ModalSimpleV3.vue.js";
4
+ import x from "../InputField.vue.js";
5
+ /* empty css */
6
+ import D from "../../../../_virtual/_plugin-vue_export-helper.js";
7
+ const $ = { class: "dpiV3_LinkAndMetadata" }, E = {
8
+ key: 0,
9
+ class: "copy-mini-regular dpiV3_text_error"
10
+ }, F = {
11
+ key: 0,
12
+ class: "dpiV3_tempAddMore"
13
+ }, N = {
14
+ __name: "ConformsToV3",
15
+ props: {
16
+ conformsToItems: { type: Array, required: !0 },
17
+ distributionId: { type: Number, required: !0 },
18
+ asCard: { type: Boolean, required: !1, default: !1 },
19
+ showDeleteButton: { type: Boolean, required: !1, default: !1 }
20
+ },
21
+ emits: ["update"],
22
+ setup(l, { emit: S }) {
23
+ let d = m({});
24
+ const a = l, c = S, g = m(!1), C = m(null);
25
+ let r = m(!1);
26
+ U(() => {
27
+ console.log(
28
+ "Component Mounted: conformsToItems received for distributionId:",
29
+ a.distributionId
30
+ ), console.log("conformsToItems:", a.conformsToItems), a.conformsToItems.length === 0 && (console.log("No conformsToItems found, initializing first documentation."), c("update", [
31
+ {
32
+ id: 1,
33
+ "dcat:downloadURL": "",
34
+ "dct:title": ""
35
+ }
36
+ ]));
37
+ });
38
+ const v = (e) => {
39
+ switch (e) {
40
+ case "delete":
41
+ w();
42
+ break;
43
+ }
44
+ }, k = () => {
45
+ const n = {
46
+ id: (a.conformsToItems.length ? Math.max(...a.conformsToItems.map((t) => t.id)) : 0) + 1,
47
+ "dcat:downloadURL": "",
48
+ "dct:title": ""
49
+ };
50
+ c("update", [...a.conformsToItems, n]);
51
+ }, T = (e, n, t) => {
52
+ var h;
53
+ (h = e == null ? void 0 : e.target) == null || h.value;
54
+ const o = a.conformsToItems.map(
55
+ (f) => f.id === t ? { ...f, [n]: e.target.value } : f
56
+ );
57
+ c("update", o);
58
+ }, _ = (e) => {
59
+ d.value = {
60
+ button: "Löschen",
61
+ header: "Standard löschen",
62
+ text: "Sind Sie sicher, dass Sie diesen Standard löschen wollen?",
63
+ action: "delete",
64
+ optionalString_1: e["dct:title"],
65
+ optionalString_2: e["dcat:downloadURL"]
66
+ }, r.value = !0, C.value = e;
67
+ }, w = () => {
68
+ if (a.conformsToItems.length === 1) {
69
+ g.value = !0;
70
+ return;
71
+ }
72
+ const e = a.conformsToItems.filter(
73
+ (n) => n.id !== C.value.id
74
+ );
75
+ c("update", e);
76
+ }, B = (e) => {
77
+ e["dct:title"] = "";
78
+ };
79
+ return (e, n) => (s(), u("div", {
80
+ class: V(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: l.asCard }])
81
+ }, [
82
+ (s(!0), u(L, null, A(l.conformsToItems, (t) => (s(), u("div", {
83
+ key: t.id,
84
+ class: V(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: l.asCard }])
85
+ }, [
86
+ R("div", $, [
87
+ p(x, {
88
+ onInput: (o) => T(o, "dcat:downloadURL", t.id),
89
+ addOnText: !1,
90
+ datePicker: !1,
91
+ infoIcon: !1,
92
+ placeholder: "Bitte URL eingeben...",
93
+ preIcon: !1,
94
+ inputFieldSize: "large",
95
+ initialHintText: !1,
96
+ label: "URL",
97
+ showEndIcon: !1,
98
+ modelValue: t["dcat:downloadURL"],
99
+ "onUpdate:modelValue": (o) => t["dcat:downloadURL"] = o
100
+ }, null, 8, ["onInput", "modelValue", "onUpdate:modelValue"]),
101
+ p(x, {
102
+ onInput: (o) => T(o, "dct:title", t.id),
103
+ addOnText: !1,
104
+ datePicker: !1,
105
+ infoIcon: !1,
106
+ placeholder: "Bitte Titel eingeben...",
107
+ preIcon: !1,
108
+ inputFieldSize: "large",
109
+ initialHintText: !1,
110
+ label: e.$t(
111
+ "message.dataupload.datasets.dcat:distribution.distribution-title.label"
112
+ ),
113
+ showEndIcon: !1,
114
+ modelValue: t["dct:title"],
115
+ "onUpdate:modelValue": (o) => t["dct:title"] = o,
116
+ defaultInput: !l.showDeleteButton,
117
+ onDeleteButtonClicked: (o) => B(t)
118
+ }, null, 8, ["onInput", "label", "modelValue", "onUpdate:modelValue", "defaultInput", "onDeleteButtonClicked"]),
119
+ g.value && l.conformsToItems.length === 1 ? (s(), u("p", E, " Mindestens eine URL muss vorhanden sein. ")) : I("", !0)
120
+ ]),
121
+ p(b, {
122
+ class: "dpiV3_tempAddMore",
123
+ buttonText: e.$t(
124
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.delete"
125
+ ),
126
+ size: "small",
127
+ iconStart: "trash",
128
+ variant: "tertiary",
129
+ onClick: (o) => _(t)
130
+ }, null, 8, ["buttonText", "onClick"])
131
+ ], 2))), 128)),
132
+ l.asCard ? I("", !0) : (s(), u("div", F, [
133
+ p(b, {
134
+ buttonText: "Weitere Standards hinzufügen",
135
+ size: "small",
136
+ iconStart: "plus",
137
+ variant: "tertiary",
138
+ onClick: k
139
+ })
140
+ ])),
141
+ i(r) ? (s(), y(z, {
142
+ key: 1,
143
+ buttons: i(d).button,
144
+ headerText: i(d).header,
145
+ text: i(d).text,
146
+ onClose: n[0] || (n[0] = (t) => M(r) ? r.value = !1 : r = !1),
147
+ action: i(d).action,
148
+ onActionHandling: n[1] || (n[1] = (t) => v(t)),
149
+ optionalString_1: i(d).optionalString_1,
150
+ optionalString_2: i(d).optionalString_2
151
+ }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1", "optionalString_2"])) : I("", !0)
152
+ ], 2));
153
+ }
154
+ }, G = /* @__PURE__ */ D(N, [["__scopeId", "data-v-aab2720a"]]);
155
+ export {
156
+ G as default
157
+ };
@@ -0,0 +1,40 @@
1
+ import { ref as c, watch as p, createElementBlock as u, openBlock as m, createVNode as f } from "vue";
2
+ import h from "../TextAreaV3.vue.js";
3
+ import { useI18n as D } from "vue-i18n";
4
+ const V = { class: "dpiV3_modified" }, I = {
5
+ __name: "DescriptionV3",
6
+ props: {
7
+ descriptionText: { type: String, default: "" },
8
+ distributionId: { type: Number, required: !1 },
9
+ showDeleteButton: { type: Boolean, default: !1 }
10
+ },
11
+ emits: ["addDescription", "deleteDescription"],
12
+ setup(d, { emit: l }) {
13
+ const { t: b } = D(), i = l, o = d, t = c(o.descriptionText), n = (e) => {
14
+ t.value = e.target.value, i("addDescription", t.value, o.distributionId);
15
+ }, s = () => {
16
+ i("deleteDescription");
17
+ };
18
+ return p(() => o.descriptionText, (e) => {
19
+ t.value = e;
20
+ }), (e, a) => (m(), u("div", V, [
21
+ f(h, {
22
+ onInput: n,
23
+ onDeleteClicked: s,
24
+ showDeleteButton: d.showDeleteButton,
25
+ hint: !1,
26
+ label: e.$t(
27
+ "message.dataupload.datasets.dcat:distribution.recommended.dct:description"
28
+ ) + " (optional)",
29
+ placeholder: e.$t(
30
+ "message.dataupload.datasets.dcat:distribution.recommended.description-placeholder"
31
+ ),
32
+ modelValue: t.value,
33
+ "onUpdate:modelValue": a[0] || (a[0] = (r) => t.value = r)
34
+ }, null, 8, ["showDeleteButton", "label", "placeholder", "modelValue"])
35
+ ]));
36
+ }
37
+ };
38
+ export {
39
+ I as default
40
+ };
@@ -0,0 +1,227 @@
1
+ import { ref as p, onMounted as A, createElementBlock as m, openBlock as r, normalizeClass as I, createCommentVNode as V, createBlock as F, Fragment as L, renderList as R, createElementVNode as z, createVNode as u, toDisplayString as M, unref as i, isRef as q } from "vue";
2
+ import E from "../Dropdown.vue.js";
3
+ import P from "../TextAreaV3.vue.js";
4
+ import y from "../ButtonV3.vue.js";
5
+ import H from "../ModalSimpleV3.vue.js";
6
+ import C from "../InputField.vue.js";
7
+ /* empty css */
8
+ import N from "../../../../_virtual/_plugin-vue_export-helper.js";
9
+ const W = { class: "dpiV3_LinkAndMetadata" }, _ = {
10
+ key: 0,
11
+ class: "copy-mini-regular dpiV3_text_error"
12
+ }, O = {
13
+ key: 0,
14
+ class: "dpiV3_tempAddMore"
15
+ }, j = {
16
+ __name: "DocumentationsV3",
17
+ props: {
18
+ documentations: { type: Array, required: !0 },
19
+ fileTypes: { type: Array, required: !1, default: () => [] },
20
+ distributionId: { type: Number, required: !0 },
21
+ asCard: { type: Boolean, required: !1, default: !1 },
22
+ showDeleteButton: { type: Boolean, required: !1, default: !1 }
23
+ },
24
+ emits: ["update"],
25
+ setup(l, { emit: T }) {
26
+ let n = p({});
27
+ const o = l, f = T, h = p([...o.fileTypes]), D = p(!1), v = p(null);
28
+ let c = p(!1);
29
+ A(() => {
30
+ o.documentations.length === 0 && f("update", [
31
+ {
32
+ id: 1,
33
+ "dcat:downloadURL": "",
34
+ "dct:format": "",
35
+ "dct:title": "",
36
+ "dct:description": ""
37
+ }
38
+ ]);
39
+ });
40
+ const U = (e) => {
41
+ switch (e) {
42
+ case "delete":
43
+ B();
44
+ break;
45
+ }
46
+ }, S = () => {
47
+ const d = {
48
+ id: (o.documentations.length ? Math.max(...o.documentations.map((t) => t.id)) : 0) + 1,
49
+ "dcat:downloadURL": "",
50
+ "dct:format": "",
51
+ "dct:title": "",
52
+ "dct:description": ""
53
+ };
54
+ f("update", [...o.documentations, d]);
55
+ }, b = (e, d, t) => {
56
+ var k, w;
57
+ if (d === "dct:format") {
58
+ h.value = [...o.fileTypes];
59
+ const s = typeof e == "string" ? e.trim().toUpperCase() : (w = (k = e == null ? void 0 : e.target) == null ? void 0 : k.value) == null ? void 0 : w.trim().toUpperCase();
60
+ s.length > 0 ? h.value = o.fileTypes.filter(
61
+ (x) => x["@value"].toUpperCase().startsWith(s)
62
+ ) : h.value = [...o.fileTypes];
63
+ }
64
+ const a = o.documentations.map(
65
+ (s) => s.id === t ? { ...s, [d]: e.target.value } : s
66
+ );
67
+ f("update", a);
68
+ }, $ = (e) => {
69
+ n.value = {
70
+ button: "Löschen",
71
+ header: "Dokumentation löschen",
72
+ text: "Sind Sie sicher, dass Sie die Dokumentation löschen wollen?",
73
+ action: "delete",
74
+ optionalString_1: e["dct:title"],
75
+ optionalString_2: e["dcat:downloadURL"]
76
+ }, c.value = !0, v.value = e;
77
+ }, B = () => {
78
+ if (o.documentations.length === 1) {
79
+ D.value = !0;
80
+ return;
81
+ }
82
+ const e = o.documentations.filter(
83
+ (d) => d.id !== v.value.id
84
+ );
85
+ f("update", e);
86
+ }, g = (e, d) => {
87
+ switch (e) {
88
+ case "dct:description":
89
+ d["dct:description"] = "";
90
+ break;
91
+ case "dct:title":
92
+ d["dct:title"] = "";
93
+ break;
94
+ case "dct:format":
95
+ d["dct:format"] = "";
96
+ break;
97
+ }
98
+ };
99
+ return (e, d) => (r(), m("div", {
100
+ class: I(["dpiV3_documentationsWrap", { dpiV3_docAllAsCard: l.asCard }])
101
+ }, [
102
+ (r(!0), m(L, null, R(l.documentations, (t) => (r(), m("div", {
103
+ key: t.id,
104
+ class: I(["dpiV3AutoCompleteWrap", { dpiV3_docAsCard: l.asCard }])
105
+ }, [
106
+ z("div", W, [
107
+ u(C, {
108
+ onInput: (a) => b(a, "dcat:downloadURL", t.id),
109
+ addOnText: !1,
110
+ datePicker: !1,
111
+ infoIcon: !1,
112
+ placeholder: e.$t(
113
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.URL-label-placeholder"
114
+ ),
115
+ preIcon: !1,
116
+ inputFieldSize: "large",
117
+ initialHintText: !1,
118
+ label: e.$t(
119
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.dcat:downloadURL-label"
120
+ ),
121
+ showEndIcon: !1,
122
+ modelValue: t["dcat:downloadURL"],
123
+ "onUpdate:modelValue": (a) => t["dcat:downloadURL"] = a
124
+ }, null, 8, ["onInput", "placeholder", "label", "modelValue", "onUpdate:modelValue"]),
125
+ u(C, {
126
+ onInput: (a) => b(a, "dct:title", t.id),
127
+ addOnText: !1,
128
+ datePicker: !1,
129
+ infoIcon: !1,
130
+ placeholder: e.$t(
131
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.title-placeholder"
132
+ ),
133
+ preIcon: !1,
134
+ inputFieldSize: "large",
135
+ initialHintText: !1,
136
+ label: e.$t(
137
+ "message.dataupload.datasets.dcat:distribution.distribution-title.label"
138
+ ),
139
+ showEndIcon: !1,
140
+ modelValue: t["dct:title"],
141
+ "onUpdate:modelValue": (a) => t["dct:title"] = a,
142
+ defaultInput: !l.showDeleteButton,
143
+ onDeleteButtonClicked: (a) => g("dct:title", t)
144
+ }, null, 8, ["onInput", "placeholder", "label", "modelValue", "onUpdate:modelValue", "defaultInput", "onDeleteButtonClicked"]),
145
+ u(P, {
146
+ onInput: (a) => b(a, "dct:description", t.id),
147
+ hint: !1,
148
+ label: e.$t(
149
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.description"
150
+ ),
151
+ placeholder: e.$t(
152
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.placeholder"
153
+ ),
154
+ modelValue: t["dct:description"],
155
+ "onUpdate:modelValue": (a) => t["dct:description"] = a,
156
+ showDeleteButton: l.showDeleteButton,
157
+ onDeleteClicked: (a) => g("dct:description", t)
158
+ }, null, 8, ["onInput", "label", "placeholder", "modelValue", "onUpdate:modelValue", "showDeleteButton", "onDeleteClicked"]),
159
+ u(E, {
160
+ onInput: (a) => b(a, "dct:format", t.id),
161
+ dropdownWidth: "large",
162
+ type: "inputField",
163
+ modelValue: t["dct:format"],
164
+ "onUpdate:modelValue": (a) => t["dct:format"] = a,
165
+ inputFieldProps: {
166
+ addOnText: !1,
167
+ initialHintText: !1,
168
+ datePicker: !1,
169
+ infoIcon: !1,
170
+ preIcon: !1,
171
+ label: e.$t("message.dataupload.datasets.dcat:distribution.format.label") + " (optional)",
172
+ dropdown_dpiV3: !0,
173
+ placeholder: e.$t(
174
+ "message.dataupload.datasets.dcat:distribution.format.placeholder"
175
+ ),
176
+ inputFieldSize: "large",
177
+ autocomplete: "true",
178
+ modelValue: t["dct:format"],
179
+ defaultInput: !l.showDeleteButton
180
+ },
181
+ data: h.value,
182
+ autocomplete: !0,
183
+ onDeleteDropdownField: (a) => g("dct:format", t)
184
+ }, null, 8, ["onInput", "modelValue", "onUpdate:modelValue", "inputFieldProps", "data", "onDeleteDropdownField"]),
185
+ D.value && l.documentations.length === 1 ? (r(), m("p", _, M(e.$t(
186
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.error-message"
187
+ )), 1)) : V("", !0)
188
+ ]),
189
+ u(y, {
190
+ class: "dpiV3_tempAddMore",
191
+ buttonText: e.$t(
192
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.delete"
193
+ ),
194
+ size: "small",
195
+ iconStart: "trash",
196
+ variant: "tertiary",
197
+ onClick: (a) => $(t)
198
+ }, null, 8, ["buttonText", "onClick"])
199
+ ], 2))), 128)),
200
+ l.asCard ? V("", !0) : (r(), m("div", O, [
201
+ u(y, {
202
+ buttonText: e.$t(
203
+ "message.dataupload.datasets.dcat:distribution.advanced.documentation.add-another"
204
+ ),
205
+ size: "small",
206
+ iconStart: "plus",
207
+ variant: "tertiary",
208
+ onClick: S
209
+ }, null, 8, ["buttonText"])
210
+ ])),
211
+ i(c) ? (r(), F(H, {
212
+ key: 1,
213
+ buttons: i(n).button,
214
+ headerText: i(n).header,
215
+ text: i(n).text,
216
+ onClose: d[0] || (d[0] = (t) => q(c) ? c.value = !1 : c = !1),
217
+ action: i(n).action,
218
+ onActionHandling: d[1] || (d[1] = (t) => U(t)),
219
+ optionalString_1: i(n).optionalString_1,
220
+ optionalString_2: i(n).optionalString_2
221
+ }, null, 8, ["buttons", "headerText", "text", "action", "optionalString_1", "optionalString_2"])) : V("", !0)
222
+ ], 2));
223
+ }
224
+ }, te = /* @__PURE__ */ N(j, [["__scopeId", "data-v-d3575856"]]);
225
+ export {
226
+ te as default
227
+ };
@@ -0,0 +1,148 @@
1
+ import { ref as u, watch as T, createElementBlock as v, openBlock as s, Fragment as D, createBlock as c, createCommentVNode as y } from "vue";
2
+ import k from "../Dropdown.vue.js";
3
+ const B = {
4
+ __name: "FileFormatV3",
5
+ props: {
6
+ distributionId: { type: Number, required: !1 },
7
+ showDeleteButton: { type: Boolean, default: !1 },
8
+ fileFormatText: { type: String, default: "" },
9
+ compressFormatText: { type: String, default: "" },
10
+ packageFormatText: { type: String, default: "" },
11
+ fileFormatType: { type: String, default: "" },
12
+ fileTypes: { type: Array, required: !1 }
13
+ },
14
+ emits: [
15
+ "addMediaType",
16
+ "addCompressFormat",
17
+ "addPackageFormat",
18
+ "deleteButtonClicked"
19
+ ],
20
+ setup(o, { emit: x }) {
21
+ const l = o, r = u(l.fileFormatText), i = u(l.compressFormatText), n = u(l.packageFormatText), d = u([...l.fileTypes]), p = x, m = (a, e, t = null) => {
22
+ var I, V;
23
+ d.value = [...l.fileTypes];
24
+ const g = typeof a == "string" ? a.trim().toUpperCase() : (V = (I = a == null ? void 0 : a.target) == null ? void 0 : I.value) == null ? void 0 : V.trim().toUpperCase();
25
+ g.length > 0 ? d.value = l.fileTypes.filter(
26
+ (w) => w["@value"].toUpperCase().startsWith(g)
27
+ ) : d.value = [...fileTypes.value];
28
+ }, f = (a, e, t = null) => {
29
+ switch (e) {
30
+ case "dcat:mediaType":
31
+ p("addMediaType", a, e, l.distributionId);
32
+ break;
33
+ case "dcat:compressFormat":
34
+ p("addCompressFormat", a, e, l.distributionId);
35
+ break;
36
+ case "dcat:packageFormat":
37
+ p("addPackageFormat", a, e, l.distributionId);
38
+ break;
39
+ }
40
+ }, F = (a, e = null) => {
41
+ p("deleteButtonClicked", a, l.distributionId);
42
+ };
43
+ return T(
44
+ () => l.fileFormatText,
45
+ (a) => {
46
+ r.value = a;
47
+ }
48
+ ), T(
49
+ () => l.compressFormatText,
50
+ (a) => {
51
+ i.value = a;
52
+ }
53
+ ), T(
54
+ () => l.packageFormatText,
55
+ (a) => {
56
+ n.value = a;
57
+ }
58
+ ), (a, e) => (s(), v(D, null, [
59
+ o.fileFormatType === "dcat:mediaType" ? (s(), c(k, {
60
+ key: 0,
61
+ onInput: e[0] || (e[0] = (t) => m(t)),
62
+ "onUpdate:modelValue": [
63
+ e[1] || (e[1] = (t) => f(t, "dcat:mediaType")),
64
+ e[2] || (e[2] = (t) => r.value = t)
65
+ ],
66
+ dropdownWidth: "large",
67
+ type: "inputField",
68
+ modelValue: r.value,
69
+ inputFieldProps: {
70
+ addOnText: !1,
71
+ initialHintText: !1,
72
+ datePicker: !1,
73
+ infoIcon: !1,
74
+ preIcon: !1,
75
+ label: "Medientyp (optional)",
76
+ dropdown_dpiV3: !0,
77
+ placeholder: "Format wählen...",
78
+ inputFieldSize: "large",
79
+ autocomplete: "true",
80
+ modelValue: r.value,
81
+ defaultInput: !o.showDeleteButton
82
+ },
83
+ data: d.value,
84
+ autocomplete: !0,
85
+ onDeleteDropdownField: e[3] || (e[3] = (t) => F("dcat:mediaType"))
86
+ }, null, 8, ["modelValue", "inputFieldProps", "data"])) : y("", !0),
87
+ o.fileFormatType === "dcat:compressFormat" ? (s(), c(k, {
88
+ key: 1,
89
+ onInput: e[4] || (e[4] = (t) => m(t)),
90
+ "onUpdate:modelValue": [
91
+ e[5] || (e[5] = (t) => f(t, "dcat:compressFormat")),
92
+ e[6] || (e[6] = (t) => i.value = t)
93
+ ],
94
+ dropdownWidth: "large",
95
+ type: "inputField",
96
+ modelValue: i.value,
97
+ inputFieldProps: {
98
+ addOnText: !1,
99
+ initialHintText: !1,
100
+ datePicker: !1,
101
+ infoIcon: !1,
102
+ preIcon: !1,
103
+ label: "Kompressionsformat (optional)",
104
+ dropdown_dpiV3: !0,
105
+ placeholder: "Format wählen...",
106
+ inputFieldSize: "large",
107
+ autocomplete: "true",
108
+ modelValue: i.value,
109
+ defaultInput: !o.showDeleteButton
110
+ },
111
+ data: d.value,
112
+ autocomplete: !0,
113
+ onDeleteDropdownField: e[7] || (e[7] = (t) => F("dcat:compressFormat"))
114
+ }, null, 8, ["modelValue", "inputFieldProps", "data"])) : y("", !0),
115
+ o.fileFormatType === "dcat:packageFormat" ? (s(), c(k, {
116
+ key: 2,
117
+ onInput: e[8] || (e[8] = (t) => m(t)),
118
+ "onUpdate:modelValue": [
119
+ e[9] || (e[9] = (t) => f(t, "dcat:packageFormat")),
120
+ e[10] || (e[10] = (t) => n.value = t)
121
+ ],
122
+ dropdownWidth: "large",
123
+ type: "inputField",
124
+ modelValue: n.value,
125
+ inputFieldProps: {
126
+ addOnText: !1,
127
+ initialHintText: !1,
128
+ datePicker: !1,
129
+ infoIcon: !1,
130
+ preIcon: !1,
131
+ label: "Paketformat (optional)",
132
+ dropdown_dpiV3: !0,
133
+ placeholder: "Format wählen...",
134
+ inputFieldSize: "large",
135
+ autocomplete: "true",
136
+ modelValue: n.value,
137
+ defaultInput: !o.showDeleteButton
138
+ },
139
+ data: d.value,
140
+ autocomplete: !0,
141
+ onDeleteDropdownField: e[11] || (e[11] = (t) => F("dcat:packageFormat"))
142
+ }, null, 8, ["modelValue", "inputFieldProps", "data"])) : y("", !0)
143
+ ], 64));
144
+ }
145
+ };
146
+ export {
147
+ B as default
148
+ };
@@ -0,0 +1,43 @@
1
+ import { ref as r, watch as p, createBlock as c, openBlock as f } from "vue";
2
+ import m from "../InputField.vue.js";
3
+ import { useI18n as I } from "vue-i18n";
4
+ const V = {
5
+ __name: "IssuedDateV3",
6
+ props: {
7
+ distributionId: { type: Number, required: !1 },
8
+ showDeleteButton: { type: Boolean, default: !1 },
9
+ modelValue: { type: String, default: "" }
10
+ },
11
+ emits: ["addIssuedDate", "deleteButtonClicked"],
12
+ setup(o, { emit: n }) {
13
+ const { t: b } = I(), l = o, d = r(l.modelValue), s = n, u = (e, t) => {
14
+ s("addIssuedDate", e.target.value, l.distributionId);
15
+ }, i = () => {
16
+ console.log("delete clicked"), s("deleteButtonClicked", l.distributionId);
17
+ };
18
+ return p(() => l.modelValue, (e) => {
19
+ d.value = e;
20
+ }), (e, t) => (f(), c(m, {
21
+ onInput: t[0] || (t[0] = (a) => u(a)),
22
+ modelValue: d.value,
23
+ "onUpdate:modelValue": t[1] || (t[1] = (a) => d.value = a),
24
+ defaultInput: !o.showDeleteButton,
25
+ addOnText: !1,
26
+ eraseable: !1,
27
+ datePicker: !0,
28
+ infoIcon: !1,
29
+ placeholder: "TT/MM/JJJJ",
30
+ label: e.$t(
31
+ "message.dataupload.datasets.dcat:distribution.advanced.dct:issued"
32
+ ) + " (optional)",
33
+ preIcon: !1,
34
+ initialHintText: !1,
35
+ showEndIcon: !1,
36
+ inputType: "date",
37
+ onDeleteButtonClicked: i
38
+ }, null, 8, ["modelValue", "defaultInput", "label"]));
39
+ }
40
+ };
41
+ export {
42
+ V as default
43
+ };
@@ -0,0 +1,70 @@
1
+ import { onMounted as b, getCurrentInstance as v, ref as p, watch as x, createBlock as I, openBlock as w, unref as g } from "vue";
2
+ import { getLanguages as B } from "../../services/dpiV3_apis.js";
3
+ import F from "../Dropdown.vue.js";
4
+ import { useI18n as V } from "vue-i18n";
5
+ const h = {
6
+ __name: "LanguageV3",
7
+ props: {
8
+ distributionId: { type: Number, required: !1 },
9
+ showDeleteButton: { type: Boolean, default: !1 },
10
+ languageText: { type: String, default: "" }
11
+ },
12
+ emits: ["addLanguage", "deleteButtonClicked"],
13
+ setup(i, { emit: c }) {
14
+ const { t: r } = V();
15
+ b(async () => {
16
+ const e = v(), a = e.appContext.app.config.globalProperties.$env, t = e.appContext.app.config.globalProperties.$i18n.locale;
17
+ try {
18
+ const d = await B(a.api.baseUrl, t);
19
+ o.value = d.map((u) => ({
20
+ "@value": u.label,
21
+ label: u.label,
22
+ uri: u.uri
23
+ }));
24
+ } catch (d) {
25
+ console.error("Failed to load language data", d);
26
+ }
27
+ });
28
+ const l = i, o = p([]), n = p(l.languageText), s = c, f = (e) => {
29
+ console.log(o.value);
30
+ let a = o.value.find((t) => t["@value"] === e).uri || "";
31
+ s("addLanguage", e, l.distributionId, a);
32
+ };
33
+ x(
34
+ () => l.languageText,
35
+ (e) => {
36
+ n.value = e;
37
+ }
38
+ );
39
+ const m = () => {
40
+ console.log("delete clicked"), s("deleteButtonClicked", l.distributionId);
41
+ };
42
+ return (e, a) => (w(), I(F, {
43
+ "onUpdate:modelValue": [
44
+ a[0] || (a[0] = (t) => f(t)),
45
+ a[1] || (a[1] = (t) => n.value = t)
46
+ ],
47
+ dropdownWidth: "large",
48
+ type: "inputField",
49
+ modelValue: n.value,
50
+ inputFieldProps: {
51
+ addOnText: !1,
52
+ initialHintText: !1,
53
+ datePicker: !1,
54
+ infoIcon: !1,
55
+ preIcon: !1,
56
+ label: g(r)("message.dataupload.datasets.dcat:distribution.advanced.dct:language") + " (optional)",
57
+ dropdown_dpiV3: !0,
58
+ placeholder: g(r)("message.dataupload.datasets.dcat:distribution.advanced.language-placeholder"),
59
+ inputFieldSize: "large",
60
+ modelValue: n.value,
61
+ defaultInput: !i.showDeleteButton
62
+ },
63
+ data: o.value,
64
+ onDeleteDropdownField: m
65
+ }, null, 8, ["modelValue", "inputFieldProps", "data"]));
66
+ }
67
+ };
68
+ export {
69
+ h as default
70
+ };