@piveau/dpi 0.2.0-alpha.52 → 0.2.0-alpha.54

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 (20) hide show
  1. package/dist/assets/dpi.css +1 -1
  2. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue.js +1 -1
  3. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/Organisation.vue2.js +44 -44
  4. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
  5. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +76 -69
  6. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +2 -2
  7. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +44 -42
  8. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField/InputFieldDefinition.js +3 -2
  9. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +1 -1
  10. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue.js +4 -4
  11. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalDataStep/OptionalDataStep.vue2.js +7 -5
  12. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +58 -50
  13. package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +23 -22
  14. package/dist/packages/dpi/src/data-provider-interface/components/ContactPage.vue.js +110 -112
  15. package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +2 -1
  16. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +3 -3
  17. package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +2 -1
  18. package/dist/packages/dpi/src/data-provider-interface/components/TempResPage.vue.js +1 -1
  19. package/dist/packages/dpi/src/data-provider-interface/components/dpiV3Description.vue.js +11 -10
  20. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./Organisation.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c1e08c52"]]);
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d75553ee"]]);
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,69 +1,69 @@
1
- import { defineComponent as f, computed as r, createElementBlock as t, openBlock as s, createElementVNode as i, unref as k, Fragment as y, toDisplayString as l } from "vue";
2
- import { useOrganizationInfo as b } from "../composables/useOrganizationInfo.js";
3
- import { useTwinbyUser as V } from "../composables/useTwinbyUser.js";
4
- const T = { class: "dpiV3_organisation" }, I = { class: "dpiV3_organisationInfo" }, O = { key: 0 }, E = { key: 0 }, S = {
1
+ import { defineComponent as h, computed as r, createElementBlock as t, openBlock as s, createElementVNode as a, unref as m, Fragment as f, toDisplayString as l } from "vue";
2
+ import { useOrganizationInfo as k } from "../composables/useOrganizationInfo.js";
3
+ import { useTwinbyUser as y } from "../composables/useTwinbyUser.js";
4
+ const b = { class: "dpiV3_organisation" }, V = { class: "dpiV3_organisationInfo" }, T = { key: 0 }, I = { key: 0 }, O = {
5
5
  key: 1,
6
6
  class: "not-available"
7
- }, C = { class: "dpiV3_organisationData" }, D = {
7
+ }, E = { class: "dpiV3_organisationData" }, S = {
8
8
  key: 0,
9
9
  class: "dpiV3_organisationTitle"
10
- }, F = ["src"], L = { key: 1 }, w = { class: "info-wrapper" }, x = { class: "dpiV3_organisationTitle" }, z = { key: 0 }, B = {
10
+ }, C = ["src"], D = { key: 1 }, F = { class: "info-wrapper" }, L = { class: "dpiV3_organisationTitle" }, w = { key: 0 }, x = {
11
11
  key: 1,
12
12
  class: "not-available"
13
- }, N = { key: 2 }, M = {
13
+ }, z = { key: 2 }, B = {
14
14
  key: 3,
15
15
  class: "not-available"
16
- }, P = { class: "dpiV3_organisationTitle" }, U = { key: 0 }, W = {
16
+ }, N = { class: "dpiV3_organisationTitle" }, M = { key: 0 }, P = {
17
17
  key: 1,
18
18
  class: "not-available"
19
- }, H = /* @__PURE__ */ f({
19
+ }, A = /* @__PURE__ */ h({
20
20
  __name: "Organisation",
21
- setup(j) {
22
- const { organization: u, authToken: g, startFetchPermissions: h } = V();
23
- h();
24
- const { resultEnhanced: o, isLoading: m } = b({
25
- id: u,
26
- authToken: g
21
+ setup(U) {
22
+ const { organization: p, authToken: v, startFetchPermissions: u } = y();
23
+ u();
24
+ const { resultEnhanced: n, isLoading: g } = k({
25
+ id: p,
26
+ authToken: v
27
27
  }), d = r(
28
28
  () => {
29
- var a, e, p, v;
30
- return ((e = (a = o.value) == null ? void 0 : a.publisher) == null ? void 0 : e.name) || ((p = o.value) == null ? void 0 : p.title) || ((v = o.value) == null ? void 0 : v.id) || "";
29
+ var i, e;
30
+ return ((i = n.value) == null ? void 0 : i.title) || ((e = n.value) == null ? void 0 : e.id) || "";
31
31
  }
32
32
  ), c = r(
33
33
  () => {
34
- var a, e;
35
- return ((e = (a = o.value) == null ? void 0 : a.catalogueFavIcon) == null ? void 0 : e[0]) || "";
34
+ var i, e;
35
+ return ((e = (i = n.value) == null ? void 0 : i.catalogueFavIcon) == null ? void 0 : e[0]) || "";
36
36
  }
37
- ), n = r(() => {
38
- var a, e;
39
- return ((e = (a = o.value) == null ? void 0 : a.publisher) == null ? void 0 : e.address) || {};
37
+ ), o = r(() => {
38
+ var i, e;
39
+ return ((e = (i = n.value) == null ? void 0 : i.publisher) == null ? void 0 : e.address) || {};
40
40
  }), _ = r(() => {
41
- var a;
42
- return ((a = o.value) == null ? void 0 : a.publisher) || {};
41
+ var i;
42
+ return ((i = n.value) == null ? void 0 : i.publisher) || {};
43
43
  });
44
- return (a, e) => (s(), t("div", T, [
45
- e[2] || (e[2] = i("h3", { class: "dpiV3_organisationTitle" }, " Ihre Organisation ", -1)),
46
- e[3] || (e[3] = i("p", { class: "dpiV3_organisationDescription" }, " Wenn Sie die Informationen Ihrer Organisation ändern möchten, kontaktieren Sie uns gerne. ", -1)),
47
- i("div", I, [
48
- k(m) ? (s(), t("p", O, "Lade Organisationsdaten...")) : (s(), t(y, { key: 1 }, [
49
- d.value ? (s(), t("p", E, l(d.value), 1)) : (s(), t("p", S, " Name nicht verfügbar ")),
50
- i("div", C, [
51
- c.value ? (s(), t("div", D, [
52
- i("img", {
44
+ return (i, e) => (s(), t("div", b, [
45
+ e[2] || (e[2] = a("h3", { class: "dpiV3_organisationTitle" }, " Ihre Organisation ", -1)),
46
+ e[3] || (e[3] = a("p", { class: "dpiV3_organisationDescription" }, " Wenn Sie die Informationen Ihrer Organisation ändern möchten, kontaktieren Sie uns gerne. ", -1)),
47
+ a("div", V, [
48
+ m(g) ? (s(), t("p", T, "Lade Organisationsdaten...")) : (s(), t(f, { key: 1 }, [
49
+ d.value ? (s(), t("p", I, l(d.value), 1)) : (s(), t("p", O, " Name nicht verfügbar ")),
50
+ a("div", E, [
51
+ c.value ? (s(), t("div", S, [
52
+ a("img", {
53
53
  src: c.value,
54
54
  alt: ""
55
- }, null, 8, F)
56
- ])) : (s(), t("div", L, e[0] || (e[0] = [
57
- i("div", { class: "avatar-circle" }, null, -1)
55
+ }, null, 8, C)
56
+ ])) : (s(), t("div", D, e[0] || (e[0] = [
57
+ a("div", { class: "avatar-circle" }, null, -1)
58
58
  ]))),
59
- i("div", w, [
60
- i("div", x, [
61
- n.value.street ? (s(), t("p", z, l(n.value.street), 1)) : (s(), t("p", B, " Straße nicht verfügbar ")),
62
- n.value.postalCode || n.value.locality ? (s(), t("p", N, l(n.value.postalCode || "") + " " + l(n.value.locality || ""), 1)) : (s(), t("p", M, " Ort nicht verfügbar "))
59
+ a("div", F, [
60
+ a("div", L, [
61
+ o.value.street ? (s(), t("p", w, l(o.value.street), 1)) : (s(), t("p", x, " Straße nicht verfügbar ")),
62
+ o.value.postalCode || o.value.locality ? (s(), t("p", z, l(o.value.postalCode || "") + " " + l(o.value.locality || ""), 1)) : (s(), t("p", B, " Ort nicht verfügbar "))
63
63
  ]),
64
- i("div", P, [
65
- e[1] || (e[1] = i("p", { class: "not-available" }, " Telefon nicht verfügbar ", -1)),
66
- _.value.email ? (s(), t("p", U, l(_.value.email), 1)) : (s(), t("p", W, " E-Mail nicht verfügbar "))
64
+ a("div", N, [
65
+ e[1] || (e[1] = a("p", { class: "not-available" }, " Telefon nicht verfügbar ", -1)),
66
+ _.value.email ? (s(), t("p", M, l(_.value.email), 1)) : (s(), t("p", P, " E-Mail nicht verfügbar "))
67
67
  ])
68
68
  ])
69
69
  ])
@@ -73,5 +73,5 @@ const T = { class: "dpiV3_organisation" }, I = { class: "dpiV3_organisationInfo"
73
73
  }
74
74
  });
75
75
  export {
76
- H as default
76
+ A as default
77
77
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./Autocomplete.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-85b3470c"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a3b0d43e"]]);
5
5
  export {
6
- c as default
6
+ r as default
7
7
  };
@@ -1,23 +1,27 @@
1
- import { defineComponent as w, mergeModels as L, useModel as k, computed as N, createElementBlock as s, openBlock as r, createVNode as i, unref as n, withCtx as d, createElementVNode as c, createBlock as m, createCommentVNode as f, renderSlot as _, createTextVNode as E, toDisplayString as b, normalizeClass as g, resolveDynamicComponent as F, Fragment as M, renderList as P } from "vue";
2
- import { Combobox as S, ComboboxLabel as z, ComboboxButton as $, ComboboxInput as A, ComboboxOptions as I, ComboboxOption as O } from "@headlessui/vue";
3
- import { PhCaretUp as U, PhCaretDown as K, PhCircleNotch as T } from "@phosphor-icons/vue";
4
- const j = { class: "autocomplete" }, G = { class: "autocomplete__wrapper" }, H = { class: "autocomplete__input-icon" }, J = {
1
+ import { defineComponent as x, mergeModels as I, useModel as k, computed as L, createElementBlock as u, openBlock as n, createVNode as i, unref as r, withCtx as c, createElementVNode as d, createBlock as _, createCommentVNode as p, renderSlot as g, createTextVNode as N, toDisplayString as y, normalizeClass as m, resolveDynamicComponent as P, Fragment as M, renderList as z } from "vue";
2
+ import { Combobox as E, ComboboxLabel as F, ComboboxButton as S, ComboboxInput as $, ComboboxOptions as A, ComboboxOption as O } from "@headlessui/vue";
3
+ import { PhMagnifyingGlass as U, PhCaretUp as G, PhCaretDown as K, PhCircleNotch as T } from "@phosphor-icons/vue";
4
+ const j = { class: "autocomplete" }, H = { class: "autocomplete__wrapper" }, J = {
5
+ key: 0,
6
+ class: "autocomplete__input-icon autocomplete__input-icon--left"
7
+ }, Q = { class: "autocomplete__input-icon" }, R = {
5
8
  key: 0,
6
9
  class: "autocomplete__loading"
7
- }, Q = {
10
+ }, W = {
8
11
  key: 0,
9
12
  class: "autocomplete__no-results"
10
- }, Y = /* @__PURE__ */ w({
13
+ }, ee = /* @__PURE__ */ x({
11
14
  __name: "Autocomplete",
12
- props: /* @__PURE__ */ L({
15
+ props: /* @__PURE__ */ I({
13
16
  options: {},
14
17
  label: { default: "" },
15
18
  errorMessage: { default: "" },
16
19
  placeholder: { default: "" },
17
20
  name: { default: "" },
18
21
  loading: { type: Boolean, default: !1 },
19
- optionLabel: { type: Function, default: (u) => u },
20
- optionValue: { type: Function, default: (u) => u },
22
+ searchIcon: { type: Boolean, default: !1 },
23
+ optionLabel: { type: Function, default: (s) => s },
24
+ optionValue: { type: Function, default: (s) => s },
21
25
  optionDisabled: { type: Function, default: () => !1 }
22
26
  }, {
23
27
  modelValue: { required: !0 },
@@ -26,121 +30,124 @@ const j = { class: "autocomplete" }, G = { class: "autocomplete__wrapper" }, H =
26
30
  queryModifiers: {}
27
31
  }),
28
32
  emits: ["update:modelValue", "update:query"],
29
- setup(u) {
30
- const l = u, p = k(u, "modelValue"), y = k(u, "query"), v = N(() => !!l.errorMessage);
33
+ setup(s) {
34
+ const o = s, f = k(s, "modelValue"), b = k(s, "query"), v = L(() => !!o.errorMessage);
31
35
  function B(e) {
32
36
  e.open && e.event.stopPropagation();
33
37
  }
34
38
  function D(e) {
35
- return typeof e == "string" ? l.optionLabel(e) : e.name || String(e.id);
39
+ return typeof e == "string" ? o.optionLabel(e) : e.name || String(e.id);
36
40
  }
37
- function C(e) {
38
- return typeof e == "string" ? l.optionValue(e) : String(e.id);
41
+ function h(e) {
42
+ return typeof e == "string" ? o.optionValue(e) : String(e.id);
39
43
  }
40
- function V(e) {
41
- return typeof e == "string" ? l.optionDisabled(e) : !!e.unavailable;
44
+ function C(e) {
45
+ return typeof e == "string" ? o.optionDisabled(e) : !!e.unavailable;
42
46
  }
43
- function q(e, o) {
44
- if (!e || !o)
47
+ function q(e, l) {
48
+ if (!e || !l)
45
49
  return !1;
46
- if (e === o)
50
+ if (e === l)
47
51
  return !0;
48
- if (typeof e == "string" && typeof o == "string")
49
- return e === o;
50
- const t = C(e), a = C(o);
52
+ if (typeof e == "string" && typeof l == "string")
53
+ return e === l;
54
+ const t = h(e), a = h(l);
51
55
  return t === a;
52
56
  }
53
- function x(e) {
57
+ function w(e) {
54
58
  return !e || typeof e == "string" ? "" : e.name || "";
55
59
  }
56
- return (e, o) => (r(), s("div", j, [
57
- i(n(S), {
58
- modelValue: p.value,
59
- "onUpdate:modelValue": o[1] || (o[1] = (t) => p.value = t),
60
- name: l.name,
60
+ return (e, l) => (n(), u("div", j, [
61
+ i(r(E), {
62
+ modelValue: f.value,
63
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => f.value = t),
64
+ name: o.name,
61
65
  by: q,
62
66
  nullable: ""
63
67
  }, {
64
- default: d(() => [
65
- c("div", G, [
66
- l.label ? (r(), m(n(z), {
68
+ default: c(() => [
69
+ d("div", H, [
70
+ o.label ? (n(), _(r(F), {
67
71
  key: 0,
68
72
  class: "autocomplete__label",
69
73
  as: "div"
70
74
  }, {
71
- default: d(() => [
72
- _(e.$slots, "label", {
73
- label: l.label,
74
- selected: p.value
75
+ default: c(() => [
76
+ g(e.$slots, "label", {
77
+ label: o.label,
78
+ selected: f.value
75
79
  }, () => [
76
- E(b(l.label), 1)
80
+ N(y(o.label), 1)
77
81
  ], !0)
78
82
  ]),
79
83
  _: 3
80
- })) : f("", !0),
81
- c("div", {
82
- class: g(["autocomplete__input-container", { "autocomplete__input-container--error": v.value }])
84
+ })) : p("", !0),
85
+ d("div", {
86
+ class: m(["autocomplete__input-container", { "autocomplete__input-container--error": v.value }])
83
87
  }, [
84
- i(n($), {
88
+ i(r(S), {
85
89
  as: "div",
86
90
  class: "autocomplete__input-wrapper"
87
91
  }, {
88
- default: d(({ open: t }) => [
89
- i(n(A), {
90
- class: "autocomplete__input",
91
- "display-value": (a) => x(a),
92
- placeholder: l.placeholder,
93
- onChange: o[0] || (o[0] = (a) => y.value = a.target.value),
92
+ default: c(({ open: t }) => [
93
+ o.searchIcon ? (n(), u("div", J, [
94
+ i(r(U), { size: "1.5rem" })
95
+ ])) : p("", !0),
96
+ i(r($), {
97
+ class: m(["autocomplete__input", { "autocomplete__input--with-left-icon": o.searchIcon }]),
98
+ "display-value": (a) => w(a),
99
+ placeholder: o.placeholder,
100
+ onChange: l[0] || (l[0] = (a) => b.value = a.target.value),
94
101
  onClick: (a) => B({ event: a, open: t })
95
- }, null, 8, ["display-value", "placeholder", "onClick"]),
96
- c("div", H, [
97
- (r(), m(F(t ? n(U) : n(K)), { size: "1.5rem" }))
102
+ }, null, 8, ["class", "display-value", "placeholder", "onClick"]),
103
+ d("div", Q, [
104
+ (n(), _(P(t ? r(G) : r(K)), { size: "1.5rem" }))
98
105
  ])
99
106
  ]),
100
107
  _: 1
101
108
  })
102
109
  ], 2),
103
- e.errorMessage ? (r(), s("div", {
110
+ e.errorMessage ? (n(), u("div", {
104
111
  key: 1,
105
- class: g(["autocomplete__message", { "autocomplete__message--error": v.value }])
106
- }, b(e.errorMessage), 3)) : f("", !0)
112
+ class: m(["autocomplete__message", { "autocomplete__message--error": v.value }])
113
+ }, y(e.errorMessage), 3)) : p("", !0)
107
114
  ]),
108
- i(n(I), {
115
+ i(r(A), {
109
116
  class: "autocomplete__options",
110
117
  as: "ul"
111
118
  }, {
112
- default: d(() => [
113
- l.loading ? (r(), s("div", J, [
114
- _(e.$slots, "loading", {}, () => [
115
- i(n(T), {
119
+ default: c(() => [
120
+ o.loading ? (n(), u("div", R, [
121
+ g(e.$slots, "loading", {}, () => [
122
+ i(r(T), {
116
123
  size: "24px",
117
124
  color: "#0172AD",
118
125
  weight: "bold",
119
126
  class: "autocomplete__loading-spinner"
120
127
  })
121
128
  ], !0)
122
- ])) : (r(), s(M, { key: 1 }, [
123
- (r(!0), s(M, null, P(l.options, (t) => (r(), m(n(O), {
129
+ ])) : (n(), u(M, { key: 1 }, [
130
+ (n(!0), u(M, null, z(o.options, (t) => (n(), _(r(O), {
124
131
  key: typeof t == "string" ? t : t.id,
125
132
  as: "template",
126
133
  value: t,
127
- disabled: V(t)
134
+ disabled: C(t)
128
135
  }, {
129
- default: d(({ active: a, selected: h }) => [
130
- _(e.$slots, "option", {
136
+ default: c(({ active: a, selected: V }) => [
137
+ g(e.$slots, "option", {
131
138
  option: t,
132
139
  active: a,
133
- selected: h,
134
- disabled: V(t)
140
+ selected: V,
141
+ disabled: C(t)
135
142
  }, () => [
136
- c("li", {
137
- class: g(["autocomplete__option", { "autocomplete__option--active": a, "autocomplete__option--selected": h }])
138
- }, b(D(t)), 3)
143
+ d("li", {
144
+ class: m(["autocomplete__option", { "autocomplete__option--active": a, "autocomplete__option--selected": V }])
145
+ }, y(D(t)), 3)
139
146
  ], !0)
140
147
  ]),
141
148
  _: 2
142
149
  }, 1032, ["value", "disabled"]))), 128)),
143
- l.options.length === 0 && y.value !== "" ? (r(), s("div", Q, " Keine Ergebnisse gefunden. ")) : f("", !0)
150
+ o.options.length === 0 && b.value !== "" ? (n(), u("div", W, " Keine Ergebnisse gefunden. ")) : p("", !0)
144
151
  ], 64))
145
152
  ]),
146
153
  _: 3
@@ -152,5 +159,5 @@ const j = { class: "autocomplete" }, G = { class: "autocomplete__wrapper" }, H =
152
159
  }
153
160
  });
154
161
  export {
155
- Y as default
162
+ ee as default
156
163
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./AutocompleteVocab.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-88c43365"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f30a37c8"]]);
5
5
  export {
6
- r as default
6
+ p as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as W, mergeModels as F, computed as t, ref as P, toRef as X, useModel as Y, watch as R, createBlock as k, openBlock as B, unref as v, createSlots as Z, withCtx as M, createElementVNode as w, createTextVNode as ee, createCommentVNode as re, toDisplayString as oe, renderSlot as te } from "vue";
2
- import { PhSpinner as le } from "@phosphor-icons/vue";
3
- import { defineHubSearch as ae } from "@piveau/sdk-vue";
4
- import { useDebounce as b } from "@vueuse/core";
1
+ import { defineComponent as W, mergeModels as B, computed as a, ref as F, toRef as X, useModel as Y, watch as P, createBlock as R, openBlock as k, unref as v, createSlots as Z, withCtx as I, createElementVNode as w, createTextVNode as ee, createCommentVNode as re, toDisplayString as oe, renderSlot as ae } from "vue";
2
+ import { PhSpinner as te } from "@phosphor-icons/vue";
3
+ import { defineHubSearch as le } from "@piveau/sdk-vue";
4
+ import { useDebounce as p } from "@vueuse/core";
5
5
  import se from "zod";
6
6
  import ue from "./Autocomplete.vue.js";
7
- const ne = { class: "autocomplete-vocab__label" }, pe = /* @__PURE__ */ W({
7
+ const ne = { class: "autocomplete-vocab__label" }, be = /* @__PURE__ */ W({
8
8
  __name: "AutocompleteVocab",
9
- props: /* @__PURE__ */ F({
9
+ props: /* @__PURE__ */ B({
10
10
  by: { default: "" },
11
11
  baseUrl: { default: "https://twin.bydata.de/api/hub/search" },
12
12
  vocabulary: {},
@@ -20,27 +20,28 @@ const ne = { class: "autocomplete-vocab__label" }, pe = /* @__PURE__ */ W({
20
20
  isAutocompleteDisabled: { type: Boolean, default: !1 },
21
21
  postProcessFn: {},
22
22
  sort: { default: "title.de+asc,name.de+asc,pref_label.de+asc,pref_label.en+asc,alt_label.de+asc,alt_label.en+asc" },
23
- authToken: { default: "" }
23
+ authToken: { default: "" },
24
+ searchIcon: { type: Boolean, default: !1 }
24
25
  }, {
25
26
  modelValue: { default: "" },
26
27
  modelModifiers: {}
27
28
  }),
28
- emits: /* @__PURE__ */ F(["select"], ["update:modelValue"]),
29
- setup(p, { emit: A }) {
30
- const r = p, D = A, u = t(() => !!r.vocabulary), m = t(() => r.by || u.value ? "vocabulary" : "resource"), I = t(() => r.resource === "dataset" ? "dataset" : u.value ? "vocabulary" : m.value), T = t(() => r.resource === "dataset" ? "datasets" : u.value ? "vocabularies" : m.value === "resource" ? `resources/${r.resource}` : "vocabularies"), U = t(() => !r.isAutocompleteDisabled && !!(r.resource || r.vocabulary)), { useSearch: $, useResource: E } = ae({
29
+ emits: /* @__PURE__ */ B(["select"], ["update:modelValue"]),
30
+ setup(b, { emit: M }) {
31
+ const r = b, A = M, u = a(() => !!r.vocabulary), m = a(() => r.by || u.value ? "vocabulary" : "resource"), D = a(() => r.resource === "dataset" ? "dataset" : u.value ? "vocabulary" : m.value), T = a(() => r.resource === "dataset" ? "datasets" : u.value ? "vocabularies" : m.value === "resource" ? `resources/${r.resource}` : "vocabularies"), U = a(() => !r.isAutocompleteDisabled && !!(r.resource || r.vocabulary)), { useSearch: $, useResource: E } = le({
31
32
  baseUrl: r.baseUrl,
32
- index: I.value,
33
+ index: D.value,
33
34
  indexDetails: T.value,
34
35
  schema: se.any()
35
36
  }, (e) => {
36
37
  var d, V, _;
37
- const o = (d = r.setupFn) == null ? void 0 : d.call(r, e), a = String((o == null ? void 0 : o.id) || (e == null ? void 0 : e.resource) || ""), n = String((o == null ? void 0 : o.name) || ((V = e == null ? void 0 : e.pref_label) == null ? void 0 : V.de) || ((_ = e == null ? void 0 : e.pref_label) == null ? void 0 : _.en) || "");
38
+ const o = (d = r.setupFn) == null ? void 0 : d.call(r, e), l = String((o == null ? void 0 : o.id) || (e == null ? void 0 : e.resource) || ""), n = String((o == null ? void 0 : o.name) || ((V = e == null ? void 0 : e.pref_label) == null ? void 0 : V.de) || ((_ = e == null ? void 0 : e.pref_label) == null ? void 0 : _.en) || "");
38
39
  return {
39
40
  ...o,
40
- id: a,
41
+ id: l,
41
42
  name: n
42
43
  };
43
- }), f = P(""), L = b(f, 300), z = t(() => r.vocabulary), C = t(() => ({
44
+ }), f = F(""), L = p(f, 300), z = a(() => r.vocabulary), C = a(() => ({
44
45
  ...r.authToken && { Authorization: `Bearer ${r.authToken}` }
45
46
  })), { getSearchResultsEnhanced: N, isFetching: O } = $({
46
47
  queryOptions: {
@@ -52,25 +53,25 @@ const ne = { class: "autocomplete-vocab__label" }, pe = /* @__PURE__ */ W({
52
53
  // ...vocabularyRef.value
53
54
  // ? { vocabulary: vocabularyRef }
54
55
  // : { resource: props.resource },
55
- vocabulary: t(() => u.value ? z.value : ""),
56
+ vocabulary: a(() => u.value ? z.value : ""),
56
57
  // resource: computed(() => props.resource || ''),
57
58
  sort: X(r.sort)
58
59
  },
59
- additionalParams: t(() => ({
60
+ additionalParams: a(() => ({
60
61
  resource: m.value === "resource" ? r.resource : ""
61
62
  })),
62
63
  headers: C
63
- }), x = t(() => {
64
+ }), x = a(() => {
64
65
  let e = N.value || [];
65
66
  return r.postProcessFn && (e = r.postProcessFn(e)), e;
66
- }), l = Y(p, "modelValue"), y = t(() => !(!l.value || typeof l.value == "string")), j = t(() => typeof l.value == "string");
67
+ }), t = Y(b, "modelValue"), y = a(() => !(!t.value || typeof t.value == "string")), j = a(() => typeof t.value == "string");
67
68
  function i(e) {
68
69
  return String(e ?? "").trim();
69
70
  }
70
- const c = t(() => {
71
+ const c = a(() => {
71
72
  var e;
72
- return typeof l.value == "string" ? i(l.value) : i((e = l.value) == null ? void 0 : e.id);
73
- }), h = t(() => j.value && !!c.value), H = t(() => h.value ? u.value ? `${r.vocabulary}/vocable` : c.value : ""), Q = t(() => u.value ? { resource: c.value } : {}), {
73
+ return typeof t.value == "string" ? i(t.value) : i((e = t.value) == null ? void 0 : e.id);
74
+ }), h = a(() => j.value && !!c.value), H = a(() => h.value ? u.value ? `${r.vocabulary}/vocable` : c.value : ""), Q = a(() => u.value ? { resource: c.value } : {}), {
74
75
  resultEnhanced: G,
75
76
  isSuccess: ie,
76
77
  isFetching: J
@@ -79,48 +80,49 @@ const ne = { class: "autocomplete-vocab__label" }, pe = /* @__PURE__ */ W({
79
80
  queryOptions: {
80
81
  enabled: h
81
82
  }
82
- }), g = b(J, 350), K = b(O, 350), s = P(), S = t({
83
+ }), g = p(J, 350), K = p(O, 350), s = F(), S = a({
83
84
  get: () => {
84
- var a, n;
85
+ var l, n;
85
86
  const e = c.value;
86
87
  if (!e)
87
88
  return { id: "", name: "" };
88
- const o = typeof l.value == "object" && l.value !== null ? l.value.name : i((a = s.value) == null ? void 0 : a.id) === e ? ((n = s.value) == null ? void 0 : n.name) ?? "" : "";
89
+ const o = typeof t.value == "object" && t.value !== null ? t.value.name : i((l = s.value) == null ? void 0 : l.id) === e ? ((n = s.value) == null ? void 0 : n.name) ?? "" : "";
89
90
  return { id: e, name: o };
90
91
  },
91
92
  set: (e) => {
92
93
  if (!e) {
93
- s.value = void 0, l.value = "";
94
+ s.value = void 0, t.value = "";
94
95
  return;
95
96
  }
96
97
  if (typeof e == "string") {
97
- s.value = void 0, l.value = e.trim();
98
+ s.value = void 0, t.value = e.trim();
98
99
  return;
99
100
  }
100
- s.value = e, l.value = i(e.id);
101
+ s.value = e, t.value = i(e.id);
101
102
  }
102
103
  });
103
- return R(G, (e, o) => {
104
- e && (o && o.id === e.id || (s.value = e, y.value && (l.value = e), y.value || (l.value = i(e.id))));
105
- }, { immediate: !0 }), R(s, (e) => {
106
- e && D("select", e);
107
- }, { immediate: !0 }), (e, o) => (B(), k(ue, {
104
+ return P(G, (e, o) => {
105
+ e && (o && o.id === e.id || (s.value = e, y.value && (t.value = e), y.value || (t.value = i(e.id))));
106
+ }, { immediate: !0 }), P(s, (e) => {
107
+ e && A("select", e);
108
+ }, { immediate: !0 }), (e, o) => (k(), R(ue, {
108
109
  modelValue: S.value,
109
- "onUpdate:modelValue": o[0] || (o[0] = (a) => S.value = a),
110
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => S.value = l),
110
111
  query: f.value,
111
- "onUpdate:query": o[1] || (o[1] = (a) => f.value = a),
112
+ "onUpdate:query": o[1] || (o[1] = (l) => f.value = l),
112
113
  options: x.value || [],
113
114
  label: e.label,
114
115
  "error-message": e.errorMessage,
115
116
  placeholder: e.placeholder,
116
117
  name: e.name,
117
118
  disabled: v(g) || r.disabled,
118
- loading: v(K)
119
+ loading: v(K),
120
+ "search-icon": r.searchIcon
119
121
  }, Z({
120
- label: M(() => [
122
+ label: I(() => [
121
123
  w("div", ne, [
122
124
  ee(oe(e.label) + " ", 1),
123
- v(g) ? (B(), k(v(le), {
125
+ v(g) ? (k(), R(v(te), {
124
126
  key: 0,
125
127
  class: "animate-spin"
126
128
  })) : re("", !0)
@@ -130,9 +132,9 @@ const ne = { class: "autocomplete-vocab__label" }, pe = /* @__PURE__ */ W({
130
132
  }, [
131
133
  e.$slots.option ? {
132
134
  name: "option",
133
- fn: M(({ option: a, active: n, selected: q, disabled: d }) => [
134
- te(e.$slots, "option", {
135
- option: a,
135
+ fn: I(({ option: l, active: n, selected: q, disabled: d }) => [
136
+ ae(e.$slots, "option", {
137
+ option: l,
136
138
  active: n,
137
139
  selected: q,
138
140
  disabled: d
@@ -140,9 +142,9 @@ const ne = { class: "autocomplete-vocab__label" }, pe = /* @__PURE__ */ W({
140
142
  ]),
141
143
  key: "0"
142
144
  } : void 0
143
- ]), 1032, ["modelValue", "query", "options", "label", "error-message", "placeholder", "name", "disabled", "loading"]));
145
+ ]), 1032, ["modelValue", "query", "options", "label", "error-message", "placeholder", "name", "disabled", "loading", "search-icon"]));
144
146
  }
145
147
  });
146
148
  export {
147
- pe as default
149
+ be as default
148
150
  };
@@ -1,5 +1,5 @@
1
1
  import t from "./InputFieldFormKit.vue.js";
2
- const e = {
2
+ const i = {
3
3
  type: "input",
4
4
  schema: [],
5
5
  component: t,
@@ -7,6 +7,7 @@ const e = {
7
7
  "inputType",
8
8
  "addOnText",
9
9
  "datePicker",
10
+ "date-picker",
10
11
  "infoIcon",
11
12
  "preIcon",
12
13
  "showEndIcon",
@@ -21,5 +22,5 @@ const e = {
21
22
  ]
22
23
  };
23
24
  export {
24
- e as default
25
+ i as default
25
26
  };
@@ -485,7 +485,7 @@ const le = { class: "dpiV3_input-field" }, ne = {
485
485
  ])) : o("", !0)
486
486
  ]));
487
487
  }
488
- }, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-6d2518f0"]]);
488
+ }, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-3dd4351a"]]);
489
489
  export {
490
490
  Oe as default
491
491
  };
@@ -1,7 +1,7 @@
1
- import t from "./OptionalDataStep.vue2.js";
1
+ import a from "./OptionalDataStep.vue2.js";
2
2
  /* empty css */
3
- import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-d206ff46"]]);
3
+ import t from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ t(a, [["__scopeId", "data-v-a28ea0fa"]]);
5
5
  export {
6
- r as default
6
+ e as default
7
7
  };