@db-ux/v-core-components 3.1.15 → 3.1.17
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/accordion/accordion.vue.d.ts +3 -2
- package/dist/components/accordion-item/accordion-item.vue.d.ts +3 -2
- package/dist/components/badge/badge.vue.d.ts +3 -2
- package/dist/components/brand/brand.vue.d.ts +3 -2
- package/dist/components/button/button.vue.d.ts +4 -3
- package/dist/components/card/card.vue.d.ts +3 -2
- package/dist/components/checkbox/checkbox.vue.d.ts +3 -2
- package/dist/components/custom-select/custom-select.vue.d.ts +3 -2
- package/dist/components/custom-select-dropdown/custom-select-dropdown.vue.d.ts +3 -2
- package/dist/components/custom-select-form-field/custom-select-form-field.vue.d.ts +3 -2
- package/dist/components/custom-select-list/custom-select-list.vue.d.ts +3 -2
- package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +4 -3
- package/dist/components/divider/divider.vue.d.ts +2 -1
- package/dist/components/drawer/drawer.vue.d.ts +3 -2
- package/dist/components/header/header.vue.d.ts +3 -2
- package/dist/components/icon/icon.vue.d.ts +3 -2
- package/dist/components/infotext/infotext.vue.d.ts +3 -2
- package/dist/components/input/input.vue.d.ts +4 -3
- package/dist/components/link/link.vue.d.ts +3 -2
- package/dist/components/navigation/navigation.vue.d.ts +3 -2
- package/dist/components/navigation-item/navigation-item.vue.d.ts +3 -2
- package/dist/components/notification/notification.vue.d.ts +3 -2
- package/dist/components/page/page.vue.d.ts +3 -2
- package/dist/components/popover/popover.vue.d.ts +3 -2
- package/dist/components/radio/radio.vue.d.ts +3 -2
- package/dist/components/section/section.vue.d.ts +3 -2
- package/dist/components/select/select.vue.d.ts +3 -2
- package/dist/components/stack/stack.vue.d.ts +3 -2
- package/dist/components/switch/switch.vue.d.ts +3 -2
- package/dist/components/tab-item/tab-item.vue.d.ts +3 -2
- package/dist/components/tab-list/tab-list.vue.d.ts +3 -2
- package/dist/components/tab-panel/tab-panel.vue.d.ts +3 -2
- package/dist/components/tabs/tabs.vue.d.ts +3 -2
- package/dist/components/tag/tag.vue.d.ts +3 -2
- package/dist/components/textarea/textarea.vue.d.ts +3 -2
- package/dist/components/tooltip/tooltip.vue.d.ts +3 -2
- package/dist/db-ux.es.js +622 -599
- package/dist/db-ux.umd.js +1 -1
- package/package.json +9 -4
package/dist/db-ux.es.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as U, ref as s, onMounted as j, watch as D, createElementBlock as k, openBlock as m, normalizeClass as P, unref as o, createElementVNode as _, createCommentVNode as R, renderSlot as A, Fragment as G, createTextVNode as N, toDisplayString as L, renderList as
|
|
2
|
-
const
|
|
3
|
-
var
|
|
4
|
-
const
|
|
5
|
-
var
|
|
6
|
-
const
|
|
7
|
-
var
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as U, ref as s, onMounted as j, watch as D, createElementBlock as k, openBlock as m, normalizeClass as P, unref as o, createElementVNode as _, createCommentVNode as R, renderSlot as A, Fragment as G, createTextVNode as N, toDisplayString as L, renderList as fe, createBlock as Y, createVNode as ee, withCtx as O, onUnmounted as ka } from "vue";
|
|
2
|
+
const Se = "OVERWRITE_DEFAULT_ID", me = "LABEL SHOULD BE SET", Ke = " ", wa = "MESSAGE SHOULD BE SET", Oe = "-label", He = "-select", de = "-message", ue = "-valid-message", re = "-invalid-message", _e = "-placeholder", Xe = "-datalist", ce = "TODO: Add a validMessage", te = "TODO: Add an invalidMessage", Je = "Remove", Sa = "Back", Ba = "Selected", La = "BurgerMenu", Ia = "brand", $a = 4, Re = "Close", qi = "density", Ui = "color";
|
|
3
|
+
var Qe = /* @__PURE__ */ ((t) => (t.FUNCTIONAL = "functional", t.REGULAR = "regular", t.EXPRESSIVE = "expressive", t))(Qe || {});
|
|
4
|
+
const Gi = Object.entries(Qe).map(([, t]) => t);
|
|
5
|
+
var Ze = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t))(Ze || {}), xe = /* @__PURE__ */ ((t) => (t.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", t.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", t.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", t.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", t.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", t.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", t.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", t.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", t.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", t.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", t.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", t.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", t.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", t.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", t.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", t.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", t.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", t.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", t.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", t.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", t.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", t.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", t.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", t.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", t.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", t.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", t.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", t.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", t.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", t.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", t))(xe || {});
|
|
6
|
+
const Wi = Object.entries(xe).map(([, t]) => t), Oi = Object.entries(Ze).map(([, t]) => t);
|
|
7
|
+
var ea = /* @__PURE__ */ ((t) => (t.CRITICAL = "critical", t.INFORMATIONAL = "informational", t.WARNING = "warning", t.SUCCESSFUL = "successful", t))(ea || {});
|
|
8
|
+
const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
|
|
9
9
|
width: 390,
|
|
10
10
|
height: 884
|
|
11
|
-
},
|
|
11
|
+
}, Ea = {
|
|
12
12
|
width: 1920,
|
|
13
13
|
height: 1280
|
|
14
|
-
},
|
|
14
|
+
}, Xi = [{
|
|
15
15
|
name: "desktop",
|
|
16
|
-
|
|
16
|
+
...Ea
|
|
17
17
|
}, {
|
|
18
18
|
name: "tablet",
|
|
19
19
|
width: 768,
|
|
20
20
|
height: 1024
|
|
21
21
|
}, {
|
|
22
22
|
name: "mobile",
|
|
23
|
-
...
|
|
23
|
+
...Ta
|
|
24
24
|
}], K = () => {
|
|
25
25
|
if (typeof window < "u") {
|
|
26
26
|
if (window.crypto?.randomUUID)
|
|
@@ -29,10 +29,10 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
29
29
|
return window.crypto.getRandomValues(new Uint32Array(3)).join("-");
|
|
30
30
|
}
|
|
31
31
|
return Math.random().toString().substring(2);
|
|
32
|
-
},
|
|
32
|
+
}, aa = (t, a) => {
|
|
33
33
|
const n = t.children;
|
|
34
34
|
Object.values(n).forEach((e) => {
|
|
35
|
-
e.setAttribute(a.key, a.value), e.children.length > 0 &&
|
|
35
|
+
e.setAttribute(a.key, a.value), e.children.length > 0 && aa(e, a);
|
|
36
36
|
});
|
|
37
37
|
}, V = (...t) => {
|
|
38
38
|
let a = "";
|
|
@@ -44,22 +44,22 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
44
44
|
for (const e in n)
|
|
45
45
|
n[e] && (a += `${e} `);
|
|
46
46
|
return a.trim();
|
|
47
|
-
},
|
|
47
|
+
}, _a = (t) => Array.isArray(t) && t.every((a) => typeof a == "string"), Ca = ["Mac", "iPhone", "iPad", "iPod"], ve = () => typeof window < "u" && Ca.some((t) => window.navigator.userAgent.includes(t)), J = (t, a) => new Promise(() => setTimeout(t, a)), F = (t) => {
|
|
48
48
|
if (t != null)
|
|
49
49
|
return String(typeof t == "string" ? !!t : t);
|
|
50
50
|
}, z = (t, a) => {
|
|
51
51
|
if (t != null)
|
|
52
52
|
return typeof t == "string" && a ? !!(a === t || t) : !!t;
|
|
53
|
-
},
|
|
53
|
+
}, ge = (t, a) => {
|
|
54
54
|
if (!(t == null && a == null))
|
|
55
55
|
return Number(t ?? a);
|
|
56
|
-
},
|
|
56
|
+
}, je = (t, a) => a && ["number", "range"].includes(a) ? ge(t) : t, ie = (t) => {
|
|
57
57
|
if (t != null)
|
|
58
58
|
return F(!t);
|
|
59
|
-
}, Z = (t, a) => (a === void 0 || !!a) && !!t,
|
|
59
|
+
}, Z = (t, a) => (a === void 0 || !!a) && !!t, Ye = (t) => t.querySelector('input[type="search"]'), ji = (t, a) => {
|
|
60
60
|
const n = t.id ?? t.value ?? K();
|
|
61
61
|
return `${a}${n}`;
|
|
62
|
-
},
|
|
62
|
+
}, Aa = (t) => t.key !== void 0, Da = ["id"], Na = ["aria-disabled", "name", "open"], Fa = /* @__PURE__ */ U({
|
|
63
63
|
__name: "accordion-item",
|
|
64
64
|
props: {
|
|
65
65
|
defaultOpen: { type: Boolean, default: void 0 },
|
|
@@ -77,7 +77,7 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
77
77
|
name: { default: void 0 }
|
|
78
78
|
},
|
|
79
79
|
setup(t) {
|
|
80
|
-
const a = t, n = s(
|
|
80
|
+
const a = t, n = s(Se), e = s(!1), i = s(void 0), u = s(!1), c = s(null);
|
|
81
81
|
j(() => {
|
|
82
82
|
n.value = a.id || "accordion-item-" + K(), a.defaultOpen && (e.value = a.defaultOpen), u.value = !0;
|
|
83
83
|
}), D(
|
|
@@ -128,10 +128,10 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
128
128
|
N(L(v.text), 1)
|
|
129
129
|
], 64)) : A(v.$slots, "default", { key: 1 })
|
|
130
130
|
])
|
|
131
|
-
], 8,
|
|
132
|
-
], 10,
|
|
131
|
+
], 8, Na)
|
|
132
|
+
], 10, Da));
|
|
133
133
|
}
|
|
134
|
-
}),
|
|
134
|
+
}), Ma = ["id", "data-variant"], Yi = /* @__PURE__ */ U({
|
|
135
135
|
__name: "accordion",
|
|
136
136
|
props: {
|
|
137
137
|
behavior: { default: void 0 },
|
|
@@ -147,7 +147,7 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
147
147
|
autofocus: { type: [Boolean, String] }
|
|
148
148
|
},
|
|
149
149
|
setup(t) {
|
|
150
|
-
const a = t, n = s(
|
|
150
|
+
const a = t, n = s(Se), e = s(""), i = s(!1), u = s(!1), c = s(null);
|
|
151
151
|
j(() => {
|
|
152
152
|
n.value = a.id || "accordion-" + K(), i.value = !0, u.value = !0;
|
|
153
153
|
}), D(
|
|
@@ -212,15 +212,15 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
212
212
|
"data-variant": v.variant
|
|
213
213
|
}, [
|
|
214
214
|
v.items ? R("", !0) : A(v.$slots, "default", { key: 0 }),
|
|
215
|
-
v.items ? (m(!0), k(G, { key: 1 },
|
|
215
|
+
v.items ? (m(!0), k(G, { key: 1 }, fe(r(), (g, I) => (m(), Y(Fa, {
|
|
216
216
|
key: `accordion-item-${I}`,
|
|
217
217
|
headlinePlain: g.headlinePlain,
|
|
218
218
|
disabled: g.disabled,
|
|
219
219
|
text: g.text
|
|
220
220
|
}, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : R("", !0)
|
|
221
|
-
], 10,
|
|
221
|
+
], 10, Ma));
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), Ki = ["divider", "card"], Ji = ["multiple", "single"], Ra = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], Qi = /* @__PURE__ */ U({
|
|
224
224
|
__name: "badge",
|
|
225
225
|
props: {
|
|
226
226
|
placement: { default: void 0 },
|
|
@@ -260,14 +260,14 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
260
260
|
"data-size": i.size,
|
|
261
261
|
"data-emphasis": i.emphasis,
|
|
262
262
|
"data-placement": i.placement,
|
|
263
|
-
"data-label": i.placement?.startsWith("corner") && (i.label ?? o(
|
|
263
|
+
"data-label": i.placement?.startsWith("corner") && (i.label ?? o(me))
|
|
264
264
|
}, [
|
|
265
265
|
i.text ? (m(), k(G, { key: 0 }, [
|
|
266
266
|
N(L(i.text), 1)
|
|
267
267
|
], 64)) : A(i.$slots, "default", { key: 1 })
|
|
268
|
-
], 10,
|
|
268
|
+
], 10, Ra));
|
|
269
269
|
}
|
|
270
|
-
}),
|
|
270
|
+
}), Zi = ["inline", "corner-top-left", "corner-top-right", "corner-center-left", "corner-center-right", "corner-bottom-left", "corner-bottom-right"], za = ["data-icon", "data-show-icon", "id"], xi = /* @__PURE__ */ U({
|
|
271
271
|
__name: "brand",
|
|
272
272
|
props: {
|
|
273
273
|
hideLogo: { type: Boolean, default: void 0 },
|
|
@@ -285,7 +285,7 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
285
285
|
return (e, i) => (m(), k("div", {
|
|
286
286
|
ref_key: "_ref",
|
|
287
287
|
ref: n,
|
|
288
|
-
"data-icon": e.hideLogo ? "none" : e.icon ?? o(
|
|
288
|
+
"data-icon": e.hideLogo ? "none" : e.icon ?? o(Ia),
|
|
289
289
|
"data-show-icon": o(F)(e.showIcon),
|
|
290
290
|
id: e.id,
|
|
291
291
|
class: P(o(V)("db-brand", a.class))
|
|
@@ -293,9 +293,9 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
293
293
|
e.text ? (m(), k(G, { key: 0 }, [
|
|
294
294
|
N(L(e.text), 1)
|
|
295
295
|
], 64)) : A(e.$slots, "default", { key: 1 })
|
|
296
|
-
], 10,
|
|
296
|
+
], 10, za));
|
|
297
297
|
}
|
|
298
|
-
}),
|
|
298
|
+
}), Pa = ["id", "type", "disabled", "data-icon", "data-show-icon", "data-icon-trailing", "data-show-icon-trailing", "data-size", "data-width", "data-variant", "data-no-text", "name", "form", "value"], be = /* @__PURE__ */ U({
|
|
299
299
|
__name: "button",
|
|
300
300
|
props: {
|
|
301
301
|
disabled: { type: [Boolean, String], default: void 0 },
|
|
@@ -352,9 +352,9 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
352
352
|
u.text ? (m(), k(G, { key: 0 }, [
|
|
353
353
|
N(L(u.text), 1)
|
|
354
354
|
], 64)) : A(u.$slots, "default", { key: 1 })
|
|
355
|
-
], 10,
|
|
355
|
+
], 10, Pa));
|
|
356
356
|
}
|
|
357
|
-
}),
|
|
357
|
+
}), el = ["outlined", "brand", "filled", "ghost"], al = ["button", "reset", "submit"], Va = ["id", "data-behavior", "data-elevation-level", "data-spacing"], tl = /* @__PURE__ */ U({
|
|
358
358
|
__name: "card",
|
|
359
359
|
props: {
|
|
360
360
|
behavior: { default: void 0 },
|
|
@@ -383,11 +383,11 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
383
383
|
onClick: u[0] || (u[0] = async (c) => e(c))
|
|
384
384
|
}, [
|
|
385
385
|
A(i.$slots, "default")
|
|
386
|
-
], 10,
|
|
386
|
+
], 10, Va));
|
|
387
387
|
}
|
|
388
|
-
}),
|
|
388
|
+
}), il = ["static", "interactive"], ll = ["1", "2", "3"], oe = (t, a, n = "value") => {
|
|
389
389
|
t(`update:${n}`, a.target[n]);
|
|
390
|
-
},
|
|
390
|
+
}, qa = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], ae = /* @__PURE__ */ U({
|
|
391
391
|
__name: "infotext",
|
|
392
392
|
props: {
|
|
393
393
|
children: { default: void 0 },
|
|
@@ -416,12 +416,12 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
416
416
|
e.text ? (m(), k(G, { key: 0 }, [
|
|
417
417
|
N(L(e.text), 1)
|
|
418
418
|
], 64)) : A(e.$slots, "default", { key: 1 })
|
|
419
|
-
], 10,
|
|
419
|
+
], 10, qa));
|
|
420
420
|
}
|
|
421
|
-
}),
|
|
421
|
+
}), Ua = ["data-size", "data-hide-asterisk", "data-hide-label"], Ga = ["for"], Wa = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Oa = {
|
|
422
422
|
"data-visually-hidden": "true",
|
|
423
423
|
role: "status"
|
|
424
|
-
},
|
|
424
|
+
}, ol = /* @__PURE__ */ U({
|
|
425
425
|
__name: "checkbox",
|
|
426
426
|
props: {
|
|
427
427
|
indeterminate: { type: [Boolean, String], default: void 0 },
|
|
@@ -463,11 +463,11 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
463
463
|
j(() => {
|
|
464
464
|
i.value = !0;
|
|
465
465
|
const b = e.id ?? `checkbox-${K()}`;
|
|
466
|
-
u.value = b, c.value = b +
|
|
466
|
+
u.value = b, c.value = b + de, r.value = b + ue, v.value = b + re, d.value = e.invalidMessage || te;
|
|
467
467
|
}), D(
|
|
468
468
|
() => [w.value, e.invalidMessage],
|
|
469
469
|
() => {
|
|
470
|
-
d.value = e.invalidMessage || w.value?.validationMessage ||
|
|
470
|
+
d.value = e.invalidMessage || w.value?.validationMessage || te;
|
|
471
471
|
},
|
|
472
472
|
{
|
|
473
473
|
immediate: !0,
|
|
@@ -477,8 +477,8 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
477
477
|
() => [u.value],
|
|
478
478
|
() => {
|
|
479
479
|
if (u.value) {
|
|
480
|
-
const b = u.value +
|
|
481
|
-
c.value = b, r.value = u.value +
|
|
480
|
+
const b = u.value + de;
|
|
481
|
+
c.value = b, r.value = u.value + ue, v.value = u.value + re, Z(e.message, e.showMessage) && (g.value = b), p();
|
|
482
482
|
}
|
|
483
483
|
},
|
|
484
484
|
{
|
|
@@ -508,10 +508,10 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
508
508
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
509
509
|
}
|
|
510
510
|
function p() {
|
|
511
|
-
!w.value?.validity.valid || e.validation === "invalid" ? (g.value = v.value, d.value = e.invalidMessage || w.value?.validationMessage ||
|
|
511
|
+
!w.value?.validity.valid || e.validation === "invalid" ? (g.value = v.value, d.value = e.invalidMessage || w.value?.validationMessage || te, ve() && (I.value = d.value, J(() => I.value = "", 1e3))) : h() && w.value?.validity.valid && e.required ? (g.value = r.value, ve() && (I.value = e.validMessage ?? ce, J(() => I.value = "", 1e3))) : Z(e.message, e.showMessage) ? g.value = c.value : g.value = void 0;
|
|
512
512
|
}
|
|
513
513
|
function f(b) {
|
|
514
|
-
e.onChange && e.onChange(b),
|
|
514
|
+
e.onChange && e.onChange(b), oe(n, b, "checked"), p();
|
|
515
515
|
}
|
|
516
516
|
function T(b) {
|
|
517
517
|
e.onBlur && e.onBlur(b);
|
|
@@ -522,8 +522,8 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
522
522
|
return (b, S) => (m(), k("div", {
|
|
523
523
|
class: P(o(V)("db-checkbox", e.class)),
|
|
524
524
|
"data-size": b.size,
|
|
525
|
-
"data-hide-asterisk": o(
|
|
526
|
-
"data-hide-label": o(
|
|
525
|
+
"data-hide-asterisk": o(ie)(b.showRequiredAsterisk),
|
|
526
|
+
"data-hide-label": o(ie)(b.showLabel)
|
|
527
527
|
}, [
|
|
528
528
|
_("label", { for: u.value }, [
|
|
529
529
|
_("input", {
|
|
@@ -542,12 +542,12 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
542
542
|
onBlur: S[1] || (S[1] = async (W) => T(W)),
|
|
543
543
|
onFocus: S[2] || (S[2] = async (W) => C(W)),
|
|
544
544
|
"aria-describedby": b.ariaDescribedBy ?? g.value
|
|
545
|
-
}, null, 40,
|
|
545
|
+
}, null, 40, Wa),
|
|
546
546
|
b.label ? (m(), k(G, { key: 0 }, [
|
|
547
547
|
N(L(b.label), 1)
|
|
548
548
|
], 64)) : A(b.$slots, "default", { key: 1 })
|
|
549
|
-
], 8,
|
|
550
|
-
o(Z)(b.message, b.showMessage) ? (m(), Y(
|
|
549
|
+
], 8, Ga),
|
|
550
|
+
o(Z)(b.message, b.showMessage) ? (m(), Y(ae, {
|
|
551
551
|
key: 0,
|
|
552
552
|
size: "small",
|
|
553
553
|
icon: b.messageIcon,
|
|
@@ -558,18 +558,18 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
558
558
|
]),
|
|
559
559
|
_: 1
|
|
560
560
|
}, 8, ["icon", "id"])) : R("", !0),
|
|
561
|
-
h() ? (m(), Y(
|
|
561
|
+
h() ? (m(), Y(ae, {
|
|
562
562
|
key: 1,
|
|
563
563
|
size: "small",
|
|
564
564
|
semantic: "successful",
|
|
565
565
|
id: r.value
|
|
566
566
|
}, {
|
|
567
567
|
default: O(() => [
|
|
568
|
-
N(L(b.validMessage || o(
|
|
568
|
+
N(L(b.validMessage || o(ce)), 1)
|
|
569
569
|
]),
|
|
570
570
|
_: 1
|
|
571
571
|
}, 8, ["id"])) : R("", !0),
|
|
572
|
-
|
|
572
|
+
ee(ae, {
|
|
573
573
|
size: "small",
|
|
574
574
|
semantic: "critical",
|
|
575
575
|
id: v.value
|
|
@@ -579,56 +579,56 @@ const Wi = Object.entries(Ze).map(([, t]) => t), Ia = {
|
|
|
579
579
|
]),
|
|
580
580
|
_: 1
|
|
581
581
|
}, 8, ["id"]),
|
|
582
|
-
_("span",
|
|
583
|
-
], 10,
|
|
582
|
+
_("span", Oa, L(I.value), 1)
|
|
583
|
+
], 10, Ua));
|
|
584
584
|
}
|
|
585
585
|
});
|
|
586
|
-
class
|
|
586
|
+
class se {
|
|
587
587
|
static callbacks = {};
|
|
588
588
|
static _instance = null;
|
|
589
589
|
static runCallbacks(a) {
|
|
590
|
-
for (const n of Object.values(
|
|
590
|
+
for (const n of Object.values(se.callbacks))
|
|
591
591
|
typeof n == "function" && n(a);
|
|
592
592
|
}
|
|
593
593
|
constructor() {
|
|
594
|
-
if (
|
|
595
|
-
return
|
|
596
|
-
|
|
594
|
+
if (se._instance)
|
|
595
|
+
return se._instance;
|
|
596
|
+
se._instance = this, self.document && self.document.addEventListener("click", (a) => se.runCallbacks(a));
|
|
597
597
|
}
|
|
598
598
|
addCallback(a) {
|
|
599
599
|
const n = K();
|
|
600
|
-
return
|
|
600
|
+
return se.callbacks[n] = a, n;
|
|
601
601
|
}
|
|
602
602
|
removeCallback(a) {
|
|
603
|
-
delete
|
|
603
|
+
delete se.callbacks[a];
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
class
|
|
606
|
+
class le {
|
|
607
607
|
static callbacks = {};
|
|
608
608
|
static _instance = null;
|
|
609
609
|
static runCallbacks(a) {
|
|
610
|
-
for (const n of Object.values(
|
|
610
|
+
for (const n of Object.values(le.callbacks))
|
|
611
611
|
typeof n == "function" && n(a);
|
|
612
612
|
}
|
|
613
613
|
ticking = !1;
|
|
614
614
|
constructor() {
|
|
615
|
-
if (
|
|
616
|
-
return
|
|
617
|
-
|
|
615
|
+
if (le._instance)
|
|
616
|
+
return le._instance;
|
|
617
|
+
le._instance = this, self.document && self.document.addEventListener("scroll", (a) => {
|
|
618
618
|
this.ticking || (window.requestAnimationFrame(() => {
|
|
619
|
-
|
|
619
|
+
le.runCallbacks(a), this.ticking = !1;
|
|
620
620
|
}), this.ticking = !0);
|
|
621
621
|
}, !0);
|
|
622
622
|
}
|
|
623
623
|
addCallback(a) {
|
|
624
624
|
const n = K();
|
|
625
|
-
return
|
|
625
|
+
return le.callbacks[n] = a, n;
|
|
626
626
|
}
|
|
627
627
|
removeCallback(a) {
|
|
628
|
-
delete
|
|
628
|
+
delete le.callbacks[a];
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
|
-
const
|
|
631
|
+
const Ha = (t) => {
|
|
632
632
|
const {
|
|
633
633
|
top: a,
|
|
634
634
|
bottom: n,
|
|
@@ -646,13 +646,13 @@ const Wa = (t) => {
|
|
|
646
646
|
outLeft: d,
|
|
647
647
|
outRight: g
|
|
648
648
|
};
|
|
649
|
-
},
|
|
649
|
+
}, Xa = (t) => {
|
|
650
650
|
const {
|
|
651
651
|
outTop: a,
|
|
652
652
|
outBottom: n,
|
|
653
653
|
outLeft: e,
|
|
654
654
|
outRight: i
|
|
655
|
-
} =
|
|
655
|
+
} = Ha(t);
|
|
656
656
|
let u = {};
|
|
657
657
|
return a || n ? (u = {
|
|
658
658
|
vy: a ? "top" : "bottom"
|
|
@@ -660,7 +660,7 @@ const Wa = (t) => {
|
|
|
660
660
|
...u,
|
|
661
661
|
vx: i ? "right" : "left"
|
|
662
662
|
}, t.dataset.outsideVx = u.vx) : delete t.dataset.outsideVx, u;
|
|
663
|
-
},
|
|
663
|
+
}, ja = (t, a, n) => {
|
|
664
664
|
if (getComputedStyle(t).zIndex === "9999") return;
|
|
665
665
|
const {
|
|
666
666
|
top: e,
|
|
@@ -671,9 +671,9 @@ const Wa = (t) => {
|
|
|
671
671
|
right: v,
|
|
672
672
|
left: d,
|
|
673
673
|
correctedPlacement: g
|
|
674
|
-
} =
|
|
674
|
+
} = ta(t, a, n);
|
|
675
675
|
t.dataset.width === "full" && (t.style.inlineSize = `${r}px`), g === "top" || g === "bottom" || g === "top-start" || g === "bottom-start" ? t.style.insetInlineStart = `${d}px` : (g === "top-end" || g === "bottom-end") && (t.style.insetInlineStart = `${v - c}px`), g?.startsWith("top") ? t.style.insetBlockStart = `${e - u}px` : g?.startsWith("bottom") && (t.style.insetBlockStart = `${i}px`), t.style.position = "fixed";
|
|
676
|
-
},
|
|
676
|
+
}, ta = (t, a, n) => {
|
|
677
677
|
if (!t || !a)
|
|
678
678
|
return {
|
|
679
679
|
top: 0,
|
|
@@ -716,7 +716,7 @@ const Wa = (t) => {
|
|
|
716
716
|
innerWidth: I,
|
|
717
717
|
innerHeight: g
|
|
718
718
|
};
|
|
719
|
-
},
|
|
719
|
+
}, ia = (t, a, n) => {
|
|
720
720
|
const e = getComputedStyle(t).getPropertyValue("--db-popover-distance") ?? "0px", {
|
|
721
721
|
top: i,
|
|
722
722
|
height: u,
|
|
@@ -729,7 +729,7 @@ const Wa = (t) => {
|
|
|
729
729
|
correctedPlacement: w,
|
|
730
730
|
innerWidth: h,
|
|
731
731
|
innerHeight: p
|
|
732
|
-
} =
|
|
732
|
+
} = ta(t, a, n);
|
|
733
733
|
if (v > c && (w.startsWith("bottom") || w.startsWith("top"))) {
|
|
734
734
|
const f = c / 2 / v * 100;
|
|
735
735
|
w.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-inline-start", `${f}%`) : w.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - f}%`);
|
|
@@ -769,7 +769,7 @@ const Wa = (t) => {
|
|
|
769
769
|
t.style.insetBlockStart = `calc(${I}px + ${e})`, t.style.insetBlockEnd = `calc(${f > p ? p : f}px + ${e})`;
|
|
770
770
|
}
|
|
771
771
|
t.style.position = "fixed", t.dataset.correctedPlacement = w;
|
|
772
|
-
},
|
|
772
|
+
}, Ya = ["id", "data-width"], Ka = /* @__PURE__ */ U({
|
|
773
773
|
__name: "custom-select-dropdown",
|
|
774
774
|
props: {
|
|
775
775
|
width: { default: "fixed" },
|
|
@@ -790,9 +790,9 @@ const Wa = (t) => {
|
|
|
790
790
|
"data-width": e.width
|
|
791
791
|
}, [
|
|
792
792
|
A(e.$slots, "default")
|
|
793
|
-
], 10,
|
|
793
|
+
], 10, Ya));
|
|
794
794
|
}
|
|
795
|
-
}),
|
|
795
|
+
}), Ja = ["id", "data-divider"], Qa = ["data-icon", "data-show-icon", "data-icon-trailing"], Za = ["type", "name", "form", "checked", "disabled", "value"], xa = { key: 1 }, et = /* @__PURE__ */ U({
|
|
796
796
|
__name: "custom-select-list-item",
|
|
797
797
|
props: {
|
|
798
798
|
groupTitle: { default: void 0 },
|
|
@@ -830,7 +830,7 @@ const Wa = (t) => {
|
|
|
830
830
|
}
|
|
831
831
|
);
|
|
832
832
|
function r(d) {
|
|
833
|
-
d.stopPropagation(), e.onChange && e.onChange(d),
|
|
833
|
+
d.stopPropagation(), e.onChange && e.onChange(d), oe(n, d, "checked");
|
|
834
834
|
}
|
|
835
835
|
function v() {
|
|
836
836
|
if (!(e.isGroupTitle || e.type === "checkbox"))
|
|
@@ -848,7 +848,7 @@ const Wa = (t) => {
|
|
|
848
848
|
),
|
|
849
849
|
"data-divider": o(F)(u.value)
|
|
850
850
|
}, [
|
|
851
|
-
d.isGroupTitle ? (m(), k("span",
|
|
851
|
+
d.isGroupTitle ? (m(), k("span", xa, L(d.groupTitle), 1)) : (m(), k("label", {
|
|
852
852
|
key: 0,
|
|
853
853
|
"data-icon": d.type !== "checkbox" && d.icon ? d.icon : void 0,
|
|
854
854
|
"data-show-icon": o(F)(d.showIcon),
|
|
@@ -864,14 +864,14 @@ const Wa = (t) => {
|
|
|
864
864
|
disabled: o(z)(d.disabled, "disabled"),
|
|
865
865
|
value: d.value,
|
|
866
866
|
onChange: g[0] || (g[0] = async (I) => r(I))
|
|
867
|
-
}, null, 40,
|
|
867
|
+
}, null, 40, Za),
|
|
868
868
|
d.label ? (m(), k(G, { key: 0 }, [
|
|
869
869
|
N(L(d.label), 1)
|
|
870
870
|
], 64)) : A(d.$slots, "default", { key: 1 })
|
|
871
|
-
], 8,
|
|
872
|
-
], 10,
|
|
871
|
+
], 8, Qa))
|
|
872
|
+
], 10, Ja));
|
|
873
873
|
}
|
|
874
|
-
}),
|
|
874
|
+
}), at = ["role", "aria-label", "id"], tt = /* @__PURE__ */ U({
|
|
875
875
|
__name: "custom-select-list",
|
|
876
876
|
props: {
|
|
877
877
|
label: { default: void 0 },
|
|
@@ -895,12 +895,12 @@ const Wa = (t) => {
|
|
|
895
895
|
_("ul", null, [
|
|
896
896
|
A(e.$slots, "default")
|
|
897
897
|
])
|
|
898
|
-
], 10,
|
|
898
|
+
], 10, at));
|
|
899
899
|
}
|
|
900
|
-
}),
|
|
900
|
+
}), it = ["data-variant", "data-hide-label", "data-show-icon", "data-icon", "data-icon-trailing", "data-hide-asterisk", "data-show-icon-trailing"], lt = ["for"], ot = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "name", "type", "multiple", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "enterKeyHint", "inputMode", "list", "aria-describedby"], nt = ["id"], st = ["value"], dt = {
|
|
901
901
|
"data-visually-hidden": "true",
|
|
902
902
|
role: "status"
|
|
903
|
-
},
|
|
903
|
+
}, ut = /* @__PURE__ */ U({
|
|
904
904
|
__name: "input",
|
|
905
905
|
props: {
|
|
906
906
|
dataList: { default: void 0 },
|
|
@@ -967,11 +967,11 @@ const Wa = (t) => {
|
|
|
967
967
|
const n = a, e = t, i = s(void 0), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(void 0), g = s(void 0), I = s(void 0), w = s(""), h = s(null);
|
|
968
968
|
j(() => {
|
|
969
969
|
const y = e.id ?? `input-${K()}`;
|
|
970
|
-
i.value = y, u.value = y +
|
|
970
|
+
i.value = y, u.value = y + de, c.value = y + ue, r.value = y + re, d.value = y + Xe, v.value = e.invalidMessage || te;
|
|
971
971
|
}), D(
|
|
972
972
|
() => [h.value, e.invalidMessage],
|
|
973
973
|
() => {
|
|
974
|
-
v.value = e.invalidMessage || h.value?.validationMessage ||
|
|
974
|
+
v.value = e.invalidMessage || h.value?.validationMessage || te;
|
|
975
975
|
},
|
|
976
976
|
{
|
|
977
977
|
immediate: !0,
|
|
@@ -981,8 +981,8 @@ const Wa = (t) => {
|
|
|
981
981
|
() => [i.value],
|
|
982
982
|
() => {
|
|
983
983
|
if (i.value) {
|
|
984
|
-
const y = i.value +
|
|
985
|
-
u.value = y, c.value = i.value +
|
|
984
|
+
const y = i.value + de;
|
|
985
|
+
u.value = y, c.value = i.value + ue, r.value = i.value + re, d.value = e.dataListId ?? i.value + Xe, Z(e.message, e.showMessage) && (g.value = y), f();
|
|
986
986
|
}
|
|
987
987
|
},
|
|
988
988
|
{
|
|
@@ -1003,13 +1003,13 @@ const Wa = (t) => {
|
|
|
1003
1003
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
1004
1004
|
}
|
|
1005
1005
|
function f() {
|
|
1006
|
-
!h.value?.validity.valid || e.validation === "invalid" ? (g.value = r.value, v.value = e.invalidMessage || h.value?.validationMessage ||
|
|
1006
|
+
!h.value?.validity.valid || e.validation === "invalid" ? (g.value = r.value, v.value = e.invalidMessage || h.value?.validationMessage || te, ve() && (w.value = v.value, J(() => w.value = "", 1e3))) : p() && h.value?.validity.valid && (e.required || e.minLength || e.maxLength || e.pattern) ? (g.value = c.value, ve() && (w.value = e.validMessage ?? ce, J(() => w.value = "", 1e3))) : Z(e.message, e.showMessage) ? g.value = u.value : g.value = void 0;
|
|
1007
1007
|
}
|
|
1008
1008
|
function T(y) {
|
|
1009
|
-
e.input && e.input(y), I.value = y.target.value, e.onInput && e.onInput(y),
|
|
1009
|
+
e.input && e.input(y), I.value = y.target.value, e.onInput && e.onInput(y), oe(n, y), f();
|
|
1010
1010
|
}
|
|
1011
1011
|
function C(y) {
|
|
1012
|
-
e.onChange && e.onChange(y),
|
|
1012
|
+
e.onChange && e.onChange(y), oe(n, y), f();
|
|
1013
1013
|
}
|
|
1014
1014
|
function b(y) {
|
|
1015
1015
|
e.onBlur && e.onBlur(y);
|
|
@@ -1020,7 +1020,7 @@ const Wa = (t) => {
|
|
|
1020
1020
|
function W() {
|
|
1021
1021
|
const y = e.dataList;
|
|
1022
1022
|
return Array.from(
|
|
1023
|
-
(
|
|
1023
|
+
(_a(y) ? y?.map((X) => ({
|
|
1024
1024
|
value: X,
|
|
1025
1025
|
label: void 0
|
|
1026
1026
|
})) : y) || []
|
|
@@ -1029,14 +1029,14 @@ const Wa = (t) => {
|
|
|
1029
1029
|
return (y, X) => (m(), k("div", {
|
|
1030
1030
|
class: P(o(V)("db-input", e.class)),
|
|
1031
1031
|
"data-variant": y.variant,
|
|
1032
|
-
"data-hide-label": o(
|
|
1032
|
+
"data-hide-label": o(ie)(y.showLabel),
|
|
1033
1033
|
"data-show-icon": o(F)(y.showIconLeading ?? y.showIcon),
|
|
1034
1034
|
"data-icon": y.iconLeading ?? y.icon,
|
|
1035
1035
|
"data-icon-trailing": y.iconTrailing,
|
|
1036
|
-
"data-hide-asterisk": o(
|
|
1036
|
+
"data-hide-asterisk": o(ie)(y.showRequiredAsterisk),
|
|
1037
1037
|
"data-show-icon-trailing": o(F)(y.showIconTrailing)
|
|
1038
1038
|
}, [
|
|
1039
|
-
_("label", { for: i.value }, L(y.label ?? o(
|
|
1039
|
+
_("label", { for: i.value }, L(y.label ?? o(me)), 9, lt),
|
|
1040
1040
|
_("input", {
|
|
1041
1041
|
"aria-invalid": y.validation === "invalid",
|
|
1042
1042
|
"data-custom-validity": y.validation,
|
|
@@ -1047,15 +1047,15 @@ const Wa = (t) => {
|
|
|
1047
1047
|
name: y.name,
|
|
1048
1048
|
type: y.type || "text",
|
|
1049
1049
|
multiple: o(z)(y.multiple, "multiple"),
|
|
1050
|
-
placeholder: y.placeholder ?? o(
|
|
1050
|
+
placeholder: y.placeholder ?? o(Ke),
|
|
1051
1051
|
disabled: o(z)(y.disabled, "disabled"),
|
|
1052
1052
|
required: o(z)(y.required, "required"),
|
|
1053
|
-
step: o(
|
|
1053
|
+
step: o(ge)(y.step),
|
|
1054
1054
|
value: y.value ?? I.value,
|
|
1055
|
-
maxLength: o(
|
|
1056
|
-
minLength: o(
|
|
1057
|
-
max: o(
|
|
1058
|
-
min: o(
|
|
1055
|
+
maxLength: o(ge)(y.maxLength, y.maxlength),
|
|
1056
|
+
minLength: o(ge)(y.minLength, y.minlength),
|
|
1057
|
+
max: o(je)(y.max, y.type),
|
|
1058
|
+
min: o(je)(y.min, y.type),
|
|
1059
1059
|
readOnly: o(z)(y.readOnly, "readOnly") || o(z)(y.readonly, "readonly"),
|
|
1060
1060
|
form: y.form,
|
|
1061
1061
|
pattern: y.pattern,
|
|
@@ -1070,18 +1070,18 @@ const Wa = (t) => {
|
|
|
1070
1070
|
onFocus: X[3] || (X[3] = async (B) => S(B)),
|
|
1071
1071
|
list: y.dataList && d.value,
|
|
1072
1072
|
"aria-describedby": y.ariaDescribedBy ?? g.value
|
|
1073
|
-
}, null, 40,
|
|
1073
|
+
}, null, 40, ot),
|
|
1074
1074
|
y.dataList ? (m(), k("datalist", {
|
|
1075
1075
|
key: 0,
|
|
1076
1076
|
id: d.value
|
|
1077
1077
|
}, [
|
|
1078
|
-
(m(!0), k(G, null,
|
|
1078
|
+
(m(!0), k(G, null, fe(W(), (B) => (m(), k("option", {
|
|
1079
1079
|
key: d.value + "-option-" + B.value,
|
|
1080
1080
|
value: B.value
|
|
1081
|
-
}, L(B.label), 9,
|
|
1082
|
-
], 8,
|
|
1081
|
+
}, L(B.label), 9, st))), 128))
|
|
1082
|
+
], 8, nt)) : R("", !0),
|
|
1083
1083
|
A(y.$slots, "default"),
|
|
1084
|
-
o(Z)(y.message, y.showMessage) ? (m(), Y(
|
|
1084
|
+
o(Z)(y.message, y.showMessage) ? (m(), Y(ae, {
|
|
1085
1085
|
key: 1,
|
|
1086
1086
|
size: y.messageSize || "small",
|
|
1087
1087
|
icon: y.messageIcon,
|
|
@@ -1092,18 +1092,18 @@ const Wa = (t) => {
|
|
|
1092
1092
|
]),
|
|
1093
1093
|
_: 1
|
|
1094
1094
|
}, 8, ["size", "icon", "id"])) : R("", !0),
|
|
1095
|
-
p() ? (m(), Y(
|
|
1095
|
+
p() ? (m(), Y(ae, {
|
|
1096
1096
|
key: 2,
|
|
1097
1097
|
semantic: "successful",
|
|
1098
1098
|
id: c.value,
|
|
1099
1099
|
size: y.validMessageSize || "small"
|
|
1100
1100
|
}, {
|
|
1101
1101
|
default: O(() => [
|
|
1102
|
-
N(L(y.validMessage || o(
|
|
1102
|
+
N(L(y.validMessage || o(ce)), 1)
|
|
1103
1103
|
]),
|
|
1104
1104
|
_: 1
|
|
1105
1105
|
}, 8, ["id", "size"])) : R("", !0),
|
|
1106
|
-
|
|
1106
|
+
ee(ae, {
|
|
1107
1107
|
semantic: "critical",
|
|
1108
1108
|
id: r.value,
|
|
1109
1109
|
size: y.invalidMessageSize || "small"
|
|
@@ -1113,10 +1113,10 @@ const Wa = (t) => {
|
|
|
1113
1113
|
]),
|
|
1114
1114
|
_: 1
|
|
1115
1115
|
}, 8, ["id", "size"]),
|
|
1116
|
-
_("span",
|
|
1117
|
-
], 10,
|
|
1116
|
+
_("span", dt, L(w.value), 1)
|
|
1117
|
+
], 10, it));
|
|
1118
1118
|
}
|
|
1119
|
-
}),
|
|
1119
|
+
}), rt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], la = /* @__PURE__ */ U({
|
|
1120
1120
|
__name: "tooltip",
|
|
1121
1121
|
props: {
|
|
1122
1122
|
showArrow: { type: [Boolean, String], default: void 0 },
|
|
@@ -1133,7 +1133,7 @@ const Wa = (t) => {
|
|
|
1133
1133
|
width: { default: void 0 }
|
|
1134
1134
|
},
|
|
1135
1135
|
setup(t) {
|
|
1136
|
-
const a = t, n = s(
|
|
1136
|
+
const a = t, n = s(Se), e = s(!1), i = s(void 0), u = s(void 0), c = s(null);
|
|
1137
1137
|
j(() => {
|
|
1138
1138
|
n.value = a.id || "tooltip-" + K(), e.value = !0;
|
|
1139
1139
|
}), D(
|
|
@@ -1167,8 +1167,8 @@ const Wa = (t) => {
|
|
|
1167
1167
|
return p && p.localName.includes("tooltip") && (p = p.parentElement), p;
|
|
1168
1168
|
}
|
|
1169
1169
|
function g(p) {
|
|
1170
|
-
p && c.value &&
|
|
1171
|
-
c.value &&
|
|
1170
|
+
p && c.value && J(() => {
|
|
1171
|
+
c.value && ia(
|
|
1172
1172
|
c.value,
|
|
1173
1173
|
p,
|
|
1174
1174
|
a.placement ?? "bottom"
|
|
@@ -1179,12 +1179,12 @@ const Wa = (t) => {
|
|
|
1179
1179
|
p?.target?.contains && p?.target?.contains(c.value) && g(f);
|
|
1180
1180
|
}
|
|
1181
1181
|
function w() {
|
|
1182
|
-
i.value && new
|
|
1182
|
+
i.value && new le().removeCallback(
|
|
1183
1183
|
i.value
|
|
1184
1184
|
), u.value?.unobserve(d());
|
|
1185
1185
|
}
|
|
1186
1186
|
function h(p) {
|
|
1187
|
-
i.value = new
|
|
1187
|
+
i.value = new le().addCallback(
|
|
1188
1188
|
(f) => I(f, p)
|
|
1189
1189
|
), g(p), u.value?.observe(d());
|
|
1190
1190
|
}
|
|
@@ -1205,9 +1205,9 @@ const Wa = (t) => {
|
|
|
1205
1205
|
onClick: f[0] || (f[0] = async (T) => r(T))
|
|
1206
1206
|
}, [
|
|
1207
1207
|
A(p.$slots, "default")
|
|
1208
|
-
], 10,
|
|
1208
|
+
], 10, rt));
|
|
1209
1209
|
}
|
|
1210
|
-
}),
|
|
1210
|
+
}), ct = ["id", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-show-icon", "data-no-text", "data-overflow"], vt = /* @__PURE__ */ U({
|
|
1211
1211
|
__name: "tag",
|
|
1212
1212
|
props: {
|
|
1213
1213
|
behavior: { default: void 0 },
|
|
@@ -1236,7 +1236,7 @@ const Wa = (t) => {
|
|
|
1236
1236
|
u && (u.stopPropagation(), a.onRemove && a.onRemove(u));
|
|
1237
1237
|
}
|
|
1238
1238
|
function i() {
|
|
1239
|
-
return a.removeButton ? a.removeButton :
|
|
1239
|
+
return a.removeButton ? a.removeButton : Je;
|
|
1240
1240
|
}
|
|
1241
1241
|
return (u, c) => (m(), k("div", {
|
|
1242
1242
|
ref_key: "_ref",
|
|
@@ -1266,19 +1266,19 @@ const Wa = (t) => {
|
|
|
1266
1266
|
type: "button",
|
|
1267
1267
|
onClick: c[0] || (c[0] = async (r) => e(r))
|
|
1268
1268
|
}, [
|
|
1269
|
-
|
|
1269
|
+
ee(la, { variant: "label" }, {
|
|
1270
1270
|
default: O(() => [
|
|
1271
1271
|
N(L(i()), 1)
|
|
1272
1272
|
]),
|
|
1273
1273
|
_: 1
|
|
1274
1274
|
})
|
|
1275
1275
|
])) : R("", !0)
|
|
1276
|
-
], 10,
|
|
1276
|
+
], 10, ct));
|
|
1277
1277
|
}
|
|
1278
|
-
}),
|
|
1278
|
+
}), ft = ["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-show-icon"], pt = ["id"], ht = ["id", "form", "name", "multiple", "disabled", "required"], mt = ["disabled", "value"], gt = ["open"], bt = ["id", "aria-disabled", "aria-labelledby"], yt = ["data-visually-hidden", "id"], kt = { key: 1 }, wt = { key: 0 }, St = { key: 0 }, Bt = { class: "db-checkbox db-custom-select-list-item" }, Lt = ["form", "checked"], It = ["aria-hidden", "id"], $t = {
|
|
1279
1279
|
"data-visually-hidden": "true",
|
|
1280
1280
|
role: "status"
|
|
1281
|
-
},
|
|
1281
|
+
}, nl = /* @__PURE__ */ U({
|
|
1282
1282
|
__name: "custom-select",
|
|
1283
1283
|
props: {
|
|
1284
1284
|
children: { default: void 0 },
|
|
@@ -1343,12 +1343,12 @@ const Wa = (t) => {
|
|
|
1343
1343
|
},
|
|
1344
1344
|
emits: ["update:values"],
|
|
1345
1345
|
setup(t, { emit: a }) {
|
|
1346
|
-
const n = a, e = t, i = s(void 0), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(void 0), g = s(void 0), I = s(void 0), w = s(void 0), h = s(void 0), p = s("no-validation"), f = s(!1), T = s(void 0), C = s(""), b = s(void 0), S = s(""), W = s([]), y = s(!1), X = s(!1), B = s(0), q = s([]), H = s([]),
|
|
1346
|
+
const n = a, e = t, i = s(void 0), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(void 0), g = s(void 0), I = s(void 0), w = s(void 0), h = s(void 0), p = s("no-validation"), f = s(!1), T = s(void 0), C = s(""), b = s(void 0), S = s(""), W = s([]), y = s(!1), X = s(!1), B = s(0), q = s([]), H = s([]), ke = s(!1), pe = s(void 0), $e = s(0), Ce = s(void 0), Ae = s(void 0), De = s(void 0), Ne = s(!1), Be = s(!1), oa = s(null), M = s(null), ne = s(null), Te = s(null), Fe = s(null);
|
|
1347
1347
|
j(() => {
|
|
1348
1348
|
const l = e.id ?? `custom-select-${K()}`;
|
|
1349
|
-
i.value = l, u.value = l +
|
|
1349
|
+
i.value = l, u.value = l + de, c.value = l + ue, r.value = l + re, d.value = l + He, g.value = l + Oe, I.value = l + "-summary", w.value = l + _e, b.value = l + "-selected-labels", h.value = l + "-info", v.value = e.invalidMessage || te, typeof window < "u" && "IntersectionObserver" in window && (Ae.value = new IntersectionObserver(($) => {
|
|
1350
1350
|
if (M.value) {
|
|
1351
|
-
const E = $.find(({ target:
|
|
1351
|
+
const E = $.find(({ target: Q }) => Q === M.value);
|
|
1352
1352
|
E && !E.isIntersecting && M.value.open && (M.value.open = !1);
|
|
1353
1353
|
}
|
|
1354
1354
|
}));
|
|
@@ -1357,7 +1357,7 @@ const Wa = (t) => {
|
|
|
1357
1357
|
() => {
|
|
1358
1358
|
M.value && M.value.addEventListener(
|
|
1359
1359
|
"focusout",
|
|
1360
|
-
(l) =>
|
|
1360
|
+
(l) => Le(l)
|
|
1361
1361
|
);
|
|
1362
1362
|
},
|
|
1363
1363
|
{
|
|
@@ -1368,8 +1368,8 @@ const Wa = (t) => {
|
|
|
1368
1368
|
() => [i.value],
|
|
1369
1369
|
() => {
|
|
1370
1370
|
if (i.value) {
|
|
1371
|
-
const l = i.value +
|
|
1372
|
-
g.value = i.value +
|
|
1371
|
+
const l = i.value + de;
|
|
1372
|
+
g.value = i.value + Oe, d.value = i.value + He, c.value = i.value + ue, r.value = i.value + re, w.value = i.value + _e, Z(e.message, e.showMessage) ? Pe(l) : Pe();
|
|
1373
1373
|
}
|
|
1374
1374
|
},
|
|
1375
1375
|
{
|
|
@@ -1394,7 +1394,7 @@ const Wa = (t) => {
|
|
|
1394
1394
|
), D(
|
|
1395
1395
|
() => [e.showNoResults, e.showLoading, H.value],
|
|
1396
1396
|
() => {
|
|
1397
|
-
e.showNoResults !== void 0 ?
|
|
1397
|
+
e.showNoResults !== void 0 ? ke.value = e.showNoResults : H.value && (ke.value = H.value.length === 0);
|
|
1398
1398
|
},
|
|
1399
1399
|
{
|
|
1400
1400
|
immediate: !0,
|
|
@@ -1429,9 +1429,9 @@ const Wa = (t) => {
|
|
|
1429
1429
|
flush: "post"
|
|
1430
1430
|
}
|
|
1431
1431
|
), D(
|
|
1432
|
-
() => [q.value,
|
|
1432
|
+
() => [q.value, ne.value],
|
|
1433
1433
|
() => {
|
|
1434
|
-
|
|
1434
|
+
ne.value && sa();
|
|
1435
1435
|
},
|
|
1436
1436
|
{
|
|
1437
1437
|
immediate: !0,
|
|
@@ -1449,7 +1449,7 @@ const Wa = (t) => {
|
|
|
1449
1449
|
), D(
|
|
1450
1450
|
() => [q.value, B.value],
|
|
1451
1451
|
() => {
|
|
1452
|
-
q.value?.length === 0 ? (
|
|
1452
|
+
q.value?.length === 0 ? (Ne.value = !1, Be.value = !1) : q.value?.length === B.value ? (Be.value = !1, Ne.value = !0) : q.value && (Be.value = !0);
|
|
1453
1453
|
},
|
|
1454
1454
|
{
|
|
1455
1455
|
immediate: !0,
|
|
@@ -1467,9 +1467,9 @@ const Wa = (t) => {
|
|
|
1467
1467
|
), D(
|
|
1468
1468
|
() => [e.searchValue],
|
|
1469
1469
|
() => {
|
|
1470
|
-
if (
|
|
1470
|
+
if (De.value = e.searchValue, e.searchValue) {
|
|
1471
1471
|
const l = e.searchValue;
|
|
1472
|
-
|
|
1472
|
+
Ue(l);
|
|
1473
1473
|
}
|
|
1474
1474
|
},
|
|
1475
1475
|
{
|
|
@@ -1506,7 +1506,7 @@ const Wa = (t) => {
|
|
|
1506
1506
|
C.value = $(l);
|
|
1507
1507
|
return;
|
|
1508
1508
|
}
|
|
1509
|
-
e.selectedType === "amount" ? C.value = e.amountText ? e.amountText : `${W.value?.length} ${
|
|
1509
|
+
e.selectedType === "amount" ? C.value = e.amountText ? e.amountText : `${W.value?.length} ${Ba}` : C.value = W.value?.map((l) => ye(l)).join(", ");
|
|
1510
1510
|
} else
|
|
1511
1511
|
C.value = "";
|
|
1512
1512
|
},
|
|
@@ -1524,77 +1524,77 @@ const Wa = (t) => {
|
|
|
1524
1524
|
flush: "post"
|
|
1525
1525
|
}
|
|
1526
1526
|
), D(
|
|
1527
|
-
() => [
|
|
1527
|
+
() => [Be.value, Te.value],
|
|
1528
1528
|
() => {
|
|
1529
|
-
|
|
1529
|
+
Te.value && (Te.value.indeterminate = !!Be.value);
|
|
1530
1530
|
},
|
|
1531
1531
|
{
|
|
1532
1532
|
immediate: !0,
|
|
1533
1533
|
flush: "post"
|
|
1534
1534
|
}
|
|
1535
1535
|
), D(
|
|
1536
|
-
() => [
|
|
1536
|
+
() => [ne.value, e.invalidMessage],
|
|
1537
1537
|
() => {
|
|
1538
|
-
v.value = e.invalidMessage ||
|
|
1538
|
+
v.value = e.invalidMessage || ne.value?.validationMessage || te;
|
|
1539
1539
|
},
|
|
1540
1540
|
{
|
|
1541
1541
|
immediate: !0,
|
|
1542
1542
|
flush: "post"
|
|
1543
1543
|
}
|
|
1544
1544
|
);
|
|
1545
|
-
function
|
|
1546
|
-
l?.target?.contains && l?.target?.contains(M.value) &&
|
|
1545
|
+
function na(l) {
|
|
1546
|
+
l?.target?.contains && l?.target?.contains(M.value) && Me();
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function ze() {
|
|
1549
1549
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
1550
1550
|
}
|
|
1551
|
-
function oa() {
|
|
1552
|
-
oe.value && (oe.value.value = sa()), !oe.value?.validity.valid || e.validation === "invalid" ? (T.value = r.value, v.value = e.invalidMessage || oe.value?.validationMessage || ae, ce() && (S.value = v.value, Q(() => S.value = "", 1e3)), f.value && (p.value = e.validation ?? "invalid")) : Re() && oe.value?.validity.valid && e.required ? (T.value = c.value, ce() && (S.value = e.validMessage ?? re, Q(() => S.value = "", 1e3)), p.value = e.validation ?? "valid") : Z(e.message, e.showMessage) ? (T.value = u.value, p.value = e.validation ?? "no-validation") : (T.value = w.value, p.value = e.validation ?? "no-validation");
|
|
1553
|
-
}
|
|
1554
|
-
function na(l) {
|
|
1555
|
-
e.onDropdownToggle && (l.stopPropagation(), e.onDropdownToggle(l)), l.target instanceof HTMLDetailsElement && l.target.open ? (fe.value = new ne().addCallback(
|
|
1556
|
-
($) => pa($)
|
|
1557
|
-
), _e.value = new ie().addCallback(
|
|
1558
|
-
($) => la($)
|
|
1559
|
-
), Fe(), Ce.value?.observe(M.value), l.target.dataset.test || Ve()) : (fe.value && new ne().removeCallback(
|
|
1560
|
-
fe.value
|
|
1561
|
-
), _e.value && new ie().removeCallback(
|
|
1562
|
-
_e.value
|
|
1563
|
-
), Ce.value?.unobserve(M.value));
|
|
1564
|
-
}
|
|
1565
1551
|
function sa() {
|
|
1552
|
+
ne.value && (ne.value.value = ua()), !ne.value?.validity.valid || e.validation === "invalid" ? (T.value = r.value, v.value = e.invalidMessage || ne.value?.validationMessage || te, ve() && (S.value = v.value, J(() => S.value = "", 1e3)), f.value && (p.value = e.validation ?? "invalid")) : ze() && ne.value?.validity.valid && e.required ? (T.value = c.value, ve() && (S.value = e.validMessage ?? ce, J(() => S.value = "", 1e3)), p.value = e.validation ?? "valid") : Z(e.message, e.showMessage) ? (T.value = u.value, p.value = e.validation ?? "no-validation") : (T.value = w.value, p.value = e.validation ?? "no-validation");
|
|
1553
|
+
}
|
|
1554
|
+
function da(l) {
|
|
1555
|
+
e.onDropdownToggle && (l.stopPropagation(), e.onDropdownToggle(l)), l.target instanceof HTMLDetailsElement && l.target.open ? (pe.value = new se().addCallback(
|
|
1556
|
+
($) => ma($)
|
|
1557
|
+
), Ce.value = new le().addCallback(
|
|
1558
|
+
($) => na($)
|
|
1559
|
+
), Me(), Ae.value?.observe(M.value), l.target.dataset.test || qe()) : (pe.value && new se().removeCallback(
|
|
1560
|
+
pe.value
|
|
1561
|
+
), Ce.value && new le().removeCallback(
|
|
1562
|
+
Ce.value
|
|
1563
|
+
), Ae.value?.unobserve(M.value));
|
|
1564
|
+
}
|
|
1565
|
+
function ua() {
|
|
1566
1566
|
return q.value?.length ? q.value.at(0) ?? "" : "";
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1568
|
+
function Pe(l) {
|
|
1569
1569
|
const $ = [];
|
|
1570
1570
|
l && $.push(l), b.value && C.value?.length && $.push(b.value), T.value = $.join(" ");
|
|
1571
1571
|
}
|
|
1572
|
-
function
|
|
1573
|
-
return e.selectAllLabel ??
|
|
1572
|
+
function ra() {
|
|
1573
|
+
return e.selectAllLabel ?? me;
|
|
1574
1574
|
}
|
|
1575
|
-
function
|
|
1575
|
+
function ye(l) {
|
|
1576
1576
|
return l.label ?? l.value?.toString() ?? "";
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function ca(l) {
|
|
1579
1579
|
return l && q.value?.includes ? q.value?.includes(l) : !1;
|
|
1580
1580
|
}
|
|
1581
|
-
function
|
|
1581
|
+
function va(l) {
|
|
1582
1582
|
const $ = e.removeTagsTexts, E = e.options;
|
|
1583
1583
|
if ($ && E) {
|
|
1584
|
-
const
|
|
1585
|
-
if (
|
|
1586
|
-
return $[
|
|
1584
|
+
const Q = E.findIndex((x) => x.value === l.value);
|
|
1585
|
+
if (Q >= 0 && Q < $.length)
|
|
1586
|
+
return $[Q];
|
|
1587
1587
|
}
|
|
1588
|
-
return `${
|
|
1588
|
+
return `${Je} ${ye(l)}`;
|
|
1589
1589
|
}
|
|
1590
|
-
function
|
|
1591
|
-
$ && $.stopPropagation(),
|
|
1590
|
+
function fa(l, $) {
|
|
1591
|
+
$ && $.stopPropagation(), Ve(l.value), Ie();
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function Me() {
|
|
1594
1594
|
if (M.value) {
|
|
1595
1595
|
const l = M.value.querySelector("article");
|
|
1596
|
-
l &&
|
|
1597
|
-
|
|
1596
|
+
l && J(() => {
|
|
1597
|
+
ja(
|
|
1598
1598
|
l,
|
|
1599
1599
|
M.value,
|
|
1600
1600
|
e.placement ?? "bottom"
|
|
@@ -1602,68 +1602,91 @@ const Wa = (t) => {
|
|
|
1602
1602
|
}, 1);
|
|
1603
1603
|
}
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function pa(l) {
|
|
1606
1606
|
if (M.value?.open) {
|
|
1607
1607
|
if (self.document) {
|
|
1608
1608
|
const $ = self.document.activeElement;
|
|
1609
1609
|
if ($)
|
|
1610
1610
|
if ($.getAttribute("type") === "checkbox" || $.getAttribute("type") === "radio") {
|
|
1611
|
-
const
|
|
1612
|
-
if (l.key === "ArrowDown" || l.key === "ArrowRight")
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
)
|
|
1611
|
+
const Q = $?.closest("li");
|
|
1612
|
+
if (l.key === "ArrowDown" || l.key === "ArrowRight") {
|
|
1613
|
+
let x = Q?.nextElementSibling;
|
|
1614
|
+
for (; x; ) {
|
|
1615
|
+
const he = x.querySelector("input");
|
|
1616
|
+
if (he) {
|
|
1617
|
+
he.focus();
|
|
1618
|
+
break;
|
|
1619
|
+
}
|
|
1620
|
+
x = x.nextElementSibling;
|
|
1621
|
+
}
|
|
1622
|
+
x || Ee($);
|
|
1623
|
+
} else {
|
|
1624
|
+
let x = Q?.previousElementSibling;
|
|
1625
|
+
for (; x; ) {
|
|
1626
|
+
const he = x.querySelector("input");
|
|
1627
|
+
if (he) {
|
|
1628
|
+
he.focus();
|
|
1629
|
+
break;
|
|
1630
|
+
}
|
|
1631
|
+
x = x.previousElementSibling;
|
|
1632
|
+
}
|
|
1633
|
+
if (!x) {
|
|
1634
|
+
const he = M.value.querySelector(
|
|
1635
|
+
'input[type="checkbox"]'
|
|
1629
1636
|
);
|
|
1630
|
-
|
|
1637
|
+
if (he && he !== $)
|
|
1638
|
+
Ee($);
|
|
1639
|
+
else {
|
|
1640
|
+
const Ge = Ye(M.value);
|
|
1641
|
+
if (Ge)
|
|
1642
|
+
J(() => {
|
|
1643
|
+
Ge.focus();
|
|
1644
|
+
}, 100);
|
|
1645
|
+
else {
|
|
1646
|
+
const We = Array.from(
|
|
1647
|
+
M.value?.querySelectorAll(
|
|
1648
|
+
'input[type="checkbox"],input[type="radio"]'
|
|
1649
|
+
)
|
|
1650
|
+
);
|
|
1651
|
+
We.length && We.at(-1)?.focus();
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1631
1654
|
}
|
|
1632
1655
|
}
|
|
1633
1656
|
} else
|
|
1634
|
-
$.getAttribute("type") === "search" && (l.key === "ArrowUp" || l.key === "ArrowLeft") ? (
|
|
1657
|
+
$.getAttribute("type") === "search" && (l.key === "ArrowUp" || l.key === "ArrowLeft") ? (Le(void 0, !0), Ie()) : Ee($);
|
|
1635
1658
|
}
|
|
1636
|
-
} else (l.key === "ArrowDown" || l.key === "ArrowRight") && (
|
|
1659
|
+
} else (l.key === "ArrowDown" || l.key === "ArrowRight") && (Me(), M.value && (M.value.open = !0), qe());
|
|
1637
1660
|
l.stopPropagation(), l.preventDefault();
|
|
1638
1661
|
}
|
|
1639
|
-
function
|
|
1662
|
+
function ha(l) {
|
|
1640
1663
|
if (l.stopPropagation(), l.key === "Escape" && M.value?.open)
|
|
1641
|
-
|
|
1664
|
+
Le(void 0, !0), Ie();
|
|
1642
1665
|
else if (l.key === "Enter" && M.value?.open) {
|
|
1643
1666
|
if (self.document) {
|
|
1644
1667
|
const $ = self.document.activeElement;
|
|
1645
1668
|
["checkbox", "radio"].includes($.getAttribute("type") || "") && ($.click(), l.preventDefault());
|
|
1646
1669
|
}
|
|
1647
|
-
} else (l.key === "ArrowDown" || l.key === "ArrowUp" || l.key === "ArrowLeft" || l.key === "ArrowRight") &&
|
|
1670
|
+
} else (l.key === "ArrowDown" || l.key === "ArrowUp" || l.key === "ArrowLeft" || l.key === "ArrowRight") && pa(l);
|
|
1648
1671
|
}
|
|
1649
|
-
function
|
|
1672
|
+
function Le(l, $) {
|
|
1650
1673
|
if (M.value) {
|
|
1651
1674
|
if ($)
|
|
1652
|
-
M.value.open = !1,
|
|
1675
|
+
M.value.open = !1, Ie();
|
|
1653
1676
|
else if (M.value.open && l && l.relatedTarget) {
|
|
1654
1677
|
const E = l.relatedTarget;
|
|
1655
|
-
M.value.contains(E) ||
|
|
1678
|
+
M.value.contains(E) || J(() => M.value.open = !1, 1);
|
|
1656
1679
|
}
|
|
1657
1680
|
}
|
|
1658
1681
|
}
|
|
1659
|
-
function
|
|
1682
|
+
function ma(l) {
|
|
1660
1683
|
if (l) {
|
|
1661
1684
|
const $ = l.target;
|
|
1662
1685
|
M.value?.open && !M.value.contains($) && (M.value.open = !1);
|
|
1663
1686
|
}
|
|
1664
1687
|
}
|
|
1665
|
-
function
|
|
1666
|
-
(/* @__PURE__ */ new Date()).getTime() -
|
|
1688
|
+
function we(l) {
|
|
1689
|
+
(/* @__PURE__ */ new Date()).getTime() - $e.value < 200 || (q.value = l, f.value = !0, e.onOptionSelected && e.onOptionSelected(l ?? []), oe(
|
|
1667
1690
|
n,
|
|
1668
1691
|
{
|
|
1669
1692
|
target: {
|
|
@@ -1671,24 +1694,24 @@ const Wa = (t) => {
|
|
|
1671
1694
|
}
|
|
1672
1695
|
},
|
|
1673
1696
|
"values"
|
|
1674
|
-
),
|
|
1697
|
+
), $e.value = (/* @__PURE__ */ new Date()).getTime());
|
|
1675
1698
|
}
|
|
1676
|
-
function
|
|
1677
|
-
l && (e.multiple ? q.value?.includes(l) ?
|
|
1699
|
+
function Ve(l) {
|
|
1700
|
+
l && (e.multiple ? q.value?.includes(l) ? we(q.value.filter(($) => $ !== l)) : we([...q.value || [], l]) : (we([l]), Le(void 0, !0)));
|
|
1678
1701
|
}
|
|
1679
|
-
function
|
|
1702
|
+
function ga(l) {
|
|
1680
1703
|
if (l.stopPropagation(), q.value?.length === B.value)
|
|
1681
|
-
|
|
1704
|
+
we([]);
|
|
1682
1705
|
else {
|
|
1683
|
-
const $ = X.value &&
|
|
1684
|
-
|
|
1706
|
+
const $ = X.value && Fe.value ? Fe.value.value : void 0;
|
|
1707
|
+
we(
|
|
1685
1708
|
e.options ? e.options.filter(
|
|
1686
1709
|
(E) => !E.isGroupTitle && (!$ || E.value?.toLowerCase().includes($.toLowerCase()))
|
|
1687
1710
|
).map((E) => E.value ?? "") : []
|
|
1688
1711
|
);
|
|
1689
1712
|
}
|
|
1690
1713
|
}
|
|
1691
|
-
function
|
|
1714
|
+
function Ee(l) {
|
|
1692
1715
|
if (M.value) {
|
|
1693
1716
|
const $ = Array.from(
|
|
1694
1717
|
M.value.querySelectorAll(
|
|
@@ -1696,22 +1719,22 @@ const Wa = (t) => {
|
|
|
1696
1719
|
)
|
|
1697
1720
|
);
|
|
1698
1721
|
if ($.length) {
|
|
1699
|
-
const E = $.at(0),
|
|
1700
|
-
|
|
1701
|
-
|
|
1722
|
+
const E = $.at(0), Q = E === l && $.length > 1 ? $.at(1) : E;
|
|
1723
|
+
Q && J(() => {
|
|
1724
|
+
Q.focus();
|
|
1702
1725
|
}, 1);
|
|
1703
1726
|
}
|
|
1704
1727
|
}
|
|
1705
1728
|
}
|
|
1706
|
-
function
|
|
1729
|
+
function qe() {
|
|
1707
1730
|
if (M.value) {
|
|
1708
|
-
const l =
|
|
1709
|
-
l ?
|
|
1731
|
+
const l = Ye(M.value);
|
|
1732
|
+
l ? J(() => {
|
|
1710
1733
|
l.focus();
|
|
1711
|
-
}, 1) :
|
|
1734
|
+
}, 1) : Ee();
|
|
1712
1735
|
}
|
|
1713
1736
|
}
|
|
1714
|
-
function
|
|
1737
|
+
function Ue(l) {
|
|
1715
1738
|
if (l === void 0)
|
|
1716
1739
|
return;
|
|
1717
1740
|
let $;
|
|
@@ -1719,69 +1742,69 @@ const Wa = (t) => {
|
|
|
1719
1742
|
$ = l;
|
|
1720
1743
|
else {
|
|
1721
1744
|
const E = l;
|
|
1722
|
-
E.stopPropagation(), e.onSearch && e.onSearch(E), $ = E.target.value,
|
|
1745
|
+
E.stopPropagation(), e.onSearch && e.onSearch(E), $ = E.target.value, De.value = $;
|
|
1723
1746
|
}
|
|
1724
1747
|
!e.options || !$ || $.length === 0 ? H.value = e.options : e.searchFilter ? H.value = e.options.filter(
|
|
1725
1748
|
(E) => e.searchFilter(E, $)
|
|
1726
1749
|
) : H.value = e.options.filter(
|
|
1727
|
-
(E) => !E.isGroupTitle &&
|
|
1750
|
+
(E) => !E.isGroupTitle && ye(E).toLowerCase().includes($.toLowerCase())
|
|
1728
1751
|
);
|
|
1729
1752
|
}
|
|
1730
|
-
function
|
|
1731
|
-
l.stopPropagation(),
|
|
1753
|
+
function ba(l) {
|
|
1754
|
+
l.stopPropagation(), we([]), Ie();
|
|
1732
1755
|
}
|
|
1733
|
-
function
|
|
1756
|
+
function Ie() {
|
|
1734
1757
|
M.value && M.value.querySelector("summary")?.focus();
|
|
1735
1758
|
}
|
|
1736
|
-
function
|
|
1759
|
+
function ya(l) {
|
|
1737
1760
|
l.stopPropagation();
|
|
1738
1761
|
}
|
|
1739
1762
|
return (l, $) => (m(), k("div", {
|
|
1740
1763
|
id: i.value,
|
|
1741
1764
|
ref_key: "_ref",
|
|
1742
|
-
ref:
|
|
1765
|
+
ref: oa,
|
|
1743
1766
|
class: P(o(V)("db-custom-select", e.class)),
|
|
1744
1767
|
"aria-invalid": p.value === "invalid",
|
|
1745
1768
|
"data-custom-validity": p.value,
|
|
1746
1769
|
"data-width": l.formFieldWidth,
|
|
1747
1770
|
"data-variant": l.variant === "floating" && l.selectedType === "tag" && l.multiple ? "above" : l.variant,
|
|
1748
1771
|
"data-required": o(F)(l.required),
|
|
1749
|
-
"data-hide-asterisk": o(
|
|
1772
|
+
"data-hide-asterisk": o(ie)(l.showRequiredAsterisk),
|
|
1750
1773
|
"data-placement": l.placement,
|
|
1751
1774
|
"data-selected-type": l.multiple ? l.selectedType : "text",
|
|
1752
|
-
"data-hide-label": o(
|
|
1775
|
+
"data-hide-label": o(ie)(l.showLabel),
|
|
1753
1776
|
"data-icon": l.icon,
|
|
1754
1777
|
"data-show-icon": o(F)(l.showIcon)
|
|
1755
1778
|
}, [
|
|
1756
1779
|
_("label", { id: g.value }, [
|
|
1757
|
-
N(L(l.label ?? o(
|
|
1780
|
+
N(L(l.label ?? o(me)), 1),
|
|
1758
1781
|
_("select", {
|
|
1759
1782
|
role: "none",
|
|
1760
1783
|
hidden: !0,
|
|
1761
1784
|
id: d.value,
|
|
1762
1785
|
tabIndex: -1,
|
|
1763
1786
|
ref_key: "selectRef",
|
|
1764
|
-
ref:
|
|
1787
|
+
ref: ne,
|
|
1765
1788
|
form: l.form,
|
|
1766
1789
|
name: l.name,
|
|
1767
1790
|
multiple: o(z)(l.multiple, "multiple"),
|
|
1768
1791
|
disabled: o(z)(l.disabled, "disabled"),
|
|
1769
1792
|
required: o(z)(l.required, "required"),
|
|
1770
|
-
onChange: $[0] || ($[0] = async (E) =>
|
|
1793
|
+
onChange: $[0] || ($[0] = async (E) => ya(E))
|
|
1771
1794
|
}, [
|
|
1772
|
-
l.options?.length ? (m(!0), k(G, { key: 0 },
|
|
1773
|
-
key:
|
|
1795
|
+
l.options?.length ? (m(!0), k(G, { key: 0 }, fe(l.options, (E, Q) => (m(), k("option", {
|
|
1796
|
+
key: Q,
|
|
1774
1797
|
disabled: E.disabled,
|
|
1775
1798
|
value: E.value
|
|
1776
|
-
}, L(
|
|
1777
|
-
], 40,
|
|
1778
|
-
], 8,
|
|
1799
|
+
}, L(ye(E)), 9, mt))), 128)) : R("", !0)
|
|
1800
|
+
], 40, ht)
|
|
1801
|
+
], 8, pt),
|
|
1779
1802
|
_("details", {
|
|
1780
1803
|
ref_key: "detailsRef",
|
|
1781
1804
|
ref: M,
|
|
1782
1805
|
open: l.open,
|
|
1783
|
-
onToggle: $[2] || ($[2] = async (E) =>
|
|
1784
|
-
onKeydown: $[3] || ($[3] = async (E) =>
|
|
1806
|
+
onToggle: $[2] || ($[2] = async (E) => da(E)),
|
|
1807
|
+
onKeydown: $[3] || ($[3] = async (E) => ha(E))
|
|
1785
1808
|
}, [
|
|
1786
1809
|
A(l.$slots, "default"),
|
|
1787
1810
|
l.options ? (m(), k(G, { key: 0 }, [
|
|
@@ -1795,87 +1818,87 @@ const Wa = (t) => {
|
|
|
1795
1818
|
key: 0,
|
|
1796
1819
|
"data-visually-hidden": o(F)(l.selectedType === "tag"),
|
|
1797
1820
|
id: b.value
|
|
1798
|
-
}, L(C.value), 9,
|
|
1799
|
-
l.selectedType === "tag" ? (m(), k("div",
|
|
1800
|
-
(m(!0), k(G, null,
|
|
1801
|
-
key:
|
|
1821
|
+
}, L(C.value), 9, yt)) : R("", !0),
|
|
1822
|
+
l.selectedType === "tag" ? (m(), k("div", kt, [
|
|
1823
|
+
(m(!0), k(G, null, fe(W.value, (E, Q) => (m(), Y(vt, {
|
|
1824
|
+
key: Q,
|
|
1802
1825
|
emphasis: "strong",
|
|
1803
1826
|
behavior: "removable",
|
|
1804
|
-
removeButton:
|
|
1805
|
-
onRemove: (
|
|
1827
|
+
removeButton: va(E),
|
|
1828
|
+
onRemove: (x) => fa(E, x)
|
|
1806
1829
|
}, {
|
|
1807
1830
|
default: O(() => [
|
|
1808
|
-
N(L(
|
|
1831
|
+
N(L(ye(E)), 1)
|
|
1809
1832
|
]),
|
|
1810
1833
|
_: 2
|
|
1811
1834
|
}, 1032, ["removeButton", "onRemove"]))), 128))
|
|
1812
1835
|
])) : R("", !0)
|
|
1813
|
-
], 8,
|
|
1814
|
-
|
|
1836
|
+
], 8, bt),
|
|
1837
|
+
ee(Ka, { width: l.dropdownWidth }, {
|
|
1815
1838
|
default: O(() => [
|
|
1816
|
-
X.value ? (m(), k("div",
|
|
1817
|
-
|
|
1839
|
+
X.value ? (m(), k("div", wt, [
|
|
1840
|
+
ee(ut, {
|
|
1818
1841
|
type: "search",
|
|
1819
1842
|
ref_key: "searchInputRef",
|
|
1820
|
-
ref:
|
|
1843
|
+
ref: Fe,
|
|
1821
1844
|
name: i.value,
|
|
1822
1845
|
form: i.value,
|
|
1823
1846
|
showLabel: !1,
|
|
1824
|
-
value:
|
|
1825
|
-
label: l.searchLabel ?? o(
|
|
1847
|
+
value: De.value,
|
|
1848
|
+
label: l.searchLabel ?? o(me),
|
|
1826
1849
|
placeholder: l.searchPlaceholder ?? l.searchLabel,
|
|
1827
|
-
ariaDescribedBy:
|
|
1828
|
-
onInput: (E) =>
|
|
1850
|
+
ariaDescribedBy: ke.value || l.showLoading ? h.value : void 0,
|
|
1851
|
+
onInput: (E) => Ue(E)
|
|
1829
1852
|
}, null, 8, ["name", "form", "value", "label", "placeholder", "ariaDescribedBy", "onInput"])
|
|
1830
1853
|
])) : R("", !0),
|
|
1831
|
-
|
|
1854
|
+
ke.value || l.showLoading ? (m(), Y(ae, {
|
|
1832
1855
|
key: 1,
|
|
1833
1856
|
id: h.value,
|
|
1834
1857
|
icon: l.showLoading ? "circular_arrows" : void 0,
|
|
1835
1858
|
semantic: l.showLoading ? "informational" : "warning"
|
|
1836
1859
|
}, {
|
|
1837
1860
|
default: O(() => [
|
|
1838
|
-
N(L((l.showLoading ? l.loadingText : l.noResultsText) ?? o(
|
|
1861
|
+
N(L((l.showLoading ? l.loadingText : l.noResultsText) ?? o(wa)), 1)
|
|
1839
1862
|
]),
|
|
1840
1863
|
_: 1
|
|
1841
1864
|
}, 8, ["id", "icon", "semantic"])) : (m(), k(G, { key: 2 }, [
|
|
1842
|
-
y.value ? (m(), k("div",
|
|
1843
|
-
_("div",
|
|
1865
|
+
y.value ? (m(), k("div", St, [
|
|
1866
|
+
_("div", Bt, [
|
|
1844
1867
|
_("label", null, [
|
|
1845
1868
|
_("input", {
|
|
1846
1869
|
type: "checkbox",
|
|
1847
1870
|
value: "select-all",
|
|
1848
1871
|
ref_key: "selectAllRef",
|
|
1849
|
-
ref:
|
|
1872
|
+
ref: Te,
|
|
1850
1873
|
form: i.value,
|
|
1851
|
-
checked:
|
|
1852
|
-
onChange: $[1] || ($[1] = async (E) =>
|
|
1853
|
-
}, null, 40,
|
|
1854
|
-
N(L(
|
|
1874
|
+
checked: Ne.value,
|
|
1875
|
+
onChange: $[1] || ($[1] = async (E) => ga(E))
|
|
1876
|
+
}, null, 40, Lt),
|
|
1877
|
+
N(L(ra()), 1)
|
|
1855
1878
|
])
|
|
1856
1879
|
])
|
|
1857
1880
|
])) : R("", !0),
|
|
1858
|
-
|
|
1881
|
+
ee(tt, {
|
|
1859
1882
|
multiple: o(z)(l.multiple, "multiple"),
|
|
1860
|
-
label: l.ariaListLabel ?? l.label ?? o(
|
|
1883
|
+
label: l.ariaListLabel ?? l.label ?? o(me)
|
|
1861
1884
|
}, {
|
|
1862
1885
|
default: O(() => [
|
|
1863
|
-
(m(!0), k(G, null,
|
|
1864
|
-
key:
|
|
1886
|
+
(m(!0), k(G, null, fe(H.value, (E, Q) => (m(), Y(et, {
|
|
1887
|
+
key: Q,
|
|
1865
1888
|
type: l.multiple ? "checkbox" : "radio",
|
|
1866
1889
|
showDivider: E.showDivider,
|
|
1867
1890
|
icon: E.icon,
|
|
1868
1891
|
isGroupTitle: E.isGroupTitle,
|
|
1869
|
-
groupTitle:
|
|
1892
|
+
groupTitle: ye(E),
|
|
1870
1893
|
name: i.value,
|
|
1871
|
-
checked:
|
|
1894
|
+
checked: ca(E.value),
|
|
1872
1895
|
disabled: E.disabled,
|
|
1873
1896
|
value: E.value,
|
|
1874
|
-
onChange: (
|
|
1897
|
+
onChange: (x) => Ve(E.value)
|
|
1875
1898
|
}, {
|
|
1876
1899
|
default: O(() => [
|
|
1877
1900
|
E.isGroupTitle ? R("", !0) : (m(), k(G, { key: 0 }, [
|
|
1878
|
-
N(L(
|
|
1901
|
+
N(L(ye(E)), 1)
|
|
1879
1902
|
], 64))
|
|
1880
1903
|
]),
|
|
1881
1904
|
_: 2
|
|
@@ -1885,17 +1908,17 @@ const Wa = (t) => {
|
|
|
1885
1908
|
}, 8, ["multiple", "label"])
|
|
1886
1909
|
], 64)),
|
|
1887
1910
|
_("div", null, [
|
|
1888
|
-
|
|
1911
|
+
ee(be, {
|
|
1889
1912
|
variant: "ghost",
|
|
1890
1913
|
width: "full",
|
|
1891
1914
|
icon: "cross",
|
|
1892
1915
|
size: "small",
|
|
1893
1916
|
name: i.value,
|
|
1894
1917
|
form: i.value,
|
|
1895
|
-
onClick: (E) =>
|
|
1918
|
+
onClick: (E) => Le(void 0, !0)
|
|
1896
1919
|
}, {
|
|
1897
1920
|
default: O(() => [
|
|
1898
|
-
N(L(l.mobileCloseButtonText ?? o(
|
|
1921
|
+
N(L(l.mobileCloseButtonText ?? o(Re)), 1)
|
|
1899
1922
|
]),
|
|
1900
1923
|
_: 1
|
|
1901
1924
|
}, 8, ["name", "form", "onClick"])
|
|
@@ -1904,8 +1927,8 @@ const Wa = (t) => {
|
|
|
1904
1927
|
_: 1
|
|
1905
1928
|
}, 8, ["width"])
|
|
1906
1929
|
], 64)) : R("", !0)
|
|
1907
|
-
], 40,
|
|
1908
|
-
(l.showClearSelection ?? !0) && q.value?.length ? (m(), Y(
|
|
1930
|
+
], 40, gt),
|
|
1931
|
+
(l.showClearSelection ?? !0) && q.value?.length ? (m(), Y(be, {
|
|
1909
1932
|
key: 0,
|
|
1910
1933
|
icon: "cross",
|
|
1911
1934
|
variant: "ghost",
|
|
@@ -1913,11 +1936,11 @@ const Wa = (t) => {
|
|
|
1913
1936
|
noText: !0,
|
|
1914
1937
|
name: i.value,
|
|
1915
1938
|
form: i.value,
|
|
1916
|
-
onClick: (E) =>
|
|
1939
|
+
onClick: (E) => ba(E)
|
|
1917
1940
|
}, {
|
|
1918
1941
|
default: O(() => [
|
|
1919
1942
|
N(L(l.clearSelectionText), 1),
|
|
1920
|
-
|
|
1943
|
+
ee(la, { placement: "top" }, {
|
|
1921
1944
|
default: O(() => [
|
|
1922
1945
|
N(L(l.clearSelectionText), 1)
|
|
1923
1946
|
]),
|
|
@@ -1930,8 +1953,8 @@ const Wa = (t) => {
|
|
|
1930
1953
|
class: "db-custom-select-placeholder",
|
|
1931
1954
|
"aria-hidden": o(F)(!0),
|
|
1932
1955
|
id: w.value
|
|
1933
|
-
}, L(l.placeholder ?? l.label), 9,
|
|
1934
|
-
o(Z)(l.message, l.showMessage) ? (m(), Y(
|
|
1956
|
+
}, L(l.placeholder ?? l.label), 9, It),
|
|
1957
|
+
o(Z)(l.message, l.showMessage) ? (m(), Y(ae, {
|
|
1935
1958
|
key: 1,
|
|
1936
1959
|
size: "small",
|
|
1937
1960
|
icon: l.messageIcon,
|
|
@@ -1942,18 +1965,18 @@ const Wa = (t) => {
|
|
|
1942
1965
|
]),
|
|
1943
1966
|
_: 1
|
|
1944
1967
|
}, 8, ["icon", "id"])) : R("", !0),
|
|
1945
|
-
|
|
1968
|
+
ze() ? (m(), Y(ae, {
|
|
1946
1969
|
key: 2,
|
|
1947
1970
|
size: "small",
|
|
1948
1971
|
semantic: "successful",
|
|
1949
1972
|
id: c.value
|
|
1950
1973
|
}, {
|
|
1951
1974
|
default: O(() => [
|
|
1952
|
-
N(L(l.validMessage || o(
|
|
1975
|
+
N(L(l.validMessage || o(ce)), 1)
|
|
1953
1976
|
]),
|
|
1954
1977
|
_: 1
|
|
1955
1978
|
}, 8, ["id"])) : R("", !0),
|
|
1956
|
-
|
|
1979
|
+
ee(ae, {
|
|
1957
1980
|
size: "small",
|
|
1958
1981
|
semantic: "critical",
|
|
1959
1982
|
id: r.value
|
|
@@ -1963,10 +1986,10 @@ const Wa = (t) => {
|
|
|
1963
1986
|
]),
|
|
1964
1987
|
_: 1
|
|
1965
1988
|
}, 8, ["id"]),
|
|
1966
|
-
_("span",
|
|
1967
|
-
], 10,
|
|
1989
|
+
_("span", $t, L(S.value), 1)
|
|
1990
|
+
], 10, ft));
|
|
1968
1991
|
}
|
|
1969
|
-
}),
|
|
1992
|
+
}), sl = ["fixed", "auto", "full"], Tt = ["id"], dl = /* @__PURE__ */ U({
|
|
1970
1993
|
__name: "custom-select-form-field",
|
|
1971
1994
|
props: {
|
|
1972
1995
|
children: { default: void 0 },
|
|
@@ -1984,9 +2007,9 @@ const Wa = (t) => {
|
|
|
1984
2007
|
class: P(o(V)("db-custom-select-form-field", a.class))
|
|
1985
2008
|
}, [
|
|
1986
2009
|
A(e.$slots, "default")
|
|
1987
|
-
], 10,
|
|
2010
|
+
], 10, Tt));
|
|
1988
2011
|
}
|
|
1989
|
-
}),
|
|
2012
|
+
}), ul = ["checkbox", "radio"], rl = ["amount", "text", "tag"], Et = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], cl = /* @__PURE__ */ U({
|
|
1990
2013
|
__name: "divider",
|
|
1991
2014
|
props: {
|
|
1992
2015
|
margin: { default: void 0 },
|
|
@@ -2010,9 +2033,9 @@ const Wa = (t) => {
|
|
|
2010
2033
|
"data-emphasis": e.emphasis,
|
|
2011
2034
|
"data-width": e.width,
|
|
2012
2035
|
class: P(o(V)("db-divider", a.class))
|
|
2013
|
-
}, null, 10,
|
|
2036
|
+
}, null, 10, Et));
|
|
2014
2037
|
}
|
|
2015
|
-
}),
|
|
2038
|
+
}), vl = ["none", "_"], fl = ["horizontal", "vertical"], _t = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], Ct = ["data-spacing", "data-width", "data-direction", "data-rounded"], At = { class: "db-drawer-header" }, Dt = { class: "db-drawer-header-text" }, Nt = { class: "db-drawer-content" }, Ft = /* @__PURE__ */ U({
|
|
2016
2039
|
__name: "drawer",
|
|
2017
2040
|
props: {
|
|
2018
2041
|
backdrop: { default: void 0 },
|
|
@@ -2061,12 +2084,12 @@ const Wa = (t) => {
|
|
|
2061
2084
|
}
|
|
2062
2085
|
);
|
|
2063
2086
|
function u(r, v) {
|
|
2064
|
-
r && (
|
|
2087
|
+
r && (Aa(r) ? r.key === "Escape" && (r.preventDefault(), a.onClose && a.onClose(r)) : (v && (r.stopPropagation(), a.onClose && a.onClose(r)), r.target?.nodeName === "DIALOG" && r.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(r)));
|
|
2065
2088
|
}
|
|
2066
2089
|
function c() {
|
|
2067
2090
|
if (e.value) {
|
|
2068
2091
|
const r = !!a.open;
|
|
2069
|
-
r && !e.value.open && (i.value && (i.value.hidden = !1), a.position === "absolute" || a.backdrop === "none" || a.variant === "inside" ? e.value.show() : e.value.showModal()), !r && e.value.open && (i.value && (i.value.hidden = !0),
|
|
2092
|
+
r && !e.value.open && (i.value && (i.value.hidden = !1), a.position === "absolute" || a.backdrop === "none" || a.variant === "inside" ? e.value.show() : e.value.showModal()), !r && e.value.open && (i.value && (i.value.hidden = !0), J(() => {
|
|
2070
2093
|
i.value && (i.value.hidden = !1), e.value?.close();
|
|
2071
2094
|
}, 401));
|
|
2072
2095
|
}
|
|
@@ -2092,11 +2115,11 @@ const Wa = (t) => {
|
|
|
2092
2115
|
"data-direction": r.direction,
|
|
2093
2116
|
"data-rounded": o(F)(r.rounded)
|
|
2094
2117
|
}, [
|
|
2095
|
-
_("header",
|
|
2096
|
-
_("div",
|
|
2118
|
+
_("header", At, [
|
|
2119
|
+
_("div", Dt, [
|
|
2097
2120
|
A(r.$slots, "drawer-header")
|
|
2098
2121
|
]),
|
|
2099
|
-
|
|
2122
|
+
ee(be, {
|
|
2100
2123
|
class: "button-close-drawer",
|
|
2101
2124
|
icon: "cross",
|
|
2102
2125
|
variant: "ghost",
|
|
@@ -2105,24 +2128,24 @@ const Wa = (t) => {
|
|
|
2105
2128
|
onClick: (d) => u(d, !0)
|
|
2106
2129
|
}, {
|
|
2107
2130
|
default: O(() => [
|
|
2108
|
-
N(L(r.closeButtonText ?? o(
|
|
2131
|
+
N(L(r.closeButtonText ?? o(Re)), 1)
|
|
2109
2132
|
]),
|
|
2110
2133
|
_: 1
|
|
2111
2134
|
}, 8, ["id", "onClick"])
|
|
2112
2135
|
]),
|
|
2113
|
-
_("div",
|
|
2136
|
+
_("div", Nt, [
|
|
2114
2137
|
A(r.$slots, "default")
|
|
2115
2138
|
])
|
|
2116
|
-
], 10,
|
|
2117
|
-
], 40,
|
|
2139
|
+
], 10, Ct)
|
|
2140
|
+
], 40, _t));
|
|
2118
2141
|
}
|
|
2119
|
-
}),
|
|
2142
|
+
}), pl = ["none", "strong", "weak", "invisible"], hl = ["left", "right", "up", "down"], ml = ["modal", "inside"], gl = ["fixed", "absolute"], Mt = (t) => {
|
|
2120
2143
|
const {
|
|
2121
2144
|
target: a
|
|
2122
2145
|
} = t;
|
|
2123
2146
|
return !!(!a?.classList?.contains("db-navigation-item-expand-button") && a?.parentElement?.classList.contains("db-navigation-item"));
|
|
2124
2147
|
};
|
|
2125
|
-
class
|
|
2148
|
+
class Rt {
|
|
2126
2149
|
element;
|
|
2127
2150
|
subNavigation;
|
|
2128
2151
|
parentSubNavigation = null;
|
|
@@ -2140,7 +2163,7 @@ class Ft {
|
|
|
2140
2163
|
enableFollow() {
|
|
2141
2164
|
if (!this.initialized || this.triangleData || !this.element || !this.subNavigation)
|
|
2142
2165
|
return;
|
|
2143
|
-
const a =
|
|
2166
|
+
const a = Xa(this.subNavigation), n = this.element.getBoundingClientRect(), e = this.parentSubNavigation?.getBoundingClientRect().width ?? 0;
|
|
2144
2167
|
this.triangleData = {
|
|
2145
2168
|
itemRect: n,
|
|
2146
2169
|
parentElementWidth: e,
|
|
@@ -2195,7 +2218,7 @@ class Ft {
|
|
|
2195
2218
|
e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), n && (this.triangleData = void 0));
|
|
2196
2219
|
}
|
|
2197
2220
|
}
|
|
2198
|
-
const
|
|
2221
|
+
const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-header-drawer-navigation" }, Vt = { class: "db-header-meta-navigation" }, qt = { class: "db-header-secondary-action" }, Ut = { class: "db-header-meta-navigation" }, Gt = { class: "db-header-navigation-bar" }, Wt = { class: "db-header-brand-container" }, Ot = { class: "db-header-navigation-container" }, Ht = { class: "db-header-navigation" }, Xt = { class: "db-header-primary-action" }, jt = { class: "db-header-action-container" }, Yt = { class: "db-header-burger-menu-container" }, Kt = { class: "db-header-secondary-action" }, bl = /* @__PURE__ */ U({
|
|
2199
2222
|
__name: "header",
|
|
2200
2223
|
props: {
|
|
2201
2224
|
brand: {},
|
|
@@ -2221,7 +2244,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2221
2244
|
}), D(
|
|
2222
2245
|
() => [n.value, i.value],
|
|
2223
2246
|
() => {
|
|
2224
|
-
n.value && i.value && a.forceMobile && (
|
|
2247
|
+
n.value && i.value && a.forceMobile && (aa(i.value, {
|
|
2225
2248
|
key: "data-force-mobile",
|
|
2226
2249
|
value: "true"
|
|
2227
2250
|
}), e.value = !0);
|
|
@@ -2236,7 +2259,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2236
2259
|
a.onToggle && a.onToggle(v);
|
|
2237
2260
|
}
|
|
2238
2261
|
function c(r) {
|
|
2239
|
-
|
|
2262
|
+
Mt(r) && u();
|
|
2240
2263
|
}
|
|
2241
2264
|
return (r, v) => (m(), k("header", {
|
|
2242
2265
|
ref_key: "_ref",
|
|
@@ -2246,7 +2269,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2246
2269
|
"data-width": r.width,
|
|
2247
2270
|
"data-on-forcing-mobile": r.forceMobile && !e.value
|
|
2248
2271
|
}, [
|
|
2249
|
-
|
|
2272
|
+
ee(Ft, {
|
|
2250
2273
|
class: "db-header-drawer",
|
|
2251
2274
|
spacing: "small",
|
|
2252
2275
|
rounded: !0,
|
|
@@ -2254,60 +2277,60 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2254
2277
|
onClose: (d) => u()
|
|
2255
2278
|
}, {
|
|
2256
2279
|
default: O(() => [
|
|
2257
|
-
_("div",
|
|
2280
|
+
_("div", Pt, [
|
|
2258
2281
|
_("div", {
|
|
2259
2282
|
class: "db-header-navigation",
|
|
2260
2283
|
onClick: v[0] || (v[0] = async (d) => c(d))
|
|
2261
2284
|
}, [
|
|
2262
2285
|
A(r.$slots, "default")
|
|
2263
2286
|
]),
|
|
2264
|
-
_("div",
|
|
2287
|
+
_("div", Vt, [
|
|
2265
2288
|
A(r.$slots, "meta-navigation")
|
|
2266
2289
|
])
|
|
2267
2290
|
]),
|
|
2268
|
-
_("div",
|
|
2291
|
+
_("div", qt, [
|
|
2269
2292
|
A(r.$slots, "secondary-action")
|
|
2270
2293
|
])
|
|
2271
2294
|
]),
|
|
2272
2295
|
_: 3
|
|
2273
2296
|
}, 8, ["open", "onClose"]),
|
|
2274
|
-
_("div",
|
|
2297
|
+
_("div", Ut, [
|
|
2275
2298
|
A(r.$slots, "meta-navigation")
|
|
2276
2299
|
]),
|
|
2277
|
-
_("div",
|
|
2278
|
-
_("div",
|
|
2300
|
+
_("div", Gt, [
|
|
2301
|
+
_("div", Wt, [
|
|
2279
2302
|
A(r.$slots, "brand")
|
|
2280
2303
|
]),
|
|
2281
|
-
_("div",
|
|
2282
|
-
_("div",
|
|
2304
|
+
_("div", Ot, [
|
|
2305
|
+
_("div", Ht, [
|
|
2283
2306
|
A(r.$slots, "default")
|
|
2284
2307
|
]),
|
|
2285
|
-
_("div",
|
|
2308
|
+
_("div", Xt, [
|
|
2286
2309
|
A(r.$slots, "primary-action")
|
|
2287
2310
|
])
|
|
2288
2311
|
]),
|
|
2289
|
-
_("div",
|
|
2290
|
-
_("div",
|
|
2291
|
-
|
|
2312
|
+
_("div", jt, [
|
|
2313
|
+
_("div", Yt, [
|
|
2314
|
+
ee(be, {
|
|
2292
2315
|
icon: "menu",
|
|
2293
2316
|
variant: "ghost",
|
|
2294
2317
|
noText: !0,
|
|
2295
2318
|
onClick: (d) => u()
|
|
2296
2319
|
}, {
|
|
2297
2320
|
default: O(() => [
|
|
2298
|
-
N(L(r.burgerMenuLabel ?? o(
|
|
2321
|
+
N(L(r.burgerMenuLabel ?? o(La)), 1)
|
|
2299
2322
|
]),
|
|
2300
2323
|
_: 1
|
|
2301
2324
|
}, 8, ["onClick"])
|
|
2302
2325
|
]),
|
|
2303
|
-
_("div",
|
|
2326
|
+
_("div", Kt, [
|
|
2304
2327
|
A(r.$slots, "secondary-action")
|
|
2305
2328
|
])
|
|
2306
2329
|
])
|
|
2307
2330
|
])
|
|
2308
|
-
], 10,
|
|
2331
|
+
], 10, zt));
|
|
2309
2332
|
}
|
|
2310
|
-
}),
|
|
2333
|
+
}), Jt = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], yl = /* @__PURE__ */ U({
|
|
2311
2334
|
__name: "icon",
|
|
2312
2335
|
props: {
|
|
2313
2336
|
variant: { default: void 0 },
|
|
@@ -2335,9 +2358,9 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2335
2358
|
e.text ? (m(), k(G, { key: 0 }, [
|
|
2336
2359
|
N(L(e.text), 1)
|
|
2337
2360
|
], 64)) : A(e.$slots, "default", { key: 1 })
|
|
2338
|
-
], 10,
|
|
2361
|
+
], 10, Jt));
|
|
2339
2362
|
}
|
|
2340
|
-
}),
|
|
2363
|
+
}), kl = ["16", "20", "24", "32", "48", "64"], wl = [
|
|
2341
2364
|
"color",
|
|
2342
2365
|
"date",
|
|
2343
2366
|
"datetime-local",
|
|
@@ -2356,7 +2379,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2356
2379
|
"time",
|
|
2357
2380
|
"url",
|
|
2358
2381
|
"week"
|
|
2359
|
-
],
|
|
2382
|
+
], Qt = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "data-size", "data-show-icon-trailing", "data-variant", "data-content", "data-wrap"], Sl = /* @__PURE__ */ U({
|
|
2360
2383
|
__name: "link",
|
|
2361
2384
|
props: {
|
|
2362
2385
|
content: { default: void 0 },
|
|
@@ -2406,9 +2429,9 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2406
2429
|
i.text ? (m(), k(G, { key: 0 }, [
|
|
2407
2430
|
N(L(i.text), 1)
|
|
2408
2431
|
], 64)) : A(i.$slots, "default", { key: 1 })
|
|
2409
|
-
], 10,
|
|
2432
|
+
], 10, Qt));
|
|
2410
2433
|
}
|
|
2411
|
-
}),
|
|
2434
|
+
}), Bl = ["adaptive", "brand", "inline"], Ll = ["medium", "small"], Il = ["external", "internal"], Zt = ["id"], $l = /* @__PURE__ */ U({
|
|
2412
2435
|
__name: "navigation",
|
|
2413
2436
|
props: {
|
|
2414
2437
|
children: { default: void 0 },
|
|
@@ -2418,7 +2441,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2418
2441
|
autofocus: { type: [Boolean, String] }
|
|
2419
2442
|
},
|
|
2420
2443
|
setup(t) {
|
|
2421
|
-
const a = t, n = s(
|
|
2444
|
+
const a = t, n = s(Se), e = s(null);
|
|
2422
2445
|
return j(() => {
|
|
2423
2446
|
n.value = a.id || "navigation-" + K();
|
|
2424
2447
|
}), (i, u) => (m(), k("nav", {
|
|
@@ -2430,12 +2453,12 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2430
2453
|
_("menu", null, [
|
|
2431
2454
|
A(i.$slots, "default")
|
|
2432
2455
|
])
|
|
2433
|
-
], 10,
|
|
2456
|
+
], 10, Zt));
|
|
2434
2457
|
}
|
|
2435
|
-
}),
|
|
2458
|
+
}), xt = ["id", "data-width", "data-icon", "data-show-icon", "data-active", "data-wrap", "aria-disabled"], ei = ["aria-haspopup", "aria-expanded", "disabled"], ai = ["data-force-close", "id"], ti = {
|
|
2436
2459
|
key: 0,
|
|
2437
2460
|
class: "db-mobile-navigation-back"
|
|
2438
|
-
},
|
|
2461
|
+
}, Tl = /* @__PURE__ */ U({
|
|
2439
2462
|
__name: "navigation-item",
|
|
2440
2463
|
props: {
|
|
2441
2464
|
active: { type: Boolean, default: void 0 },
|
|
@@ -2479,7 +2502,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2479
2502
|
() => {
|
|
2480
2503
|
if (n.value && d.value) {
|
|
2481
2504
|
const h = d.value.querySelector("menu");
|
|
2482
|
-
h && (h.children?.length > 0 ? (e.value = !0, v.value || (v.value = new
|
|
2505
|
+
h && (h.children?.length > 0 ? (e.value = !0, v.value || (v.value = new Rt(
|
|
2483
2506
|
d.value,
|
|
2484
2507
|
h
|
|
2485
2508
|
))) : i.value = !1);
|
|
@@ -2491,7 +2514,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2491
2514
|
}
|
|
2492
2515
|
);
|
|
2493
2516
|
function g(h) {
|
|
2494
|
-
h?.target?.nodeName === "A" && (c.value = !0,
|
|
2517
|
+
h?.target?.nodeName === "A" && (c.value = !0, J(() => {
|
|
2495
2518
|
c.value = !1;
|
|
2496
2519
|
}, 1e3));
|
|
2497
2520
|
}
|
|
@@ -2532,32 +2555,32 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2532
2555
|
h.text ? (m(), k(G, { key: 0 }, [
|
|
2533
2556
|
N(L(h.text), 1)
|
|
2534
2557
|
], 64)) : A(h.$slots, "default", { key: 1 })
|
|
2535
|
-
], 8,
|
|
2558
|
+
], 8, ei),
|
|
2536
2559
|
_("menu", {
|
|
2537
2560
|
class: "db-sub-navigation",
|
|
2538
2561
|
"data-force-close": c.value,
|
|
2539
2562
|
id: r.value,
|
|
2540
2563
|
onClick: p[1] || (p[1] = async (f) => g(f))
|
|
2541
2564
|
}, [
|
|
2542
|
-
e.value ? (m(), k("div",
|
|
2543
|
-
|
|
2565
|
+
e.value ? (m(), k("div", ti, [
|
|
2566
|
+
ee(be, {
|
|
2544
2567
|
icon: "arrow_left",
|
|
2545
2568
|
variant: "ghost",
|
|
2546
2569
|
id: h.backButtonId,
|
|
2547
2570
|
onClick: (f) => w(f)
|
|
2548
2571
|
}, {
|
|
2549
2572
|
default: O(() => [
|
|
2550
|
-
N(L(h.backButtonText ?? o(
|
|
2573
|
+
N(L(h.backButtonText ?? o(Sa)), 1)
|
|
2551
2574
|
]),
|
|
2552
2575
|
_: 1
|
|
2553
2576
|
}, 8, ["id", "onClick"])
|
|
2554
2577
|
])) : R("", !0),
|
|
2555
2578
|
A(h.$slots, "sub-navigation")
|
|
2556
|
-
], 8,
|
|
2579
|
+
], 8, ai)
|
|
2557
2580
|
], 64)) : R("", !0)
|
|
2558
|
-
], 42,
|
|
2581
|
+
], 42, xt));
|
|
2559
2582
|
}
|
|
2560
|
-
}),
|
|
2583
|
+
}), ii = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-show-icon", "data-link-variant"], li = { key: 0 }, oi = { key: 1 }, El = /* @__PURE__ */ U({
|
|
2561
2584
|
__name: "notification",
|
|
2562
2585
|
props: {
|
|
2563
2586
|
ariaLive: { default: void 0 },
|
|
@@ -2605,15 +2628,15 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2605
2628
|
"data-link-variant": i.linkVariant
|
|
2606
2629
|
}, [
|
|
2607
2630
|
A(i.$slots, "image"),
|
|
2608
|
-
o(Z)(i.headline, i.showHeadline) ? (m(), k("header",
|
|
2631
|
+
o(Z)(i.headline, i.showHeadline) ? (m(), k("header", li, L(i.headline), 1)) : R("", !0),
|
|
2609
2632
|
_("p", null, [
|
|
2610
2633
|
i.text ? (m(), k(G, { key: 0 }, [
|
|
2611
2634
|
N(L(i.text), 1)
|
|
2612
2635
|
], 64)) : A(i.$slots, "default", { key: 1 })
|
|
2613
2636
|
]),
|
|
2614
|
-
o(Z)(i.timestamp, i.showTimestamp) ? (m(), k("span",
|
|
2637
|
+
o(Z)(i.timestamp, i.showTimestamp) ? (m(), k("span", oi, L(i.timestamp), 1)) : R("", !0),
|
|
2615
2638
|
A(i.$slots, "link"),
|
|
2616
|
-
o(z)(i.closeable, "closeable") ? (m(), Y(
|
|
2639
|
+
o(z)(i.closeable, "closeable") ? (m(), Y(be, {
|
|
2617
2640
|
key: 2,
|
|
2618
2641
|
icon: "cross",
|
|
2619
2642
|
variant: "ghost",
|
|
@@ -2623,13 +2646,13 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2623
2646
|
onClick: (c) => e(c)
|
|
2624
2647
|
}, {
|
|
2625
2648
|
default: O(() => [
|
|
2626
|
-
N(L(i.closeButtonText ?? o(
|
|
2649
|
+
N(L(i.closeButtonText ?? o(Re)), 1)
|
|
2627
2650
|
]),
|
|
2628
2651
|
_: 1
|
|
2629
2652
|
}, 8, ["id", "onClick"])) : R("", !0)
|
|
2630
|
-
], 10,
|
|
2653
|
+
], 10, ii));
|
|
2631
2654
|
}
|
|
2632
|
-
}),
|
|
2655
|
+
}), _l = ["docked", "standalone", "overlay"], Cl = ["block", "inline"], Al = ["assertive", "polite", "off"], ni = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], Dl = /* @__PURE__ */ U({
|
|
2633
2656
|
__name: "page",
|
|
2634
2657
|
props: {
|
|
2635
2658
|
documentOverflow: { default: void 0 },
|
|
@@ -2650,7 +2673,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2650
2673
|
n.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
|
|
2651
2674
|
n.value = !0;
|
|
2652
2675
|
}) : n.value = !0;
|
|
2653
|
-
}),
|
|
2676
|
+
}), ka(() => {
|
|
2654
2677
|
typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
|
|
2655
2678
|
}), (i, u) => (m(), k("div", {
|
|
2656
2679
|
ref_key: "_ref",
|
|
@@ -2668,9 +2691,9 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2668
2691
|
A(i.$slots, "default")
|
|
2669
2692
|
], 2),
|
|
2670
2693
|
A(i.$slots, "footer")
|
|
2671
|
-
], 10,
|
|
2694
|
+
], 10, ni));
|
|
2672
2695
|
}
|
|
2673
|
-
}),
|
|
2696
|
+
}), Nl = ["auto", "fixed"], Fl = ["hidden", "auto"], si = ["id"], di = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Ml = /* @__PURE__ */ U({
|
|
2674
2697
|
__name: "popover",
|
|
2675
2698
|
props: {
|
|
2676
2699
|
open: { type: [Boolean, String], default: void 0 },
|
|
@@ -2735,8 +2758,8 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2735
2758
|
function v() {
|
|
2736
2759
|
if (!c.value) return;
|
|
2737
2760
|
const h = c.value.querySelector("article");
|
|
2738
|
-
h &&
|
|
2739
|
-
|
|
2761
|
+
h && J(() => {
|
|
2762
|
+
ia(
|
|
2740
2763
|
h,
|
|
2741
2764
|
c.value,
|
|
2742
2765
|
a.placement ?? "bottom"
|
|
@@ -2747,7 +2770,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2747
2770
|
h?.target?.contains && h?.target?.contains(c.value) && v();
|
|
2748
2771
|
}
|
|
2749
2772
|
function g() {
|
|
2750
|
-
e.value = !0, i.value = new
|
|
2773
|
+
e.value = !0, i.value = new le().addCallback(
|
|
2751
2774
|
(p) => d(p)
|
|
2752
2775
|
), v();
|
|
2753
2776
|
const h = w();
|
|
@@ -2755,7 +2778,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2755
2778
|
}
|
|
2756
2779
|
function I(h) {
|
|
2757
2780
|
{
|
|
2758
|
-
e.value = !1, i.value && new
|
|
2781
|
+
e.value = !1, i.value && new le().removeCallback(
|
|
2759
2782
|
i.value
|
|
2760
2783
|
);
|
|
2761
2784
|
const p = w();
|
|
@@ -2790,10 +2813,10 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2790
2813
|
"data-placement": h.placement
|
|
2791
2814
|
}, [
|
|
2792
2815
|
A(h.$slots, "default")
|
|
2793
|
-
], 8,
|
|
2794
|
-
], 10,
|
|
2816
|
+
], 8, di)
|
|
2817
|
+
], 10, si));
|
|
2795
2818
|
}
|
|
2796
|
-
}),
|
|
2819
|
+
}), ui = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], ri = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required"], Rl = /* @__PURE__ */ U({
|
|
2797
2820
|
__name: "radio",
|
|
2798
2821
|
props: {
|
|
2799
2822
|
children: { default: void 0 },
|
|
@@ -2836,7 +2859,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2836
2859
|
}
|
|
2837
2860
|
);
|
|
2838
2861
|
function r(g) {
|
|
2839
|
-
e.onChange && e.onChange(g),
|
|
2862
|
+
e.onChange && e.onChange(g), oe(n, g);
|
|
2840
2863
|
}
|
|
2841
2864
|
function v(g) {
|
|
2842
2865
|
e.onBlur && e.onBlur(g);
|
|
@@ -2846,8 +2869,8 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2846
2869
|
}
|
|
2847
2870
|
return (g, I) => (m(), k("label", {
|
|
2848
2871
|
"data-size": g.size,
|
|
2849
|
-
"data-hide-label": o(
|
|
2850
|
-
"data-hide-asterisk": o(
|
|
2872
|
+
"data-hide-label": o(ie)(g.showLabel),
|
|
2873
|
+
"data-hide-asterisk": o(ie)(g.showRequiredAsterisk),
|
|
2851
2874
|
class: P(o(V)("db-radio", e.class)),
|
|
2852
2875
|
for: u.value
|
|
2853
2876
|
}, [
|
|
@@ -2866,13 +2889,13 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2866
2889
|
onChange: I[0] || (I[0] = async (w) => r(w)),
|
|
2867
2890
|
onBlur: I[1] || (I[1] = async (w) => v(w)),
|
|
2868
2891
|
onFocus: I[2] || (I[2] = async (w) => d(w))
|
|
2869
|
-
}, null, 40,
|
|
2892
|
+
}, null, 40, ri),
|
|
2870
2893
|
g.label ? (m(), k(G, { key: 0 }, [
|
|
2871
2894
|
N(L(g.label), 1)
|
|
2872
2895
|
], 64)) : A(g.$slots, "default", { key: 1 })
|
|
2873
|
-
], 10,
|
|
2896
|
+
], 10, ui));
|
|
2874
2897
|
}
|
|
2875
|
-
}),
|
|
2898
|
+
}), ci = ["id", "data-spacing", "data-width"], zl = /* @__PURE__ */ U({
|
|
2876
2899
|
__name: "section",
|
|
2877
2900
|
props: {
|
|
2878
2901
|
children: { default: void 0 },
|
|
@@ -2884,7 +2907,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2884
2907
|
width: { default: void 0 }
|
|
2885
2908
|
},
|
|
2886
2909
|
setup(t) {
|
|
2887
|
-
const a = t, n = s(
|
|
2910
|
+
const a = t, n = s(Se), e = s(null);
|
|
2888
2911
|
return j(() => {
|
|
2889
2912
|
n.value = a.id || "section-" + K();
|
|
2890
2913
|
}), (i, u) => (m(), k("section", {
|
|
@@ -2896,16 +2919,16 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2896
2919
|
"data-width": i.width
|
|
2897
2920
|
}, [
|
|
2898
2921
|
A(i.$slots, "default")
|
|
2899
|
-
], 10,
|
|
2922
|
+
], 10, ci));
|
|
2900
2923
|
}
|
|
2901
|
-
}),
|
|
2924
|
+
}), vi = ["data-variant", "data-hide-label", "data-hide-asterisk", "data-icon", "data-show-icon"], fi = ["for"], pi = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], hi = {
|
|
2902
2925
|
key: 0,
|
|
2903
2926
|
class: "placeholder",
|
|
2904
2927
|
value: ""
|
|
2905
|
-
},
|
|
2928
|
+
}, mi = ["label"], gi = ["value", "selected", "disabled"], bi = ["value", "disabled", "selected"], yi = ["id"], ki = {
|
|
2906
2929
|
"data-visually-hidden": "true",
|
|
2907
2930
|
role: "status"
|
|
2908
|
-
},
|
|
2931
|
+
}, Pl = /* @__PURE__ */ U({
|
|
2909
2932
|
__name: "select",
|
|
2910
2933
|
props: {
|
|
2911
2934
|
children: { default: void 0 },
|
|
@@ -2952,11 +2975,11 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2952
2975
|
j(() => {
|
|
2953
2976
|
w.value = !0;
|
|
2954
2977
|
const B = e.id ?? `select-${K()}`;
|
|
2955
|
-
i.value = B, u.value = B +
|
|
2978
|
+
i.value = B, u.value = B + de, c.value = B + ue, r.value = B + re, d.value = B + _e, v.value = e.invalidMessage || te;
|
|
2956
2979
|
}), D(
|
|
2957
2980
|
() => [p.value, e.invalidMessage],
|
|
2958
2981
|
() => {
|
|
2959
|
-
v.value = e.invalidMessage || p.value?.validationMessage ||
|
|
2982
|
+
v.value = e.invalidMessage || p.value?.validationMessage || te;
|
|
2960
2983
|
},
|
|
2961
2984
|
{
|
|
2962
2985
|
immediate: !0,
|
|
@@ -2966,8 +2989,8 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2966
2989
|
() => [i.value, w.value],
|
|
2967
2990
|
() => {
|
|
2968
2991
|
if (i.value && w.value) {
|
|
2969
|
-
const B = i.value +
|
|
2970
|
-
u.value = B, c.value = i.value +
|
|
2992
|
+
const B = i.value + de, q = i.value + _e;
|
|
2993
|
+
u.value = B, c.value = i.value + ue, r.value = i.value + re, d.value = q, Z(e.message, e.showMessage) ? g.value = B : e.placeholder ? g.value = q : g.value = void 0, T(), w.value = !1;
|
|
2971
2994
|
}
|
|
2972
2995
|
},
|
|
2973
2996
|
{
|
|
@@ -2988,16 +3011,16 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
2988
3011
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
2989
3012
|
}
|
|
2990
3013
|
function T() {
|
|
2991
|
-
!p.value?.validity.valid || e.validation === "invalid" ? (g.value = r.value, v.value = e.invalidMessage || p.value?.validationMessage ||
|
|
3014
|
+
!p.value?.validity.valid || e.validation === "invalid" ? (g.value = r.value, v.value = e.invalidMessage || p.value?.validationMessage || te, ve() && (h.value = v.value, J(() => h.value = "", 1e3))) : f() && p.value?.validity.valid && e.required ? (g.value = c.value, ve() && (h.value = e.validMessage ?? ce, J(() => h.value = "", 1e3))) : Z(e.message, e.showMessage) ? g.value = u.value : e.placeholder ? g.value = d.value : g.value = void 0;
|
|
2992
3015
|
}
|
|
2993
3016
|
function C(B) {
|
|
2994
3017
|
e.onClick && e.onClick(B);
|
|
2995
3018
|
}
|
|
2996
3019
|
function b(B) {
|
|
2997
|
-
e.input && e.input(B), I.value = B.target.value, e.onInput && e.onInput(B),
|
|
3020
|
+
e.input && e.input(B), I.value = B.target.value, e.onInput && e.onInput(B), oe(n, B), T();
|
|
2998
3021
|
}
|
|
2999
3022
|
function S(B) {
|
|
3000
|
-
e.onChange && e.onChange(B),
|
|
3023
|
+
e.onChange && e.onChange(B), oe(n, B), T();
|
|
3001
3024
|
}
|
|
3002
3025
|
function W(B) {
|
|
3003
3026
|
e.onBlur && e.onBlur(B);
|
|
@@ -3011,12 +3034,12 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3011
3034
|
return (B, q) => (m(), k("div", {
|
|
3012
3035
|
class: P(o(V)("db-select", e.class)),
|
|
3013
3036
|
"data-variant": B.variant,
|
|
3014
|
-
"data-hide-label": o(
|
|
3015
|
-
"data-hide-asterisk": o(
|
|
3037
|
+
"data-hide-label": o(ie)(B.showLabel),
|
|
3038
|
+
"data-hide-asterisk": o(ie)(B.showRequiredAsterisk),
|
|
3016
3039
|
"data-icon": B.icon,
|
|
3017
3040
|
"data-show-icon": o(F)(B.showIcon)
|
|
3018
3041
|
}, [
|
|
3019
|
-
_("label", { for: i.value }, L(B.label ?? o(
|
|
3042
|
+
_("label", { for: i.value }, L(B.label ?? o(me)), 9, fi),
|
|
3020
3043
|
_("select", {
|
|
3021
3044
|
"aria-invalid": B.validation === "invalid",
|
|
3022
3045
|
"data-custom-validity": B.validation,
|
|
@@ -3037,32 +3060,32 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3037
3060
|
onFocus: q[4] || (q[4] = async (H) => y(H)),
|
|
3038
3061
|
"aria-describedby": B.ariaDescribedBy ?? g.value
|
|
3039
3062
|
}, [
|
|
3040
|
-
B.variant === "floating" || B.placeholder ? (m(), k("option",
|
|
3041
|
-
B.options?.length ? (m(!0), k(G, { key: 1 },
|
|
3063
|
+
B.variant === "floating" || B.placeholder ? (m(), k("option", hi)) : R("", !0),
|
|
3064
|
+
B.options?.length ? (m(!0), k(G, { key: 1 }, fe(B.options, (H, ke) => (m(), k(G, { key: ke }, [
|
|
3042
3065
|
H.options ? (m(), k("optgroup", {
|
|
3043
3066
|
key: 0,
|
|
3044
3067
|
label: X(H)
|
|
3045
3068
|
}, [
|
|
3046
|
-
(m(!0), k(G, null,
|
|
3047
|
-
key:
|
|
3048
|
-
value:
|
|
3049
|
-
selected:
|
|
3050
|
-
disabled:
|
|
3051
|
-
}, L(X(
|
|
3052
|
-
], 8,
|
|
3069
|
+
(m(!0), k(G, null, fe(H.options, (pe, $e) => (m(), k("option", {
|
|
3070
|
+
key: $e,
|
|
3071
|
+
value: pe.value,
|
|
3072
|
+
selected: pe.selected,
|
|
3073
|
+
disabled: pe.disabled
|
|
3074
|
+
}, L(X(pe)), 9, gi))), 128))
|
|
3075
|
+
], 8, mi)) : (m(), k("option", {
|
|
3053
3076
|
key: 1,
|
|
3054
3077
|
value: H.value,
|
|
3055
3078
|
disabled: H.disabled,
|
|
3056
3079
|
selected: H.selected
|
|
3057
|
-
}, L(X(H)), 9,
|
|
3080
|
+
}, L(X(H)), 9, bi))
|
|
3058
3081
|
], 64))), 128)) : A(B.$slots, "default", { key: 2 })
|
|
3059
|
-
], 40,
|
|
3082
|
+
], 40, pi),
|
|
3060
3083
|
B.placeholder ? (m(), k("span", {
|
|
3061
3084
|
key: 0,
|
|
3062
3085
|
class: "db-select-placeholder",
|
|
3063
3086
|
id: d.value
|
|
3064
|
-
}, L(B.placeholder), 9,
|
|
3065
|
-
o(Z)(B.message, B.showMessage) ? (m(), Y(
|
|
3087
|
+
}, L(B.placeholder), 9, yi)) : R("", !0),
|
|
3088
|
+
o(Z)(B.message, B.showMessage) ? (m(), Y(ae, {
|
|
3066
3089
|
key: 1,
|
|
3067
3090
|
size: "small",
|
|
3068
3091
|
icon: B.messageIcon,
|
|
@@ -3073,18 +3096,18 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3073
3096
|
]),
|
|
3074
3097
|
_: 1
|
|
3075
3098
|
}, 8, ["icon", "id"])) : R("", !0),
|
|
3076
|
-
f() ? (m(), Y(
|
|
3099
|
+
f() ? (m(), Y(ae, {
|
|
3077
3100
|
key: 2,
|
|
3078
3101
|
size: "small",
|
|
3079
3102
|
semantic: "successful",
|
|
3080
3103
|
id: c.value
|
|
3081
3104
|
}, {
|
|
3082
3105
|
default: O(() => [
|
|
3083
|
-
N(L(B.validMessage || o(
|
|
3106
|
+
N(L(B.validMessage || o(ce)), 1)
|
|
3084
3107
|
]),
|
|
3085
3108
|
_: 1
|
|
3086
3109
|
}, 8, ["id"])) : R("", !0),
|
|
3087
|
-
|
|
3110
|
+
ee(ae, {
|
|
3088
3111
|
size: "small",
|
|
3089
3112
|
semantic: "critical",
|
|
3090
3113
|
id: r.value
|
|
@@ -3094,10 +3117,10 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3094
3117
|
]),
|
|
3095
3118
|
_: 1
|
|
3096
3119
|
}, 8, ["id"]),
|
|
3097
|
-
_("span",
|
|
3098
|
-
], 10,
|
|
3120
|
+
_("span", ki, L(h.value), 1)
|
|
3121
|
+
], 10, vi));
|
|
3099
3122
|
}
|
|
3100
|
-
}),
|
|
3123
|
+
}), wi = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], Vl = /* @__PURE__ */ U({
|
|
3101
3124
|
__name: "stack",
|
|
3102
3125
|
props: {
|
|
3103
3126
|
variant: { default: void 0 },
|
|
@@ -3127,9 +3150,9 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3127
3150
|
"data-wrap": o(F)(e.wrap)
|
|
3128
3151
|
}, [
|
|
3129
3152
|
A(e.$slots, "default")
|
|
3130
|
-
], 10,
|
|
3153
|
+
], 10, wi));
|
|
3131
3154
|
}
|
|
3132
|
-
}),
|
|
3155
|
+
}), ql = ["simple", "divider"], Ul = ["row", "column"], Gl = ["stretch", "start", "end", "center"], Wl = ["space-between", "start", "end", "center"], Si = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for", "data-hide-asterisk"], Bi = ["id", "checked", "value", "disabled", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-trailing"], Ol = /* @__PURE__ */ U({
|
|
3133
3156
|
__name: "switch",
|
|
3134
3157
|
props: {
|
|
3135
3158
|
visualAid: { type: [Boolean, String], default: void 0 },
|
|
@@ -3168,7 +3191,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3168
3191
|
i.value = e.id ?? `switch-${K()}`;
|
|
3169
3192
|
});
|
|
3170
3193
|
function c(d) {
|
|
3171
|
-
|
|
3194
|
+
oe(n, d, "checked");
|
|
3172
3195
|
}
|
|
3173
3196
|
function r(d) {
|
|
3174
3197
|
e.onBlur && e.onBlur(d);
|
|
@@ -3179,10 +3202,10 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3179
3202
|
return (d, g) => (m(), k("label", {
|
|
3180
3203
|
"data-visual-aid": o(F)(d.visualAid),
|
|
3181
3204
|
"data-size": d.size,
|
|
3182
|
-
"data-hide-label": o(
|
|
3205
|
+
"data-hide-label": o(ie)(d.showLabel),
|
|
3183
3206
|
"data-emphasis": d.emphasis,
|
|
3184
3207
|
for: i.value,
|
|
3185
|
-
"data-hide-asterisk": o(
|
|
3208
|
+
"data-hide-asterisk": o(ie)(d.showRequiredAsterisk),
|
|
3186
3209
|
class: P(o(V)("db-switch", e.class))
|
|
3187
3210
|
}, [
|
|
3188
3211
|
_("input", {
|
|
@@ -3203,13 +3226,13 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3203
3226
|
onChange: g[0] || (g[0] = async (I) => c(I)),
|
|
3204
3227
|
onBlur: g[1] || (g[1] = async (I) => r(I)),
|
|
3205
3228
|
onFocus: g[2] || (g[2] = async (I) => v(I))
|
|
3206
|
-
}, null, 40,
|
|
3229
|
+
}, null, 40, Bi),
|
|
3207
3230
|
d.label ? (m(), k(G, { key: 0 }, [
|
|
3208
3231
|
N(L(d.label), 1)
|
|
3209
3232
|
], 64)) : A(d.$slots, "default", { key: 1 })
|
|
3210
|
-
], 10,
|
|
3233
|
+
], 10, Si));
|
|
3211
3234
|
}
|
|
3212
|
-
}),
|
|
3235
|
+
}), Li = ["for", "data-icon", "data-icon-trailing", "data-show-icon", "data-show-icon-trailing", "data-no-text"], Ii = ["disabled", "aria-selected", "checked", "name", "id"], $i = /* @__PURE__ */ U({
|
|
3213
3236
|
__name: "tab-item",
|
|
3214
3237
|
props: {
|
|
3215
3238
|
children: { default: void 0 },
|
|
@@ -3257,7 +3280,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3257
3280
|
}
|
|
3258
3281
|
);
|
|
3259
3282
|
function v(d) {
|
|
3260
|
-
d.stopPropagation(), e.onChange && e.onChange(d), i.value = d.target?.checked,
|
|
3283
|
+
d.stopPropagation(), e.onChange && e.onChange(d), i.value = d.target?.checked, oe(n, d, "checked");
|
|
3261
3284
|
}
|
|
3262
3285
|
return (d, g) => (m(), k("li", {
|
|
3263
3286
|
role: "none",
|
|
@@ -3282,15 +3305,15 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3282
3305
|
name: u.value,
|
|
3283
3306
|
id: d.id,
|
|
3284
3307
|
onInput: g[0] || (g[0] = async (I) => v(I))
|
|
3285
|
-
}, null, 40,
|
|
3308
|
+
}, null, 40, Ii),
|
|
3286
3309
|
d.label ? (m(), k(G, { key: 0 }, [
|
|
3287
3310
|
N(L(d.label), 1)
|
|
3288
3311
|
], 64)) : R("", !0),
|
|
3289
3312
|
A(d.$slots, "default")
|
|
3290
|
-
], 8,
|
|
3313
|
+
], 8, Li)
|
|
3291
3314
|
], 2));
|
|
3292
3315
|
}
|
|
3293
|
-
}),
|
|
3316
|
+
}), Ti = ["id"], Ei = { role: "tablist" }, _i = /* @__PURE__ */ U({
|
|
3294
3317
|
__name: "tab-list",
|
|
3295
3318
|
props: {
|
|
3296
3319
|
children: { default: void 0 },
|
|
@@ -3300,7 +3323,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3300
3323
|
autofocus: { type: [Boolean, String] }
|
|
3301
3324
|
},
|
|
3302
3325
|
setup(t) {
|
|
3303
|
-
const a = t, n = s(
|
|
3326
|
+
const a = t, n = s(Se), e = s(null);
|
|
3304
3327
|
return j(() => {
|
|
3305
3328
|
n.value = a.id || "tab-list-" + K();
|
|
3306
3329
|
}), (i, u) => (m(), k("div", {
|
|
@@ -3309,12 +3332,12 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3309
3332
|
id: n.value,
|
|
3310
3333
|
class: P(o(V)("db-tab-list", a.class))
|
|
3311
3334
|
}, [
|
|
3312
|
-
_("ul",
|
|
3335
|
+
_("ul", Ei, [
|
|
3313
3336
|
A(i.$slots, "default")
|
|
3314
3337
|
])
|
|
3315
|
-
], 10,
|
|
3338
|
+
], 10, Ti));
|
|
3316
3339
|
}
|
|
3317
|
-
}),
|
|
3340
|
+
}), Ci = ["id"], Ai = /* @__PURE__ */ U({
|
|
3318
3341
|
__name: "tab-panel",
|
|
3319
3342
|
props: {
|
|
3320
3343
|
content: { default: void 0 },
|
|
@@ -3338,9 +3361,9 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3338
3361
|
N(L(e.content), 1)
|
|
3339
3362
|
], 64)) : R("", !0),
|
|
3340
3363
|
A(e.$slots, "default")
|
|
3341
|
-
], 10,
|
|
3364
|
+
], 10, Ci));
|
|
3342
3365
|
}
|
|
3343
|
-
}),
|
|
3366
|
+
}), Di = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], Hl = /* @__PURE__ */ U({
|
|
3344
3367
|
__name: "tabs",
|
|
3345
3368
|
props: {
|
|
3346
3369
|
arrowScrollDistance: { default: void 0 },
|
|
@@ -3480,7 +3503,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3480
3503
|
onInput: T[0] || (T[0] = async (C) => p(C)),
|
|
3481
3504
|
onChange: T[1] || (T[1] = async (C) => p(C))
|
|
3482
3505
|
}, [
|
|
3483
|
-
u.value ? (m(), Y(
|
|
3506
|
+
u.value ? (m(), Y(be, {
|
|
3484
3507
|
key: 0,
|
|
3485
3508
|
class: "tabs-scroll-left",
|
|
3486
3509
|
variant: "ghost",
|
|
@@ -3495,9 +3518,9 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3495
3518
|
_: 1
|
|
3496
3519
|
}, 8, ["onClick"])) : R("", !0),
|
|
3497
3520
|
f.tabs ? (m(), k(G, { key: 1 }, [
|
|
3498
|
-
|
|
3521
|
+
ee(_i, null, {
|
|
3499
3522
|
default: O(() => [
|
|
3500
|
-
(m(!0), k(G, null,
|
|
3523
|
+
(m(!0), k(G, null, fe(d(), (C, b) => (m(), Y($i, {
|
|
3501
3524
|
key: f.name + "tab-item" + b,
|
|
3502
3525
|
active: C.active,
|
|
3503
3526
|
label: C.label,
|
|
@@ -3508,7 +3531,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3508
3531
|
]),
|
|
3509
3532
|
_: 1
|
|
3510
3533
|
}),
|
|
3511
|
-
(m(!0), k(G, null,
|
|
3534
|
+
(m(!0), k(G, null, fe(d(), (C, b) => (m(), Y(Ai, {
|
|
3512
3535
|
key: f.name + "tab-panel" + b,
|
|
3513
3536
|
content: C.content
|
|
3514
3537
|
}, {
|
|
@@ -3518,7 +3541,7 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3518
3541
|
_: 2
|
|
3519
3542
|
}, 1032, ["content"]))), 128))
|
|
3520
3543
|
], 64)) : R("", !0),
|
|
3521
|
-
c.value ? (m(), Y(
|
|
3544
|
+
c.value ? (m(), Y(be, {
|
|
3522
3545
|
key: 2,
|
|
3523
3546
|
class: "tabs-scroll-right",
|
|
3524
3547
|
variant: "ghost",
|
|
@@ -3533,12 +3556,12 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3533
3556
|
_: 1
|
|
3534
3557
|
}, 8, ["onClick"])) : R("", !0),
|
|
3535
3558
|
A(f.$slots, "default")
|
|
3536
|
-
], 42,
|
|
3559
|
+
], 42, Di));
|
|
3537
3560
|
}
|
|
3538
|
-
}),
|
|
3561
|
+
}), Xl = ["scrollbar", "arrows"], jl = ["auto", "manually"], Yl = ["static", "removable"], Ni = ["data-variant", "data-hide-asterisk", "data-hide-label"], Fi = ["for"], Mi = ["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"], Ri = {
|
|
3539
3562
|
"data-visually-hidden": "true",
|
|
3540
3563
|
role: "status"
|
|
3541
|
-
},
|
|
3564
|
+
}, Kl = /* @__PURE__ */ U({
|
|
3542
3565
|
__name: "textarea",
|
|
3543
3566
|
props: {
|
|
3544
3567
|
cols: { default: void 0 },
|
|
@@ -3591,11 +3614,11 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3591
3614
|
const n = a, e = t, i = s(void 0), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(void 0), g = s(""), I = s(""), w = s(null);
|
|
3592
3615
|
j(() => {
|
|
3593
3616
|
const S = e.id ?? `textarea-${K()}`;
|
|
3594
|
-
i.value = S, u.value = S +
|
|
3617
|
+
i.value = S, u.value = S + de, c.value = S + ue, r.value = S + re, v.value = e.invalidMessage || te;
|
|
3595
3618
|
}), D(
|
|
3596
3619
|
() => [w.value, e.invalidMessage],
|
|
3597
3620
|
() => {
|
|
3598
|
-
v.value = e.invalidMessage || w.value?.validationMessage ||
|
|
3621
|
+
v.value = e.invalidMessage || w.value?.validationMessage || te;
|
|
3599
3622
|
},
|
|
3600
3623
|
{
|
|
3601
3624
|
immediate: !0,
|
|
@@ -3605,8 +3628,8 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3605
3628
|
() => [i.value],
|
|
3606
3629
|
() => {
|
|
3607
3630
|
if (i.value) {
|
|
3608
|
-
const S = i.value +
|
|
3609
|
-
u.value = S, c.value = i.value +
|
|
3631
|
+
const S = i.value + de;
|
|
3632
|
+
u.value = S, c.value = i.value + ue, r.value = i.value + re, Z(e.message, e.showMessage) && (d.value = S), p();
|
|
3610
3633
|
}
|
|
3611
3634
|
},
|
|
3612
3635
|
{
|
|
@@ -3627,13 +3650,13 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3627
3650
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
3628
3651
|
}
|
|
3629
3652
|
function p() {
|
|
3630
|
-
!w.value?.validity.valid || e.validation === "invalid" ? (d.value = r.value, v.value = e.invalidMessage || w.value?.validationMessage ||
|
|
3653
|
+
!w.value?.validity.valid || e.validation === "invalid" ? (d.value = r.value, v.value = e.invalidMessage || w.value?.validationMessage || te, ve() && (I.value = v.value, J(() => I.value = "", 1e3))) : h() && w.value?.validity.valid && (e.required || e.minLength || e.maxLength) ? (d.value = c.value, ve() && (I.value = e.validMessage ?? ce, J(() => I.value = "", 1e3))) : Z(e.message, e.showMessage) ? d.value = u.value : d.value = void 0;
|
|
3631
3654
|
}
|
|
3632
3655
|
function f(S) {
|
|
3633
|
-
e.input && e.input(S), g.value = S.target.value, e.onInput && e.onInput(S),
|
|
3656
|
+
e.input && e.input(S), g.value = S.target.value, e.onInput && e.onInput(S), oe(n, S), p();
|
|
3634
3657
|
}
|
|
3635
3658
|
function T(S) {
|
|
3636
|
-
e.onChange && e.onChange(S),
|
|
3659
|
+
e.onChange && e.onChange(S), oe(n, S), p();
|
|
3637
3660
|
}
|
|
3638
3661
|
function C(S) {
|
|
3639
3662
|
e.onBlur && e.onBlur(S);
|
|
@@ -3644,10 +3667,10 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3644
3667
|
return (S, W) => (m(), k("div", {
|
|
3645
3668
|
class: P(o(V)("db-textarea", e.class)),
|
|
3646
3669
|
"data-variant": S.variant,
|
|
3647
|
-
"data-hide-asterisk": o(
|
|
3648
|
-
"data-hide-label": o(
|
|
3670
|
+
"data-hide-asterisk": o(ie)(S.showRequiredAsterisk),
|
|
3671
|
+
"data-hide-label": o(ie)(S.showLabel)
|
|
3649
3672
|
}, [
|
|
3650
|
-
_("label", { for: i.value }, L(S.label ?? o(
|
|
3673
|
+
_("label", { for: i.value }, L(S.label ?? o(me)), 9, Fi),
|
|
3651
3674
|
_("textarea", {
|
|
3652
3675
|
"aria-invalid": S.validation === "invalid",
|
|
3653
3676
|
"data-custom-validity": S.validation,
|
|
@@ -3656,13 +3679,13 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3656
3679
|
ref: w,
|
|
3657
3680
|
id: i.value,
|
|
3658
3681
|
"data-resize": S.resize,
|
|
3659
|
-
"data-hide-resizer": o(
|
|
3682
|
+
"data-hide-resizer": o(ie)(S.showResizer ?? !0),
|
|
3660
3683
|
disabled: o(z)(S.disabled, "disabled"),
|
|
3661
3684
|
required: o(z)(S.required, "required"),
|
|
3662
3685
|
readOnly: o(z)(S.readOnly, "readOnly") || o(z)(S.readonly, "readonly"),
|
|
3663
3686
|
form: S.form,
|
|
3664
|
-
maxLength: o(
|
|
3665
|
-
minLength: o(
|
|
3687
|
+
maxLength: o(ge)(S.maxLength, S.maxlength),
|
|
3688
|
+
minLength: o(ge)(S.minLength, S.minlength),
|
|
3666
3689
|
name: S.name,
|
|
3667
3690
|
wrap: S.wrap,
|
|
3668
3691
|
spellcheck: S.spellCheck,
|
|
@@ -3673,11 +3696,11 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3673
3696
|
onFocus: W[3] || (W[3] = async (y) => b(y)),
|
|
3674
3697
|
value: S.value ?? g.value,
|
|
3675
3698
|
"aria-describedby": S.ariaDescribedBy ?? d.value,
|
|
3676
|
-
placeholder: S.placeholder ?? o(
|
|
3677
|
-
rows: o(
|
|
3678
|
-
cols: o(
|
|
3679
|
-
}, null, 40,
|
|
3680
|
-
o(Z)(S.message, S.showMessage) ? (m(), Y(
|
|
3699
|
+
placeholder: S.placeholder ?? o(Ke),
|
|
3700
|
+
rows: o(ge)(S.rows, o($a)),
|
|
3701
|
+
cols: o(ge)(S.cols)
|
|
3702
|
+
}, null, 40, Mi),
|
|
3703
|
+
o(Z)(S.message, S.showMessage) ? (m(), Y(ae, {
|
|
3681
3704
|
key: 0,
|
|
3682
3705
|
size: "small",
|
|
3683
3706
|
icon: S.messageIcon,
|
|
@@ -3688,18 +3711,18 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3688
3711
|
]),
|
|
3689
3712
|
_: 1
|
|
3690
3713
|
}, 8, ["icon", "id"])) : R("", !0),
|
|
3691
|
-
h() ? (m(), Y(
|
|
3714
|
+
h() ? (m(), Y(ae, {
|
|
3692
3715
|
key: 1,
|
|
3693
3716
|
size: "small",
|
|
3694
3717
|
semantic: "successful",
|
|
3695
3718
|
id: c.value
|
|
3696
3719
|
}, {
|
|
3697
3720
|
default: O(() => [
|
|
3698
|
-
N(L(S.validMessage || o(
|
|
3721
|
+
N(L(S.validMessage || o(ce)), 1)
|
|
3699
3722
|
]),
|
|
3700
3723
|
_: 1
|
|
3701
3724
|
}, 8, ["id"])) : R("", !0),
|
|
3702
|
-
|
|
3725
|
+
ee(ae, {
|
|
3703
3726
|
size: "small",
|
|
3704
3727
|
semantic: "critical",
|
|
3705
3728
|
id: r.value
|
|
@@ -3709,158 +3732,158 @@ const Mt = ["id", "data-width", "data-on-forcing-mobile"], Rt = { class: "db-hea
|
|
|
3709
3732
|
]),
|
|
3710
3733
|
_: 1
|
|
3711
3734
|
}, 8, ["id"]),
|
|
3712
|
-
_("span",
|
|
3713
|
-
], 10,
|
|
3735
|
+
_("span", Ri, L(I.value), 1)
|
|
3736
|
+
], 10, Ni));
|
|
3714
3737
|
}
|
|
3715
|
-
}),
|
|
3738
|
+
}), Jl = ["none", "both", "horizontal", "vertical"], Ql = ["hard", "soft", "off"], Zl = ["description", "label"], xl = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], eo = ["medium", "small", "large", "none"], ao = ["medium", "small", "large", "none"], zi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Pi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], to = [...zi, ...Pi], io = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], lo = ["horizontal", "vertical"], oo = ["full", "auto"], no = ["full", "medium", "large", "small"], so = ["none", "slow", "fast"], uo = ["auto", "fixed"], ro = ["small", "medium"], co = ["weak", "strong"], vo = ["invalid", "valid", "no-validation"], fo = ["fixed", "content"], po = ["above", "floating"], ho = ["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"], mo = ["_self", "_blank", "_parent", "_top"], go = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], bo = ["start", "center"];
|
|
3716
3739
|
export {
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3740
|
+
Ji as AccordionBehaviorList,
|
|
3741
|
+
Ki as AccordionVariantList,
|
|
3742
|
+
bo as AlignmentList,
|
|
3743
|
+
ho as AutoCompleteList,
|
|
3744
|
+
Zi as BadgePlacementList,
|
|
3745
|
+
al as ButtonTypeList,
|
|
3746
|
+
el as ButtonVariantList,
|
|
3747
|
+
xe as COLOR,
|
|
3748
|
+
Wi as COLORS,
|
|
3749
|
+
Oi as COLORS_SIMPLE,
|
|
3750
|
+
Ui as COLOR_CONST,
|
|
3751
|
+
Ze as COLOR_SIMPLE,
|
|
3752
|
+
il as CardBehaviorList,
|
|
3753
|
+
ll as CardElevationLevelList,
|
|
3754
|
+
sl as CustomSelectDropdownWidthList,
|
|
3755
|
+
ul as CustomSelectListItemTypeList,
|
|
3756
|
+
Yi as DBAccordion,
|
|
3757
|
+
Fa as DBAccordionItem,
|
|
3758
|
+
Qi as DBBadge,
|
|
3759
|
+
xi as DBBrand,
|
|
3760
|
+
be as DBButton,
|
|
3761
|
+
tl as DBCard,
|
|
3762
|
+
ol as DBCheckbox,
|
|
3763
|
+
nl as DBCustomSelect,
|
|
3764
|
+
Ka as DBCustomSelectDropdown,
|
|
3765
|
+
dl as DBCustomSelectFormField,
|
|
3766
|
+
tt as DBCustomSelectList,
|
|
3767
|
+
et as DBCustomSelectListItem,
|
|
3768
|
+
cl as DBDivider,
|
|
3769
|
+
Ft as DBDrawer,
|
|
3770
|
+
bl as DBHeader,
|
|
3771
|
+
yl as DBIcon,
|
|
3772
|
+
ae as DBInfotext,
|
|
3773
|
+
ut as DBInput,
|
|
3774
|
+
Sl as DBLink,
|
|
3775
|
+
$l as DBNavigation,
|
|
3776
|
+
Tl as DBNavigationItem,
|
|
3777
|
+
El as DBNotification,
|
|
3778
|
+
Dl as DBPage,
|
|
3779
|
+
Ml as DBPopover,
|
|
3780
|
+
Rl as DBRadio,
|
|
3781
|
+
zl as DBSection,
|
|
3782
|
+
Pl as DBSelect,
|
|
3783
|
+
Vl as DBStack,
|
|
3784
|
+
Ol as DBSwitch,
|
|
3785
|
+
$i as DBTabItem,
|
|
3786
|
+
_i as DBTabList,
|
|
3787
|
+
Ai as DBTabPanel,
|
|
3788
|
+
Hl as DBTabs,
|
|
3789
|
+
vt as DBTag,
|
|
3790
|
+
Kl as DBTextarea,
|
|
3791
|
+
la as DBTooltip,
|
|
3792
|
+
Sa as DEFAULT_BACK,
|
|
3793
|
+
La as DEFAULT_BURGER_MENU,
|
|
3794
|
+
Re as DEFAULT_CLOSE_BUTTON,
|
|
3795
|
+
Xe as DEFAULT_DATALIST_ID_SUFFIX,
|
|
3796
|
+
Ia as DEFAULT_ICON,
|
|
3797
|
+
Se as DEFAULT_ID,
|
|
3798
|
+
te as DEFAULT_INVALID_MESSAGE,
|
|
3799
|
+
re as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
|
|
3800
|
+
me as DEFAULT_LABEL,
|
|
3801
|
+
Oe as DEFAULT_LABEL_ID_SUFFIX,
|
|
3802
|
+
wa as DEFAULT_MESSAGE,
|
|
3803
|
+
de as DEFAULT_MESSAGE_ID_SUFFIX,
|
|
3804
|
+
Ke as DEFAULT_PLACEHOLDER,
|
|
3805
|
+
_e as DEFAULT_PLACEHOLDER_ID_SUFFIX,
|
|
3806
|
+
Je as DEFAULT_REMOVE,
|
|
3807
|
+
$a as DEFAULT_ROWS,
|
|
3808
|
+
Ba as DEFAULT_SELECTED,
|
|
3809
|
+
He as DEFAULT_SELECT_ID_SUFFIX,
|
|
3810
|
+
ce as DEFAULT_VALID_MESSAGE,
|
|
3811
|
+
ue as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
|
|
3812
|
+
Ta as DEFAULT_VIEWPORT,
|
|
3813
|
+
Gi as DENSITIES,
|
|
3814
|
+
Qe as DENSITY,
|
|
3815
|
+
qi as DENSITY_CONST,
|
|
3816
|
+
Ea as DESKTOP_VIEWPORT,
|
|
3817
|
+
vl as DividerMarginList,
|
|
3818
|
+
fl as DividerVariantList,
|
|
3819
|
+
se as DocumentClickListener,
|
|
3820
|
+
le as DocumentScrollListener,
|
|
3821
|
+
pl as DrawerBackdropList,
|
|
3822
|
+
hl as DrawerDirectionList,
|
|
3823
|
+
gl as DrawerPositionList,
|
|
3824
|
+
ml as DrawerVariantList,
|
|
3825
|
+
co as EmphasisList,
|
|
3826
|
+
fo as FieldSizingList,
|
|
3827
|
+
io as GapSpacingList,
|
|
3828
|
+
kl as IconWeightList,
|
|
3829
|
+
wl as InputTypeList,
|
|
3830
|
+
po as LabelVariantList,
|
|
3831
|
+
Il as LinkContentList,
|
|
3832
|
+
go as LinkReferrerPolicyList,
|
|
3833
|
+
Ll as LinkSizeList,
|
|
3834
|
+
mo as LinkTargetList,
|
|
3835
|
+
Bl as LinkVariantList,
|
|
3836
|
+
ao as MarginList,
|
|
3837
|
+
no as MaxWidthList,
|
|
3838
|
+
Rt as NavigationItemSafeTriangle,
|
|
3839
|
+
Al as NotificationAriaLiveList,
|
|
3840
|
+
Cl as NotificationLinkVariantList,
|
|
3841
|
+
_l as NotificationVariantList,
|
|
3842
|
+
lo as OrientationList,
|
|
3843
|
+
Fl as PageDocumentOverflowList,
|
|
3844
|
+
Nl as PageVariantList,
|
|
3845
|
+
zi as PlacementHorizontalList,
|
|
3846
|
+
to as PlacementList,
|
|
3847
|
+
Pi as PlacementVerticalList,
|
|
3848
|
+
so as PopoverDelayList,
|
|
3849
|
+
uo as PopoverWidthList,
|
|
3850
|
+
ea as SEMANTIC,
|
|
3851
|
+
Hi as SEMANTICS,
|
|
3852
|
+
rl as SelectedTypeList,
|
|
3853
|
+
xl as SemanticList,
|
|
3854
|
+
ro as SizeList,
|
|
3855
|
+
eo as SpacingList,
|
|
3856
|
+
Gl as StackAlignmentList,
|
|
3857
|
+
Ul as StackDirectionList,
|
|
3858
|
+
Wl as StackJustifyContentList,
|
|
3859
|
+
ql as StackVariantList,
|
|
3860
|
+
Xi as TESTING_VIEWPORTS,
|
|
3861
|
+
Xl as TabsBehaviorList,
|
|
3862
|
+
jl as TabsInitialSelectedModeList,
|
|
3863
|
+
Yl as TagBehaviorList,
|
|
3864
|
+
Jl as TextareaResizeList,
|
|
3865
|
+
Ql as TextareaWrapList,
|
|
3866
|
+
Zl as TooltipVariantList,
|
|
3867
|
+
vo as ValidationList,
|
|
3868
|
+
oo as WidthList,
|
|
3869
|
+
aa as addAttributeToChildren,
|
|
3847
3870
|
V as cls,
|
|
3848
|
-
|
|
3871
|
+
J as delay,
|
|
3849
3872
|
z as getBoolean,
|
|
3850
3873
|
F as getBooleanAsString,
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3874
|
+
ta as getFloatingProps,
|
|
3875
|
+
ie as getHideProp,
|
|
3876
|
+
je as getInputValue,
|
|
3877
|
+
ge as getNumber,
|
|
3878
|
+
ji as getOptionKey,
|
|
3879
|
+
Ye as getSearchInput,
|
|
3880
|
+
Xa as handleDataOutside,
|
|
3881
|
+
ja as handleFixedDropdown,
|
|
3882
|
+
ia as handleFixedPopover,
|
|
3883
|
+
ve as hasVoiceOver,
|
|
3884
|
+
_a as isArrayOfStrings,
|
|
3885
|
+
Mt as isEventTargetNavigationItem,
|
|
3886
|
+
Aa as isKeyboardEvent,
|
|
3864
3887
|
Z as stringPropVisible,
|
|
3865
3888
|
K as uuid
|
|
3866
3889
|
};
|