@piveau/dpi 0.2.0-alpha.53 → 0.2.0-alpha.55
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.
- package/dist/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/Autocomplete.vue2.js +76 -69
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue.js +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/Autocomplete/AutocompleteVocab.vue2.js +54 -51
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue.js +4 -4
- package/dist/packages/dpi/src/data-provider-interface/components/Spatial.vue2.js +3 -1
- package/package.json +1 -1
|
@@ -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
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a3b0d43e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Combobox as
|
|
3
|
-
import {
|
|
4
|
-
const j = { class: "autocomplete" },
|
|
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
|
-
},
|
|
10
|
+
}, W = {
|
|
8
11
|
key: 0,
|
|
9
12
|
class: "autocomplete__no-results"
|
|
10
|
-
},
|
|
13
|
+
}, ee = /* @__PURE__ */ x({
|
|
11
14
|
__name: "Autocomplete",
|
|
12
|
-
props: /* @__PURE__ */
|
|
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
|
-
|
|
20
|
-
|
|
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(
|
|
30
|
-
const
|
|
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" ?
|
|
39
|
+
return typeof e == "string" ? o.optionLabel(e) : e.name || String(e.id);
|
|
36
40
|
}
|
|
37
|
-
function
|
|
38
|
-
return typeof e == "string" ?
|
|
41
|
+
function h(e) {
|
|
42
|
+
return typeof e == "string" ? o.optionValue(e) : String(e.id);
|
|
39
43
|
}
|
|
40
|
-
function
|
|
41
|
-
return typeof e == "string" ?
|
|
44
|
+
function C(e) {
|
|
45
|
+
return typeof e == "string" ? o.optionDisabled(e) : !!e.unavailable;
|
|
42
46
|
}
|
|
43
|
-
function q(e,
|
|
44
|
-
if (!e || !
|
|
47
|
+
function q(e, l) {
|
|
48
|
+
if (!e || !l)
|
|
45
49
|
return !1;
|
|
46
|
-
if (e ===
|
|
50
|
+
if (e === l)
|
|
47
51
|
return !0;
|
|
48
|
-
if (typeof e == "string" && typeof
|
|
49
|
-
return e ===
|
|
50
|
-
const t =
|
|
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
|
|
57
|
+
function w(e) {
|
|
54
58
|
return !e || typeof e == "string" ? "" : e.name || "";
|
|
55
59
|
}
|
|
56
|
-
return (e,
|
|
57
|
-
i(
|
|
58
|
-
modelValue:
|
|
59
|
-
"onUpdate:modelValue":
|
|
60
|
-
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:
|
|
65
|
-
|
|
66
|
-
|
|
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:
|
|
72
|
-
|
|
73
|
-
label:
|
|
74
|
-
selected:
|
|
75
|
+
default: c(() => [
|
|
76
|
+
g(e.$slots, "label", {
|
|
77
|
+
label: o.label,
|
|
78
|
+
selected: f.value
|
|
75
79
|
}, () => [
|
|
76
|
-
|
|
80
|
+
N(y(o.label), 1)
|
|
77
81
|
], !0)
|
|
78
82
|
]),
|
|
79
83
|
_: 3
|
|
80
|
-
})) :
|
|
81
|
-
|
|
82
|
-
class:
|
|
84
|
+
})) : p("", !0),
|
|
85
|
+
d("div", {
|
|
86
|
+
class: m(["autocomplete__input-container", { "autocomplete__input-container--error": v.value }])
|
|
83
87
|
}, [
|
|
84
|
-
i(
|
|
88
|
+
i(r(S), {
|
|
85
89
|
as: "div",
|
|
86
90
|
class: "autocomplete__input-wrapper"
|
|
87
91
|
}, {
|
|
88
|
-
default:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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
|
-
|
|
97
|
-
(
|
|
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 ? (
|
|
110
|
+
e.errorMessage ? (n(), u("div", {
|
|
104
111
|
key: 1,
|
|
105
|
-
class:
|
|
106
|
-
},
|
|
112
|
+
class: m(["autocomplete__message", { "autocomplete__message--error": v.value }])
|
|
113
|
+
}, y(e.errorMessage), 3)) : p("", !0)
|
|
107
114
|
]),
|
|
108
|
-
i(
|
|
115
|
+
i(r(A), {
|
|
109
116
|
class: "autocomplete__options",
|
|
110
117
|
as: "ul"
|
|
111
118
|
}, {
|
|
112
|
-
default:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
i(
|
|
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
|
-
])) : (
|
|
123
|
-
(
|
|
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:
|
|
134
|
+
disabled: C(t)
|
|
128
135
|
}, {
|
|
129
|
-
default:
|
|
130
|
-
|
|
136
|
+
default: c(({ active: a, selected: V }) => [
|
|
137
|
+
g(e.$slots, "option", {
|
|
131
138
|
option: t,
|
|
132
139
|
active: a,
|
|
133
|
-
selected:
|
|
134
|
-
disabled:
|
|
140
|
+
selected: V,
|
|
141
|
+
disabled: C(t)
|
|
135
142
|
}, () => [
|
|
136
|
-
|
|
137
|
-
class:
|
|
138
|
-
},
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-578a7a31"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { PhSpinner as
|
|
3
|
-
import { defineHubSearch as
|
|
4
|
-
import { useDebounce as
|
|
1
|
+
import { defineComponent as X, mergeModels as B, computed as t, ref as F, toRef as P, useModel as Y, watch as R, createBlock as k, openBlock as I, unref as m, 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 ae } 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" },
|
|
7
|
+
const ne = { class: "autocomplete-vocab__label" }, be = /* @__PURE__ */ X({
|
|
8
8
|
__name: "AutocompleteVocab",
|
|
9
|
-
props: /* @__PURE__ */
|
|
9
|
+
props: /* @__PURE__ */ B({
|
|
10
10
|
by: { default: "" },
|
|
11
11
|
baseUrl: { default: "https://twin.bydata.de/api/hub/search" },
|
|
12
12
|
vocabulary: {},
|
|
@@ -20,107 +20,110 @@ 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 },
|
|
25
|
+
limit: { default: 24 }
|
|
24
26
|
}, {
|
|
25
27
|
modelValue: { default: "" },
|
|
26
28
|
modelModifiers: {}
|
|
27
29
|
}),
|
|
28
|
-
emits: /* @__PURE__ */
|
|
29
|
-
setup(
|
|
30
|
-
const r =
|
|
30
|
+
emits: /* @__PURE__ */ B(["select"], ["update:modelValue"]),
|
|
31
|
+
setup(b, { emit: A }) {
|
|
32
|
+
const r = b, D = A, u = t(() => !!r.vocabulary), v = t(() => r.by || u.value ? "vocabulary" : "resource"), T = t(() => r.resource === "dataset" ? "dataset" : u.value ? "vocabulary" : v.value), U = t(() => r.resource === "dataset" ? "datasets" : u.value ? "vocabularies" : v.value === "resource" ? `resources/${r.resource}` : "vocabularies"), $ = t(() => !r.isAutocompleteDisabled && !!(r.resource || r.vocabulary)), { useSearch: E, useResource: L } = le({
|
|
31
33
|
baseUrl: r.baseUrl,
|
|
32
|
-
index:
|
|
33
|
-
indexDetails:
|
|
34
|
+
index: T.value,
|
|
35
|
+
indexDetails: U.value,
|
|
34
36
|
schema: se.any()
|
|
35
37
|
}, (e) => {
|
|
36
38
|
var d, V, _;
|
|
37
|
-
const o = (d = r.setupFn) == null ? void 0 : d.call(r, e),
|
|
39
|
+
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
40
|
return {
|
|
39
41
|
...o,
|
|
40
|
-
id:
|
|
42
|
+
id: l,
|
|
41
43
|
name: n
|
|
42
44
|
};
|
|
43
|
-
}), f =
|
|
45
|
+
}), f = F(""), z = p(f, 300), C = t(() => r.vocabulary), N = t(() => ({
|
|
44
46
|
...r.authToken && { Authorization: `Bearer ${r.authToken}` }
|
|
45
|
-
})), { getSearchResultsEnhanced:
|
|
47
|
+
})), { getSearchResultsEnhanced: O, isFetching: x } = E({
|
|
46
48
|
queryOptions: {
|
|
47
|
-
enabled:
|
|
49
|
+
enabled: $
|
|
48
50
|
},
|
|
49
51
|
queryParams: {
|
|
50
|
-
q:
|
|
51
|
-
limit:
|
|
52
|
+
q: z,
|
|
53
|
+
limit: P(r.limit),
|
|
52
54
|
// ...vocabularyRef.value
|
|
53
55
|
// ? { vocabulary: vocabularyRef }
|
|
54
56
|
// : { resource: props.resource },
|
|
55
|
-
vocabulary: t(() => u.value ?
|
|
57
|
+
vocabulary: t(() => u.value ? C.value : ""),
|
|
56
58
|
// resource: computed(() => props.resource || ''),
|
|
57
|
-
sort:
|
|
59
|
+
sort: P(r.sort)
|
|
58
60
|
},
|
|
59
61
|
additionalParams: t(() => ({
|
|
60
|
-
resource:
|
|
62
|
+
resource: v.value === "resource" ? r.resource : ""
|
|
61
63
|
})),
|
|
62
|
-
headers:
|
|
63
|
-
}),
|
|
64
|
-
let e =
|
|
64
|
+
headers: N
|
|
65
|
+
}), j = t(() => {
|
|
66
|
+
let e = O.value || [];
|
|
65
67
|
return r.postProcessFn && (e = r.postProcessFn(e)), e;
|
|
66
|
-
}),
|
|
68
|
+
}), a = Y(b, "modelValue"), y = t(() => !(!a.value || typeof a.value == "string")), H = t(() => typeof a.value == "string");
|
|
67
69
|
function i(e) {
|
|
68
70
|
return String(e ?? "").trim();
|
|
69
71
|
}
|
|
70
72
|
const c = t(() => {
|
|
71
73
|
var e;
|
|
72
|
-
return typeof
|
|
73
|
-
}), h = t(() =>
|
|
74
|
-
resultEnhanced:
|
|
74
|
+
return typeof a.value == "string" ? i(a.value) : i((e = a.value) == null ? void 0 : e.id);
|
|
75
|
+
}), h = t(() => H.value && !!c.value), Q = t(() => h.value ? u.value ? `${r.vocabulary}/vocable` : c.value : ""), G = t(() => u.value ? { resource: c.value } : {}), {
|
|
76
|
+
resultEnhanced: J,
|
|
75
77
|
isSuccess: ie,
|
|
76
|
-
isFetching:
|
|
77
|
-
} =
|
|
78
|
-
additionalParams:
|
|
78
|
+
isFetching: K
|
|
79
|
+
} = L(Q, {
|
|
80
|
+
additionalParams: G,
|
|
79
81
|
queryOptions: {
|
|
80
82
|
enabled: h
|
|
81
83
|
}
|
|
82
|
-
}), g =
|
|
84
|
+
}), g = p(K, 350), W = p(x, 350), s = F(), S = t({
|
|
83
85
|
get: () => {
|
|
84
|
-
var
|
|
86
|
+
var l, n;
|
|
85
87
|
const e = c.value;
|
|
86
88
|
if (!e)
|
|
87
89
|
return { id: "", name: "" };
|
|
88
|
-
const o = typeof
|
|
90
|
+
const o = typeof a.value == "object" && a.value !== null ? a.value.name : i((l = s.value) == null ? void 0 : l.id) === e ? ((n = s.value) == null ? void 0 : n.name) ?? "" : "";
|
|
89
91
|
return { id: e, name: o };
|
|
90
92
|
},
|
|
91
93
|
set: (e) => {
|
|
92
94
|
if (!e) {
|
|
93
|
-
s.value = void 0,
|
|
95
|
+
s.value = void 0, a.value = "";
|
|
94
96
|
return;
|
|
95
97
|
}
|
|
96
98
|
if (typeof e == "string") {
|
|
97
|
-
s.value = void 0,
|
|
99
|
+
s.value = void 0, a.value = e.trim();
|
|
98
100
|
return;
|
|
99
101
|
}
|
|
100
|
-
s.value = e,
|
|
102
|
+
s.value = e, a.value = i(e.id);
|
|
101
103
|
}
|
|
102
104
|
});
|
|
103
|
-
return R(
|
|
104
|
-
e && (o && o.id === e.id || (s.value = e, y.value && (
|
|
105
|
+
return R(J, (e, o) => {
|
|
106
|
+
e && (o && o.id === e.id || (s.value = e, y.value && (a.value = e), y.value || (a.value = i(e.id))));
|
|
105
107
|
}, { immediate: !0 }), R(s, (e) => {
|
|
106
108
|
e && D("select", e);
|
|
107
|
-
}, { immediate: !0 }), (e, o) => (
|
|
109
|
+
}, { immediate: !0 }), (e, o) => (I(), k(ue, {
|
|
108
110
|
modelValue: S.value,
|
|
109
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
111
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => S.value = l),
|
|
110
112
|
query: f.value,
|
|
111
|
-
"onUpdate:query": o[1] || (o[1] = (
|
|
112
|
-
options:
|
|
113
|
+
"onUpdate:query": o[1] || (o[1] = (l) => f.value = l),
|
|
114
|
+
options: j.value || [],
|
|
113
115
|
label: e.label,
|
|
114
116
|
"error-message": e.errorMessage,
|
|
115
117
|
placeholder: e.placeholder,
|
|
116
118
|
name: e.name,
|
|
117
|
-
disabled:
|
|
118
|
-
loading:
|
|
119
|
+
disabled: m(g) || r.disabled,
|
|
120
|
+
loading: m(W),
|
|
121
|
+
"search-icon": r.searchIcon
|
|
119
122
|
}, Z({
|
|
120
123
|
label: M(() => [
|
|
121
124
|
w("div", ne, [
|
|
122
125
|
ee(oe(e.label) + " ", 1),
|
|
123
|
-
|
|
126
|
+
m(g) ? (I(), k(m(ae), {
|
|
124
127
|
key: 0,
|
|
125
128
|
class: "animate-spin"
|
|
126
129
|
})) : re("", !0)
|
|
@@ -130,9 +133,9 @@ const ne = { class: "autocomplete-vocab__label" }, pe = /* @__PURE__ */ W({
|
|
|
130
133
|
}, [
|
|
131
134
|
e.$slots.option ? {
|
|
132
135
|
name: "option",
|
|
133
|
-
fn: M(({ option:
|
|
136
|
+
fn: M(({ option: l, active: n, selected: q, disabled: d }) => [
|
|
134
137
|
te(e.$slots, "option", {
|
|
135
|
-
option:
|
|
138
|
+
option: l,
|
|
136
139
|
active: n,
|
|
137
140
|
selected: q,
|
|
138
141
|
disabled: d
|
|
@@ -140,9 +143,9 @@ const ne = { class: "autocomplete-vocab__label" }, pe = /* @__PURE__ */ W({
|
|
|
140
143
|
]),
|
|
141
144
|
key: "0"
|
|
142
145
|
} : void 0
|
|
143
|
-
]), 1032, ["modelValue", "query", "options", "label", "error-message", "placeholder", "name", "disabled", "loading"]));
|
|
146
|
+
]), 1032, ["modelValue", "query", "options", "label", "error-message", "placeholder", "name", "disabled", "loading", "search-icon"]));
|
|
144
147
|
}
|
|
145
148
|
});
|
|
146
149
|
export {
|
|
147
|
-
|
|
150
|
+
be as default
|
|
148
151
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./Spatial.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-76ee679b"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -143,7 +143,9 @@ const O = { class: "step-section" }, P = { key: 0 }, j = ["id", "value", "disabl
|
|
|
143
143
|
"base-url": u.baseUrl,
|
|
144
144
|
vocabulary: w.value,
|
|
145
145
|
placeholder: "Legen Sie die räumliche Abdeckung fest.",
|
|
146
|
-
name: "spatial"
|
|
146
|
+
name: "spatial",
|
|
147
|
+
"search-icon": "",
|
|
148
|
+
limit: 48
|
|
147
149
|
}, null, 8, ["modelValue", "label", "base-url", "vocabulary"]),
|
|
148
150
|
t[5] || (t[5] = y("h5", null, "oder Geodatensatz", -1)),
|
|
149
151
|
v(T, {
|