@piveau/dpi 0.2.0-alpha.47 → 0.2.0-alpha.48

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 (52) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +38 -30
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +59 -55
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +3 -3
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +148 -135
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +5 -5
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +317 -296
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +77 -0
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +58 -56
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +97 -90
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +35 -35
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +86 -86
  14. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +7 -10
  15. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +9 -8
  16. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +2 -2
  17. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue.js +2 -2
  18. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/DatasetForm.vue2.js +55 -50
  19. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/GetResource.vue.js +8 -8
  20. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue.js +2 -2
  21. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/HardwareForm.vue2.js +92 -91
  22. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue.js +2 -2
  23. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/ProcessSteps/SoftwareForm.vue2.js +49 -48
  24. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +122 -117
  25. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +48 -48
  26. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +289 -293
  27. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +32 -30
  28. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +46 -29
  29. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +264 -221
  30. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +41 -35
  31. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +63 -65
  32. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +36 -35
  33. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +30 -29
  34. package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +49 -49
  35. package/dist/packages/dpi/src/data-provider-interface/components/DiscoverabilityPage.vue.js +1 -1
  36. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +102 -100
  37. package/dist/packages/dpi/src/data-provider-interface/components/DistributionSimplePage.vue.js +657 -600
  38. package/dist/packages/dpi/src/data-provider-interface/components/HVDPage.vue.js +41 -42
  39. package/dist/packages/dpi/src/data-provider-interface/components/ReviewAndPublishPage.vue.js +272 -239
  40. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +3 -3
  41. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +94 -82
  42. package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +81 -81
  43. package/dist/packages/dpi/src/data-provider-interface/components/TempResPageInModal.vue.js +138 -141
  44. package/dist/packages/dpi/src/data-provider-interface/components/TitelPage.vue.js +4 -4
  45. package/dist/packages/dpi/src/data-provider-interface/components/VisibilityPage.vue.js +2 -1
  46. package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +1 -1
  47. package/dist/packages/dpi/src/data-provider-interface/composables/useDpiSimpleLoader.js +255 -242
  48. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/converter.js +80 -84
  49. package/dist/packages/dpi/src/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +2 -2
  50. package/dist/packages/dpi/src/data-provider-interface/store/modules/authStore.js +1 -3
  51. package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +226 -250
  52. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
- import { ref as f, computed as B, getCurrentInstance as F, unref as m, onMounted as M, watch as I, createElementBlock as c, openBlock as d, createElementVNode as s, createCommentVNode as h, toDisplayString as r, createVNode as u, Fragment as E, renderList as D } from "vue";
1
+ import { ref as f, computed as B, getCurrentInstance as F, unref as m, onMounted as M, watch as O, createElementBlock as c, openBlock as d, createElementVNode as s, createCommentVNode as h, toDisplayString as r, createVNode as u, Fragment as E, renderList as D } from "vue";
2
2
  import { PhWarning as g } from "@phosphor-icons/vue";
3
- import { useEditModeInfo as O } from "../composables/useDpiEditMode.js";
3
+ import { useEditModeInfo as I } from "../composables/useDpiEditMode.js";
4
4
  import P from "../HappyFlowComponents/ui/InputField.vue.js";
5
5
  import z from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
6
6
  import { useFormValues as U } from "../composables/useDpiFormValues.js";
7
7
  /* empty css */
8
8
  import j from "../../../../../_virtual/_plugin-vue_export-helper.js";
9
- const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular" }, q = { class: "dpiV3AutoCompleteWrap" }, G = { class: "CardTips_internal" }, H = { class: "CardTips_Part" }, J = { class: "firstRow" }, K = { class: "icon_title copy-small-semi-bold" }, Q = { class: "TextButton_small" }, X = { class: "secondRow" }, Y = { class: "copy-small-regular" }, ee = { class: "CardTips_Part" }, ae = { class: "firstRow" }, te = { class: "icon_title copy-small-semi-bold" }, se = { class: "TextButton_small" }, le = { class: "secondRow" }, oe = { class: "copy-small-regular" }, ie = { class: "input-container" }, ne = {
9
+ const L = { class: "dpiV3InnerComponentWrap" }, q = { class: "copy-large-regular" }, G = { class: "dpiV3AutoCompleteWrap" }, H = { class: "CardTips_internal" }, J = { class: "CardTips_Part" }, K = { class: "firstRow" }, Q = { class: "icon_title copy-small-semi-bold" }, X = { class: "TextButton_small" }, Y = { class: "secondRow" }, Z = { class: "copy-small-regular" }, ee = { class: "CardTips_Part" }, ae = { class: "firstRow" }, te = { class: "icon_title copy-small-semi-bold" }, se = { class: "TextButton_small" }, oe = { class: "secondRow" }, le = { class: "copy-small-regular" }, ie = { class: "input-container" }, ne = {
10
10
  key: 0,
11
11
  class: "dpiV3_errormsgWrapper"
12
12
  }, re = { class: "copy-mini-regular" }, ce = { class: "input-container" }, de = {
@@ -23,11 +23,11 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
23
23
  props: {
24
24
  context: Object
25
25
  },
26
- setup(N) {
27
- const { formValues: S } = U(), v = N, { isEditMode: R } = O(), _ = f(null), b = f(null), w = B(() => {
26
+ setup(S) {
27
+ const { formValues: N } = U(), v = S, { isEditMode: R } = I(), _ = f(null), b = f(null), w = B(() => {
28
28
  var e, t;
29
29
  try {
30
- const a = (t = (e = S.value.BasicInfos) == null ? void 0 : e["dct:publisher"]) == null ? void 0 : t[0];
30
+ const a = (t = (e = N.value.BasicInfos) == null ? void 0 : e["dct:publisher"]) == null ? void 0 : t[0];
31
31
  if (a && a["foaf:name"] && a["foaf:mbox"])
32
32
  return [
33
33
  a["foaf:name"],
@@ -51,10 +51,10 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
51
51
  return e.email && (i.email = e.email), (e.phone || e.phoneNumber) && (i.phone = e.phone || e.phoneNumber), i;
52
52
  }
53
53
  return {};
54
- }), l = f({
54
+ }), o = f({
55
55
  1: {
56
56
  show: !1,
57
- message: "Bitte geben Sie einen gültigen Namen ein (mindestens 2 Zeichen)."
57
+ message: "Bitte geben Sie einen gültigen Organisationsnamen ein."
58
58
  },
59
59
  2: {
60
60
  show: !1,
@@ -66,7 +66,7 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
66
66
  }
67
67
  });
68
68
  let n = f({ 1: !1, 2: !1, 3: !1 });
69
- const o = f([
69
+ const l = f([
70
70
  {
71
71
  isValid: "unset",
72
72
  "vcard:fn": "",
@@ -74,7 +74,7 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
74
74
  "vcard:hasTelephone": ""
75
75
  }
76
76
  ]);
77
- R.value || v.context.node.input(o), v.context.node.value.length === 0 && v.context.node.input(m(o)), M(() => {
77
+ R.value || v.context.node.input(l), v.context.node.value.length === 0 && v.context.node.input(m(l)), M(() => {
78
78
  try {
79
79
  T && T["foaf:name"] && T["foaf:mbox"];
80
80
  } catch (e) {
@@ -99,9 +99,9 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
99
99
  function y(e, t, a) {
100
100
  let i = !1;
101
101
  if (a === 3 && e.trim() === "")
102
- l.value[a].show = !1, n.value[a] = !0;
102
+ o.value[a].show = !1, n.value[a] = !0;
103
103
  else if (e.trim() === "")
104
- l.value[a].show = !0, n.value[a] = !1;
104
+ o.value[a].show = !0, n.value[a] = !1;
105
105
  else {
106
106
  switch (t) {
107
107
  case "vcard:fn":
@@ -116,12 +116,12 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
116
116
  default:
117
117
  i = e.trim() !== "";
118
118
  }
119
- l.value[a].show = !i, n.value[a] = i;
119
+ o.value[a].show = !i, n.value[a] = i;
120
120
  }
121
- n.value[1] && n.value[2] ? o.value[0].isValid = !0 : o.value[0].isValid = "unset";
121
+ n.value[1] && n.value[2] ? l.value[0].isValid = !0 : l.value[0].isValid = "unset";
122
122
  }
123
123
  function p(e, t, a) {
124
- o.value = o.value.map((i) => t in i ? { ...i, [t]: e } : i), v.context.node.input(o.value), a === 2 ? (_.value && clearTimeout(_.value), _.value = setTimeout(() => {
124
+ l.value = l.value.map((i) => t in i ? { ...i, [t]: e } : i), v.context.node.input(l.value), a === 2 ? (_.value && clearTimeout(_.value), _.value = setTimeout(() => {
125
125
  y(e, t, a);
126
126
  }, 800)) : a === 3 ? (b.value && clearTimeout(b.value), b.value = setTimeout(() => {
127
127
  y(e, t, a);
@@ -135,38 +135,38 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
135
135
  p(w.value[0], "vcard:fn", 1), p(w.value[1], "vcard:hasEmail", 2);
136
136
  }
137
137
  const A = () => {
138
- const e = o.value[0];
138
+ const e = l.value[0];
139
139
  if (e["vcard:fn"].trim() === "")
140
- l.value[1].show = !0, n.value[1] = !1;
140
+ o.value[1].show = !0, n.value[1] = !1;
141
141
  else {
142
142
  const t = V(e["vcard:fn"]);
143
- l.value[1].show = !t, n.value[1] = t;
143
+ o.value[1].show = !t, n.value[1] = t;
144
144
  }
145
145
  if (e["vcard:hasEmail"].trim() === "")
146
- l.value[2].show = !0, n.value[2] = !1;
146
+ o.value[2].show = !0, n.value[2] = !1;
147
147
  else {
148
148
  const t = C(e["vcard:hasEmail"]);
149
- l.value[2].show = !t, n.value[2] = t;
149
+ o.value[2].show = !t, n.value[2] = t;
150
150
  }
151
151
  if (e["vcard:hasTelephone"].trim() === "")
152
- l.value[3].show = !1, n.value[3] = !0;
152
+ o.value[3].show = !1, n.value[3] = !0;
153
153
  else {
154
154
  const t = $(e["vcard:hasTelephone"]);
155
- l.value[3].show = !t, n.value[3] = t;
155
+ o.value[3].show = !t, n.value[3] = t;
156
156
  }
157
- n.value[1] && n.value[2] ? o.value[0].isValid = !0 : o.value[0].isValid = !1;
157
+ n.value[1] && n.value[2] ? l.value[0].isValid = !0 : l.value[0].isValid = !1;
158
158
  };
159
- return I(() => o.value[0].isValid, (e) => {
159
+ return O(() => l.value[0].isValid, (e) => {
160
160
  e === !1 && A();
161
161
  }), (e, t) => (d(), c("div", L, [
162
162
  s("h4", null, r(e.$t("message.dataupload.datasets.dcat:contactPoint.title")), 1),
163
- s("div", Z, r(e.$t("message.dataupload.datasets.dcat:contactPoint.description")), 1),
164
- s("div", q, [
165
- s("div", G, [
166
- s("div", H, [
167
- s("div", J, [
168
- s("div", K, r(e.$t("message.dataupload.datasets.dcat:contactPoint.account")), 1),
169
- s("div", Q, [
163
+ s("div", q, r(e.$t("message.dataupload.datasets.dcat:contactPoint.description")), 1),
164
+ s("div", G, [
165
+ s("div", H, [
166
+ s("div", J, [
167
+ s("div", K, [
168
+ s("div", Q, r(e.$t("message.dataupload.datasets.dcat:contactPoint.account")), 1),
169
+ s("div", X, [
170
170
  u(z, {
171
171
  "button-text": e.$t(
172
172
  "message.dataupload.datasets.dcat:contactPoint.useAccountButton"
@@ -178,8 +178,8 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
178
178
  }, null, 8, ["button-text"])
179
179
  ])
180
180
  ]),
181
- s("div", X, [
182
- (d(!0), c(E, null, D(Object.values(k.value), (a) => (d(), c("span", Y, r(a), 1))), 256))
181
+ s("div", Y, [
182
+ (d(!0), c(E, null, D(Object.values(k.value), (a) => (d(), c("span", Z, r(a), 1))), 256))
183
183
  ])
184
184
  ]),
185
185
  s("div", ee, [
@@ -197,15 +197,15 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
197
197
  }, null, 8, ["button-text"])
198
198
  ])
199
199
  ]),
200
- s("div", le, [
201
- (d(!0), c(E, null, D(w.value, (a) => (d(), c("span", oe, r(a), 1))), 256))
200
+ s("div", oe, [
201
+ (d(!0), c(E, null, D(w.value, (a) => (d(), c("span", le, r(a), 1))), 256))
202
202
  ])
203
203
  ])
204
204
  ])
205
205
  ]),
206
206
  s("div", ie, [
207
207
  u(P, {
208
- "model-value": o.value[0]["vcard:fn"],
208
+ "model-value": l.value[0]["vcard:fn"],
209
209
  "add-on-text": !1,
210
210
  "date-picker": !1,
211
211
  "info-icon": !1,
@@ -217,20 +217,20 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
217
217
  "initial-hint-text": !1,
218
218
  label: e.$t("message.dataupload.datasets.dcat:contactPoint.nameInput.title"),
219
219
  "show-end-icon": !1,
220
- "show-error": l.value[1].show,
220
+ "show-error": o.value[1].show,
221
221
  "onUpdate:modelValue": t[0] || (t[0] = (a) => p(a, "vcard:fn", 1))
222
222
  }, null, 8, ["model-value", "placeholder", "label", "show-error"]),
223
- l.value[1].show ? (d(), c("div", ne, [
223
+ o.value[1].show ? (d(), c("div", ne, [
224
224
  u(m(g), {
225
225
  size: 16,
226
226
  weight: "fill"
227
227
  }),
228
- s("span", re, r(l.value[1].message), 1)
228
+ s("span", re, r(o.value[1].message), 1)
229
229
  ])) : h("", !0)
230
230
  ]),
231
231
  s("div", ce, [
232
232
  u(P, {
233
- "model-value": o.value[0]["vcard:hasEmail"],
233
+ "model-value": l.value[0]["vcard:hasEmail"],
234
234
  "add-on-text": !1,
235
235
  "date-picker": !1,
236
236
  "info-icon": !1,
@@ -242,20 +242,20 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
242
242
  "initial-hint-text": !1,
243
243
  label: e.$t("message.dataupload.datasets.dcat:contactPoint.mailInput.title"),
244
244
  "show-end-icon": !1,
245
- "show-error": l.value[2].show,
245
+ "show-error": o.value[2].show,
246
246
  "onUpdate:modelValue": t[1] || (t[1] = (a) => p(a, "vcard:hasEmail", 2))
247
247
  }, null, 8, ["model-value", "placeholder", "label", "show-error"]),
248
- l.value[2].show ? (d(), c("div", de, [
248
+ o.value[2].show ? (d(), c("div", de, [
249
249
  u(m(g), {
250
250
  size: 16,
251
251
  weight: "fill"
252
252
  }),
253
- s("span", ue, r(l.value[2].message), 1)
253
+ s("span", ue, r(o.value[2].message), 1)
254
254
  ])) : h("", !0)
255
255
  ]),
256
256
  s("div", pe, [
257
257
  u(P, {
258
- "model-value": o.value[0]["vcard:hasTelephone"],
258
+ "model-value": l.value[0]["vcard:hasTelephone"],
259
259
  "add-on-text": !1,
260
260
  "date-picker": !1,
261
261
  "info-icon": !1,
@@ -267,19 +267,19 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
267
267
  "initial-hint-text": !1,
268
268
  label: e.$t("message.dataupload.datasets.dcat:contactPoint.telInput.title"),
269
269
  "show-end-icon": !1,
270
- "show-error": l.value[3].show,
270
+ "show-error": o.value[3].show,
271
271
  "onUpdate:modelValue": t[2] || (t[2] = (a) => p(a, "vcard:hasTelephone", 3))
272
272
  }, null, 8, ["model-value", "placeholder", "label", "show-error"]),
273
- l.value[3].show ? (d(), c("div", fe, [
273
+ o.value[3].show ? (d(), c("div", fe, [
274
274
  u(m(g), {
275
275
  size: 16,
276
276
  weight: "fill"
277
277
  }),
278
- s("span", me, r(l.value[3].message), 1)
278
+ s("span", me, r(o.value[3].message), 1)
279
279
  ])) : h("", !0)
280
280
  ]),
281
281
  s("div", ve, r(e.$t("message.dataupload.datasets.dcat:contactPoint.descriptionBottom")), 1),
282
- o.value.find((a) => a.isValid === !1) ? (d(), c("div", he, [
282
+ l.value.find((a) => a.isValid === !1) ? (d(), c("div", he, [
283
283
  u(m(g), {
284
284
  size: 16,
285
285
  weight: "fill"
@@ -288,7 +288,7 @@ const L = { class: "dpiV3InnerComponentWrap" }, Z = { class: "copy-large-regular
288
288
  ])) : h("", !0)
289
289
  ]));
290
290
  }
291
- }, Ce = /* @__PURE__ */ j(ge, [["__scopeId", "data-v-d3761ff9"]]);
291
+ }, Ce = /* @__PURE__ */ j(ge, [["__scopeId", "data-v-071ac638"]]);
292
292
  export {
293
293
  Ce as default
294
294
  };
@@ -54,7 +54,7 @@ const w = { class: "dpiV3_findabilityWrap" }, B = { class: "dpiV3_findabilityThe
54
54
  ])) : y("", !0)
55
55
  ]));
56
56
  }
57
- }, $ = /* @__PURE__ */ z(S, [["__scopeId", "data-v-3535550a"]]);
57
+ }, $ = /* @__PURE__ */ z(S, [["__scopeId", "data-v-6d18d828"]]);
58
58
  export {
59
59
  $ as default
60
60
  };