@db-ux/v-core-components 2.4.0 → 2.4.2
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/components/switch/model.d.ts +1 -3
- package/dist/db-ux.es.js +898 -908
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/model.d.ts +1 -1
- package/package.json +6 -6
package/dist/db-ux.es.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var de = (i, a, l) =>
|
|
4
|
-
import { defineComponent as V, ref as
|
|
5
|
-
const Le = "OVERWRITE_DEFAULT_ID", we = "LABEL SHOULD BE SET", aa = " ",
|
|
1
|
+
var La = Object.defineProperty;
|
|
2
|
+
var _a = (i, a, l) => a in i ? La(i, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[a] = l;
|
|
3
|
+
var de = (i, a, l) => _a(i, typeof a != "symbol" ? a + "" : a, l);
|
|
4
|
+
import { defineComponent as V, ref as s, onMounted as K, watch as D, createElementBlock as B, openBlock as m, normalizeClass as R, unref as d, createElementVNode as T, createCommentVNode as q, renderSlot as E, Fragment as P, createTextVNode as N, toDisplayString as L, renderList as be, createBlock as Z, createVNode as ae, withCtx as G, onUnmounted as Ta } from "vue";
|
|
5
|
+
const Le = "OVERWRITE_DEFAULT_ID", we = "LABEL SHOULD BE SET", aa = " ", Aa = "MESSAGE SHOULD BE SET", Je = "-label", Qe = "-select", ve = "-message", fe = "-valid-message", pe = "-invalid-message", Re = "-placeholder", Ze = "-datalist", he = "TODO: Add a validMessage", ie = "TODO: Add an invalidMessage", ta = "Remove", Ca = "Back", Ea = "Selected", Da = "BurgerMenu", Na = "brand", Fa = 4, Ge = "Close", Ki = "density", Ji = "color";
|
|
6
6
|
var ia = /* @__PURE__ */ ((i) => (i.FUNCTIONAL = "functional", i.REGULAR = "regular", i.EXPRESSIVE = "expressive", i))(ia || {});
|
|
7
7
|
const Qi = Object.entries(ia).map(([, i]) => i);
|
|
8
8
|
var la = /* @__PURE__ */ ((i) => (i.PRIMARY = "primary", i))(la || {}), oa = /* @__PURE__ */ ((i) => (i.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", i.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", i.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", i.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", i.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", i.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", i.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", i.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", i.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", i.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", i.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", i.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", i.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", i.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", i.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", i.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", i.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", i.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", i.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", i.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", i.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", i.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", i.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", i.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", i.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", i.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", i.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", i.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", i.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", i.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", i))(oa || {});
|
|
9
9
|
const Zi = Object.entries(oa).map(([, i]) => i), xi = Object.entries(la).map(([, i]) => i);
|
|
10
10
|
var da = /* @__PURE__ */ ((i) => (i.CRITICAL = "critical", i.INFORMATIONAL = "informational", i.WARNING = "warning", i.SUCCESSFUL = "successful", i))(da || {});
|
|
11
|
-
const el = Object.entries(da).map(([, i]) => i),
|
|
11
|
+
const el = Object.entries(da).map(([, i]) => i), Ma = {
|
|
12
12
|
width: 390,
|
|
13
13
|
height: 884
|
|
14
|
-
},
|
|
14
|
+
}, Ra = {
|
|
15
15
|
width: 1920,
|
|
16
16
|
height: 1280
|
|
17
17
|
}, al = [{
|
|
18
18
|
name: "desktop",
|
|
19
|
-
...
|
|
19
|
+
...Ra
|
|
20
20
|
}, {
|
|
21
21
|
name: "tablet",
|
|
22
22
|
width: 768,
|
|
23
23
|
height: 1024
|
|
24
24
|
}, {
|
|
25
25
|
name: "mobile",
|
|
26
|
-
...
|
|
26
|
+
...Ma
|
|
27
27
|
}], Q = () => {
|
|
28
28
|
var i, a;
|
|
29
29
|
if (typeof window < "u") {
|
|
@@ -48,7 +48,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
48
48
|
for (const e in l)
|
|
49
49
|
l[e] && (a += `${e} `);
|
|
50
50
|
return a.trim();
|
|
51
|
-
},
|
|
51
|
+
}, za = (i) => Array.isArray(i) && i.every((a) => typeof a == "string"), qa = ["Mac", "iPhone", "iPad", "iPod"], me = () => typeof window < "u" && qa.some((i) => window.navigator.userAgent.includes(i)), x = (i, a) => new Promise(() => setTimeout(i, a)), j = (i) => {
|
|
52
52
|
if (i != null)
|
|
53
53
|
return String(typeof i == "string" ? !!i : i);
|
|
54
54
|
}, M = (i, a) => {
|
|
@@ -63,7 +63,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
63
63
|
}, ee = (i, a) => (a === void 0 || !!a) && !!i, ea = (i) => i.querySelector('input[type="search"]'), tl = (i, a) => {
|
|
64
64
|
const l = i.id ?? i.value ?? Q();
|
|
65
65
|
return `${a}${l}`;
|
|
66
|
-
},
|
|
66
|
+
}, Va = (i) => i.key !== void 0, Pa = ["id"], Ua = ["aria-disabled", "name", "open"], Ga = /* @__PURE__ */ V({
|
|
67
67
|
__name: "accordion-item",
|
|
68
68
|
props: {
|
|
69
69
|
defaultOpen: { type: Boolean, default: void 0 },
|
|
@@ -82,10 +82,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
82
82
|
name: { default: void 0 }
|
|
83
83
|
},
|
|
84
84
|
setup(i) {
|
|
85
|
-
const a = i, l =
|
|
85
|
+
const a = i, l = s(Le), e = s(!1), t = s(void 0), p = s(!1), u = s(null);
|
|
86
86
|
K(() => {
|
|
87
87
|
l.value = a.id || "accordion-item-" + Q(), a.defaultOpen && (e.value = a.defaultOpen), p.value = !0;
|
|
88
|
-
}),
|
|
88
|
+
}), D(
|
|
89
89
|
() => [u.value, p.value],
|
|
90
90
|
() => {
|
|
91
91
|
u.value && p.value;
|
|
@@ -94,7 +94,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
94
94
|
immediate: !0,
|
|
95
95
|
flush: "post"
|
|
96
96
|
}
|
|
97
|
-
),
|
|
97
|
+
), D(
|
|
98
98
|
() => [a.name],
|
|
99
99
|
() => {
|
|
100
100
|
a.name && (t.value = a.name);
|
|
@@ -106,10 +106,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
106
106
|
);
|
|
107
107
|
function g(r) {
|
|
108
108
|
r == null || r.preventDefault();
|
|
109
|
-
const
|
|
110
|
-
a.onToggle && a.onToggle(
|
|
109
|
+
const n = !e.value;
|
|
110
|
+
a.onToggle && a.onToggle(n), e.value = n;
|
|
111
111
|
}
|
|
112
|
-
return (r,
|
|
112
|
+
return (r, n) => (m(), B("li", {
|
|
113
113
|
id: l.value,
|
|
114
114
|
class: R(d(z)("db-accordion-item", a.class))
|
|
115
115
|
}, [
|
|
@@ -121,22 +121,22 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
121
121
|
open: e.value
|
|
122
122
|
}, [
|
|
123
123
|
T("summary", {
|
|
124
|
-
onClick:
|
|
124
|
+
onClick: n[0] || (n[0] = async (f) => g(f))
|
|
125
125
|
}, [
|
|
126
126
|
r.headlinePlain ? (m(), B(P, { key: 0 }, [
|
|
127
|
-
|
|
127
|
+
N(L(r.headlinePlain), 1)
|
|
128
128
|
], 64)) : q("", !0),
|
|
129
|
-
r.headlinePlain ? q("", !0) :
|
|
129
|
+
r.headlinePlain ? q("", !0) : E(r.$slots, "headline", { key: 1 })
|
|
130
130
|
]),
|
|
131
131
|
T("div", null, [
|
|
132
132
|
r.text ? (m(), B(P, { key: 0 }, [
|
|
133
|
-
|
|
134
|
-
], 64)) :
|
|
133
|
+
N(L(r.text), 1)
|
|
134
|
+
], 64)) : E(r.$slots, "default", { key: 1 })
|
|
135
135
|
])
|
|
136
|
-
], 8,
|
|
137
|
-
], 10,
|
|
136
|
+
], 8, Ua)
|
|
137
|
+
], 10, Pa));
|
|
138
138
|
}
|
|
139
|
-
}),
|
|
139
|
+
}), Wa = ["id", "data-variant"], il = /* @__PURE__ */ V({
|
|
140
140
|
__name: "accordion",
|
|
141
141
|
props: {
|
|
142
142
|
behavior: { default: void 0 },
|
|
@@ -153,10 +153,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
153
153
|
autofocus: { type: [Boolean, String] }
|
|
154
154
|
},
|
|
155
155
|
setup(i) {
|
|
156
|
-
const a = i, l =
|
|
156
|
+
const a = i, l = s(Le), e = s(""), t = s(!1), p = s(!1), u = s(null);
|
|
157
157
|
K(() => {
|
|
158
158
|
l.value = a.id || "accordion-" + Q(), t.value = !0, p.value = !0;
|
|
159
|
-
}),
|
|
159
|
+
}), D(
|
|
160
160
|
() => [t.value, a.name, a.behavior, l.value],
|
|
161
161
|
() => {
|
|
162
162
|
t.value && (a.behavior === "single" ? a.name ? e.value !== a.name && (e.value = a.name) : e.value !== l.value && l.value && (e.value = l.value) : e.value = "");
|
|
@@ -165,31 +165,31 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
165
165
|
immediate: !0,
|
|
166
166
|
flush: "post"
|
|
167
167
|
}
|
|
168
|
-
),
|
|
168
|
+
), D(
|
|
169
169
|
() => [u.value, e.value],
|
|
170
170
|
() => {
|
|
171
171
|
if (u.value) {
|
|
172
172
|
const r = u.value.getElementsByTagName("details");
|
|
173
173
|
if (r)
|
|
174
|
-
for (const
|
|
175
|
-
e.value === "" ?
|
|
174
|
+
for (const n of Array.from(r))
|
|
175
|
+
e.value === "" ? n.removeAttribute("name") : n.name = e.value ?? "";
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
immediate: !0,
|
|
180
180
|
flush: "post"
|
|
181
181
|
}
|
|
182
|
-
),
|
|
182
|
+
), D(
|
|
183
183
|
() => [u.value, p.value, a.initOpenIndex],
|
|
184
184
|
() => {
|
|
185
185
|
if (u.value && p.value) {
|
|
186
186
|
if (a.initOpenIndex && a.initOpenIndex.length > 0) {
|
|
187
187
|
const r = u.value.getElementsByTagName("details");
|
|
188
188
|
if (r) {
|
|
189
|
-
const
|
|
189
|
+
const n = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
|
|
190
190
|
Array.from(r).forEach(
|
|
191
|
-
(
|
|
192
|
-
|
|
191
|
+
(f, _) => {
|
|
192
|
+
n != null && n.includes(_) && (f.open = !0);
|
|
193
193
|
}
|
|
194
194
|
);
|
|
195
195
|
}
|
|
@@ -210,23 +210,23 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
210
210
|
}
|
|
211
211
|
return [];
|
|
212
212
|
}
|
|
213
|
-
return (r,
|
|
213
|
+
return (r, n) => (m(), B("ul", {
|
|
214
214
|
ref_key: "_ref",
|
|
215
215
|
ref: u,
|
|
216
216
|
id: l.value,
|
|
217
217
|
class: R(d(z)("db-accordion", a.class)),
|
|
218
218
|
"data-variant": r.variant
|
|
219
219
|
}, [
|
|
220
|
-
r.items ? q("", !0) :
|
|
221
|
-
r.items ? (m(!0), B(P, { key: 1 }, be(g(), (
|
|
222
|
-
key: `accordion-item-${
|
|
223
|
-
headlinePlain:
|
|
224
|
-
disabled:
|
|
225
|
-
text:
|
|
220
|
+
r.items ? q("", !0) : E(r.$slots, "default", { key: 0 }),
|
|
221
|
+
r.items ? (m(!0), B(P, { key: 1 }, be(g(), (f, _) => (m(), Z(Ga, {
|
|
222
|
+
key: `accordion-item-${_}`,
|
|
223
|
+
headlinePlain: f.headlinePlain,
|
|
224
|
+
disabled: f.disabled,
|
|
225
|
+
text: f.text
|
|
226
226
|
}, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : q("", !0)
|
|
227
|
-
], 10,
|
|
227
|
+
], 10, Wa));
|
|
228
228
|
}
|
|
229
|
-
}),
|
|
229
|
+
}), Oa = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], ll = /* @__PURE__ */ V({
|
|
230
230
|
__name: "badge",
|
|
231
231
|
props: {
|
|
232
232
|
placement: { default: void 0 },
|
|
@@ -243,10 +243,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
243
243
|
text: { default: void 0 }
|
|
244
244
|
},
|
|
245
245
|
setup(i) {
|
|
246
|
-
const a = i, l =
|
|
246
|
+
const a = i, l = s(!1), e = s(null);
|
|
247
247
|
return K(() => {
|
|
248
248
|
l.value = !0;
|
|
249
|
-
}),
|
|
249
|
+
}), D(
|
|
250
250
|
() => [e.value, l.value],
|
|
251
251
|
() => {
|
|
252
252
|
var t;
|
|
@@ -273,12 +273,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
273
273
|
"data-label": ((u = t.placement) == null ? void 0 : u.startsWith("corner")) && (t.label ?? d(we))
|
|
274
274
|
}, [
|
|
275
275
|
t.text ? (m(), B(P, { key: 0 }, [
|
|
276
|
-
|
|
277
|
-
], 64)) :
|
|
278
|
-
], 10,
|
|
276
|
+
N(L(t.text), 1)
|
|
277
|
+
], 64)) : E(t.$slots, "default", { key: 1 })
|
|
278
|
+
], 10, Oa);
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
|
-
}),
|
|
281
|
+
}), Ha = ["data-icon", "data-hide-icon", "id"], ol = /* @__PURE__ */ V({
|
|
282
282
|
__name: "brand",
|
|
283
283
|
props: {
|
|
284
284
|
hideLogo: { type: Boolean, default: void 0 },
|
|
@@ -293,7 +293,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
293
293
|
text: { default: void 0 }
|
|
294
294
|
},
|
|
295
295
|
setup(i) {
|
|
296
|
-
const a = i, l =
|
|
296
|
+
const a = i, l = s(null);
|
|
297
297
|
return (e, t) => (m(), B("div", {
|
|
298
298
|
ref_key: "_ref",
|
|
299
299
|
ref: l,
|
|
@@ -303,11 +303,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
303
303
|
class: R(d(z)("db-brand", a.class))
|
|
304
304
|
}, [
|
|
305
305
|
e.text ? (m(), B(P, { key: 0 }, [
|
|
306
|
-
|
|
307
|
-
], 64)) :
|
|
308
|
-
], 10,
|
|
306
|
+
N(L(e.text), 1)
|
|
307
|
+
], 64)) : E(e.$slots, "default", { key: 1 })
|
|
308
|
+
], 10, Ha));
|
|
309
309
|
}
|
|
310
|
-
}),
|
|
310
|
+
}), Xa = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "form", "value", "aria-describedby", "aria-expanded", "aria-pressed"], Be = /* @__PURE__ */ V({
|
|
311
311
|
__name: "button",
|
|
312
312
|
props: {
|
|
313
313
|
ariaexpanded: { type: Boolean, default: void 0 },
|
|
@@ -335,7 +335,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
335
335
|
text: { default: void 0 }
|
|
336
336
|
},
|
|
337
337
|
setup(i) {
|
|
338
|
-
const a = i, l =
|
|
338
|
+
const a = i, l = s(null);
|
|
339
339
|
function e(t) {
|
|
340
340
|
a.onClick && a.onClick(t);
|
|
341
341
|
}
|
|
@@ -363,11 +363,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
363
363
|
onClick: p[0] || (p[0] = async (u) => e(u))
|
|
364
364
|
}, [
|
|
365
365
|
t.text ? (m(), B(P, { key: 0 }, [
|
|
366
|
-
|
|
367
|
-
], 64)) :
|
|
368
|
-
], 10,
|
|
366
|
+
N(L(t.text), 1)
|
|
367
|
+
], 64)) : E(t.$slots, "default", { key: 1 })
|
|
368
|
+
], 10, Xa));
|
|
369
369
|
}
|
|
370
|
-
}),
|
|
370
|
+
}), ja = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], dl = /* @__PURE__ */ V({
|
|
371
371
|
__name: "card",
|
|
372
372
|
props: {
|
|
373
373
|
behavior: { default: void 0 },
|
|
@@ -382,7 +382,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
382
382
|
spacing: { default: void 0 }
|
|
383
383
|
},
|
|
384
384
|
setup(i) {
|
|
385
|
-
const a = i, l =
|
|
385
|
+
const a = i, l = s(null);
|
|
386
386
|
function e(t) {
|
|
387
387
|
a.onClick && a.onClick(t);
|
|
388
388
|
}
|
|
@@ -398,12 +398,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
398
398
|
tabIndex: t.behavior === "interactive" ? 0 : void 0,
|
|
399
399
|
onClick: p[0] || (p[0] = async (u) => e(u))
|
|
400
400
|
}, [
|
|
401
|
-
|
|
402
|
-
], 10,
|
|
401
|
+
E(t.$slots, "default")
|
|
402
|
+
], 10, ja));
|
|
403
403
|
}
|
|
404
404
|
}), se = (i, a, l = "value") => {
|
|
405
405
|
i(`update:${l}`, a.target[l]);
|
|
406
|
-
},
|
|
406
|
+
}, Ya = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], te = /* @__PURE__ */ V({
|
|
407
407
|
__name: "infotext",
|
|
408
408
|
props: {
|
|
409
409
|
children: { default: void 0 },
|
|
@@ -419,7 +419,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
419
419
|
text: { default: void 0 }
|
|
420
420
|
},
|
|
421
421
|
setup(i) {
|
|
422
|
-
const a = i, l =
|
|
422
|
+
const a = i, l = s(null);
|
|
423
423
|
return (e, t) => (m(), B("span", {
|
|
424
424
|
ref_key: "_ref",
|
|
425
425
|
ref: l,
|
|
@@ -431,11 +431,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
431
431
|
"data-hide-icon-before": d(X)(e.showIcon ?? !0)
|
|
432
432
|
}, [
|
|
433
433
|
e.text ? (m(), B(P, { key: 0 }, [
|
|
434
|
-
|
|
435
|
-
], 64)) :
|
|
436
|
-
], 10,
|
|
434
|
+
N(L(e.text), 1)
|
|
435
|
+
], 64)) : E(e.$slots, "default", { key: 1 })
|
|
436
|
+
], 10, Ya));
|
|
437
437
|
}
|
|
438
|
-
}),
|
|
438
|
+
}), Ka = ["data-size", "data-hide-asterisk", "data-hide-label"], Ja = ["for"], Qa = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Za = {
|
|
439
439
|
"data-visually-hidden": "true",
|
|
440
440
|
role: "status"
|
|
441
441
|
}, nl = /* @__PURE__ */ V({
|
|
@@ -477,46 +477,46 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
477
477
|
},
|
|
478
478
|
emits: ["update:checked"],
|
|
479
479
|
setup(i, { emit: a }) {
|
|
480
|
-
const l = a, e = i, t =
|
|
480
|
+
const l = a, e = i, t = s(!1), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(void 0), f = s(""), _ = s(""), S = s(null);
|
|
481
481
|
K(() => {
|
|
482
482
|
t.value = !0;
|
|
483
483
|
const b = e.id ?? `checkbox-${Q()}`;
|
|
484
|
-
p.value = b, u.value = b + ve, g.value = b + fe, r.value = b + pe,
|
|
485
|
-
}),
|
|
486
|
-
() => [
|
|
484
|
+
p.value = b, u.value = b + ve, g.value = b + fe, r.value = b + pe, n.value = e.invalidMessage || ie;
|
|
485
|
+
}), D(
|
|
486
|
+
() => [S.value, e.invalidMessage],
|
|
487
487
|
() => {
|
|
488
488
|
var b;
|
|
489
|
-
|
|
489
|
+
n.value = e.invalidMessage || ((b = S.value) == null ? void 0 : b.validationMessage) || ie;
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
immediate: !0,
|
|
493
493
|
flush: "post"
|
|
494
494
|
}
|
|
495
|
-
),
|
|
495
|
+
), D(
|
|
496
496
|
() => [p.value],
|
|
497
497
|
() => {
|
|
498
498
|
if (p.value) {
|
|
499
499
|
const b = p.value + ve;
|
|
500
|
-
u.value = b, g.value = p.value + fe, r.value = p.value + pe, ee(e.message, e.showMessage) && (
|
|
500
|
+
u.value = b, g.value = p.value + fe, r.value = p.value + pe, ee(e.message, e.showMessage) && (f.value = b);
|
|
501
501
|
}
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
504
|
immediate: !0,
|
|
505
505
|
flush: "post"
|
|
506
506
|
}
|
|
507
|
-
),
|
|
508
|
-
() => [t.value,
|
|
507
|
+
), D(
|
|
508
|
+
() => [t.value, S.value, e.indeterminate],
|
|
509
509
|
() => {
|
|
510
|
-
|
|
510
|
+
S.value && e.indeterminate !== void 0 && (S.value.indeterminate = !!M(e.indeterminate));
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
513
|
immediate: !0,
|
|
514
514
|
flush: "post"
|
|
515
515
|
}
|
|
516
|
-
),
|
|
517
|
-
() => [t.value,
|
|
516
|
+
), D(
|
|
517
|
+
() => [t.value, S.value, e.checked],
|
|
518
518
|
() => {
|
|
519
|
-
t.value &&
|
|
519
|
+
t.value && S.value && (e.checked != null && (S.value.checked = !!M(e.checked)), t.value = !1);
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
522
|
immediate: !0,
|
|
@@ -526,12 +526,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
526
526
|
function h() {
|
|
527
527
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
528
528
|
}
|
|
529
|
-
function
|
|
530
|
-
var b,
|
|
531
|
-
!((b =
|
|
529
|
+
function v() {
|
|
530
|
+
var b, k, W;
|
|
531
|
+
!((b = S.value) != null && b.validity.valid) || e.validation === "invalid" ? (f.value = r.value, n.value = e.invalidMessage || ((k = S.value) == null ? void 0 : k.validationMessage) || ie, me() && (_.value = n.value, x(() => _.value = "", 1e3))) : h() && ((W = S.value) != null && W.validity.valid) && e.required ? (f.value = g.value, me() && (_.value = e.validMessage ?? he, x(() => _.value = "", 1e3))) : ee(e.message, e.showMessage) ? f.value = u.value : f.value = "";
|
|
532
532
|
}
|
|
533
|
-
function
|
|
534
|
-
e.onChange && e.onChange(b), se(l, b, "checked"),
|
|
533
|
+
function c(b) {
|
|
534
|
+
e.onChange && e.onChange(b), se(l, b, "checked"), v();
|
|
535
535
|
}
|
|
536
536
|
function I(b) {
|
|
537
537
|
e.onBlur && e.onBlur(b);
|
|
@@ -539,9 +539,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
539
539
|
function A(b) {
|
|
540
540
|
e.onFocus && e.onFocus(b);
|
|
541
541
|
}
|
|
542
|
-
return (b,
|
|
542
|
+
return (b, k) => (m(), B("div", {
|
|
543
543
|
class: R(d(z)("db-checkbox", e.class)),
|
|
544
544
|
"data-size": b.size,
|
|
545
|
+
"data-hide-asterisk": d(X)(b.showRequiredAsterisk),
|
|
545
546
|
"data-hide-label": d(X)(b.showLabel)
|
|
546
547
|
}, [
|
|
547
548
|
T("label", { for: p.value }, [
|
|
@@ -550,23 +551,22 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
550
551
|
"aria-invalid": b.validation === "invalid",
|
|
551
552
|
"data-custom-validity": b.validation,
|
|
552
553
|
ref_key: "_ref",
|
|
553
|
-
ref:
|
|
554
|
+
ref: S,
|
|
554
555
|
id: p.value,
|
|
555
556
|
name: b.name,
|
|
556
557
|
checked: d(M)(b.checked, "checked"),
|
|
557
558
|
disabled: d(M)(b.disabled, "disabled"),
|
|
558
559
|
value: b.value,
|
|
559
560
|
required: d(M)(b.required, "required"),
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
}, null, 40, Za),
|
|
561
|
+
onChange: k[0] || (k[0] = async (W) => c(W)),
|
|
562
|
+
onBlur: k[1] || (k[1] = async (W) => I(W)),
|
|
563
|
+
onFocus: k[2] || (k[2] = async (W) => A(W)),
|
|
564
|
+
"aria-describedby": b.ariaDescribedBy ?? f.value
|
|
565
|
+
}, null, 40, Qa),
|
|
566
566
|
b.label ? (m(), B(P, { key: 0 }, [
|
|
567
|
-
|
|
568
|
-
], 64)) :
|
|
569
|
-
], 8,
|
|
567
|
+
N(L(b.label), 1)
|
|
568
|
+
], 64)) : E(b.$slots, "default", { key: 1 })
|
|
569
|
+
], 8, Ja),
|
|
570
570
|
d(ee)(b.message, b.showMessage) ? (m(), Z(te, {
|
|
571
571
|
key: 0,
|
|
572
572
|
size: "small",
|
|
@@ -574,7 +574,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
574
574
|
id: u.value
|
|
575
575
|
}, {
|
|
576
576
|
default: G(() => [
|
|
577
|
-
|
|
577
|
+
N(L(b.message), 1)
|
|
578
578
|
]),
|
|
579
579
|
_: 1
|
|
580
580
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
@@ -585,7 +585,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
585
585
|
id: g.value
|
|
586
586
|
}, {
|
|
587
587
|
default: G(() => [
|
|
588
|
-
|
|
588
|
+
N(L(b.validMessage || d(he)), 1)
|
|
589
589
|
]),
|
|
590
590
|
_: 1
|
|
591
591
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -595,12 +595,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
595
595
|
id: r.value
|
|
596
596
|
}, {
|
|
597
597
|
default: G(() => [
|
|
598
|
-
|
|
598
|
+
N(L(n.value), 1)
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
}, 8, ["id"]),
|
|
602
|
-
T("span",
|
|
603
|
-
], 10,
|
|
602
|
+
T("span", Za, L(_.value), 1)
|
|
603
|
+
], 10, Ka));
|
|
604
604
|
}
|
|
605
605
|
}), re = class re {
|
|
606
606
|
static runCallbacks(a) {
|
|
@@ -647,8 +647,8 @@ const ce = class ce {
|
|
|
647
647
|
};
|
|
648
648
|
de(ce, "callbacks", {}), de(ce, "_instance", null);
|
|
649
649
|
let Ie = ce;
|
|
650
|
-
const
|
|
651
|
-
var
|
|
650
|
+
const xa = (i) => {
|
|
651
|
+
var v;
|
|
652
652
|
const {
|
|
653
653
|
top: a,
|
|
654
654
|
bottom: l,
|
|
@@ -658,21 +658,21 @@ const et = (i) => {
|
|
|
658
658
|
innerHeight: p,
|
|
659
659
|
innerWidth: u
|
|
660
660
|
} = window;
|
|
661
|
-
let g = a < 0, r = l > p,
|
|
662
|
-
const
|
|
663
|
-
return h && (
|
|
661
|
+
let g = a < 0, r = l > p, n = e < 0, f = t > u;
|
|
662
|
+
const _ = i.dataset.outsideVy, S = i.dataset.outsideVx, h = (v = i == null ? void 0 : i.parentElement) == null ? void 0 : v.getBoundingClientRect();
|
|
663
|
+
return h && (_ && (i.dataset.outsideVy === "top" ? g = h.top - (l - h.bottom) < 0 : r = h.bottom + (h.top - a) > p), S && (i.dataset.outsideVx === "left" ? n = h.left - (t - h.right) < 0 : f = h.right + (h.left - e) > u)), {
|
|
664
664
|
outTop: g,
|
|
665
665
|
outBottom: r,
|
|
666
|
-
outLeft:
|
|
667
|
-
outRight:
|
|
666
|
+
outLeft: n,
|
|
667
|
+
outRight: f
|
|
668
668
|
};
|
|
669
|
-
},
|
|
669
|
+
}, et = (i) => {
|
|
670
670
|
const {
|
|
671
671
|
outTop: a,
|
|
672
672
|
outBottom: l,
|
|
673
673
|
outLeft: e,
|
|
674
674
|
outRight: t
|
|
675
|
-
} =
|
|
675
|
+
} = xa(i);
|
|
676
676
|
let p = {};
|
|
677
677
|
return a || l ? (p = {
|
|
678
678
|
vy: a ? "top" : "bottom"
|
|
@@ -680,7 +680,7 @@ const et = (i) => {
|
|
|
680
680
|
...p,
|
|
681
681
|
vx: t ? "right" : "left"
|
|
682
682
|
}, i.dataset.outsideVx = p.vx) : delete i.dataset.outsideVx, p;
|
|
683
|
-
},
|
|
683
|
+
}, at = (i, a, l) => {
|
|
684
684
|
if (getComputedStyle(i).zIndex === "9999") return;
|
|
685
685
|
const {
|
|
686
686
|
top: e,
|
|
@@ -689,10 +689,10 @@ const et = (i) => {
|
|
|
689
689
|
childWidth: u,
|
|
690
690
|
width: g,
|
|
691
691
|
right: r,
|
|
692
|
-
left:
|
|
693
|
-
correctedPlacement:
|
|
692
|
+
left: n,
|
|
693
|
+
correctedPlacement: f
|
|
694
694
|
} = sa(i, a, l);
|
|
695
|
-
i.dataset.width === "full" && (i.style.inlineSize = `${g}px`),
|
|
695
|
+
i.dataset.width === "full" && (i.style.inlineSize = `${g}px`), f === "top" || f === "bottom" || f === "top-start" || f === "bottom-start" ? i.style.insetInlineStart = `${n}px` : (f === "top-end" || f === "bottom-end") && (i.style.insetInlineStart = `${r - u}px`), f != null && f.startsWith("top") ? i.style.insetBlockStart = `${e - p}px` : f != null && f.startsWith("bottom") && (i.style.insetBlockStart = `${t}px`), i.style.position = "fixed";
|
|
696
696
|
}, sa = (i, a, l) => {
|
|
697
697
|
if (!i || !a)
|
|
698
698
|
return {
|
|
@@ -714,27 +714,27 @@ const et = (i) => {
|
|
|
714
714
|
bottom: u,
|
|
715
715
|
right: g,
|
|
716
716
|
left: r,
|
|
717
|
-
width:
|
|
717
|
+
width: n
|
|
718
718
|
} = a.getBoundingClientRect(), {
|
|
719
|
-
innerHeight:
|
|
720
|
-
innerWidth:
|
|
719
|
+
innerHeight: f,
|
|
720
|
+
innerWidth: _
|
|
721
721
|
} = window;
|
|
722
|
-
let
|
|
723
|
-
(l === "bottom" || l === "top") && (h = h / 2), (l === "left" || l === "right") && (
|
|
724
|
-
const
|
|
722
|
+
let S = e.height, h = e.width;
|
|
723
|
+
(l === "bottom" || l === "top") && (h = h / 2), (l === "left" || l === "right") && (S = S / 2);
|
|
724
|
+
const v = u + S > f, c = t - S < 0, I = r - h < 0, A = g + h > _;
|
|
725
725
|
let b = l;
|
|
726
|
-
return l.startsWith("bottom") ?
|
|
726
|
+
return l.startsWith("bottom") ? v ? (b = l == null ? void 0 : l.replace("bottom", "top"), I && A ? b = "top" : I ? b = "top-start" : A && (b = "top-end")) : I && A ? b = "bottom" : I ? b = "bottom-start" : A && (b = "bottom-end") : l.startsWith("top") ? c ? (b = l == null ? void 0 : l.replace("top", "bottom"), I && A ? b = "bottom" : I ? b = "bottom-start" : A && (b = "bottom-end")) : I && A ? b = "top" : I ? b = "top-start" : A && (b = "top-end") : l.startsWith("left") ? I ? (b = l == null ? void 0 : l.replace("left", "right"), v && c ? b = "right" : v ? b = "right-end" : c && (b = "right-start")) : v && c ? b = "left" : v ? b = "left-end" : c && (b = "left-start") : b.startsWith("right") && (A ? (b = l == null ? void 0 : l.replace("right", "left"), v && c ? b = "left" : v ? b = "left-end" : c && (b = "left-start")) : v && c ? b = "right" : v ? b = "right-end" : c && (b = "right-start")), {
|
|
727
727
|
top: t,
|
|
728
728
|
bottom: u,
|
|
729
729
|
right: g,
|
|
730
730
|
height: p,
|
|
731
|
-
width:
|
|
731
|
+
width: n,
|
|
732
732
|
left: r,
|
|
733
733
|
childHeight: e.height,
|
|
734
734
|
childWidth: e.width,
|
|
735
735
|
correctedPlacement: b,
|
|
736
|
-
innerWidth:
|
|
737
|
-
innerHeight:
|
|
736
|
+
innerWidth: _,
|
|
737
|
+
innerHeight: f
|
|
738
738
|
};
|
|
739
739
|
}, ua = (i, a, l) => {
|
|
740
740
|
const e = getComputedStyle(i).getPropertyValue("--db-popover-distance") ?? "0px", {
|
|
@@ -743,53 +743,53 @@ const et = (i) => {
|
|
|
743
743
|
width: u,
|
|
744
744
|
childHeight: g,
|
|
745
745
|
childWidth: r,
|
|
746
|
-
right:
|
|
747
|
-
left:
|
|
748
|
-
bottom:
|
|
749
|
-
correctedPlacement:
|
|
746
|
+
right: n,
|
|
747
|
+
left: f,
|
|
748
|
+
bottom: _,
|
|
749
|
+
correctedPlacement: S,
|
|
750
750
|
innerWidth: h,
|
|
751
|
-
innerHeight:
|
|
751
|
+
innerHeight: v
|
|
752
752
|
} = sa(i, a, l);
|
|
753
|
-
if (r > u && (
|
|
754
|
-
const
|
|
755
|
-
|
|
753
|
+
if (r > u && (S.startsWith("bottom") || S.startsWith("top"))) {
|
|
754
|
+
const c = u / 2 / r * 100;
|
|
755
|
+
S.endsWith("start") ? i.style.setProperty("--db-tooltip-arrow-inline-start", `${c}%`) : S.endsWith("end") && i.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - c}%`);
|
|
756
756
|
}
|
|
757
|
-
if (g > p && (
|
|
758
|
-
const
|
|
759
|
-
|
|
757
|
+
if (g > p && (S.startsWith("left") || S.startsWith("bottom"))) {
|
|
758
|
+
const c = p / 2 / g * 100;
|
|
759
|
+
S.endsWith("start") ? i.style.setProperty("--db-tooltip-arrow-block-start", `${c}%`) : S.endsWith("end") && i.style.setProperty("--db-tooltip-arrow-block-start", `${100 - c}%`);
|
|
760
760
|
}
|
|
761
|
-
if (
|
|
761
|
+
if (S === "right" || S === "left")
|
|
762
762
|
i.style.insetBlockStart = `${t + p / 2}px`;
|
|
763
|
-
else if (
|
|
764
|
-
const
|
|
765
|
-
i.style.insetBlockStart = `${t}px`, i.style.insetBlockEnd = `${
|
|
766
|
-
} else if (
|
|
767
|
-
const
|
|
768
|
-
i.style.insetBlockStart = `${
|
|
769
|
-
} else if (
|
|
770
|
-
i.style.insetInlineStart = `${
|
|
771
|
-
else if (
|
|
772
|
-
const
|
|
773
|
-
i.style.insetInlineStart = `${
|
|
774
|
-
} else if (
|
|
775
|
-
const
|
|
776
|
-
i.style.insetInlineStart = `${
|
|
763
|
+
else if (S === "right-start" || S === "left-start") {
|
|
764
|
+
const c = t + g;
|
|
765
|
+
i.style.insetBlockStart = `${t}px`, i.style.insetBlockEnd = `${c > v ? v : c}px`;
|
|
766
|
+
} else if (S === "right-end" || S === "left-end") {
|
|
767
|
+
const c = _ - g;
|
|
768
|
+
i.style.insetBlockStart = `${c < 0 ? 0 : c}px`, i.style.insetBlockEnd = `${_}px`;
|
|
769
|
+
} else if (S === "top" || S === "bottom")
|
|
770
|
+
i.style.insetInlineStart = `${f + u / 2}px`;
|
|
771
|
+
else if (S === "top-start" || S === "bottom-start") {
|
|
772
|
+
const c = f + r;
|
|
773
|
+
i.style.insetInlineStart = `${f}px`, i.style.insetInlineEnd = `${c > h ? h : c}px`;
|
|
774
|
+
} else if (S === "top-end" || S === "bottom-end") {
|
|
775
|
+
const c = f - r;
|
|
776
|
+
i.style.insetInlineStart = `${n - r}px`, i.style.insetInlineEnd = `${c < 0 ? 0 : c}px`;
|
|
777
777
|
}
|
|
778
|
-
if (
|
|
779
|
-
const
|
|
780
|
-
i.style.insetInlineStart = `calc(${
|
|
781
|
-
} else if (
|
|
782
|
-
const
|
|
783
|
-
i.style.insetInlineStart = `calc(${
|
|
784
|
-
} else if (
|
|
785
|
-
const
|
|
786
|
-
i.style.insetBlockStart = `calc(${
|
|
787
|
-
} else if (
|
|
788
|
-
const
|
|
789
|
-
i.style.insetBlockStart = `calc(${
|
|
778
|
+
if (S != null && S.startsWith("right")) {
|
|
779
|
+
const c = n + r;
|
|
780
|
+
i.style.insetInlineStart = `calc(${n}px + ${e})`, i.style.insetInlineEnd = `calc(${c > h ? h : c}px + ${e})`;
|
|
781
|
+
} else if (S != null && S.startsWith("left")) {
|
|
782
|
+
const c = f - r;
|
|
783
|
+
i.style.insetInlineStart = `calc(${c < 0 ? 0 : c}px - ${e})`, i.style.insetInlineEnd = `calc(${n}px - ${e})`;
|
|
784
|
+
} else if (S != null && S.startsWith("top")) {
|
|
785
|
+
const c = t - g;
|
|
786
|
+
i.style.insetBlockStart = `calc(${c < 0 ? 0 : c}px - ${e})`, i.style.insetBlockEnd = `calc(${_}px - ${e})`;
|
|
787
|
+
} else if (S != null && S.startsWith("bottom")) {
|
|
788
|
+
const c = _ + g;
|
|
789
|
+
i.style.insetBlockStart = `calc(${_}px + ${e})`, i.style.insetBlockEnd = `calc(${c > v ? v : c}px + ${e})`;
|
|
790
790
|
}
|
|
791
|
-
i.style.position = "fixed", i.dataset.correctedPlacement =
|
|
792
|
-
},
|
|
791
|
+
i.style.position = "fixed", i.dataset.correctedPlacement = S;
|
|
792
|
+
}, tt = ["id", "data-width"], it = /* @__PURE__ */ V({
|
|
793
793
|
__name: "custom-select-dropdown",
|
|
794
794
|
props: {
|
|
795
795
|
width: { default: "fixed" },
|
|
@@ -801,7 +801,7 @@ const et = (i) => {
|
|
|
801
801
|
autofocus: { type: [Boolean, String] }
|
|
802
802
|
},
|
|
803
803
|
setup(i) {
|
|
804
|
-
const a = i, l =
|
|
804
|
+
const a = i, l = s(null);
|
|
805
805
|
return (e, t) => (m(), B("article", {
|
|
806
806
|
"data-spacing": "none",
|
|
807
807
|
ref_key: "_ref",
|
|
@@ -810,10 +810,10 @@ const et = (i) => {
|
|
|
810
810
|
class: R(d(z)("db-custom-select-dropdown db-card", a.class)),
|
|
811
811
|
"data-width": e.width
|
|
812
812
|
}, [
|
|
813
|
-
|
|
814
|
-
], 10,
|
|
813
|
+
E(e.$slots, "default")
|
|
814
|
+
], 10, tt));
|
|
815
815
|
}
|
|
816
|
-
}),
|
|
816
|
+
}), lt = ["id", "data-divider"], ot = ["data-icon", "data-hide-icon", "data-icon-after"], dt = ["type", "name", "form", "checked", "disabled", "value"], nt = { key: 1 }, st = /* @__PURE__ */ V({
|
|
817
817
|
__name: "custom-select-list-item",
|
|
818
818
|
props: {
|
|
819
819
|
groupTitle: { default: void 0 },
|
|
@@ -838,10 +838,10 @@ const et = (i) => {
|
|
|
838
838
|
},
|
|
839
839
|
emits: ["update:checked"],
|
|
840
840
|
setup(i, { emit: a }) {
|
|
841
|
-
const l = a, e = i, t =
|
|
841
|
+
const l = a, e = i, t = s(void 0), p = s(!1), u = s(null);
|
|
842
842
|
K(() => {
|
|
843
843
|
t.value = e.id ?? `custom-select-list-item-${Q()}`;
|
|
844
|
-
}),
|
|
844
|
+
}), D(
|
|
845
845
|
() => [e.isGroupTitle, e.showDivider],
|
|
846
846
|
() => {
|
|
847
847
|
p.value = !!(e.isGroupTitle || e.showDivider);
|
|
@@ -851,49 +851,49 @@ const et = (i) => {
|
|
|
851
851
|
flush: "post"
|
|
852
852
|
}
|
|
853
853
|
);
|
|
854
|
-
function g(
|
|
855
|
-
|
|
854
|
+
function g(n) {
|
|
855
|
+
n.stopPropagation(), e.onChange && e.onChange(n), se(l, n, "checked");
|
|
856
856
|
}
|
|
857
857
|
function r() {
|
|
858
858
|
if (!(e.isGroupTitle || e.type === "checkbox"))
|
|
859
859
|
return M(e.checked, "checked") ? "check" : "x_placeholder";
|
|
860
860
|
}
|
|
861
|
-
return (
|
|
861
|
+
return (n, f) => (m(), B("li", {
|
|
862
862
|
ref_key: "_ref",
|
|
863
863
|
ref: u,
|
|
864
864
|
id: t.value,
|
|
865
865
|
class: R(
|
|
866
866
|
d(z)("db-custom-select-list-item", e.class, {
|
|
867
|
-
"db-checkbox":
|
|
868
|
-
"db-radio":
|
|
867
|
+
"db-checkbox": n.type === "checkbox" && !n.isGroupTitle,
|
|
868
|
+
"db-radio": n.type !== "checkbox" && !n.isGroupTitle
|
|
869
869
|
})
|
|
870
870
|
),
|
|
871
871
|
"data-divider": d(j)(p.value)
|
|
872
872
|
}, [
|
|
873
|
-
|
|
873
|
+
n.isGroupTitle ? (m(), B("span", nt, L(n.groupTitle), 1)) : (m(), B("label", {
|
|
874
874
|
key: 0,
|
|
875
|
-
"data-icon":
|
|
876
|
-
"data-hide-icon": d(X)(
|
|
875
|
+
"data-icon": n.type !== "checkbox" && n.icon ? n.icon : void 0,
|
|
876
|
+
"data-hide-icon": d(X)(n.showIcon),
|
|
877
877
|
"data-icon-after": r()
|
|
878
878
|
}, [
|
|
879
879
|
T("input", {
|
|
880
880
|
class: "db-custom-select-list-item-checkbox",
|
|
881
881
|
"data-disable-focus": "true",
|
|
882
|
-
type:
|
|
883
|
-
name:
|
|
884
|
-
form:
|
|
885
|
-
checked: d(M)(
|
|
886
|
-
disabled: d(M)(
|
|
887
|
-
value:
|
|
888
|
-
onChange:
|
|
889
|
-
}, null, 40,
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
], 64)) :
|
|
893
|
-
], 8,
|
|
894
|
-
], 10,
|
|
882
|
+
type: n.type,
|
|
883
|
+
name: n.name,
|
|
884
|
+
form: n.name,
|
|
885
|
+
checked: d(M)(n.checked, "checked"),
|
|
886
|
+
disabled: d(M)(n.disabled, "disabled"),
|
|
887
|
+
value: n.value,
|
|
888
|
+
onChange: f[0] || (f[0] = async (_) => g(_))
|
|
889
|
+
}, null, 40, dt),
|
|
890
|
+
n.label ? (m(), B(P, { key: 0 }, [
|
|
891
|
+
N(L(n.label), 1)
|
|
892
|
+
], 64)) : E(n.$slots, "default", { key: 1 })
|
|
893
|
+
], 8, ot))
|
|
894
|
+
], 10, lt));
|
|
895
895
|
}
|
|
896
|
-
}),
|
|
896
|
+
}), ut = ["role", "aria-label", "id"], rt = /* @__PURE__ */ V({
|
|
897
897
|
__name: "custom-select-list",
|
|
898
898
|
props: {
|
|
899
899
|
label: { default: void 0 },
|
|
@@ -906,7 +906,7 @@ const et = (i) => {
|
|
|
906
906
|
autofocus: { type: [Boolean, String] }
|
|
907
907
|
},
|
|
908
908
|
setup(i) {
|
|
909
|
-
const a = i, l =
|
|
909
|
+
const a = i, l = s(null);
|
|
910
910
|
return (e, t) => (m(), B("div", {
|
|
911
911
|
role: e.multiple ? "group" : "radiogroup",
|
|
912
912
|
"aria-label": e.label,
|
|
@@ -916,14 +916,14 @@ const et = (i) => {
|
|
|
916
916
|
class: R(d(z)("db-custom-select-list", a.class))
|
|
917
917
|
}, [
|
|
918
918
|
T("ul", null, [
|
|
919
|
-
|
|
919
|
+
E(e.$slots, "default")
|
|
920
920
|
])
|
|
921
|
-
], 10,
|
|
921
|
+
], 10, ut));
|
|
922
922
|
}
|
|
923
|
-
}),
|
|
923
|
+
}), ct = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-asterisk", "data-hide-icon-after"], vt = ["for"], ft = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "name", "type", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "list", "aria-describedby"], pt = ["id"], ht = ["value"], mt = {
|
|
924
924
|
"data-visually-hidden": "true",
|
|
925
925
|
role: "status"
|
|
926
|
-
},
|
|
926
|
+
}, gt = /* @__PURE__ */ V({
|
|
927
927
|
__name: "input",
|
|
928
928
|
props: {
|
|
929
929
|
dataList: { default: void 0 },
|
|
@@ -979,141 +979,141 @@ const et = (i) => {
|
|
|
979
979
|
},
|
|
980
980
|
emits: ["update:value"],
|
|
981
981
|
setup(i, { emit: a }) {
|
|
982
|
-
const l = a, e = i, t =
|
|
982
|
+
const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(void 0), f = s(""), _ = s(""), S = s(""), h = s(null);
|
|
983
983
|
K(() => {
|
|
984
|
-
const
|
|
985
|
-
t.value =
|
|
986
|
-
}),
|
|
984
|
+
const y = e.id ?? `input-${Q()}`;
|
|
985
|
+
t.value = y, p.value = y + ve, u.value = y + fe, g.value = y + pe, n.value = y + Ze, r.value = e.invalidMessage || ie;
|
|
986
|
+
}), D(
|
|
987
987
|
() => [h.value, e.invalidMessage],
|
|
988
988
|
() => {
|
|
989
|
-
var
|
|
990
|
-
r.value = e.invalidMessage || ((
|
|
989
|
+
var y;
|
|
990
|
+
r.value = e.invalidMessage || ((y = h.value) == null ? void 0 : y.validationMessage) || ie;
|
|
991
991
|
},
|
|
992
992
|
{
|
|
993
993
|
immediate: !0,
|
|
994
994
|
flush: "post"
|
|
995
995
|
}
|
|
996
|
-
),
|
|
996
|
+
), D(
|
|
997
997
|
() => [t.value],
|
|
998
998
|
() => {
|
|
999
999
|
if (t.value) {
|
|
1000
|
-
const
|
|
1001
|
-
p.value =
|
|
1000
|
+
const y = t.value + ve;
|
|
1001
|
+
p.value = y, u.value = t.value + fe, g.value = t.value + pe, n.value = e.dataListId ?? t.value + Ze, ee(e.message, e.showMessage) && (f.value = y);
|
|
1002
1002
|
}
|
|
1003
1003
|
},
|
|
1004
1004
|
{
|
|
1005
1005
|
immediate: !0,
|
|
1006
1006
|
flush: "post"
|
|
1007
1007
|
}
|
|
1008
|
-
),
|
|
1008
|
+
), D(
|
|
1009
1009
|
() => [e.value],
|
|
1010
1010
|
() => {
|
|
1011
|
-
|
|
1011
|
+
_.value = e.value;
|
|
1012
1012
|
},
|
|
1013
1013
|
{
|
|
1014
1014
|
immediate: !0,
|
|
1015
1015
|
flush: "post"
|
|
1016
1016
|
}
|
|
1017
1017
|
);
|
|
1018
|
-
function
|
|
1018
|
+
function v() {
|
|
1019
1019
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1022
|
-
var
|
|
1023
|
-
!((
|
|
1021
|
+
function c() {
|
|
1022
|
+
var y, O, w;
|
|
1023
|
+
!((y = h.value) != null && y.validity.valid) || e.validation === "invalid" ? (f.value = g.value, r.value = e.invalidMessage || ((O = h.value) == null ? void 0 : O.validationMessage) || ie, me() && (S.value = r.value, x(() => S.value = "", 1e3))) : v() && ((w = h.value) != null && w.validity.valid) && (e.required || e.minLength || e.maxLength || e.pattern) ? (f.value = u.value, me() && (S.value = e.validMessage ?? he, x(() => S.value = "", 1e3))) : ee(e.message, e.showMessage) ? f.value = p.value : f.value = "";
|
|
1024
1024
|
}
|
|
1025
|
-
function I(
|
|
1026
|
-
e.input && e.input(
|
|
1025
|
+
function I(y) {
|
|
1026
|
+
e.input && e.input(y), _.value = y.target.value, e.onInput && e.onInput(y), se(l, y), c();
|
|
1027
1027
|
}
|
|
1028
|
-
function A(
|
|
1029
|
-
e.onChange && e.onChange(
|
|
1028
|
+
function A(y) {
|
|
1029
|
+
e.onChange && e.onChange(y), se(l, y), c();
|
|
1030
1030
|
}
|
|
1031
|
-
function b(
|
|
1032
|
-
e.onBlur && e.onBlur(
|
|
1031
|
+
function b(y) {
|
|
1032
|
+
e.onBlur && e.onBlur(y);
|
|
1033
1033
|
}
|
|
1034
|
-
function
|
|
1035
|
-
e.onFocus && e.onFocus(
|
|
1034
|
+
function k(y) {
|
|
1035
|
+
e.onFocus && e.onFocus(y);
|
|
1036
1036
|
}
|
|
1037
1037
|
function W() {
|
|
1038
|
-
const
|
|
1038
|
+
const y = e.dataList;
|
|
1039
1039
|
return Array.from(
|
|
1040
|
-
(
|
|
1040
|
+
(za(y) ? y == null ? void 0 : y.map((O) => ({
|
|
1041
1041
|
value: O,
|
|
1042
1042
|
label: void 0
|
|
1043
|
-
})) :
|
|
1043
|
+
})) : y) || []
|
|
1044
1044
|
);
|
|
1045
1045
|
}
|
|
1046
|
-
return (
|
|
1046
|
+
return (y, O) => (m(), B("div", {
|
|
1047
1047
|
class: R(d(z)("db-input", e.class)),
|
|
1048
|
-
"data-variant":
|
|
1049
|
-
"data-hide-label": d(X)(
|
|
1050
|
-
"data-hide-icon": d(X)(
|
|
1051
|
-
"data-icon":
|
|
1052
|
-
"data-icon-after":
|
|
1053
|
-
"data-hide-
|
|
1048
|
+
"data-variant": y.variant,
|
|
1049
|
+
"data-hide-label": d(X)(y.showLabel),
|
|
1050
|
+
"data-hide-icon": d(X)(y.showIcon),
|
|
1051
|
+
"data-icon": y.icon,
|
|
1052
|
+
"data-icon-after": y.iconAfter,
|
|
1053
|
+
"data-hide-asterisk": d(X)(y.showRequiredAsterisk),
|
|
1054
|
+
"data-hide-icon-after": d(X)(y.showIcon)
|
|
1054
1055
|
}, [
|
|
1055
|
-
T("label", { for: t.value },
|
|
1056
|
+
T("label", { for: t.value }, L(y.label ?? d(we)), 9, vt),
|
|
1056
1057
|
T("input", {
|
|
1057
|
-
"aria-invalid":
|
|
1058
|
-
"data-custom-validity":
|
|
1059
|
-
"data-field-sizing":
|
|
1058
|
+
"aria-invalid": y.validation === "invalid",
|
|
1059
|
+
"data-custom-validity": y.validation,
|
|
1060
|
+
"data-field-sizing": y.fieldSizing,
|
|
1060
1061
|
ref_key: "_ref",
|
|
1061
1062
|
ref: h,
|
|
1062
1063
|
id: t.value,
|
|
1063
|
-
name:
|
|
1064
|
-
type:
|
|
1065
|
-
placeholder:
|
|
1066
|
-
disabled: d(M)(
|
|
1067
|
-
required: d(M)(
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
k.dataList ? (m(), B("datalist", {
|
|
1064
|
+
name: y.name,
|
|
1065
|
+
type: y.type || "text",
|
|
1066
|
+
placeholder: y.placeholder ?? d(aa),
|
|
1067
|
+
disabled: d(M)(y.disabled, "disabled"),
|
|
1068
|
+
required: d(M)(y.required, "required"),
|
|
1069
|
+
step: d(Se)(y.step),
|
|
1070
|
+
value: y.value ?? _.value,
|
|
1071
|
+
maxLength: d(Se)(y.maxLength, y.maxlength),
|
|
1072
|
+
minLength: d(Se)(y.minLength, y.minlength),
|
|
1073
|
+
max: d(xe)(y.max, y.type),
|
|
1074
|
+
min: d(xe)(y.min, y.type),
|
|
1075
|
+
readOnly: d(M)(y.readOnly, "readOnly") || d(M)(y.readonly, "readonly"),
|
|
1076
|
+
form: y.form,
|
|
1077
|
+
pattern: y.pattern,
|
|
1078
|
+
size: y.size,
|
|
1079
|
+
autoComplete: y.autocomplete,
|
|
1080
|
+
autoFocus: d(M)(y.autofocus, "autofocus"),
|
|
1081
|
+
onInput: O[0] || (O[0] = async (w) => I(w)),
|
|
1082
|
+
onChange: O[1] || (O[1] = async (w) => A(w)),
|
|
1083
|
+
onBlur: O[2] || (O[2] = async (w) => b(w)),
|
|
1084
|
+
onFocus: O[3] || (O[3] = async (w) => k(w)),
|
|
1085
|
+
list: y.dataList && n.value,
|
|
1086
|
+
"aria-describedby": y.ariaDescribedBy ?? f.value
|
|
1087
|
+
}, null, 40, ft),
|
|
1088
|
+
y.dataList ? (m(), B("datalist", {
|
|
1089
1089
|
key: 0,
|
|
1090
|
-
id:
|
|
1090
|
+
id: n.value
|
|
1091
1091
|
}, [
|
|
1092
|
-
(m(!0), B(P, null, be(W(), (
|
|
1093
|
-
key:
|
|
1094
|
-
value:
|
|
1095
|
-
},
|
|
1096
|
-
], 8,
|
|
1097
|
-
|
|
1098
|
-
d(ee)(
|
|
1092
|
+
(m(!0), B(P, null, be(W(), (w) => (m(), B("option", {
|
|
1093
|
+
key: n.value + "-option-" + w.value,
|
|
1094
|
+
value: w.value
|
|
1095
|
+
}, L(w.label), 9, ht))), 128))
|
|
1096
|
+
], 8, pt)) : q("", !0),
|
|
1097
|
+
E(y.$slots, "default"),
|
|
1098
|
+
d(ee)(y.message, y.showMessage) ? (m(), Z(te, {
|
|
1099
1099
|
key: 1,
|
|
1100
1100
|
size: "small",
|
|
1101
|
-
icon:
|
|
1101
|
+
icon: y.messageIcon,
|
|
1102
1102
|
id: p.value
|
|
1103
1103
|
}, {
|
|
1104
1104
|
default: G(() => [
|
|
1105
|
-
|
|
1105
|
+
N(L(y.message), 1)
|
|
1106
1106
|
]),
|
|
1107
1107
|
_: 1
|
|
1108
1108
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
1109
|
-
|
|
1109
|
+
v() ? (m(), Z(te, {
|
|
1110
1110
|
key: 2,
|
|
1111
1111
|
size: "small",
|
|
1112
1112
|
semantic: "successful",
|
|
1113
1113
|
id: u.value
|
|
1114
1114
|
}, {
|
|
1115
1115
|
default: G(() => [
|
|
1116
|
-
|
|
1116
|
+
N(L(y.validMessage || d(he)), 1)
|
|
1117
1117
|
]),
|
|
1118
1118
|
_: 1
|
|
1119
1119
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -1123,14 +1123,14 @@ const et = (i) => {
|
|
|
1123
1123
|
id: g.value
|
|
1124
1124
|
}, {
|
|
1125
1125
|
default: G(() => [
|
|
1126
|
-
|
|
1126
|
+
N(L(r.value), 1)
|
|
1127
1127
|
]),
|
|
1128
1128
|
_: 1
|
|
1129
1129
|
}, 8, ["id"]),
|
|
1130
|
-
T("span",
|
|
1131
|
-
], 10,
|
|
1130
|
+
T("span", mt, L(S.value), 1)
|
|
1131
|
+
], 10, ct));
|
|
1132
1132
|
}
|
|
1133
|
-
}),
|
|
1133
|
+
}), bt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ra = /* @__PURE__ */ V({
|
|
1134
1134
|
__name: "tooltip",
|
|
1135
1135
|
props: {
|
|
1136
1136
|
showArrow: { type: [Boolean, String], default: void 0 },
|
|
@@ -1148,20 +1148,20 @@ const et = (i) => {
|
|
|
1148
1148
|
width: { default: void 0 }
|
|
1149
1149
|
},
|
|
1150
1150
|
setup(i) {
|
|
1151
|
-
const a = i, l =
|
|
1151
|
+
const a = i, l = s(Le), e = s(!1), t = s(void 0), p = s(void 0), u = s(null);
|
|
1152
1152
|
K(() => {
|
|
1153
1153
|
l.value = a.id || "tooltip-" + Q(), e.value = !0;
|
|
1154
|
-
}),
|
|
1154
|
+
}), D(
|
|
1155
1155
|
() => [u.value, e.value],
|
|
1156
1156
|
() => {
|
|
1157
1157
|
if (u.value && e.value && l.value) {
|
|
1158
|
-
const
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
}),
|
|
1162
|
-
|
|
1163
|
-
}),
|
|
1164
|
-
const I =
|
|
1158
|
+
const v = n();
|
|
1159
|
+
v && (["mouseenter", "focusin"].forEach((c) => {
|
|
1160
|
+
v.addEventListener(c, () => h(v));
|
|
1161
|
+
}), v.addEventListener("keydown", (c) => r(c)), ["mouseleave", "focusout"].forEach((c) => {
|
|
1162
|
+
v.addEventListener(c, () => S());
|
|
1163
|
+
}), v.dataset.hasTooltip = "true", a.variant === "label" ? v.setAttribute("aria-labelledby", l.value) : v.setAttribute("aria-describedby", l.value)), typeof window < "u" && "IntersectionObserver" in window && (p.value = new IntersectionObserver((c) => {
|
|
1164
|
+
const I = c.find(({ target: A }) => A === n());
|
|
1165
1165
|
I && !I.isIntersecting && r(!1);
|
|
1166
1166
|
})), e.value = !1;
|
|
1167
1167
|
}
|
|
@@ -1171,42 +1171,42 @@ const et = (i) => {
|
|
|
1171
1171
|
flush: "post"
|
|
1172
1172
|
}
|
|
1173
1173
|
);
|
|
1174
|
-
function g(
|
|
1175
|
-
|
|
1174
|
+
function g(v) {
|
|
1175
|
+
v.stopPropagation();
|
|
1176
1176
|
}
|
|
1177
|
-
function r(
|
|
1178
|
-
(!
|
|
1177
|
+
function r(v) {
|
|
1178
|
+
(!v || v.key === "Escape") && u.value && getComputedStyle(u.value).visibility === "visible" && n().blur();
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1181
|
-
let
|
|
1182
|
-
return
|
|
1180
|
+
function n() {
|
|
1181
|
+
let v = u.value.parentElement;
|
|
1182
|
+
return v && v.localName.includes("tooltip") && (v = v.parentElement), v;
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1185
|
-
|
|
1184
|
+
function f(v) {
|
|
1185
|
+
v && u.value && x(() => {
|
|
1186
1186
|
ua(
|
|
1187
1187
|
u.value,
|
|
1188
|
-
|
|
1188
|
+
v,
|
|
1189
1189
|
a.placement ?? "bottom"
|
|
1190
1190
|
);
|
|
1191
1191
|
}, 1);
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1193
|
+
function _(v, c) {
|
|
1194
1194
|
var I, A;
|
|
1195
|
-
(I =
|
|
1195
|
+
(I = v == null ? void 0 : v.target) != null && I.contains && ((A = v == null ? void 0 : v.target) != null && A.contains(u.value)) && f(c);
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1198
|
-
var
|
|
1197
|
+
function S() {
|
|
1198
|
+
var v;
|
|
1199
1199
|
t.value && new Ie().removeCallback(
|
|
1200
1200
|
t.value
|
|
1201
|
-
), (
|
|
1201
|
+
), (v = p.value) == null || v.unobserve(n());
|
|
1202
1202
|
}
|
|
1203
|
-
function h(
|
|
1204
|
-
var
|
|
1203
|
+
function h(v) {
|
|
1204
|
+
var c;
|
|
1205
1205
|
t.value = new Ie().addCallback(
|
|
1206
|
-
(I) =>
|
|
1207
|
-
),
|
|
1206
|
+
(I) => _(I, v)
|
|
1207
|
+
), f(v), (c = p.value) == null || c.observe(n());
|
|
1208
1208
|
}
|
|
1209
|
-
return (
|
|
1209
|
+
return (v, c) => (m(), B("i", {
|
|
1210
1210
|
role: "tooltip",
|
|
1211
1211
|
"aria-hidden": "true",
|
|
1212
1212
|
"data-gap": "true",
|
|
@@ -1214,18 +1214,18 @@ const et = (i) => {
|
|
|
1214
1214
|
ref: u,
|
|
1215
1215
|
class: R(d(z)("db-tooltip", a.class)),
|
|
1216
1216
|
id: l.value,
|
|
1217
|
-
"data-emphasis":
|
|
1218
|
-
"data-animation": d(j)(
|
|
1219
|
-
"data-delay":
|
|
1220
|
-
"data-width":
|
|
1221
|
-
"data-show-arrow": d(j)(
|
|
1222
|
-
"data-placement":
|
|
1223
|
-
onClick:
|
|
1217
|
+
"data-emphasis": v.emphasis,
|
|
1218
|
+
"data-animation": d(j)(v.animation ?? !0),
|
|
1219
|
+
"data-delay": v.delay,
|
|
1220
|
+
"data-width": v.width,
|
|
1221
|
+
"data-show-arrow": d(j)(v.showArrow ?? !0),
|
|
1222
|
+
"data-placement": v.placement,
|
|
1223
|
+
onClick: c[0] || (c[0] = async (I) => g(I))
|
|
1224
1224
|
}, [
|
|
1225
|
-
|
|
1226
|
-
], 10,
|
|
1225
|
+
E(v.$slots, "default")
|
|
1226
|
+
], 10, bt));
|
|
1227
1227
|
}
|
|
1228
|
-
}),
|
|
1228
|
+
}), yt = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], kt = /* @__PURE__ */ V({
|
|
1229
1229
|
__name: "tag",
|
|
1230
1230
|
props: {
|
|
1231
1231
|
behavior: { default: void 0 },
|
|
@@ -1251,17 +1251,17 @@ const et = (i) => {
|
|
|
1251
1251
|
remove: {}
|
|
1252
1252
|
},
|
|
1253
1253
|
setup(i) {
|
|
1254
|
-
const a = i, l =
|
|
1255
|
-
l.value = !0,
|
|
1254
|
+
const a = i, l = s(!1), e = s(null);
|
|
1255
|
+
l.value = !0, D(
|
|
1256
1256
|
() => [l.value, a.disabled, e.value],
|
|
1257
1257
|
() => {
|
|
1258
1258
|
var u, g;
|
|
1259
1259
|
if (l.value && e.value && a.disabled !== void 0) {
|
|
1260
1260
|
const r = (u = e.value) == null ? void 0 : u.querySelector(
|
|
1261
1261
|
"button:not(.db-tab-remove-button)"
|
|
1262
|
-
),
|
|
1263
|
-
for (const
|
|
1264
|
-
|
|
1262
|
+
), n = (g = e.value) == null ? void 0 : g.querySelector("input");
|
|
1263
|
+
for (const f of [r, n])
|
|
1264
|
+
f && (f.disabled = !!a.disabled);
|
|
1265
1265
|
}
|
|
1266
1266
|
},
|
|
1267
1267
|
{
|
|
@@ -1289,10 +1289,10 @@ const et = (i) => {
|
|
|
1289
1289
|
"data-no-text": d(j)(u.noText),
|
|
1290
1290
|
"data-overflow": d(j)(u.overflow)
|
|
1291
1291
|
}, [
|
|
1292
|
-
|
|
1293
|
-
|
|
1292
|
+
E(u.$slots, "content"),
|
|
1293
|
+
E(u.$slots, "default"),
|
|
1294
1294
|
u.text ? (m(), B(P, { key: 0 }, [
|
|
1295
|
-
|
|
1295
|
+
N(L(u.text), 1)
|
|
1296
1296
|
], 64)) : q("", !0),
|
|
1297
1297
|
u.behavior === "removable" ? (m(), B("button", {
|
|
1298
1298
|
key: 1,
|
|
@@ -1306,14 +1306,14 @@ const et = (i) => {
|
|
|
1306
1306
|
}, [
|
|
1307
1307
|
ae(ra, { variant: "label" }, {
|
|
1308
1308
|
default: G(() => [
|
|
1309
|
-
|
|
1309
|
+
N(L(p()), 1)
|
|
1310
1310
|
]),
|
|
1311
1311
|
_: 1
|
|
1312
1312
|
})
|
|
1313
1313
|
])) : q("", !0)
|
|
1314
|
-
], 10,
|
|
1314
|
+
], 10, yt));
|
|
1315
1315
|
}
|
|
1316
|
-
}),
|
|
1316
|
+
}), wt = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-variant", "data-required", "data-hide-asterisk", "data-placement", "data-selected-type", "data-hide-label", "data-icon", "data-hide-icon"], St = ["id"], Bt = ["id", "form", "name", "multiple", "disabled", "required"], It = ["disabled", "value"], $t = ["open"], Lt = ["id", "aria-disabled", "aria-labelledby"], _t = ["data-visually-hidden", "id"], Tt = { key: 1 }, At = { key: 0 }, Ct = { key: 0 }, Et = { class: "db-checkbox db-custom-select-list-item" }, Dt = ["form", "checked"], Nt = ["aria-hidden", "id"], Ft = {
|
|
1317
1317
|
"data-visually-hidden": "true",
|
|
1318
1318
|
role: "status"
|
|
1319
1319
|
}, sl = /* @__PURE__ */ V({
|
|
@@ -1382,19 +1382,19 @@ const et = (i) => {
|
|
|
1382
1382
|
},
|
|
1383
1383
|
emits: ["update:values"],
|
|
1384
1384
|
setup(i, { emit: a }) {
|
|
1385
|
-
const l = a, e = i, t =
|
|
1385
|
+
const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(void 0), f = s(void 0), _ = s(void 0), S = s(void 0), h = s(void 0), v = s("no-validation"), c = s(""), I = s(""), A = s(void 0), b = s(""), k = s([]), W = s(!1), y = s(!1), O = s(0), w = s([]), H = s([]), le = s(!1), J = s(void 0), Ne = s(0), ye = s(void 0), Te = s(void 0), qe = s(void 0), Ve = s(!1), Ae = s(!1), ca = s(null), F = s(null), ke = s(null), Fe = s(null), Pe = s(null);
|
|
1386
1386
|
K(() => {
|
|
1387
1387
|
const o = e.id ?? `custom-select-${Q()}`;
|
|
1388
|
-
t.value = o, p.value = o + ve, u.value = o + fe, g.value = o + pe,
|
|
1389
|
-
if (
|
|
1390
|
-
const C = $.find(({ target: Y }) => Y ===
|
|
1391
|
-
C && !C.isIntersecting &&
|
|
1388
|
+
t.value = o, p.value = o + ve, u.value = o + fe, g.value = o + pe, n.value = o + Qe, f.value = o + Je, _.value = o + "-summary", S.value = o + Re, A.value = o + "-selected-labels", h.value = o + "-info", r.value = e.invalidMessage || ie, typeof window < "u" && "IntersectionObserver" in window && (Te.value = new IntersectionObserver(($) => {
|
|
1389
|
+
if (F.value) {
|
|
1390
|
+
const C = $.find(({ target: Y }) => Y === F.value);
|
|
1391
|
+
C && !C.isIntersecting && F.value.open && (F.value.open = !1);
|
|
1392
1392
|
}
|
|
1393
1393
|
}));
|
|
1394
|
-
}),
|
|
1395
|
-
() => [
|
|
1394
|
+
}), D(
|
|
1395
|
+
() => [F.value],
|
|
1396
1396
|
() => {
|
|
1397
|
-
|
|
1397
|
+
F.value && F.value.addEventListener(
|
|
1398
1398
|
"focusout",
|
|
1399
1399
|
(o) => Ce(o)
|
|
1400
1400
|
);
|
|
@@ -1403,26 +1403,26 @@ const et = (i) => {
|
|
|
1403
1403
|
immediate: !0,
|
|
1404
1404
|
flush: "post"
|
|
1405
1405
|
}
|
|
1406
|
-
),
|
|
1406
|
+
), D(
|
|
1407
1407
|
() => [t.value],
|
|
1408
1408
|
() => {
|
|
1409
1409
|
if (t.value) {
|
|
1410
1410
|
const o = t.value + ve;
|
|
1411
|
-
|
|
1411
|
+
f.value = t.value + Je, n.value = t.value + Qe, u.value = t.value + fe, g.value = t.value + pe, S.value = t.value + Re, ee(e.message, e.showMessage) ? Oe(o) : Oe();
|
|
1412
1412
|
}
|
|
1413
1413
|
},
|
|
1414
1414
|
{
|
|
1415
1415
|
immediate: !0,
|
|
1416
1416
|
flush: "post"
|
|
1417
1417
|
}
|
|
1418
|
-
),
|
|
1419
|
-
() => [
|
|
1418
|
+
), D(
|
|
1419
|
+
() => [F.value, c.value],
|
|
1420
1420
|
() => {
|
|
1421
|
-
if (
|
|
1422
|
-
const o =
|
|
1421
|
+
if (F.value) {
|
|
1422
|
+
const o = F.value.querySelector("summary");
|
|
1423
1423
|
o && o.setAttribute(
|
|
1424
1424
|
"aria-describedby",
|
|
1425
|
-
e.ariaDescribedBy ?? (
|
|
1425
|
+
e.ariaDescribedBy ?? (c.value || "")
|
|
1426
1426
|
);
|
|
1427
1427
|
}
|
|
1428
1428
|
},
|
|
@@ -1430,7 +1430,7 @@ const et = (i) => {
|
|
|
1430
1430
|
immediate: !0,
|
|
1431
1431
|
flush: "post"
|
|
1432
1432
|
}
|
|
1433
|
-
),
|
|
1433
|
+
), D(
|
|
1434
1434
|
() => [e.showNoResults, H.value],
|
|
1435
1435
|
() => {
|
|
1436
1436
|
e.showNoResults !== void 0 ? le.value = e.showNoResults : H.value && (le.value = H.value.length === 0);
|
|
@@ -1439,7 +1439,7 @@ const et = (i) => {
|
|
|
1439
1439
|
immediate: !0,
|
|
1440
1440
|
flush: "post"
|
|
1441
1441
|
}
|
|
1442
|
-
),
|
|
1442
|
+
), D(
|
|
1443
1443
|
() => [e.showSelectAll, O.value, e.multiple],
|
|
1444
1444
|
() => {
|
|
1445
1445
|
W.value = !!(e.multiple && (e.showSelectAll ?? O.value > 5));
|
|
@@ -1448,53 +1448,53 @@ const et = (i) => {
|
|
|
1448
1448
|
immediate: !0,
|
|
1449
1449
|
flush: "post"
|
|
1450
1450
|
}
|
|
1451
|
-
),
|
|
1451
|
+
), D(
|
|
1452
1452
|
() => [e.showSearch, O.value],
|
|
1453
1453
|
() => {
|
|
1454
|
-
|
|
1454
|
+
y.value = e.showSearch ?? O.value > 9;
|
|
1455
1455
|
},
|
|
1456
1456
|
{
|
|
1457
1457
|
immediate: !0,
|
|
1458
1458
|
flush: "post"
|
|
1459
1459
|
}
|
|
1460
|
-
),
|
|
1460
|
+
), D(
|
|
1461
1461
|
() => [e.values],
|
|
1462
1462
|
() => {
|
|
1463
|
-
e.values && Array.isArray(e.values) && e.values !==
|
|
1463
|
+
e.values && Array.isArray(e.values) && e.values !== w.value && (w.value = e.values ?? []);
|
|
1464
1464
|
},
|
|
1465
1465
|
{
|
|
1466
1466
|
immediate: !0,
|
|
1467
1467
|
flush: "post"
|
|
1468
1468
|
}
|
|
1469
|
-
),
|
|
1470
|
-
() => [
|
|
1469
|
+
), D(
|
|
1470
|
+
() => [w.value],
|
|
1471
1471
|
() => {
|
|
1472
|
-
|
|
1472
|
+
fa();
|
|
1473
1473
|
},
|
|
1474
1474
|
{
|
|
1475
1475
|
immediate: !0,
|
|
1476
1476
|
flush: "post"
|
|
1477
1477
|
}
|
|
1478
|
-
),
|
|
1478
|
+
), D(
|
|
1479
1479
|
() => [e.validation],
|
|
1480
1480
|
() => {
|
|
1481
|
-
|
|
1481
|
+
v.value = e.validation;
|
|
1482
1482
|
},
|
|
1483
1483
|
{
|
|
1484
1484
|
immediate: !0,
|
|
1485
1485
|
flush: "post"
|
|
1486
1486
|
}
|
|
1487
|
-
),
|
|
1488
|
-
() => [
|
|
1487
|
+
), D(
|
|
1488
|
+
() => [w.value, O.value],
|
|
1489
1489
|
() => {
|
|
1490
1490
|
var o, $;
|
|
1491
|
-
((o =
|
|
1491
|
+
((o = w.value) == null ? void 0 : o.length) === 0 ? (Ve.value = !1, Ae.value = !1) : (($ = w.value) == null ? void 0 : $.length) === O.value ? (Ae.value = !1, Ve.value = !0) : w.value && (Ae.value = !0);
|
|
1492
1492
|
},
|
|
1493
1493
|
{
|
|
1494
1494
|
immediate: !0,
|
|
1495
1495
|
flush: "post"
|
|
1496
1496
|
}
|
|
1497
|
-
),
|
|
1497
|
+
), D(
|
|
1498
1498
|
() => [e.options],
|
|
1499
1499
|
() => {
|
|
1500
1500
|
var o;
|
|
@@ -1504,7 +1504,7 @@ const et = (i) => {
|
|
|
1504
1504
|
immediate: !0,
|
|
1505
1505
|
flush: "post"
|
|
1506
1506
|
}
|
|
1507
|
-
),
|
|
1507
|
+
), D(
|
|
1508
1508
|
() => [e.searchValue],
|
|
1509
1509
|
() => {
|
|
1510
1510
|
if (qe.value = e.searchValue, e.searchValue) {
|
|
@@ -1516,14 +1516,14 @@ const et = (i) => {
|
|
|
1516
1516
|
immediate: !0,
|
|
1517
1517
|
flush: "post"
|
|
1518
1518
|
}
|
|
1519
|
-
),
|
|
1520
|
-
() => [e.options,
|
|
1519
|
+
), D(
|
|
1520
|
+
() => [e.options, w.value],
|
|
1521
1521
|
() => {
|
|
1522
1522
|
var o, $;
|
|
1523
|
-
(o = e.options) != null && o.length && (
|
|
1523
|
+
(o = e.options) != null && o.length && (k.value = ($ = e.options) == null ? void 0 : $.filter(
|
|
1524
1524
|
(C) => {
|
|
1525
1525
|
var Y, oe;
|
|
1526
|
-
return !C.value || !((Y =
|
|
1526
|
+
return !C.value || !((Y = w.value) != null && Y.includes) ? !1 : !C.isGroupTitle && ((oe = w.value) == null ? void 0 : oe.includes(C.value));
|
|
1527
1527
|
}
|
|
1528
1528
|
));
|
|
1529
1529
|
},
|
|
@@ -1531,9 +1531,9 @@ const et = (i) => {
|
|
|
1531
1531
|
immediate: !0,
|
|
1532
1532
|
flush: "post"
|
|
1533
1533
|
}
|
|
1534
|
-
),
|
|
1534
|
+
), D(
|
|
1535
1535
|
() => [
|
|
1536
|
-
|
|
1536
|
+
k.value,
|
|
1537
1537
|
e.selectedType,
|
|
1538
1538
|
e.amountText,
|
|
1539
1539
|
e.selectedLabels,
|
|
@@ -1545,13 +1545,13 @@ const et = (i) => {
|
|
|
1545
1545
|
I.value = e.selectedLabels;
|
|
1546
1546
|
return;
|
|
1547
1547
|
}
|
|
1548
|
-
if ((o =
|
|
1548
|
+
if ((o = k.value) != null && o.length) {
|
|
1549
1549
|
if (e.transformSelectedLabels) {
|
|
1550
|
-
const Y =
|
|
1550
|
+
const Y = k.value, oe = e.transformSelectedLabels;
|
|
1551
1551
|
I.value = oe(Y);
|
|
1552
1552
|
return;
|
|
1553
1553
|
}
|
|
1554
|
-
e.selectedType === "amount" ? I.value = e.amountText ? e.amountText : `${($ =
|
|
1554
|
+
e.selectedType === "amount" ? I.value = e.amountText ? e.amountText : `${($ = k.value) == null ? void 0 : $.length} ${Ea}` : I.value = (C = k.value) == null ? void 0 : C.map((Y) => $e(Y)).join(", ");
|
|
1555
1555
|
} else
|
|
1556
1556
|
I.value = "";
|
|
1557
1557
|
},
|
|
@@ -1559,26 +1559,26 @@ const et = (i) => {
|
|
|
1559
1559
|
immediate: !0,
|
|
1560
1560
|
flush: "post"
|
|
1561
1561
|
}
|
|
1562
|
-
),
|
|
1563
|
-
() => [
|
|
1562
|
+
), D(
|
|
1563
|
+
() => [k.value],
|
|
1564
1564
|
() => {
|
|
1565
1565
|
var o;
|
|
1566
|
-
e.onAmountChange && e.onAmountChange(((o =
|
|
1566
|
+
e.onAmountChange && e.onAmountChange(((o = k.value) == null ? void 0 : o.length) ?? 0);
|
|
1567
1567
|
},
|
|
1568
1568
|
{
|
|
1569
1569
|
immediate: !0,
|
|
1570
1570
|
flush: "post"
|
|
1571
1571
|
}
|
|
1572
|
-
),
|
|
1573
|
-
() => [Ae.value,
|
|
1572
|
+
), D(
|
|
1573
|
+
() => [Ae.value, Fe.value],
|
|
1574
1574
|
() => {
|
|
1575
|
-
|
|
1575
|
+
Fe.value && (Fe.value.indeterminate = !!Ae.value);
|
|
1576
1576
|
},
|
|
1577
1577
|
{
|
|
1578
1578
|
immediate: !0,
|
|
1579
1579
|
flush: "post"
|
|
1580
1580
|
}
|
|
1581
|
-
),
|
|
1581
|
+
), D(
|
|
1582
1582
|
() => [ke.value, e.invalidMessage],
|
|
1583
1583
|
() => {
|
|
1584
1584
|
var o;
|
|
@@ -1589,70 +1589,70 @@ const et = (i) => {
|
|
|
1589
1589
|
flush: "post"
|
|
1590
1590
|
}
|
|
1591
1591
|
);
|
|
1592
|
-
function
|
|
1592
|
+
function va(o) {
|
|
1593
1593
|
var $, C;
|
|
1594
|
-
($ = o == null ? void 0 : o.target) != null && $.contains && ((C = o == null ? void 0 : o.target) != null && C.contains(
|
|
1594
|
+
($ = o == null ? void 0 : o.target) != null && $.contains && ((C = o == null ? void 0 : o.target) != null && C.contains(F.value)) && Ue();
|
|
1595
1595
|
}
|
|
1596
1596
|
function We() {
|
|
1597
1597
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function fa() {
|
|
1600
1600
|
var o, $, C;
|
|
1601
|
-
ke.value && (ke.value.value =
|
|
1601
|
+
ke.value && (ke.value.value = ha()), !((o = ke.value) != null && o.validity.valid) || e.validation === "invalid" ? (c.value = g.value, r.value = e.invalidMessage || (($ = ke.value) == null ? void 0 : $.validationMessage) || ie, me() && (b.value = r.value, x(() => b.value = "", 1e3)), v.value = e.validation ?? "invalid") : We() && ((C = ke.value) != null && C.validity.valid) && e.required ? (c.value = u.value, me() && (b.value = e.validMessage ?? he, x(() => b.value = "", 1e3)), v.value = e.validation ?? "valid") : ee(e.message, e.showMessage) ? (c.value = p.value, v.value = e.validation ?? "no-validation") : (c.value = S.value, v.value = e.validation ?? "no-validation");
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function pa(o) {
|
|
1604
1604
|
var $, C;
|
|
1605
1605
|
e.onDropdownToggle && (o.stopPropagation(), e.onDropdownToggle(o)), o.target instanceof HTMLDetailsElement && o.target.open ? (J.value = new ze().addCallback(
|
|
1606
|
-
(Y) =>
|
|
1606
|
+
(Y) => Sa(Y)
|
|
1607
1607
|
), ye.value = new Ie().addCallback(
|
|
1608
|
-
(Y) =>
|
|
1609
|
-
), Ue(), ($ = Te.value) == null || $.observe(
|
|
1608
|
+
(Y) => va(Y)
|
|
1609
|
+
), Ue(), ($ = Te.value) == null || $.observe(F.value), o.target.dataset.test || Xe()) : (J.value && new ze().removeCallback(
|
|
1610
1610
|
J.value
|
|
1611
1611
|
), ye.value && new Ie().removeCallback(
|
|
1612
1612
|
ye.value
|
|
1613
|
-
), (C = Te.value) == null || C.unobserve(
|
|
1613
|
+
), (C = Te.value) == null || C.unobserve(F.value));
|
|
1614
1614
|
}
|
|
1615
|
-
function
|
|
1615
|
+
function ha() {
|
|
1616
1616
|
var o;
|
|
1617
|
-
return (o =
|
|
1617
|
+
return (o = w.value) != null && o.length ? w.value.at(0) ?? "" : "";
|
|
1618
1618
|
}
|
|
1619
1619
|
function Oe(o) {
|
|
1620
1620
|
var C;
|
|
1621
1621
|
const $ = [];
|
|
1622
|
-
o && $.push(o), A.value && ((C = I.value) != null && C.length) && $.push(A.value),
|
|
1622
|
+
o && $.push(o), A.value && ((C = I.value) != null && C.length) && $.push(A.value), c.value = $.join(" ");
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function ma() {
|
|
1625
1625
|
return e.selectAllLabel ?? we;
|
|
1626
1626
|
}
|
|
1627
1627
|
function $e(o) {
|
|
1628
1628
|
var $;
|
|
1629
1629
|
return o.label ?? (($ = o.value) == null ? void 0 : $.toString()) ?? "";
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1631
|
+
function ga(o) {
|
|
1632
1632
|
var $, C;
|
|
1633
|
-
return o && (($ =
|
|
1633
|
+
return o && (($ = w.value) != null && $.includes) ? (C = w.value) == null ? void 0 : C.includes(o) : !1;
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1636
|
-
return e.removeTagsTexts && e.removeTagsTexts.length > o ? e.removeTagsTexts.at(o) : `${ta} ${
|
|
1635
|
+
function ba(o) {
|
|
1636
|
+
return e.removeTagsTexts && e.removeTagsTexts.length > o ? e.removeTagsTexts.at(o) : `${ta} ${k.value ? $e(k.value[o]) : ""}`;
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1638
|
+
function ya(o, $) {
|
|
1639
1639
|
$ && $.stopPropagation(), He(o.value), Ee();
|
|
1640
1640
|
}
|
|
1641
1641
|
function Ue() {
|
|
1642
|
-
if (
|
|
1643
|
-
const o =
|
|
1642
|
+
if (F.value) {
|
|
1643
|
+
const o = F.value.querySelector("article");
|
|
1644
1644
|
o && x(() => {
|
|
1645
|
-
|
|
1645
|
+
at(
|
|
1646
1646
|
o,
|
|
1647
|
-
|
|
1647
|
+
F.value,
|
|
1648
1648
|
e.placement ?? "bottom"
|
|
1649
1649
|
);
|
|
1650
1650
|
}, 1);
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
|
-
function
|
|
1653
|
+
function ka(o) {
|
|
1654
1654
|
var $, C, Y, oe, U, ge, De;
|
|
1655
|
-
if (($ =
|
|
1655
|
+
if (($ = F.value) != null && $.open) {
|
|
1656
1656
|
if (self.document) {
|
|
1657
1657
|
const ue = self.document.activeElement;
|
|
1658
1658
|
if (ue)
|
|
@@ -1662,17 +1662,17 @@ const et = (i) => {
|
|
|
1662
1662
|
ne != null && ne.nextElementSibling ? (Y = (C = ne == null ? void 0 : ne.nextElementSibling) == null ? void 0 : C.querySelector("input")) == null || Y.focus() : Me(ue);
|
|
1663
1663
|
else if (ne != null && ne.previousElementSibling)
|
|
1664
1664
|
(U = (oe = ne == null ? void 0 : ne.previousElementSibling) == null ? void 0 : oe.querySelector("input")) == null || U.focus();
|
|
1665
|
-
else if (
|
|
1665
|
+
else if (F.value.querySelector('input[type="checkbox"]') !== ue)
|
|
1666
1666
|
Me(ue);
|
|
1667
1667
|
else {
|
|
1668
|
-
const Ye = ea(
|
|
1668
|
+
const Ye = ea(F.value);
|
|
1669
1669
|
if (Ye)
|
|
1670
1670
|
x(() => {
|
|
1671
1671
|
Ye.focus();
|
|
1672
1672
|
}, 100);
|
|
1673
1673
|
else {
|
|
1674
1674
|
const Ke = Array.from(
|
|
1675
|
-
(ge =
|
|
1675
|
+
(ge = F.value) == null ? void 0 : ge.querySelectorAll(
|
|
1676
1676
|
'input[type="checkbox"],input[type="radio"]'
|
|
1677
1677
|
)
|
|
1678
1678
|
);
|
|
@@ -1682,32 +1682,32 @@ const et = (i) => {
|
|
|
1682
1682
|
} else
|
|
1683
1683
|
ue.getAttribute("type") === "search" && (o.key === "ArrowUp" || o.key === "ArrowLeft") ? (Ce(void 0, !0), Ee()) : Me(ue);
|
|
1684
1684
|
}
|
|
1685
|
-
} else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ue(),
|
|
1685
|
+
} else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ue(), F.value && (F.value.open = !0), Xe());
|
|
1686
1686
|
o.stopPropagation(), o.preventDefault();
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function wa(o) {
|
|
1689
1689
|
var $;
|
|
1690
|
-
o.stopPropagation(), o.key === "Escape" && (($ =
|
|
1690
|
+
o.stopPropagation(), o.key === "Escape" && (($ = F.value) != null && $.open) ? (Ce(void 0, !0), Ee()) : (o.key === "ArrowDown" || o.key === "ArrowUp" || o.key === "ArrowLeft" || o.key === "ArrowRight") && ka(o);
|
|
1691
1691
|
}
|
|
1692
1692
|
function Ce(o, $) {
|
|
1693
|
-
if (
|
|
1693
|
+
if (F.value) {
|
|
1694
1694
|
if ($)
|
|
1695
|
-
|
|
1696
|
-
else if (
|
|
1695
|
+
F.value.open = !1, Ee();
|
|
1696
|
+
else if (F.value.open && o && o.relatedTarget) {
|
|
1697
1697
|
const C = o.relatedTarget;
|
|
1698
|
-
|
|
1698
|
+
F.value.contains(C) || x(() => F.value.open = !1, 1);
|
|
1699
1699
|
}
|
|
1700
1700
|
}
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1702
|
+
function Sa(o) {
|
|
1703
1703
|
var $;
|
|
1704
1704
|
if (o) {
|
|
1705
1705
|
const C = o.target;
|
|
1706
|
-
($ =
|
|
1706
|
+
($ = F.value) != null && $.open && !F.value.contains(C) && (F.value.open = !1);
|
|
1707
1707
|
}
|
|
1708
1708
|
}
|
|
1709
1709
|
function _e(o) {
|
|
1710
|
-
(/* @__PURE__ */ new Date()).getTime() -
|
|
1710
|
+
(/* @__PURE__ */ new Date()).getTime() - Ne.value < 200 || (w.value = o, e.onOptionSelected && e.onOptionSelected(o ?? []), se(
|
|
1711
1711
|
l,
|
|
1712
1712
|
{
|
|
1713
1713
|
target: {
|
|
@@ -1715,18 +1715,18 @@ const et = (i) => {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
},
|
|
1717
1717
|
"values"
|
|
1718
|
-
),
|
|
1718
|
+
), Ne.value = (/* @__PURE__ */ new Date()).getTime());
|
|
1719
1719
|
}
|
|
1720
1720
|
function He(o) {
|
|
1721
1721
|
var $;
|
|
1722
|
-
o && (e.multiple ? ($ =
|
|
1722
|
+
o && (e.multiple ? ($ = w.value) != null && $.includes(o) ? _e(w.value.filter((C) => C !== o)) : _e([...w.value || [], o]) : (_e([o]), Ce(void 0, !0)));
|
|
1723
1723
|
}
|
|
1724
|
-
function
|
|
1724
|
+
function Ba(o) {
|
|
1725
1725
|
var $;
|
|
1726
|
-
if (o.stopPropagation(), (($ =
|
|
1726
|
+
if (o.stopPropagation(), (($ = w.value) == null ? void 0 : $.length) === O.value)
|
|
1727
1727
|
_e([]);
|
|
1728
1728
|
else {
|
|
1729
|
-
const C =
|
|
1729
|
+
const C = y.value && Pe.value ? Pe.value.value : void 0;
|
|
1730
1730
|
_e(
|
|
1731
1731
|
e.options ? e.options.filter(
|
|
1732
1732
|
(Y) => {
|
|
@@ -1738,9 +1738,9 @@ const et = (i) => {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
1740
|
function Me(o) {
|
|
1741
|
-
if (
|
|
1741
|
+
if (F.value) {
|
|
1742
1742
|
const $ = Array.from(
|
|
1743
|
-
|
|
1743
|
+
F.value.querySelectorAll(
|
|
1744
1744
|
'input[type="checkbox"],input[type="radio"]'
|
|
1745
1745
|
)
|
|
1746
1746
|
);
|
|
@@ -1753,8 +1753,8 @@ const et = (i) => {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
}
|
|
1755
1755
|
function Xe() {
|
|
1756
|
-
if (
|
|
1757
|
-
const o = ea(
|
|
1756
|
+
if (F.value) {
|
|
1757
|
+
const o = ea(F.value);
|
|
1758
1758
|
o ? x(() => {
|
|
1759
1759
|
o.focus();
|
|
1760
1760
|
}, 1) : Me();
|
|
@@ -1776,14 +1776,14 @@ const et = (i) => {
|
|
|
1776
1776
|
(C) => !C.isGroupTitle && $e(C).toLowerCase().includes($.toLowerCase())
|
|
1777
1777
|
);
|
|
1778
1778
|
}
|
|
1779
|
-
function
|
|
1779
|
+
function Ia(o) {
|
|
1780
1780
|
o.stopPropagation(), _e([]), Ee();
|
|
1781
1781
|
}
|
|
1782
1782
|
function Ee() {
|
|
1783
1783
|
var o;
|
|
1784
|
-
|
|
1784
|
+
F.value && ((o = F.value.querySelector("summary")) == null || o.focus());
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function $a(o) {
|
|
1787
1787
|
o.stopPropagation();
|
|
1788
1788
|
}
|
|
1789
1789
|
return (o, $) => {
|
|
@@ -1791,10 +1791,10 @@ const et = (i) => {
|
|
|
1791
1791
|
return m(), B("div", {
|
|
1792
1792
|
id: t.value,
|
|
1793
1793
|
ref_key: "_ref",
|
|
1794
|
-
ref:
|
|
1794
|
+
ref: ca,
|
|
1795
1795
|
class: R(d(z)("db-custom-select", e.class)),
|
|
1796
|
-
"aria-invalid":
|
|
1797
|
-
"data-custom-validity":
|
|
1796
|
+
"aria-invalid": v.value === "invalid",
|
|
1797
|
+
"data-custom-validity": v.value,
|
|
1798
1798
|
"data-width": o.formFieldWidth,
|
|
1799
1799
|
"data-variant": o.variant === "floating" && o.selectedType === "tag" && o.multiple ? "above" : o.variant,
|
|
1800
1800
|
"data-required": d(j)(o.required),
|
|
@@ -1805,12 +1805,12 @@ const et = (i) => {
|
|
|
1805
1805
|
"data-icon": o.icon,
|
|
1806
1806
|
"data-hide-icon": d(X)(o.showIcon)
|
|
1807
1807
|
}, [
|
|
1808
|
-
T("label", { id:
|
|
1809
|
-
|
|
1808
|
+
T("label", { id: f.value }, [
|
|
1809
|
+
N(L(o.label ?? d(we)), 1),
|
|
1810
1810
|
T("select", {
|
|
1811
1811
|
role: "none",
|
|
1812
1812
|
hidden: !0,
|
|
1813
|
-
id:
|
|
1813
|
+
id: n.value,
|
|
1814
1814
|
tabIndex: -1,
|
|
1815
1815
|
ref_key: "selectRef",
|
|
1816
1816
|
ref: ke,
|
|
@@ -1819,54 +1819,54 @@ const et = (i) => {
|
|
|
1819
1819
|
multiple: d(M)(o.multiple, "multiple"),
|
|
1820
1820
|
disabled: d(M)(o.disabled, "disabled"),
|
|
1821
1821
|
required: d(M)(o.required, "required"),
|
|
1822
|
-
onChange: $[0] || ($[0] = async (U) =>
|
|
1822
|
+
onChange: $[0] || ($[0] = async (U) => $a(U))
|
|
1823
1823
|
}, [
|
|
1824
1824
|
(C = o.options) != null && C.length ? (m(!0), B(P, { key: 0 }, be(o.options, (U, ge) => (m(), B("option", {
|
|
1825
1825
|
key: ge,
|
|
1826
1826
|
disabled: U.disabled,
|
|
1827
1827
|
value: U.value
|
|
1828
|
-
},
|
|
1829
|
-
], 40,
|
|
1830
|
-
], 8,
|
|
1828
|
+
}, L($e(U)), 9, It))), 128)) : q("", !0)
|
|
1829
|
+
], 40, Bt)
|
|
1830
|
+
], 8, St),
|
|
1831
1831
|
T("details", {
|
|
1832
1832
|
ref_key: "detailsRef",
|
|
1833
|
-
ref:
|
|
1833
|
+
ref: F,
|
|
1834
1834
|
open: o.open,
|
|
1835
|
-
onToggle: $[2] || ($[2] = async (U) =>
|
|
1836
|
-
onKeydown: $[3] || ($[3] = async (U) =>
|
|
1835
|
+
onToggle: $[2] || ($[2] = async (U) => pa(U)),
|
|
1836
|
+
onKeydown: $[3] || ($[3] = async (U) => wa(U))
|
|
1837
1837
|
}, [
|
|
1838
|
-
|
|
1838
|
+
E(o.$slots, "default"),
|
|
1839
1839
|
o.options ? (m(), B(P, { key: 0 }, [
|
|
1840
1840
|
T("summary", {
|
|
1841
1841
|
class: "db-custom-select-form-field",
|
|
1842
|
-
id:
|
|
1842
|
+
id: _.value,
|
|
1843
1843
|
"aria-disabled": d(j)(o.disabled),
|
|
1844
|
-
"aria-labelledby":
|
|
1844
|
+
"aria-labelledby": f.value
|
|
1845
1845
|
}, [
|
|
1846
1846
|
(Y = I.value) != null && Y.length ? (m(), B("span", {
|
|
1847
1847
|
key: 0,
|
|
1848
1848
|
"data-visually-hidden": d(j)(o.selectedType === "tag"),
|
|
1849
1849
|
id: A.value
|
|
1850
|
-
},
|
|
1851
|
-
o.selectedType === "tag" ? (m(), B("div",
|
|
1852
|
-
(m(!0), B(P, null, be(
|
|
1850
|
+
}, L(I.value), 9, _t)) : q("", !0),
|
|
1851
|
+
o.selectedType === "tag" ? (m(), B("div", Tt, [
|
|
1852
|
+
(m(!0), B(P, null, be(k.value, (U, ge) => (m(), Z(kt, {
|
|
1853
1853
|
key: ge,
|
|
1854
1854
|
emphasis: "strong",
|
|
1855
1855
|
behavior: "removable",
|
|
1856
|
-
removeButton:
|
|
1857
|
-
onRemove: (De) =>
|
|
1856
|
+
removeButton: ba(ge),
|
|
1857
|
+
onRemove: (De) => ya(U, De)
|
|
1858
1858
|
}, {
|
|
1859
1859
|
default: G(() => [
|
|
1860
|
-
|
|
1860
|
+
N(L($e(U)), 1)
|
|
1861
1861
|
]),
|
|
1862
1862
|
_: 2
|
|
1863
1863
|
}, 1032, ["removeButton", "onRemove"]))), 128))
|
|
1864
1864
|
])) : q("", !0)
|
|
1865
|
-
], 8,
|
|
1866
|
-
ae(
|
|
1865
|
+
], 8, Lt),
|
|
1866
|
+
ae(it, { width: o.dropdownWidth }, {
|
|
1867
1867
|
default: G(() => [
|
|
1868
|
-
|
|
1869
|
-
ae(
|
|
1868
|
+
y.value ? (m(), B("div", At, [
|
|
1869
|
+
ae(gt, {
|
|
1870
1870
|
type: "search",
|
|
1871
1871
|
ref_key: "searchInputRef",
|
|
1872
1872
|
ref: Pe,
|
|
@@ -1887,32 +1887,32 @@ const et = (i) => {
|
|
|
1887
1887
|
semantic: le.value ? "warning" : "informational"
|
|
1888
1888
|
}, {
|
|
1889
1889
|
default: G(() => [
|
|
1890
|
-
|
|
1890
|
+
N(L((le.value ? o.noResultsText : o.loadingText) ?? d(Aa)), 1)
|
|
1891
1891
|
]),
|
|
1892
1892
|
_: 1
|
|
1893
1893
|
}, 8, ["id", "icon", "semantic"])) : (m(), B(P, { key: 2 }, [
|
|
1894
|
-
W.value ? (m(), B("div",
|
|
1895
|
-
T("div",
|
|
1894
|
+
W.value ? (m(), B("div", Ct, [
|
|
1895
|
+
T("div", Et, [
|
|
1896
1896
|
T("label", null, [
|
|
1897
1897
|
T("input", {
|
|
1898
1898
|
type: "checkbox",
|
|
1899
1899
|
value: "select-all",
|
|
1900
1900
|
ref_key: "selectAllRef",
|
|
1901
|
-
ref:
|
|
1901
|
+
ref: Fe,
|
|
1902
1902
|
form: t.value,
|
|
1903
1903
|
checked: Ve.value,
|
|
1904
|
-
onChange: $[1] || ($[1] = async (U) =>
|
|
1905
|
-
}, null, 40,
|
|
1906
|
-
|
|
1904
|
+
onChange: $[1] || ($[1] = async (U) => Ba(U))
|
|
1905
|
+
}, null, 40, Dt),
|
|
1906
|
+
N(L(ma()), 1)
|
|
1907
1907
|
])
|
|
1908
1908
|
])
|
|
1909
1909
|
])) : q("", !0),
|
|
1910
|
-
ae(
|
|
1910
|
+
ae(rt, {
|
|
1911
1911
|
multiple: d(M)(o.multiple, "multiple"),
|
|
1912
1912
|
label: o.ariaListLabel ?? o.label ?? d(we)
|
|
1913
1913
|
}, {
|
|
1914
1914
|
default: G(() => [
|
|
1915
|
-
(m(!0), B(P, null, be(H.value, (U, ge) => (m(), Z(
|
|
1915
|
+
(m(!0), B(P, null, be(H.value, (U, ge) => (m(), Z(st, {
|
|
1916
1916
|
key: ge,
|
|
1917
1917
|
type: o.multiple ? "checkbox" : "radio",
|
|
1918
1918
|
showDivider: U.showDivider,
|
|
@@ -1920,14 +1920,14 @@ const et = (i) => {
|
|
|
1920
1920
|
isGroupTitle: U.isGroupTitle,
|
|
1921
1921
|
groupTitle: $e(U),
|
|
1922
1922
|
name: t.value,
|
|
1923
|
-
checked:
|
|
1923
|
+
checked: ga(U.value),
|
|
1924
1924
|
disabled: U.disabled,
|
|
1925
1925
|
value: U.value,
|
|
1926
1926
|
onChange: (De) => He(U.value)
|
|
1927
1927
|
}, {
|
|
1928
1928
|
default: G(() => [
|
|
1929
1929
|
U.isGroupTitle ? q("", !0) : (m(), B(P, { key: 0 }, [
|
|
1930
|
-
|
|
1930
|
+
N(L($e(U)), 1)
|
|
1931
1931
|
], 64))
|
|
1932
1932
|
]),
|
|
1933
1933
|
_: 2
|
|
@@ -1947,7 +1947,7 @@ const et = (i) => {
|
|
|
1947
1947
|
onClick: (U) => Ce(void 0, !0)
|
|
1948
1948
|
}, {
|
|
1949
1949
|
default: G(() => [
|
|
1950
|
-
|
|
1950
|
+
N(L(o.mobileCloseButtonText ?? d(Ge)), 1)
|
|
1951
1951
|
]),
|
|
1952
1952
|
_: 1
|
|
1953
1953
|
}, 8, ["name", "form", "onClick"])
|
|
@@ -1956,8 +1956,8 @@ const et = (i) => {
|
|
|
1956
1956
|
_: 1
|
|
1957
1957
|
}, 8, ["width"])
|
|
1958
1958
|
], 64)) : q("", !0)
|
|
1959
|
-
], 40,
|
|
1960
|
-
(o.showClearSelection ?? !0) && ((oe =
|
|
1959
|
+
], 40, $t),
|
|
1960
|
+
(o.showClearSelection ?? !0) && ((oe = w.value) != null && oe.length) ? (m(), Z(Be, {
|
|
1961
1961
|
key: 0,
|
|
1962
1962
|
icon: "cross",
|
|
1963
1963
|
variant: "ghost",
|
|
@@ -1965,13 +1965,13 @@ const et = (i) => {
|
|
|
1965
1965
|
noText: !0,
|
|
1966
1966
|
name: t.value,
|
|
1967
1967
|
form: t.value,
|
|
1968
|
-
onClick: (U) =>
|
|
1968
|
+
onClick: (U) => Ia(U)
|
|
1969
1969
|
}, {
|
|
1970
1970
|
default: G(() => [
|
|
1971
|
-
|
|
1971
|
+
N(L(o.clearSelectionText), 1),
|
|
1972
1972
|
ae(ra, { placement: "top" }, {
|
|
1973
1973
|
default: G(() => [
|
|
1974
|
-
|
|
1974
|
+
N(L(o.clearSelectionText), 1)
|
|
1975
1975
|
]),
|
|
1976
1976
|
_: 1
|
|
1977
1977
|
})
|
|
@@ -1980,8 +1980,8 @@ const et = (i) => {
|
|
|
1980
1980
|
}, 8, ["name", "form", "onClick"])) : q("", !0),
|
|
1981
1981
|
T("span", {
|
|
1982
1982
|
"aria-hidden": d(j)(!0),
|
|
1983
|
-
id:
|
|
1984
|
-
},
|
|
1983
|
+
id: S.value
|
|
1984
|
+
}, L(o.placeholder ?? o.label), 9, Nt),
|
|
1985
1985
|
d(ee)(o.message, o.showMessage) ? (m(), Z(te, {
|
|
1986
1986
|
key: 1,
|
|
1987
1987
|
size: "small",
|
|
@@ -1989,7 +1989,7 @@ const et = (i) => {
|
|
|
1989
1989
|
id: p.value
|
|
1990
1990
|
}, {
|
|
1991
1991
|
default: G(() => [
|
|
1992
|
-
|
|
1992
|
+
N(L(o.message), 1)
|
|
1993
1993
|
]),
|
|
1994
1994
|
_: 1
|
|
1995
1995
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
@@ -2000,7 +2000,7 @@ const et = (i) => {
|
|
|
2000
2000
|
id: u.value
|
|
2001
2001
|
}, {
|
|
2002
2002
|
default: G(() => [
|
|
2003
|
-
|
|
2003
|
+
N(L(o.validMessage || d(he)), 1)
|
|
2004
2004
|
]),
|
|
2005
2005
|
_: 1
|
|
2006
2006
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -2010,15 +2010,15 @@ const et = (i) => {
|
|
|
2010
2010
|
id: g.value
|
|
2011
2011
|
}, {
|
|
2012
2012
|
default: G(() => [
|
|
2013
|
-
|
|
2013
|
+
N(L(r.value), 1)
|
|
2014
2014
|
]),
|
|
2015
2015
|
_: 1
|
|
2016
2016
|
}, 8, ["id"]),
|
|
2017
|
-
T("span",
|
|
2018
|
-
], 10,
|
|
2017
|
+
T("span", Ft, L(b.value), 1)
|
|
2018
|
+
], 10, wt);
|
|
2019
2019
|
};
|
|
2020
2020
|
}
|
|
2021
|
-
}),
|
|
2021
|
+
}), Mt = ["id"], ul = /* @__PURE__ */ V({
|
|
2022
2022
|
__name: "custom-select-form-field",
|
|
2023
2023
|
props: {
|
|
2024
2024
|
children: { default: void 0 },
|
|
@@ -2029,17 +2029,17 @@ const et = (i) => {
|
|
|
2029
2029
|
autofocus: { type: [Boolean, String] }
|
|
2030
2030
|
},
|
|
2031
2031
|
setup(i) {
|
|
2032
|
-
const a = i, l =
|
|
2032
|
+
const a = i, l = s(null);
|
|
2033
2033
|
return (e, t) => (m(), B("summary", {
|
|
2034
2034
|
ref_key: "_ref",
|
|
2035
2035
|
ref: l,
|
|
2036
2036
|
id: e.id,
|
|
2037
2037
|
class: R(d(z)("db-custom-select-form-field", a.class))
|
|
2038
2038
|
}, [
|
|
2039
|
-
|
|
2040
|
-
], 10,
|
|
2039
|
+
E(e.$slots, "default")
|
|
2040
|
+
], 10, Mt));
|
|
2041
2041
|
}
|
|
2042
|
-
}),
|
|
2042
|
+
}), Rt = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], rl = /* @__PURE__ */ V({
|
|
2043
2043
|
__name: "divider",
|
|
2044
2044
|
props: {
|
|
2045
2045
|
margin: { default: void 0 },
|
|
@@ -2054,7 +2054,7 @@ const et = (i) => {
|
|
|
2054
2054
|
width: { default: void 0 }
|
|
2055
2055
|
},
|
|
2056
2056
|
setup(i) {
|
|
2057
|
-
const a = i, l =
|
|
2057
|
+
const a = i, l = s(null);
|
|
2058
2058
|
return (e, t) => (m(), B("div", {
|
|
2059
2059
|
ref_key: "_ref",
|
|
2060
2060
|
ref: l,
|
|
@@ -2064,9 +2064,9 @@ const et = (i) => {
|
|
|
2064
2064
|
"data-emphasis": e.emphasis,
|
|
2065
2065
|
"data-width": e.width,
|
|
2066
2066
|
class: R(d(z)("db-divider", a.class))
|
|
2067
|
-
}, null, 10,
|
|
2067
|
+
}, null, 10, Rt));
|
|
2068
2068
|
}
|
|
2069
|
-
}),
|
|
2069
|
+
}), zt = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], qt = ["data-spacing", "data-width", "data-direction", "data-rounded"], Vt = { class: "db-drawer-header" }, Pt = { class: "db-drawer-header-text" }, Ut = { class: "db-drawer-content" }, Gt = /* @__PURE__ */ V({
|
|
2070
2070
|
__name: "drawer",
|
|
2071
2071
|
props: {
|
|
2072
2072
|
backdrop: { default: void 0 },
|
|
@@ -2090,10 +2090,10 @@ const et = (i) => {
|
|
|
2090
2090
|
spacing: { default: void 0 }
|
|
2091
2091
|
},
|
|
2092
2092
|
setup(i) {
|
|
2093
|
-
const a = i, l =
|
|
2093
|
+
const a = i, l = s(!1), e = s(null), t = s(null);
|
|
2094
2094
|
K(() => {
|
|
2095
2095
|
u(), l.value = !0;
|
|
2096
|
-
}),
|
|
2096
|
+
}), D(
|
|
2097
2097
|
() => [a.open],
|
|
2098
2098
|
() => {
|
|
2099
2099
|
u();
|
|
@@ -2102,7 +2102,7 @@ const et = (i) => {
|
|
|
2102
2102
|
immediate: !0,
|
|
2103
2103
|
flush: "post"
|
|
2104
2104
|
}
|
|
2105
|
-
),
|
|
2105
|
+
), D(
|
|
2106
2106
|
() => [e.value, l.value, a.position],
|
|
2107
2107
|
() => {
|
|
2108
2108
|
if (e.value && l.value && a.position === "absolute") {
|
|
@@ -2116,8 +2116,8 @@ const et = (i) => {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
);
|
|
2118
2118
|
function p(g, r) {
|
|
2119
|
-
var
|
|
2120
|
-
g && (
|
|
2119
|
+
var n;
|
|
2120
|
+
g && (Va(g) ? g.key === "Escape" && (g.preventDefault(), a.onClose && a.onClose(g)) : (r && (g.stopPropagation(), a.onClose && a.onClose(g)), ((n = g.target) == null ? void 0 : n.nodeName) === "DIALOG" && g.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(g)));
|
|
2121
2121
|
}
|
|
2122
2122
|
function u() {
|
|
2123
2123
|
if (e.value) {
|
|
@@ -2133,8 +2133,8 @@ const et = (i) => {
|
|
|
2133
2133
|
id: g.id,
|
|
2134
2134
|
ref_key: "_ref",
|
|
2135
2135
|
ref: e,
|
|
2136
|
-
onClick: r[0] || (r[0] = async (
|
|
2137
|
-
onKeydown: r[1] || (r[1] = async (
|
|
2136
|
+
onClick: r[0] || (r[0] = async (n) => p(n)),
|
|
2137
|
+
onKeydown: r[1] || (r[1] = async (n) => p(n)),
|
|
2138
2138
|
"data-position": g.position,
|
|
2139
2139
|
"data-backdrop": g.backdrop,
|
|
2140
2140
|
"data-direction": g.direction,
|
|
@@ -2149,9 +2149,9 @@ const et = (i) => {
|
|
|
2149
2149
|
"data-direction": g.direction,
|
|
2150
2150
|
"data-rounded": d(j)(g.rounded)
|
|
2151
2151
|
}, [
|
|
2152
|
-
T("header",
|
|
2153
|
-
T("div",
|
|
2154
|
-
|
|
2152
|
+
T("header", Vt, [
|
|
2153
|
+
T("div", Pt, [
|
|
2154
|
+
E(g.$slots, "drawer-header")
|
|
2155
2155
|
]),
|
|
2156
2156
|
ae(Be, {
|
|
2157
2157
|
class: "button-close-drawer",
|
|
@@ -2159,21 +2159,21 @@ const et = (i) => {
|
|
|
2159
2159
|
variant: "ghost",
|
|
2160
2160
|
id: g.closeButtonId,
|
|
2161
2161
|
noText: !0,
|
|
2162
|
-
onClick: (
|
|
2162
|
+
onClick: (n) => p(n, !0)
|
|
2163
2163
|
}, {
|
|
2164
2164
|
default: G(() => [
|
|
2165
|
-
|
|
2165
|
+
N(L(g.closeButtonText ?? d(Ge)), 1)
|
|
2166
2166
|
]),
|
|
2167
2167
|
_: 1
|
|
2168
2168
|
}, 8, ["id", "onClick"])
|
|
2169
2169
|
]),
|
|
2170
|
-
T("div",
|
|
2171
|
-
|
|
2170
|
+
T("div", Ut, [
|
|
2171
|
+
E(g.$slots, "default")
|
|
2172
2172
|
])
|
|
2173
|
-
], 10,
|
|
2174
|
-
], 40,
|
|
2173
|
+
], 10, qt)
|
|
2174
|
+
], 40, zt));
|
|
2175
2175
|
}
|
|
2176
|
-
}),
|
|
2176
|
+
}), Wt = (i) => {
|
|
2177
2177
|
var l, e;
|
|
2178
2178
|
const {
|
|
2179
2179
|
target: a
|
|
@@ -2201,7 +2201,7 @@ class Ot {
|
|
|
2201
2201
|
var t;
|
|
2202
2202
|
if (!this.initialized || this.triangleData || !this.element || !this.subNavigation)
|
|
2203
2203
|
return;
|
|
2204
|
-
const a =
|
|
2204
|
+
const a = et(this.subNavigation), l = this.element.getBoundingClientRect(), e = ((t = this.parentSubNavigation) == null ? void 0 : t.getBoundingClientRect().width) ?? 0;
|
|
2205
2205
|
this.triangleData = {
|
|
2206
2206
|
itemRect: l,
|
|
2207
2207
|
parentElementWidth: e,
|
|
@@ -2277,10 +2277,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2277
2277
|
width: { default: void 0 }
|
|
2278
2278
|
},
|
|
2279
2279
|
setup(i) {
|
|
2280
|
-
const a = i, l =
|
|
2280
|
+
const a = i, l = s(Le), e = s(!1), t = s(!1), p = s(null);
|
|
2281
2281
|
K(() => {
|
|
2282
2282
|
e.value = !0, l.value = a.id || "header-" + Q();
|
|
2283
|
-
}),
|
|
2283
|
+
}), D(
|
|
2284
2284
|
() => [e.value],
|
|
2285
2285
|
() => {
|
|
2286
2286
|
if (e.value && document && l.value && a.forceMobile) {
|
|
@@ -2299,13 +2299,13 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2299
2299
|
}
|
|
2300
2300
|
);
|
|
2301
2301
|
function u(r) {
|
|
2302
|
-
const
|
|
2303
|
-
a.onToggle && a.onToggle(
|
|
2302
|
+
const n = !M(a.drawerOpen, "drawerOpen");
|
|
2303
|
+
a.onToggle && a.onToggle(n);
|
|
2304
2304
|
}
|
|
2305
2305
|
function g(r) {
|
|
2306
|
-
|
|
2306
|
+
Wt(r) && u();
|
|
2307
2307
|
}
|
|
2308
|
-
return (r,
|
|
2308
|
+
return (r, n) => (m(), B("header", {
|
|
2309
2309
|
ref_key: "_ref",
|
|
2310
2310
|
ref: p,
|
|
2311
2311
|
class: R(d(z)("db-header", a.class)),
|
|
@@ -2313,44 +2313,44 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2313
2313
|
"data-width": r.width,
|
|
2314
2314
|
"data-on-forcing-mobile": r.forceMobile && !t.value
|
|
2315
2315
|
}, [
|
|
2316
|
-
ae(
|
|
2316
|
+
ae(Gt, {
|
|
2317
2317
|
class: "db-header-drawer",
|
|
2318
2318
|
spacing: "small",
|
|
2319
2319
|
rounded: !0,
|
|
2320
2320
|
open: d(M)(r.drawerOpen),
|
|
2321
|
-
onClose: (
|
|
2321
|
+
onClose: (f) => u()
|
|
2322
2322
|
}, {
|
|
2323
2323
|
default: G(() => [
|
|
2324
2324
|
T("div", Xt, [
|
|
2325
2325
|
T("div", {
|
|
2326
2326
|
class: "db-header-navigation",
|
|
2327
|
-
onClick:
|
|
2327
|
+
onClick: n[0] || (n[0] = async (f) => g(f))
|
|
2328
2328
|
}, [
|
|
2329
|
-
|
|
2329
|
+
E(r.$slots, "default")
|
|
2330
2330
|
]),
|
|
2331
2331
|
T("div", jt, [
|
|
2332
|
-
|
|
2332
|
+
E(r.$slots, "meta-navigation")
|
|
2333
2333
|
])
|
|
2334
2334
|
]),
|
|
2335
2335
|
T("div", Yt, [
|
|
2336
|
-
|
|
2336
|
+
E(r.$slots, "secondary-action")
|
|
2337
2337
|
])
|
|
2338
2338
|
]),
|
|
2339
2339
|
_: 3
|
|
2340
2340
|
}, 8, ["open", "onClose"]),
|
|
2341
2341
|
T("div", Kt, [
|
|
2342
|
-
|
|
2342
|
+
E(r.$slots, "meta-navigation")
|
|
2343
2343
|
]),
|
|
2344
2344
|
T("div", Jt, [
|
|
2345
2345
|
T("div", Qt, [
|
|
2346
|
-
|
|
2346
|
+
E(r.$slots, "brand")
|
|
2347
2347
|
]),
|
|
2348
2348
|
T("div", Zt, [
|
|
2349
2349
|
T("div", xt, [
|
|
2350
|
-
|
|
2350
|
+
E(r.$slots, "default")
|
|
2351
2351
|
]),
|
|
2352
2352
|
T("div", ei, [
|
|
2353
|
-
|
|
2353
|
+
E(r.$slots, "primary-action")
|
|
2354
2354
|
])
|
|
2355
2355
|
]),
|
|
2356
2356
|
T("div", ai, [
|
|
@@ -2360,16 +2360,16 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2360
2360
|
variant: "ghost",
|
|
2361
2361
|
id: l.value + "-burger-menu",
|
|
2362
2362
|
noText: !0,
|
|
2363
|
-
onClick: (
|
|
2363
|
+
onClick: (f) => u()
|
|
2364
2364
|
}, {
|
|
2365
2365
|
default: G(() => [
|
|
2366
|
-
|
|
2366
|
+
N(L(r.burgerMenuLabel ?? d(Da)), 1)
|
|
2367
2367
|
]),
|
|
2368
2368
|
_: 1
|
|
2369
2369
|
}, 8, ["id", "onClick"])
|
|
2370
2370
|
]),
|
|
2371
2371
|
T("div", ii, [
|
|
2372
|
-
|
|
2372
|
+
E(r.$slots, "secondary-action")
|
|
2373
2373
|
])
|
|
2374
2374
|
])
|
|
2375
2375
|
])
|
|
@@ -2390,7 +2390,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2390
2390
|
text: { default: void 0 }
|
|
2391
2391
|
},
|
|
2392
2392
|
setup(i) {
|
|
2393
|
-
const a = i, l =
|
|
2393
|
+
const a = i, l = s(null);
|
|
2394
2394
|
return (e, t) => (m(), B("span", {
|
|
2395
2395
|
"aria-hidden": "true",
|
|
2396
2396
|
ref_key: "_ref",
|
|
@@ -2402,8 +2402,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2402
2402
|
"data-icon-variant": e.variant
|
|
2403
2403
|
}, [
|
|
2404
2404
|
e.text ? (m(), B(P, { key: 0 }, [
|
|
2405
|
-
|
|
2406
|
-
], 64)) :
|
|
2405
|
+
N(L(e.text), 1)
|
|
2406
|
+
], 64)) : E(e.$slots, "default", { key: 1 })
|
|
2407
2407
|
], 10, li));
|
|
2408
2408
|
}
|
|
2409
2409
|
}), oi = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "aria-selected", "aria-label", "aria-current", "data-size", "data-hide-icon-after", "data-variant", "data-content"], fl = /* @__PURE__ */ V({
|
|
@@ -2433,7 +2433,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2433
2433
|
text: { default: void 0 }
|
|
2434
2434
|
},
|
|
2435
2435
|
setup(i) {
|
|
2436
|
-
const a = i, l =
|
|
2436
|
+
const a = i, l = s(null);
|
|
2437
2437
|
function e(t) {
|
|
2438
2438
|
a.onClick && a.onClick(t);
|
|
2439
2439
|
}
|
|
@@ -2459,8 +2459,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2459
2459
|
onClick: p[0] || (p[0] = async (u) => e(u))
|
|
2460
2460
|
}, [
|
|
2461
2461
|
t.text ? (m(), B(P, { key: 0 }, [
|
|
2462
|
-
|
|
2463
|
-
], 64)) :
|
|
2462
|
+
N(L(t.text), 1)
|
|
2463
|
+
], 64)) : E(t.$slots, "default", { key: 1 })
|
|
2464
2464
|
], 10, oi));
|
|
2465
2465
|
}
|
|
2466
2466
|
}), di = ["id", "aria-labelledby"], pl = /* @__PURE__ */ V({
|
|
@@ -2475,7 +2475,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2475
2475
|
labelledBy: { default: void 0 }
|
|
2476
2476
|
},
|
|
2477
2477
|
setup(i) {
|
|
2478
|
-
const a = i, l =
|
|
2478
|
+
const a = i, l = s(Le), e = s(null);
|
|
2479
2479
|
return K(() => {
|
|
2480
2480
|
l.value = a.id || "navigation-" + Q();
|
|
2481
2481
|
}), (t, p) => (m(), B("nav", {
|
|
@@ -2486,11 +2486,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2486
2486
|
class: R(d(z)("db-navigation", a.class))
|
|
2487
2487
|
}, [
|
|
2488
2488
|
T("menu", null, [
|
|
2489
|
-
|
|
2489
|
+
E(t.$slots, "default")
|
|
2490
2490
|
])
|
|
2491
2491
|
], 10, di));
|
|
2492
2492
|
}
|
|
2493
|
-
}), ni = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "data-wrap", "aria-disabled"], si = ["aria-haspopup", "aria-expanded", "disabled"], ui = ["data-
|
|
2493
|
+
}), ni = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "data-wrap", "aria-disabled"], si = ["aria-haspopup", "aria-expanded", "disabled"], ui = ["data-force-close", "id"], ri = {
|
|
2494
2494
|
key: 0,
|
|
2495
2495
|
class: "db-mobile-navigation-back"
|
|
2496
2496
|
}, hl = /* @__PURE__ */ V({
|
|
@@ -2516,12 +2516,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2516
2516
|
text: { default: void 0 }
|
|
2517
2517
|
},
|
|
2518
2518
|
setup(i) {
|
|
2519
|
-
const a = i, l =
|
|
2519
|
+
const a = i, l = s(!1), e = s(!1), t = s(!0), p = s(!1), u = s(!1), g = s(
|
|
2520
2520
|
"sub-navigation-" + Q()
|
|
2521
|
-
), r =
|
|
2521
|
+
), r = s(void 0), n = s(null);
|
|
2522
2522
|
K(() => {
|
|
2523
2523
|
l.value = !0;
|
|
2524
|
-
}),
|
|
2524
|
+
}), D(
|
|
2525
2525
|
() => [a.subNavigationExpanded],
|
|
2526
2526
|
() => {
|
|
2527
2527
|
a.subNavigationExpanded !== void 0 && (p.value = !!M(
|
|
@@ -2533,15 +2533,15 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2533
2533
|
immediate: !0,
|
|
2534
2534
|
flush: "post"
|
|
2535
2535
|
}
|
|
2536
|
-
),
|
|
2537
|
-
() => [l.value,
|
|
2536
|
+
), D(
|
|
2537
|
+
() => [l.value, n.value],
|
|
2538
2538
|
() => {
|
|
2539
2539
|
var h;
|
|
2540
|
-
if (l.value &&
|
|
2541
|
-
const
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2540
|
+
if (l.value && n.value) {
|
|
2541
|
+
const v = n.value.querySelector("menu");
|
|
2542
|
+
v && (((h = v.children) == null ? void 0 : h.length) > 0 ? (e.value = !0, r.value || (r.value = new Ot(
|
|
2543
|
+
n.value,
|
|
2544
|
+
v
|
|
2545
2545
|
))) : t.value = !1);
|
|
2546
2546
|
}
|
|
2547
2547
|
},
|
|
@@ -2550,32 +2550,33 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2550
2550
|
flush: "post"
|
|
2551
2551
|
}
|
|
2552
2552
|
);
|
|
2553
|
-
function
|
|
2554
|
-
|
|
2553
|
+
function f(h) {
|
|
2554
|
+
var v;
|
|
2555
|
+
((v = h == null ? void 0 : h.target) == null ? void 0 : v.nodeName) === "A" && (u.value = !0, x(() => {
|
|
2555
2556
|
u.value = !1;
|
|
2556
|
-
},
|
|
2557
|
+
}, 1e3));
|
|
2557
2558
|
}
|
|
2558
|
-
function
|
|
2559
|
+
function _(h) {
|
|
2559
2560
|
a.onClick && (h.stopPropagation(), a.onClick(h)), e.value && (p.value = !0);
|
|
2560
2561
|
}
|
|
2561
|
-
function
|
|
2562
|
+
function S(h) {
|
|
2562
2563
|
h.stopPropagation(), p.value = !1;
|
|
2563
2564
|
}
|
|
2564
|
-
return (h,
|
|
2565
|
+
return (h, v) => (m(), B("li", {
|
|
2565
2566
|
ref_key: "_ref",
|
|
2566
|
-
ref:
|
|
2567
|
+
ref: n,
|
|
2567
2568
|
id: h.id,
|
|
2568
|
-
onMouseover:
|
|
2569
|
+
onMouseover: v[2] || (v[2] = async (c) => {
|
|
2569
2570
|
var I;
|
|
2570
2571
|
return (I = r.value) == null ? void 0 : I.enableFollow();
|
|
2571
2572
|
}),
|
|
2572
|
-
onMouseleave:
|
|
2573
|
+
onMouseleave: v[3] || (v[3] = async (c) => {
|
|
2573
2574
|
var I;
|
|
2574
2575
|
return (I = r.value) == null ? void 0 : I.disableFollow();
|
|
2575
2576
|
}),
|
|
2576
|
-
onMousemove:
|
|
2577
|
+
onMousemove: v[4] || (v[4] = async (c) => {
|
|
2577
2578
|
var I;
|
|
2578
|
-
return (I = r.value) == null ? void 0 : I.followByMouseEvent(
|
|
2579
|
+
return (I = r.value) == null ? void 0 : I.followByMouseEvent(c);
|
|
2579
2580
|
}),
|
|
2580
2581
|
class: R(d(z)("db-navigation-item", a.class)),
|
|
2581
2582
|
"data-width": h.width,
|
|
@@ -2587,8 +2588,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2587
2588
|
}, [
|
|
2588
2589
|
t.value ? q("", !0) : (m(), B(P, { key: 0 }, [
|
|
2589
2590
|
h.text ? (m(), B(P, { key: 0 }, [
|
|
2590
|
-
|
|
2591
|
-
], 64)) :
|
|
2591
|
+
N(L(h.text), 1)
|
|
2592
|
+
], 64)) : E(h.$slots, "default", { key: 1 })
|
|
2592
2593
|
], 64)),
|
|
2593
2594
|
t.value ? (m(), B(P, { key: 1 }, [
|
|
2594
2595
|
T("button", {
|
|
@@ -2596,32 +2597,32 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2596
2597
|
"aria-haspopup": e.value,
|
|
2597
2598
|
"aria-expanded": p.value,
|
|
2598
2599
|
disabled: d(M)(h.disabled, "disabled"),
|
|
2599
|
-
onClick:
|
|
2600
|
+
onClick: v[0] || (v[0] = async (c) => _(c))
|
|
2600
2601
|
}, [
|
|
2601
2602
|
h.text ? (m(), B(P, { key: 0 }, [
|
|
2602
|
-
|
|
2603
|
-
], 64)) :
|
|
2603
|
+
N(L(h.text), 1)
|
|
2604
|
+
], 64)) : E(h.$slots, "default", { key: 1 })
|
|
2604
2605
|
], 8, si),
|
|
2605
2606
|
T("menu", {
|
|
2606
2607
|
class: "db-sub-navigation",
|
|
2607
|
-
"data-
|
|
2608
|
+
"data-force-close": u.value,
|
|
2608
2609
|
id: g.value,
|
|
2609
|
-
onClick:
|
|
2610
|
+
onClick: v[1] || (v[1] = async (c) => f(c))
|
|
2610
2611
|
}, [
|
|
2611
2612
|
e.value ? (m(), B("div", ri, [
|
|
2612
2613
|
ae(Be, {
|
|
2613
2614
|
icon: "arrow_left",
|
|
2614
2615
|
variant: "ghost",
|
|
2615
2616
|
id: h.backButtonId,
|
|
2616
|
-
onClick: (
|
|
2617
|
+
onClick: (c) => S(c)
|
|
2617
2618
|
}, {
|
|
2618
2619
|
default: G(() => [
|
|
2619
|
-
|
|
2620
|
+
N(L(h.backButtonText ?? d(Ca)), 1)
|
|
2620
2621
|
]),
|
|
2621
2622
|
_: 1
|
|
2622
2623
|
}, 8, ["id", "onClick"])
|
|
2623
2624
|
])) : q("", !0),
|
|
2624
|
-
|
|
2625
|
+
E(h.$slots, "sub-navigation")
|
|
2625
2626
|
], 8, ui)
|
|
2626
2627
|
], 64)) : q("", !0)
|
|
2627
2628
|
], 42, ni));
|
|
@@ -2658,7 +2659,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2658
2659
|
text: { default: void 0 }
|
|
2659
2660
|
},
|
|
2660
2661
|
setup(i) {
|
|
2661
|
-
const a = i, l =
|
|
2662
|
+
const a = i, l = s(null);
|
|
2662
2663
|
function e(t) {
|
|
2663
2664
|
t && (t.stopPropagation(), a.onClose && a.onClose(t));
|
|
2664
2665
|
}
|
|
@@ -2674,15 +2675,15 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2674
2675
|
"data-hide-icon": d(X)(t.showIcon),
|
|
2675
2676
|
"data-link-variant": t.linkVariant
|
|
2676
2677
|
}, [
|
|
2677
|
-
|
|
2678
|
-
d(ee)(t.headline, t.showHeadline) ? (m(), B("header", vi,
|
|
2678
|
+
E(t.$slots, "image"),
|
|
2679
|
+
d(ee)(t.headline, t.showHeadline) ? (m(), B("header", vi, L(t.headline), 1)) : q("", !0),
|
|
2679
2680
|
T("p", null, [
|
|
2680
2681
|
t.text ? (m(), B(P, { key: 0 }, [
|
|
2681
|
-
|
|
2682
|
-
], 64)) :
|
|
2682
|
+
N(L(t.text), 1)
|
|
2683
|
+
], 64)) : E(t.$slots, "default", { key: 1 })
|
|
2683
2684
|
]),
|
|
2684
|
-
d(ee)(t.timestamp, t.showTimestamp) ? (m(), B("span", fi,
|
|
2685
|
-
|
|
2685
|
+
d(ee)(t.timestamp, t.showTimestamp) ? (m(), B("span", fi, L(t.timestamp), 1)) : q("", !0),
|
|
2686
|
+
E(t.$slots, "link"),
|
|
2686
2687
|
d(M)(t.closeable, "closeable") ? (m(), Z(Be, {
|
|
2687
2688
|
key: 2,
|
|
2688
2689
|
icon: "cross",
|
|
@@ -2693,7 +2694,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2693
2694
|
onClick: (u) => e(u)
|
|
2694
2695
|
}, {
|
|
2695
2696
|
default: G(() => [
|
|
2696
|
-
|
|
2697
|
+
N(L(t.closeButtonText ?? d(Ge)), 1)
|
|
2697
2698
|
]),
|
|
2698
2699
|
_: 1
|
|
2699
2700
|
}, 8, ["id", "onClick"])) : q("", !0)
|
|
@@ -2716,12 +2717,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2716
2717
|
autofocus: { type: [Boolean, String] }
|
|
2717
2718
|
},
|
|
2718
2719
|
setup(i) {
|
|
2719
|
-
const a = i, l =
|
|
2720
|
+
const a = i, l = s(!1), e = s(null);
|
|
2720
2721
|
return typeof window < "u" && document && (a.documentOverflow === "hidden" || a.variant === "fixed" && a.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), K(() => {
|
|
2721
2722
|
l.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
|
|
2722
2723
|
l.value = !0;
|
|
2723
2724
|
}) : l.value = !0;
|
|
2724
|
-
}),
|
|
2725
|
+
}), Ta(() => {
|
|
2725
2726
|
typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
|
|
2726
2727
|
}), (t, p) => (m(), B("div", {
|
|
2727
2728
|
ref_key: "_ref",
|
|
@@ -2732,13 +2733,13 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2732
2733
|
"data-fade-in": d(j)(t.fadeIn),
|
|
2733
2734
|
"data-fonts-loaded": d(j)(l.value)
|
|
2734
2735
|
}, [
|
|
2735
|
-
|
|
2736
|
+
E(t.$slots, "header"),
|
|
2736
2737
|
T("main", {
|
|
2737
2738
|
class: R(d(z)("db-main", t.mainClass))
|
|
2738
2739
|
}, [
|
|
2739
|
-
|
|
2740
|
+
E(t.$slots, "default")
|
|
2740
2741
|
], 2),
|
|
2741
|
-
|
|
2742
|
+
E(t.$slots, "footer")
|
|
2742
2743
|
], 10, pi));
|
|
2743
2744
|
}
|
|
2744
2745
|
}), hi = ["id"], mi = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], bl = /* @__PURE__ */ V({
|
|
@@ -2760,25 +2761,25 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2760
2761
|
width: { default: void 0 }
|
|
2761
2762
|
},
|
|
2762
2763
|
setup(i) {
|
|
2763
|
-
const a = i, l =
|
|
2764
|
+
const a = i, l = s(!1), e = s(!1), t = s(void 0), p = s(void 0), u = s(null);
|
|
2764
2765
|
K(() => {
|
|
2765
2766
|
l.value = !0;
|
|
2766
|
-
}),
|
|
2767
|
+
}), D(
|
|
2767
2768
|
() => [u.value, l.value],
|
|
2768
2769
|
() => {
|
|
2769
2770
|
if (u.value && l.value) {
|
|
2770
2771
|
l.value = !1;
|
|
2771
|
-
const h =
|
|
2772
|
+
const h = S();
|
|
2772
2773
|
h && (h.ariaHasPopup = "true"), r(), u.value.addEventListener(
|
|
2773
2774
|
"keydown",
|
|
2774
|
-
(
|
|
2775
|
-
), ["mouseenter", "focusin"].forEach((
|
|
2776
|
-
u.value.addEventListener(
|
|
2777
|
-
}), ["mouseleave", "focusout"].forEach((
|
|
2778
|
-
u.value.addEventListener(
|
|
2779
|
-
}), typeof window < "u" && "IntersectionObserver" in window && (p.value = new IntersectionObserver((
|
|
2780
|
-
const
|
|
2781
|
-
|
|
2775
|
+
(v) => g(v)
|
|
2776
|
+
), ["mouseenter", "focusin"].forEach((v) => {
|
|
2777
|
+
u.value.addEventListener(v, () => f());
|
|
2778
|
+
}), ["mouseleave", "focusout"].forEach((v) => {
|
|
2779
|
+
u.value.addEventListener(v, () => _());
|
|
2780
|
+
}), typeof window < "u" && "IntersectionObserver" in window && (p.value = new IntersectionObserver((v) => {
|
|
2781
|
+
const c = v.find(({ target: I }) => I === S());
|
|
2782
|
+
c && !c.isIntersecting && g(!1);
|
|
2782
2783
|
}));
|
|
2783
2784
|
}
|
|
2784
2785
|
},
|
|
@@ -2786,11 +2787,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2786
2787
|
immediate: !0,
|
|
2787
2788
|
flush: "post"
|
|
2788
2789
|
}
|
|
2789
|
-
),
|
|
2790
|
+
), D(
|
|
2790
2791
|
() => [u.value, e.value],
|
|
2791
2792
|
() => {
|
|
2792
2793
|
if (u.value) {
|
|
2793
|
-
const h =
|
|
2794
|
+
const h = S();
|
|
2794
2795
|
h && (h.ariaExpanded = (!!e.value).toString());
|
|
2795
2796
|
}
|
|
2796
2797
|
},
|
|
@@ -2801,8 +2802,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2801
2802
|
);
|
|
2802
2803
|
function g(h) {
|
|
2803
2804
|
if (!h || h.key === "Escape")
|
|
2804
|
-
for (const
|
|
2805
|
-
|
|
2805
|
+
for (const v of Array.from(u.value.children))
|
|
2806
|
+
v.blur();
|
|
2806
2807
|
}
|
|
2807
2808
|
function r() {
|
|
2808
2809
|
if (!u.value) return;
|
|
@@ -2815,46 +2816,46 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2815
2816
|
);
|
|
2816
2817
|
}, 1);
|
|
2817
2818
|
}
|
|
2818
|
-
function
|
|
2819
|
-
var
|
|
2820
|
-
(
|
|
2819
|
+
function n(h) {
|
|
2820
|
+
var v, c;
|
|
2821
|
+
(v = h == null ? void 0 : h.target) != null && v.contains && ((c = h == null ? void 0 : h.target) != null && c.contains(u.value)) && r();
|
|
2821
2822
|
}
|
|
2822
|
-
function
|
|
2823
|
-
var
|
|
2823
|
+
function f() {
|
|
2824
|
+
var v;
|
|
2824
2825
|
e.value = !0, t.value = new Ie().addCallback(
|
|
2825
|
-
(
|
|
2826
|
+
(c) => n(c)
|
|
2826
2827
|
), r();
|
|
2827
|
-
const h =
|
|
2828
|
-
h && ((
|
|
2828
|
+
const h = S();
|
|
2829
|
+
h && ((v = p.value) == null || v.observe(h));
|
|
2829
2830
|
}
|
|
2830
|
-
function
|
|
2831
|
-
var
|
|
2831
|
+
function _(h) {
|
|
2832
|
+
var v;
|
|
2832
2833
|
{
|
|
2833
2834
|
e.value = !1, t.value && new Ie().removeCallback(
|
|
2834
2835
|
t.value
|
|
2835
2836
|
);
|
|
2836
|
-
const
|
|
2837
|
-
|
|
2837
|
+
const c = S();
|
|
2838
|
+
c && ((v = p.value) == null || v.unobserve(c));
|
|
2838
2839
|
}
|
|
2839
2840
|
}
|
|
2840
|
-
function
|
|
2841
|
+
function S() {
|
|
2841
2842
|
var h;
|
|
2842
2843
|
if (u.value) {
|
|
2843
|
-
const
|
|
2844
|
-
if (
|
|
2845
|
-
const
|
|
2846
|
-
return
|
|
2844
|
+
const v = Array.from(u.value.children);
|
|
2845
|
+
if (v.length >= 2) {
|
|
2846
|
+
const c = v[0];
|
|
2847
|
+
return c.tagName.includes("-") ? ((h = c.children) == null ? void 0 : h.length) > 0 ? c.children[0] : null : c;
|
|
2847
2848
|
}
|
|
2848
2849
|
}
|
|
2849
2850
|
return null;
|
|
2850
2851
|
}
|
|
2851
|
-
return (h,
|
|
2852
|
+
return (h, v) => (m(), B("div", {
|
|
2852
2853
|
ref_key: "_ref",
|
|
2853
2854
|
ref: u,
|
|
2854
2855
|
id: h.id,
|
|
2855
2856
|
class: R(d(z)("db-popover", a.class))
|
|
2856
2857
|
}, [
|
|
2857
|
-
|
|
2858
|
+
E(h.$slots, "trigger"),
|
|
2858
2859
|
T("article", {
|
|
2859
2860
|
class: "db-popover-content",
|
|
2860
2861
|
"data-spacing": h.spacing,
|
|
@@ -2865,11 +2866,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2865
2866
|
"data-width": h.width,
|
|
2866
2867
|
"data-placement": h.placement
|
|
2867
2868
|
}, [
|
|
2868
|
-
|
|
2869
|
+
E(h.$slots, "default")
|
|
2869
2870
|
], 8, mi)
|
|
2870
2871
|
], 10, hi));
|
|
2871
2872
|
}
|
|
2872
|
-
}), gi = ["data-size", "data-hide-label", "for"], bi = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"
|
|
2873
|
+
}), gi = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], bi = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"], yl = /* @__PURE__ */ V({
|
|
2873
2874
|
__name: "radio",
|
|
2874
2875
|
props: {
|
|
2875
2876
|
children: { default: void 0 },
|
|
@@ -2899,10 +2900,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2899
2900
|
},
|
|
2900
2901
|
emits: ["update:value"],
|
|
2901
2902
|
setup(i, { emit: a }) {
|
|
2902
|
-
const l = a, e = i, t =
|
|
2903
|
+
const l = a, e = i, t = s(!1), p = s(void 0), u = s(null);
|
|
2903
2904
|
K(() => {
|
|
2904
2905
|
t.value = !0, p.value = e.id ?? `radio-${Q()}`;
|
|
2905
|
-
}),
|
|
2906
|
+
}), D(
|
|
2906
2907
|
() => [t.value, u.value, e.checked],
|
|
2907
2908
|
() => {
|
|
2908
2909
|
e.checked && t.value && u.value && (u.value.checked = !0);
|
|
@@ -2912,42 +2913,42 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2912
2913
|
flush: "post"
|
|
2913
2914
|
}
|
|
2914
2915
|
);
|
|
2915
|
-
function g(
|
|
2916
|
-
e.onChange && e.onChange(
|
|
2916
|
+
function g(f) {
|
|
2917
|
+
e.onChange && e.onChange(f), se(l, f);
|
|
2917
2918
|
}
|
|
2918
|
-
function r(
|
|
2919
|
-
e.onBlur && e.onBlur(
|
|
2919
|
+
function r(f) {
|
|
2920
|
+
e.onBlur && e.onBlur(f);
|
|
2920
2921
|
}
|
|
2921
|
-
function
|
|
2922
|
-
e.onFocus && e.onFocus(
|
|
2922
|
+
function n(f) {
|
|
2923
|
+
e.onFocus && e.onFocus(f);
|
|
2923
2924
|
}
|
|
2924
|
-
return (
|
|
2925
|
-
"data-size":
|
|
2926
|
-
"data-hide-label": d(X)(
|
|
2925
|
+
return (f, _) => (m(), B("label", {
|
|
2926
|
+
"data-size": f.size,
|
|
2927
|
+
"data-hide-label": d(X)(f.showLabel),
|
|
2928
|
+
"data-hide-asterisk": d(X)(f.showRequiredAsterisk),
|
|
2927
2929
|
class: R(d(z)("db-radio", e.class)),
|
|
2928
2930
|
for: p.value
|
|
2929
2931
|
}, [
|
|
2930
2932
|
T("input", {
|
|
2931
2933
|
type: "radio",
|
|
2932
|
-
"aria-invalid":
|
|
2933
|
-
"data-custom-validity":
|
|
2934
|
+
"aria-invalid": f.validation === "invalid",
|
|
2935
|
+
"data-custom-validity": f.validation,
|
|
2934
2936
|
ref_key: "_ref",
|
|
2935
2937
|
ref: u,
|
|
2936
2938
|
id: p.value,
|
|
2937
|
-
name:
|
|
2938
|
-
checked: d(M)(
|
|
2939
|
-
disabled: d(M)(
|
|
2940
|
-
"aria-describedby":
|
|
2941
|
-
value:
|
|
2942
|
-
required: d(M)(
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
onFocus: L[2] || (L[2] = async (y) => c(y))
|
|
2939
|
+
name: f.name,
|
|
2940
|
+
checked: d(M)(f.checked, "checked"),
|
|
2941
|
+
disabled: d(M)(f.disabled, "disabled"),
|
|
2942
|
+
"aria-describedby": f.describedbyid ?? f.ariaDescribedBy,
|
|
2943
|
+
value: f.value,
|
|
2944
|
+
required: d(M)(f.required, "required"),
|
|
2945
|
+
onChange: _[0] || (_[0] = async (S) => g(S)),
|
|
2946
|
+
onBlur: _[1] || (_[1] = async (S) => r(S)),
|
|
2947
|
+
onFocus: _[2] || (_[2] = async (S) => n(S))
|
|
2947
2948
|
}, null, 40, bi),
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
], 64)) :
|
|
2949
|
+
f.label ? (m(), B(P, { key: 0 }, [
|
|
2950
|
+
N(L(f.label), 1)
|
|
2951
|
+
], 64)) : E(f.$slots, "default", { key: 1 })
|
|
2951
2952
|
], 10, gi));
|
|
2952
2953
|
}
|
|
2953
2954
|
}), yi = ["id", "data-spacing", "data-width"], kl = /* @__PURE__ */ V({
|
|
@@ -2963,7 +2964,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2963
2964
|
width: { default: void 0 }
|
|
2964
2965
|
},
|
|
2965
2966
|
setup(i) {
|
|
2966
|
-
const a = i, l =
|
|
2967
|
+
const a = i, l = s(Le), e = s(null);
|
|
2967
2968
|
return K(() => {
|
|
2968
2969
|
l.value = a.id || "section-" + Q();
|
|
2969
2970
|
}), (t, p) => (m(), B("section", {
|
|
@@ -2974,10 +2975,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2974
2975
|
"data-spacing": t.spacing || "medium",
|
|
2975
2976
|
"data-width": t.width
|
|
2976
2977
|
}, [
|
|
2977
|
-
|
|
2978
|
+
E(t.$slots, "default")
|
|
2978
2979
|
], 10, yi));
|
|
2979
2980
|
}
|
|
2980
|
-
}), ki = ["data-variant", "data-hide-label", "data-icon", "data-hide-icon"], wi = ["for"], Si = ["aria-invalid", "data-custom-validity", "required", "
|
|
2981
|
+
}), ki = ["data-variant", "data-hide-label", "data-hide-asterisk", "data-icon", "data-hide-icon"], wi = ["for"], Si = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], Bi = ["label"], Ii = ["value", "selected", "disabled"], $i = ["value", "disabled", "selected"], Li = ["id"], _i = {
|
|
2981
2982
|
"data-visually-hidden": "true",
|
|
2982
2983
|
role: "status"
|
|
2983
2984
|
}, wl = /* @__PURE__ */ V({
|
|
@@ -3024,102 +3025,102 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3024
3025
|
},
|
|
3025
3026
|
emits: ["update:value"],
|
|
3026
3027
|
setup(i, { emit: a }) {
|
|
3027
|
-
const l = a, e = i, t =
|
|
3028
|
+
const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(""), f = s(""), _ = s(""), S = s(!1), h = s(""), v = s(null);
|
|
3028
3029
|
K(() => {
|
|
3029
|
-
|
|
3030
|
-
const
|
|
3031
|
-
t.value =
|
|
3032
|
-
}),
|
|
3033
|
-
() => [
|
|
3030
|
+
S.value = !0;
|
|
3031
|
+
const w = e.id ?? `select-${Q()}`;
|
|
3032
|
+
t.value = w, p.value = w + ve, u.value = w + fe, g.value = w + pe, n.value = w + Re, r.value = e.invalidMessage || ie;
|
|
3033
|
+
}), D(
|
|
3034
|
+
() => [v.value, e.invalidMessage],
|
|
3034
3035
|
() => {
|
|
3035
|
-
var
|
|
3036
|
-
r.value = e.invalidMessage || ((
|
|
3036
|
+
var w;
|
|
3037
|
+
r.value = e.invalidMessage || ((w = v.value) == null ? void 0 : w.validationMessage) || ie;
|
|
3037
3038
|
},
|
|
3038
3039
|
{
|
|
3039
3040
|
immediate: !0,
|
|
3040
3041
|
flush: "post"
|
|
3041
3042
|
}
|
|
3042
|
-
),
|
|
3043
|
-
() => [t.value,
|
|
3043
|
+
), D(
|
|
3044
|
+
() => [t.value, S.value],
|
|
3044
3045
|
() => {
|
|
3045
|
-
if (t.value &&
|
|
3046
|
-
const
|
|
3047
|
-
p.value =
|
|
3046
|
+
if (t.value && S.value) {
|
|
3047
|
+
const w = t.value + ve, H = t.value + Re;
|
|
3048
|
+
p.value = w, u.value = t.value + fe, g.value = t.value + pe, n.value = H, ee(e.message, e.showMessage) ? f.value = w : f.value = H, S.value = !1;
|
|
3048
3049
|
}
|
|
3049
3050
|
},
|
|
3050
3051
|
{
|
|
3051
3052
|
immediate: !0,
|
|
3052
3053
|
flush: "post"
|
|
3053
3054
|
}
|
|
3054
|
-
),
|
|
3055
|
+
), D(
|
|
3055
3056
|
() => [e.value],
|
|
3056
3057
|
() => {
|
|
3057
|
-
|
|
3058
|
+
_.value = e.value;
|
|
3058
3059
|
},
|
|
3059
3060
|
{
|
|
3060
3061
|
immediate: !0,
|
|
3061
3062
|
flush: "post"
|
|
3062
3063
|
}
|
|
3063
3064
|
);
|
|
3064
|
-
function
|
|
3065
|
+
function c() {
|
|
3065
3066
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
3066
3067
|
}
|
|
3067
3068
|
function I() {
|
|
3068
|
-
var
|
|
3069
|
-
!((
|
|
3069
|
+
var w, H, le;
|
|
3070
|
+
!((w = v.value) != null && w.validity.valid) || e.validation === "invalid" ? (f.value = g.value, r.value = e.invalidMessage || ((H = v.value) == null ? void 0 : H.validationMessage) || ie, me() && (h.value = r.value, x(() => h.value = "", 1e3))) : c() && ((le = v.value) != null && le.validity.valid) && e.required ? (f.value = u.value, me() && (h.value = e.validMessage ?? he, x(() => h.value = "", 1e3))) : ee(e.message, e.showMessage) ? f.value = p.value : f.value = n.value;
|
|
3070
3071
|
}
|
|
3071
|
-
function A(
|
|
3072
|
-
e.onClick && e.onClick(
|
|
3072
|
+
function A(w) {
|
|
3073
|
+
e.onClick && e.onClick(w);
|
|
3073
3074
|
}
|
|
3074
|
-
function b(
|
|
3075
|
-
e.input && e.input(
|
|
3075
|
+
function b(w) {
|
|
3076
|
+
e.input && e.input(w), _.value = w.target.value, e.onInput && e.onInput(w), se(l, w), I();
|
|
3076
3077
|
}
|
|
3077
|
-
function w
|
|
3078
|
-
e.onChange && e.onChange(
|
|
3078
|
+
function k(w) {
|
|
3079
|
+
e.onChange && e.onChange(w), se(l, w), I();
|
|
3079
3080
|
}
|
|
3080
|
-
function W(
|
|
3081
|
-
e.onBlur && e.onBlur(
|
|
3081
|
+
function W(w) {
|
|
3082
|
+
e.onBlur && e.onBlur(w);
|
|
3082
3083
|
}
|
|
3083
|
-
function
|
|
3084
|
-
e.onFocus && e.onFocus(
|
|
3084
|
+
function y(w) {
|
|
3085
|
+
e.onFocus && e.onFocus(w);
|
|
3085
3086
|
}
|
|
3086
|
-
function O(
|
|
3087
|
+
function O(w) {
|
|
3087
3088
|
var H;
|
|
3088
|
-
return
|
|
3089
|
+
return w.label ?? ((H = w.value) == null ? void 0 : H.toString());
|
|
3089
3090
|
}
|
|
3090
|
-
return (
|
|
3091
|
+
return (w, H) => {
|
|
3091
3092
|
var le;
|
|
3092
3093
|
return m(), B("div", {
|
|
3093
3094
|
class: R(d(z)("db-select", e.class)),
|
|
3094
|
-
"data-variant":
|
|
3095
|
-
"data-hide-label": d(X)(
|
|
3096
|
-
"data-
|
|
3097
|
-
"data-
|
|
3095
|
+
"data-variant": w.variant,
|
|
3096
|
+
"data-hide-label": d(X)(w.showLabel),
|
|
3097
|
+
"data-hide-asterisk": d(X)(w.showRequiredAsterisk),
|
|
3098
|
+
"data-icon": w.icon,
|
|
3099
|
+
"data-hide-icon": d(X)(w.showIcon)
|
|
3098
3100
|
}, [
|
|
3099
|
-
T("label", { for: t.value },
|
|
3101
|
+
T("label", { for: t.value }, L(w.label ?? d(we)), 9, wi),
|
|
3100
3102
|
T("select", {
|
|
3101
|
-
"aria-invalid":
|
|
3102
|
-
"data-custom-validity":
|
|
3103
|
+
"aria-invalid": w.validation === "invalid",
|
|
3104
|
+
"data-custom-validity": w.validation,
|
|
3103
3105
|
ref_key: "_ref",
|
|
3104
|
-
ref:
|
|
3105
|
-
required: d(M)(
|
|
3106
|
-
|
|
3107
|
-
disabled: d(M)(S.disabled, "disabled"),
|
|
3106
|
+
ref: v,
|
|
3107
|
+
required: d(M)(w.required, "required"),
|
|
3108
|
+
disabled: d(M)(w.disabled, "disabled"),
|
|
3108
3109
|
id: t.value,
|
|
3109
|
-
name:
|
|
3110
|
-
size:
|
|
3111
|
-
value:
|
|
3112
|
-
autocomplete:
|
|
3113
|
-
multiple:
|
|
3110
|
+
name: w.name,
|
|
3111
|
+
size: w.size,
|
|
3112
|
+
value: w.value ?? _.value,
|
|
3113
|
+
autocomplete: w.autocomplete,
|
|
3114
|
+
multiple: w.multiple,
|
|
3114
3115
|
onInput: H[0] || (H[0] = async (J) => b(J)),
|
|
3115
3116
|
onClick: H[1] || (H[1] = async (J) => A(J)),
|
|
3116
|
-
onChange: H[2] || (H[2] = async (J) =>
|
|
3117
|
+
onChange: H[2] || (H[2] = async (J) => k(J)),
|
|
3117
3118
|
onBlur: H[3] || (H[3] = async (J) => W(J)),
|
|
3118
|
-
onFocus: H[4] || (H[4] = async (J) =>
|
|
3119
|
-
"aria-describedby":
|
|
3119
|
+
onFocus: H[4] || (H[4] = async (J) => y(J)),
|
|
3120
|
+
"aria-describedby": w.ariaDescribedBy ?? f.value
|
|
3120
3121
|
}, [
|
|
3121
3122
|
H[5] || (H[5] = T("option", { hidden: !0 }, null, -1)),
|
|
3122
|
-
(le =
|
|
3123
|
+
(le = w.options) != null && le.length ? (m(!0), B(P, { key: 0 }, be(w.options, (J, Ne) => (m(), B(P, { key: Ne }, [
|
|
3123
3124
|
J.options ? (m(), B("optgroup", {
|
|
3124
3125
|
key: 0,
|
|
3125
3126
|
label: O(J)
|
|
@@ -3129,35 +3130,35 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3129
3130
|
value: ye.value,
|
|
3130
3131
|
selected: ye.selected,
|
|
3131
3132
|
disabled: ye.disabled
|
|
3132
|
-
},
|
|
3133
|
+
}, L(O(ye)), 9, Ii))), 128))
|
|
3133
3134
|
], 8, Bi)) : (m(), B("option", {
|
|
3134
3135
|
key: 1,
|
|
3135
3136
|
value: J.value,
|
|
3136
3137
|
disabled: J.disabled,
|
|
3137
3138
|
selected: J.selected
|
|
3138
|
-
},
|
|
3139
|
-
], 64))), 128)) :
|
|
3139
|
+
}, L(O(J)), 9, $i))
|
|
3140
|
+
], 64))), 128)) : E(w.$slots, "default", { key: 1 })
|
|
3140
3141
|
], 40, Si),
|
|
3141
|
-
T("span", { id:
|
|
3142
|
-
d(ee)(
|
|
3142
|
+
T("span", { id: n.value }, L(w.placeholder ?? w.label), 9, Li),
|
|
3143
|
+
d(ee)(w.message, w.showMessage) ? (m(), Z(te, {
|
|
3143
3144
|
key: 0,
|
|
3144
3145
|
size: "small",
|
|
3145
|
-
icon:
|
|
3146
|
+
icon: w.messageIcon,
|
|
3146
3147
|
id: p.value
|
|
3147
3148
|
}, {
|
|
3148
3149
|
default: G(() => [
|
|
3149
|
-
|
|
3150
|
+
N(L(w.message), 1)
|
|
3150
3151
|
]),
|
|
3151
3152
|
_: 1
|
|
3152
3153
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
3153
|
-
|
|
3154
|
+
c() ? (m(), Z(te, {
|
|
3154
3155
|
key: 1,
|
|
3155
3156
|
size: "small",
|
|
3156
3157
|
semantic: "successful",
|
|
3157
3158
|
id: u.value
|
|
3158
3159
|
}, {
|
|
3159
3160
|
default: G(() => [
|
|
3160
|
-
|
|
3161
|
+
N(L(w.validMessage || d(he)), 1)
|
|
3161
3162
|
]),
|
|
3162
3163
|
_: 1
|
|
3163
3164
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -3167,11 +3168,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3167
3168
|
id: g.value
|
|
3168
3169
|
}, {
|
|
3169
3170
|
default: G(() => [
|
|
3170
|
-
|
|
3171
|
+
N(L(r.value), 1)
|
|
3171
3172
|
]),
|
|
3172
3173
|
_: 1
|
|
3173
3174
|
}, 8, ["id"]),
|
|
3174
|
-
T("span", _i,
|
|
3175
|
+
T("span", _i, L(h.value), 1)
|
|
3175
3176
|
], 10, ki);
|
|
3176
3177
|
};
|
|
3177
3178
|
}
|
|
@@ -3192,7 +3193,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3192
3193
|
gap: { default: void 0 }
|
|
3193
3194
|
},
|
|
3194
3195
|
setup(i) {
|
|
3195
|
-
const a = i, l =
|
|
3196
|
+
const a = i, l = s(null);
|
|
3196
3197
|
return (e, t) => (m(), B("div", {
|
|
3197
3198
|
ref_key: "_ref",
|
|
3198
3199
|
ref: l,
|
|
@@ -3205,10 +3206,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3205
3206
|
"data-justify-content": e.justifyContent,
|
|
3206
3207
|
"data-wrap": d(j)(e.wrap)
|
|
3207
3208
|
}, [
|
|
3208
|
-
|
|
3209
|
+
E(e.$slots, "default")
|
|
3209
3210
|
], 10, Ti));
|
|
3210
3211
|
}
|
|
3211
|
-
}), Ai = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for"], Ci = ["id", "
|
|
3212
|
+
}), Ai = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for", "data-hide-asterisk"], Ci = ["id", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-after"], Bl = /* @__PURE__ */ V({
|
|
3212
3213
|
__name: "switch",
|
|
3213
3214
|
props: {
|
|
3214
3215
|
visualAid: { type: [Boolean, String], default: void 0 },
|
|
@@ -3242,65 +3243,54 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3242
3243
|
},
|
|
3243
3244
|
emits: ["update:checked"],
|
|
3244
3245
|
setup(i, { emit: a }) {
|
|
3245
|
-
const l = a, e = i, t =
|
|
3246
|
+
const l = a, e = i, t = s(void 0), p = s(null);
|
|
3246
3247
|
K(() => {
|
|
3247
3248
|
t.value = e.id ?? `switch-${Q()}`;
|
|
3248
|
-
})
|
|
3249
|
-
|
|
3250
|
-
()
|
|
3251
|
-
e.checked !== void 0 && e.checked !== null && (p.value = M(e.checked));
|
|
3252
|
-
},
|
|
3253
|
-
{
|
|
3254
|
-
immediate: !0,
|
|
3255
|
-
flush: "post"
|
|
3256
|
-
}
|
|
3257
|
-
);
|
|
3258
|
-
function g(s) {
|
|
3259
|
-
var L;
|
|
3260
|
-
e.onChange && e.onChange(s), p.value = (L = s.target) == null ? void 0 : L.checked, se(l, s, "checked");
|
|
3249
|
+
});
|
|
3250
|
+
function u(n) {
|
|
3251
|
+
e.onChange && e.onChange(n), se(l, n, "checked");
|
|
3261
3252
|
}
|
|
3262
|
-
function
|
|
3263
|
-
e.onBlur && e.onBlur(
|
|
3253
|
+
function g(n) {
|
|
3254
|
+
e.onBlur && e.onBlur(n);
|
|
3264
3255
|
}
|
|
3265
|
-
function
|
|
3266
|
-
e.onFocus && e.onFocus(
|
|
3256
|
+
function r(n) {
|
|
3257
|
+
e.onFocus && e.onFocus(n);
|
|
3267
3258
|
}
|
|
3268
|
-
return (
|
|
3269
|
-
"data-visual-aid": d(j)(
|
|
3270
|
-
"data-size":
|
|
3271
|
-
"data-hide-label": d(X)(
|
|
3272
|
-
"data-emphasis":
|
|
3259
|
+
return (n, f) => (m(), B("label", {
|
|
3260
|
+
"data-visual-aid": d(j)(n.visualAid),
|
|
3261
|
+
"data-size": n.size,
|
|
3262
|
+
"data-hide-label": d(X)(n.showLabel),
|
|
3263
|
+
"data-emphasis": n.emphasis,
|
|
3273
3264
|
for: t.value,
|
|
3265
|
+
"data-hide-asterisk": d(X)(n.showRequiredAsterisk),
|
|
3274
3266
|
class: R(d(z)("db-switch", e.class))
|
|
3275
3267
|
}, [
|
|
3276
3268
|
T("input", {
|
|
3277
3269
|
type: "checkbox",
|
|
3278
3270
|
role: "switch",
|
|
3279
3271
|
id: t.value,
|
|
3280
|
-
"aria-checked": d(j)(p.value),
|
|
3281
3272
|
ref_key: "_ref",
|
|
3282
|
-
ref:
|
|
3283
|
-
checked: d(M)(
|
|
3284
|
-
value:
|
|
3285
|
-
disabled: d(M)(
|
|
3286
|
-
"aria-describedby":
|
|
3287
|
-
"aria-invalid":
|
|
3288
|
-
"data-custom-validity":
|
|
3289
|
-
name:
|
|
3290
|
-
required: d(M)(
|
|
3291
|
-
"data-
|
|
3292
|
-
"data-aid-icon":
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
onFocus: L[2] || (L[2] = async (y) => c(y))
|
|
3273
|
+
ref: p,
|
|
3274
|
+
checked: d(M)(n.checked, "checked"),
|
|
3275
|
+
value: n.value,
|
|
3276
|
+
disabled: d(M)(n.disabled, "disabled"),
|
|
3277
|
+
"aria-describedby": n.describedbyid ?? n.ariaDescribedBy,
|
|
3278
|
+
"aria-invalid": n.validation === "invalid",
|
|
3279
|
+
"data-custom-validity": n.validation,
|
|
3280
|
+
name: n.name,
|
|
3281
|
+
required: d(M)(n.required, "required"),
|
|
3282
|
+
"data-aid-icon": n.icon,
|
|
3283
|
+
"data-aid-icon-after": n.iconAfter,
|
|
3284
|
+
onChange: f[0] || (f[0] = async (_) => u(_)),
|
|
3285
|
+
onBlur: f[1] || (f[1] = async (_) => g(_)),
|
|
3286
|
+
onFocus: f[2] || (f[2] = async (_) => r(_))
|
|
3297
3287
|
}, null, 40, Ci),
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
], 64)) :
|
|
3288
|
+
n.label ? (m(), B(P, { key: 0 }, [
|
|
3289
|
+
N(L(n.label), 1)
|
|
3290
|
+
], 64)) : E(n.$slots, "default", { key: 1 })
|
|
3301
3291
|
], 10, Ai));
|
|
3302
3292
|
}
|
|
3303
|
-
}), Ei = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Di = ["disabled", "aria-selected", "aria-controls", "checked", "name", "id"],
|
|
3293
|
+
}), Ei = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Di = ["disabled", "aria-selected", "aria-controls", "checked", "name", "id"], Ni = /* @__PURE__ */ V({
|
|
3304
3294
|
__name: "tab-item",
|
|
3305
3295
|
props: {
|
|
3306
3296
|
children: { default: void 0 },
|
|
@@ -3324,10 +3314,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3324
3314
|
},
|
|
3325
3315
|
emits: ["update:checked"],
|
|
3326
3316
|
setup(i, { emit: a }) {
|
|
3327
|
-
const l = a, e = i, t =
|
|
3317
|
+
const l = a, e = i, t = s(!1), p = s(void 0), u = s(!1), g = s(null);
|
|
3328
3318
|
K(() => {
|
|
3329
3319
|
u.value = !0;
|
|
3330
|
-
}),
|
|
3320
|
+
}), D(
|
|
3331
3321
|
() => [g.value, u.value],
|
|
3332
3322
|
() => {
|
|
3333
3323
|
u.value && g.value && (e.active && g.value.click(), u.value = !1);
|
|
@@ -3336,7 +3326,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3336
3326
|
immediate: !0,
|
|
3337
3327
|
flush: "post"
|
|
3338
3328
|
}
|
|
3339
|
-
),
|
|
3329
|
+
), D(
|
|
3340
3330
|
() => [e.name],
|
|
3341
3331
|
() => {
|
|
3342
3332
|
e.name && (p.value = e.name);
|
|
@@ -3346,43 +3336,43 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3346
3336
|
flush: "post"
|
|
3347
3337
|
}
|
|
3348
3338
|
);
|
|
3349
|
-
function r(
|
|
3350
|
-
var
|
|
3351
|
-
|
|
3339
|
+
function r(n) {
|
|
3340
|
+
var f;
|
|
3341
|
+
n.stopPropagation(), e.onChange && e.onChange(n), t.value = (f = n.target) == null ? void 0 : f.checked, se(l, n, "checked");
|
|
3352
3342
|
}
|
|
3353
|
-
return (
|
|
3343
|
+
return (n, f) => (m(), B("li", {
|
|
3354
3344
|
role: "none",
|
|
3355
3345
|
class: R(d(z)("db-tab-item", e.class))
|
|
3356
3346
|
}, [
|
|
3357
3347
|
T("label", {
|
|
3358
|
-
for:
|
|
3359
|
-
"data-icon":
|
|
3360
|
-
"data-icon-after":
|
|
3361
|
-
"data-hide-icon": d(X)(
|
|
3362
|
-
"data-hide-icon-after": d(X)(
|
|
3363
|
-
"data-no-text": d(j)(
|
|
3348
|
+
for: n.id,
|
|
3349
|
+
"data-icon": n.icon,
|
|
3350
|
+
"data-icon-after": n.iconAfter,
|
|
3351
|
+
"data-hide-icon": d(X)(n.showIcon),
|
|
3352
|
+
"data-hide-icon-after": d(X)(n.showIcon),
|
|
3353
|
+
"data-no-text": d(j)(n.noText)
|
|
3364
3354
|
}, [
|
|
3365
3355
|
T("input", {
|
|
3366
3356
|
type: "radio",
|
|
3367
3357
|
role: "tab",
|
|
3368
|
-
disabled: d(M)(
|
|
3358
|
+
disabled: d(M)(n.disabled, "disabled"),
|
|
3369
3359
|
"aria-selected": t.value,
|
|
3370
|
-
"aria-controls":
|
|
3371
|
-
checked: d(M)(
|
|
3360
|
+
"aria-controls": n.controls,
|
|
3361
|
+
checked: d(M)(n.checked, "checked"),
|
|
3372
3362
|
ref_key: "_ref",
|
|
3373
3363
|
ref: g,
|
|
3374
3364
|
name: p.value,
|
|
3375
|
-
id:
|
|
3376
|
-
onInput:
|
|
3365
|
+
id: n.id,
|
|
3366
|
+
onInput: f[0] || (f[0] = async (_) => r(_))
|
|
3377
3367
|
}, null, 40, Di),
|
|
3378
|
-
|
|
3379
|
-
|
|
3368
|
+
n.label ? (m(), B(P, { key: 0 }, [
|
|
3369
|
+
N(L(n.label), 1)
|
|
3380
3370
|
], 64)) : q("", !0),
|
|
3381
|
-
|
|
3371
|
+
E(n.$slots, "default")
|
|
3382
3372
|
], 8, Ei)
|
|
3383
3373
|
], 2));
|
|
3384
3374
|
}
|
|
3385
|
-
}),
|
|
3375
|
+
}), Fi = ["id"], Mi = { role: "tablist" }, Ri = /* @__PURE__ */ V({
|
|
3386
3376
|
__name: "tab-list",
|
|
3387
3377
|
props: {
|
|
3388
3378
|
children: { default: void 0 },
|
|
@@ -3393,7 +3383,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3393
3383
|
autofocus: { type: [Boolean, String] }
|
|
3394
3384
|
},
|
|
3395
3385
|
setup(i) {
|
|
3396
|
-
const a = i, l =
|
|
3386
|
+
const a = i, l = s(Le), e = s(null);
|
|
3397
3387
|
return K(() => {
|
|
3398
3388
|
l.value = a.id || "tab-list-" + Q();
|
|
3399
3389
|
}), (t, p) => (m(), B("div", {
|
|
@@ -3403,9 +3393,9 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3403
3393
|
class: R(d(z)("db-tab-list", a.class))
|
|
3404
3394
|
}, [
|
|
3405
3395
|
T("ul", Mi, [
|
|
3406
|
-
|
|
3396
|
+
E(t.$slots, "default")
|
|
3407
3397
|
])
|
|
3408
|
-
], 10,
|
|
3398
|
+
], 10, Fi));
|
|
3409
3399
|
}
|
|
3410
3400
|
}), zi = ["id", "aria-labelledby"], qi = /* @__PURE__ */ V({
|
|
3411
3401
|
__name: "tab-panel",
|
|
@@ -3420,7 +3410,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3420
3410
|
labelledBy: { default: void 0 }
|
|
3421
3411
|
},
|
|
3422
3412
|
setup(i) {
|
|
3423
|
-
const a = i, l =
|
|
3413
|
+
const a = i, l = s(null);
|
|
3424
3414
|
return K(() => {
|
|
3425
3415
|
}), (e, t) => (m(), B("section", {
|
|
3426
3416
|
role: "tabpanel",
|
|
@@ -3431,9 +3421,9 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3431
3421
|
"aria-labelledby": e.labelledBy
|
|
3432
3422
|
}, [
|
|
3433
3423
|
e.content ? (m(), B(P, { key: 0 }, [
|
|
3434
|
-
|
|
3424
|
+
N(L(e.content), 1)
|
|
3435
3425
|
], 64)) : q("", !0),
|
|
3436
|
-
|
|
3426
|
+
E(e.$slots, "default")
|
|
3437
3427
|
], 10, zi));
|
|
3438
3428
|
}
|
|
3439
3429
|
}), Vi = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], Il = /* @__PURE__ */ V({
|
|
@@ -3460,20 +3450,20 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3460
3450
|
tabSelect: {}
|
|
3461
3451
|
},
|
|
3462
3452
|
setup(i) {
|
|
3463
|
-
const a = i, l =
|
|
3453
|
+
const a = i, l = s("tabs-" + Q()), e = s(""), t = s(!1), p = s(!1), u = s(!1), g = s(null), r = s(null);
|
|
3464
3454
|
K(() => {
|
|
3465
3455
|
l.value = a.id || l.value, e.value = `tabs-${a.name || Q()}`, t.value = !0;
|
|
3466
|
-
}),
|
|
3456
|
+
}), D(
|
|
3467
3457
|
() => [r.value, t.value],
|
|
3468
3458
|
() => {
|
|
3469
3459
|
if (r.value && t.value) {
|
|
3470
|
-
|
|
3471
|
-
const
|
|
3472
|
-
|
|
3460
|
+
S(), h(!0);
|
|
3461
|
+
const c = r.value.querySelector(".db-tab-list");
|
|
3462
|
+
c && new MutationObserver((A) => {
|
|
3473
3463
|
A.forEach((b) => {
|
|
3474
|
-
(b.removedNodes.length || b.addedNodes.length) && (
|
|
3464
|
+
(b.removedNodes.length || b.addedNodes.length) && (S(), h());
|
|
3475
3465
|
});
|
|
3476
|
-
}).observe(
|
|
3466
|
+
}).observe(c, {
|
|
3477
3467
|
childList: !0,
|
|
3478
3468
|
subtree: !0
|
|
3479
3469
|
}), t.value = !1;
|
|
@@ -3484,42 +3474,42 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3484
3474
|
flush: "post"
|
|
3485
3475
|
}
|
|
3486
3476
|
);
|
|
3487
|
-
function
|
|
3477
|
+
function n() {
|
|
3488
3478
|
try {
|
|
3489
3479
|
return typeof a.tabs == "string" ? JSON.parse(a.tabs) : a.tabs;
|
|
3490
|
-
} catch (
|
|
3491
|
-
console.error(
|
|
3480
|
+
} catch (c) {
|
|
3481
|
+
console.error(c);
|
|
3492
3482
|
}
|
|
3493
3483
|
return [];
|
|
3494
3484
|
}
|
|
3495
|
-
function
|
|
3496
|
-
const I =
|
|
3497
|
-
p.value = I &&
|
|
3485
|
+
function f(c) {
|
|
3486
|
+
const I = c.scrollWidth > c.clientWidth;
|
|
3487
|
+
p.value = I && c.scrollLeft > 1, u.value = I && c.scrollLeft < c.scrollWidth - c.clientWidth;
|
|
3498
3488
|
}
|
|
3499
|
-
function
|
|
3489
|
+
function _(c) {
|
|
3500
3490
|
var A;
|
|
3501
3491
|
let I = Number(a.arrowScrollDistance) || 100;
|
|
3502
|
-
|
|
3492
|
+
c && (I *= -1), (A = g.value) == null || A.scrollBy({
|
|
3503
3493
|
top: 0,
|
|
3504
3494
|
left: I,
|
|
3505
3495
|
behavior: "smooth"
|
|
3506
3496
|
});
|
|
3507
3497
|
}
|
|
3508
|
-
function
|
|
3498
|
+
function S() {
|
|
3509
3499
|
if (r.value) {
|
|
3510
|
-
const
|
|
3511
|
-
if (
|
|
3512
|
-
const I =
|
|
3500
|
+
const c = r.value.querySelector(".db-tab-list");
|
|
3501
|
+
if (c) {
|
|
3502
|
+
const I = c.querySelector('[role="tablist"]');
|
|
3513
3503
|
I && (I.setAttribute(
|
|
3514
3504
|
"aria-orientation",
|
|
3515
3505
|
a.orientation || "horizontal"
|
|
3516
|
-
), a.behavior === "arrows" && (g.value = I,
|
|
3517
|
-
|
|
3506
|
+
), a.behavior === "arrows" && (g.value = I, f(I), I.addEventListener("scroll", () => {
|
|
3507
|
+
f(I);
|
|
3518
3508
|
})));
|
|
3519
3509
|
}
|
|
3520
3510
|
}
|
|
3521
3511
|
}
|
|
3522
|
-
function h(
|
|
3512
|
+
function h(c) {
|
|
3523
3513
|
if (r.value) {
|
|
3524
3514
|
const I = Array.from(
|
|
3525
3515
|
r.value.getElementsByClassName("db-tab-item")
|
|
@@ -3529,32 +3519,32 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3529
3519
|
)
|
|
3530
3520
|
);
|
|
3531
3521
|
for (const b of I) {
|
|
3532
|
-
const
|
|
3533
|
-
if (
|
|
3534
|
-
if (!
|
|
3535
|
-
const O = `${e.value}-tab-${
|
|
3536
|
-
W.setAttribute("for", O),
|
|
3522
|
+
const k = I.indexOf(b), W = b.querySelector("label"), y = b.querySelector("input");
|
|
3523
|
+
if (y && W) {
|
|
3524
|
+
if (!y.id) {
|
|
3525
|
+
const O = `${e.value}-tab-${k}`;
|
|
3526
|
+
W.setAttribute("for", O), y.id = O, y.setAttribute("name", e.value), A.length > k && y.setAttribute(
|
|
3537
3527
|
"aria-controls",
|
|
3538
|
-
`${e.value}-tab-panel-${
|
|
3528
|
+
`${e.value}-tab-panel-${k}`
|
|
3539
3529
|
);
|
|
3540
3530
|
}
|
|
3541
|
-
if (
|
|
3542
|
-
const O = !a.initialSelectedMode || a.initialSelectedMode === "auto",
|
|
3543
|
-
O &&
|
|
3531
|
+
if (c) {
|
|
3532
|
+
const O = !a.initialSelectedMode || a.initialSelectedMode === "auto", w = a.initialSelectedIndex == null && k === 0 || Number(a.initialSelectedIndex) === k;
|
|
3533
|
+
O && w && y.click();
|
|
3544
3534
|
}
|
|
3545
3535
|
}
|
|
3546
3536
|
}
|
|
3547
3537
|
for (const b of A) {
|
|
3548
3538
|
if (b.id) continue;
|
|
3549
|
-
const
|
|
3550
|
-
b.id = `${e.value}-tab-panel-${
|
|
3539
|
+
const k = A.indexOf(b);
|
|
3540
|
+
b.id = `${e.value}-tab-panel-${k}`, b.setAttribute("aria-labelledby", `${e.value}-tab-${k}`);
|
|
3551
3541
|
}
|
|
3552
3542
|
}
|
|
3553
3543
|
}
|
|
3554
|
-
function
|
|
3555
|
-
var
|
|
3556
|
-
|
|
3557
|
-
const I = (
|
|
3544
|
+
function v(c) {
|
|
3545
|
+
var k;
|
|
3546
|
+
c.stopPropagation();
|
|
3547
|
+
const I = (k = c.target) == null ? void 0 : k.closest;
|
|
3558
3548
|
if (!I) return;
|
|
3559
3549
|
const A = I("ul"), b = (
|
|
3560
3550
|
// db-tab-item for angular and stencil wrapping elements
|
|
@@ -3564,18 +3554,18 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3564
3554
|
const W = Array.from(A.childNodes).indexOf(b);
|
|
3565
3555
|
a.onIndexChange && a.onIndexChange(W);
|
|
3566
3556
|
}
|
|
3567
|
-
a.onTabSelect && a.onTabSelect(
|
|
3557
|
+
a.onTabSelect && a.onTabSelect(c);
|
|
3568
3558
|
}
|
|
3569
|
-
return (
|
|
3559
|
+
return (c, I) => (m(), B("div", {
|
|
3570
3560
|
ref_key: "_ref",
|
|
3571
3561
|
ref: r,
|
|
3572
3562
|
id: l.value,
|
|
3573
3563
|
class: R(d(z)("db-tabs", a.class)),
|
|
3574
|
-
"data-orientation":
|
|
3575
|
-
"data-scroll-behavior":
|
|
3576
|
-
"data-alignment":
|
|
3577
|
-
"data-width":
|
|
3578
|
-
onInput: I[0] || (I[0] = async (A) =>
|
|
3564
|
+
"data-orientation": c.orientation,
|
|
3565
|
+
"data-scroll-behavior": c.behavior,
|
|
3566
|
+
"data-alignment": c.alignment ?? "start",
|
|
3567
|
+
"data-width": c.width ?? "auto",
|
|
3568
|
+
onInput: I[0] || (I[0] = async (A) => v(A))
|
|
3579
3569
|
}, [
|
|
3580
3570
|
p.value ? (m(), Z(Be, {
|
|
3581
3571
|
key: 0,
|
|
@@ -3584,19 +3574,19 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3584
3574
|
icon: "chevron_left",
|
|
3585
3575
|
type: "button",
|
|
3586
3576
|
noText: !0,
|
|
3587
|
-
onClick: (A) =>
|
|
3577
|
+
onClick: (A) => _(!0)
|
|
3588
3578
|
}, {
|
|
3589
3579
|
default: G(() => I[1] || (I[1] = [
|
|
3590
|
-
|
|
3580
|
+
N(" Scroll left ")
|
|
3591
3581
|
])),
|
|
3592
3582
|
_: 1,
|
|
3593
3583
|
__: [1]
|
|
3594
3584
|
}, 8, ["onClick"])) : q("", !0),
|
|
3595
|
-
|
|
3585
|
+
c.tabs ? (m(), B(P, { key: 1 }, [
|
|
3596
3586
|
ae(Ri, null, {
|
|
3597
3587
|
default: G(() => [
|
|
3598
|
-
(m(!0), B(P, null, be(
|
|
3599
|
-
key:
|
|
3588
|
+
(m(!0), B(P, null, be(n(), (A, b) => (m(), Z(Ni, {
|
|
3589
|
+
key: c.name + "tab-item" + b,
|
|
3600
3590
|
active: A.active,
|
|
3601
3591
|
label: A.label,
|
|
3602
3592
|
iconAfter: A.iconAfter,
|
|
@@ -3606,12 +3596,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3606
3596
|
]),
|
|
3607
3597
|
_: 1
|
|
3608
3598
|
}),
|
|
3609
|
-
(m(!0), B(P, null, be(
|
|
3610
|
-
key:
|
|
3599
|
+
(m(!0), B(P, null, be(n(), (A, b) => (m(), Z(qi, {
|
|
3600
|
+
key: c.name + "tab-panel" + b,
|
|
3611
3601
|
content: A.content
|
|
3612
3602
|
}, {
|
|
3613
3603
|
default: G(() => [
|
|
3614
|
-
|
|
3604
|
+
N(L(A.children), 1)
|
|
3615
3605
|
]),
|
|
3616
3606
|
_: 2
|
|
3617
3607
|
}, 1032, ["content"]))), 128))
|
|
@@ -3623,18 +3613,18 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3623
3613
|
icon: "chevron_right",
|
|
3624
3614
|
type: "button",
|
|
3625
3615
|
noText: !0,
|
|
3626
|
-
onClick: (A) =>
|
|
3616
|
+
onClick: (A) => _()
|
|
3627
3617
|
}, {
|
|
3628
3618
|
default: G(() => I[2] || (I[2] = [
|
|
3629
|
-
|
|
3619
|
+
N(" Scroll right ")
|
|
3630
3620
|
])),
|
|
3631
3621
|
_: 1,
|
|
3632
3622
|
__: [2]
|
|
3633
3623
|
}, 8, ["onClick"])) : q("", !0),
|
|
3634
|
-
|
|
3624
|
+
E(c.$slots, "default")
|
|
3635
3625
|
], 42, Vi));
|
|
3636
3626
|
}
|
|
3637
|
-
}), Pi = ["data-variant", "data-hide-label"], Ui = ["for"], Gi = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "data-resize", "data-hide-resizer", "disabled", "required", "
|
|
3627
|
+
}), Pi = ["data-variant", "data-hide-asterisk", "data-hide-label"], Ui = ["for"], Gi = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "data-resize", "data-hide-resizer", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Wi = {
|
|
3638
3628
|
"data-visually-hidden": "true",
|
|
3639
3629
|
role: "status"
|
|
3640
3630
|
}, $l = /* @__PURE__ */ V({
|
|
@@ -3688,36 +3678,36 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3688
3678
|
},
|
|
3689
3679
|
emits: ["update:value"],
|
|
3690
3680
|
setup(i, { emit: a }) {
|
|
3691
|
-
const l = a, e = i, t =
|
|
3681
|
+
const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(""), f = s(""), _ = s(""), S = s(null);
|
|
3692
3682
|
K(() => {
|
|
3693
|
-
const
|
|
3694
|
-
t.value =
|
|
3695
|
-
}),
|
|
3696
|
-
() => [
|
|
3683
|
+
const k = e.id ?? `textarea-${Q()}`;
|
|
3684
|
+
t.value = k, p.value = k + ve, u.value = k + fe, g.value = k + pe, r.value = e.invalidMessage || ie;
|
|
3685
|
+
}), D(
|
|
3686
|
+
() => [S.value, e.invalidMessage],
|
|
3697
3687
|
() => {
|
|
3698
|
-
var
|
|
3699
|
-
r.value = e.invalidMessage || ((
|
|
3688
|
+
var k;
|
|
3689
|
+
r.value = e.invalidMessage || ((k = S.value) == null ? void 0 : k.validationMessage) || ie;
|
|
3700
3690
|
},
|
|
3701
3691
|
{
|
|
3702
3692
|
immediate: !0,
|
|
3703
3693
|
flush: "post"
|
|
3704
3694
|
}
|
|
3705
|
-
),
|
|
3695
|
+
), D(
|
|
3706
3696
|
() => [t.value],
|
|
3707
3697
|
() => {
|
|
3708
3698
|
if (t.value) {
|
|
3709
|
-
const
|
|
3710
|
-
p.value =
|
|
3699
|
+
const k = t.value + ve;
|
|
3700
|
+
p.value = k, u.value = t.value + fe, g.value = t.value + pe, ee(e.message, e.showMessage) && (n.value = k);
|
|
3711
3701
|
}
|
|
3712
3702
|
},
|
|
3713
3703
|
{
|
|
3714
3704
|
immediate: !0,
|
|
3715
3705
|
flush: "post"
|
|
3716
3706
|
}
|
|
3717
|
-
),
|
|
3707
|
+
), D(
|
|
3718
3708
|
() => [e.value],
|
|
3719
3709
|
() => {
|
|
3720
|
-
|
|
3710
|
+
f.value = e.value;
|
|
3721
3711
|
},
|
|
3722
3712
|
{
|
|
3723
3713
|
immediate: !0,
|
|
@@ -3727,66 +3717,66 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3727
3717
|
function h() {
|
|
3728
3718
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
3729
3719
|
}
|
|
3730
|
-
function
|
|
3731
|
-
var
|
|
3732
|
-
!((
|
|
3720
|
+
function v() {
|
|
3721
|
+
var k, W, y;
|
|
3722
|
+
!((k = S.value) != null && k.validity.valid) || e.validation === "invalid" ? (n.value = g.value, r.value = e.invalidMessage || ((W = S.value) == null ? void 0 : W.validationMessage) || ie, me() && (_.value = r.value, x(() => _.value = "", 1e3))) : h() && ((y = S.value) != null && y.validity.valid) && (e.required || e.minLength || e.maxLength) ? (n.value = u.value, me() && (_.value = e.validMessage ?? he, x(() => _.value = "", 1e3))) : ee(e.message, e.showMessage) ? n.value = p.value : n.value = "";
|
|
3733
3723
|
}
|
|
3734
|
-
function
|
|
3735
|
-
e.input && e.input(
|
|
3724
|
+
function c(k) {
|
|
3725
|
+
e.input && e.input(k), f.value = k.target.value, e.onInput && e.onInput(k), se(l, k), v();
|
|
3736
3726
|
}
|
|
3737
|
-
function I(
|
|
3738
|
-
e.onChange && e.onChange(
|
|
3727
|
+
function I(k) {
|
|
3728
|
+
e.onChange && e.onChange(k), se(l, k), v();
|
|
3739
3729
|
}
|
|
3740
|
-
function A(
|
|
3741
|
-
e.onBlur && e.onBlur(
|
|
3730
|
+
function A(k) {
|
|
3731
|
+
e.onBlur && e.onBlur(k);
|
|
3742
3732
|
}
|
|
3743
|
-
function b(
|
|
3744
|
-
e.onFocus && e.onFocus(
|
|
3733
|
+
function b(k) {
|
|
3734
|
+
e.onFocus && e.onFocus(k);
|
|
3745
3735
|
}
|
|
3746
|
-
return (
|
|
3736
|
+
return (k, W) => (m(), B("div", {
|
|
3747
3737
|
class: R(d(z)("db-textarea", e.class)),
|
|
3748
|
-
"data-variant":
|
|
3749
|
-
"data-hide-
|
|
3738
|
+
"data-variant": k.variant,
|
|
3739
|
+
"data-hide-asterisk": d(X)(k.showRequiredAsterisk),
|
|
3740
|
+
"data-hide-label": d(X)(k.showLabel)
|
|
3750
3741
|
}, [
|
|
3751
|
-
T("label", { for: t.value },
|
|
3742
|
+
T("label", { for: t.value }, L(k.label ?? d(we)), 9, Ui),
|
|
3752
3743
|
T("textarea", {
|
|
3753
|
-
"aria-invalid":
|
|
3754
|
-
"data-custom-validity":
|
|
3755
|
-
"data-field-sizing":
|
|
3744
|
+
"aria-invalid": k.validation === "invalid",
|
|
3745
|
+
"data-custom-validity": k.validation,
|
|
3746
|
+
"data-field-sizing": k.fieldSizing,
|
|
3756
3747
|
ref_key: "_ref",
|
|
3757
|
-
ref:
|
|
3748
|
+
ref: S,
|
|
3758
3749
|
id: t.value,
|
|
3759
|
-
"data-resize":
|
|
3760
|
-
"data-hide-resizer": d(X)(
|
|
3761
|
-
disabled: d(M)(
|
|
3762
|
-
required: d(M)(
|
|
3763
|
-
"
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
cols: d(Se)(w.cols)
|
|
3750
|
+
"data-resize": k.resize,
|
|
3751
|
+
"data-hide-resizer": d(X)(k.showResizer ?? !0),
|
|
3752
|
+
disabled: d(M)(k.disabled, "disabled"),
|
|
3753
|
+
required: d(M)(k.required, "required"),
|
|
3754
|
+
readOnly: d(M)(k.readOnly, "readOnly") || d(M)(k.readonly, "readonly"),
|
|
3755
|
+
form: k.form,
|
|
3756
|
+
maxLength: d(Se)(k.maxLength, k.maxlength),
|
|
3757
|
+
minLength: d(Se)(k.minLength, k.minlength),
|
|
3758
|
+
name: k.name,
|
|
3759
|
+
wrap: k.wrap,
|
|
3760
|
+
spellcheck: k.spellCheck,
|
|
3761
|
+
autocomplete: k.autocomplete,
|
|
3762
|
+
onInput: W[0] || (W[0] = async (y) => c(y)),
|
|
3763
|
+
onChange: W[1] || (W[1] = async (y) => I(y)),
|
|
3764
|
+
onBlur: W[2] || (W[2] = async (y) => A(y)),
|
|
3765
|
+
onFocus: W[3] || (W[3] = async (y) => b(y)),
|
|
3766
|
+
value: k.value ?? f.value,
|
|
3767
|
+
"aria-describedby": k.ariaDescribedBy ?? n.value,
|
|
3768
|
+
placeholder: k.placeholder ?? d(aa),
|
|
3769
|
+
rows: d(Se)(k.rows, d(Fa)),
|
|
3770
|
+
cols: d(Se)(k.cols)
|
|
3781
3771
|
}, null, 40, Gi),
|
|
3782
|
-
d(ee)(
|
|
3772
|
+
d(ee)(k.message, k.showMessage) ? (m(), Z(te, {
|
|
3783
3773
|
key: 0,
|
|
3784
3774
|
size: "small",
|
|
3785
|
-
icon:
|
|
3775
|
+
icon: k.messageIcon,
|
|
3786
3776
|
id: p.value
|
|
3787
3777
|
}, {
|
|
3788
3778
|
default: G(() => [
|
|
3789
|
-
|
|
3779
|
+
N(L(k.message), 1)
|
|
3790
3780
|
]),
|
|
3791
3781
|
_: 1
|
|
3792
3782
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
@@ -3797,7 +3787,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3797
3787
|
id: u.value
|
|
3798
3788
|
}, {
|
|
3799
3789
|
default: G(() => [
|
|
3800
|
-
|
|
3790
|
+
N(L(k.validMessage || d(he)), 1)
|
|
3801
3791
|
]),
|
|
3802
3792
|
_: 1
|
|
3803
3793
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -3807,14 +3797,14 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3807
3797
|
id: g.value
|
|
3808
3798
|
}, {
|
|
3809
3799
|
default: G(() => [
|
|
3810
|
-
|
|
3800
|
+
N(L(r.value), 1)
|
|
3811
3801
|
]),
|
|
3812
3802
|
_: 1
|
|
3813
3803
|
}, 8, ["id"]),
|
|
3814
|
-
T("span", Wi, _
|
|
3804
|
+
T("span", Wi, L(_.value), 1)
|
|
3815
3805
|
], 10, Pi));
|
|
3816
3806
|
}
|
|
3817
|
-
}), Ll = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], _l = ["medium", "small", "large", "none"], Tl = ["medium", "small", "large", "none"], Oi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Hi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], Al = [...Oi, ...Hi], Cl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], El = ["horizontal", "vertical"], Dl = ["full", "auto"],
|
|
3807
|
+
}), Ll = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], _l = ["medium", "small", "large", "none"], Tl = ["medium", "small", "large", "none"], Oi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Hi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], Al = [...Oi, ...Hi], Cl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], El = ["horizontal", "vertical"], Dl = ["full", "auto"], Nl = ["full", "medium", "large", "small"], Fl = ["none", "slow", "fast"], Ml = ["auto", "fixed"], Rl = ["small", "medium"], zl = ["weak", "strong"], ql = ["invalid", "valid", "no-validation"], Vl = ["fixed", "content"], Pl = ["above", "floating"], Ul = ["off", "on", "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "email", "username", "new-password", "current-password", "one-time-code", "organization-title", "organization", "street-address", "shipping", "billing", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-extension", "impp", "url", "photo", "webauthn"], Gl = ["time", "true", "false", "date", "page", "step", "location"], Wl = ["_self", "_blank", "_parent", "_top"], Ol = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], Hl = ["start", "center"];
|
|
3818
3808
|
export {
|
|
3819
3809
|
Hl as AlignmentList,
|
|
3820
3810
|
Ul as AutoCompleteList,
|
|
@@ -3824,23 +3814,23 @@ export {
|
|
|
3824
3814
|
Ji as COLOR_CONST,
|
|
3825
3815
|
la as COLOR_SIMPLE,
|
|
3826
3816
|
il as DBAccordion,
|
|
3827
|
-
|
|
3817
|
+
Ga as DBAccordionItem,
|
|
3828
3818
|
ll as DBBadge,
|
|
3829
3819
|
ol as DBBrand,
|
|
3830
3820
|
Be as DBButton,
|
|
3831
3821
|
dl as DBCard,
|
|
3832
3822
|
nl as DBCheckbox,
|
|
3833
3823
|
sl as DBCustomSelect,
|
|
3834
|
-
|
|
3824
|
+
it as DBCustomSelectDropdown,
|
|
3835
3825
|
ul as DBCustomSelectFormField,
|
|
3836
|
-
|
|
3837
|
-
|
|
3826
|
+
rt as DBCustomSelectList,
|
|
3827
|
+
st as DBCustomSelectListItem,
|
|
3838
3828
|
rl as DBDivider,
|
|
3839
|
-
|
|
3829
|
+
Gt as DBDrawer,
|
|
3840
3830
|
cl as DBHeader,
|
|
3841
3831
|
vl as DBIcon,
|
|
3842
3832
|
te as DBInfotext,
|
|
3843
|
-
|
|
3833
|
+
gt as DBInput,
|
|
3844
3834
|
fl as DBLink,
|
|
3845
3835
|
pl as DBNavigation,
|
|
3846
3836
|
hl as DBNavigationItem,
|
|
@@ -3852,15 +3842,15 @@ export {
|
|
|
3852
3842
|
wl as DBSelect,
|
|
3853
3843
|
Sl as DBStack,
|
|
3854
3844
|
Bl as DBSwitch,
|
|
3855
|
-
|
|
3845
|
+
Ni as DBTabItem,
|
|
3856
3846
|
Ri as DBTabList,
|
|
3857
3847
|
qi as DBTabPanel,
|
|
3858
3848
|
Il as DBTabs,
|
|
3859
|
-
|
|
3849
|
+
kt as DBTag,
|
|
3860
3850
|
$l as DBTextarea,
|
|
3861
3851
|
ra as DBTooltip,
|
|
3862
|
-
|
|
3863
|
-
|
|
3852
|
+
Ca as DEFAULT_BACK,
|
|
3853
|
+
Da as DEFAULT_BURGER_MENU,
|
|
3864
3854
|
Ge as DEFAULT_CLOSE_BUTTON,
|
|
3865
3855
|
Ze as DEFAULT_DATALIST_ID_SUFFIX,
|
|
3866
3856
|
Na as DEFAULT_ICON,
|
|
@@ -3869,21 +3859,21 @@ export {
|
|
|
3869
3859
|
pe as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
|
|
3870
3860
|
we as DEFAULT_LABEL,
|
|
3871
3861
|
Je as DEFAULT_LABEL_ID_SUFFIX,
|
|
3872
|
-
|
|
3862
|
+
Aa as DEFAULT_MESSAGE,
|
|
3873
3863
|
ve as DEFAULT_MESSAGE_ID_SUFFIX,
|
|
3874
3864
|
aa as DEFAULT_PLACEHOLDER,
|
|
3875
3865
|
Re as DEFAULT_PLACEHOLDER_ID_SUFFIX,
|
|
3876
3866
|
ta as DEFAULT_REMOVE,
|
|
3877
|
-
|
|
3878
|
-
|
|
3867
|
+
Fa as DEFAULT_ROWS,
|
|
3868
|
+
Ea as DEFAULT_SELECTED,
|
|
3879
3869
|
Qe as DEFAULT_SELECT_ID_SUFFIX,
|
|
3880
3870
|
he as DEFAULT_VALID_MESSAGE,
|
|
3881
3871
|
fe as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
|
|
3882
|
-
|
|
3872
|
+
Ma as DEFAULT_VIEWPORT,
|
|
3883
3873
|
Qi as DENSITIES,
|
|
3884
3874
|
ia as DENSITY,
|
|
3885
3875
|
Ki as DENSITY_CONST,
|
|
3886
|
-
|
|
3876
|
+
Ra as DESKTOP_VIEWPORT,
|
|
3887
3877
|
zl as EmphasisList,
|
|
3888
3878
|
Vl as FieldSizingList,
|
|
3889
3879
|
Cl as GapSpacingList,
|
|
@@ -3892,13 +3882,13 @@ export {
|
|
|
3892
3882
|
Ol as LinkReferrerPolicyList,
|
|
3893
3883
|
Wl as LinkTargetList,
|
|
3894
3884
|
Tl as MarginList,
|
|
3895
|
-
|
|
3885
|
+
Nl as MaxWidthList,
|
|
3896
3886
|
Ot as NavigationItemSafeTriangle,
|
|
3897
3887
|
El as OrientationList,
|
|
3898
3888
|
Oi as PlacementHorizontalList,
|
|
3899
3889
|
Al as PlacementList,
|
|
3900
3890
|
Hi as PlacementVerticalList,
|
|
3901
|
-
|
|
3891
|
+
Fl as PopoverDelayList,
|
|
3902
3892
|
Ml as PopoverWidthList,
|
|
3903
3893
|
da as SEMANTIC,
|
|
3904
3894
|
el as SEMANTICS,
|
|
@@ -3919,9 +3909,9 @@ export {
|
|
|
3919
3909
|
tl as getOptionKey,
|
|
3920
3910
|
ea as getSearchInput,
|
|
3921
3911
|
me as hasVoiceOver,
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3912
|
+
za as isArrayOfStrings,
|
|
3913
|
+
Wt as isEventTargetNavigationItem,
|
|
3914
|
+
Va as isKeyboardEvent,
|
|
3925
3915
|
ee as stringPropVisible,
|
|
3926
3916
|
Q as uuid
|
|
3927
3917
|
};
|