@piveau/dpi 0.1.0-beta.8 → 0.1.0-twinby.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/data-provider-interface/DPIMenu.vue.js +7 -7
  3. package/dist/data-provider-interface/DataProviderInterface.vue2.js +18 -17
  4. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +7 -0
  5. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +122 -0
  6. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteInputDefinition.js +14 -0
  7. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue.js +75 -0
  8. package/dist/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocabFormKit.vue2.js +4 -0
  9. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectNameStep.vue.js +29 -0
  10. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue.js +7 -0
  11. package/dist/data-provider-interface/HappyFlowComponents/ui/BasicInfosStep/ProjectOrganisationStep.vue2.js +70 -0
  12. package/dist/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +19 -20
  13. package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +1 -1
  14. package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +32 -28
  15. package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +1 -1
  16. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +21 -0
  17. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue.js +60 -0
  18. package/dist/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldFormKit.vue2.js +4 -0
  19. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue.js +7 -0
  20. package/dist/data-provider-interface/HappyFlowComponents/ui/ListBox/Listbox.vue2.js +98 -0
  21. package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +16 -21
  22. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +83 -81
  23. package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +2 -4
  24. package/dist/data-provider-interface/components/DistLicense.vue.js +61 -63
  25. package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +791 -779
  26. package/dist/data-provider-interface/components/HVDPage.vue.js +45 -43
  27. package/dist/data-provider-interface/components/InputPageStep.vue.js +9 -11
  28. package/dist/data-provider-interface/components/ProgressSteps.vue.js +7 -0
  29. package/dist/data-provider-interface/components/ProgressSteps.vue2.js +106 -0
  30. package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +204 -204
  31. package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +211 -212
  32. package/dist/data-provider-interface/composables/useDpiStepper.js +80 -39
  33. package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +145 -105
  34. package/dist/data-provider-interface/store/modules/conversionStore.js +130 -0
  35. package/dist/data-provider-interface/store/modules/dpiStore.js +18 -16
  36. package/dist/data-provider-interface/utils/RDFconverter.js +226 -0
  37. package/dist/data-provider-interface/utils/inputConverter.js +255 -0
  38. package/dist/data-provider-interface/utils/useSteps.js +39 -30
  39. package/dist/data-provider-interface/views/InputPage.vue.js +80 -92
  40. package/dist/data-provider-interface/views/InputPageProject.vue.js +528 -0
  41. package/dist/index.js +31 -27
  42. package/dist/stories/components/DemoStep.vue.js +331 -0
  43. package/dist/stories/components/DemoStepper.vue.js +7 -0
  44. package/dist/stories/components/DemoStepper.vue2.js +160 -0
  45. package/dist/stories/components/PartnerCard.vue.js +7 -0
  46. package/dist/stories/components/PartnerCard.vue2.js +32 -0
  47. package/dist/stories/components/ReviewStepDemo.vue.js +7 -0
  48. package/dist/stories/components/ReviewStepDemo.vue2.js +98 -0
  49. package/package.json +11 -4
@@ -1,80 +1,80 @@
1
- import { computed as v, ref as h, onMounted as ve, resolveComponent as fe, createElementBlock as n, openBlock as o, Fragment as k, createCommentVNode as c, createBlock as B, createElementVNode as a, unref as u, toDisplayString as s, createVNode as _, renderList as M, createTextVNode as w, withCtx as _e, isRef as te } from "vue";
1
+ import { computed as v, ref as g, onMounted as me, resolveComponent as ye, createElementBlock as n, openBlock as o, Fragment as S, createCommentVNode as p, createBlock as B, createElementVNode as a, unref as c, toDisplayString as s, createVNode as h, renderList as M, createTextVNode as w, withCtx as Se, isRef as ie } from "vue";
2
2
  import "@formkit/core";
3
- import { useFormKitNodeById as he } from "@formkit/vue";
3
+ import { useFormKitNodeById as ke } from "@formkit/vue";
4
4
  import "@phosphor-icons/vue";
5
- import { useI18n as ge } from "vue-i18n";
5
+ import { useI18n as Ce } from "vue-i18n";
6
6
  import "vue-router";
7
- import { useStore as ye } from "vuex";
8
- import { useFormValues as me } from "../composables/useDpiFormValues.js";
7
+ import { useStore as De } from "vuex";
8
+ import { useFormValues as $e } from "../composables/useDpiFormValues.js";
9
9
  import C from "../HappyFlowComponents/ui/ButtonV3.vue.js";
10
- import be from "../HappyFlowComponents/ui/Chip.vue.js";
11
- import ae from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
12
- import ke from "../HappyFlowComponents/ui/RapModal.vue.js";
13
- import se from "../HappyFlowComponents/ui/StateTag.vue.js";
14
- import Se from "../HappyFlowComponents/ui/TableRowV3.vue.js";
10
+ import Ve from "../HappyFlowComponents/ui/Chip.vue.js";
11
+ import re from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
12
+ import xe from "../HappyFlowComponents/ui/RapModal.vue.js";
13
+ import de from "../HappyFlowComponents/ui/StateTag.vue.js";
14
+ import Be from "../HappyFlowComponents/ui/TableRowV3.vue.js";
15
15
  import E from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
16
16
  /* empty css */
17
17
  /* empty css */
18
18
  /* empty css */
19
- import Ce from "../../_virtual/_plugin-vue_export-helper.js";
20
- import { useDpiContext as De } from "../composables/useDpiContext.js";
21
- const $e = { key: 0 }, Ve = {
19
+ import Me from "../../_virtual/_plugin-vue_export-helper.js";
20
+ import { useDpiContext as Te } from "../composables/useDpiContext.js";
21
+ const He = { key: 0 }, ze = {
22
22
  key: 1,
23
23
  class: "dpiV3InnerComponentWrap V3-typography"
24
- }, xe = { class: "w-100" }, Be = { class: "dpiV3_Frame_831" }, Me = { key: 0 }, Te = {
24
+ }, Re = { class: "w-100" }, Ne = { class: "dpiV3_Frame_831" }, Pe = { key: 0 }, we = {
25
25
  key: 1,
26
26
  class: "dpiV3_Frame_840"
27
- }, He = { class: "dpiV3_title" }, ze = { class: "dpiV3_intro copy-large-regular" }, Re = {
27
+ }, Ee = { class: "dpiV3_title" }, Oe = { class: "dpiV3_intro copy-large-regular" }, Fe = {
28
28
  key: 0,
29
29
  class: "dpiV3Card rapFindability"
30
- }, Ne = { class: "firstSec" }, Pe = { class: "secondSec" }, we = {
30
+ }, Le = { class: "firstSec" }, je = { class: "secondSec" }, Ie = {
31
31
  class: "copy-large-regular",
32
32
  style: { "margin-bottom": "4px" }
33
- }, Ee = { class: "thirdSec" }, Oe = { class: "headline-5" }, Fe = {
33
+ }, Ke = { class: "thirdSec" }, We = { class: "headline-5" }, Ue = {
34
34
  key: 1,
35
35
  class: "dpiV3Card rapEssentials"
36
- }, Le = { class: "firstSec" }, je = { class: "secondSec" }, Ie = { class: "heading-3" }, Ke = { class: "thirdSec" }, We = { class: "fourthSec flexSec" }, Ue = { class: "copy-large-regular" }, Ge = { 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 = {
36
+ }, Ge = { class: "firstSec" }, Ye = { class: "secondSec" }, Ze = { class: "heading-3" }, qe = { class: "thirdSec" }, Je = { class: "fourthSec flexSec" }, Qe = { class: "copy-large-regular" }, Xe = { class: "copy-large-semi-bold" }, Ae = { class: "fifthSec flexSec" }, et = { class: "copy-large-regular" }, tt = { class: "headline-5" }, at = { class: "copy-large-regular" }, st = ["href"], ot = { class: "sixthSec flexSec" }, lt = { class: "copy-large-regular" }, nt = { class: "headline-5" }, it = { class: "copy-large-regular" }, rt = { class: "copy-large-regular" }, dt = {
37
37
  key: 0,
38
38
  class: "dpiV3Card rapCoverage"
39
- }, ot = { class: "firstSec" }, lt = {
39
+ }, ct = { class: "firstSec" }, ut = {
40
40
  key: 0,
41
41
  class: "secondSec flexSec"
42
- }, nt = { class: "rapHeadWrap" }, it = { class: "copy-large-regular" }, rt = { class: "coveragePlaceWrap" }, dt = { class: "headline-5" }, ct = {
42
+ }, pt = { class: "rapHeadWrap" }, vt = { class: "copy-large-regular" }, ft = { class: "coveragePlaceWrap" }, _t = { class: "headline-5" }, ht = {
43
43
  key: 1,
44
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" }, kt = { class: "secondSec flexSec" }, St = { class: "copy-large-regular" }, Ct = { class: "headline-5" }, Dt = { class: "thirdSec flexSec" }, $t = { class: "copy-large-regular" }, Vt = { class: "headline-5" }, xt = { class: "fourthSec flexSec" }, Bt = { class: "copy-large-regular" }, Mt = { class: "dpiV3_distCard" }, Tt = { class: "copy-large-semi-bold" }, Ht = {
45
+ }, gt = { class: "rapHeadWrap" }, bt = { class: "copy-large-regular" }, mt = { class: "dpiV3_RapInnerCardWrapper" }, yt = { class: "dpiV3_RapInnerCard" }, St = { class: "copy-small-regular" }, kt = { key: 0 }, Ct = { class: "copy-small-regular" }, Dt = { key: 0 }, $t = { class: "dpiV3Card rapDistribution" }, Vt = { class: "firstSec" }, xt = { class: "secondSec flexSec" }, Bt = { class: "copy-large-regular" }, Mt = { class: "headline-5" }, Tt = { class: "thirdSec flexSec" }, Ht = { class: "copy-large-regular" }, zt = { class: "headline-5" }, Rt = { class: "fourthSec flexSec" }, Nt = { class: "copy-large-regular" }, Pt = { class: "dpiV3_distCard" }, wt = { class: "copy-large-semi-bold" }, Et = {
46
46
  key: 1,
47
47
  class: "dpiV3Card rapDistribution"
48
- }, zt = { class: "firstSec" }, Rt = { class: "secondSec flexSec" }, Nt = { class: "dpiV3_optionalSpanHeadWrap" }, Pt = { class: "dpiV3_optionalSpan copy-large-regular" }, wt = { key: 0 }, Et = { key: 0 }, Ot = { key: 1 }, Ft = { key: 2 }, Lt = { key: 3 }, jt = { key: 4 }, It = { key: 5 }, Kt = { key: 6 }, Wt = { class: "dpiV3_tempAddMore" }, Ut = {
48
+ }, Ot = { class: "firstSec" }, Ft = { class: "secondSec flexSec" }, Lt = { class: "dpiV3_optionalSpanHeadWrap" }, jt = { class: "dpiV3_optionalSpan copy-large-regular" }, It = { key: 0 }, Kt = { key: 0 }, Wt = { key: 1 }, Ut = { key: 2 }, Gt = { key: 3 }, Yt = { key: 4 }, Zt = { key: 5 }, qt = { key: 6 }, Jt = { class: "dpiV3_tempAddMore" }, Qt = {
49
49
  key: 2,
50
50
  class: "dpiV3_tempAddMore"
51
- }, Gt = {
51
+ }, Xt = {
52
52
  __name: "ReviewAndPublishPage",
53
53
  props: {
54
54
  context: Object
55
55
  },
56
- setup(oe) {
57
- const { t: O } = ge(), D = De();
56
+ setup(ce) {
57
+ const { t: O } = Ce(), D = Te();
58
58
  v(() => {
59
59
  var e;
60
60
  return !!((e = D.value.edit) != null && e.enabled);
61
61
  });
62
- let F = h(D.value.edit.enabled && !D.value.edit.fromDraft);
63
- console.log(F), h([{ isValid: !0 }]), h(!1), ye(), h(null);
64
- let y = h(!1), m = h({});
65
- const L = h(!1), { formValues: p } = me();
66
- he("dpiForm", (e) => {
62
+ let F = g(D.value.edit.enabled && !D.value.edit.fromDraft);
63
+ console.log(F), g([{ isValid: !0 }]), g(!1), De(), g(null);
64
+ let b = g(!1), m = g({});
65
+ const L = g(!1), { formValues: u } = $e();
66
+ ke("dpiForm", (e) => {
67
67
  L.value = !0;
68
68
  });
69
- function le(e) {
70
- let t, i, d, g, V, x;
69
+ function ue(e) {
70
+ let t, i, d, _, V, x;
71
71
  return e.forEach((f) => {
72
- f.Year && (t = Number.parseInt(f.Year)), f.Month && (i = Number.parseInt(f.Month) - 1), f.Day && (d = Number.parseInt(f.Day)), f.Hour && (g = Number.parseInt(f.Hour)), f.Minute && (V = Number.parseInt(f.Minute)), f.Second && (x = Number.parseInt(f.Second));
72
+ f.Year && (t = Number.parseInt(f.Year)), f.Month && (i = Number.parseInt(f.Month) - 1), f.Day && (d = Number.parseInt(f.Day)), f.Hour && (_ = Number.parseInt(f.Hour)), f.Minute && (V = Number.parseInt(f.Minute)), f.Second && (x = Number.parseInt(f.Second));
73
73
  }), new Date(
74
74
  t || 2025,
75
75
  i || 0,
76
76
  d || 1,
77
- g || 0,
77
+ _ || 0,
78
78
  V || 0,
79
79
  x || 0
80
80
  ).toLocaleString("de", {
@@ -82,127 +82,127 @@ const $e = { key: 0 }, Ve = {
82
82
  timeZoneName: "short"
83
83
  });
84
84
  }
85
- const j = h(), $ = h(!1);
85
+ const j = g(), $ = g(!1);
86
86
  function H(e) {
87
87
  return !(Object.keys(e).includes("isValid") && Object.keys(e).length === 1);
88
88
  }
89
- const ne = v(() => {
89
+ const pe = v(() => {
90
90
  var t, i;
91
- const e = (i = (t = p.value) == null ? void 0 : t.Discoverability) == null ? void 0 : i.discoverabilityPage;
91
+ const e = (i = (t = u.value) == null ? void 0 : t.Discoverability) == null ? void 0 : i.discoverabilityPage;
92
92
  return Array.isArray(e) ? (e == null ? void 0 : e.filter(H)) || [] : [];
93
- }), ie = v(() => {
93
+ }), ve = v(() => {
94
94
  var e, t;
95
- return ((t = (e = p.value) == null ? void 0 : e.Discoverability) == null ? void 0 : t.hvdPage) || [];
96
- }), re = v(() => {
95
+ return ((t = (e = u.value) == null ? void 0 : e.Discoverability) == null ? void 0 : t.hvdPage) || [];
96
+ }), fe = v(() => {
97
97
  var i, d;
98
- const e = (d = (i = p.value) == null ? void 0 : i.BasicInfos) == null ? void 0 : d["dct:title"], t = e == null ? void 0 : e.find((g) => g["@language"] === "de");
98
+ const e = (d = (i = u.value) == null ? void 0 : i.BasicInfos) == null ? void 0 : d["dct:title"], t = e == null ? void 0 : e.find((_) => _["@language"] === "de");
99
99
  return t ? t["@value"] : null;
100
- }), de = v(() => {
100
+ }), _e = v(() => {
101
101
  var e, t, i, d;
102
- return ((d = (i = (t = (e = p.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:description"]) == null ? void 0 : i[0]) == null ? void 0 : d["@value"]) || "";
102
+ 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"]) || "";
103
103
  }), I = v(() => {
104
- var t, i, d, g;
105
- const e = (g = (d = (i = (t = p.value) == null ? void 0 : t.BasicInfos) == null ? void 0 : i["dct:modified"]) == null ? void 0 : d[0]) == null ? void 0 : g["@value"];
104
+ var t, i, d, _;
105
+ const e = (_ = (d = (i = (t = u.value) == null ? void 0 : t.BasicInfos) == null ? void 0 : i["dct:modified"]) == null ? void 0 : d[0]) == null ? void 0 : _["@value"];
106
106
  return e ? new Date(e).toLocaleDateString("de-DE") : "";
107
107
  }), T = v(() => {
108
108
  var e, t, i;
109
- return ((i = (t = (e = p.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:publisher"]) == null ? void 0 : i[0]) || {};
109
+ return ((i = (t = (e = u.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dct:publisher"]) == null ? void 0 : i[0]) || {};
110
110
  }), z = v(() => {
111
111
  var e, t, i;
112
- return ((i = (t = (e = p.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dcat:contactPoint"]) == null ? void 0 : i[0]) || {};
112
+ return ((i = (t = (e = u.value) == null ? void 0 : e.BasicInfos) == null ? void 0 : t["dcat:contactPoint"]) == null ? void 0 : i[0]) || {};
113
113
  }), R = v(() => {
114
114
  var e, t, i, d;
115
- return ((d = (i = (t = (e = p.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcatde:politicalGeocodingURI"]) == null ? void 0 : i.filter(
115
+ return ((d = (i = (t = (e = u.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcatde:politicalGeocodingURI"]) == null ? void 0 : i.filter(
116
116
  H
117
117
  )) == null ? void 0 : d[0]) || {};
118
118
  }), N = v(() => {
119
119
  var e, t, i, d;
120
- return ((d = (i = (t = (e = p.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcat:temporalResolution"]) == null ? void 0 : i.filter(
120
+ return ((d = (i = (t = (e = u.value) == null ? void 0 : e.Covering) == null ? void 0 : t["dcat:temporalResolution"]) == null ? void 0 : i.filter(
121
121
  H
122
122
  )) == null ? void 0 : d[0]) || {};
123
123
  }), K = v(() => Object.keys(R.value).length > 1), W = v(() => Object.keys(N.value).length > 1 && N.value["dct:temporal"]);
124
- let P = h();
124
+ let P = g();
125
125
  P = v(() => {
126
- var e, t, i;
127
- return ((i = (t = (e = p.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dct:license"]) == null ? void 0 : i[0]) || {};
126
+ var e, t, i, d, _;
127
+ return ((_ = (d = (i = (t = (e = u.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) == null ? void 0 : i[0]) == null ? void 0 : d["dct:license"]) == null ? void 0 : _[0]) || {};
128
128
  });
129
- const ce = v(() => {
129
+ const he = v(() => {
130
130
  var e, t;
131
- return ((t = (e = p.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) || [];
132
- }), b = v(() => {
131
+ return ((t = (e = u.value) == null ? void 0 : e.DistributionSimple) == null ? void 0 : t["dcat:distribution"]) || [];
132
+ }), y = v(() => {
133
133
  var e;
134
- return ((e = p.value) == null ? void 0 : e.Additionals) || {};
135
- }), U = v(() => (Object.keys(b.value).forEach((e) => {
136
- if (b.value.hasOwnProperty(e)) {
137
- const t = b.value[e];
138
- (t === void 0 || Array.isArray(t) && t.length === 0) && delete b.value[e];
134
+ return ((e = u.value) == null ? void 0 : e.Additionals) || {};
135
+ }), U = v(() => (Object.keys(y.value).forEach((e) => {
136
+ if (y.value.hasOwnProperty(e)) {
137
+ const t = y.value[e];
138
+ (t === void 0 || Array.isArray(t) && t.length === 0) && delete y.value[e];
139
139
  }
140
- }), Object.keys(b.value))), G = v(() => U.value.length > 0);
141
- function S(e) {
140
+ }), Object.keys(y.value))), G = v(() => U.value.length > 0);
141
+ function k(e) {
142
142
  j.value = e, $.value = !0, console.log("Modal sichtbar:", $.value);
143
143
  }
144
- function ue() {
144
+ function ge() {
145
145
  $.value = !1, console.log("Modal unsichtbar:", $.value);
146
146
  }
147
147
  function Y(e) {
148
- delete p.value.Additionals[e];
148
+ delete u.value.Additionals[e];
149
149
  }
150
- function pe(e, t) {
151
- y.value = !0, m.value = {
150
+ function be(e, t) {
151
+ b.value = !0, m.value = {
152
152
  button: "Löschen",
153
153
  header: `${O(`message.dataupload.additionals.${e}`)} löschen`,
154
154
  text: `Sind Sie sicher, dass Sie das optionale Feld ${O(`message.dataupload.additionals.${e}`)} löschen wollen?`,
155
155
  action: e
156
156
  };
157
157
  }
158
- const Z = h(!1);
159
- return ve(() => {
158
+ const Z = g(!1);
159
+ return me(() => {
160
160
  Z.value = !0;
161
161
  }), (e, t) => {
162
- var d, g, V, x, f, q, J, Q, X, A, ee;
163
- const i = fe("formatbubble");
164
- return o(), n(k, null, [
165
- Z.value && L.value ? (o(), n("div", $e, [
166
- $.value ? (o(), B(ke, {
162
+ var d, _, V, x, f, q, J, Q, X, A, ee, te, ae, se, oe, le, ne;
163
+ const i = ye("formatbubble");
164
+ return o(), n(S, null, [
165
+ Z.value && L.value ? (o(), n("div", He, [
166
+ $.value ? (o(), B(xe, {
167
167
  key: 0,
168
- context: oe.context,
168
+ context: ce.context,
169
169
  "active-section": j.value,
170
- onClose: ue
171
- }, null, 8, ["context", "active-section"])) : c("", !0),
172
- (o(), n("div", Ve, [
173
- a("div", xe, [
174
- a("div", Be, [
175
- u(D).edit.fromDraft || u(D).edit.enabled ? (o(), n("div", Me, [
176
- (o(), B(Se, {
177
- id: (g = (d = u(p).value) == null ? void 0 : d.BasicInfos) == null ? void 0 : g.datasetID,
178
- key: (x = (V = u(p).value) == null ? void 0 : V.BasicInfos) == null ? void 0 : x.datasetID,
179
- "data-cy": u(p).value,
170
+ onClose: ge
171
+ }, null, 8, ["context", "active-section"])) : p("", !0),
172
+ (o(), n("div", ze, [
173
+ a("div", Re, [
174
+ a("div", Ne, [
175
+ c(D).edit.fromDraft || c(D).edit.enabled ? (o(), n("div", Pe, [
176
+ (o(), B(Be, {
177
+ id: (_ = (d = c(u).value) == null ? void 0 : d.BasicInfos) == null ? void 0 : _.datasetID,
178
+ key: (x = (V = c(u).value) == null ? void 0 : V.BasicInfos) == null ? void 0 : x.datasetID,
179
+ "data-cy": c(u).value,
180
180
  catalogue: "test-catalog",
181
- text: ((q = (f = u(p).value) == null ? void 0 : f.BasicInfos) == null ? void 0 : q.title.de) || ((Q = (J = u(p).value) == null ? void 0 : J.BasicInfos) == null ? void 0 : Q.title.en),
181
+ text: ((q = (f = c(u).value) == null ? void 0 : f.BasicInfos) == null ? void 0 : q.title.de) || ((Q = (J = c(u).value) == null ? void 0 : J.BasicInfos) == null ? void 0 : Q.title.en),
182
182
  date: I.value,
183
- draft: !u(F),
183
+ draft: !c(F),
184
184
  dataset: e.dataset,
185
185
  "from-draft": "true"
186
186
  }, null, 8, ["id", "data-cy", "text", "date", "draft", "dataset"]))
187
- ])) : (o(), n("div", Te, [
188
- a("h4", He, s(e.$t("message.dataupload.datasets.rap.title")), 1),
189
- a("div", ze, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
187
+ ])) : (o(), n("div", we, [
188
+ a("h4", Ee, s(e.$t("message.dataupload.datasets.rap.title")), 1),
189
+ a("div", Oe, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
190
190
  ]))
191
191
  ])
192
192
  ]),
193
- (o(), n("div", Re, [
194
- a("div", Ne, [
193
+ (o(), n("div", Fe, [
194
+ a("div", Le, [
195
195
  a("span", null, s(e.$t("message.dataupload.datasets.rap.findability.title")), 1),
196
- _(C, {
196
+ h(C, {
197
197
  size: "large",
198
198
  "icon-start": "pen",
199
199
  variant: "secondary",
200
- onClick: t[0] || (t[0] = (l) => S("findabilityHvd"))
200
+ onClick: t[0] || (t[0] = (l) => k("findabilityHvd"))
201
201
  })
202
202
  ]),
203
- a("div", Pe, [
204
- a("span", we, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
205
- (o(!0), n(k, null, M(ne.value, (l, r) => (o(), B(be, {
203
+ a("div", je, [
204
+ a("span", Ie, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
205
+ (o(!0), n(S, null, M(pe.value, (l, r) => (o(), B(Ve, {
206
206
  key: r,
207
207
  text: l.label,
208
208
  data: { "@value": l.value, URI: l.URI },
@@ -213,129 +213,129 @@ const $e = { key: 0 }, Ve = {
213
213
  }
214
214
  }, null, 8, ["text", "data"]))), 128))
215
215
  ]),
216
- a("div", Ee, [
217
- _(se, {
216
+ a("div", Ke, [
217
+ h(de, {
218
218
  label: "HVD",
219
219
  state: "hvd",
220
220
  size: "page"
221
221
  }),
222
- a("h5", Oe, s(((A = (X = ie.value) == null ? void 0 : X[0]) == null ? void 0 : A.label) || "Kein HVD Datensatz"), 1)
222
+ a("h5", We, s(((A = (X = ve.value) == null ? void 0 : X[0]) == null ? void 0 : A.label) || "Kein HVD Datensatz"), 1)
223
223
  ])
224
224
  ])),
225
- (o(), n("div", Fe, [
226
- a("div", Le, [
225
+ (o(), n("div", Ue, [
226
+ a("div", Ge, [
227
227
  a("span", null, s(e.$t("message.dataupload.datasets.rap.essentials.title")), 1),
228
- _(C, {
228
+ h(C, {
229
229
  size: "large",
230
230
  "icon-start": "pen",
231
231
  variant: "secondary",
232
- onClick: t[1] || (t[1] = (l) => S("essentials"))
232
+ onClick: t[1] || (t[1] = (l) => k("essentials"))
233
233
  })
234
234
  ]),
235
- a("div", je, [
236
- a("h3", Ie, s(re.value), 1)
235
+ a("div", Ye, [
236
+ a("h3", Ze, s(fe.value), 1)
237
237
  ]),
238
- a("div", Ke, [
239
- a("span", null, s(de.value), 1)
238
+ a("div", qe, [
239
+ a("span", null, s(_e.value), 1)
240
240
  ]),
241
- a("div", We, [
242
- a("span", Ue, s(e.$t("message.dataupload.datasets.rap.essentials.modifiedHeader")), 1),
243
- a("span", Ge, s(I.value), 1)
241
+ a("div", Je, [
242
+ a("span", Qe, s(e.$t("message.dataupload.datasets.rap.essentials.modifiedHeader")), 1),
243
+ a("span", Xe, s(I.value), 1)
244
244
  ]),
245
- a("div", Ye, [
246
- a("span", Ze, s(e.$t("message.dataupload.datasets.rap.essentials.publisherHeader")), 1),
247
- a("h5", qe, s(T.value["foaf:name"] || ""), 1),
248
- a("a", Je, s(T.value["foaf:mbox"] || ""), 1),
245
+ a("div", Ae, [
246
+ a("span", et, s(e.$t("message.dataupload.datasets.rap.essentials.publisherHeader")), 1),
247
+ a("h5", tt, s(T.value["foaf:name"] || ""), 1),
248
+ a("a", at, s(T.value["foaf:mbox"] || ""), 1),
249
249
  a("a", {
250
250
  class: "copy-large-regular",
251
251
  href: T.value["foaf:homepage"] || ""
252
- }, s(T.value["foaf:homepage"] || ""), 9, Qe)
252
+ }, s(T.value["foaf:homepage"] || ""), 9, st)
253
253
  ]),
254
- a("div", Xe, [
255
- a("span", Ae, s(e.$t("message.dataupload.datasets.rap.essentials.contactHeader")), 1),
256
- a("h5", et, s(z.value["vcard:fn"] || ""), 1),
257
- a("a", tt, s(z.value["vcard:hasEmail"] || ""), 1),
258
- a("span", at, s(z.value["vcard:hasTelephone"] || ""), 1)
254
+ a("div", ot, [
255
+ a("span", lt, s(e.$t("message.dataupload.datasets.rap.essentials.contactHeader")), 1),
256
+ a("h5", nt, s(z.value["vcard:fn"] || ""), 1),
257
+ a("a", it, s(z.value["vcard:hasEmail"] || ""), 1),
258
+ a("span", rt, s(z.value["vcard:hasTelephone"] || ""), 1)
259
259
  ])
260
260
  ])),
261
- (o(), n(k, { key: 2 }, [
262
- K.value || W.value ? (o(), n("div", st, [
263
- a("div", ot, [
261
+ (o(), n(S, { key: 2 }, [
262
+ K.value || W.value ? (o(), n("div", dt, [
263
+ a("div", ct, [
264
264
  a("span", null, s(e.$t("message.dataupload.datasets.rap.coverage.title")), 1),
265
- _(C, {
265
+ h(C, {
266
266
  size: "large",
267
267
  "icon-start": "pen",
268
268
  variant: "secondary",
269
- onClick: t[2] || (t[2] = (l) => S("coverage"))
269
+ onClick: t[2] || (t[2] = (l) => k("coverage"))
270
270
  })
271
271
  ]),
272
- K.value ? (o(), n("div", lt, [
273
- a("div", nt, [
274
- a("span", it, s(e.$t("message.dataupload.datasets.rap.coverage.geopolTitle")), 1),
275
- _(E, { "button-text": "löschen" })
272
+ K.value ? (o(), n("div", ut, [
273
+ a("div", pt, [
274
+ a("span", vt, s(e.$t("message.dataupload.datasets.rap.coverage.geopolTitle")), 1),
275
+ h(E, { "button-text": "löschen" })
276
276
  ]),
277
- a("div", rt, [
278
- a("h5", dt, s(R.value.label || ""), 1),
279
- _(se, {
277
+ a("div", ft, [
278
+ a("h5", _t, s(R.value.label || ""), 1),
279
+ h(de, {
280
280
  label: ((ee = R.value.inVoc) == null ? void 0 : ee.toUpperCase()) || "",
281
281
  state: "geopolitical",
282
282
  size: "page"
283
283
  }, null, 8, ["label"])
284
284
  ])
285
- ])) : c("", !0),
286
- W.value ? (o(), n("div", ct, [
287
- a("div", ut, [
288
- a("span", pt, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
289
- _(E, { "button-text": "löschen" })
285
+ ])) : p("", !0),
286
+ W.value ? (o(), n("div", ht, [
287
+ a("div", gt, [
288
+ a("span", bt, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
289
+ h(E, { "button-text": "löschen" })
290
290
  ]),
291
- a("div", vt, [
292
- (o(!0), n(k, null, M(N.value["dct:temporal"] || [], (l) => (o(), n("div", ft, [
293
- a("div", _t, [
291
+ a("div", mt, [
292
+ (o(!0), n(S, null, M(N.value["dct:temporal"] || [], (l) => (o(), n("div", yt, [
293
+ a("div", St, [
294
294
  t[10] || (t[10] = w(" von: ", -1)),
295
295
  a("div", null, [
296
296
  a("span", null, s(new Date(l["dcat:startDate"]).toLocaleDateString(
297
297
  "de-DE"
298
298
  )), 1),
299
- l.startTime != null ? (o(), n("span", ht, s(l.startTime), 1)) : c("", !0)
299
+ l.startTime != null ? (o(), n("span", kt, s(l.startTime), 1)) : p("", !0)
300
300
  ])
301
301
  ]),
302
- a("div", gt, [
302
+ a("div", Ct, [
303
303
  t[11] || (t[11] = w(" bis: ", -1)),
304
304
  a("div", null, [
305
305
  a("span", null, s(new Date(l["dcat:endDate"]).toLocaleDateString(
306
306
  "de-DE"
307
307
  )), 1),
308
- l.endTime != null ? (o(), n("span", yt, s(l.endTime), 1)) : c("", !0)
308
+ l.endTime != null ? (o(), n("span", Dt, s(l.endTime), 1)) : p("", !0)
309
309
  ])
310
310
  ])
311
311
  ]))), 256))
312
312
  ])
313
- ])) : c("", !0)
314
- ])) : c("", !0),
315
- a("div", mt, [
316
- a("div", bt, [
313
+ ])) : p("", !0)
314
+ ])) : p("", !0),
315
+ a("div", $t, [
316
+ a("div", Vt, [
317
317
  a("span", null, s(e.$t("message.metadata.distributions")), 1),
318
- _(C, {
318
+ h(C, {
319
319
  size: "large",
320
320
  "icon-start": "pen",
321
321
  variant: "secondary",
322
- onClick: t[3] || (t[3] = (l) => S("distributions"))
322
+ onClick: t[3] || (t[3] = (l) => k("distributions"))
323
323
  })
324
324
  ]),
325
- a("div", kt, [
326
- a("span", St, s(e.$t("message.dataupload.steps.dct:license")), 1),
327
- a("h5", Ct, s(u(P)["dcterms:license"] || "Keine Lizenz angegeben"), 1)
325
+ a("div", xt, [
326
+ a("span", Bt, s(e.$t("message.dataupload.steps.dct:license")), 1),
327
+ a("h5", Mt, s(c(P)["dcterms:license"] || ((se = (ae = (te = c(u).DistributionSimple) == null ? void 0 : te["dct:license"]) == null ? void 0 : ae[0]) == null ? void 0 : se["dcterms:license"]) || "Keine Lizenz angegeben"), 1)
328
328
  ]),
329
- a("div", Dt, [
330
- a("span", $t, s(e.$t("message.dataupload.steps.dct:publisher")), 1),
331
- a("h5", Vt, s(u(P).title || "Kein Titel angegeben"), 1)
329
+ a("div", Tt, [
330
+ a("span", Ht, s(e.$t("message.dataupload.steps.dct:publisher")), 1),
331
+ a("h5", zt, s(c(P).title || ((ne = (le = (oe = c(u).DistributionSimple) == null ? void 0 : oe["dct:license"]) == null ? void 0 : le[0]) == null ? void 0 : ne.title) || "Kein Titel angegeben"), 1)
332
332
  ]),
333
- a("div", xt, [
334
- a("span", Bt, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
335
- (o(!0), n(k, null, M(ce.value, (l) => (o(), n("div", Mt, [
336
- a("span", Tt, s(l["dct:title"]), 1),
337
- _(i, null, {
338
- default: _e(() => {
333
+ a("div", Rt, [
334
+ a("span", Nt, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
335
+ (o(!0), n(S, null, M(he.value, (l) => (o(), n("div", Pt, [
336
+ a("span", wt, s(l["dct:title"]), 1),
337
+ h(i, null, {
338
+ default: Se(() => {
339
339
  var r;
340
340
  return [
341
341
  w(s(((r = l["dct:format"]) == null ? void 0 : r.label) || "Kein Format angegeben"), 1)
@@ -346,77 +346,77 @@ const $e = { key: 0 }, Ve = {
346
346
  ]))), 256))
347
347
  ])
348
348
  ]),
349
- G.value ? (o(), n("div", Ht, [
350
- a("div", zt, [
349
+ G.value ? (o(), n("div", Et, [
350
+ a("div", Ot, [
351
351
  a("span", null, s(e.$t("message.metadata.additionals")), 1)
352
352
  ]),
353
- (o(!0), n(k, null, M(U.value, (l) => (o(), n("div", Rt, [
354
- a("div", Nt, [
355
- a("span", Pt, s(e.$t(`message.dataupload.additionals.${l}`)) + " (optional)", 1),
356
- _(E, {
353
+ (o(!0), n(S, null, M(U.value, (l) => (o(), n("div", Ft, [
354
+ a("div", Lt, [
355
+ a("span", jt, s(e.$t(`message.dataupload.additionals.${l}`)) + " (optional)", 1),
356
+ h(E, {
357
357
  "button-text": "löschen",
358
- onClick: (r) => pe(l)
358
+ onClick: (r) => be(l)
359
359
  }, null, 8, ["onClick"])
360
360
  ]),
361
- l === "dcat:temporalResolution" ? (o(), n("div", wt, [
362
- a("span", null, s(le(b.value[l] || [])), 1)
363
- ])) : c("", !0),
364
- l != "dcat:temporalResolution" ? (o(!0), n(k, { key: 1 }, M(b.value[l] || [], (r) => (o(), n("div", {
361
+ l === "dcat:temporalResolution" ? (o(), n("div", It, [
362
+ a("span", null, s(ue(y.value[l] || [])), 1)
363
+ ])) : p("", !0),
364
+ l != "dcat:temporalResolution" ? (o(!0), n(S, { key: 1 }, M(y.value[l] || [], (r) => (o(), n("div", {
365
365
  key: r ? r["@id"] || r["@value"] || r["rdfs:label"] : null
366
366
  }, [
367
- r && r["@value"] ? (o(), n("span", Et, s(r["@value"]), 1)) : c("", !0),
368
- r && r["@id"] ? (o(), n("span", Ot, s(r["@id"]), 1)) : c("", !0),
369
- r && r["rdfs:label"] ? (o(), n("span", Ft, s(r["rdfs:label"]), 1)) : c("", !0),
370
- r && r["foaf:name"] ? (o(), n("span", Lt, s(r["foaf:name"]), 1)) : c("", !0),
371
- r && r["foaf:homepage"] ? (o(), n("span", jt, s(r["foaf:homepage"]), 1)) : c("", !0),
372
- r && r["foaf:mbox"] ? (o(), n("span", It, s(r["foaf:mbox"]), 1)) : c("", !0),
373
- r && r["rdf:type"] ? (o(), n("span", Kt, s(r["rdf:type"]), 1)) : c("", !0)
374
- ]))), 128)) : c("", !0)
367
+ r && r["@value"] ? (o(), n("span", Kt, s(r["@value"]), 1)) : p("", !0),
368
+ r && r["@id"] ? (o(), n("span", Wt, s(r["@id"]), 1)) : p("", !0),
369
+ r && r["rdfs:label"] ? (o(), n("span", Ut, s(r["rdfs:label"]), 1)) : p("", !0),
370
+ r && r["foaf:name"] ? (o(), n("span", Gt, s(r["foaf:name"]), 1)) : p("", !0),
371
+ r && r["foaf:homepage"] ? (o(), n("span", Yt, s(r["foaf:homepage"]), 1)) : p("", !0),
372
+ r && r["foaf:mbox"] ? (o(), n("span", Zt, s(r["foaf:mbox"]), 1)) : p("", !0),
373
+ r && r["rdf:type"] ? (o(), n("span", qt, s(r["rdf:type"]), 1)) : p("", !0)
374
+ ]))), 128)) : p("", !0)
375
375
  ]))), 256)),
376
- a("div", Wt, [
377
- _(C, {
376
+ a("div", Jt, [
377
+ h(C, {
378
378
  "button-text": "Optionale Informationen hinzufügen",
379
379
  size: "large",
380
380
  "icon-start": "plus",
381
381
  variant: "tertiary",
382
- onClick: t[4] || (t[4] = (l) => S("additionals"))
382
+ onClick: t[4] || (t[4] = (l) => k("additionals"))
383
383
  })
384
384
  ])
385
- ])) : c("", !0),
386
- G.value ? c("", !0) : (o(), n("div", Ut, [
387
- _(C, {
385
+ ])) : p("", !0),
386
+ G.value ? p("", !0) : (o(), n("div", Qt, [
387
+ h(C, {
388
388
  "button-text": "Optionale Informationen hinzufügen",
389
389
  size: "large",
390
390
  "icon-start": "plus",
391
391
  variant: "tertiary",
392
- onClick: t[5] || (t[5] = (l) => S("additionals"))
392
+ onClick: t[5] || (t[5] = (l) => k("additionals"))
393
393
  })
394
394
  ]))
395
395
  ], 64))
396
396
  ])),
397
- u(y) ? (o(), B(ae, {
397
+ c(b) ? (o(), B(re, {
398
398
  key: 2,
399
- buttons: u(m).button,
400
- "header-text": u(m).header,
401
- text: u(m).text,
402
- action: u(m).action,
403
- onClose: t[6] || (t[6] = (l) => te(y) ? y.value = !1 : y = !1),
399
+ buttons: c(m).button,
400
+ "header-text": c(m).header,
401
+ text: c(m).text,
402
+ action: c(m).action,
403
+ onClose: t[6] || (t[6] = (l) => ie(b) ? b.value = !1 : b = !1),
404
404
  onActionHandling: t[7] || (t[7] = (l) => Y(l))
405
- }, null, 8, ["buttons", "header-text", "text", "action"])) : c("", !0)
406
- ])) : c("", !0),
407
- u(y) ? (o(), B(ae, {
405
+ }, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
406
+ ])) : p("", !0),
407
+ c(b) ? (o(), B(re, {
408
408
  key: 1,
409
- buttons: u(m).button,
410
- "header-text": u(m).header,
411
- text: u(m).text,
412
- action: u(m).action,
413
- onClose: t[8] || (t[8] = (l) => te(y) ? y.value = !1 : y = !1),
409
+ buttons: c(m).button,
410
+ "header-text": c(m).header,
411
+ text: c(m).text,
412
+ action: c(m).action,
413
+ onClose: t[8] || (t[8] = (l) => ie(b) ? b.value = !1 : b = !1),
414
414
  onActionHandling: t[9] || (t[9] = (l) => Y(l))
415
- }, null, 8, ["buttons", "header-text", "text", "action"])) : c("", !0)
415
+ }, null, 8, ["buttons", "header-text", "text", "action"])) : p("", !0)
416
416
  ], 64);
417
417
  };
418
418
  }
419
- }, va = /* @__PURE__ */ Ce(Gt, [["__scopeId", "data-v-fa2e727a"]]);
419
+ }, ma = /* @__PURE__ */ Me(Xt, [["__scopeId", "data-v-828deb8b"]]);
420
420
  export {
421
- va as default
421
+ ma as default
422
422
  };