@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,176 @@
1
+ import { ref as w, computed as x, getCurrentInstance as $, createElementBlock as d, openBlock as u, createElementVNode as s, createCommentVNode as m, toDisplayString as p, createVNode as r, Fragment as P, renderList as S, unref as g } from "vue";
2
+ import _ from "../HappyFlowComponents/ui/InputField.vue.js";
3
+ import T from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
4
+ import { PhWarning as h } from "@phosphor-icons/vue";
5
+ /* empty css */
6
+ import B from "../../_virtual/_plugin-vue_export-helper.js";
7
+ import { useEditModeInfo as W } from "../composables/useDpiEditMode.js";
8
+ const C = { class: "dpiV3InnerComponentWrap" }, O = { class: "copy-large-regular" }, R = { class: "dpiV3AutoCompleteWrap" }, A = { class: "firstRow" }, D = { class: "secondRow" }, F = { class: "copy-small-regular" }, N = { class: "input-container" }, U = {
9
+ key: 0,
10
+ class: "dpiV3_errormsgWrapper"
11
+ }, Z = { class: "copy-mini-regular" }, H = { class: "input-container" }, L = {
12
+ key: 0,
13
+ class: "dpiV3_errormsgWrapper"
14
+ }, M = { class: "copy-mini-regular" }, j = { class: "input-container" }, K = {
15
+ key: 0,
16
+ class: "dpiV3_errormsgWrapper"
17
+ }, q = { class: "copy-mini-regular" }, G = {
18
+ key: 0,
19
+ class: "form-error-message"
20
+ }, J = {
21
+ __name: "PublisherPage",
22
+ props: {
23
+ context: Object
24
+ },
25
+ setup(k) {
26
+ const v = k, { isEditMode: I } = W();
27
+ let c = w({ 1: !1, 2: !1, 3: !1 });
28
+ const n = x(() => {
29
+ var a, t;
30
+ const e = (t = (a = $().appContext.config.globalProperties.$keycloak) == null ? void 0 : a.idTokenParsed) == null ? void 0 : t.contact;
31
+ if (e) {
32
+ const i = {
33
+ organization: e.organization
34
+ };
35
+ return e.email && (i.email = e.email), e.website && (i.website = `https://${e.website}`), i;
36
+ }
37
+ return {};
38
+ }), o = w([
39
+ { isValid: "unset", "foaf:name": "", "foaf:mbox": "", "foaf:homepage": "" }
40
+ ]), l = w({
41
+ 1: { show: !1, message: "Bitte geben Sie einen gültigen Organisationsnamen ein." },
42
+ 2: { show: !1, message: "Bitte geben Sie eine gültige E-Mail-Adresse ein." },
43
+ 3: { show: !1, message: "Bitte geben Sie eine gültige URL ein." }
44
+ }), V = (e) => e.trim().length >= 2, E = (e) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e), y = (e) => /^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/.test(e);
45
+ I.value || v.context.node.input(o);
46
+ const f = (e, a, t) => {
47
+ o.value = o.value.map((b) => a in b ? { ...b, [a]: e } : b);
48
+ let i = !1;
49
+ if (e.trim() === "")
50
+ l.value[t].show = !1, c.value[t] = !1;
51
+ else {
52
+ switch (a) {
53
+ case "foaf:name":
54
+ i = V(e);
55
+ break;
56
+ case "foaf:mbox":
57
+ i = E(e);
58
+ break;
59
+ case "foaf:homepage":
60
+ i = y(e);
61
+ break;
62
+ default:
63
+ i = e.trim() !== "";
64
+ }
65
+ l.value[t].show = !i, c.value[t] = i;
66
+ }
67
+ c.value[1] && c.value[2] && c.value[3] ? o.value[0].isValid = !0 : o.value[0].isValid = !1, v.context.node.value.length === 0 && v.context.node.input(o.value);
68
+ }, z = () => {
69
+ if (n.value && (n.value.organization && f(n.value.organization, "foaf:name", 1), n.value.email && f(n.value.email, "foaf:mbox", 2), n.value.website)) {
70
+ let e = n.value.website;
71
+ e.startsWith("https://") ? e = e.substring(8) : e.startsWith("http://") && (e = e.substring(7)), f(e, "foaf:homepage", 3);
72
+ }
73
+ };
74
+ return (e, a) => (u(), d("div", C, [
75
+ s("h4", null, p(e.$t("message.dataupload.datasets.dct:publisher.title")), 1),
76
+ s("div", O, p(e.$t("message.dataupload.datasets.dct:publisher.description")), 1),
77
+ s("div", R, [
78
+ s("div", A, [
79
+ a[3] || (a[3] = s("div", null, [
80
+ s("span", { class: "copy-small-semi-bold" }, "Konto")
81
+ ], -1)),
82
+ r(T, {
83
+ buttonText: "Diese Details verwenden",
84
+ iconStart: "true",
85
+ iconName: "copy",
86
+ onClick: z
87
+ })
88
+ ]),
89
+ s("div", D, [
90
+ (u(!0), d(P, null, S(Object.values(n.value), (t) => (u(), d("span", F, p(t), 1))), 256))
91
+ ])
92
+ ]),
93
+ s("div", N, [
94
+ r(_, {
95
+ modelValue: o.value[0]["foaf:name"],
96
+ "onUpdate:modelValue": a[0] || (a[0] = (t) => f(t, "foaf:name", 1)),
97
+ addOnText: !1,
98
+ datePicker: !1,
99
+ infoIcon: !1,
100
+ placeholder: e.$t("message.dataupload.datasets.dct:publisher.nameInput.placeholder"),
101
+ preIcon: !1,
102
+ inputFieldSize: "large",
103
+ initialHintText: !1,
104
+ label: e.$t("message.dataupload.datasets.dct:publisher.nameInput.title"),
105
+ showEndIcon: !1,
106
+ showError: l.value[1].show
107
+ }, null, 8, ["modelValue", "placeholder", "label", "showError"]),
108
+ l.value[1].show ? (u(), d("div", U, [
109
+ r(g(h), {
110
+ size: 16,
111
+ weight: "fill"
112
+ }),
113
+ s("span", Z, p(l.value[1].message), 1)
114
+ ])) : m("", !0)
115
+ ]),
116
+ s("div", H, [
117
+ r(_, {
118
+ modelValue: o.value[0]["foaf:mbox"],
119
+ "onUpdate:modelValue": a[1] || (a[1] = (t) => f(t, "foaf:mbox", 2)),
120
+ addOnText: !1,
121
+ datePicker: !1,
122
+ infoIcon: !1,
123
+ placeholder: e.$t("message.dataupload.datasets.dct:publisher.mailInput.placeholder"),
124
+ preIcon: !1,
125
+ inputFieldSize: "large",
126
+ initialHintText: !1,
127
+ showError: l.value[2].show,
128
+ label: e.$t("message.dataupload.datasets.dct:publisher.mailInput.title"),
129
+ showEndIcon: !1
130
+ }, null, 8, ["modelValue", "placeholder", "showError", "label"]),
131
+ l.value[2].show ? (u(), d("div", L, [
132
+ r(g(h), {
133
+ size: 16,
134
+ weight: "fill"
135
+ }),
136
+ s("span", M, p(l.value[2].message), 1)
137
+ ])) : m("", !0)
138
+ ]),
139
+ s("div", j, [
140
+ r(_, {
141
+ modelValue: o.value[0]["foaf:homepage"],
142
+ "onUpdate:modelValue": a[2] || (a[2] = (t) => f(t, "foaf:homepage", 3)),
143
+ addOnText: !0,
144
+ datePicker: !1,
145
+ infoIcon: !1,
146
+ placeholder: e.$t("message.dataupload.datasets.dct:publisher.websiteInput.placeholder"),
147
+ preIcon: !1,
148
+ inputFieldSize: "large",
149
+ initialHintText: !1,
150
+ addOnLeadingText: "https://",
151
+ label: e.$t("message.dataupload.datasets.dct:publisher.websiteInput.title"),
152
+ showEndIcon: !1,
153
+ showError: l.value[3].show
154
+ }, null, 8, ["modelValue", "placeholder", "label", "showError"]),
155
+ l.value[3].show ? (u(), d("div", K, [
156
+ r(g(h), {
157
+ size: 16,
158
+ weight: "fill"
159
+ }),
160
+ s("span", q, p(l.value[3].message), 1)
161
+ ])) : m("", !0)
162
+ ]),
163
+ s("div", null, p(e.$t("message.dataupload.datasets.dct:publisher.descriptionBottom")), 1),
164
+ o.value.find((t) => t.isValid === !1) ? (u(), d("div", G, [
165
+ r(g(h), {
166
+ size: 16,
167
+ weight: "fill"
168
+ }),
169
+ a[4] || (a[4] = s("span", { class: "copy-mini-regular" }, "Bitte füllen Sie alle Pflichtfelder aus, bevor Sie fortfahren.", -1))
170
+ ])) : m("", !0)
171
+ ]));
172
+ }
173
+ }, le = /* @__PURE__ */ B(J, [["__scopeId", "data-v-6f99db11"]]);
174
+ export {
175
+ le as default
176
+ };
@@ -0,0 +1,413 @@
1
+ import { computed as v, ref as g, onMounted as ve, resolveComponent as fe, createElementBlock as n, openBlock as o, Fragment as S, createCommentVNode as c, createBlock as T, createElementVNode as a, unref as p, toDisplayString as s, createVNode as _, renderList as B, createTextVNode as z, withCtx as _e, isRef as te } from "vue";
2
+ import { useI18n as he } from "vue-i18n";
3
+ /* empty css */
4
+ /* empty css */
5
+ import C from "../HappyFlowComponents/ui/ButtonV3.vue.js";
6
+ import ge from "../HappyFlowComponents/ui/Chip.vue.js";
7
+ import "@phosphor-icons/vue";
8
+ import "@formkit/core";
9
+ import ae from "../HappyFlowComponents/ui/StateTag.vue.js";
10
+ import se from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
11
+ import O from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
12
+ import ye from "../HappyFlowComponents/ui/RapModal.vue.js";
13
+ import { useStore as me } from "vuex";
14
+ import { useFormKitNodeById as be } from "@formkit/vue";
15
+ import Se from "../HappyFlowComponents/ui/TableRowV3.vue.js";
16
+ import "vue-router";
17
+ import { useFormValues as ke } from "../composables/useDpiFormValues.js";
18
+ /* empty css */
19
+ import Ce from "../../_virtual/_plugin-vue_export-helper.js";
20
+ import { useDpiContext as De } from "../composables/useDpiContext.js";
21
+ const Ve = { key: 0 }, xe = {
22
+ key: 1,
23
+ class: "dpiV3InnerComponentWrap V3-typography"
24
+ }, $e = { class: "w-100" }, Te = { class: "dpiV3_Frame_831" }, Be = { key: 0 }, Me = {
25
+ key: 1,
26
+ class: "dpiV3_Frame_840"
27
+ }, He = { class: "dpiV3_title" }, Re = { class: "dpiV3_intro copy-large-regular" }, Pe = {
28
+ key: 0,
29
+ class: "dpiV3Card rapFindability"
30
+ }, we = { class: "firstSec" }, ze = { class: "secondSec" }, Oe = {
31
+ class: "copy-large-regular",
32
+ style: { "margin-bottom": "4px" }
33
+ }, Ee = { class: "thirdSec" }, Fe = { class: "headline-5" }, je = {
34
+ key: 1,
35
+ class: "dpiV3Card rapEssentials"
36
+ }, Le = { class: "firstSec" }, Ie = { class: "secondSec" }, Ne = { class: "heading-3" }, We = { class: "thirdSec" }, Ue = { class: "fourthSec flexSec" }, Ge = { class: "copy-large-regular" }, Ke = { class: "copy-large-semi-bold" }, Ye = { class: "fifthSec flexSec" }, Ze = { class: "copy-large-regular" }, qe = { class: "headline-5" }, Je = { class: "copy-large-regular" }, Qe = ["href"], Xe = { class: "sixthSec flexSec" }, Ae = { class: "copy-large-regular" }, et = { class: "headline-5" }, tt = { class: "copy-large-regular" }, at = { class: "copy-large-regular" }, st = {
37
+ key: 0,
38
+ class: "dpiV3Card rapCoverage"
39
+ }, ot = { class: "firstSec" }, lt = {
40
+ key: 0,
41
+ class: "secondSec flexSec"
42
+ }, nt = { class: "rapHeadWrap" }, it = { class: "copy-large-regular" }, rt = { class: "coveragePlaceWrap" }, dt = { class: "headline-5" }, ct = {
43
+ key: 1,
44
+ class: "thirdSec"
45
+ }, ut = { class: "rapHeadWrap" }, pt = { class: "copy-large-regular" }, vt = { class: "dpiV3_RapInnerCardWrapper" }, ft = { class: "dpiV3_RapInnerCard" }, _t = { class: "copy-small-regular" }, ht = { key: 0 }, gt = { class: "copy-small-regular" }, yt = { key: 0 }, mt = { class: "dpiV3Card rapDistribution" }, bt = { class: "firstSec" }, St = { class: "secondSec flexSec" }, kt = { class: "copy-large-regular" }, Ct = { class: "headline-5" }, Dt = { class: "thirdSec flexSec" }, Vt = { class: "copy-large-regular" }, xt = { class: "headline-5" }, $t = { class: "fourthSec flexSec" }, Tt = { class: "copy-large-regular" }, Bt = { class: "dpiV3_distCard" }, Mt = { class: "copy-large-semi-bold" }, Ht = {
46
+ key: 1,
47
+ class: "dpiV3Card rapDistribution"
48
+ }, Rt = { class: "firstSec" }, Pt = { class: "secondSec flexSec" }, wt = { class: "dpiV3_optionalSpanHeadWrap" }, zt = { class: "dpiV3_optionalSpan copy-large-regular" }, Ot = { key: 0 }, Et = { key: 0 }, Ft = { key: 1 }, jt = { key: 2 }, Lt = { key: 3 }, It = { key: 4 }, Nt = { key: 5 }, Wt = { key: 6 }, Ut = { class: "dpiV3_tempAddMore" }, Gt = {
49
+ key: 2,
50
+ class: "dpiV3_tempAddMore"
51
+ }, Kt = {
52
+ __name: "ReviewAndPublishPage",
53
+ props: {
54
+ context: Object
55
+ },
56
+ setup(oe) {
57
+ const { t: E } = he(), D = De();
58
+ v(() => {
59
+ var e;
60
+ return !!((e = D.value.edit) != null && e.enabled);
61
+ });
62
+ let F = g(D.value.edit.enabled && !D.value.edit.fromDraft);
63
+ console.log(F), g([{ isValid: !0 }]), g(!1), me(), g(null);
64
+ let y = g(!1), m = g({});
65
+ const j = g(!1), { formValues: u } = ke();
66
+ be("dpiForm", (e) => {
67
+ j.value = !0;
68
+ });
69
+ const le = (e) => {
70
+ let t, i, d, h, x, $;
71
+ return e.forEach((f) => {
72
+ f.Year && (t = parseInt(f.Year)), f.Month && (i = parseInt(f.Month) - 1), f.Day && (d = parseInt(f.Day)), f.Hour && (h = parseInt(f.Hour)), f.Minute && (x = parseInt(f.Minute)), f.Second && ($ = parseInt(f.Second));
73
+ }), new Date(
74
+ t || 2025,
75
+ i || 0,
76
+ d || 1,
77
+ h || 0,
78
+ x || 0,
79
+ $ || 0
80
+ ).toLocaleString("de", {
81
+ timeZone: "Europe/Berlin",
82
+ timeZoneName: "short"
83
+ });
84
+ }, L = g(), V = g(!1);
85
+ function H(e) {
86
+ return !(Object.keys(e).includes("isValid") && Object.keys(e).length === 1);
87
+ }
88
+ const ne = v(() => {
89
+ var t, i;
90
+ const e = (i = (t = u.value) == null ? void 0 : t.Discoverability) == null ? void 0 : i.discoverabilityPage;
91
+ return Array.isArray(e) ? (e == null ? void 0 : e.filter(H)) || [] : [];
92
+ }), ie = v(() => {
93
+ var e, t;
94
+ return ((t = (e = u.value) == null ? void 0 : e.Discoverability) == null ? void 0 : t.hvdPage) || [];
95
+ }), re = v(() => {
96
+ var i, d;
97
+ const e = (d = (i = u.value) == null ? void 0 : i.BasicInfos) == null ? void 0 : d["dct:title"], t = e == null ? void 0 : e.find((h) => h["@language"] === "de");
98
+ return t ? t["@value"] : null;
99
+ }), de = v(() => {
100
+ var e, t, i, d;
101
+ return ((d = (i = (t = (e = u.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:description"]) == null ? void 0 : i[0]) == null ? void 0 : d["@value"]) || "";
102
+ }), I = v(() => {
103
+ var t, i, d, h;
104
+ const e = (h = (d = (i = (t = u.value) == null ? void 0 : t.BasicInfos) == null ? void 0 : i["dct:modified"]) == null ? void 0 : d[0]) == null ? void 0 : h["@value"];
105
+ return e ? new Date(e).toLocaleDateString("de-DE") : "";
106
+ }), M = v(() => {
107
+ var e, t, i;
108
+ return ((i = (t = (e = u.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:publisher"]) == null ? void 0 : i[0]) || {};
109
+ }), R = v(() => {
110
+ var e, t, i;
111
+ return ((i = (t = (e = u.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dcat:contactPoint"]) == null ? void 0 : i[0]) || {};
112
+ }), P = v(() => {
113
+ var e, t, i, d;
114
+ return ((d = (i = (t = (e = u.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcatde:politicalGeocodingURI"]) == null ? void 0 : i.filter(
115
+ H
116
+ )) == null ? void 0 : d[0]) || {};
117
+ }), w = v(() => {
118
+ var e, t, i, d;
119
+ return ((d = (i = (t = (e = u.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcat:temporalResolution"]) == null ? void 0 : i.filter(
120
+ H
121
+ )) == null ? void 0 : d[0]) || {};
122
+ }), N = v(() => Object.keys(P.value).length > 1), W = v(() => Object.keys(w.value).length > 1 && w.value["dct:temporal"]), U = v(() => {
123
+ var e, t, i;
124
+ return ((i = (t = (e = u.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dct:license"]) == null ? void 0 : i[0]) || {};
125
+ }), ce = v(() => {
126
+ var e, t;
127
+ return ((t = (e = u.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) || [];
128
+ }), b = v(() => {
129
+ var e;
130
+ return ((e = u.value) == null ? void 0 : e.Additionals) || {};
131
+ }), G = v(() => (console.log(Object.keys(b.value)), Object.keys(b.value).forEach((e) => {
132
+ if (b.value.hasOwnProperty(e)) {
133
+ const t = b.value[e];
134
+ (t === void 0 || Array.isArray(t) && t.length === 0) && delete b.value[e];
135
+ }
136
+ }), Object.keys(b.value))), K = v(() => G.value.length > 0), k = (e) => {
137
+ L.value = e, V.value = !0, console.log("Modal sichtbar:", V.value);
138
+ }, ue = () => {
139
+ V.value = !1, console.log("Modal unsichtbar:", V.value);
140
+ }, Y = (e) => {
141
+ delete u.value.Additionals[e];
142
+ }, pe = (e, t) => {
143
+ y.value = !0, m.value = {
144
+ button: "Löschen",
145
+ header: E("message.dataupload.additionals." + e) + " löschen",
146
+ text: "Sind Sie sicher, dass Sie das optionale Feld " + E("message.dataupload.additionals." + e) + " löschen wollen?",
147
+ action: e
148
+ };
149
+ }, Z = g(!1);
150
+ return ve(() => {
151
+ Z.value = !0;
152
+ }), (e, t) => {
153
+ var d, h, x, $, f, q, J, Q, X, A, ee;
154
+ const i = fe("formatbubble");
155
+ return o(), n(S, null, [
156
+ Z.value && j.value ? (o(), n("div", Ve, [
157
+ V.value ? (o(), T(ye, {
158
+ key: 0,
159
+ onClose: ue,
160
+ context: oe.context,
161
+ activeSection: L.value
162
+ }, null, 8, ["context", "activeSection"])) : c("", !0),
163
+ (o(), n("div", xe, [
164
+ a("div", $e, [
165
+ a("div", Te, [
166
+ p(D).edit.fromDraft || p(D).edit.enabled ? (o(), n("div", Be, [
167
+ (o(), T(Se, {
168
+ key: (h = (d = p(u).value) == null ? void 0 : d.BasicInfos) == null ? void 0 : h.datasetID,
169
+ "data-cy": p(u).value,
170
+ id: ($ = (x = p(u).value) == null ? void 0 : x.BasicInfos) == null ? void 0 : $.datasetID,
171
+ catalogue: "test-catalog",
172
+ text: ((q = (f = p(u).value) == null ? void 0 : f.BasicInfos) == null ? void 0 : q.title.de) || ((Q = (J = p(u).value) == null ? void 0 : J.BasicInfos) == null ? void 0 : Q.title.en),
173
+ date: I.value,
174
+ draft: !p(F),
175
+ dataset: e.dataset,
176
+ fromDraft: "true"
177
+ }, null, 8, ["data-cy", "id", "text", "date", "draft", "dataset"]))
178
+ ])) : (o(), n("div", Me, [
179
+ a("h4", He, s(e.$t("message.dataupload.datasets.rap.title")), 1),
180
+ a("div", Re, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
181
+ ]))
182
+ ])
183
+ ]),
184
+ (o(), n("div", Pe, [
185
+ a("div", we, [
186
+ a("span", null, s(e.$t("message.dataupload.datasets.rap.findability.title")), 1),
187
+ _(C, {
188
+ size: "large",
189
+ iconStart: "pen",
190
+ variant: "secondary",
191
+ onClick: t[0] || (t[0] = (l) => k("findabilityHvd"))
192
+ })
193
+ ]),
194
+ a("div", ze, [
195
+ a("span", Oe, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
196
+ (o(!0), n(S, null, B(ne.value, (l, r) => (o(), T(ge, {
197
+ key: r,
198
+ text: l.label,
199
+ data: { "@value": l.value, URI: l.URI },
200
+ setup: {
201
+ "@type": "static",
202
+ "@inTable": !1,
203
+ "@rapfindability": !0
204
+ }
205
+ }, null, 8, ["text", "data"]))), 128))
206
+ ]),
207
+ a("div", Ee, [
208
+ _(ae, {
209
+ label: "HVD",
210
+ state: "hvd",
211
+ size: "page"
212
+ }),
213
+ a("h5", Fe, s(((A = (X = ie.value) == null ? void 0 : X[0]) == null ? void 0 : A.label) || "Kein HVD Datensatz"), 1)
214
+ ])
215
+ ])),
216
+ (o(), n("div", je, [
217
+ a("div", Le, [
218
+ a("span", null, s(e.$t("message.dataupload.datasets.rap.essentials.title")), 1),
219
+ _(C, {
220
+ size: "large",
221
+ iconStart: "pen",
222
+ variant: "secondary",
223
+ onClick: t[1] || (t[1] = (l) => k("essentials"))
224
+ })
225
+ ]),
226
+ a("div", Ie, [
227
+ a("h3", Ne, s(re.value), 1)
228
+ ]),
229
+ a("div", We, [
230
+ a("span", null, s(de.value), 1)
231
+ ]),
232
+ a("div", Ue, [
233
+ a("span", Ge, s(e.$t("message.dataupload.datasets.rap.essentials.modifiedHeader")), 1),
234
+ a("span", Ke, s(I.value), 1)
235
+ ]),
236
+ a("div", Ye, [
237
+ a("span", Ze, s(e.$t("message.dataupload.datasets.rap.essentials.publisherHeader")), 1),
238
+ a("h5", qe, s(M.value["foaf:name"] || ""), 1),
239
+ a("a", Je, s(M.value["foaf:mbox"] || ""), 1),
240
+ a("a", {
241
+ class: "copy-large-regular",
242
+ href: M.value["foaf:homepage"] || ""
243
+ }, s(M.value["foaf:homepage"] || ""), 9, Qe)
244
+ ]),
245
+ a("div", Xe, [
246
+ a("span", Ae, s(e.$t("message.dataupload.datasets.rap.essentials.contactHeader")), 1),
247
+ a("h5", et, s(R.value["vcard:fn"] || ""), 1),
248
+ a("a", tt, s(R.value["vcard:hasEmail"] || ""), 1),
249
+ a("span", at, s(R.value["vcard:hasTelephone"] || ""), 1)
250
+ ])
251
+ ])),
252
+ (o(), n(S, { key: 2 }, [
253
+ N.value || W.value ? (o(), n("div", st, [
254
+ a("div", ot, [
255
+ a("span", null, s(e.$t("message.dataupload.datasets.rap.coverage.title")), 1),
256
+ _(C, {
257
+ size: "large",
258
+ iconStart: "pen",
259
+ variant: "secondary",
260
+ onClick: t[2] || (t[2] = (l) => k("coverage"))
261
+ })
262
+ ]),
263
+ N.value ? (o(), n("div", lt, [
264
+ a("div", nt, [
265
+ a("span", it, s(e.$t("message.dataupload.datasets.rap.coverage.geopolTitle")), 1),
266
+ _(O, { buttonText: "löschen" })
267
+ ]),
268
+ a("div", rt, [
269
+ a("h5", dt, s(P.value.label || ""), 1),
270
+ _(ae, {
271
+ label: ((ee = P.value.inVoc) == null ? void 0 : ee.toUpperCase()) || "",
272
+ state: "geopolitical",
273
+ size: "page"
274
+ }, null, 8, ["label"])
275
+ ])
276
+ ])) : c("", !0),
277
+ W.value ? (o(), n("div", ct, [
278
+ a("div", ut, [
279
+ a("span", pt, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
280
+ _(O, { buttonText: "löschen" })
281
+ ]),
282
+ a("div", vt, [
283
+ (o(!0), n(S, null, B(w.value["dct:temporal"] || [], (l) => (o(), n("div", ft, [
284
+ a("div", _t, [
285
+ t[10] || (t[10] = z(" von: ", -1)),
286
+ a("div", null, [
287
+ a("span", null, s(new Date(l["dcat:startDate"]).toLocaleDateString(
288
+ "de-DE"
289
+ )), 1),
290
+ l.startTime != null ? (o(), n("span", ht, s(l.startTime), 1)) : c("", !0)
291
+ ])
292
+ ]),
293
+ a("div", gt, [
294
+ t[11] || (t[11] = z(" bis: ", -1)),
295
+ a("div", null, [
296
+ a("span", null, s(new Date(l["dcat:endDate"]).toLocaleDateString(
297
+ "de-DE"
298
+ )), 1),
299
+ l.endTime != null ? (o(), n("span", yt, s(l.endTime), 1)) : c("", !0)
300
+ ])
301
+ ])
302
+ ]))), 256))
303
+ ])
304
+ ])) : c("", !0)
305
+ ])) : c("", !0),
306
+ a("div", mt, [
307
+ a("div", bt, [
308
+ a("span", null, s(e.$t("message.metadata.distributions")), 1),
309
+ _(C, {
310
+ size: "large",
311
+ iconStart: "pen",
312
+ variant: "secondary",
313
+ onClick: t[3] || (t[3] = (l) => k("distributions"))
314
+ })
315
+ ]),
316
+ a("div", St, [
317
+ a("span", kt, s(e.$t("message.dataupload.steps.dct:license")), 1),
318
+ a("h5", Ct, s(U.value["dcterms:license"] || ""), 1)
319
+ ]),
320
+ a("div", Dt, [
321
+ a("span", Vt, s(e.$t("message.dataupload.steps.dct:publisher")), 1),
322
+ a("h5", xt, s(U.value.title || ""), 1)
323
+ ]),
324
+ a("div", $t, [
325
+ a("span", Tt, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
326
+ (o(!0), n(S, null, B(ce.value, (l) => (o(), n("div", Bt, [
327
+ a("span", Mt, s(l["dct:title"]), 1),
328
+ _(i, null, {
329
+ default: _e(() => {
330
+ var r;
331
+ return [
332
+ z(s((r = l["dct:format"]) == null ? void 0 : r.label), 1)
333
+ ];
334
+ }),
335
+ _: 2
336
+ }, 1024)
337
+ ]))), 256))
338
+ ])
339
+ ]),
340
+ K.value ? (o(), n("div", Ht, [
341
+ a("div", Rt, [
342
+ a("span", null, s(e.$t("message.metadata.additionals")), 1)
343
+ ]),
344
+ (o(!0), n(S, null, B(G.value, (l) => (o(), n("div", Pt, [
345
+ a("div", wt, [
346
+ a("span", zt, s(e.$t("message.dataupload.additionals." + l)) + " (optional)", 1),
347
+ _(O, {
348
+ buttonText: "löschen",
349
+ onClick: (r) => pe(l)
350
+ }, null, 8, ["onClick"])
351
+ ]),
352
+ l === "dcat:temporalResolution" ? (o(), n("div", Ot, [
353
+ a("span", null, s(le(b.value[l] || [])), 1)
354
+ ])) : c("", !0),
355
+ l != "dcat:temporalResolution" ? (o(!0), n(S, { key: 1 }, B(b.value[l] || [], (r) => (o(), n("div", {
356
+ key: r ? r["@id"] || r["@value"] || r["rdfs:label"] : null
357
+ }, [
358
+ r && r["@value"] ? (o(), n("span", Et, s(r["@value"]), 1)) : c("", !0),
359
+ r && r["@id"] ? (o(), n("span", Ft, s(r["@id"]), 1)) : c("", !0),
360
+ r && r["rdfs:label"] ? (o(), n("span", jt, s(r["rdfs:label"]), 1)) : c("", !0),
361
+ r && r["foaf:name"] ? (o(), n("span", Lt, s(r["foaf:name"]), 1)) : c("", !0),
362
+ r && r["foaf:homepage"] ? (o(), n("span", It, s(r["foaf:homepage"]), 1)) : c("", !0),
363
+ r && r["foaf:mbox"] ? (o(), n("span", Nt, s(r["foaf:mbox"]), 1)) : c("", !0),
364
+ r && r["rdf:type"] ? (o(), n("span", Wt, s(r["rdf:type"]), 1)) : c("", !0)
365
+ ]))), 128)) : c("", !0)
366
+ ]))), 256)),
367
+ a("div", Ut, [
368
+ _(C, {
369
+ buttonText: "Optionale Informationen hinzufügen",
370
+ size: "large",
371
+ iconStart: "plus",
372
+ variant: "tertiary",
373
+ onClick: t[4] || (t[4] = (l) => k("additionals"))
374
+ })
375
+ ])
376
+ ])) : c("", !0),
377
+ K.value ? c("", !0) : (o(), n("div", Gt, [
378
+ _(C, {
379
+ buttonText: "Optionale Informationen hinzufügen",
380
+ size: "large",
381
+ iconStart: "plus",
382
+ variant: "tertiary",
383
+ onClick: t[5] || (t[5] = (l) => k("additionals"))
384
+ })
385
+ ]))
386
+ ], 64))
387
+ ])),
388
+ p(y) ? (o(), T(se, {
389
+ key: 2,
390
+ buttons: p(m).button,
391
+ headerText: p(m).header,
392
+ text: p(m).text,
393
+ onClose: t[6] || (t[6] = (l) => te(y) ? y.value = !1 : y = !1),
394
+ action: p(m).action,
395
+ onActionHandling: t[7] || (t[7] = (l) => Y(l))
396
+ }, null, 8, ["buttons", "headerText", "text", "action"])) : c("", !0)
397
+ ])) : c("", !0),
398
+ p(y) ? (o(), T(se, {
399
+ key: 1,
400
+ buttons: p(m).button,
401
+ headerText: p(m).header,
402
+ text: p(m).text,
403
+ onClose: t[8] || (t[8] = (l) => te(y) ? y.value = !1 : y = !1),
404
+ action: p(m).action,
405
+ onActionHandling: t[9] || (t[9] = (l) => Y(l))
406
+ }, null, 8, ["buttons", "headerText", "text", "action"])) : c("", !0)
407
+ ], 64);
408
+ };
409
+ }
410
+ }, va = /* @__PURE__ */ Ce(Kt, [["__scopeId", "data-v-c7de4a73"]]);
411
+ export {
412
+ va as default
413
+ };
@@ -0,0 +1,55 @@
1
+ import { defineComponent as u, reactive as m, createElementBlock as V, openBlock as c, createElementVNode as n, toDisplayString as f, createVNode as i, unref as r, withCtx as s, renderSlot as x } from "vue";
2
+ import { FormKit as d } from "@formkit/vue";
3
+ const g = { class: "formkitProperty" }, k = { class: "formkitCmpWrap d-flex" }, N = /* @__PURE__ */ u({
4
+ __name: "SelectControlledGroup",
5
+ props: {
6
+ name: {},
7
+ selectName: {},
8
+ initialValue: {},
9
+ options: {},
10
+ index: {},
11
+ id: {},
12
+ label: {},
13
+ placeholder: {},
14
+ info: {}
15
+ },
16
+ setup(p) {
17
+ const e = p, o = m({
18
+ groupValue: {},
19
+ selectValue: e.initialValue ?? Object.keys(e.options)[0]
20
+ });
21
+ return (a, l) => (c(), V("div", g, [
22
+ n("h4", null, f(e.label), 1),
23
+ n("div", k, [
24
+ i(r(d), {
25
+ id: e.id,
26
+ type: "group",
27
+ name: a.name,
28
+ index: e.index,
29
+ modelValue: o.groupValue,
30
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => o.groupValue = t)
31
+ }, {
32
+ default: s(() => [
33
+ i(r(d), {
34
+ modelValue: o.selectValue,
35
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => o.selectValue = t),
36
+ type: "select",
37
+ options: e.options,
38
+ name: e.selectName
39
+ }, {
40
+ prefix: s(() => l[2] || (l[2] = [])),
41
+ _: 1
42
+ }, 8, ["modelValue", "options", "name"]),
43
+ x(a.$slots, "default", {
44
+ selectValue: o.selectValue
45
+ })
46
+ ]),
47
+ _: 3
48
+ }, 8, ["id", "name", "index", "modelValue"])
49
+ ])
50
+ ]));
51
+ }
52
+ });
53
+ export {
54
+ N as default
55
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./SelectControlledGroup.vue.js";
2
+ export {
3
+ f as default
4
+ };