@piveau/dpi 0.1.0-beta.64 → 0.1.0-beta.66

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.
@@ -72,9 +72,9 @@ const A = { class: "dpiV3InnerComponentWrap" }, E = { class: "copy-large-regular
72
72
  i = "http://dcat-ap.de/def/politicalGeocoding/Level/municipality";
73
73
  break;
74
74
  }
75
- t.value.Additionals["dcatapde:politicalGeocodingLevelURI"] === void 0 ? (t.value.Additionals["dcatapde:politicalGeocodingLevelURI"] = [], t.value.Additionals["dcatapde:politicalGeocodingLevelURI"].push({
75
+ t.value.Additionals["dcatde:politicalGeocodingLevelURI"] === void 0 ? (t.value.Additionals["dcatde:politicalGeocodingLevelURI"] = [], t.value.Additionals["dcatde:politicalGeocodingLevelURI"].push({
76
76
  "@id": i
77
- })) : t.value.Additionals["dcatapde:politicalGeocodingLevelURI"] = [
77
+ })) : t.value.Additionals["dcatde:politicalGeocodingLevelURI"] = [
78
78
  { "@id": i }
79
79
  ];
80
80
  };
@@ -118,7 +118,7 @@ const A = { class: "dpiV3InnerComponentWrap" }, E = { class: "copy-large-regular
118
118
  ])
119
119
  ]));
120
120
  }
121
- }, q = /* @__PURE__ */ C(F, [["__scopeId", "data-v-c8764ab4"]]);
121
+ }, q = /* @__PURE__ */ C(F, [["__scopeId", "data-v-cfb18351"]]);
122
122
  export {
123
123
  q as default
124
124
  };
@@ -1,4 +1,4 @@
1
- import { computed as f, ref as g, onMounted as ze, resolveComponent as Ee, createElementBlock as i, openBlock as l, Fragment as S, createCommentVNode as u, createBlock as V, createElementVNode as a, unref as p, toDisplayString as s, createVNode as _, renderList as w, createTextVNode as P, withCtx as Le, isRef as ye } from "vue";
1
+ import { computed as f, ref as g, onMounted as ze, resolveComponent as Ee, createElementBlock as l, openBlock as i, Fragment as S, createCommentVNode as u, createBlock as V, createElementVNode as a, unref as p, toDisplayString as s, createVNode as _, renderList as w, createTextVNode as P, withCtx as Le, isRef as ye } from "vue";
2
2
  import "@formkit/core";
3
3
  import { useFormKitNodeById as Ne } from "@formkit/vue";
4
4
  import "@phosphor-icons/vue";
@@ -32,11 +32,11 @@ const Xe = { key: 0 }, Ze = {
32
32
  class: "dpiV3Card rapFindability"
33
33
  }, at = { class: "firstSec" }, st = { class: "secondSec" }, ot = {
34
34
  class: "copy-large-regular",
35
- style: { "margin-bottom": "4px" }
36
- }, lt = {
35
+ style: { "margin-bottom": "5px" }
36
+ }, it = {
37
37
  key: 0,
38
38
  class: "thirdSec"
39
- }, it = { class: "headline-5" }, nt = {
39
+ }, lt = { class: "headline-5" }, nt = {
40
40
  key: 1,
41
41
  class: "dpiV3Card rapEssentials"
42
42
  }, rt = { class: "firstSec" }, dt = { class: "secondSec" }, ct = { class: "heading-3" }, ut = { class: "thirdSec" }, pt = { class: "fourthSec flexSec" }, vt = { class: "copy-large-regular" }, ft = { class: "copy-large-semi-bold" }, ht = { class: "fifthSec flexSec" }, _t = { class: "copy-large-regular" }, gt = { class: "headline-5" }, yt = { class: "copy-large-regular" }, mt = ["href"], bt = { class: "sixthSec flexSec" }, St = { class: "copy-large-regular" }, kt = { class: "headline-5" }, Dt = { class: "copy-large-regular" }, Ct = { class: "copy-large-regular" }, $t = { class: "dpiV3Card rapCoverage" }, xt = { class: "firstSec" }, Vt = {
@@ -51,7 +51,7 @@ const Xe = { key: 0 }, Ze = {
51
51
  }, Xt = { class: "copy-large-regular" }, Zt = { class: "headline-5" }, qt = { class: "fourthSec flexSec" }, Jt = { class: "copy-large-regular" }, Qt = { class: "dpiV3_distCard" }, It = ["href"], At = {
52
52
  key: 0,
53
53
  class: "dpiV3Card rapDistribution"
54
- }, ea = { class: "firstSec" }, ta = { class: "secondSec flexSec" }, aa = { class: "dpiV3_optionalSpanHeadWrap" }, sa = { class: "dpiV3_optionalSpan copy-large-regular" }, oa = { key: 0 }, la = { key: 0 }, ia = { key: 1 }, na = { key: 2 }, ra = { key: 3 }, da = { key: 4 }, ca = { key: 5 }, ua = { key: 6 }, pa = { key: 7 }, va = { key: 8 }, fa = { key: 9 }, ha = { class: "dpiV3_tempAddMore" }, _a = {
54
+ }, ea = { class: "firstSec" }, ta = { class: "secondSec flexSec" }, aa = { class: "dpiV3_optionalSpanHeadWrap" }, sa = { class: "dpiV3_optionalSpan copy-large-regular" }, oa = { key: 0 }, ia = { key: 0 }, la = { key: 1 }, na = { key: 2 }, ra = { key: 3 }, da = { key: 4 }, ca = { key: 5 }, ua = { key: 6 }, pa = { key: 7 }, va = { key: 8 }, fa = { key: 9 }, ha = { class: "dpiV3_tempAddMore" }, _a = {
55
55
  key: 1,
56
56
  class: "dpiV3_tempAddMore"
57
57
  }, ga = {
@@ -187,21 +187,21 @@ const Xe = { key: 0 }, Ze = {
187
187
  return ze(() => {
188
188
  K.value = !0;
189
189
  }), (e, t) => {
190
- var c, v, $, x, h, X, Z, q, J, Q, I, A, ee, te, ae, se, oe, le, ie, ne, re, de, ce, ue, pe, ve, fe, he, _e, ge;
190
+ var c, v, $, x, h, X, Z, q, J, Q, I, A, ee, te, ae, se, oe, ie, le, ne, re, de, ce, ue, pe, ve, fe, he, _e, ge;
191
191
  const r = Ee("formatbubble");
192
- return l(), i(S, null, [
193
- K.value && L.value ? (l(), i("div", Xe, [
194
- M.value ? (l(), V(Ge, {
192
+ return i(), l(S, null, [
193
+ K.value && L.value ? (i(), l("div", Xe, [
194
+ M.value ? (i(), V(Ge, {
195
195
  key: 0,
196
196
  context: Se.context,
197
197
  "active-section": N.value,
198
198
  onClose: He
199
199
  }, null, 8, ["context", "active-section"])) : u("", !0),
200
- (l(), i("div", Ze, [
200
+ (i(), l("div", Ze, [
201
201
  a("div", qe, [
202
202
  a("div", Je, [
203
- p(C).edit.fromDraft || p(C).edit.enabled ? (l(), i("div", Qe, [
204
- (l(), V(Ye, {
203
+ p(C).edit.fromDraft || p(C).edit.enabled ? (i(), l("div", Qe, [
204
+ (i(), V(Ye, {
205
205
  id: (v = (c = p(d).value) == null ? void 0 : c.BasicInfos) == null ? void 0 : v.datasetID,
206
206
  key: (x = ($ = p(d).value) == null ? void 0 : $.BasicInfos) == null ? void 0 : x.datasetID,
207
207
  "data-cy": p(d).value,
@@ -212,13 +212,13 @@ const Xe = { key: 0 }, Ze = {
212
212
  dataset: e.dataset,
213
213
  "from-draft": "true"
214
214
  }, null, 8, ["id", "data-cy", "text", "date", "draft", "dataset"]))
215
- ])) : (l(), i("div", Ie, [
215
+ ])) : (i(), l("div", Ie, [
216
216
  a("h4", Ae, s(e.$t("message.dataupload.datasets.rap.title")), 1),
217
217
  a("div", et, s(e.$t("message.dataupload.datasets.rap.intro-text")), 1)
218
218
  ]))
219
219
  ])
220
220
  ]),
221
- (l(), i("div", tt, [
221
+ (i(), l("div", tt, [
222
222
  a("div", at, [
223
223
  a("span", null, s(e.$t("message.dataupload.datasets.rap.findability.title")), 1),
224
224
  _(D, {
@@ -229,8 +229,8 @@ const Xe = { key: 0 }, Ze = {
229
229
  })
230
230
  ]),
231
231
  a("div", st, [
232
- a("span", ot, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
233
- (l(!0), i(S, null, w($e.value, (n, o) => (l(), V(We, {
232
+ a("div", ot, s(e.$t("message.dataupload.datasets.rap.findability.categoryHeader")), 1),
233
+ (i(!0), l(S, null, w($e.value, (n, o) => (i(), V(We, {
234
234
  key: o,
235
235
  text: n.label,
236
236
  data: { "@value": n.value, URI: n.URI },
@@ -241,16 +241,16 @@ const Xe = { key: 0 }, Ze = {
241
241
  }
242
242
  }, null, 8, ["text", "data"]))), 128))
243
243
  ]),
244
- (Q = (J = O.value) == null ? void 0 : J[0]) != null && Q.label ? (l(), i("div", lt, [
244
+ (Q = (J = O.value) == null ? void 0 : J[0]) != null && Q.label ? (i(), l("div", it, [
245
245
  _(be, {
246
246
  label: "HVD",
247
247
  state: "hvd",
248
248
  size: "page"
249
249
  }),
250
- a("h5", it, s((A = (I = O.value) == null ? void 0 : I[0]) == null ? void 0 : A.label), 1)
250
+ a("h5", lt, s((A = (I = O.value) == null ? void 0 : I[0]) == null ? void 0 : A.label), 1)
251
251
  ])) : u("", !0)
252
252
  ])),
253
- (l(), i("div", nt, [
253
+ (i(), l("div", nt, [
254
254
  a("div", rt, [
255
255
  a("span", null, s(e.$t("message.dataupload.datasets.rap.essentials.title")), 1),
256
256
  _(D, {
@@ -286,7 +286,7 @@ const Xe = { key: 0 }, Ze = {
286
286
  a("span", Ct, s(R.value["vcard:hasTelephone"] || ""), 1)
287
287
  ])
288
288
  ])),
289
- (l(), i(S, { key: 2 }, [
289
+ (i(), l(S, { key: 2 }, [
290
290
  a("div", $t, [
291
291
  a("div", xt, [
292
292
  a("span", null, s(e.$t("message.dataupload.datasets.rap.coverage.title")), 1),
@@ -297,7 +297,7 @@ const Xe = { key: 0 }, Ze = {
297
297
  onClick: t[2] || (t[2] = (n) => k("coverage"))
298
298
  })
299
299
  ]),
300
- Be.value ? (l(), i("div", Vt, [
300
+ Be.value ? (i(), l("div", Vt, [
301
301
  a("div", wt, [
302
302
  a("span", Bt, s(e.$t("message.dataupload.datasets.rap.coverage.geopolTitle")), 1),
303
303
  _(z, {
@@ -314,7 +314,7 @@ const Xe = { key: 0 }, Ze = {
314
314
  }, null, 8, ["label"])
315
315
  ])
316
316
  ])) : u("", !0),
317
- Te.value ? (l(), i("div", Rt, [
317
+ Te.value ? (i(), l("div", Rt, [
318
318
  a("div", Ht, [
319
319
  a("span", Pt, s(e.$t("message.dataupload.datasets.rap.coverage.tempCoverage")), 1),
320
320
  _(z, {
@@ -323,7 +323,7 @@ const Xe = { key: 0 }, Ze = {
323
323
  })
324
324
  ]),
325
325
  a("div", zt, [
326
- (l(!0), i(S, null, w(T.value["dct:temporal"] || [], (n) => (l(), i("div", Et, [
326
+ (i(!0), l(S, null, w(T.value["dct:temporal"] || [], (n) => (i(), l("div", Et, [
327
327
  a("div", Lt, [
328
328
  t[10] || (t[10] = P(" von ", -1)),
329
329
  a("div", null, [
@@ -335,11 +335,11 @@ const Xe = { key: 0 }, Ze = {
335
335
  year: "numeric"
336
336
  }
337
337
  )), 1),
338
- n.startTime != null ? (l(), i("span", Nt, s(n.startTime), 1)) : u("", !0)
338
+ n.startTime != null ? (i(), l("span", Nt, s(n.startTime), 1)) : u("", !0)
339
339
  ])
340
340
  ]),
341
341
  a("div", Ft, [
342
- t[11] || (t[11] = P(" bis ", -1)),
342
+ t[11] || (t[11] = P(" Bis ", -1)),
343
343
  a("div", null, [
344
344
  a("span", null, s(new Date(n["dcat:endDate"]).toLocaleDateString(
345
345
  "de-DE",
@@ -349,7 +349,7 @@ const Xe = { key: 0 }, Ze = {
349
349
  year: "numeric"
350
350
  }
351
351
  )), 1),
352
- n.endTime != null ? (l(), i("span", Ot, s(n.endTime), 1)) : u("", !0)
352
+ n.endTime != null ? (i(), l("span", Ot, s(n.endTime), 1)) : u("", !0)
353
353
  ])
354
354
  ])
355
355
  ]))), 256))
@@ -370,7 +370,7 @@ const Xe = { key: 0 }, Ze = {
370
370
  a("span", Yt, s(e.$t("message.dataupload.steps.dct:license")), 1),
371
371
  a("h5", jt, s(p(W)["dcterms:license"] || ((se = (ae = (te = p(d).DistributionSimple) == null ? void 0 : te["dct:license"]) == null ? void 0 : ae[0]) == null ? void 0 : se["dcterms:license"]) || "Keine Lizenz angegeben"), 1)
372
372
  ]),
373
- (ie = (le = (oe = p(d).DistributionSimple) == null ? void 0 : oe["dct:license"]) == null ? void 0 : le[0]) != null && ie.title || (ce = (de = (re = (ne = p(d)) == null ? void 0 : ne.DistributionSimple) == null ? void 0 : re["dcat:distribution"]) == null ? void 0 : de[0]) != null && ce["dcatde:licenseAttributionByText"] ? (l(), i("div", Kt, [
373
+ (le = (ie = (oe = p(d).DistributionSimple) == null ? void 0 : oe["dct:license"]) == null ? void 0 : ie[0]) != null && le.title || (ce = (de = (re = (ne = p(d)) == null ? void 0 : ne.DistributionSimple) == null ? void 0 : re["dcat:distribution"]) == null ? void 0 : de[0]) != null && ce["dcatde:licenseAttributionByText"] ? (i(), l("div", Kt, [
374
374
  a("span", Xt, s(e.$t(
375
375
  "message.dataupload.datasets.dcat:distribution.advanced.dcatde:licenseAttributionByText"
376
376
  )), 1),
@@ -378,7 +378,7 @@ const Xe = { key: 0 }, Ze = {
378
378
  ])) : u("", !0),
379
379
  a("div", qt, [
380
380
  a("span", Jt, s(e.$t("message.dataupload.steps.dcat:distribution")), 1),
381
- (l(!0), i(S, null, w(Me.value, (n) => (l(), i("div", Qt, [
381
+ (i(!0), l(S, null, w(Me.value, (n) => (i(), l("div", Qt, [
382
382
  a("a", {
383
383
  class: "copy-large-semi-bold",
384
384
  href: n["dcat:accessURL"],
@@ -396,11 +396,11 @@ const Xe = { key: 0 }, Ze = {
396
396
  ]))), 256))
397
397
  ])
398
398
  ]),
399
- Y.value ? (l(), i("div", At, [
399
+ Y.value ? (i(), l("div", At, [
400
400
  a("div", ea, [
401
401
  a("span", null, s(e.$t("message.metadata.additionals")), 1)
402
402
  ]),
403
- (l(!0), i(S, null, w(G.value, (n) => (l(), i("div", ta, [
403
+ (i(!0), l(S, null, w(G.value, (n) => (i(), l("div", ta, [
404
404
  a("div", aa, [
405
405
  a("span", sa, s(e.$t(`message.dataupload.additionals.${n}`)) + " (optional)", 1),
406
406
  _(z, {
@@ -408,23 +408,23 @@ const Xe = { key: 0 }, Ze = {
408
408
  onClick: (o) => Pe(n)
409
409
  }, null, 8, ["onClick"])
410
410
  ]),
411
- n === "dcat:temporalResolution" ? (l(), i("div", oa, [
411
+ n === "dcat:temporalResolution" ? (i(), l("div", oa, [
412
412
  a("span", null, s(Ce(b.value[n] || [])), 1)
413
413
  ])) : u("", !0),
414
- n != "dcat:temporalResolution" ? (l(!0), i(S, { key: 1 }, w(b.value[n] || [], (o) => (l(), i("div", {
414
+ n != "dcat:temporalResolution" ? (i(!0), l(S, { key: 1 }, w(b.value[n] || [], (o) => (i(), l("div", {
415
415
  class: "additionalSubPropsWrapper",
416
416
  key: o ? o["@id"] || o["@value"] || o["rdfs:label"] : null
417
417
  }, [
418
- o && o["rdf:type"] ? (l(), i("span", la, s(o["rdf:type"]), 1)) : u("", !0),
419
- o && o["@type"] === "http://www.w3.org/2001/XMLSchema#date" ? (l(), i("span", ia, s(Re(o["@value"])), 1)) : u("", !0),
420
- o && o["@value"] && o["@type"] !== "http://www.w3.org/2001/XMLSchema#date" ? (l(), i("span", na, s(o["@value"]), 1)) : u("", !0),
421
- o && o["dct:title"] ? (l(), i("span", ra, s(o["dct:title"]), 1)) : u("", !0),
422
- o && o["dct:description"] ? (l(), i("span", da, s(o["dct:description"]), 1)) : u("", !0),
423
- o && o["@id"] ? (l(), i("span", ca, s(o["@id"]), 1)) : u("", !0),
424
- o && o["rdfs:label"] ? (l(), i("span", ua, s(o["rdfs:label"]), 1)) : u("", !0),
425
- o && o["foaf:name"] ? (l(), i("span", pa, s(o["foaf:name"]), 1)) : u("", !0),
426
- o && o["foaf:homepage"] ? (l(), i("span", va, s(o["foaf:homepage"]), 1)) : u("", !0),
427
- o && o["foaf:mbox"] ? (l(), i("span", fa, s(o["foaf:mbox"]), 1)) : u("", !0)
418
+ o && o["rdf:type"] ? (i(), l("span", ia, s(o["rdf:type"]), 1)) : u("", !0),
419
+ o && o["@type"] === "http://www.w3.org/2001/XMLSchema#date" ? (i(), l("span", la, s(Re(o["@value"])), 1)) : u("", !0),
420
+ o && o["@value"] && o["@type"] !== "http://www.w3.org/2001/XMLSchema#date" ? (i(), l("span", na, s(o["@value"]), 1)) : u("", !0),
421
+ o && o["dct:title"] ? (i(), l("span", ra, s(o["dct:title"]), 1)) : u("", !0),
422
+ o && o["dct:description"] ? (i(), l("span", da, s(o["dct:description"]), 1)) : u("", !0),
423
+ o && o["@id"] ? (i(), l("span", ca, s(o["@id"]), 1)) : u("", !0),
424
+ o && o["rdfs:label"] ? (i(), l("span", ua, s(o["rdfs:label"]), 1)) : u("", !0),
425
+ o && o["foaf:name"] ? (i(), l("span", pa, s(o["foaf:name"]), 1)) : u("", !0),
426
+ o && o["foaf:homepage"] ? (i(), l("span", va, s(o["foaf:homepage"]), 1)) : u("", !0),
427
+ o && o["foaf:mbox"] ? (i(), l("span", fa, s(o["foaf:mbox"]), 1)) : u("", !0)
428
428
  ]))), 128)) : u("", !0)
429
429
  ]))), 256)),
430
430
  a("div", ha, [
@@ -437,7 +437,7 @@ const Xe = { key: 0 }, Ze = {
437
437
  })
438
438
  ])
439
439
  ])) : u("", !0),
440
- Y.value ? u("", !0) : (l(), i("div", _a, [
440
+ Y.value ? u("", !0) : (i(), l("div", _a, [
441
441
  _(D, {
442
442
  "button-text": "Optionale Informationen hinzufügen",
443
443
  size: "large",
@@ -448,7 +448,7 @@ const Xe = { key: 0 }, Ze = {
448
448
  ]))
449
449
  ], 64))
450
450
  ])),
451
- p(y) ? (l(), V(me, {
451
+ p(y) ? (i(), V(me, {
452
452
  key: 2,
453
453
  buttons: p(m).button,
454
454
  "header-text": p(m).header,
@@ -458,7 +458,7 @@ const Xe = { key: 0 }, Ze = {
458
458
  onActionHandling: t[7] || (t[7] = (n) => j(n))
459
459
  }, null, 8, ["buttons", "header-text", "text", "action"])) : u("", !0)
460
460
  ])) : u("", !0),
461
- p(y) ? (l(), V(me, {
461
+ p(y) ? (i(), V(me, {
462
462
  key: 1,
463
463
  buttons: p(m).button,
464
464
  "header-text": p(m).header,
@@ -470,7 +470,7 @@ const Xe = { key: 0 }, Ze = {
470
470
  ], 64);
471
471
  };
472
472
  }
473
- }, Na = /* @__PURE__ */ je(ga, [["__scopeId", "data-v-52ae5c56"]]);
473
+ }, Na = /* @__PURE__ */ je(ga, [["__scopeId", "data-v-93930e38"]]);
474
474
  export {
475
475
  Na as default
476
476
  };