@db-ux/v-core-components 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/db-ux.es.js +239 -238
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/model.d.ts +1 -1
- package/package.json +4 -4
package/dist/db-ux.es.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var de = (i, a, l) =>
|
|
4
|
-
import { defineComponent as V, ref as s, onMounted as K, watch as D, createElementBlock as B, openBlock as m, normalizeClass as R, unref as d, createElementVNode as T, createCommentVNode as q, renderSlot as E, Fragment as P, createTextVNode as
|
|
5
|
-
const Le = "OVERWRITE_DEFAULT_ID", we = "LABEL SHOULD BE SET", aa = " ",
|
|
1
|
+
var La = Object.defineProperty;
|
|
2
|
+
var _a = (i, a, l) => a in i ? La(i, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[a] = l;
|
|
3
|
+
var de = (i, a, l) => _a(i, typeof a != "symbol" ? a + "" : a, l);
|
|
4
|
+
import { defineComponent as V, ref as s, onMounted as K, watch as D, createElementBlock as B, openBlock as m, normalizeClass as R, unref as d, createElementVNode as T, createCommentVNode as q, renderSlot as E, Fragment as P, createTextVNode as N, toDisplayString as L, renderList as be, createBlock as Z, createVNode as ae, withCtx as G, onUnmounted as Ta } from "vue";
|
|
5
|
+
const Le = "OVERWRITE_DEFAULT_ID", we = "LABEL SHOULD BE SET", aa = " ", Aa = "MESSAGE SHOULD BE SET", Je = "-label", Qe = "-select", ve = "-message", fe = "-valid-message", pe = "-invalid-message", Re = "-placeholder", Ze = "-datalist", he = "TODO: Add a validMessage", ie = "TODO: Add an invalidMessage", ta = "Remove", Ca = "Back", Ea = "Selected", Da = "BurgerMenu", Na = "brand", Fa = 4, Ge = "Close", Ki = "density", Ji = "color";
|
|
6
6
|
var ia = /* @__PURE__ */ ((i) => (i.FUNCTIONAL = "functional", i.REGULAR = "regular", i.EXPRESSIVE = "expressive", i))(ia || {});
|
|
7
7
|
const Qi = Object.entries(ia).map(([, i]) => i);
|
|
8
8
|
var la = /* @__PURE__ */ ((i) => (i.PRIMARY = "primary", i))(la || {}), oa = /* @__PURE__ */ ((i) => (i.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", i.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", i.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", i.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", i.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", i.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", i.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", i.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", i.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", i.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", i.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", i.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", i.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", i.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", i.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", i.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", i.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", i.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", i.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", i.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", i.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", i.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", i.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", i.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", i.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", i.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", i.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", i.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", i.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", i.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", i))(oa || {});
|
|
9
9
|
const Zi = Object.entries(oa).map(([, i]) => i), xi = Object.entries(la).map(([, i]) => i);
|
|
10
10
|
var da = /* @__PURE__ */ ((i) => (i.CRITICAL = "critical", i.INFORMATIONAL = "informational", i.WARNING = "warning", i.SUCCESSFUL = "successful", i))(da || {});
|
|
11
|
-
const el = Object.entries(da).map(([, i]) => i),
|
|
11
|
+
const el = Object.entries(da).map(([, i]) => i), Ma = {
|
|
12
12
|
width: 390,
|
|
13
13
|
height: 884
|
|
14
|
-
},
|
|
14
|
+
}, Ra = {
|
|
15
15
|
width: 1920,
|
|
16
16
|
height: 1280
|
|
17
17
|
}, al = [{
|
|
18
18
|
name: "desktop",
|
|
19
|
-
...
|
|
19
|
+
...Ra
|
|
20
20
|
}, {
|
|
21
21
|
name: "tablet",
|
|
22
22
|
width: 768,
|
|
23
23
|
height: 1024
|
|
24
24
|
}, {
|
|
25
25
|
name: "mobile",
|
|
26
|
-
...
|
|
26
|
+
...Ma
|
|
27
27
|
}], Q = () => {
|
|
28
28
|
var i, a;
|
|
29
29
|
if (typeof window < "u") {
|
|
@@ -48,7 +48,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
48
48
|
for (const e in l)
|
|
49
49
|
l[e] && (a += `${e} `);
|
|
50
50
|
return a.trim();
|
|
51
|
-
},
|
|
51
|
+
}, za = (i) => Array.isArray(i) && i.every((a) => typeof a == "string"), qa = ["Mac", "iPhone", "iPad", "iPod"], me = () => typeof window < "u" && qa.some((i) => window.navigator.userAgent.includes(i)), x = (i, a) => new Promise(() => setTimeout(i, a)), j = (i) => {
|
|
52
52
|
if (i != null)
|
|
53
53
|
return String(typeof i == "string" ? !!i : i);
|
|
54
54
|
}, M = (i, a) => {
|
|
@@ -63,7 +63,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
63
63
|
}, ee = (i, a) => (a === void 0 || !!a) && !!i, ea = (i) => i.querySelector('input[type="search"]'), tl = (i, a) => {
|
|
64
64
|
const l = i.id ?? i.value ?? Q();
|
|
65
65
|
return `${a}${l}`;
|
|
66
|
-
},
|
|
66
|
+
}, Va = (i) => i.key !== void 0, Pa = ["id"], Ua = ["aria-disabled", "name", "open"], Ga = /* @__PURE__ */ V({
|
|
67
67
|
__name: "accordion-item",
|
|
68
68
|
props: {
|
|
69
69
|
defaultOpen: { type: Boolean, default: void 0 },
|
|
@@ -124,19 +124,19 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
124
124
|
onClick: n[0] || (n[0] = async (f) => g(f))
|
|
125
125
|
}, [
|
|
126
126
|
r.headlinePlain ? (m(), B(P, { key: 0 }, [
|
|
127
|
-
|
|
127
|
+
N(L(r.headlinePlain), 1)
|
|
128
128
|
], 64)) : q("", !0),
|
|
129
129
|
r.headlinePlain ? q("", !0) : E(r.$slots, "headline", { key: 1 })
|
|
130
130
|
]),
|
|
131
131
|
T("div", null, [
|
|
132
132
|
r.text ? (m(), B(P, { key: 0 }, [
|
|
133
|
-
|
|
133
|
+
N(L(r.text), 1)
|
|
134
134
|
], 64)) : E(r.$slots, "default", { key: 1 })
|
|
135
135
|
])
|
|
136
|
-
], 8,
|
|
137
|
-
], 10,
|
|
136
|
+
], 8, Ua)
|
|
137
|
+
], 10, Pa));
|
|
138
138
|
}
|
|
139
|
-
}),
|
|
139
|
+
}), Wa = ["id", "data-variant"], il = /* @__PURE__ */ V({
|
|
140
140
|
__name: "accordion",
|
|
141
141
|
props: {
|
|
142
142
|
behavior: { default: void 0 },
|
|
@@ -218,15 +218,15 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
218
218
|
"data-variant": r.variant
|
|
219
219
|
}, [
|
|
220
220
|
r.items ? q("", !0) : E(r.$slots, "default", { key: 0 }),
|
|
221
|
-
r.items ? (m(!0), B(P, { key: 1 }, be(g(), (f, _) => (m(), Z(
|
|
221
|
+
r.items ? (m(!0), B(P, { key: 1 }, be(g(), (f, _) => (m(), Z(Ga, {
|
|
222
222
|
key: `accordion-item-${_}`,
|
|
223
223
|
headlinePlain: f.headlinePlain,
|
|
224
224
|
disabled: f.disabled,
|
|
225
225
|
text: f.text
|
|
226
226
|
}, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : q("", !0)
|
|
227
|
-
], 10,
|
|
227
|
+
], 10, Wa));
|
|
228
228
|
}
|
|
229
|
-
}),
|
|
229
|
+
}), Oa = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], ll = /* @__PURE__ */ V({
|
|
230
230
|
__name: "badge",
|
|
231
231
|
props: {
|
|
232
232
|
placement: { default: void 0 },
|
|
@@ -273,12 +273,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
273
273
|
"data-label": ((u = t.placement) == null ? void 0 : u.startsWith("corner")) && (t.label ?? d(we))
|
|
274
274
|
}, [
|
|
275
275
|
t.text ? (m(), B(P, { key: 0 }, [
|
|
276
|
-
|
|
276
|
+
N(L(t.text), 1)
|
|
277
277
|
], 64)) : E(t.$slots, "default", { key: 1 })
|
|
278
|
-
], 10,
|
|
278
|
+
], 10, Oa);
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
|
-
}),
|
|
281
|
+
}), Ha = ["data-icon", "data-hide-icon", "id"], ol = /* @__PURE__ */ V({
|
|
282
282
|
__name: "brand",
|
|
283
283
|
props: {
|
|
284
284
|
hideLogo: { type: Boolean, default: void 0 },
|
|
@@ -303,11 +303,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
303
303
|
class: R(d(z)("db-brand", a.class))
|
|
304
304
|
}, [
|
|
305
305
|
e.text ? (m(), B(P, { key: 0 }, [
|
|
306
|
-
|
|
306
|
+
N(L(e.text), 1)
|
|
307
307
|
], 64)) : E(e.$slots, "default", { key: 1 })
|
|
308
|
-
], 10,
|
|
308
|
+
], 10, Ha));
|
|
309
309
|
}
|
|
310
|
-
}),
|
|
310
|
+
}), Xa = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "form", "value", "aria-describedby", "aria-expanded", "aria-pressed"], Be = /* @__PURE__ */ V({
|
|
311
311
|
__name: "button",
|
|
312
312
|
props: {
|
|
313
313
|
ariaexpanded: { type: Boolean, default: void 0 },
|
|
@@ -363,11 +363,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
363
363
|
onClick: p[0] || (p[0] = async (u) => e(u))
|
|
364
364
|
}, [
|
|
365
365
|
t.text ? (m(), B(P, { key: 0 }, [
|
|
366
|
-
|
|
366
|
+
N(L(t.text), 1)
|
|
367
367
|
], 64)) : E(t.$slots, "default", { key: 1 })
|
|
368
|
-
], 10,
|
|
368
|
+
], 10, Xa));
|
|
369
369
|
}
|
|
370
|
-
}),
|
|
370
|
+
}), ja = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], dl = /* @__PURE__ */ V({
|
|
371
371
|
__name: "card",
|
|
372
372
|
props: {
|
|
373
373
|
behavior: { default: void 0 },
|
|
@@ -399,11 +399,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
399
399
|
onClick: p[0] || (p[0] = async (u) => e(u))
|
|
400
400
|
}, [
|
|
401
401
|
E(t.$slots, "default")
|
|
402
|
-
], 10,
|
|
402
|
+
], 10, ja));
|
|
403
403
|
}
|
|
404
404
|
}), se = (i, a, l = "value") => {
|
|
405
405
|
i(`update:${l}`, a.target[l]);
|
|
406
|
-
},
|
|
406
|
+
}, Ya = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], te = /* @__PURE__ */ V({
|
|
407
407
|
__name: "infotext",
|
|
408
408
|
props: {
|
|
409
409
|
children: { default: void 0 },
|
|
@@ -431,11 +431,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
431
431
|
"data-hide-icon-before": d(X)(e.showIcon ?? !0)
|
|
432
432
|
}, [
|
|
433
433
|
e.text ? (m(), B(P, { key: 0 }, [
|
|
434
|
-
|
|
434
|
+
N(L(e.text), 1)
|
|
435
435
|
], 64)) : E(e.$slots, "default", { key: 1 })
|
|
436
|
-
], 10,
|
|
436
|
+
], 10, Ya));
|
|
437
437
|
}
|
|
438
|
-
}),
|
|
438
|
+
}), Ka = ["data-size", "data-hide-asterisk", "data-hide-label"], Ja = ["for"], Qa = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Za = {
|
|
439
439
|
"data-visually-hidden": "true",
|
|
440
440
|
role: "status"
|
|
441
441
|
}, nl = /* @__PURE__ */ V({
|
|
@@ -562,11 +562,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
562
562
|
onBlur: k[1] || (k[1] = async (W) => I(W)),
|
|
563
563
|
onFocus: k[2] || (k[2] = async (W) => A(W)),
|
|
564
564
|
"aria-describedby": b.ariaDescribedBy ?? f.value
|
|
565
|
-
}, null, 40,
|
|
565
|
+
}, null, 40, Qa),
|
|
566
566
|
b.label ? (m(), B(P, { key: 0 }, [
|
|
567
|
-
|
|
567
|
+
N(L(b.label), 1)
|
|
568
568
|
], 64)) : E(b.$slots, "default", { key: 1 })
|
|
569
|
-
], 8,
|
|
569
|
+
], 8, Ja),
|
|
570
570
|
d(ee)(b.message, b.showMessage) ? (m(), Z(te, {
|
|
571
571
|
key: 0,
|
|
572
572
|
size: "small",
|
|
@@ -574,7 +574,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
574
574
|
id: u.value
|
|
575
575
|
}, {
|
|
576
576
|
default: G(() => [
|
|
577
|
-
|
|
577
|
+
N(L(b.message), 1)
|
|
578
578
|
]),
|
|
579
579
|
_: 1
|
|
580
580
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
@@ -585,7 +585,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
585
585
|
id: g.value
|
|
586
586
|
}, {
|
|
587
587
|
default: G(() => [
|
|
588
|
-
|
|
588
|
+
N(L(b.validMessage || d(he)), 1)
|
|
589
589
|
]),
|
|
590
590
|
_: 1
|
|
591
591
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -595,12 +595,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
|
|
|
595
595
|
id: r.value
|
|
596
596
|
}, {
|
|
597
597
|
default: G(() => [
|
|
598
|
-
|
|
598
|
+
N(L(n.value), 1)
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
}, 8, ["id"]),
|
|
602
|
-
T("span",
|
|
603
|
-
], 10,
|
|
602
|
+
T("span", Za, L(_.value), 1)
|
|
603
|
+
], 10, Ka));
|
|
604
604
|
}
|
|
605
605
|
}), re = class re {
|
|
606
606
|
static runCallbacks(a) {
|
|
@@ -647,7 +647,7 @@ const ce = class ce {
|
|
|
647
647
|
};
|
|
648
648
|
de(ce, "callbacks", {}), de(ce, "_instance", null);
|
|
649
649
|
let Ie = ce;
|
|
650
|
-
const
|
|
650
|
+
const xa = (i) => {
|
|
651
651
|
var v;
|
|
652
652
|
const {
|
|
653
653
|
top: a,
|
|
@@ -666,13 +666,13 @@ const et = (i) => {
|
|
|
666
666
|
outLeft: n,
|
|
667
667
|
outRight: f
|
|
668
668
|
};
|
|
669
|
-
},
|
|
669
|
+
}, et = (i) => {
|
|
670
670
|
const {
|
|
671
671
|
outTop: a,
|
|
672
672
|
outBottom: l,
|
|
673
673
|
outLeft: e,
|
|
674
674
|
outRight: t
|
|
675
|
-
} =
|
|
675
|
+
} = xa(i);
|
|
676
676
|
let p = {};
|
|
677
677
|
return a || l ? (p = {
|
|
678
678
|
vy: a ? "top" : "bottom"
|
|
@@ -680,7 +680,7 @@ const et = (i) => {
|
|
|
680
680
|
...p,
|
|
681
681
|
vx: t ? "right" : "left"
|
|
682
682
|
}, i.dataset.outsideVx = p.vx) : delete i.dataset.outsideVx, p;
|
|
683
|
-
},
|
|
683
|
+
}, at = (i, a, l) => {
|
|
684
684
|
if (getComputedStyle(i).zIndex === "9999") return;
|
|
685
685
|
const {
|
|
686
686
|
top: e,
|
|
@@ -789,7 +789,7 @@ const et = (i) => {
|
|
|
789
789
|
i.style.insetBlockStart = `calc(${_}px + ${e})`, i.style.insetBlockEnd = `calc(${c > v ? v : c}px + ${e})`;
|
|
790
790
|
}
|
|
791
791
|
i.style.position = "fixed", i.dataset.correctedPlacement = S;
|
|
792
|
-
},
|
|
792
|
+
}, tt = ["id", "data-width"], it = /* @__PURE__ */ V({
|
|
793
793
|
__name: "custom-select-dropdown",
|
|
794
794
|
props: {
|
|
795
795
|
width: { default: "fixed" },
|
|
@@ -811,9 +811,9 @@ const et = (i) => {
|
|
|
811
811
|
"data-width": e.width
|
|
812
812
|
}, [
|
|
813
813
|
E(e.$slots, "default")
|
|
814
|
-
], 10,
|
|
814
|
+
], 10, tt));
|
|
815
815
|
}
|
|
816
|
-
}),
|
|
816
|
+
}), lt = ["id", "data-divider"], ot = ["data-icon", "data-hide-icon", "data-icon-after"], dt = ["type", "name", "form", "checked", "disabled", "value"], nt = { key: 1 }, st = /* @__PURE__ */ V({
|
|
817
817
|
__name: "custom-select-list-item",
|
|
818
818
|
props: {
|
|
819
819
|
groupTitle: { default: void 0 },
|
|
@@ -870,7 +870,7 @@ const et = (i) => {
|
|
|
870
870
|
),
|
|
871
871
|
"data-divider": d(j)(p.value)
|
|
872
872
|
}, [
|
|
873
|
-
n.isGroupTitle ? (m(), B("span",
|
|
873
|
+
n.isGroupTitle ? (m(), B("span", nt, L(n.groupTitle), 1)) : (m(), B("label", {
|
|
874
874
|
key: 0,
|
|
875
875
|
"data-icon": n.type !== "checkbox" && n.icon ? n.icon : void 0,
|
|
876
876
|
"data-hide-icon": d(X)(n.showIcon),
|
|
@@ -886,14 +886,14 @@ const et = (i) => {
|
|
|
886
886
|
disabled: d(M)(n.disabled, "disabled"),
|
|
887
887
|
value: n.value,
|
|
888
888
|
onChange: f[0] || (f[0] = async (_) => g(_))
|
|
889
|
-
}, null, 40,
|
|
889
|
+
}, null, 40, dt),
|
|
890
890
|
n.label ? (m(), B(P, { key: 0 }, [
|
|
891
|
-
|
|
891
|
+
N(L(n.label), 1)
|
|
892
892
|
], 64)) : E(n.$slots, "default", { key: 1 })
|
|
893
|
-
], 8,
|
|
894
|
-
], 10,
|
|
893
|
+
], 8, ot))
|
|
894
|
+
], 10, lt));
|
|
895
895
|
}
|
|
896
|
-
}),
|
|
896
|
+
}), ut = ["role", "aria-label", "id"], rt = /* @__PURE__ */ V({
|
|
897
897
|
__name: "custom-select-list",
|
|
898
898
|
props: {
|
|
899
899
|
label: { default: void 0 },
|
|
@@ -918,12 +918,12 @@ const et = (i) => {
|
|
|
918
918
|
T("ul", null, [
|
|
919
919
|
E(e.$slots, "default")
|
|
920
920
|
])
|
|
921
|
-
], 10,
|
|
921
|
+
], 10, ut));
|
|
922
922
|
}
|
|
923
|
-
}),
|
|
923
|
+
}), ct = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-asterisk", "data-hide-icon-after"], vt = ["for"], ft = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "name", "type", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "list", "aria-describedby"], pt = ["id"], ht = ["value"], mt = {
|
|
924
924
|
"data-visually-hidden": "true",
|
|
925
925
|
role: "status"
|
|
926
|
-
},
|
|
926
|
+
}, gt = /* @__PURE__ */ V({
|
|
927
927
|
__name: "input",
|
|
928
928
|
props: {
|
|
929
929
|
dataList: { default: void 0 },
|
|
@@ -1037,7 +1037,7 @@ const et = (i) => {
|
|
|
1037
1037
|
function W() {
|
|
1038
1038
|
const y = e.dataList;
|
|
1039
1039
|
return Array.from(
|
|
1040
|
-
(
|
|
1040
|
+
(za(y) ? y == null ? void 0 : y.map((O) => ({
|
|
1041
1041
|
value: O,
|
|
1042
1042
|
label: void 0
|
|
1043
1043
|
})) : y) || []
|
|
@@ -1053,7 +1053,7 @@ const et = (i) => {
|
|
|
1053
1053
|
"data-hide-asterisk": d(X)(y.showRequiredAsterisk),
|
|
1054
1054
|
"data-hide-icon-after": d(X)(y.showIcon)
|
|
1055
1055
|
}, [
|
|
1056
|
-
T("label", { for: t.value }, L(y.label ?? d(we)), 9,
|
|
1056
|
+
T("label", { for: t.value }, L(y.label ?? d(we)), 9, vt),
|
|
1057
1057
|
T("input", {
|
|
1058
1058
|
"aria-invalid": y.validation === "invalid",
|
|
1059
1059
|
"data-custom-validity": y.validation,
|
|
@@ -1084,7 +1084,7 @@ const et = (i) => {
|
|
|
1084
1084
|
onFocus: O[3] || (O[3] = async (w) => k(w)),
|
|
1085
1085
|
list: y.dataList && n.value,
|
|
1086
1086
|
"aria-describedby": y.ariaDescribedBy ?? f.value
|
|
1087
|
-
}, null, 40,
|
|
1087
|
+
}, null, 40, ft),
|
|
1088
1088
|
y.dataList ? (m(), B("datalist", {
|
|
1089
1089
|
key: 0,
|
|
1090
1090
|
id: n.value
|
|
@@ -1092,8 +1092,8 @@ const et = (i) => {
|
|
|
1092
1092
|
(m(!0), B(P, null, be(W(), (w) => (m(), B("option", {
|
|
1093
1093
|
key: n.value + "-option-" + w.value,
|
|
1094
1094
|
value: w.value
|
|
1095
|
-
}, L(w.label), 9,
|
|
1096
|
-
], 8,
|
|
1095
|
+
}, L(w.label), 9, ht))), 128))
|
|
1096
|
+
], 8, pt)) : q("", !0),
|
|
1097
1097
|
E(y.$slots, "default"),
|
|
1098
1098
|
d(ee)(y.message, y.showMessage) ? (m(), Z(te, {
|
|
1099
1099
|
key: 1,
|
|
@@ -1102,7 +1102,7 @@ const et = (i) => {
|
|
|
1102
1102
|
id: p.value
|
|
1103
1103
|
}, {
|
|
1104
1104
|
default: G(() => [
|
|
1105
|
-
|
|
1105
|
+
N(L(y.message), 1)
|
|
1106
1106
|
]),
|
|
1107
1107
|
_: 1
|
|
1108
1108
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
@@ -1113,7 +1113,7 @@ const et = (i) => {
|
|
|
1113
1113
|
id: u.value
|
|
1114
1114
|
}, {
|
|
1115
1115
|
default: G(() => [
|
|
1116
|
-
|
|
1116
|
+
N(L(y.validMessage || d(he)), 1)
|
|
1117
1117
|
]),
|
|
1118
1118
|
_: 1
|
|
1119
1119
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -1123,14 +1123,14 @@ const et = (i) => {
|
|
|
1123
1123
|
id: g.value
|
|
1124
1124
|
}, {
|
|
1125
1125
|
default: G(() => [
|
|
1126
|
-
|
|
1126
|
+
N(L(r.value), 1)
|
|
1127
1127
|
]),
|
|
1128
1128
|
_: 1
|
|
1129
1129
|
}, 8, ["id"]),
|
|
1130
|
-
T("span",
|
|
1131
|
-
], 10,
|
|
1130
|
+
T("span", mt, L(S.value), 1)
|
|
1131
|
+
], 10, ct));
|
|
1132
1132
|
}
|
|
1133
|
-
}),
|
|
1133
|
+
}), bt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ra = /* @__PURE__ */ V({
|
|
1134
1134
|
__name: "tooltip",
|
|
1135
1135
|
props: {
|
|
1136
1136
|
showArrow: { type: [Boolean, String], default: void 0 },
|
|
@@ -1223,9 +1223,9 @@ const et = (i) => {
|
|
|
1223
1223
|
onClick: c[0] || (c[0] = async (I) => g(I))
|
|
1224
1224
|
}, [
|
|
1225
1225
|
E(v.$slots, "default")
|
|
1226
|
-
], 10,
|
|
1226
|
+
], 10, bt));
|
|
1227
1227
|
}
|
|
1228
|
-
}),
|
|
1228
|
+
}), yt = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], kt = /* @__PURE__ */ V({
|
|
1229
1229
|
__name: "tag",
|
|
1230
1230
|
props: {
|
|
1231
1231
|
behavior: { default: void 0 },
|
|
@@ -1292,7 +1292,7 @@ const et = (i) => {
|
|
|
1292
1292
|
E(u.$slots, "content"),
|
|
1293
1293
|
E(u.$slots, "default"),
|
|
1294
1294
|
u.text ? (m(), B(P, { key: 0 }, [
|
|
1295
|
-
|
|
1295
|
+
N(L(u.text), 1)
|
|
1296
1296
|
], 64)) : q("", !0),
|
|
1297
1297
|
u.behavior === "removable" ? (m(), B("button", {
|
|
1298
1298
|
key: 1,
|
|
@@ -1306,14 +1306,14 @@ const et = (i) => {
|
|
|
1306
1306
|
}, [
|
|
1307
1307
|
ae(ra, { variant: "label" }, {
|
|
1308
1308
|
default: G(() => [
|
|
1309
|
-
|
|
1309
|
+
N(L(p()), 1)
|
|
1310
1310
|
]),
|
|
1311
1311
|
_: 1
|
|
1312
1312
|
})
|
|
1313
1313
|
])) : q("", !0)
|
|
1314
|
-
], 10,
|
|
1314
|
+
], 10, yt));
|
|
1315
1315
|
}
|
|
1316
|
-
}),
|
|
1316
|
+
}), wt = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-variant", "data-required", "data-hide-asterisk", "data-placement", "data-selected-type", "data-hide-label", "data-icon", "data-hide-icon"], St = ["id"], Bt = ["id", "form", "name", "multiple", "disabled", "required"], It = ["disabled", "value"], $t = ["open"], Lt = ["id", "aria-disabled", "aria-labelledby"], _t = ["data-visually-hidden", "id"], Tt = { key: 1 }, At = { key: 0 }, Ct = { key: 0 }, Et = { class: "db-checkbox db-custom-select-list-item" }, Dt = ["form", "checked"], Nt = ["aria-hidden", "id"], Ft = {
|
|
1317
1317
|
"data-visually-hidden": "true",
|
|
1318
1318
|
role: "status"
|
|
1319
1319
|
}, sl = /* @__PURE__ */ V({
|
|
@@ -1382,19 +1382,19 @@ const et = (i) => {
|
|
|
1382
1382
|
},
|
|
1383
1383
|
emits: ["update:values"],
|
|
1384
1384
|
setup(i, { emit: a }) {
|
|
1385
|
-
const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(void 0), f = s(void 0), _ = s(void 0), S = s(void 0), h = s(void 0), v = s("no-validation"), c = s(""), I = s(""), A = s(void 0), b = s(""), k = s([]), W = s(!1), y = s(!1), O = s(0), w = s([]), H = s([]), le = s(!1), J = s(void 0),
|
|
1385
|
+
const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(void 0), f = s(void 0), _ = s(void 0), S = s(void 0), h = s(void 0), v = s("no-validation"), c = s(""), I = s(""), A = s(void 0), b = s(""), k = s([]), W = s(!1), y = s(!1), O = s(0), w = s([]), H = s([]), le = s(!1), J = s(void 0), Ne = s(0), ye = s(void 0), Te = s(void 0), qe = s(void 0), Ve = s(!1), Ae = s(!1), ca = s(null), F = s(null), ke = s(null), Fe = s(null), Pe = s(null);
|
|
1386
1386
|
K(() => {
|
|
1387
1387
|
const o = e.id ?? `custom-select-${Q()}`;
|
|
1388
1388
|
t.value = o, p.value = o + ve, u.value = o + fe, g.value = o + pe, n.value = o + Qe, f.value = o + Je, _.value = o + "-summary", S.value = o + Re, A.value = o + "-selected-labels", h.value = o + "-info", r.value = e.invalidMessage || ie, typeof window < "u" && "IntersectionObserver" in window && (Te.value = new IntersectionObserver(($) => {
|
|
1389
|
-
if (
|
|
1390
|
-
const C = $.find(({ target: Y }) => Y ===
|
|
1391
|
-
C && !C.isIntersecting &&
|
|
1389
|
+
if (F.value) {
|
|
1390
|
+
const C = $.find(({ target: Y }) => Y === F.value);
|
|
1391
|
+
C && !C.isIntersecting && F.value.open && (F.value.open = !1);
|
|
1392
1392
|
}
|
|
1393
1393
|
}));
|
|
1394
1394
|
}), D(
|
|
1395
|
-
() => [
|
|
1395
|
+
() => [F.value],
|
|
1396
1396
|
() => {
|
|
1397
|
-
|
|
1397
|
+
F.value && F.value.addEventListener(
|
|
1398
1398
|
"focusout",
|
|
1399
1399
|
(o) => Ce(o)
|
|
1400
1400
|
);
|
|
@@ -1416,10 +1416,10 @@ const et = (i) => {
|
|
|
1416
1416
|
flush: "post"
|
|
1417
1417
|
}
|
|
1418
1418
|
), D(
|
|
1419
|
-
() => [
|
|
1419
|
+
() => [F.value, c.value],
|
|
1420
1420
|
() => {
|
|
1421
|
-
if (
|
|
1422
|
-
const o =
|
|
1421
|
+
if (F.value) {
|
|
1422
|
+
const o = F.value.querySelector("summary");
|
|
1423
1423
|
o && o.setAttribute(
|
|
1424
1424
|
"aria-describedby",
|
|
1425
1425
|
e.ariaDescribedBy ?? (c.value || "")
|
|
@@ -1469,7 +1469,7 @@ const et = (i) => {
|
|
|
1469
1469
|
), D(
|
|
1470
1470
|
() => [w.value],
|
|
1471
1471
|
() => {
|
|
1472
|
-
|
|
1472
|
+
fa();
|
|
1473
1473
|
},
|
|
1474
1474
|
{
|
|
1475
1475
|
immediate: !0,
|
|
@@ -1551,7 +1551,7 @@ const et = (i) => {
|
|
|
1551
1551
|
I.value = oe(Y);
|
|
1552
1552
|
return;
|
|
1553
1553
|
}
|
|
1554
|
-
e.selectedType === "amount" ? I.value = e.amountText ? e.amountText : `${($ = k.value) == null ? void 0 : $.length} ${
|
|
1554
|
+
e.selectedType === "amount" ? I.value = e.amountText ? e.amountText : `${($ = k.value) == null ? void 0 : $.length} ${Ea}` : I.value = (C = k.value) == null ? void 0 : C.map((Y) => $e(Y)).join(", ");
|
|
1555
1555
|
} else
|
|
1556
1556
|
I.value = "";
|
|
1557
1557
|
},
|
|
@@ -1570,9 +1570,9 @@ const et = (i) => {
|
|
|
1570
1570
|
flush: "post"
|
|
1571
1571
|
}
|
|
1572
1572
|
), D(
|
|
1573
|
-
() => [Ae.value,
|
|
1573
|
+
() => [Ae.value, Fe.value],
|
|
1574
1574
|
() => {
|
|
1575
|
-
|
|
1575
|
+
Fe.value && (Fe.value.indeterminate = !!Ae.value);
|
|
1576
1576
|
},
|
|
1577
1577
|
{
|
|
1578
1578
|
immediate: !0,
|
|
@@ -1589,30 +1589,30 @@ const et = (i) => {
|
|
|
1589
1589
|
flush: "post"
|
|
1590
1590
|
}
|
|
1591
1591
|
);
|
|
1592
|
-
function
|
|
1592
|
+
function va(o) {
|
|
1593
1593
|
var $, C;
|
|
1594
|
-
($ = o == null ? void 0 : o.target) != null && $.contains && ((C = o == null ? void 0 : o.target) != null && C.contains(
|
|
1594
|
+
($ = o == null ? void 0 : o.target) != null && $.contains && ((C = o == null ? void 0 : o.target) != null && C.contains(F.value)) && Ue();
|
|
1595
1595
|
}
|
|
1596
1596
|
function We() {
|
|
1597
1597
|
return !!(e.validMessage ?? e.validation === "valid");
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function fa() {
|
|
1600
1600
|
var o, $, C;
|
|
1601
|
-
ke.value && (ke.value.value =
|
|
1601
|
+
ke.value && (ke.value.value = ha()), !((o = ke.value) != null && o.validity.valid) || e.validation === "invalid" ? (c.value = g.value, r.value = e.invalidMessage || (($ = ke.value) == null ? void 0 : $.validationMessage) || ie, me() && (b.value = r.value, x(() => b.value = "", 1e3)), v.value = e.validation ?? "invalid") : We() && ((C = ke.value) != null && C.validity.valid) && e.required ? (c.value = u.value, me() && (b.value = e.validMessage ?? he, x(() => b.value = "", 1e3)), v.value = e.validation ?? "valid") : ee(e.message, e.showMessage) ? (c.value = p.value, v.value = e.validation ?? "no-validation") : (c.value = S.value, v.value = e.validation ?? "no-validation");
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function pa(o) {
|
|
1604
1604
|
var $, C;
|
|
1605
1605
|
e.onDropdownToggle && (o.stopPropagation(), e.onDropdownToggle(o)), o.target instanceof HTMLDetailsElement && o.target.open ? (J.value = new ze().addCallback(
|
|
1606
|
-
(Y) =>
|
|
1606
|
+
(Y) => Sa(Y)
|
|
1607
1607
|
), ye.value = new Ie().addCallback(
|
|
1608
|
-
(Y) =>
|
|
1609
|
-
), Ue(), ($ = Te.value) == null || $.observe(
|
|
1608
|
+
(Y) => va(Y)
|
|
1609
|
+
), Ue(), ($ = Te.value) == null || $.observe(F.value), o.target.dataset.test || Xe()) : (J.value && new ze().removeCallback(
|
|
1610
1610
|
J.value
|
|
1611
1611
|
), ye.value && new Ie().removeCallback(
|
|
1612
1612
|
ye.value
|
|
1613
|
-
), (C = Te.value) == null || C.unobserve(
|
|
1613
|
+
), (C = Te.value) == null || C.unobserve(F.value));
|
|
1614
1614
|
}
|
|
1615
|
-
function
|
|
1615
|
+
function ha() {
|
|
1616
1616
|
var o;
|
|
1617
1617
|
return (o = w.value) != null && o.length ? w.value.at(0) ?? "" : "";
|
|
1618
1618
|
}
|
|
@@ -1621,38 +1621,38 @@ const et = (i) => {
|
|
|
1621
1621
|
const $ = [];
|
|
1622
1622
|
o && $.push(o), A.value && ((C = I.value) != null && C.length) && $.push(A.value), c.value = $.join(" ");
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function ma() {
|
|
1625
1625
|
return e.selectAllLabel ?? we;
|
|
1626
1626
|
}
|
|
1627
1627
|
function $e(o) {
|
|
1628
1628
|
var $;
|
|
1629
1629
|
return o.label ?? (($ = o.value) == null ? void 0 : $.toString()) ?? "";
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1631
|
+
function ga(o) {
|
|
1632
1632
|
var $, C;
|
|
1633
1633
|
return o && (($ = w.value) != null && $.includes) ? (C = w.value) == null ? void 0 : C.includes(o) : !1;
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1635
|
+
function ba(o) {
|
|
1636
1636
|
return e.removeTagsTexts && e.removeTagsTexts.length > o ? e.removeTagsTexts.at(o) : `${ta} ${k.value ? $e(k.value[o]) : ""}`;
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1638
|
+
function ya(o, $) {
|
|
1639
1639
|
$ && $.stopPropagation(), He(o.value), Ee();
|
|
1640
1640
|
}
|
|
1641
1641
|
function Ue() {
|
|
1642
|
-
if (
|
|
1643
|
-
const o =
|
|
1642
|
+
if (F.value) {
|
|
1643
|
+
const o = F.value.querySelector("article");
|
|
1644
1644
|
o && x(() => {
|
|
1645
|
-
|
|
1645
|
+
at(
|
|
1646
1646
|
o,
|
|
1647
|
-
|
|
1647
|
+
F.value,
|
|
1648
1648
|
e.placement ?? "bottom"
|
|
1649
1649
|
);
|
|
1650
1650
|
}, 1);
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
|
-
function
|
|
1653
|
+
function ka(o) {
|
|
1654
1654
|
var $, C, Y, oe, U, ge, De;
|
|
1655
|
-
if (($ =
|
|
1655
|
+
if (($ = F.value) != null && $.open) {
|
|
1656
1656
|
if (self.document) {
|
|
1657
1657
|
const ue = self.document.activeElement;
|
|
1658
1658
|
if (ue)
|
|
@@ -1662,17 +1662,17 @@ const et = (i) => {
|
|
|
1662
1662
|
ne != null && ne.nextElementSibling ? (Y = (C = ne == null ? void 0 : ne.nextElementSibling) == null ? void 0 : C.querySelector("input")) == null || Y.focus() : Me(ue);
|
|
1663
1663
|
else if (ne != null && ne.previousElementSibling)
|
|
1664
1664
|
(U = (oe = ne == null ? void 0 : ne.previousElementSibling) == null ? void 0 : oe.querySelector("input")) == null || U.focus();
|
|
1665
|
-
else if (
|
|
1665
|
+
else if (F.value.querySelector('input[type="checkbox"]') !== ue)
|
|
1666
1666
|
Me(ue);
|
|
1667
1667
|
else {
|
|
1668
|
-
const Ye = ea(
|
|
1668
|
+
const Ye = ea(F.value);
|
|
1669
1669
|
if (Ye)
|
|
1670
1670
|
x(() => {
|
|
1671
1671
|
Ye.focus();
|
|
1672
1672
|
}, 100);
|
|
1673
1673
|
else {
|
|
1674
1674
|
const Ke = Array.from(
|
|
1675
|
-
(ge =
|
|
1675
|
+
(ge = F.value) == null ? void 0 : ge.querySelectorAll(
|
|
1676
1676
|
'input[type="checkbox"],input[type="radio"]'
|
|
1677
1677
|
)
|
|
1678
1678
|
);
|
|
@@ -1682,32 +1682,32 @@ const et = (i) => {
|
|
|
1682
1682
|
} else
|
|
1683
1683
|
ue.getAttribute("type") === "search" && (o.key === "ArrowUp" || o.key === "ArrowLeft") ? (Ce(void 0, !0), Ee()) : Me(ue);
|
|
1684
1684
|
}
|
|
1685
|
-
} else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ue(),
|
|
1685
|
+
} else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ue(), F.value && (F.value.open = !0), Xe());
|
|
1686
1686
|
o.stopPropagation(), o.preventDefault();
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function wa(o) {
|
|
1689
1689
|
var $;
|
|
1690
|
-
o.stopPropagation(), o.key === "Escape" && (($ =
|
|
1690
|
+
o.stopPropagation(), o.key === "Escape" && (($ = F.value) != null && $.open) ? (Ce(void 0, !0), Ee()) : (o.key === "ArrowDown" || o.key === "ArrowUp" || o.key === "ArrowLeft" || o.key === "ArrowRight") && ka(o);
|
|
1691
1691
|
}
|
|
1692
1692
|
function Ce(o, $) {
|
|
1693
|
-
if (
|
|
1693
|
+
if (F.value) {
|
|
1694
1694
|
if ($)
|
|
1695
|
-
|
|
1696
|
-
else if (
|
|
1695
|
+
F.value.open = !1, Ee();
|
|
1696
|
+
else if (F.value.open && o && o.relatedTarget) {
|
|
1697
1697
|
const C = o.relatedTarget;
|
|
1698
|
-
|
|
1698
|
+
F.value.contains(C) || x(() => F.value.open = !1, 1);
|
|
1699
1699
|
}
|
|
1700
1700
|
}
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1702
|
+
function Sa(o) {
|
|
1703
1703
|
var $;
|
|
1704
1704
|
if (o) {
|
|
1705
1705
|
const C = o.target;
|
|
1706
|
-
($ =
|
|
1706
|
+
($ = F.value) != null && $.open && !F.value.contains(C) && (F.value.open = !1);
|
|
1707
1707
|
}
|
|
1708
1708
|
}
|
|
1709
1709
|
function _e(o) {
|
|
1710
|
-
(/* @__PURE__ */ new Date()).getTime() -
|
|
1710
|
+
(/* @__PURE__ */ new Date()).getTime() - Ne.value < 200 || (w.value = o, e.onOptionSelected && e.onOptionSelected(o ?? []), se(
|
|
1711
1711
|
l,
|
|
1712
1712
|
{
|
|
1713
1713
|
target: {
|
|
@@ -1715,13 +1715,13 @@ const et = (i) => {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
},
|
|
1717
1717
|
"values"
|
|
1718
|
-
),
|
|
1718
|
+
), Ne.value = (/* @__PURE__ */ new Date()).getTime());
|
|
1719
1719
|
}
|
|
1720
1720
|
function He(o) {
|
|
1721
1721
|
var $;
|
|
1722
1722
|
o && (e.multiple ? ($ = w.value) != null && $.includes(o) ? _e(w.value.filter((C) => C !== o)) : _e([...w.value || [], o]) : (_e([o]), Ce(void 0, !0)));
|
|
1723
1723
|
}
|
|
1724
|
-
function
|
|
1724
|
+
function Ba(o) {
|
|
1725
1725
|
var $;
|
|
1726
1726
|
if (o.stopPropagation(), (($ = w.value) == null ? void 0 : $.length) === O.value)
|
|
1727
1727
|
_e([]);
|
|
@@ -1738,9 +1738,9 @@ const et = (i) => {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
1740
|
function Me(o) {
|
|
1741
|
-
if (
|
|
1741
|
+
if (F.value) {
|
|
1742
1742
|
const $ = Array.from(
|
|
1743
|
-
|
|
1743
|
+
F.value.querySelectorAll(
|
|
1744
1744
|
'input[type="checkbox"],input[type="radio"]'
|
|
1745
1745
|
)
|
|
1746
1746
|
);
|
|
@@ -1753,8 +1753,8 @@ const et = (i) => {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
}
|
|
1755
1755
|
function Xe() {
|
|
1756
|
-
if (
|
|
1757
|
-
const o = ea(
|
|
1756
|
+
if (F.value) {
|
|
1757
|
+
const o = ea(F.value);
|
|
1758
1758
|
o ? x(() => {
|
|
1759
1759
|
o.focus();
|
|
1760
1760
|
}, 1) : Me();
|
|
@@ -1776,14 +1776,14 @@ const et = (i) => {
|
|
|
1776
1776
|
(C) => !C.isGroupTitle && $e(C).toLowerCase().includes($.toLowerCase())
|
|
1777
1777
|
);
|
|
1778
1778
|
}
|
|
1779
|
-
function
|
|
1779
|
+
function Ia(o) {
|
|
1780
1780
|
o.stopPropagation(), _e([]), Ee();
|
|
1781
1781
|
}
|
|
1782
1782
|
function Ee() {
|
|
1783
1783
|
var o;
|
|
1784
|
-
|
|
1784
|
+
F.value && ((o = F.value.querySelector("summary")) == null || o.focus());
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function $a(o) {
|
|
1787
1787
|
o.stopPropagation();
|
|
1788
1788
|
}
|
|
1789
1789
|
return (o, $) => {
|
|
@@ -1791,7 +1791,7 @@ const et = (i) => {
|
|
|
1791
1791
|
return m(), B("div", {
|
|
1792
1792
|
id: t.value,
|
|
1793
1793
|
ref_key: "_ref",
|
|
1794
|
-
ref:
|
|
1794
|
+
ref: ca,
|
|
1795
1795
|
class: R(d(z)("db-custom-select", e.class)),
|
|
1796
1796
|
"aria-invalid": v.value === "invalid",
|
|
1797
1797
|
"data-custom-validity": v.value,
|
|
@@ -1806,7 +1806,7 @@ const et = (i) => {
|
|
|
1806
1806
|
"data-hide-icon": d(X)(o.showIcon)
|
|
1807
1807
|
}, [
|
|
1808
1808
|
T("label", { id: f.value }, [
|
|
1809
|
-
|
|
1809
|
+
N(L(o.label ?? d(we)), 1),
|
|
1810
1810
|
T("select", {
|
|
1811
1811
|
role: "none",
|
|
1812
1812
|
hidden: !0,
|
|
@@ -1819,21 +1819,21 @@ const et = (i) => {
|
|
|
1819
1819
|
multiple: d(M)(o.multiple, "multiple"),
|
|
1820
1820
|
disabled: d(M)(o.disabled, "disabled"),
|
|
1821
1821
|
required: d(M)(o.required, "required"),
|
|
1822
|
-
onChange: $[0] || ($[0] = async (U) =>
|
|
1822
|
+
onChange: $[0] || ($[0] = async (U) => $a(U))
|
|
1823
1823
|
}, [
|
|
1824
1824
|
(C = o.options) != null && C.length ? (m(!0), B(P, { key: 0 }, be(o.options, (U, ge) => (m(), B("option", {
|
|
1825
1825
|
key: ge,
|
|
1826
1826
|
disabled: U.disabled,
|
|
1827
1827
|
value: U.value
|
|
1828
|
-
}, L($e(U)), 9,
|
|
1829
|
-
], 40,
|
|
1830
|
-
], 8,
|
|
1828
|
+
}, L($e(U)), 9, It))), 128)) : q("", !0)
|
|
1829
|
+
], 40, Bt)
|
|
1830
|
+
], 8, St),
|
|
1831
1831
|
T("details", {
|
|
1832
1832
|
ref_key: "detailsRef",
|
|
1833
|
-
ref:
|
|
1833
|
+
ref: F,
|
|
1834
1834
|
open: o.open,
|
|
1835
|
-
onToggle: $[2] || ($[2] = async (U) =>
|
|
1836
|
-
onKeydown: $[3] || ($[3] = async (U) =>
|
|
1835
|
+
onToggle: $[2] || ($[2] = async (U) => pa(U)),
|
|
1836
|
+
onKeydown: $[3] || ($[3] = async (U) => wa(U))
|
|
1837
1837
|
}, [
|
|
1838
1838
|
E(o.$slots, "default"),
|
|
1839
1839
|
o.options ? (m(), B(P, { key: 0 }, [
|
|
@@ -1847,26 +1847,26 @@ const et = (i) => {
|
|
|
1847
1847
|
key: 0,
|
|
1848
1848
|
"data-visually-hidden": d(j)(o.selectedType === "tag"),
|
|
1849
1849
|
id: A.value
|
|
1850
|
-
}, L(I.value), 9,
|
|
1851
|
-
o.selectedType === "tag" ? (m(), B("div",
|
|
1852
|
-
(m(!0), B(P, null, be(k.value, (U, ge) => (m(), Z(
|
|
1850
|
+
}, L(I.value), 9, _t)) : q("", !0),
|
|
1851
|
+
o.selectedType === "tag" ? (m(), B("div", Tt, [
|
|
1852
|
+
(m(!0), B(P, null, be(k.value, (U, ge) => (m(), Z(kt, {
|
|
1853
1853
|
key: ge,
|
|
1854
1854
|
emphasis: "strong",
|
|
1855
1855
|
behavior: "removable",
|
|
1856
|
-
removeButton:
|
|
1857
|
-
onRemove: (De) =>
|
|
1856
|
+
removeButton: ba(ge),
|
|
1857
|
+
onRemove: (De) => ya(U, De)
|
|
1858
1858
|
}, {
|
|
1859
1859
|
default: G(() => [
|
|
1860
|
-
|
|
1860
|
+
N(L($e(U)), 1)
|
|
1861
1861
|
]),
|
|
1862
1862
|
_: 2
|
|
1863
1863
|
}, 1032, ["removeButton", "onRemove"]))), 128))
|
|
1864
1864
|
])) : q("", !0)
|
|
1865
|
-
], 8,
|
|
1866
|
-
ae(
|
|
1865
|
+
], 8, Lt),
|
|
1866
|
+
ae(it, { width: o.dropdownWidth }, {
|
|
1867
1867
|
default: G(() => [
|
|
1868
|
-
y.value ? (m(), B("div",
|
|
1869
|
-
ae(
|
|
1868
|
+
y.value ? (m(), B("div", At, [
|
|
1869
|
+
ae(gt, {
|
|
1870
1870
|
type: "search",
|
|
1871
1871
|
ref_key: "searchInputRef",
|
|
1872
1872
|
ref: Pe,
|
|
@@ -1887,32 +1887,32 @@ const et = (i) => {
|
|
|
1887
1887
|
semantic: le.value ? "warning" : "informational"
|
|
1888
1888
|
}, {
|
|
1889
1889
|
default: G(() => [
|
|
1890
|
-
|
|
1890
|
+
N(L((le.value ? o.noResultsText : o.loadingText) ?? d(Aa)), 1)
|
|
1891
1891
|
]),
|
|
1892
1892
|
_: 1
|
|
1893
1893
|
}, 8, ["id", "icon", "semantic"])) : (m(), B(P, { key: 2 }, [
|
|
1894
|
-
W.value ? (m(), B("div",
|
|
1895
|
-
T("div",
|
|
1894
|
+
W.value ? (m(), B("div", Ct, [
|
|
1895
|
+
T("div", Et, [
|
|
1896
1896
|
T("label", null, [
|
|
1897
1897
|
T("input", {
|
|
1898
1898
|
type: "checkbox",
|
|
1899
1899
|
value: "select-all",
|
|
1900
1900
|
ref_key: "selectAllRef",
|
|
1901
|
-
ref:
|
|
1901
|
+
ref: Fe,
|
|
1902
1902
|
form: t.value,
|
|
1903
1903
|
checked: Ve.value,
|
|
1904
|
-
onChange: $[1] || ($[1] = async (U) =>
|
|
1905
|
-
}, null, 40,
|
|
1906
|
-
|
|
1904
|
+
onChange: $[1] || ($[1] = async (U) => Ba(U))
|
|
1905
|
+
}, null, 40, Dt),
|
|
1906
|
+
N(L(ma()), 1)
|
|
1907
1907
|
])
|
|
1908
1908
|
])
|
|
1909
1909
|
])) : q("", !0),
|
|
1910
|
-
ae(
|
|
1910
|
+
ae(rt, {
|
|
1911
1911
|
multiple: d(M)(o.multiple, "multiple"),
|
|
1912
1912
|
label: o.ariaListLabel ?? o.label ?? d(we)
|
|
1913
1913
|
}, {
|
|
1914
1914
|
default: G(() => [
|
|
1915
|
-
(m(!0), B(P, null, be(H.value, (U, ge) => (m(), Z(
|
|
1915
|
+
(m(!0), B(P, null, be(H.value, (U, ge) => (m(), Z(st, {
|
|
1916
1916
|
key: ge,
|
|
1917
1917
|
type: o.multiple ? "checkbox" : "radio",
|
|
1918
1918
|
showDivider: U.showDivider,
|
|
@@ -1920,14 +1920,14 @@ const et = (i) => {
|
|
|
1920
1920
|
isGroupTitle: U.isGroupTitle,
|
|
1921
1921
|
groupTitle: $e(U),
|
|
1922
1922
|
name: t.value,
|
|
1923
|
-
checked:
|
|
1923
|
+
checked: ga(U.value),
|
|
1924
1924
|
disabled: U.disabled,
|
|
1925
1925
|
value: U.value,
|
|
1926
1926
|
onChange: (De) => He(U.value)
|
|
1927
1927
|
}, {
|
|
1928
1928
|
default: G(() => [
|
|
1929
1929
|
U.isGroupTitle ? q("", !0) : (m(), B(P, { key: 0 }, [
|
|
1930
|
-
|
|
1930
|
+
N(L($e(U)), 1)
|
|
1931
1931
|
], 64))
|
|
1932
1932
|
]),
|
|
1933
1933
|
_: 2
|
|
@@ -1947,7 +1947,7 @@ const et = (i) => {
|
|
|
1947
1947
|
onClick: (U) => Ce(void 0, !0)
|
|
1948
1948
|
}, {
|
|
1949
1949
|
default: G(() => [
|
|
1950
|
-
|
|
1950
|
+
N(L(o.mobileCloseButtonText ?? d(Ge)), 1)
|
|
1951
1951
|
]),
|
|
1952
1952
|
_: 1
|
|
1953
1953
|
}, 8, ["name", "form", "onClick"])
|
|
@@ -1956,7 +1956,7 @@ const et = (i) => {
|
|
|
1956
1956
|
_: 1
|
|
1957
1957
|
}, 8, ["width"])
|
|
1958
1958
|
], 64)) : q("", !0)
|
|
1959
|
-
], 40,
|
|
1959
|
+
], 40, $t),
|
|
1960
1960
|
(o.showClearSelection ?? !0) && ((oe = w.value) != null && oe.length) ? (m(), Z(Be, {
|
|
1961
1961
|
key: 0,
|
|
1962
1962
|
icon: "cross",
|
|
@@ -1965,13 +1965,13 @@ const et = (i) => {
|
|
|
1965
1965
|
noText: !0,
|
|
1966
1966
|
name: t.value,
|
|
1967
1967
|
form: t.value,
|
|
1968
|
-
onClick: (U) =>
|
|
1968
|
+
onClick: (U) => Ia(U)
|
|
1969
1969
|
}, {
|
|
1970
1970
|
default: G(() => [
|
|
1971
|
-
|
|
1971
|
+
N(L(o.clearSelectionText), 1),
|
|
1972
1972
|
ae(ra, { placement: "top" }, {
|
|
1973
1973
|
default: G(() => [
|
|
1974
|
-
|
|
1974
|
+
N(L(o.clearSelectionText), 1)
|
|
1975
1975
|
]),
|
|
1976
1976
|
_: 1
|
|
1977
1977
|
})
|
|
@@ -1989,7 +1989,7 @@ const et = (i) => {
|
|
|
1989
1989
|
id: p.value
|
|
1990
1990
|
}, {
|
|
1991
1991
|
default: G(() => [
|
|
1992
|
-
|
|
1992
|
+
N(L(o.message), 1)
|
|
1993
1993
|
]),
|
|
1994
1994
|
_: 1
|
|
1995
1995
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
@@ -2000,7 +2000,7 @@ const et = (i) => {
|
|
|
2000
2000
|
id: u.value
|
|
2001
2001
|
}, {
|
|
2002
2002
|
default: G(() => [
|
|
2003
|
-
|
|
2003
|
+
N(L(o.validMessage || d(he)), 1)
|
|
2004
2004
|
]),
|
|
2005
2005
|
_: 1
|
|
2006
2006
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -2010,15 +2010,15 @@ const et = (i) => {
|
|
|
2010
2010
|
id: g.value
|
|
2011
2011
|
}, {
|
|
2012
2012
|
default: G(() => [
|
|
2013
|
-
|
|
2013
|
+
N(L(r.value), 1)
|
|
2014
2014
|
]),
|
|
2015
2015
|
_: 1
|
|
2016
2016
|
}, 8, ["id"]),
|
|
2017
|
-
T("span",
|
|
2018
|
-
], 10,
|
|
2017
|
+
T("span", Ft, L(b.value), 1)
|
|
2018
|
+
], 10, wt);
|
|
2019
2019
|
};
|
|
2020
2020
|
}
|
|
2021
|
-
}),
|
|
2021
|
+
}), Mt = ["id"], ul = /* @__PURE__ */ V({
|
|
2022
2022
|
__name: "custom-select-form-field",
|
|
2023
2023
|
props: {
|
|
2024
2024
|
children: { default: void 0 },
|
|
@@ -2037,9 +2037,9 @@ const et = (i) => {
|
|
|
2037
2037
|
class: R(d(z)("db-custom-select-form-field", a.class))
|
|
2038
2038
|
}, [
|
|
2039
2039
|
E(e.$slots, "default")
|
|
2040
|
-
], 10,
|
|
2040
|
+
], 10, Mt));
|
|
2041
2041
|
}
|
|
2042
|
-
}),
|
|
2042
|
+
}), Rt = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], rl = /* @__PURE__ */ V({
|
|
2043
2043
|
__name: "divider",
|
|
2044
2044
|
props: {
|
|
2045
2045
|
margin: { default: void 0 },
|
|
@@ -2064,9 +2064,9 @@ const et = (i) => {
|
|
|
2064
2064
|
"data-emphasis": e.emphasis,
|
|
2065
2065
|
"data-width": e.width,
|
|
2066
2066
|
class: R(d(z)("db-divider", a.class))
|
|
2067
|
-
}, null, 10,
|
|
2067
|
+
}, null, 10, Rt));
|
|
2068
2068
|
}
|
|
2069
|
-
}),
|
|
2069
|
+
}), zt = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], qt = ["data-spacing", "data-width", "data-direction", "data-rounded"], Vt = { class: "db-drawer-header" }, Pt = { class: "db-drawer-header-text" }, Ut = { class: "db-drawer-content" }, Gt = /* @__PURE__ */ V({
|
|
2070
2070
|
__name: "drawer",
|
|
2071
2071
|
props: {
|
|
2072
2072
|
backdrop: { default: void 0 },
|
|
@@ -2117,7 +2117,7 @@ const et = (i) => {
|
|
|
2117
2117
|
);
|
|
2118
2118
|
function p(g, r) {
|
|
2119
2119
|
var n;
|
|
2120
|
-
g && (
|
|
2120
|
+
g && (Va(g) ? g.key === "Escape" && (g.preventDefault(), a.onClose && a.onClose(g)) : (r && (g.stopPropagation(), a.onClose && a.onClose(g)), ((n = g.target) == null ? void 0 : n.nodeName) === "DIALOG" && g.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(g)));
|
|
2121
2121
|
}
|
|
2122
2122
|
function u() {
|
|
2123
2123
|
if (e.value) {
|
|
@@ -2149,8 +2149,8 @@ const et = (i) => {
|
|
|
2149
2149
|
"data-direction": g.direction,
|
|
2150
2150
|
"data-rounded": d(j)(g.rounded)
|
|
2151
2151
|
}, [
|
|
2152
|
-
T("header",
|
|
2153
|
-
T("div",
|
|
2152
|
+
T("header", Vt, [
|
|
2153
|
+
T("div", Pt, [
|
|
2154
2154
|
E(g.$slots, "drawer-header")
|
|
2155
2155
|
]),
|
|
2156
2156
|
ae(Be, {
|
|
@@ -2162,18 +2162,18 @@ const et = (i) => {
|
|
|
2162
2162
|
onClick: (n) => p(n, !0)
|
|
2163
2163
|
}, {
|
|
2164
2164
|
default: G(() => [
|
|
2165
|
-
|
|
2165
|
+
N(L(g.closeButtonText ?? d(Ge)), 1)
|
|
2166
2166
|
]),
|
|
2167
2167
|
_: 1
|
|
2168
2168
|
}, 8, ["id", "onClick"])
|
|
2169
2169
|
]),
|
|
2170
|
-
T("div",
|
|
2170
|
+
T("div", Ut, [
|
|
2171
2171
|
E(g.$slots, "default")
|
|
2172
2172
|
])
|
|
2173
|
-
], 10,
|
|
2174
|
-
], 40,
|
|
2173
|
+
], 10, qt)
|
|
2174
|
+
], 40, zt));
|
|
2175
2175
|
}
|
|
2176
|
-
}),
|
|
2176
|
+
}), Wt = (i) => {
|
|
2177
2177
|
var l, e;
|
|
2178
2178
|
const {
|
|
2179
2179
|
target: a
|
|
@@ -2201,7 +2201,7 @@ class Ot {
|
|
|
2201
2201
|
var t;
|
|
2202
2202
|
if (!this.initialized || this.triangleData || !this.element || !this.subNavigation)
|
|
2203
2203
|
return;
|
|
2204
|
-
const a =
|
|
2204
|
+
const a = et(this.subNavigation), l = this.element.getBoundingClientRect(), e = ((t = this.parentSubNavigation) == null ? void 0 : t.getBoundingClientRect().width) ?? 0;
|
|
2205
2205
|
this.triangleData = {
|
|
2206
2206
|
itemRect: l,
|
|
2207
2207
|
parentElementWidth: e,
|
|
@@ -2303,7 +2303,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2303
2303
|
a.onToggle && a.onToggle(n);
|
|
2304
2304
|
}
|
|
2305
2305
|
function g(r) {
|
|
2306
|
-
|
|
2306
|
+
Wt(r) && u();
|
|
2307
2307
|
}
|
|
2308
2308
|
return (r, n) => (m(), B("header", {
|
|
2309
2309
|
ref_key: "_ref",
|
|
@@ -2313,7 +2313,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2313
2313
|
"data-width": r.width,
|
|
2314
2314
|
"data-on-forcing-mobile": r.forceMobile && !t.value
|
|
2315
2315
|
}, [
|
|
2316
|
-
ae(
|
|
2316
|
+
ae(Gt, {
|
|
2317
2317
|
class: "db-header-drawer",
|
|
2318
2318
|
spacing: "small",
|
|
2319
2319
|
rounded: !0,
|
|
@@ -2363,7 +2363,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2363
2363
|
onClick: (f) => u()
|
|
2364
2364
|
}, {
|
|
2365
2365
|
default: G(() => [
|
|
2366
|
-
|
|
2366
|
+
N(L(r.burgerMenuLabel ?? d(Da)), 1)
|
|
2367
2367
|
]),
|
|
2368
2368
|
_: 1
|
|
2369
2369
|
}, 8, ["id", "onClick"])
|
|
@@ -2402,7 +2402,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2402
2402
|
"data-icon-variant": e.variant
|
|
2403
2403
|
}, [
|
|
2404
2404
|
e.text ? (m(), B(P, { key: 0 }, [
|
|
2405
|
-
|
|
2405
|
+
N(L(e.text), 1)
|
|
2406
2406
|
], 64)) : E(e.$slots, "default", { key: 1 })
|
|
2407
2407
|
], 10, li));
|
|
2408
2408
|
}
|
|
@@ -2459,7 +2459,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2459
2459
|
onClick: p[0] || (p[0] = async (u) => e(u))
|
|
2460
2460
|
}, [
|
|
2461
2461
|
t.text ? (m(), B(P, { key: 0 }, [
|
|
2462
|
-
|
|
2462
|
+
N(L(t.text), 1)
|
|
2463
2463
|
], 64)) : E(t.$slots, "default", { key: 1 })
|
|
2464
2464
|
], 10, oi));
|
|
2465
2465
|
}
|
|
@@ -2490,7 +2490,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2490
2490
|
])
|
|
2491
2491
|
], 10, di));
|
|
2492
2492
|
}
|
|
2493
|
-
}), ni = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "data-wrap", "aria-disabled"], si = ["aria-haspopup", "aria-expanded", "disabled"], ui = ["data-
|
|
2493
|
+
}), ni = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "data-wrap", "aria-disabled"], si = ["aria-haspopup", "aria-expanded", "disabled"], ui = ["data-force-close", "id"], ri = {
|
|
2494
2494
|
key: 0,
|
|
2495
2495
|
class: "db-mobile-navigation-back"
|
|
2496
2496
|
}, hl = /* @__PURE__ */ V({
|
|
@@ -2551,9 +2551,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2551
2551
|
}
|
|
2552
2552
|
);
|
|
2553
2553
|
function f(h) {
|
|
2554
|
-
|
|
2554
|
+
var v;
|
|
2555
|
+
((v = h == null ? void 0 : h.target) == null ? void 0 : v.nodeName) === "A" && (u.value = !0, x(() => {
|
|
2555
2556
|
u.value = !1;
|
|
2556
|
-
},
|
|
2557
|
+
}, 1e3));
|
|
2557
2558
|
}
|
|
2558
2559
|
function _(h) {
|
|
2559
2560
|
a.onClick && (h.stopPropagation(), a.onClick(h)), e.value && (p.value = !0);
|
|
@@ -2587,7 +2588,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2587
2588
|
}, [
|
|
2588
2589
|
t.value ? q("", !0) : (m(), B(P, { key: 0 }, [
|
|
2589
2590
|
h.text ? (m(), B(P, { key: 0 }, [
|
|
2590
|
-
|
|
2591
|
+
N(L(h.text), 1)
|
|
2591
2592
|
], 64)) : E(h.$slots, "default", { key: 1 })
|
|
2592
2593
|
], 64)),
|
|
2593
2594
|
t.value ? (m(), B(P, { key: 1 }, [
|
|
@@ -2599,12 +2600,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2599
2600
|
onClick: v[0] || (v[0] = async (c) => _(c))
|
|
2600
2601
|
}, [
|
|
2601
2602
|
h.text ? (m(), B(P, { key: 0 }, [
|
|
2602
|
-
|
|
2603
|
+
N(L(h.text), 1)
|
|
2603
2604
|
], 64)) : E(h.$slots, "default", { key: 1 })
|
|
2604
2605
|
], 8, si),
|
|
2605
2606
|
T("menu", {
|
|
2606
2607
|
class: "db-sub-navigation",
|
|
2607
|
-
"data-
|
|
2608
|
+
"data-force-close": u.value,
|
|
2608
2609
|
id: g.value,
|
|
2609
2610
|
onClick: v[1] || (v[1] = async (c) => f(c))
|
|
2610
2611
|
}, [
|
|
@@ -2616,7 +2617,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2616
2617
|
onClick: (c) => S(c)
|
|
2617
2618
|
}, {
|
|
2618
2619
|
default: G(() => [
|
|
2619
|
-
|
|
2620
|
+
N(L(h.backButtonText ?? d(Ca)), 1)
|
|
2620
2621
|
]),
|
|
2621
2622
|
_: 1
|
|
2622
2623
|
}, 8, ["id", "onClick"])
|
|
@@ -2678,7 +2679,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2678
2679
|
d(ee)(t.headline, t.showHeadline) ? (m(), B("header", vi, L(t.headline), 1)) : q("", !0),
|
|
2679
2680
|
T("p", null, [
|
|
2680
2681
|
t.text ? (m(), B(P, { key: 0 }, [
|
|
2681
|
-
|
|
2682
|
+
N(L(t.text), 1)
|
|
2682
2683
|
], 64)) : E(t.$slots, "default", { key: 1 })
|
|
2683
2684
|
]),
|
|
2684
2685
|
d(ee)(t.timestamp, t.showTimestamp) ? (m(), B("span", fi, L(t.timestamp), 1)) : q("", !0),
|
|
@@ -2693,7 +2694,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2693
2694
|
onClick: (u) => e(u)
|
|
2694
2695
|
}, {
|
|
2695
2696
|
default: G(() => [
|
|
2696
|
-
|
|
2697
|
+
N(L(t.closeButtonText ?? d(Ge)), 1)
|
|
2697
2698
|
]),
|
|
2698
2699
|
_: 1
|
|
2699
2700
|
}, 8, ["id", "onClick"])) : q("", !0)
|
|
@@ -2721,7 +2722,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2721
2722
|
l.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
|
|
2722
2723
|
l.value = !0;
|
|
2723
2724
|
}) : l.value = !0;
|
|
2724
|
-
}),
|
|
2725
|
+
}), Ta(() => {
|
|
2725
2726
|
typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
|
|
2726
2727
|
}), (t, p) => (m(), B("div", {
|
|
2727
2728
|
ref_key: "_ref",
|
|
@@ -2946,7 +2947,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
2946
2947
|
onFocus: _[2] || (_[2] = async (S) => n(S))
|
|
2947
2948
|
}, null, 40, bi),
|
|
2948
2949
|
f.label ? (m(), B(P, { key: 0 }, [
|
|
2949
|
-
|
|
2950
|
+
N(L(f.label), 1)
|
|
2950
2951
|
], 64)) : E(f.$slots, "default", { key: 1 })
|
|
2951
2952
|
], 10, gi));
|
|
2952
2953
|
}
|
|
@@ -3119,7 +3120,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3119
3120
|
"aria-describedby": w.ariaDescribedBy ?? f.value
|
|
3120
3121
|
}, [
|
|
3121
3122
|
H[5] || (H[5] = T("option", { hidden: !0 }, null, -1)),
|
|
3122
|
-
(le = w.options) != null && le.length ? (m(!0), B(P, { key: 0 }, be(w.options, (J,
|
|
3123
|
+
(le = w.options) != null && le.length ? (m(!0), B(P, { key: 0 }, be(w.options, (J, Ne) => (m(), B(P, { key: Ne }, [
|
|
3123
3124
|
J.options ? (m(), B("optgroup", {
|
|
3124
3125
|
key: 0,
|
|
3125
3126
|
label: O(J)
|
|
@@ -3146,7 +3147,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3146
3147
|
id: p.value
|
|
3147
3148
|
}, {
|
|
3148
3149
|
default: G(() => [
|
|
3149
|
-
|
|
3150
|
+
N(L(w.message), 1)
|
|
3150
3151
|
]),
|
|
3151
3152
|
_: 1
|
|
3152
3153
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
@@ -3157,7 +3158,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3157
3158
|
id: u.value
|
|
3158
3159
|
}, {
|
|
3159
3160
|
default: G(() => [
|
|
3160
|
-
|
|
3161
|
+
N(L(w.validMessage || d(he)), 1)
|
|
3161
3162
|
]),
|
|
3162
3163
|
_: 1
|
|
3163
3164
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -3167,7 +3168,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3167
3168
|
id: g.value
|
|
3168
3169
|
}, {
|
|
3169
3170
|
default: G(() => [
|
|
3170
|
-
|
|
3171
|
+
N(L(r.value), 1)
|
|
3171
3172
|
]),
|
|
3172
3173
|
_: 1
|
|
3173
3174
|
}, 8, ["id"]),
|
|
@@ -3285,11 +3286,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3285
3286
|
onFocus: f[2] || (f[2] = async (_) => r(_))
|
|
3286
3287
|
}, null, 40, Ci),
|
|
3287
3288
|
n.label ? (m(), B(P, { key: 0 }, [
|
|
3288
|
-
|
|
3289
|
+
N(L(n.label), 1)
|
|
3289
3290
|
], 64)) : E(n.$slots, "default", { key: 1 })
|
|
3290
3291
|
], 10, Ai));
|
|
3291
3292
|
}
|
|
3292
|
-
}), Ei = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Di = ["disabled", "aria-selected", "aria-controls", "checked", "name", "id"],
|
|
3293
|
+
}), Ei = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Di = ["disabled", "aria-selected", "aria-controls", "checked", "name", "id"], Ni = /* @__PURE__ */ V({
|
|
3293
3294
|
__name: "tab-item",
|
|
3294
3295
|
props: {
|
|
3295
3296
|
children: { default: void 0 },
|
|
@@ -3365,13 +3366,13 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3365
3366
|
onInput: f[0] || (f[0] = async (_) => r(_))
|
|
3366
3367
|
}, null, 40, Di),
|
|
3367
3368
|
n.label ? (m(), B(P, { key: 0 }, [
|
|
3368
|
-
|
|
3369
|
+
N(L(n.label), 1)
|
|
3369
3370
|
], 64)) : q("", !0),
|
|
3370
3371
|
E(n.$slots, "default")
|
|
3371
3372
|
], 8, Ei)
|
|
3372
3373
|
], 2));
|
|
3373
3374
|
}
|
|
3374
|
-
}),
|
|
3375
|
+
}), Fi = ["id"], Mi = { role: "tablist" }, Ri = /* @__PURE__ */ V({
|
|
3375
3376
|
__name: "tab-list",
|
|
3376
3377
|
props: {
|
|
3377
3378
|
children: { default: void 0 },
|
|
@@ -3394,7 +3395,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3394
3395
|
T("ul", Mi, [
|
|
3395
3396
|
E(t.$slots, "default")
|
|
3396
3397
|
])
|
|
3397
|
-
], 10,
|
|
3398
|
+
], 10, Fi));
|
|
3398
3399
|
}
|
|
3399
3400
|
}), zi = ["id", "aria-labelledby"], qi = /* @__PURE__ */ V({
|
|
3400
3401
|
__name: "tab-panel",
|
|
@@ -3420,7 +3421,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3420
3421
|
"aria-labelledby": e.labelledBy
|
|
3421
3422
|
}, [
|
|
3422
3423
|
e.content ? (m(), B(P, { key: 0 }, [
|
|
3423
|
-
|
|
3424
|
+
N(L(e.content), 1)
|
|
3424
3425
|
], 64)) : q("", !0),
|
|
3425
3426
|
E(e.$slots, "default")
|
|
3426
3427
|
], 10, zi));
|
|
@@ -3576,7 +3577,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3576
3577
|
onClick: (A) => _(!0)
|
|
3577
3578
|
}, {
|
|
3578
3579
|
default: G(() => I[1] || (I[1] = [
|
|
3579
|
-
|
|
3580
|
+
N(" Scroll left ")
|
|
3580
3581
|
])),
|
|
3581
3582
|
_: 1,
|
|
3582
3583
|
__: [1]
|
|
@@ -3584,7 +3585,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3584
3585
|
c.tabs ? (m(), B(P, { key: 1 }, [
|
|
3585
3586
|
ae(Ri, null, {
|
|
3586
3587
|
default: G(() => [
|
|
3587
|
-
(m(!0), B(P, null, be(n(), (A, b) => (m(), Z(
|
|
3588
|
+
(m(!0), B(P, null, be(n(), (A, b) => (m(), Z(Ni, {
|
|
3588
3589
|
key: c.name + "tab-item" + b,
|
|
3589
3590
|
active: A.active,
|
|
3590
3591
|
label: A.label,
|
|
@@ -3600,7 +3601,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3600
3601
|
content: A.content
|
|
3601
3602
|
}, {
|
|
3602
3603
|
default: G(() => [
|
|
3603
|
-
|
|
3604
|
+
N(L(A.children), 1)
|
|
3604
3605
|
]),
|
|
3605
3606
|
_: 2
|
|
3606
3607
|
}, 1032, ["content"]))), 128))
|
|
@@ -3615,7 +3616,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3615
3616
|
onClick: (A) => _()
|
|
3616
3617
|
}, {
|
|
3617
3618
|
default: G(() => I[2] || (I[2] = [
|
|
3618
|
-
|
|
3619
|
+
N(" Scroll right ")
|
|
3619
3620
|
])),
|
|
3620
3621
|
_: 1,
|
|
3621
3622
|
__: [2]
|
|
@@ -3765,7 +3766,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3765
3766
|
value: k.value ?? f.value,
|
|
3766
3767
|
"aria-describedby": k.ariaDescribedBy ?? n.value,
|
|
3767
3768
|
placeholder: k.placeholder ?? d(aa),
|
|
3768
|
-
rows: d(Se)(k.rows, d(
|
|
3769
|
+
rows: d(Se)(k.rows, d(Fa)),
|
|
3769
3770
|
cols: d(Se)(k.cols)
|
|
3770
3771
|
}, null, 40, Gi),
|
|
3771
3772
|
d(ee)(k.message, k.showMessage) ? (m(), Z(te, {
|
|
@@ -3775,7 +3776,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3775
3776
|
id: p.value
|
|
3776
3777
|
}, {
|
|
3777
3778
|
default: G(() => [
|
|
3778
|
-
|
|
3779
|
+
N(L(k.message), 1)
|
|
3779
3780
|
]),
|
|
3780
3781
|
_: 1
|
|
3781
3782
|
}, 8, ["icon", "id"])) : q("", !0),
|
|
@@ -3786,7 +3787,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3786
3787
|
id: u.value
|
|
3787
3788
|
}, {
|
|
3788
3789
|
default: G(() => [
|
|
3789
|
-
|
|
3790
|
+
N(L(k.validMessage || d(he)), 1)
|
|
3790
3791
|
]),
|
|
3791
3792
|
_: 1
|
|
3792
3793
|
}, 8, ["id"])) : q("", !0),
|
|
@@ -3796,14 +3797,14 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
|
|
|
3796
3797
|
id: g.value
|
|
3797
3798
|
}, {
|
|
3798
3799
|
default: G(() => [
|
|
3799
|
-
|
|
3800
|
+
N(L(r.value), 1)
|
|
3800
3801
|
]),
|
|
3801
3802
|
_: 1
|
|
3802
3803
|
}, 8, ["id"]),
|
|
3803
3804
|
T("span", Wi, L(_.value), 1)
|
|
3804
3805
|
], 10, Pi));
|
|
3805
3806
|
}
|
|
3806
|
-
}), Ll = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], _l = ["medium", "small", "large", "none"], Tl = ["medium", "small", "large", "none"], Oi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Hi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], Al = [...Oi, ...Hi], Cl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], El = ["horizontal", "vertical"], Dl = ["full", "auto"],
|
|
3807
|
+
}), Ll = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], _l = ["medium", "small", "large", "none"], Tl = ["medium", "small", "large", "none"], Oi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Hi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], Al = [...Oi, ...Hi], Cl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], El = ["horizontal", "vertical"], Dl = ["full", "auto"], Nl = ["full", "medium", "large", "small"], Fl = ["none", "slow", "fast"], Ml = ["auto", "fixed"], Rl = ["small", "medium"], zl = ["weak", "strong"], ql = ["invalid", "valid", "no-validation"], Vl = ["fixed", "content"], Pl = ["above", "floating"], Ul = ["off", "on", "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "email", "username", "new-password", "current-password", "one-time-code", "organization-title", "organization", "street-address", "shipping", "billing", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-extension", "impp", "url", "photo", "webauthn"], Gl = ["time", "true", "false", "date", "page", "step", "location"], Wl = ["_self", "_blank", "_parent", "_top"], Ol = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], Hl = ["start", "center"];
|
|
3807
3808
|
export {
|
|
3808
3809
|
Hl as AlignmentList,
|
|
3809
3810
|
Ul as AutoCompleteList,
|
|
@@ -3813,23 +3814,23 @@ export {
|
|
|
3813
3814
|
Ji as COLOR_CONST,
|
|
3814
3815
|
la as COLOR_SIMPLE,
|
|
3815
3816
|
il as DBAccordion,
|
|
3816
|
-
|
|
3817
|
+
Ga as DBAccordionItem,
|
|
3817
3818
|
ll as DBBadge,
|
|
3818
3819
|
ol as DBBrand,
|
|
3819
3820
|
Be as DBButton,
|
|
3820
3821
|
dl as DBCard,
|
|
3821
3822
|
nl as DBCheckbox,
|
|
3822
3823
|
sl as DBCustomSelect,
|
|
3823
|
-
|
|
3824
|
+
it as DBCustomSelectDropdown,
|
|
3824
3825
|
ul as DBCustomSelectFormField,
|
|
3825
|
-
|
|
3826
|
-
|
|
3826
|
+
rt as DBCustomSelectList,
|
|
3827
|
+
st as DBCustomSelectListItem,
|
|
3827
3828
|
rl as DBDivider,
|
|
3828
|
-
|
|
3829
|
+
Gt as DBDrawer,
|
|
3829
3830
|
cl as DBHeader,
|
|
3830
3831
|
vl as DBIcon,
|
|
3831
3832
|
te as DBInfotext,
|
|
3832
|
-
|
|
3833
|
+
gt as DBInput,
|
|
3833
3834
|
fl as DBLink,
|
|
3834
3835
|
pl as DBNavigation,
|
|
3835
3836
|
hl as DBNavigationItem,
|
|
@@ -3841,15 +3842,15 @@ export {
|
|
|
3841
3842
|
wl as DBSelect,
|
|
3842
3843
|
Sl as DBStack,
|
|
3843
3844
|
Bl as DBSwitch,
|
|
3844
|
-
|
|
3845
|
+
Ni as DBTabItem,
|
|
3845
3846
|
Ri as DBTabList,
|
|
3846
3847
|
qi as DBTabPanel,
|
|
3847
3848
|
Il as DBTabs,
|
|
3848
|
-
|
|
3849
|
+
kt as DBTag,
|
|
3849
3850
|
$l as DBTextarea,
|
|
3850
3851
|
ra as DBTooltip,
|
|
3851
|
-
|
|
3852
|
-
|
|
3852
|
+
Ca as DEFAULT_BACK,
|
|
3853
|
+
Da as DEFAULT_BURGER_MENU,
|
|
3853
3854
|
Ge as DEFAULT_CLOSE_BUTTON,
|
|
3854
3855
|
Ze as DEFAULT_DATALIST_ID_SUFFIX,
|
|
3855
3856
|
Na as DEFAULT_ICON,
|
|
@@ -3858,21 +3859,21 @@ export {
|
|
|
3858
3859
|
pe as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
|
|
3859
3860
|
we as DEFAULT_LABEL,
|
|
3860
3861
|
Je as DEFAULT_LABEL_ID_SUFFIX,
|
|
3861
|
-
|
|
3862
|
+
Aa as DEFAULT_MESSAGE,
|
|
3862
3863
|
ve as DEFAULT_MESSAGE_ID_SUFFIX,
|
|
3863
3864
|
aa as DEFAULT_PLACEHOLDER,
|
|
3864
3865
|
Re as DEFAULT_PLACEHOLDER_ID_SUFFIX,
|
|
3865
3866
|
ta as DEFAULT_REMOVE,
|
|
3866
|
-
|
|
3867
|
-
|
|
3867
|
+
Fa as DEFAULT_ROWS,
|
|
3868
|
+
Ea as DEFAULT_SELECTED,
|
|
3868
3869
|
Qe as DEFAULT_SELECT_ID_SUFFIX,
|
|
3869
3870
|
he as DEFAULT_VALID_MESSAGE,
|
|
3870
3871
|
fe as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
|
|
3871
|
-
|
|
3872
|
+
Ma as DEFAULT_VIEWPORT,
|
|
3872
3873
|
Qi as DENSITIES,
|
|
3873
3874
|
ia as DENSITY,
|
|
3874
3875
|
Ki as DENSITY_CONST,
|
|
3875
|
-
|
|
3876
|
+
Ra as DESKTOP_VIEWPORT,
|
|
3876
3877
|
zl as EmphasisList,
|
|
3877
3878
|
Vl as FieldSizingList,
|
|
3878
3879
|
Cl as GapSpacingList,
|
|
@@ -3881,13 +3882,13 @@ export {
|
|
|
3881
3882
|
Ol as LinkReferrerPolicyList,
|
|
3882
3883
|
Wl as LinkTargetList,
|
|
3883
3884
|
Tl as MarginList,
|
|
3884
|
-
|
|
3885
|
+
Nl as MaxWidthList,
|
|
3885
3886
|
Ot as NavigationItemSafeTriangle,
|
|
3886
3887
|
El as OrientationList,
|
|
3887
3888
|
Oi as PlacementHorizontalList,
|
|
3888
3889
|
Al as PlacementList,
|
|
3889
3890
|
Hi as PlacementVerticalList,
|
|
3890
|
-
|
|
3891
|
+
Fl as PopoverDelayList,
|
|
3891
3892
|
Ml as PopoverWidthList,
|
|
3892
3893
|
da as SEMANTIC,
|
|
3893
3894
|
el as SEMANTICS,
|
|
@@ -3908,9 +3909,9 @@ export {
|
|
|
3908
3909
|
tl as getOptionKey,
|
|
3909
3910
|
ea as getSearchInput,
|
|
3910
3911
|
me as hasVoiceOver,
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3912
|
+
za as isArrayOfStrings,
|
|
3913
|
+
Wt as isEventTargetNavigationItem,
|
|
3914
|
+
Va as isKeyboardEvent,
|
|
3914
3915
|
ee as stringPropVisible,
|
|
3915
3916
|
Q as uuid
|
|
3916
3917
|
};
|