@db-ux/v-core-components 4.13.1-angular-signal-forms6-a1510bb → 4.13.1-angular-signal-forms10-4a8c8e1
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/table/table.vue.d.ts +1 -0
- package/dist/components/table-body/table-body.vue.d.ts +1 -0
- package/dist/components/table-caption/table-caption.vue.d.ts +1 -0
- package/dist/components/table-data-cell/table-data-cell.vue.d.ts +1 -0
- package/dist/components/table-footer/table-footer.vue.d.ts +1 -0
- package/dist/components/table-head/table-head.vue.d.ts +1 -0
- package/dist/components/table-header-cell/table-header-cell.vue.d.ts +1 -0
- package/dist/components/table-row/table-row.vue.d.ts +1 -0
- package/dist/db-ux.es.js +450 -444
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/constants.d.ts +38 -38
- package/dist/shared/figma.d.ts +11 -4
- package/dist/utils/index.d.ts +1 -0
- package/package.json +6 -6
package/dist/db-ux.es.js
CHANGED
|
@@ -35,7 +35,13 @@ var x = () => {
|
|
|
35
35
|
if (e != null) return e === "any" ? "any" : Number(e);
|
|
36
36
|
}, N = (e, t) => t && ["number", "range"].includes(t) ? j(e) : e, P = (e) => typeof e == "string" ? e !== "false" : e, F = (e) => {
|
|
37
37
|
if (e != null) return k(!P(e), "show");
|
|
38
|
-
}, I = (e, t) => (t === void 0 || P(t)) && !!e, L = (e) => e.querySelector("input[type=\"search\"]"), R =
|
|
38
|
+
}, I = (e, t) => (t === void 0 || P(t)) && !!e, L = (e) => e.querySelector("input[type=\"search\"]"), R = /* @__PURE__ */ new WeakMap(), z = (e, t) => {
|
|
39
|
+
if (e.id) return `${t}${e.id}`;
|
|
40
|
+
let n = e.value !== void 0 && e.value !== "" ? String(e.value) : "", r = e.label ?? "";
|
|
41
|
+
if (n || r) return `${t}${n.length}:${n}.${r}`;
|
|
42
|
+
let i = R.get(e);
|
|
43
|
+
return i || (i = x(), R.set(e, i)), `${t}${i}`;
|
|
44
|
+
}, B = (e) => e.key !== void 0, V = ({ semantic: e, role: t, ariaLive: n }) => {
|
|
39
45
|
if (t) return t;
|
|
40
46
|
if (n) return "article";
|
|
41
47
|
switch (e) {
|
|
@@ -45,7 +51,7 @@ var x = () => {
|
|
|
45
51
|
case "successful": return "status";
|
|
46
52
|
default: return "article";
|
|
47
53
|
}
|
|
48
|
-
},
|
|
54
|
+
}, H = ["id"], ee = [
|
|
49
55
|
"aria-disabled",
|
|
50
56
|
"name",
|
|
51
57
|
"open"
|
|
@@ -116,9 +122,9 @@ var x = () => {
|
|
|
116
122
|
ref: m,
|
|
117
123
|
name: l.value,
|
|
118
124
|
open: s.value
|
|
119
|
-
}, [i("summary", { onClick: d[0] ||= async (e) => v(e) }, [t.headlinePlain ? (f(), r(e, { key: 0 }, [a(g(t.headlinePlain), 1)], 64)) : n("", !0), t.headlinePlain ? n("", !0) : h(u.$slots, "headline", { key: 1 })]), i("div", null, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(u.$slots, "default")])], 8,
|
|
125
|
+
}, [i("summary", { onClick: d[0] ||= async (e) => v(e) }, [t.headlinePlain ? (f(), r(e, { key: 0 }, [a(g(t.headlinePlain), 1)], 64)) : n("", !0), t.headlinePlain ? n("", !0) : h(u.$slots, "headline", { key: 1 })]), i("div", null, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(u.$slots, "default")])], 8, ee)], 10, H));
|
|
120
126
|
}
|
|
121
|
-
}),
|
|
127
|
+
}), te = ["id", "data-variant"], W = /* @__PURE__ */ s({
|
|
122
128
|
name: "DBAccordion",
|
|
123
129
|
__name: "accordion",
|
|
124
130
|
props: {
|
|
@@ -200,26 +206,26 @@ var x = () => {
|
|
|
200
206
|
"headlinePlain",
|
|
201
207
|
"disabled",
|
|
202
208
|
"text"
|
|
203
|
-
]))), 128)) : n("", !0)], 10,
|
|
209
|
+
]))), 128)) : n("", !0)], 10, te));
|
|
204
210
|
}
|
|
205
|
-
}),
|
|
211
|
+
}), ne = ["divider", "card"], re = ["multiple", "single"], G = "OVERWRITE_DEFAULT_ID", ie = "LABEL SHOULD BE SET", ae = " ", K = "MESSAGE SHOULD BE SET", oe = "-label", se = "-select", q = "-message", J = "-valid-message", ce = "-invalid-message", le = "-placeholder", Y = "-datalist", ue = "TODO: Add a validMessage", de = "TODO: Add an invalidMessage", fe = "Remove", pe = "Back", me = "Selected", he = "BurgerMenu", ge = "brand", _e = 4, ve = "Close", ye = "density", be = "color", xe = /* @__PURE__ */ function(e) {
|
|
206
212
|
return e.FUNCTIONAL = "functional", e.REGULAR = "regular", e.EXPRESSIVE = "expressive", e;
|
|
207
|
-
}({}),
|
|
213
|
+
}({}), X = Object.entries(xe).map(([, e]) => e), Z = /* @__PURE__ */ function(e) {
|
|
208
214
|
return e.PRIMARY = "primary", e;
|
|
209
|
-
}({}),
|
|
215
|
+
}({}), Se = /* @__PURE__ */ function(e) {
|
|
210
216
|
return e.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", e.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", e.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", e.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", e.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", e.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", e.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", e.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", e.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", e.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", e.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", e.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", e.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", e.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", e.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", e.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", e.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", e.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", e.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", e.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", e.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", e.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", e.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", e.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", e.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", e.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", e.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", e.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", e.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", e.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", e;
|
|
211
|
-
}({}),
|
|
217
|
+
}({}), Ce = Object.entries(Se).map(([, e]) => e), we = Object.entries(Z).map(([, e]) => e), Te = /* @__PURE__ */ function(e) {
|
|
212
218
|
return e.CRITICAL = "critical", e.INFORMATIONAL = "informational", e.WARNING = "warning", e.SUCCESSFUL = "successful", e;
|
|
213
|
-
}({}),
|
|
219
|
+
}({}), Ee = Object.entries(Te).map(([, e]) => e), De = {
|
|
214
220
|
width: 390,
|
|
215
221
|
height: 884
|
|
216
|
-
},
|
|
222
|
+
}, Oe = {
|
|
217
223
|
width: 1920,
|
|
218
224
|
height: 1280
|
|
219
|
-
},
|
|
225
|
+
}, ke = [
|
|
220
226
|
{
|
|
221
227
|
name: "desktop",
|
|
222
|
-
...
|
|
228
|
+
...Oe
|
|
223
229
|
},
|
|
224
230
|
{
|
|
225
231
|
name: "tablet",
|
|
@@ -228,9 +234,9 @@ var x = () => {
|
|
|
228
234
|
},
|
|
229
235
|
{
|
|
230
236
|
name: "mobile",
|
|
231
|
-
...
|
|
237
|
+
...De
|
|
232
238
|
}
|
|
233
|
-
],
|
|
239
|
+
], Ae = "db-ux-framework", je = "db-ux-mode", Me = [
|
|
234
240
|
"id",
|
|
235
241
|
"data-semantic",
|
|
236
242
|
"data-size",
|
|
@@ -238,7 +244,7 @@ var x = () => {
|
|
|
238
244
|
"data-placement",
|
|
239
245
|
"data-wrap",
|
|
240
246
|
"data-label"
|
|
241
|
-
],
|
|
247
|
+
], Ne = /* @__PURE__ */ s({
|
|
242
248
|
name: "DBBadge",
|
|
243
249
|
__name: "badge",
|
|
244
250
|
props: {
|
|
@@ -282,9 +288,9 @@ var x = () => {
|
|
|
282
288
|
"data-placement": t.placement,
|
|
283
289
|
"data-wrap": _(k)(t.wrap, "wrap"),
|
|
284
290
|
"data-label": t.placement?.startsWith("corner") && (t.label ?? _("LABEL SHOULD BE SET"))
|
|
285
|
-
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(o.$slots, "default")], 10,
|
|
291
|
+
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(o.$slots, "default")], 10, Me));
|
|
286
292
|
}
|
|
287
|
-
}),
|
|
293
|
+
}), Pe = [
|
|
288
294
|
"inline",
|
|
289
295
|
"corner-top-left",
|
|
290
296
|
"corner-top-right",
|
|
@@ -292,11 +298,11 @@ var x = () => {
|
|
|
292
298
|
"corner-center-right",
|
|
293
299
|
"corner-bottom-left",
|
|
294
300
|
"corner-bottom-right"
|
|
295
|
-
],
|
|
301
|
+
], Fe = [
|
|
296
302
|
"data-icon",
|
|
297
303
|
"data-show-icon",
|
|
298
304
|
"id"
|
|
299
|
-
],
|
|
305
|
+
], Ie = /* @__PURE__ */ s({
|
|
300
306
|
name: "DBBrand",
|
|
301
307
|
__name: "brand",
|
|
302
308
|
props: {
|
|
@@ -326,9 +332,9 @@ var x = () => {
|
|
|
326
332
|
"data-show-icon": _(k)(t.showIcon, "showIcon"),
|
|
327
333
|
id: t.id ?? t.propOverrides?.id,
|
|
328
334
|
class: c(_(C)("db-brand", i.class))
|
|
329
|
-
}, [h(s.$slots, "default"), t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0)], 10,
|
|
335
|
+
}, [h(s.$slots, "default"), t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0)], 10, Fe));
|
|
330
336
|
}
|
|
331
|
-
}),
|
|
337
|
+
}), Le = [
|
|
332
338
|
"id",
|
|
333
339
|
"type",
|
|
334
340
|
"disabled",
|
|
@@ -346,7 +352,7 @@ var x = () => {
|
|
|
346
352
|
"value",
|
|
347
353
|
"command",
|
|
348
354
|
"commandfor"
|
|
349
|
-
],
|
|
355
|
+
], Re = /* @__PURE__ */ s({
|
|
350
356
|
name: "DBButton",
|
|
351
357
|
__name: "button",
|
|
352
358
|
props: {
|
|
@@ -429,23 +435,23 @@ var x = () => {
|
|
|
429
435
|
command: t.command,
|
|
430
436
|
commandfor: t.commandfor,
|
|
431
437
|
onClick: d[0] ||= async (e) => l(e)
|
|
432
|
-
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(u.$slots, "default")], 10,
|
|
438
|
+
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(u.$slots, "default")], 10, Le));
|
|
433
439
|
}
|
|
434
|
-
}),
|
|
440
|
+
}), ze = [
|
|
435
441
|
"outlined",
|
|
436
442
|
"brand",
|
|
437
443
|
"filled",
|
|
438
444
|
"ghost"
|
|
439
|
-
],
|
|
445
|
+
], Be = [
|
|
440
446
|
"button",
|
|
441
447
|
"reset",
|
|
442
448
|
"submit"
|
|
443
|
-
],
|
|
449
|
+
], Ve = [
|
|
444
450
|
"id",
|
|
445
451
|
"data-behavior",
|
|
446
452
|
"data-elevation-level",
|
|
447
453
|
"data-spacing"
|
|
448
|
-
],
|
|
454
|
+
], He = /* @__PURE__ */ s({
|
|
449
455
|
name: "DBCard",
|
|
450
456
|
__name: "card",
|
|
451
457
|
props: {
|
|
@@ -478,20 +484,20 @@ var x = () => {
|
|
|
478
484
|
"data-elevation-level": e.elevationLevel,
|
|
479
485
|
"data-spacing": e.spacing,
|
|
480
486
|
onClick: o[0] ||= async (e) => i(e)
|
|
481
|
-
}, [h(a.$slots, "default")], 10,
|
|
487
|
+
}, [h(a.$slots, "default")], 10, Ve));
|
|
482
488
|
}
|
|
483
|
-
}),
|
|
489
|
+
}), Ue = ["static", "interactive"], We = [
|
|
484
490
|
"1",
|
|
485
491
|
"2",
|
|
486
492
|
"3"
|
|
487
493
|
], Q = (e, t, n = "value") => {
|
|
488
494
|
e(`update:${n}`, t.target[n]);
|
|
489
|
-
},
|
|
495
|
+
}, Ge = (e, t, n) => {
|
|
490
496
|
e.form && !e._dbFormResetListenerAdded && (e.form.addEventListener("reset", (e) => {
|
|
491
497
|
t(e);
|
|
492
498
|
}, { signal: n }), e._dbFormResetListenerAdded = !0);
|
|
493
|
-
},
|
|
494
|
-
|
|
499
|
+
}, Ke = (e, t, n, r) => {
|
|
500
|
+
Ge(e, (r) => {
|
|
495
501
|
O(() => {
|
|
496
502
|
let i = t.checked ? t.checked : t.defaultChecked ? t.defaultChecked : e.checked;
|
|
497
503
|
n({
|
|
@@ -503,8 +509,8 @@ var x = () => {
|
|
|
503
509
|
});
|
|
504
510
|
}, 1);
|
|
505
511
|
}, r);
|
|
506
|
-
},
|
|
507
|
-
|
|
512
|
+
}, qe = (e, t, n, r) => {
|
|
513
|
+
Ge(e, (r) => {
|
|
508
514
|
O(() => {
|
|
509
515
|
let i = t.value ? t.value : t.defaultValue ? t.defaultValue : e.value;
|
|
510
516
|
n({
|
|
@@ -516,7 +522,7 @@ var x = () => {
|
|
|
516
522
|
});
|
|
517
523
|
}, 1);
|
|
518
524
|
}, r);
|
|
519
|
-
},
|
|
525
|
+
}, Je = [
|
|
520
526
|
"id",
|
|
521
527
|
"data-icon",
|
|
522
528
|
"data-semantic",
|
|
@@ -558,13 +564,13 @@ var x = () => {
|
|
|
558
564
|
"data-size": t.size,
|
|
559
565
|
"data-wrap": _(k)(t.wrap, "wrap"),
|
|
560
566
|
"data-show-icon-leading": _(k)(t.showIcon ?? !0, "showIcon")
|
|
561
|
-
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10,
|
|
567
|
+
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, Je));
|
|
562
568
|
}
|
|
563
|
-
}),
|
|
569
|
+
}), Ye = [
|
|
564
570
|
"data-size",
|
|
565
571
|
"data-hide-asterisk",
|
|
566
572
|
"data-hide-label"
|
|
567
|
-
],
|
|
573
|
+
], Xe = ["for"], Ze = [
|
|
568
574
|
"aria-invalid",
|
|
569
575
|
"data-custom-validity",
|
|
570
576
|
"id",
|
|
@@ -574,10 +580,10 @@ var x = () => {
|
|
|
574
580
|
"value",
|
|
575
581
|
"required",
|
|
576
582
|
"aria-describedby"
|
|
577
|
-
],
|
|
583
|
+
], Qe = {
|
|
578
584
|
"data-visually-hidden": "true",
|
|
579
585
|
role: "status"
|
|
580
|
-
},
|
|
586
|
+
}, $e = /* @__PURE__ */ s({
|
|
581
587
|
name: "DBCheckbox",
|
|
582
588
|
__name: "checkbox",
|
|
583
589
|
props: {
|
|
@@ -649,11 +655,11 @@ var x = () => {
|
|
|
649
655
|
setup(s, { emit: l }) {
|
|
650
656
|
let m = v(), x = l, S = s, w = p(!1), T = p(void 0), D = p(void 0), k = p(void 0), j = p(void 0), M = p(void 0), N = p(void 0), P = p(""), L = p(void 0), R = p(null);
|
|
651
657
|
u(() => {
|
|
652
|
-
w.value = !0,
|
|
658
|
+
w.value = !0, U(), M.value = S.invalidMessage || "TODO: Add an invalidMessage";
|
|
653
659
|
}), d(() => {
|
|
654
660
|
L.value?.abort();
|
|
655
661
|
}), y(() => [S.id, S.propOverrides?.id], () => {
|
|
656
|
-
(S.id ?? S.propOverrides?.id) &&
|
|
662
|
+
(S.id ?? S.propOverrides?.id) && U();
|
|
657
663
|
}, {
|
|
658
664
|
immediate: !0,
|
|
659
665
|
flush: "post"
|
|
@@ -665,7 +671,7 @@ var x = () => {
|
|
|
665
671
|
}), y(() => [T.value], () => {
|
|
666
672
|
if (T.value) {
|
|
667
673
|
let e = T.value + q;
|
|
668
|
-
D.value = e, k.value = T.value + J, j.value = T.value +
|
|
674
|
+
D.value = e, k.value = T.value + J, j.value = T.value + ce, I(S.message, S.showMessage) && (N.value = e), B();
|
|
669
675
|
}
|
|
670
676
|
}, {
|
|
671
677
|
immediate: !0,
|
|
@@ -691,7 +697,7 @@ var x = () => {
|
|
|
691
697
|
}), y(() => [R.value], () => {
|
|
692
698
|
if (R.value) {
|
|
693
699
|
let e = L.value;
|
|
694
|
-
e || (e = new AbortController(), L.value = e),
|
|
700
|
+
e || (e = new AbortController(), L.value = e), Ke(R.value, {
|
|
695
701
|
checked: S.checked,
|
|
696
702
|
defaultChecked: void 0
|
|
697
703
|
}, (e) => {
|
|
@@ -714,12 +720,12 @@ var x = () => {
|
|
|
714
720
|
function H(e) {
|
|
715
721
|
S.onBlur && S.onBlur(e);
|
|
716
722
|
}
|
|
717
|
-
function
|
|
723
|
+
function ee(e) {
|
|
718
724
|
S.onFocus && S.onFocus(e);
|
|
719
725
|
}
|
|
720
|
-
function
|
|
726
|
+
function U() {
|
|
721
727
|
let e = S.id ?? S.propOverrides?.id ?? `checkbox-${m}`;
|
|
722
|
-
T.value = e, D.value = e + q, k.value = e + J, j.value = e +
|
|
728
|
+
T.value = e, D.value = e + q, k.value = e + J, j.value = e + ce;
|
|
723
729
|
}
|
|
724
730
|
return (l, u) => (f(), r("div", {
|
|
725
731
|
class: c(_(C)("db-checkbox", S.class)),
|
|
@@ -742,12 +748,12 @@ var x = () => {
|
|
|
742
748
|
required: _(A)(s.required, "required"),
|
|
743
749
|
onChange: u[0] ||= async (e) => V(e),
|
|
744
750
|
onBlur: u[1] ||= async (e) => H(e),
|
|
745
|
-
onFocus: u[2] ||= async (e) =>
|
|
751
|
+
onFocus: u[2] ||= async (e) => ee(e),
|
|
746
752
|
"aria-describedby": s.ariaDescribedBy ?? N.value
|
|
747
|
-
}, null, 40,
|
|
753
|
+
}, null, 40, Ze),
|
|
748
754
|
s.label ? (f(), r(e, { key: 0 }, [a(g(s.label), 1)], 64)) : n("", !0),
|
|
749
755
|
h(l.$slots, "default")
|
|
750
|
-
], 8,
|
|
756
|
+
], 8, Xe),
|
|
751
757
|
_(I)(s.message, s.showMessage) ? (f(), t($, {
|
|
752
758
|
key: 0,
|
|
753
759
|
size: "small",
|
|
@@ -774,10 +780,10 @@ var x = () => {
|
|
|
774
780
|
default: b(() => [a(g(M.value), 1)]),
|
|
775
781
|
_: 1
|
|
776
782
|
}, 8, ["id"]),
|
|
777
|
-
i("span",
|
|
778
|
-
], 10,
|
|
783
|
+
i("span", Qe, g(P.value), 1)
|
|
784
|
+
], 10, Ye));
|
|
779
785
|
}
|
|
780
|
-
}),
|
|
786
|
+
}), et = [
|
|
781
787
|
"id",
|
|
782
788
|
"data-icon",
|
|
783
789
|
"data-show-icon",
|
|
@@ -787,7 +793,7 @@ var x = () => {
|
|
|
787
793
|
"data-width",
|
|
788
794
|
"data-variant",
|
|
789
795
|
"data-no-text"
|
|
790
|
-
],
|
|
796
|
+
], tt = /* @__PURE__ */ s({
|
|
791
797
|
name: "DBCustomButton",
|
|
792
798
|
__name: "custom-button",
|
|
793
799
|
props: {
|
|
@@ -836,9 +842,9 @@ var x = () => {
|
|
|
836
842
|
"data-width": e.width,
|
|
837
843
|
"data-variant": e.variant,
|
|
838
844
|
"data-no-text": _(k)(e.noText, "noText")
|
|
839
|
-
}, [h(i.$slots, "default")], 10,
|
|
845
|
+
}, [h(i.$slots, "default")], 10, et));
|
|
840
846
|
}
|
|
841
|
-
}),
|
|
847
|
+
}), nt = class e {
|
|
842
848
|
static callbacks = {};
|
|
843
849
|
static _instance = null;
|
|
844
850
|
static runCallbacks(t) {
|
|
@@ -855,7 +861,7 @@ var x = () => {
|
|
|
855
861
|
removeCallback(t) {
|
|
856
862
|
delete e.callbacks[t];
|
|
857
863
|
}
|
|
858
|
-
},
|
|
864
|
+
}, rt = class e {
|
|
859
865
|
static callbacks = {};
|
|
860
866
|
static _instance = null;
|
|
861
867
|
static runCallbacks(t) {
|
|
@@ -877,7 +883,7 @@ var x = () => {
|
|
|
877
883
|
removeCallback(t) {
|
|
878
884
|
delete e.callbacks[t];
|
|
879
885
|
}
|
|
880
|
-
},
|
|
886
|
+
}, it = (e) => {
|
|
881
887
|
let { top: t, bottom: n, left: r, right: i } = e.getBoundingClientRect(), { innerHeight: a, innerWidth: o } = window, s = t < 0, c = n > a, l = r < 0, u = i > o, d = e.dataset.outsideVy, f = e.dataset.outsideVx, p = e?.parentElement?.getBoundingClientRect();
|
|
882
888
|
return p && (d && (e.dataset.outsideVy === "top" ? s = p.top - (n - p.bottom) < 0 : c = p.bottom + (p.top - t) > a), f && (e.dataset.outsideVx === "left" ? l = p.left - (i - p.right) < 0 : u = p.right + (p.left - r) > o)), {
|
|
883
889
|
outTop: s,
|
|
@@ -885,17 +891,17 @@ var x = () => {
|
|
|
885
891
|
outLeft: l,
|
|
886
892
|
outRight: u
|
|
887
893
|
};
|
|
888
|
-
},
|
|
889
|
-
let { outTop: t, outBottom: n, outLeft: r, outRight: i } =
|
|
894
|
+
}, at = (e) => {
|
|
895
|
+
let { outTop: t, outBottom: n, outLeft: r, outRight: i } = it(e), a = {};
|
|
890
896
|
return t || n ? (a = { vy: t ? "top" : "bottom" }, e.dataset.outsideVy = a.vy) : delete e.dataset.outsideVy, r || i ? (a = {
|
|
891
897
|
...a,
|
|
892
898
|
vx: i ? "right" : "left"
|
|
893
899
|
}, e.dataset.outsideVx = a.vx) : delete e.dataset.outsideVx, a;
|
|
894
|
-
},
|
|
900
|
+
}, ot = (e, t, n) => {
|
|
895
901
|
if (!e || !t) return;
|
|
896
902
|
let r = e.dataset.width === "full", i = e.dataset.width === "auto";
|
|
897
903
|
if (e.style.inlineSize = "", e.style.minInlineSize = "", getComputedStyle(e).zIndex === "9999") return;
|
|
898
|
-
let { top: a, bottom: o, childHeight: s, childWidth: c, width: l, right: u, left: d, correctedPlacement: f, innerWidth: p } =
|
|
904
|
+
let { top: a, bottom: o, childHeight: s, childWidth: c, width: l, right: u, left: d, correctedPlacement: f, innerWidth: p } = st(e, t, n), m = l;
|
|
899
905
|
if (i) {
|
|
900
906
|
let t = parseFloat(getComputedStyle(e).maxInlineSize);
|
|
901
907
|
!isNaN(t) && t > 0 && (m = Math.min(l, t));
|
|
@@ -905,7 +911,7 @@ var x = () => {
|
|
|
905
911
|
i ? h = Math.max(c, m) : r && (h = l);
|
|
906
912
|
let g = f;
|
|
907
913
|
i && (g === "top" || g === "bottom" || g === "top-start" || g === "bottom-start") && d + h > p && (g = g.startsWith("top") ? "top-end" : "bottom-end"), g === "top" || g === "bottom" || g === "top-start" || g === "bottom-start" ? e.style.insetInlineStart = `${d}px` : (g === "top-end" || g === "bottom-end") && (e.style.insetInlineStart = `${Math.max(u - h, 0)}px`), g?.startsWith("top") ? e.style.insetBlockStart = `${a - s}px` : g?.startsWith("bottom") && (e.style.insetBlockStart = `${o}px`), e.style.position = "fixed";
|
|
908
|
-
},
|
|
914
|
+
}, st = (e, t, n) => {
|
|
909
915
|
if (!e || !t) return {
|
|
910
916
|
top: 0,
|
|
911
917
|
bottom: 0,
|
|
@@ -935,17 +941,17 @@ var x = () => {
|
|
|
935
941
|
innerWidth: d,
|
|
936
942
|
innerHeight: u
|
|
937
943
|
};
|
|
938
|
-
},
|
|
939
|
-
if (
|
|
944
|
+
}, ct = 10, lt = /* @__PURE__ */ new WeakMap(), ut = (e) => {
|
|
945
|
+
if (lt.has(e)) return lt.get(e);
|
|
940
946
|
let t = e.parentElement, n = 0;
|
|
941
|
-
for (; t && n <
|
|
942
|
-
if (t.dataset.correctedPlacement) return
|
|
947
|
+
for (; t && n < ct;) {
|
|
948
|
+
if (t.dataset.correctedPlacement) return lt.set(e, t), t;
|
|
943
949
|
t = t.parentElement, n += 1;
|
|
944
950
|
}
|
|
945
|
-
return
|
|
946
|
-
},
|
|
951
|
+
return lt.set(e, null), null;
|
|
952
|
+
}, dt = (e, t, n) => {
|
|
947
953
|
if (!e || !t) return;
|
|
948
|
-
let r = getComputedStyle(t), i = ["absolute", "fixed"].includes(r.position), a =
|
|
954
|
+
let r = getComputedStyle(t), i = ["absolute", "fixed"].includes(r.position), a = ut(e), o = !a && !i, s = getComputedStyle(e)?.getPropertyValue("--db-popover-distance") ?? "0px", { top: c, height: l, width: u, childHeight: d, childWidth: f, right: p, left: m, bottom: h, correctedPlacement: g, innerWidth: _, innerHeight: v } = st(e, t, n);
|
|
949
955
|
if (a) {
|
|
950
956
|
let e = a.getBoundingClientRect();
|
|
951
957
|
m = Math.abs(m - e.left), p = (u + Math.abs(p - e.right)) * 1.5, c = Math.abs(c - e.top), h = (l + Math.abs(h - e.bottom)) * 1.5;
|
|
@@ -991,7 +997,7 @@ var x = () => {
|
|
|
991
997
|
e.style.insetBlockStart = `calc(${i ? t : h}px + ${s})`, e.style.insetBlockEnd = `calc(${o && t > v ? v : t}px + ${s})`;
|
|
992
998
|
}
|
|
993
999
|
e.style.position = "fixed", e.dataset.correctedPlacement = g;
|
|
994
|
-
},
|
|
1000
|
+
}, ft = ["id", "data-width"], pt = /* @__PURE__ */ s({
|
|
995
1001
|
name: "DBCustomSelectDropdown",
|
|
996
1002
|
__name: "custom-select-dropdown",
|
|
997
1003
|
props: {
|
|
@@ -1012,20 +1018,20 @@ var x = () => {
|
|
|
1012
1018
|
id: e.id ?? e.propOverrides?.id,
|
|
1013
1019
|
class: c(_(C)("db-custom-select-dropdown db-card", t.class)),
|
|
1014
1020
|
"data-width": e.width
|
|
1015
|
-
}, [h(i.$slots, "default")], 10,
|
|
1021
|
+
}, [h(i.$slots, "default")], 10, ft));
|
|
1016
1022
|
}
|
|
1017
|
-
}),
|
|
1023
|
+
}), mt = ["id", "data-divider"], ht = [
|
|
1018
1024
|
"data-icon",
|
|
1019
1025
|
"data-show-icon",
|
|
1020
1026
|
"data-icon-trailing"
|
|
1021
|
-
],
|
|
1027
|
+
], gt = [
|
|
1022
1028
|
"type",
|
|
1023
1029
|
"name",
|
|
1024
1030
|
"form",
|
|
1025
1031
|
"checked",
|
|
1026
1032
|
"disabled",
|
|
1027
1033
|
"value"
|
|
1028
|
-
],
|
|
1034
|
+
], _t = { class: "db-custom-select-list-item-label" }, vt = { key: 1 }, yt = /* @__PURE__ */ s({
|
|
1029
1035
|
name: "DBCustomSelectListItem",
|
|
1030
1036
|
__name: "custom-select-list-item",
|
|
1031
1037
|
props: {
|
|
@@ -1091,7 +1097,7 @@ var x = () => {
|
|
|
1091
1097
|
"db-radio": t.type !== "checkbox" && !t.isGroupTitle
|
|
1092
1098
|
})),
|
|
1093
1099
|
"data-divider": _(k)(u.value, "hasDivider")
|
|
1094
|
-
}, [t.isGroupTitle ? (f(), r("span",
|
|
1100
|
+
}, [t.isGroupTitle ? (f(), r("span", vt, g(t.groupTitle), 1)) : (f(), r("label", {
|
|
1095
1101
|
key: 0,
|
|
1096
1102
|
"data-icon": t.type !== "checkbox" && t.icon ? t.icon : void 0,
|
|
1097
1103
|
"data-show-icon": _(k)(t.showIcon, "showIcon"),
|
|
@@ -1106,13 +1112,13 @@ var x = () => {
|
|
|
1106
1112
|
disabled: _(A)(t.disabled, "disabled"),
|
|
1107
1113
|
value: t.value,
|
|
1108
1114
|
onChange: s[0] ||= async (e) => m(e)
|
|
1109
|
-
}, null, 40,
|
|
1115
|
+
}, null, 40, gt), i("span", _t, [t.label ? (f(), r(e, { key: 0 }, [a(g(t.label), 1)], 64)) : n("", !0), h(o.$slots, "default")])], 8, ht))], 10, mt));
|
|
1110
1116
|
}
|
|
1111
|
-
}),
|
|
1117
|
+
}), bt = [
|
|
1112
1118
|
"role",
|
|
1113
1119
|
"aria-label",
|
|
1114
1120
|
"id"
|
|
1115
|
-
],
|
|
1121
|
+
], xt = /* @__PURE__ */ s({
|
|
1116
1122
|
name: "DBCustomSelectList",
|
|
1117
1123
|
__name: "custom-select-list",
|
|
1118
1124
|
props: {
|
|
@@ -1137,9 +1143,9 @@ var x = () => {
|
|
|
1137
1143
|
ref: n,
|
|
1138
1144
|
id: e.id ?? e.propOverrides?.id,
|
|
1139
1145
|
class: c(_(C)("db-custom-select-list", t.class))
|
|
1140
|
-
}, [i("ul", null, [h(a.$slots, "default")])], 10,
|
|
1146
|
+
}, [i("ul", null, [h(a.$slots, "default")])], 10, bt));
|
|
1141
1147
|
}
|
|
1142
|
-
}),
|
|
1148
|
+
}), St = [
|
|
1143
1149
|
"data-variant",
|
|
1144
1150
|
"data-hide-label",
|
|
1145
1151
|
"data-show-icon",
|
|
@@ -1147,10 +1153,10 @@ var x = () => {
|
|
|
1147
1153
|
"data-icon-trailing",
|
|
1148
1154
|
"data-hide-asterisk",
|
|
1149
1155
|
"data-show-icon-trailing"
|
|
1150
|
-
],
|
|
1156
|
+
], Ct = ["for"], wt = /* @__PURE__ */ "aria-invalid.data-custom-validity.data-field-sizing.id.name.type.multiple.accept.placeholder.disabled.required.step.value.maxLength.minLength.max.min.readOnly.form.pattern.size.autoComplete.autoFocus.enterKeyHint.inputMode.list.aria-describedby.role".split("."), Tt = ["id"], Et = ["value"], Dt = {
|
|
1151
1157
|
"data-visually-hidden": "true",
|
|
1152
1158
|
role: "status"
|
|
1153
|
-
},
|
|
1159
|
+
}, Ot = /* @__PURE__ */ s({
|
|
1154
1160
|
name: "DBInput",
|
|
1155
1161
|
__name: "input",
|
|
1156
1162
|
props: {
|
|
@@ -1268,64 +1274,64 @@ var x = () => {
|
|
|
1268
1274
|
},
|
|
1269
1275
|
emits: ["update:value"],
|
|
1270
1276
|
setup(s, { emit: l }) {
|
|
1271
|
-
let x = v(), S = l, T = s, P = p(void 0), L = p(void 0), R = p(void 0), z = p(void 0), B = p(void 0), V = p(void 0), H = p(void 0),
|
|
1277
|
+
let x = v(), S = l, T = s, P = p(void 0), L = p(void 0), R = p(void 0), z = p(void 0), B = p(void 0), V = p(void 0), H = p(void 0), ee = p(""), U = p(""), te = p(void 0), W = p(null);
|
|
1272
1278
|
u(() => {
|
|
1273
|
-
|
|
1279
|
+
se(), B.value = T.invalidMessage || "TODO: Add an invalidMessage";
|
|
1274
1280
|
}), d(() => {
|
|
1275
|
-
|
|
1281
|
+
te.value?.abort();
|
|
1276
1282
|
}), y(() => [T.id, T.propOverrides?.id], () => {
|
|
1277
|
-
(T.id ?? T.propOverrides?.id) &&
|
|
1283
|
+
(T.id ?? T.propOverrides?.id) && se();
|
|
1278
1284
|
}, {
|
|
1279
1285
|
immediate: !0,
|
|
1280
1286
|
flush: "post"
|
|
1281
|
-
}), y(() => [
|
|
1282
|
-
B.value = T.invalidMessage ||
|
|
1287
|
+
}), y(() => [W.value, T.invalidMessage], () => {
|
|
1288
|
+
B.value = T.invalidMessage || W.value?.validationMessage || "TODO: Add an invalidMessage";
|
|
1283
1289
|
}, {
|
|
1284
1290
|
immediate: !0,
|
|
1285
1291
|
flush: "post"
|
|
1286
1292
|
}), y(() => [P.value], () => {
|
|
1287
1293
|
if (P.value) {
|
|
1288
1294
|
let e = P.value + q;
|
|
1289
|
-
L.value = e, R.value = P.value + J, z.value = P.value +
|
|
1295
|
+
L.value = e, R.value = P.value + J, z.value = P.value + ce, V.value = T.dataListId ?? P.value + "-datalist", I(T.message, T.showMessage) && (H.value = e), re();
|
|
1290
1296
|
}
|
|
1291
1297
|
}, {
|
|
1292
1298
|
immediate: !0,
|
|
1293
1299
|
flush: "post"
|
|
1294
1300
|
}), y(() => [T.value], () => {
|
|
1295
|
-
|
|
1301
|
+
ee.value = T.value;
|
|
1296
1302
|
}, {
|
|
1297
1303
|
immediate: !0,
|
|
1298
1304
|
flush: "post"
|
|
1299
|
-
}), y(() => [
|
|
1300
|
-
if (
|
|
1301
|
-
let e =
|
|
1302
|
-
e || (e = new AbortController(),
|
|
1305
|
+
}), y(() => [W.value], () => {
|
|
1306
|
+
if (W.value) {
|
|
1307
|
+
let e = te.value;
|
|
1308
|
+
e || (e = new AbortController(), te.value = e), qe(W.value, {
|
|
1303
1309
|
value: T.value,
|
|
1304
1310
|
defaultValue: void 0
|
|
1305
1311
|
}, (e) => {
|
|
1306
|
-
|
|
1312
|
+
ie(e, !0), G(e, !0);
|
|
1307
1313
|
}, e.signal);
|
|
1308
1314
|
}
|
|
1309
1315
|
}, {
|
|
1310
1316
|
immediate: !0,
|
|
1311
1317
|
flush: "post"
|
|
1312
1318
|
});
|
|
1313
|
-
function
|
|
1319
|
+
function ne() {
|
|
1314
1320
|
return !!(T.validMessage ?? T.validation === "valid");
|
|
1315
1321
|
}
|
|
1316
|
-
function
|
|
1317
|
-
!
|
|
1322
|
+
function re() {
|
|
1323
|
+
!W.value?.validity.valid || T.validation === "invalid" ? (H.value = z.value, B.value = T.invalidMessage || W.value?.validationMessage || "TODO: Add an invalidMessage", E() && (U.value = B.value, O(() => U.value = "", 1e3))) : ne() && W.value?.validity.valid && (T.required || T.minLength || T.maxLength || T.pattern) ? (H.value = R.value, E() && (U.value = T.validMessage ?? "TODO: Add a validMessage", O(() => U.value = "", 1e3))) : I(T.message, T.showMessage) ? H.value = L.value : H.value = void 0;
|
|
1318
1324
|
}
|
|
1319
|
-
function
|
|
1320
|
-
T.input && T.input(e),
|
|
1325
|
+
function G(e, t) {
|
|
1326
|
+
T.input && T.input(e), ee.value = e.target.value, T.onInput && T.onInput(e), Q(S, e), re();
|
|
1321
1327
|
}
|
|
1322
|
-
function
|
|
1323
|
-
T.onChange && T.onChange(e), Q(S, e),
|
|
1328
|
+
function ie(e, t) {
|
|
1329
|
+
T.onChange && T.onChange(e), Q(S, e), re();
|
|
1324
1330
|
}
|
|
1325
|
-
function
|
|
1331
|
+
function ae(e) {
|
|
1326
1332
|
T.onBlur && T.onBlur(e);
|
|
1327
1333
|
}
|
|
1328
|
-
function
|
|
1334
|
+
function K(e) {
|
|
1329
1335
|
T.onFocus && T.onFocus(e);
|
|
1330
1336
|
}
|
|
1331
1337
|
function oe() {
|
|
@@ -1335,9 +1341,9 @@ var x = () => {
|
|
|
1335
1341
|
label: void 0
|
|
1336
1342
|
})) : e) || []);
|
|
1337
1343
|
}
|
|
1338
|
-
function
|
|
1344
|
+
function se() {
|
|
1339
1345
|
let e = T.id ?? T.propOverrides?.id ?? `input-${x}`;
|
|
1340
|
-
P.value = e, L.value = e + q, R.value = e + J, z.value = e +
|
|
1346
|
+
P.value = e, L.value = e + q, R.value = e + J, z.value = e + ce, V.value = e + Y;
|
|
1341
1347
|
}
|
|
1342
1348
|
return (l, u) => (f(), r("div", {
|
|
1343
1349
|
class: c(_(C)("db-input", T.class)),
|
|
@@ -1349,13 +1355,13 @@ var x = () => {
|
|
|
1349
1355
|
"data-hide-asterisk": _(F)(s.showRequiredAsterisk),
|
|
1350
1356
|
"data-show-icon-trailing": _(k)(s.showIconTrailing, "showIconTrailing")
|
|
1351
1357
|
}, [
|
|
1352
|
-
i("label", { for: P.value }, g(s.label ?? _("LABEL SHOULD BE SET")), 9,
|
|
1358
|
+
i("label", { for: P.value }, g(s.label ?? _("LABEL SHOULD BE SET")), 9, Ct),
|
|
1353
1359
|
i("input", {
|
|
1354
1360
|
"aria-invalid": s.validation === "invalid",
|
|
1355
1361
|
"data-custom-validity": s.validation,
|
|
1356
1362
|
"data-field-sizing": s.fieldSizing,
|
|
1357
1363
|
ref_key: "_ref",
|
|
1358
|
-
ref:
|
|
1364
|
+
ref: W,
|
|
1359
1365
|
id: P.value,
|
|
1360
1366
|
name: s.name,
|
|
1361
1367
|
type: s.type || "text",
|
|
@@ -1365,7 +1371,7 @@ var x = () => {
|
|
|
1365
1371
|
disabled: _(A)(s.disabled, "disabled"),
|
|
1366
1372
|
required: _(A)(s.required, "required"),
|
|
1367
1373
|
step: _(M)(s.step),
|
|
1368
|
-
value: s.value ??
|
|
1374
|
+
value: s.value ?? ee.value ?? "",
|
|
1369
1375
|
maxLength: _(j)(s.maxLength, s.maxlength),
|
|
1370
1376
|
minLength: _(j)(s.minLength, s.minlength),
|
|
1371
1377
|
max: _(N)(s.max, s.type),
|
|
@@ -1378,10 +1384,10 @@ var x = () => {
|
|
|
1378
1384
|
autoFocus: _(A)(s.autofocus, "autofocus"),
|
|
1379
1385
|
enterKeyHint: s.enterkeyhint,
|
|
1380
1386
|
inputMode: s.inputmode,
|
|
1381
|
-
onInput: u[0] ||= async (e) =>
|
|
1382
|
-
onChange: u[1] ||= async (e) =>
|
|
1383
|
-
onBlur: u[2] ||= async (e) =>
|
|
1384
|
-
onFocus: u[3] ||= async (e) =>
|
|
1387
|
+
onInput: u[0] ||= async (e) => G(e),
|
|
1388
|
+
onChange: u[1] ||= async (e) => ie(e),
|
|
1389
|
+
onBlur: u[2] ||= async (e) => ae(e),
|
|
1390
|
+
onFocus: u[3] ||= async (e) => K(e),
|
|
1385
1391
|
list: s.dataList && V.value,
|
|
1386
1392
|
"aria-describedby": s.ariaDescribedBy ?? H.value,
|
|
1387
1393
|
role: [
|
|
@@ -1392,14 +1398,14 @@ var x = () => {
|
|
|
1392
1398
|
"month",
|
|
1393
1399
|
"color"
|
|
1394
1400
|
].includes(s.type ?? "") && _(D)() ? "textbox" : void 0
|
|
1395
|
-
}, null, 40,
|
|
1401
|
+
}, null, 40, wt),
|
|
1396
1402
|
s.dataList ? (f(), r("datalist", {
|
|
1397
1403
|
key: 0,
|
|
1398
1404
|
id: V.value
|
|
1399
1405
|
}, [(f(!0), r(e, null, m(oe(), (e) => (f(), r("option", {
|
|
1400
1406
|
key: V.value + "-option-" + e.value,
|
|
1401
1407
|
value: e.value
|
|
1402
|
-
}, g(e.label), 9,
|
|
1408
|
+
}, g(e.label), 9, Et))), 128))], 8, Tt)) : n("", !0),
|
|
1403
1409
|
h(l.$slots, "default"),
|
|
1404
1410
|
_(I)(s.message, s.showMessage) ? (f(), t($, {
|
|
1405
1411
|
key: 1,
|
|
@@ -1414,7 +1420,7 @@ var x = () => {
|
|
|
1414
1420
|
"icon",
|
|
1415
1421
|
"id"
|
|
1416
1422
|
])) : n("", !0),
|
|
1417
|
-
|
|
1423
|
+
ne() ? (f(), t($, {
|
|
1418
1424
|
key: 2,
|
|
1419
1425
|
semantic: "successful",
|
|
1420
1426
|
id: R.value,
|
|
@@ -1431,10 +1437,10 @@ var x = () => {
|
|
|
1431
1437
|
default: b(() => [a(g(B.value), 1)]),
|
|
1432
1438
|
_: 1
|
|
1433
1439
|
}, 8, ["id", "size"]),
|
|
1434
|
-
i("span",
|
|
1435
|
-
], 10,
|
|
1440
|
+
i("span", Dt, g(U.value), 1)
|
|
1441
|
+
], 10, St));
|
|
1436
1442
|
}
|
|
1437
|
-
}),
|
|
1443
|
+
}), kt = [
|
|
1438
1444
|
"id",
|
|
1439
1445
|
"data-emphasis",
|
|
1440
1446
|
"data-wrap",
|
|
@@ -1443,7 +1449,7 @@ var x = () => {
|
|
|
1443
1449
|
"data-width",
|
|
1444
1450
|
"data-show-arrow",
|
|
1445
1451
|
"data-placement"
|
|
1446
|
-
],
|
|
1452
|
+
], At = /* @__PURE__ */ s({
|
|
1447
1453
|
name: "DBTooltip",
|
|
1448
1454
|
__name: "tooltip",
|
|
1449
1455
|
props: {
|
|
@@ -1473,7 +1479,7 @@ var x = () => {
|
|
|
1473
1479
|
text: { default: void 0 }
|
|
1474
1480
|
},
|
|
1475
1481
|
setup(t) {
|
|
1476
|
-
let i = v(), o = t, s = p(
|
|
1482
|
+
let i = v(), o = t, s = p(G), l = p(!1), m = p(void 0), b = p(void 0), x = p(void 0), S = p(void 0), w = p(0), T = p([]), E = p(null);
|
|
1477
1483
|
u(() => {
|
|
1478
1484
|
I(), l.value = !0;
|
|
1479
1485
|
}), d(() => {
|
|
@@ -1543,24 +1549,24 @@ var x = () => {
|
|
|
1543
1549
|
}
|
|
1544
1550
|
function M(e) {
|
|
1545
1551
|
e && E.value && O(() => {
|
|
1546
|
-
E.value &&
|
|
1552
|
+
E.value && dt(E.value, e, o.placement ?? "bottom");
|
|
1547
1553
|
}, 1);
|
|
1548
1554
|
}
|
|
1549
1555
|
function N(e, t) {
|
|
1550
1556
|
e?.target?.contains && e?.target?.contains(E.value) && M(t);
|
|
1551
1557
|
}
|
|
1552
1558
|
function P() {
|
|
1553
|
-
w.value = Math.max((w.value ?? 0) - 1, 0), !((w.value ?? 0) > 0) && (m.value &&= (new
|
|
1559
|
+
w.value = Math.max((w.value ?? 0) - 1, 0), !((w.value ?? 0) > 0) && (m.value &&= (new rt().removeCallback(m.value), void 0), b.value?.unobserve(j()));
|
|
1554
1560
|
}
|
|
1555
1561
|
function F(e) {
|
|
1556
|
-
w.value = (w.value ?? 0) + 1, w.value === 1 && (m.value = new
|
|
1562
|
+
w.value = (w.value ?? 0) + 1, w.value === 1 && (m.value = new rt().addCallback((t) => N(t, e)), b.value?.observe(j())), M(e);
|
|
1557
1563
|
}
|
|
1558
1564
|
function I() {
|
|
1559
1565
|
s.value = o.id ?? o.propOverrides?.id ?? "tooltip-" + i;
|
|
1560
1566
|
}
|
|
1561
1567
|
function L() {
|
|
1562
1568
|
let e = m.value;
|
|
1563
|
-
e && (new
|
|
1569
|
+
e && (new rt().removeCallback(e), m.value = void 0), b.value?.disconnect(), b.value = void 0, w.value = 0, (T.value ?? []).forEach((e) => {
|
|
1564
1570
|
e.parent.removeEventListener(e.type, e.fn);
|
|
1565
1571
|
}), T.value = [];
|
|
1566
1572
|
let t = x.value;
|
|
@@ -1585,9 +1591,9 @@ var x = () => {
|
|
|
1585
1591
|
"data-show-arrow": _(k)(t.showArrow ?? !0, "showArrow"),
|
|
1586
1592
|
"data-placement": t.placement,
|
|
1587
1593
|
onClick: l[0] ||= async (e) => D(e)
|
|
1588
|
-
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(i.$slots, "default")], 10,
|
|
1594
|
+
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(i.$slots, "default")], 10, kt));
|
|
1589
1595
|
}
|
|
1590
|
-
}),
|
|
1596
|
+
}), jt = [
|
|
1591
1597
|
"id",
|
|
1592
1598
|
"data-semantic",
|
|
1593
1599
|
"data-emphasis",
|
|
@@ -1596,7 +1602,7 @@ var x = () => {
|
|
|
1596
1602
|
"data-show-icon",
|
|
1597
1603
|
"data-no-text",
|
|
1598
1604
|
"data-overflow"
|
|
1599
|
-
],
|
|
1605
|
+
], Mt = /* @__PURE__ */ s({
|
|
1600
1606
|
name: "DBTag",
|
|
1601
1607
|
__name: "tag",
|
|
1602
1608
|
props: {
|
|
@@ -1642,7 +1648,7 @@ var x = () => {
|
|
|
1642
1648
|
e && (e.stopPropagation(), i.onRemove && i.onRemove(e));
|
|
1643
1649
|
}
|
|
1644
1650
|
function u() {
|
|
1645
|
-
return i.removeButton ? i.removeButton :
|
|
1651
|
+
return i.removeButton ? i.removeButton : fe;
|
|
1646
1652
|
}
|
|
1647
1653
|
return (d, p) => (f(), r("div", {
|
|
1648
1654
|
ref_key: "_ref",
|
|
@@ -1669,13 +1675,13 @@ var x = () => {
|
|
|
1669
1675
|
"data-variant": "ghost",
|
|
1670
1676
|
type: "button",
|
|
1671
1677
|
onClick: p[0] ||= async (e) => l(e)
|
|
1672
|
-
}, [o(
|
|
1678
|
+
}, [o(At, { variant: "label" }, {
|
|
1673
1679
|
default: b(() => [a(g(u()), 1)]),
|
|
1674
1680
|
_: 1
|
|
1675
1681
|
})])) : n("", !0)
|
|
1676
|
-
], 10,
|
|
1682
|
+
], 10, jt));
|
|
1677
1683
|
}
|
|
1678
|
-
}),
|
|
1684
|
+
}), Nt = [
|
|
1679
1685
|
"id",
|
|
1680
1686
|
"aria-invalid",
|
|
1681
1687
|
"data-custom-validity",
|
|
@@ -1688,7 +1694,7 @@ var x = () => {
|
|
|
1688
1694
|
"data-hide-label",
|
|
1689
1695
|
"data-icon",
|
|
1690
1696
|
"data-show-icon"
|
|
1691
|
-
],
|
|
1697
|
+
], Pt = ["id"], Ft = [
|
|
1692
1698
|
"id",
|
|
1693
1699
|
"form",
|
|
1694
1700
|
"name",
|
|
@@ -1696,18 +1702,18 @@ var x = () => {
|
|
|
1696
1702
|
"multiple",
|
|
1697
1703
|
"disabled",
|
|
1698
1704
|
"required"
|
|
1699
|
-
],
|
|
1705
|
+
], It = ["disabled", "value"], Lt = ["open"], Rt = [
|
|
1700
1706
|
"id",
|
|
1701
1707
|
"aria-disabled",
|
|
1702
1708
|
"tabIndex",
|
|
1703
1709
|
"aria-labelledby"
|
|
1704
|
-
],
|
|
1710
|
+
], zt = ["data-visually-hidden", "id"], Bt = {
|
|
1705
1711
|
key: 0,
|
|
1706
1712
|
"data-visually-hidden": "true"
|
|
1707
|
-
},
|
|
1713
|
+
}, Vt = { key: 1 }, Ht = { key: 0 }, Ut = { key: 0 }, Wt = { class: "db-checkbox db-custom-select-list-item" }, Gt = ["form", "checked"], Kt = ["id"], qt = {
|
|
1708
1714
|
"data-visually-hidden": "true",
|
|
1709
1715
|
role: "status"
|
|
1710
|
-
},
|
|
1716
|
+
}, Jt = /* @__PURE__ */ s({
|
|
1711
1717
|
name: "DBCustomSelect",
|
|
1712
1718
|
__name: "custom-select",
|
|
1713
1719
|
props: {
|
|
@@ -1832,7 +1838,7 @@ var x = () => {
|
|
|
1832
1838
|
},
|
|
1833
1839
|
emits: ["update:values"],
|
|
1834
1840
|
setup(s, { emit: l }) {
|
|
1835
|
-
let x = v(), S = l, w = s, T = p(void 0), D = p(void 0), j = p(void 0), M = p(void 0), N = p(void 0), P = p(void 0), R = p(void 0), z = p(void 0), B = p(void 0), V = p(void 0), H = p("no-validation"),
|
|
1841
|
+
let x = v(), S = l, w = s, T = p(void 0), D = p(void 0), j = p(void 0), M = p(void 0), N = p(void 0), P = p(void 0), R = p(void 0), z = p(void 0), B = p(void 0), V = p(void 0), H = p("no-validation"), ee = p(!1), U = p(void 0), te = p(void 0), W = p(""), ne = p(void 0), re = p(""), G = p([]), ie = p(!1), ae = p(!1), K = p(0), Y = p([]), ue = p([]), de = p(!1), pe = p(void 0), he = p(0), ge = p(void 0), _e = p(void 0), ve = p(void 0), ye = p(!1), be = p(!1), xe = p(null), X = p(null), Z = p(null), Se = p(null), Ce = p(null);
|
|
1836
1842
|
u(() => {
|
|
1837
1843
|
Xe(), N.value = w.invalidMessage || "TODO: Add an invalidMessage", typeof window < "u" && "IntersectionObserver" in window && (_e.value = new IntersectionObserver((e) => {
|
|
1838
1844
|
if (X.value) {
|
|
@@ -1841,7 +1847,7 @@ var x = () => {
|
|
|
1841
1847
|
}
|
|
1842
1848
|
}));
|
|
1843
1849
|
}), d(() => {
|
|
1844
|
-
|
|
1850
|
+
U.value?.abort();
|
|
1845
1851
|
}), y(() => [w.id, w.propOverrides?.id], () => {
|
|
1846
1852
|
(w.id ?? w.propOverrides?.id) && Xe();
|
|
1847
1853
|
}, {
|
|
@@ -1855,15 +1861,15 @@ var x = () => {
|
|
|
1855
1861
|
}), y(() => [T.value], () => {
|
|
1856
1862
|
if (T.value) {
|
|
1857
1863
|
let e = T.value + q;
|
|
1858
|
-
R.value = T.value +
|
|
1864
|
+
R.value = T.value + oe, P.value = T.value + se, j.value = T.value + J, M.value = T.value + ce, B.value = T.value + le, I(w.message, w.showMessage) ? ke(e) : ke();
|
|
1859
1865
|
}
|
|
1860
1866
|
}, {
|
|
1861
1867
|
immediate: !0,
|
|
1862
1868
|
flush: "post"
|
|
1863
|
-
}), y(() => [X.value,
|
|
1869
|
+
}), y(() => [X.value, te.value], () => {
|
|
1864
1870
|
if (X.value) {
|
|
1865
1871
|
let e = X.value.querySelector("summary");
|
|
1866
|
-
e && e.setAttribute("aria-describedby", w.ariaDescribedBy ?? (
|
|
1872
|
+
e && e.setAttribute("aria-describedby", w.ariaDescribedBy ?? (te.value || ""));
|
|
1867
1873
|
}
|
|
1868
1874
|
}, {
|
|
1869
1875
|
immediate: !0,
|
|
@@ -1873,21 +1879,21 @@ var x = () => {
|
|
|
1873
1879
|
w.showLoading,
|
|
1874
1880
|
ue.value
|
|
1875
1881
|
], () => {
|
|
1876
|
-
w.showNoResults === void 0 ? ue.value && (
|
|
1882
|
+
w.showNoResults === void 0 ? ue.value && (de.value = ue.value.length === 0) : de.value = w.showNoResults;
|
|
1877
1883
|
}, {
|
|
1878
1884
|
immediate: !0,
|
|
1879
1885
|
flush: "post"
|
|
1880
1886
|
}), y(() => [
|
|
1881
1887
|
w.showSelectAll,
|
|
1882
|
-
|
|
1888
|
+
K.value,
|
|
1883
1889
|
w.multiple
|
|
1884
1890
|
], () => {
|
|
1885
|
-
|
|
1891
|
+
ie.value = !!(w.multiple && (w.showSelectAll ?? K.value > 5));
|
|
1886
1892
|
}, {
|
|
1887
1893
|
immediate: !0,
|
|
1888
1894
|
flush: "post"
|
|
1889
|
-
}), y(() => [w.showSearch,
|
|
1890
|
-
|
|
1895
|
+
}), y(() => [w.showSearch, K.value], () => {
|
|
1896
|
+
ae.value = w.showSearch ?? K.value > 9;
|
|
1891
1897
|
}, {
|
|
1892
1898
|
immediate: !0,
|
|
1893
1899
|
flush: "post"
|
|
@@ -1904,10 +1910,10 @@ var x = () => {
|
|
|
1904
1910
|
flush: "post"
|
|
1905
1911
|
}), y(() => [Z.value], () => {
|
|
1906
1912
|
if (Z.value) {
|
|
1907
|
-
let e =
|
|
1908
|
-
e || (e = new AbortController(),
|
|
1913
|
+
let e = U.value;
|
|
1914
|
+
e || (e = new AbortController(), U.value = e);
|
|
1909
1915
|
let t = w.values;
|
|
1910
|
-
|
|
1916
|
+
Ge(Z.value, () => {
|
|
1911
1917
|
Ve(t || (Z.value.value ? [Z.value.value] : [])), Ee();
|
|
1912
1918
|
}, e.signal);
|
|
1913
1919
|
}
|
|
@@ -1919,13 +1925,13 @@ var x = () => {
|
|
|
1919
1925
|
}, {
|
|
1920
1926
|
immediate: !0,
|
|
1921
1927
|
flush: "post"
|
|
1922
|
-
}), y(() => [Y.value,
|
|
1923
|
-
Y.value?.length === 0 ? (ye.value = !1, be.value = !1) : Y.value?.length ===
|
|
1928
|
+
}), y(() => [Y.value, K.value], () => {
|
|
1929
|
+
Y.value?.length === 0 ? (ye.value = !1, be.value = !1) : Y.value?.length === K.value ? (be.value = !1, ye.value = !0) : Y.value && (be.value = !0);
|
|
1924
1930
|
}, {
|
|
1925
1931
|
immediate: !0,
|
|
1926
1932
|
flush: "post"
|
|
1927
1933
|
}), y(() => [w.options], () => {
|
|
1928
|
-
ue.value = w.options,
|
|
1934
|
+
ue.value = w.options, K.value = w.options?.filter((e) => !e.isGroupTitle).length ?? 0, X.value?.open && Fe();
|
|
1929
1935
|
}, {
|
|
1930
1936
|
immediate: !0,
|
|
1931
1937
|
flush: "post"
|
|
@@ -1938,34 +1944,34 @@ var x = () => {
|
|
|
1938
1944
|
immediate: !0,
|
|
1939
1945
|
flush: "post"
|
|
1940
1946
|
}), y(() => [w.options, Y.value], () => {
|
|
1941
|
-
w.options?.length && (
|
|
1947
|
+
w.options?.length && (G.value = w.options?.filter((e) => !e.value || !Y.value?.includes ? !1 : !e.isGroupTitle && Y.value?.includes(e.value)));
|
|
1942
1948
|
}, {
|
|
1943
1949
|
immediate: !0,
|
|
1944
1950
|
flush: "post"
|
|
1945
1951
|
}), y(() => [
|
|
1946
|
-
|
|
1952
|
+
G.value,
|
|
1947
1953
|
w.selectedType,
|
|
1948
1954
|
w.amountText,
|
|
1949
1955
|
w.selectedLabels,
|
|
1950
1956
|
w.transformSelectedLabels
|
|
1951
1957
|
], () => {
|
|
1952
1958
|
if (w.selectedLabels) {
|
|
1953
|
-
|
|
1959
|
+
W.value = w.selectedLabels;
|
|
1954
1960
|
return;
|
|
1955
1961
|
}
|
|
1956
|
-
if (
|
|
1962
|
+
if (G.value?.length) {
|
|
1957
1963
|
if (w.transformSelectedLabels) {
|
|
1958
|
-
let e =
|
|
1959
|
-
|
|
1964
|
+
let e = G.value, t = w.transformSelectedLabels;
|
|
1965
|
+
W.value = t(e);
|
|
1960
1966
|
return;
|
|
1961
1967
|
}
|
|
1962
|
-
w.selectedType === "amount" ?
|
|
1963
|
-
} else
|
|
1968
|
+
w.selectedType === "amount" ? W.value = w.amountText ? w.amountText : `${G.value?.length} ${me}` : W.value = G.value?.map((e) => je(e)).join(", ");
|
|
1969
|
+
} else W.value = "";
|
|
1964
1970
|
}, {
|
|
1965
1971
|
immediate: !0,
|
|
1966
1972
|
flush: "post"
|
|
1967
|
-
}), y(() => [
|
|
1968
|
-
w.onAmountChange && w.onAmountChange(
|
|
1973
|
+
}), y(() => [G.value], () => {
|
|
1974
|
+
w.onAmountChange && w.onAmountChange(G.value?.length ?? 0);
|
|
1969
1975
|
}, {
|
|
1970
1976
|
immediate: !0,
|
|
1971
1977
|
flush: "post"
|
|
@@ -1987,17 +1993,17 @@ var x = () => {
|
|
|
1987
1993
|
return !!(w.validMessage ?? w.validation === "valid");
|
|
1988
1994
|
}
|
|
1989
1995
|
function Ee() {
|
|
1990
|
-
Z.value && (Z.value.value = Oe()), !Z.value?.validity.valid || w.validation === "invalid" ? (ke(M.value), N.value = w.invalidMessage || Z.value?.validationMessage || "TODO: Add an invalidMessage", E() && (
|
|
1996
|
+
Z.value && (Z.value.value = Oe()), !Z.value?.validity.valid || w.validation === "invalid" ? (ke(M.value), N.value = w.invalidMessage || Z.value?.validationMessage || "TODO: Add an invalidMessage", E() && (re.value = N.value, O(() => re.value = "", 1e3)), ee.value && (H.value = w.validation ?? "invalid")) : Te() && Z.value?.validity.valid && w.required ? (ke(j.value), E() && (re.value = w.validMessage ?? "TODO: Add a validMessage", O(() => re.value = "", 1e3)), H.value = w.validation ?? "valid") : I(w.message, w.showMessage) ? (ke(D.value), H.value = w.validation ?? "no-validation") : (ke(B.value), H.value = w.validation ?? "no-validation");
|
|
1991
1997
|
}
|
|
1992
1998
|
function De(e) {
|
|
1993
|
-
w.onDropdownToggle && (e.stopPropagation(), w.onDropdownToggle(e)), e.target instanceof HTMLDetailsElement && e.target.open ? (
|
|
1999
|
+
w.onDropdownToggle && (e.stopPropagation(), w.onDropdownToggle(e)), e.target instanceof HTMLDetailsElement && e.target.open ? (pe.value = new nt().addCallback((e) => Be(e)), ge.value = new rt().addCallback((e) => we(e)), Fe(), _e.value?.observe(X.value), e.target.dataset.test || Ke()) : (pe.value && new nt().removeCallback(pe.value), ge.value && new rt().removeCallback(ge.value), _e.value?.unobserve(X.value));
|
|
1994
2000
|
}
|
|
1995
2001
|
function Oe() {
|
|
1996
2002
|
return Y.value?.length ? Y.value.at(0) ?? "" : "";
|
|
1997
2003
|
}
|
|
1998
2004
|
function ke(e) {
|
|
1999
2005
|
let t = [];
|
|
2000
|
-
e && t.push(e),
|
|
2006
|
+
e && t.push(e), ne.value && W.value?.length && t.push(ne.value), te.value = t.join(" ");
|
|
2001
2007
|
}
|
|
2002
2008
|
function Ae() {
|
|
2003
2009
|
return w.selectAllLabel ?? "LABEL SHOULD BE SET";
|
|
@@ -2014,7 +2020,7 @@ var x = () => {
|
|
|
2014
2020
|
let r = n.findIndex((t) => t.value === e.value);
|
|
2015
2021
|
if (r >= 0 && r < t.length) return t[r];
|
|
2016
2022
|
}
|
|
2017
|
-
return `${
|
|
2023
|
+
return `${fe} ${je(e)}`;
|
|
2018
2024
|
}
|
|
2019
2025
|
function Pe(e, t) {
|
|
2020
2026
|
t && t.stopPropagation(), He(e.value), Ye();
|
|
@@ -2023,7 +2029,7 @@ var x = () => {
|
|
|
2023
2029
|
if (X.value) {
|
|
2024
2030
|
let e = X.value.querySelector("article");
|
|
2025
2031
|
e && O(() => {
|
|
2026
|
-
|
|
2032
|
+
ot(e, X.value, w.placement ?? "bottom");
|
|
2027
2033
|
}, 1);
|
|
2028
2034
|
}
|
|
2029
2035
|
}
|
|
@@ -2043,7 +2049,7 @@ var x = () => {
|
|
|
2043
2049
|
}
|
|
2044
2050
|
e = e.nextElementSibling;
|
|
2045
2051
|
}
|
|
2046
|
-
e ||
|
|
2052
|
+
e || We(t);
|
|
2047
2053
|
} else {
|
|
2048
2054
|
let e = n?.previousElementSibling;
|
|
2049
2055
|
for (; e;) {
|
|
@@ -2056,7 +2062,7 @@ var x = () => {
|
|
|
2056
2062
|
}
|
|
2057
2063
|
if (!e) {
|
|
2058
2064
|
let e = X.value.querySelector("input[type=\"checkbox\"]");
|
|
2059
|
-
if (e && e !== t)
|
|
2065
|
+
if (e && e !== t) We(t);
|
|
2060
2066
|
else {
|
|
2061
2067
|
let e = L(X.value);
|
|
2062
2068
|
if (e) O(() => {
|
|
@@ -2069,12 +2075,12 @@ var x = () => {
|
|
|
2069
2075
|
}
|
|
2070
2076
|
}
|
|
2071
2077
|
}
|
|
2072
|
-
} else t.getAttribute("type") === "search" && (e.key === "ArrowUp" || e.key === "ArrowLeft") ? (ze(void 0, !0), Ye()) :
|
|
2078
|
+
} else t.getAttribute("type") === "search" && (e.key === "ArrowUp" || e.key === "ArrowLeft") ? (ze(void 0, !0), Ye()) : We(t);
|
|
2073
2079
|
}
|
|
2074
2080
|
} else (e.key === "ArrowDown" || e.key === "ArrowRight") && (Fe(), X.value && (X.value.open = !0), Ke());
|
|
2075
2081
|
e.stopPropagation(), e.preventDefault();
|
|
2076
2082
|
}
|
|
2077
|
-
function
|
|
2083
|
+
function Le(e) {
|
|
2078
2084
|
if (e.stopPropagation(), e.key === "Escape" && X.value?.open) ze(void 0, !0), Ye();
|
|
2079
2085
|
else if (e.key === "Enter" && X.value?.open) {
|
|
2080
2086
|
if (self.document) {
|
|
@@ -2103,19 +2109,19 @@ var x = () => {
|
|
|
2103
2109
|
}
|
|
2104
2110
|
}
|
|
2105
2111
|
function Ve(e) {
|
|
2106
|
-
(/* @__PURE__ */ new Date()).getTime() - he.value < 200 || (Y.value = e,
|
|
2112
|
+
(/* @__PURE__ */ new Date()).getTime() - he.value < 200 || (Y.value = e, ee.value = !0, w.onOptionSelected && w.onOptionSelected(e ?? []), Q(S, { target: { values: e } }, "values"), he.value = (/* @__PURE__ */ new Date()).getTime());
|
|
2107
2113
|
}
|
|
2108
2114
|
function He(e) {
|
|
2109
2115
|
e && (w.multiple ? Y.value?.includes(e) ? Ve(Y.value.filter((t) => t !== e)) : Ve([...Y.value || [], e]) : (Ve([e]), ze(void 0, !0)));
|
|
2110
2116
|
}
|
|
2111
2117
|
function Ue(e) {
|
|
2112
|
-
if (e.stopPropagation(), Y.value?.length ===
|
|
2118
|
+
if (e.stopPropagation(), Y.value?.length === K.value) Ve([]);
|
|
2113
2119
|
else {
|
|
2114
|
-
let e =
|
|
2120
|
+
let e = ae.value && Ce.value ? Ce.value.value : void 0;
|
|
2115
2121
|
Ve(w.options ? w.options.filter((t) => !t.isGroupTitle && (!e || t.value?.toLowerCase().includes(e.toLowerCase()))).map((e) => e.value ?? "") : []);
|
|
2116
2122
|
}
|
|
2117
2123
|
}
|
|
2118
|
-
function
|
|
2124
|
+
function We(e) {
|
|
2119
2125
|
if (X.value) {
|
|
2120
2126
|
let t = Array.from(X.value.querySelectorAll("input[type=\"checkbox\"],input[type=\"radio\"]"));
|
|
2121
2127
|
if (t.length) {
|
|
@@ -2131,7 +2137,7 @@ var x = () => {
|
|
|
2131
2137
|
let e = L(X.value);
|
|
2132
2138
|
e ? O(() => {
|
|
2133
2139
|
e.focus();
|
|
2134
|
-
}, 1) :
|
|
2140
|
+
}, 1) : We();
|
|
2135
2141
|
}
|
|
2136
2142
|
}
|
|
2137
2143
|
function qe(e) {
|
|
@@ -2152,7 +2158,7 @@ var x = () => {
|
|
|
2152
2158
|
}
|
|
2153
2159
|
function Xe() {
|
|
2154
2160
|
let e = w.id ?? w.propOverrides?.id ?? `custom-select-${x}`;
|
|
2155
|
-
T.value = e, D.value = e + q, j.value = e + J, M.value = e +
|
|
2161
|
+
T.value = e, D.value = e + q, j.value = e + J, M.value = e + ce, P.value = e + se, R.value = e + oe, z.value = e + "-summary", B.value = e + le, ne.value = e + "-selected-labels", V.value = e + "-info";
|
|
2156
2162
|
}
|
|
2157
2163
|
function Ze(e) {
|
|
2158
2164
|
e.stopPropagation();
|
|
@@ -2192,24 +2198,24 @@ var x = () => {
|
|
|
2192
2198
|
key: t,
|
|
2193
2199
|
disabled: e.disabled,
|
|
2194
2200
|
value: e.value
|
|
2195
|
-
}, g(je(e)), 9,
|
|
2201
|
+
}, g(je(e)), 9, It))), 128)) : n("", !0)], 40, Ft)], 8, Pt),
|
|
2196
2202
|
i("details", {
|
|
2197
2203
|
ref_key: "detailsRef",
|
|
2198
2204
|
ref: X,
|
|
2199
2205
|
open: s.open,
|
|
2200
2206
|
onToggle: u[2] ||= async (e) => De(e),
|
|
2201
|
-
onKeydown: u[3] ||= async (e) =>
|
|
2207
|
+
onKeydown: u[3] ||= async (e) => Le(e)
|
|
2202
2208
|
}, [h(l.$slots, "default"), s.options ? (f(), r(e, { key: 0 }, [i("summary", {
|
|
2203
2209
|
class: "db-custom-select-form-field",
|
|
2204
2210
|
id: z.value,
|
|
2205
2211
|
"aria-disabled": _(k)(s.disabled, "disabled"),
|
|
2206
2212
|
tabIndex: s.disabled ? -1 : void 0,
|
|
2207
2213
|
"aria-labelledby": R.value
|
|
2208
|
-
}, [
|
|
2214
|
+
}, [W.value?.length ? (f(), r("span", {
|
|
2209
2215
|
key: 0,
|
|
2210
2216
|
"data-visually-hidden": _(k)(s.selectedType === "tag", "selectedType"),
|
|
2211
|
-
id:
|
|
2212
|
-
}, [s.selectedPrefix ? (f(), r("span",
|
|
2217
|
+
id: ne.value
|
|
2218
|
+
}, [s.selectedPrefix ? (f(), r("span", Bt, g(s.selectedPrefix), 1)) : n("", !0), a(" " + g(W.value), 1)], 8, zt)) : n("", !0), s.selectedType === "tag" ? (f(), r("div", Vt, [(f(!0), r(e, null, m(G.value, (e, n) => (f(), t(Mt, {
|
|
2213
2219
|
key: n,
|
|
2214
2220
|
emphasis: "strong",
|
|
2215
2221
|
behavior: "removable",
|
|
@@ -2218,9 +2224,9 @@ var x = () => {
|
|
|
2218
2224
|
}, {
|
|
2219
2225
|
default: b(() => [a(g(je(e)), 1)]),
|
|
2220
2226
|
_: 2
|
|
2221
|
-
}, 1032, ["removeButton", "onRemove"]))), 128))])) : n("", !0)], 8,
|
|
2227
|
+
}, 1032, ["removeButton", "onRemove"]))), 128))])) : n("", !0)], 8, Rt), o(pt, { width: s.dropdownWidth }, {
|
|
2222
2228
|
default: b(() => [
|
|
2223
|
-
|
|
2229
|
+
ae.value ? (f(), r("div", Ht, [o(Ot, {
|
|
2224
2230
|
type: "search",
|
|
2225
2231
|
ref_key: "searchInputRef",
|
|
2226
2232
|
ref: Ce,
|
|
@@ -2230,7 +2236,7 @@ var x = () => {
|
|
|
2230
2236
|
value: ve.value,
|
|
2231
2237
|
label: s.searchLabel ?? _("LABEL SHOULD BE SET"),
|
|
2232
2238
|
placeholder: s.searchPlaceholder ?? s.searchLabel,
|
|
2233
|
-
ariaDescribedBy:
|
|
2239
|
+
ariaDescribedBy: de.value || s.showLoading ? V.value : void 0,
|
|
2234
2240
|
onInput: (e) => qe(e)
|
|
2235
2241
|
}, null, 8, [
|
|
2236
2242
|
"name",
|
|
@@ -2241,7 +2247,7 @@ var x = () => {
|
|
|
2241
2247
|
"ariaDescribedBy",
|
|
2242
2248
|
"onInput"
|
|
2243
2249
|
])])) : n("", !0),
|
|
2244
|
-
|
|
2250
|
+
de.value || s.showLoading ? (f(), t($, {
|
|
2245
2251
|
key: 1,
|
|
2246
2252
|
id: V.value,
|
|
2247
2253
|
icon: s.showLoading ? "circular_arrows" : void 0,
|
|
@@ -2253,7 +2259,7 @@ var x = () => {
|
|
|
2253
2259
|
"id",
|
|
2254
2260
|
"icon",
|
|
2255
2261
|
"semantic"
|
|
2256
|
-
])) : (f(), r(e, { key: 2 }, [
|
|
2262
|
+
])) : (f(), r(e, { key: 2 }, [ie.value ? (f(), r("div", Ut, [i("div", Wt, [i("label", null, [i("input", {
|
|
2257
2263
|
type: "checkbox",
|
|
2258
2264
|
value: "select-all",
|
|
2259
2265
|
ref_key: "selectAllRef",
|
|
@@ -2261,11 +2267,11 @@ var x = () => {
|
|
|
2261
2267
|
form: T.value,
|
|
2262
2268
|
checked: ye.value,
|
|
2263
2269
|
onChange: u[1] ||= async (e) => Ue(e)
|
|
2264
|
-
}, null, 40,
|
|
2270
|
+
}, null, 40, Gt), a(g(Ae()), 1)])])])) : n("", !0), o(xt, {
|
|
2265
2271
|
multiple: _(A)(s.multiple, "multiple"),
|
|
2266
2272
|
label: s.listLabel ?? s.label ?? _("LABEL SHOULD BE SET")
|
|
2267
2273
|
}, {
|
|
2268
|
-
default: b(() => [(f(!0), r(e, null, m(ue.value, (i, o) => (f(), t(
|
|
2274
|
+
default: b(() => [(f(!0), r(e, null, m(ue.value, (i, o) => (f(), t(yt, {
|
|
2269
2275
|
key: o,
|
|
2270
2276
|
type: s.multiple ? "checkbox" : "radio",
|
|
2271
2277
|
showDivider: i.showDivider,
|
|
@@ -2294,7 +2300,7 @@ var x = () => {
|
|
|
2294
2300
|
]))), 128))]),
|
|
2295
2301
|
_: 1
|
|
2296
2302
|
}, 8, ["multiple", "label"])], 64)),
|
|
2297
|
-
i("div", null, [o(
|
|
2303
|
+
i("div", null, [o(Re, {
|
|
2298
2304
|
variant: "ghost",
|
|
2299
2305
|
width: "full",
|
|
2300
2306
|
icon: "cross",
|
|
@@ -2312,8 +2318,8 @@ var x = () => {
|
|
|
2312
2318
|
])])
|
|
2313
2319
|
]),
|
|
2314
2320
|
_: 1
|
|
2315
|
-
}, 8, ["width"])], 64)) : n("", !0)], 40,
|
|
2316
|
-
(s.showClearSelection ?? !0) && Y.value?.length ? (f(), t(
|
|
2321
|
+
}, 8, ["width"])], 64)) : n("", !0)], 40, Lt),
|
|
2322
|
+
(s.showClearSelection ?? !0) && Y.value?.length ? (f(), t(Re, {
|
|
2317
2323
|
key: 0,
|
|
2318
2324
|
icon: "cross",
|
|
2319
2325
|
variant: "ghost",
|
|
@@ -2324,7 +2330,7 @@ var x = () => {
|
|
|
2324
2330
|
disabled: _(A)(s.disabled, "disabled"),
|
|
2325
2331
|
onClick: (e) => Je(e)
|
|
2326
2332
|
}, {
|
|
2327
|
-
default: b(() => [a(g(s.clearSelectionText), 1), o(
|
|
2333
|
+
default: b(() => [a(g(s.clearSelectionText), 1), o(At, { placement: "top" }, {
|
|
2328
2334
|
default: b(() => [a(g(s.clearSelectionText), 1)]),
|
|
2329
2335
|
_: 1
|
|
2330
2336
|
})]),
|
|
@@ -2339,7 +2345,7 @@ var x = () => {
|
|
|
2339
2345
|
class: "db-custom-select-placeholder",
|
|
2340
2346
|
"aria-hidden": "true",
|
|
2341
2347
|
id: B.value
|
|
2342
|
-
}, g(s.placeholder ?? s.label), 9,
|
|
2348
|
+
}, g(s.placeholder ?? s.label), 9, Kt),
|
|
2343
2349
|
_(I)(s.message, s.showMessage) ? (f(), t($, {
|
|
2344
2350
|
key: 1,
|
|
2345
2351
|
size: "small",
|
|
@@ -2366,14 +2372,14 @@ var x = () => {
|
|
|
2366
2372
|
default: b(() => [a(g(N.value), 1)]),
|
|
2367
2373
|
_: 1
|
|
2368
2374
|
}, 8, ["id"]),
|
|
2369
|
-
i("span",
|
|
2370
|
-
], 10,
|
|
2375
|
+
i("span", qt, g(re.value), 1)
|
|
2376
|
+
], 10, Nt));
|
|
2371
2377
|
}
|
|
2372
|
-
}),
|
|
2378
|
+
}), Yt = [
|
|
2373
2379
|
"fixed",
|
|
2374
2380
|
"auto",
|
|
2375
2381
|
"full"
|
|
2376
|
-
],
|
|
2382
|
+
], Xt = ["id"], Zt = /* @__PURE__ */ s({
|
|
2377
2383
|
name: "DBCustomSelectFormField",
|
|
2378
2384
|
__name: "custom-select-form-field",
|
|
2379
2385
|
props: {
|
|
@@ -2391,19 +2397,19 @@ var x = () => {
|
|
|
2391
2397
|
ref: n,
|
|
2392
2398
|
id: e.id ?? e.propOverrides?.id,
|
|
2393
2399
|
class: c(_(C)("db-custom-select-form-field", t.class))
|
|
2394
|
-
}, [h(i.$slots, "default")], 10,
|
|
2400
|
+
}, [h(i.$slots, "default")], 10, Xt));
|
|
2395
2401
|
}
|
|
2396
|
-
}),
|
|
2402
|
+
}), Qt = ["checkbox", "radio"], $t = [
|
|
2397
2403
|
"amount",
|
|
2398
2404
|
"text",
|
|
2399
2405
|
"tag"
|
|
2400
|
-
],
|
|
2406
|
+
], en = [
|
|
2401
2407
|
"id",
|
|
2402
2408
|
"data-margin",
|
|
2403
2409
|
"data-variant",
|
|
2404
2410
|
"data-emphasis",
|
|
2405
2411
|
"data-width"
|
|
2406
|
-
],
|
|
2412
|
+
], tn = /* @__PURE__ */ s({
|
|
2407
2413
|
name: "DBDivider",
|
|
2408
2414
|
__name: "divider",
|
|
2409
2415
|
props: {
|
|
@@ -2429,20 +2435,20 @@ var x = () => {
|
|
|
2429
2435
|
"data-emphasis": e.emphasis,
|
|
2430
2436
|
"data-width": e.width,
|
|
2431
2437
|
class: c(_(C)("db-divider", t.class))
|
|
2432
|
-
}, null, 10,
|
|
2438
|
+
}, null, 10, en));
|
|
2433
2439
|
}
|
|
2434
|
-
}),
|
|
2440
|
+
}), nn = ["none", "_"], rn = ["horizontal", "vertical"], an = [
|
|
2435
2441
|
"id",
|
|
2436
2442
|
"data-position",
|
|
2437
2443
|
"data-backdrop",
|
|
2438
2444
|
"data-direction",
|
|
2439
2445
|
"data-variant"
|
|
2440
|
-
],
|
|
2446
|
+
], on = [
|
|
2441
2447
|
"data-spacing",
|
|
2442
2448
|
"data-width",
|
|
2443
2449
|
"data-direction",
|
|
2444
2450
|
"data-rounded"
|
|
2445
|
-
],
|
|
2451
|
+
], sn = { class: "db-drawer-header" }, cn = { class: "db-drawer-header-text" }, ln = { class: "db-drawer-content" }, un = /* @__PURE__ */ s({
|
|
2446
2452
|
name: "DBDrawer",
|
|
2447
2453
|
__name: "drawer",
|
|
2448
2454
|
props: {
|
|
@@ -2504,7 +2510,7 @@ var x = () => {
|
|
|
2504
2510
|
s.value = e?.target?.nodeName === "DIALOG";
|
|
2505
2511
|
}
|
|
2506
2512
|
function x(e, n) {
|
|
2507
|
-
e && (
|
|
2513
|
+
e && (B(e) ? e.key === "Escape" && (e.preventDefault(), t.onClose && t.onClose(e)) : (n && (e.stopPropagation(), t.onClose && t.onClose(e)), e.target?.nodeName === "DIALOG" && e.type === "click" && t.backdrop !== "none" && s.value && t.onClose && t.onClose(e), s.value = !1));
|
|
2508
2514
|
}
|
|
2509
2515
|
function S() {
|
|
2510
2516
|
if (l.value) {
|
|
@@ -2536,7 +2542,7 @@ var x = () => {
|
|
|
2536
2542
|
"data-width": e.width,
|
|
2537
2543
|
"data-direction": e.direction,
|
|
2538
2544
|
"data-rounded": _(k)(e.rounded, "rounded")
|
|
2539
|
-
}, [i("header",
|
|
2545
|
+
}, [i("header", sn, [i("div", cn, [h(n.$slots, "drawer-header")]), o(Re, {
|
|
2540
2546
|
class: "button-close-drawer",
|
|
2541
2547
|
icon: "cross",
|
|
2542
2548
|
variant: "ghost",
|
|
@@ -2546,22 +2552,22 @@ var x = () => {
|
|
|
2546
2552
|
}, {
|
|
2547
2553
|
default: b(() => [a(g(e.closeButtonText ?? _("Close")), 1)]),
|
|
2548
2554
|
_: 1
|
|
2549
|
-
}, 8, ["id", "onClick"])]), i("div",
|
|
2555
|
+
}, 8, ["id", "onClick"])]), i("div", ln, [h(n.$slots, "default")])], 10, on)], 40, an));
|
|
2550
2556
|
}
|
|
2551
|
-
}),
|
|
2557
|
+
}), dn = [
|
|
2552
2558
|
"none",
|
|
2553
2559
|
"strong",
|
|
2554
2560
|
"weak",
|
|
2555
2561
|
"invisible"
|
|
2556
|
-
],
|
|
2562
|
+
], fn = [
|
|
2557
2563
|
"left",
|
|
2558
2564
|
"right",
|
|
2559
2565
|
"up",
|
|
2560
2566
|
"down"
|
|
2561
|
-
],
|
|
2567
|
+
], pn = ["modal", "inside"], mn = ["fixed", "absolute"], hn = (e) => {
|
|
2562
2568
|
let { target: t } = e;
|
|
2563
2569
|
return !!(!t?.classList?.contains("db-navigation-item-expand-button") && t?.parentElement?.classList.contains("db-navigation-item"));
|
|
2564
|
-
},
|
|
2570
|
+
}, gn = class {
|
|
2565
2571
|
element;
|
|
2566
2572
|
subNavigation;
|
|
2567
2573
|
parentSubNavigation = null;
|
|
@@ -2578,7 +2584,7 @@ var x = () => {
|
|
|
2578
2584
|
}
|
|
2579
2585
|
enableFollow() {
|
|
2580
2586
|
if (!this.initialized || this.triangleData || !this.element || !this.subNavigation) return;
|
|
2581
|
-
let e =
|
|
2587
|
+
let e = at(this.subNavigation), t = this.element.getBoundingClientRect(), n = this.parentSubNavigation?.getBoundingClientRect().width ?? 0;
|
|
2582
2588
|
this.triangleData = {
|
|
2583
2589
|
itemRect: t,
|
|
2584
2590
|
parentElementWidth: n,
|
|
@@ -2629,11 +2635,11 @@ var x = () => {
|
|
|
2629
2635
|
let t = this.hasMouseEnteredSubNavigation(), n = this.getTriangleCoordinates(t ? "fill-gap" : "safe-triangle");
|
|
2630
2636
|
n && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${n.lb}, ${n.lt}, ${n.rt}, ${n.rb})`), t && (this.triangleData = void 0));
|
|
2631
2637
|
}
|
|
2632
|
-
},
|
|
2638
|
+
}, _n = [
|
|
2633
2639
|
"id",
|
|
2634
2640
|
"data-width",
|
|
2635
2641
|
"data-on-forcing-mobile"
|
|
2636
|
-
],
|
|
2642
|
+
], vn = { class: "db-header-meta-navigation" }, yn = { class: "db-header-navigation-bar" }, bn = { class: "db-header-brand-container" }, xn = { class: "db-header-navigation-container" }, Sn = { class: "db-header-navigation" }, Cn = { class: "db-header-primary-action" }, wn = { class: "db-header-action-container" }, Tn = { class: "db-header-burger-menu-container" }, En = { class: "db-header-secondary-action" }, Dn = { class: "db-header-drawer-navigation" }, On = { class: "db-header-meta-navigation" }, kn = { class: "db-header-secondary-action" }, An = /* @__PURE__ */ s({
|
|
2637
2643
|
name: "DBHeader",
|
|
2638
2644
|
__name: "header",
|
|
2639
2645
|
props: {
|
|
@@ -2684,7 +2690,7 @@ var x = () => {
|
|
|
2684
2690
|
t.onToggle && t.onToggle(n);
|
|
2685
2691
|
}
|
|
2686
2692
|
function m(e) {
|
|
2687
|
-
|
|
2693
|
+
hn(e) && d();
|
|
2688
2694
|
}
|
|
2689
2695
|
return (n, u) => (f(), r("header", {
|
|
2690
2696
|
ref_key: "_ref",
|
|
@@ -2694,11 +2700,11 @@ var x = () => {
|
|
|
2694
2700
|
"data-width": e.width,
|
|
2695
2701
|
"data-on-forcing-mobile": e.forceMobile && !s.value
|
|
2696
2702
|
}, [
|
|
2697
|
-
i("div",
|
|
2698
|
-
i("div",
|
|
2699
|
-
i("div",
|
|
2700
|
-
i("div",
|
|
2701
|
-
i("div",
|
|
2703
|
+
i("div", vn, [h(n.$slots, "meta-navigation")]),
|
|
2704
|
+
i("div", yn, [
|
|
2705
|
+
i("div", bn, [h(n.$slots, "brand")]),
|
|
2706
|
+
i("div", xn, [i("div", Sn, [h(n.$slots, "default")]), i("div", Cn, [h(n.$slots, "primary-action")])]),
|
|
2707
|
+
i("div", wn, [i("div", Tn, [o(Re, {
|
|
2702
2708
|
icon: "menu",
|
|
2703
2709
|
variant: "ghost",
|
|
2704
2710
|
noText: !0,
|
|
@@ -2706,9 +2712,9 @@ var x = () => {
|
|
|
2706
2712
|
}, {
|
|
2707
2713
|
default: b(() => [a(g(e.burgerMenuLabel ?? _("BurgerMenu")), 1)]),
|
|
2708
2714
|
_: 1
|
|
2709
|
-
}, 8, ["onClick"])]), i("div",
|
|
2715
|
+
}, 8, ["onClick"])]), i("div", En, [h(n.$slots, "secondary-action")])])
|
|
2710
2716
|
]),
|
|
2711
|
-
o(
|
|
2717
|
+
o(un, {
|
|
2712
2718
|
class: "db-header-drawer",
|
|
2713
2719
|
spacing: "small",
|
|
2714
2720
|
rounded: !0,
|
|
@@ -2717,10 +2723,10 @@ var x = () => {
|
|
|
2717
2723
|
open: _(A)(e.drawerOpen),
|
|
2718
2724
|
onClose: (e) => d()
|
|
2719
2725
|
}, {
|
|
2720
|
-
default: b(() => [i("div",
|
|
2726
|
+
default: b(() => [i("div", Dn, [i("div", {
|
|
2721
2727
|
class: "db-header-navigation",
|
|
2722
2728
|
onClick: u[0] ||= async (e) => m(e)
|
|
2723
|
-
}, [h(n.$slots, "default")]), i("div",
|
|
2729
|
+
}, [h(n.$slots, "default")]), i("div", On, [h(n.$slots, "meta-navigation")])]), i("div", kn, [h(n.$slots, "secondary-action")])]),
|
|
2724
2730
|
_: 3
|
|
2725
2731
|
}, 8, [
|
|
2726
2732
|
"closeButtonId",
|
|
@@ -2728,14 +2734,14 @@ var x = () => {
|
|
|
2728
2734
|
"open",
|
|
2729
2735
|
"onClose"
|
|
2730
2736
|
])
|
|
2731
|
-
], 10,
|
|
2737
|
+
], 10, _n));
|
|
2732
2738
|
}
|
|
2733
|
-
}),
|
|
2739
|
+
}), jn = [
|
|
2734
2740
|
"id",
|
|
2735
2741
|
"data-icon",
|
|
2736
2742
|
"data-icon-weight",
|
|
2737
2743
|
"data-icon-variant"
|
|
2738
|
-
],
|
|
2744
|
+
], Mn = /* @__PURE__ */ s({
|
|
2739
2745
|
name: "DBIcon",
|
|
2740
2746
|
__name: "icon",
|
|
2741
2747
|
props: {
|
|
@@ -2761,16 +2767,16 @@ var x = () => {
|
|
|
2761
2767
|
"data-icon": t.icon,
|
|
2762
2768
|
"data-icon-weight": t.weight,
|
|
2763
2769
|
"data-icon-variant": t.variant
|
|
2764
|
-
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10,
|
|
2770
|
+
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, jn));
|
|
2765
2771
|
}
|
|
2766
|
-
}),
|
|
2772
|
+
}), Nn = [
|
|
2767
2773
|
"16",
|
|
2768
2774
|
"20",
|
|
2769
2775
|
"24",
|
|
2770
2776
|
"32",
|
|
2771
2777
|
"48",
|
|
2772
2778
|
"64"
|
|
2773
|
-
],
|
|
2779
|
+
], Pn = [
|
|
2774
2780
|
"color",
|
|
2775
2781
|
"date",
|
|
2776
2782
|
"datetime-local",
|
|
@@ -2787,7 +2793,7 @@ var x = () => {
|
|
|
2787
2793
|
"time",
|
|
2788
2794
|
"url",
|
|
2789
2795
|
"week"
|
|
2790
|
-
],
|
|
2796
|
+
], Fn = [
|
|
2791
2797
|
"id",
|
|
2792
2798
|
"href",
|
|
2793
2799
|
"target",
|
|
@@ -2802,7 +2808,7 @@ var x = () => {
|
|
|
2802
2808
|
"data-variant",
|
|
2803
2809
|
"data-content",
|
|
2804
2810
|
"data-wrap"
|
|
2805
|
-
],
|
|
2811
|
+
], In = /* @__PURE__ */ s({
|
|
2806
2812
|
name: "DBLink",
|
|
2807
2813
|
__name: "link",
|
|
2808
2814
|
props: {
|
|
@@ -2865,13 +2871,13 @@ var x = () => {
|
|
|
2865
2871
|
"data-content": t.content || "internal",
|
|
2866
2872
|
"data-wrap": _(k)(t.wrap, "wrap"),
|
|
2867
2873
|
onClick: u[0] ||= async (e) => s(e)
|
|
2868
|
-
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(l.$slots, "default")], 10,
|
|
2874
|
+
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(l.$slots, "default")], 10, Fn));
|
|
2869
2875
|
}
|
|
2870
|
-
}),
|
|
2876
|
+
}), Ln = [
|
|
2871
2877
|
"adaptive",
|
|
2872
2878
|
"brand",
|
|
2873
2879
|
"inline"
|
|
2874
|
-
],
|
|
2880
|
+
], Rn = ["medium", "small"], zn = ["external", "internal"], Bn = ["id"], Vn = /* @__PURE__ */ s({
|
|
2875
2881
|
name: "DBNavigation",
|
|
2876
2882
|
__name: "navigation",
|
|
2877
2883
|
props: {
|
|
@@ -2889,9 +2895,9 @@ var x = () => {
|
|
|
2889
2895
|
ref: n,
|
|
2890
2896
|
id: e.id ?? e.propOverrides?.id,
|
|
2891
2897
|
class: c(_(C)("db-navigation", t.class))
|
|
2892
|
-
}, [i("menu", null, [h(a.$slots, "default")])], 10,
|
|
2898
|
+
}, [i("menu", null, [h(a.$slots, "default")])], 10, Bn));
|
|
2893
2899
|
}
|
|
2894
|
-
}),
|
|
2900
|
+
}), Hn = [
|
|
2895
2901
|
"id",
|
|
2896
2902
|
"data-width",
|
|
2897
2903
|
"data-icon",
|
|
@@ -2899,20 +2905,20 @@ var x = () => {
|
|
|
2899
2905
|
"data-active",
|
|
2900
2906
|
"data-wrap",
|
|
2901
2907
|
"aria-disabled"
|
|
2902
|
-
],
|
|
2908
|
+
], Un = [
|
|
2903
2909
|
"id",
|
|
2904
2910
|
"aria-haspopup",
|
|
2905
2911
|
"aria-expanded",
|
|
2906
2912
|
"aria-controls",
|
|
2907
2913
|
"disabled"
|
|
2908
|
-
],
|
|
2914
|
+
], Wn = [
|
|
2909
2915
|
"id",
|
|
2910
2916
|
"aria-labelledby",
|
|
2911
2917
|
"data-force-close"
|
|
2912
|
-
],
|
|
2918
|
+
], Gn = {
|
|
2913
2919
|
key: 0,
|
|
2914
2920
|
class: "db-mobile-navigation-back"
|
|
2915
|
-
},
|
|
2921
|
+
}, Kn = /* @__PURE__ */ s({
|
|
2916
2922
|
name: "DBNavigationItem",
|
|
2917
2923
|
__name: "navigation-item",
|
|
2918
2924
|
props: {
|
|
@@ -2972,7 +2978,7 @@ var x = () => {
|
|
|
2972
2978
|
}), y(() => [d.value, j.value], () => {
|
|
2973
2979
|
if (d.value && j.value) {
|
|
2974
2980
|
let e = j.value.querySelector("menu");
|
|
2975
|
-
e && (e.children?.length > 0 ? (m.value = !0, T.value ||= new
|
|
2981
|
+
e && (e.children?.length > 0 ? (m.value = !0, T.value ||= new gn(j.value, e)) : x.value = !1);
|
|
2976
2982
|
}
|
|
2977
2983
|
}, {
|
|
2978
2984
|
immediate: !0,
|
|
@@ -3011,13 +3017,13 @@ var x = () => {
|
|
|
3011
3017
|
"aria-controls": E.value,
|
|
3012
3018
|
disabled: _(A)(t.disabled, "disabled"),
|
|
3013
3019
|
onClick: u[0] ||= async (e) => N(e)
|
|
3014
|
-
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : h(s.$slots, "default", { key: 1 })], 8,
|
|
3020
|
+
}, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : h(s.$slots, "default", { key: 1 })], 8, Un), i("menu", {
|
|
3015
3021
|
class: "db-sub-navigation",
|
|
3016
3022
|
id: E.value,
|
|
3017
3023
|
"aria-labelledby": D.value,
|
|
3018
3024
|
"data-force-close": w.value,
|
|
3019
3025
|
onClick: u[1] ||= async (e) => M(e)
|
|
3020
|
-
}, [m.value ? (f(), r("div",
|
|
3026
|
+
}, [m.value ? (f(), r("div", Gn, [o(Re, {
|
|
3021
3027
|
icon: "arrow_left",
|
|
3022
3028
|
variant: "ghost",
|
|
3023
3029
|
id: t.backButtonId,
|
|
@@ -3025,9 +3031,9 @@ var x = () => {
|
|
|
3025
3031
|
}, {
|
|
3026
3032
|
default: b(() => [a(g(t.backButtonText ?? _("Back")), 1)]),
|
|
3027
3033
|
_: 1
|
|
3028
|
-
}, 8, ["id", "onClick"])])) : n("", !0), h(s.$slots, "sub-navigation")], 8,
|
|
3034
|
+
}, 8, ["id", "onClick"])])) : n("", !0), h(s.$slots, "sub-navigation")], 8, Wn)], 64)) : (f(), r(e, { key: 1 }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : h(s.$slots, "default", { key: 1 })], 64))], 42, Hn));
|
|
3029
3035
|
}
|
|
3030
|
-
}),
|
|
3036
|
+
}), qn = [
|
|
3031
3037
|
"id",
|
|
3032
3038
|
"role",
|
|
3033
3039
|
"aria-live",
|
|
@@ -3036,10 +3042,10 @@ var x = () => {
|
|
|
3036
3042
|
"data-icon",
|
|
3037
3043
|
"data-show-icon",
|
|
3038
3044
|
"data-link-variant"
|
|
3039
|
-
],
|
|
3045
|
+
], Jn = {
|
|
3040
3046
|
key: 0,
|
|
3041
3047
|
"data-area": "head"
|
|
3042
|
-
},
|
|
3048
|
+
}, Yn = { "data-area": "content" }, Xn = ["dateTime"], Zn = /* @__PURE__ */ s({
|
|
3043
3049
|
name: "DBNotification",
|
|
3044
3050
|
__name: "notification",
|
|
3045
3051
|
props: {
|
|
@@ -3095,7 +3101,7 @@ var x = () => {
|
|
|
3095
3101
|
ref: l,
|
|
3096
3102
|
id: o.id ?? o.propOverrides?.id,
|
|
3097
3103
|
class: c(_(C)("db-notification", s.class)),
|
|
3098
|
-
role: _(
|
|
3104
|
+
role: _(V)({
|
|
3099
3105
|
semantic: o.semantic,
|
|
3100
3106
|
role: o.role,
|
|
3101
3107
|
ariaLive: o.ariaLive
|
|
@@ -3108,15 +3114,15 @@ var x = () => {
|
|
|
3108
3114
|
"data-link-variant": o.linkVariant
|
|
3109
3115
|
}, [
|
|
3110
3116
|
h(d.$slots, "image"),
|
|
3111
|
-
_(I)(o.headline, o.showHeadline) ? (f(), r("header",
|
|
3112
|
-
i("div",
|
|
3117
|
+
_(I)(o.headline, o.showHeadline) ? (f(), r("header", Jn, g(o.headline), 1)) : n("", !0),
|
|
3118
|
+
i("div", Yn, [o.text ? (f(), r(e, { key: 0 }, [a(g(o.text), 1)], 64)) : n("", !0), h(d.$slots, "default")]),
|
|
3113
3119
|
_(I)(o.timestamp, o.showTimestamp) ? (f(), r("time", {
|
|
3114
3120
|
key: 1,
|
|
3115
3121
|
"data-area": "timestamp",
|
|
3116
3122
|
dateTime: o.timestampDatetime
|
|
3117
|
-
}, g(o.timestamp), 9,
|
|
3123
|
+
}, g(o.timestamp), 9, Xn)) : n("", !0),
|
|
3118
3124
|
h(d.$slots, "link"),
|
|
3119
|
-
_(A)(o.closeable, "closeable") ? (f(), t(
|
|
3125
|
+
_(A)(o.closeable, "closeable") ? (f(), t(Re, {
|
|
3120
3126
|
key: 2,
|
|
3121
3127
|
icon: "cross",
|
|
3122
3128
|
variant: "ghost",
|
|
@@ -3128,22 +3134,22 @@ var x = () => {
|
|
|
3128
3134
|
default: b(() => [a(g(o.closeButtonText ?? _("Close")), 1)]),
|
|
3129
3135
|
_: 1
|
|
3130
3136
|
}, 8, ["id", "onClick"])) : n("", !0)
|
|
3131
|
-
], 10,
|
|
3137
|
+
], 10, qn));
|
|
3132
3138
|
}
|
|
3133
|
-
}),
|
|
3139
|
+
}), Qn = [
|
|
3134
3140
|
"docked",
|
|
3135
3141
|
"standalone",
|
|
3136
3142
|
"overlay"
|
|
3137
|
-
],
|
|
3143
|
+
], $n = ["block", "inline"], er = [
|
|
3138
3144
|
"assertive",
|
|
3139
3145
|
"polite",
|
|
3140
3146
|
"off"
|
|
3141
|
-
],
|
|
3147
|
+
], tr = [
|
|
3142
3148
|
"id",
|
|
3143
3149
|
"data-variant",
|
|
3144
3150
|
"data-fade-in",
|
|
3145
3151
|
"data-fonts-loaded"
|
|
3146
|
-
],
|
|
3152
|
+
], nr = /* @__PURE__ */ s({
|
|
3147
3153
|
name: "DBPage",
|
|
3148
3154
|
__name: "page",
|
|
3149
3155
|
props: {
|
|
@@ -3183,9 +3189,9 @@ var x = () => {
|
|
|
3183
3189
|
h(o.$slots, "header"),
|
|
3184
3190
|
i("main", { class: c(_(C)("db-main", e.mainClass)) }, [h(o.$slots, "default")], 2),
|
|
3185
3191
|
h(o.$slots, "footer")
|
|
3186
|
-
], 10,
|
|
3192
|
+
], 10, tr));
|
|
3187
3193
|
}
|
|
3188
|
-
}),
|
|
3194
|
+
}), rr = ["auto", "fixed"], ir = ["hidden", "auto"], ar = ["id"], or = [
|
|
3189
3195
|
"data-spacing",
|
|
3190
3196
|
"data-gap",
|
|
3191
3197
|
"data-animation",
|
|
@@ -3193,7 +3199,7 @@ var x = () => {
|
|
|
3193
3199
|
"data-delay",
|
|
3194
3200
|
"data-width",
|
|
3195
3201
|
"data-placement"
|
|
3196
|
-
],
|
|
3202
|
+
], sr = /* @__PURE__ */ s({
|
|
3197
3203
|
name: "DBPopover",
|
|
3198
3204
|
__name: "popover",
|
|
3199
3205
|
props: {
|
|
@@ -3257,21 +3263,21 @@ var x = () => {
|
|
|
3257
3263
|
if (!l.value) return;
|
|
3258
3264
|
let e = l.value.querySelector("article");
|
|
3259
3265
|
e && O(() => {
|
|
3260
|
-
|
|
3266
|
+
dt(e, l.value, t.placement ?? "bottom");
|
|
3261
3267
|
}, 1);
|
|
3262
3268
|
}
|
|
3263
3269
|
function g(e) {
|
|
3264
3270
|
e?.target?.contains && e?.target?.contains(l.value) && m();
|
|
3265
3271
|
}
|
|
3266
3272
|
function v() {
|
|
3267
|
-
a.value = !0, o.value = new
|
|
3273
|
+
a.value = !0, o.value = new rt().addCallback((e) => g(e)), m();
|
|
3268
3274
|
let e = x();
|
|
3269
3275
|
e && s.value?.observe(e);
|
|
3270
3276
|
}
|
|
3271
3277
|
function b(e) {
|
|
3272
3278
|
let t = e?.target;
|
|
3273
3279
|
if (!t?.parentNode || t.parentNode.querySelector(":focus") !== t && t.parentNode.querySelector(":focus-within") !== t && t.parentNode.querySelector(":hover") !== t) {
|
|
3274
|
-
a.value = !1, o.value && new
|
|
3280
|
+
a.value = !1, o.value && new rt().removeCallback(o.value);
|
|
3275
3281
|
let e = x();
|
|
3276
3282
|
e && s.value?.unobserve(e);
|
|
3277
3283
|
}
|
|
@@ -3300,14 +3306,14 @@ var x = () => {
|
|
|
3300
3306
|
"data-delay": e.delay,
|
|
3301
3307
|
"data-width": e.width,
|
|
3302
3308
|
"data-placement": e.placement
|
|
3303
|
-
}, [h(n.$slots, "default")], 8,
|
|
3309
|
+
}, [h(n.$slots, "default")], 8, or)], 10, ar));
|
|
3304
3310
|
}
|
|
3305
|
-
}),
|
|
3311
|
+
}), cr = [
|
|
3306
3312
|
"data-size",
|
|
3307
3313
|
"data-hide-label",
|
|
3308
3314
|
"data-hide-asterisk",
|
|
3309
3315
|
"for"
|
|
3310
|
-
],
|
|
3316
|
+
], lr = [
|
|
3311
3317
|
"aria-invalid",
|
|
3312
3318
|
"data-custom-validity",
|
|
3313
3319
|
"id",
|
|
@@ -3316,7 +3322,7 @@ var x = () => {
|
|
|
3316
3322
|
"disabled",
|
|
3317
3323
|
"value",
|
|
3318
3324
|
"required"
|
|
3319
|
-
],
|
|
3325
|
+
], ur = /* @__PURE__ */ s({
|
|
3320
3326
|
name: "DBRadio",
|
|
3321
3327
|
__name: "radio",
|
|
3322
3328
|
props: {
|
|
@@ -3401,7 +3407,7 @@ var x = () => {
|
|
|
3401
3407
|
}), y(() => [w.value], () => {
|
|
3402
3408
|
if (w.value) {
|
|
3403
3409
|
let e = S.value;
|
|
3404
|
-
e || (e = new AbortController(), S.value = e),
|
|
3410
|
+
e || (e = new AbortController(), S.value = e), Ge(w.value, (e) => {
|
|
3405
3411
|
O(() => {
|
|
3406
3412
|
let t = m.checked ? m.checked : w.value.checked, n = {
|
|
3407
3413
|
...e,
|
|
@@ -3457,16 +3463,16 @@ var x = () => {
|
|
|
3457
3463
|
onChange: s[1] ||= async (e) => E(e),
|
|
3458
3464
|
onBlur: s[2] ||= async (e) => D(e),
|
|
3459
3465
|
onFocus: s[3] ||= async (e) => k(e)
|
|
3460
|
-
}, null, 40,
|
|
3466
|
+
}, null, 40, lr),
|
|
3461
3467
|
t.label ? (f(), r(e, { key: 0 }, [a(g(t.label), 1)], 64)) : n("", !0),
|
|
3462
3468
|
h(o.$slots, "default")
|
|
3463
|
-
], 10,
|
|
3469
|
+
], 10, cr));
|
|
3464
3470
|
}
|
|
3465
|
-
}),
|
|
3471
|
+
}), dr = [
|
|
3466
3472
|
"id",
|
|
3467
3473
|
"data-spacing",
|
|
3468
3474
|
"data-width"
|
|
3469
|
-
],
|
|
3475
|
+
], fr = /* @__PURE__ */ s({
|
|
3470
3476
|
name: "DBSection",
|
|
3471
3477
|
__name: "section",
|
|
3472
3478
|
props: {
|
|
@@ -3488,15 +3494,15 @@ var x = () => {
|
|
|
3488
3494
|
class: c(_(C)("db-section", t.class)),
|
|
3489
3495
|
"data-spacing": e.spacing || "medium",
|
|
3490
3496
|
"data-width": e.width
|
|
3491
|
-
}, [h(i.$slots, "default")], 10,
|
|
3497
|
+
}, [h(i.$slots, "default")], 10, dr));
|
|
3492
3498
|
}
|
|
3493
|
-
}),
|
|
3499
|
+
}), pr = [
|
|
3494
3500
|
"data-variant",
|
|
3495
3501
|
"data-hide-label",
|
|
3496
3502
|
"data-hide-asterisk",
|
|
3497
3503
|
"data-icon",
|
|
3498
3504
|
"data-show-icon"
|
|
3499
|
-
],
|
|
3505
|
+
], mr = ["for"], hr = [
|
|
3500
3506
|
"aria-invalid",
|
|
3501
3507
|
"data-custom-validity",
|
|
3502
3508
|
"required",
|
|
@@ -3508,18 +3514,18 @@ var x = () => {
|
|
|
3508
3514
|
"autocomplete",
|
|
3509
3515
|
"multiple",
|
|
3510
3516
|
"aria-describedby"
|
|
3511
|
-
],
|
|
3517
|
+
], gr = ["data-show-empty-option"], _r = ["label"], vr = [
|
|
3512
3518
|
"value",
|
|
3513
3519
|
"selected",
|
|
3514
3520
|
"disabled"
|
|
3515
|
-
],
|
|
3521
|
+
], yr = [
|
|
3516
3522
|
"value",
|
|
3517
3523
|
"disabled",
|
|
3518
3524
|
"selected"
|
|
3519
|
-
],
|
|
3525
|
+
], br = ["id"], xr = {
|
|
3520
3526
|
"data-visually-hidden": "true",
|
|
3521
3527
|
role: "status"
|
|
3522
|
-
},
|
|
3528
|
+
}, Sr = /* @__PURE__ */ s({
|
|
3523
3529
|
name: "DBSelect",
|
|
3524
3530
|
__name: "select",
|
|
3525
3531
|
props: {
|
|
@@ -3610,11 +3616,11 @@ var x = () => {
|
|
|
3610
3616
|
setup(s, { emit: l }) {
|
|
3611
3617
|
let x = v(), S = l, w = s, T = p(void 0), D = p(void 0), j = p(void 0), M = p(void 0), N = p(void 0), P = p(""), L = p(void 0), R = p(""), z = p(!1), B = p(""), V = p(void 0), H = p(null);
|
|
3612
3618
|
u(() => {
|
|
3613
|
-
z.value = !0,
|
|
3619
|
+
z.value = !0, K(), N.value = w.invalidMessage || "TODO: Add an invalidMessage";
|
|
3614
3620
|
}), d(() => {
|
|
3615
3621
|
V.value?.abort();
|
|
3616
3622
|
}), y(() => [w.id, w.propOverrides?.id], () => {
|
|
3617
|
-
(w.id ?? w.propOverrides?.id) &&
|
|
3623
|
+
(w.id ?? w.propOverrides?.id) && K();
|
|
3618
3624
|
}, {
|
|
3619
3625
|
immediate: !0,
|
|
3620
3626
|
flush: "post"
|
|
@@ -3625,8 +3631,8 @@ var x = () => {
|
|
|
3625
3631
|
flush: "post"
|
|
3626
3632
|
}), y(() => [T.value, z.value], () => {
|
|
3627
3633
|
if (T.value && z.value) {
|
|
3628
|
-
let e = T.value + q, t = T.value +
|
|
3629
|
-
D.value = e, j.value = T.value + J, M.value = T.value +
|
|
3634
|
+
let e = T.value + q, t = T.value + le;
|
|
3635
|
+
D.value = e, j.value = T.value + J, M.value = T.value + ce, P.value = t, I(w.message, w.showMessage) ? L.value = e : w.placeholder ? L.value = t : L.value = void 0, U(), z.value = !1;
|
|
3630
3636
|
}
|
|
3631
3637
|
}, {
|
|
3632
3638
|
immediate: !0,
|
|
@@ -3639,47 +3645,47 @@ var x = () => {
|
|
|
3639
3645
|
}), y(() => [H.value], () => {
|
|
3640
3646
|
if (H.value) {
|
|
3641
3647
|
let e = V.value;
|
|
3642
|
-
e || (e = new AbortController(), V.value = e),
|
|
3648
|
+
e || (e = new AbortController(), V.value = e), qe(H.value, {
|
|
3643
3649
|
value: w.value,
|
|
3644
3650
|
defaultValue: void 0
|
|
3645
3651
|
}, (e) => {
|
|
3646
|
-
|
|
3652
|
+
ne(e, !0), W(e, !0);
|
|
3647
3653
|
}, e.signal);
|
|
3648
3654
|
}
|
|
3649
3655
|
}, {
|
|
3650
3656
|
immediate: !0,
|
|
3651
3657
|
flush: "post"
|
|
3652
3658
|
});
|
|
3653
|
-
function
|
|
3659
|
+
function ee() {
|
|
3654
3660
|
return !!(w.validMessage ?? w.validation === "valid");
|
|
3655
3661
|
}
|
|
3656
|
-
function
|
|
3657
|
-
!H.value?.validity.valid || w.validation === "invalid" ? (L.value = M.value, N.value = w.invalidMessage || H.value?.validationMessage || "TODO: Add an invalidMessage", E() && (B.value = N.value, O(() => B.value = "", 1e3))) :
|
|
3662
|
+
function U() {
|
|
3663
|
+
!H.value?.validity.valid || w.validation === "invalid" ? (L.value = M.value, N.value = w.invalidMessage || H.value?.validationMessage || "TODO: Add an invalidMessage", E() && (B.value = N.value, O(() => B.value = "", 1e3))) : ee() && H.value?.validity.valid && w.required ? (L.value = j.value, E() && (B.value = w.validMessage ?? "TODO: Add a validMessage", O(() => B.value = "", 1e3))) : I(w.message, w.showMessage) ? L.value = D.value : w.placeholder ? L.value = P.value : L.value = void 0;
|
|
3658
3664
|
}
|
|
3659
|
-
function
|
|
3665
|
+
function te(e) {
|
|
3660
3666
|
w.onClick && w.onClick(e);
|
|
3661
3667
|
}
|
|
3662
|
-
function
|
|
3663
|
-
w.input && w.input(e), R.value = e.target.value, w.onInput && w.onInput(e), Q(S, e),
|
|
3668
|
+
function W(e, t) {
|
|
3669
|
+
w.input && w.input(e), R.value = e.target.value, w.onInput && w.onInput(e), Q(S, e), U();
|
|
3664
3670
|
}
|
|
3665
|
-
function
|
|
3666
|
-
w.onChange && w.onChange(e), Q(S, e),
|
|
3671
|
+
function ne(e, t) {
|
|
3672
|
+
w.onChange && w.onChange(e), Q(S, e), U();
|
|
3667
3673
|
}
|
|
3668
|
-
function
|
|
3674
|
+
function re(e) {
|
|
3669
3675
|
w.onBlur && w.onBlur(e);
|
|
3670
3676
|
}
|
|
3671
|
-
function
|
|
3677
|
+
function G(e) {
|
|
3672
3678
|
w.onFocus && w.onFocus(e);
|
|
3673
3679
|
}
|
|
3674
|
-
function
|
|
3680
|
+
function ie(e) {
|
|
3675
3681
|
return e.label ?? e.value?.toString();
|
|
3676
3682
|
}
|
|
3677
|
-
function
|
|
3683
|
+
function ae() {
|
|
3678
3684
|
return w.variant === "floating" || w.placeholder ? w.showEmptyOption === void 0 ? !w.required : w.showEmptyOption : !1;
|
|
3679
3685
|
}
|
|
3680
|
-
function
|
|
3686
|
+
function K() {
|
|
3681
3687
|
let e = w.id ?? w.propOverrides?.id ?? `select-${x}`;
|
|
3682
|
-
T.value = e, D.value = e + q, j.value = e + J, M.value = e +
|
|
3688
|
+
T.value = e, D.value = e + q, j.value = e + J, M.value = e + ce, P.value = e + le;
|
|
3683
3689
|
}
|
|
3684
3690
|
return (l, u) => (f(), r("div", {
|
|
3685
3691
|
class: c(_(C)("db-select", w.class)),
|
|
@@ -3689,7 +3695,7 @@ var x = () => {
|
|
|
3689
3695
|
"data-icon": s.icon,
|
|
3690
3696
|
"data-show-icon": _(k)(s.showIcon, "showIcon")
|
|
3691
3697
|
}, [
|
|
3692
|
-
i("label", { for: T.value }, g(s.label ?? _("LABEL SHOULD BE SET")), 9,
|
|
3698
|
+
i("label", { for: T.value }, g(s.label ?? _("LABEL SHOULD BE SET")), 9, mr),
|
|
3693
3699
|
i("select", {
|
|
3694
3700
|
"aria-invalid": s.validation === "invalid",
|
|
3695
3701
|
"data-custom-validity": s.validation,
|
|
@@ -3703,36 +3709,36 @@ var x = () => {
|
|
|
3703
3709
|
value: s.value ?? R.value ?? "",
|
|
3704
3710
|
autocomplete: s.autocomplete,
|
|
3705
3711
|
multiple: s.multiple,
|
|
3706
|
-
onInput: u[0] ||= async (e) =>
|
|
3707
|
-
onClick: u[1] ||= async (e) =>
|
|
3708
|
-
onChange: u[2] ||= async (e) =>
|
|
3709
|
-
onBlur: u[3] ||= async (e) =>
|
|
3710
|
-
onFocus: u[4] ||= async (e) =>
|
|
3712
|
+
onInput: u[0] ||= async (e) => W(e),
|
|
3713
|
+
onClick: u[1] ||= async (e) => te(e),
|
|
3714
|
+
onChange: u[2] ||= async (e) => ne(e),
|
|
3715
|
+
onBlur: u[3] ||= async (e) => re(e),
|
|
3716
|
+
onFocus: u[4] ||= async (e) => G(e),
|
|
3711
3717
|
"aria-describedby": s.ariaDescribedBy ?? L.value
|
|
3712
3718
|
}, [s.variant === "floating" || s.placeholder ? (f(), r("option", {
|
|
3713
3719
|
key: 0,
|
|
3714
3720
|
class: "placeholder",
|
|
3715
3721
|
value: "",
|
|
3716
|
-
"data-show-empty-option": _(k)(
|
|
3717
|
-
}, null, 8,
|
|
3722
|
+
"data-show-empty-option": _(k)(ae(), "showEmptyOption")
|
|
3723
|
+
}, null, 8, gr)) : n("", !0), s.options?.length ? (f(!0), r(e, { key: 1 }, m(s.options, (t, n) => (f(), r(e, { key: n }, [t.options ? (f(), r("optgroup", {
|
|
3718
3724
|
key: 0,
|
|
3719
|
-
label:
|
|
3725
|
+
label: ie(t)
|
|
3720
3726
|
}, [(f(!0), r(e, null, m(t.options, (e, t) => (f(), r("option", {
|
|
3721
3727
|
key: t,
|
|
3722
3728
|
value: e.value,
|
|
3723
3729
|
selected: e.selected,
|
|
3724
3730
|
disabled: e.disabled
|
|
3725
|
-
}, g(
|
|
3731
|
+
}, g(ie(e)), 9, vr))), 128))], 8, _r)) : (f(), r("option", {
|
|
3726
3732
|
key: 1,
|
|
3727
3733
|
value: t.value,
|
|
3728
3734
|
disabled: t.disabled,
|
|
3729
3735
|
selected: t.selected
|
|
3730
|
-
}, g(
|
|
3736
|
+
}, g(ie(t)), 9, yr))], 64))), 128)) : h(l.$slots, "default", { key: 2 })], 40, hr),
|
|
3731
3737
|
s.placeholder ? (f(), r("span", {
|
|
3732
3738
|
key: 0,
|
|
3733
3739
|
class: "db-select-placeholder",
|
|
3734
3740
|
id: P.value
|
|
3735
|
-
}, g(s.placeholder), 9,
|
|
3741
|
+
}, g(s.placeholder), 9, br)) : n("", !0),
|
|
3736
3742
|
_(I)(s.message, s.showMessage) ? (f(), t($, {
|
|
3737
3743
|
key: 1,
|
|
3738
3744
|
size: "small",
|
|
@@ -3742,7 +3748,7 @@ var x = () => {
|
|
|
3742
3748
|
default: b(() => [a(g(s.message), 1)]),
|
|
3743
3749
|
_: 1
|
|
3744
3750
|
}, 8, ["icon", "id"])) : n("", !0),
|
|
3745
|
-
|
|
3751
|
+
ee() ? (f(), t($, {
|
|
3746
3752
|
key: 2,
|
|
3747
3753
|
size: "small",
|
|
3748
3754
|
semantic: "successful",
|
|
@@ -3759,10 +3765,10 @@ var x = () => {
|
|
|
3759
3765
|
default: b(() => [a(g(N.value), 1)]),
|
|
3760
3766
|
_: 1
|
|
3761
3767
|
}, 8, ["id"]),
|
|
3762
|
-
i("span",
|
|
3763
|
-
], 10,
|
|
3768
|
+
i("span", xr, g(B.value), 1)
|
|
3769
|
+
], 10, pr));
|
|
3764
3770
|
}
|
|
3765
|
-
}),
|
|
3771
|
+
}), Cr = [
|
|
3766
3772
|
"id",
|
|
3767
3773
|
"data-gap",
|
|
3768
3774
|
"data-variant",
|
|
@@ -3770,7 +3776,7 @@ var x = () => {
|
|
|
3770
3776
|
"data-alignment",
|
|
3771
3777
|
"data-justify-content",
|
|
3772
3778
|
"data-wrap"
|
|
3773
|
-
],
|
|
3779
|
+
], wr = /* @__PURE__ */ s({
|
|
3774
3780
|
name: "DBStack",
|
|
3775
3781
|
__name: "stack",
|
|
3776
3782
|
props: {
|
|
@@ -3803,26 +3809,26 @@ var x = () => {
|
|
|
3803
3809
|
"data-alignment": e.alignment,
|
|
3804
3810
|
"data-justify-content": e.justifyContent,
|
|
3805
3811
|
"data-wrap": _(k)(e.wrap, "wrap")
|
|
3806
|
-
}, [h(i.$slots, "default")], 10,
|
|
3812
|
+
}, [h(i.$slots, "default")], 10, Cr));
|
|
3807
3813
|
}
|
|
3808
|
-
}),
|
|
3814
|
+
}), Tr = ["simple", "divider"], Er = ["row", "column"], Dr = [
|
|
3809
3815
|
"stretch",
|
|
3810
3816
|
"start",
|
|
3811
3817
|
"end",
|
|
3812
3818
|
"center"
|
|
3813
|
-
],
|
|
3819
|
+
], Or = [
|
|
3814
3820
|
"space-between",
|
|
3815
3821
|
"start",
|
|
3816
3822
|
"end",
|
|
3817
3823
|
"center"
|
|
3818
|
-
],
|
|
3824
|
+
], kr = [
|
|
3819
3825
|
"data-visual-aid",
|
|
3820
3826
|
"data-size",
|
|
3821
3827
|
"data-hide-label",
|
|
3822
3828
|
"data-variant",
|
|
3823
3829
|
"data-hide-asterisk",
|
|
3824
3830
|
"data-custom-validity"
|
|
3825
|
-
],
|
|
3831
|
+
], Ar = ["for"], jr = [
|
|
3826
3832
|
"id",
|
|
3827
3833
|
"checked",
|
|
3828
3834
|
"value",
|
|
@@ -3833,10 +3839,10 @@ var x = () => {
|
|
|
3833
3839
|
"required",
|
|
3834
3840
|
"data-aid-icon",
|
|
3835
3841
|
"data-aid-icon-trailing"
|
|
3836
|
-
],
|
|
3842
|
+
], Mr = {
|
|
3837
3843
|
"data-visually-hidden": "true",
|
|
3838
3844
|
role: "status"
|
|
3839
|
-
},
|
|
3845
|
+
}, Nr = /* @__PURE__ */ s({
|
|
3840
3846
|
name: "DBSwitch",
|
|
3841
3847
|
__name: "switch",
|
|
3842
3848
|
props: {
|
|
@@ -3911,11 +3917,11 @@ var x = () => {
|
|
|
3911
3917
|
setup(s, { emit: l }) {
|
|
3912
3918
|
let m = v(), x = l, S = s, w = p(void 0), T = p(void 0), D = p(void 0), j = p(void 0), M = p(void 0), N = p(void 0), P = p(""), L = p(void 0), R = p(null);
|
|
3913
3919
|
u(() => {
|
|
3914
|
-
|
|
3920
|
+
te(), B(), M.value = S.invalidMessage || "TODO: Add an invalidMessage";
|
|
3915
3921
|
}), d(() => {
|
|
3916
3922
|
L.value?.abort();
|
|
3917
3923
|
}), y(() => [S.id, S.propOverrides?.id], () => {
|
|
3918
|
-
(S.id ?? S.propOverrides?.id) &&
|
|
3924
|
+
(S.id ?? S.propOverrides?.id) && te();
|
|
3919
3925
|
}, {
|
|
3920
3926
|
immediate: !0,
|
|
3921
3927
|
flush: "post"
|
|
@@ -3940,7 +3946,7 @@ var x = () => {
|
|
|
3940
3946
|
}), y(() => [R.value], () => {
|
|
3941
3947
|
if (R.value) {
|
|
3942
3948
|
let e = L.value;
|
|
3943
|
-
e || (e = new AbortController(), L.value = e),
|
|
3949
|
+
e || (e = new AbortController(), L.value = e), Ke(R.value, {
|
|
3944
3950
|
checked: S.checked,
|
|
3945
3951
|
defaultChecked: void 0
|
|
3946
3952
|
}, (e) => {
|
|
@@ -3979,15 +3985,15 @@ var x = () => {
|
|
|
3979
3985
|
function H(e) {
|
|
3980
3986
|
S.onBlur && S.onBlur(e);
|
|
3981
3987
|
}
|
|
3982
|
-
function
|
|
3988
|
+
function ee(e) {
|
|
3983
3989
|
S.onFocus && S.onFocus(e);
|
|
3984
3990
|
}
|
|
3985
|
-
function
|
|
3991
|
+
function U(e) {
|
|
3986
3992
|
e.key === "Enter" && (e.preventDefault(), S.disabled || R.value?.click());
|
|
3987
3993
|
}
|
|
3988
|
-
function
|
|
3994
|
+
function te() {
|
|
3989
3995
|
let e = S.id ?? S.propOverrides?.id ?? `switch-${m}`;
|
|
3990
|
-
w.value = e, T.value = `${e}${q}`, D.value = `${e}${J}`, j.value = `${e}${
|
|
3996
|
+
w.value = e, T.value = `${e}${q}`, D.value = `${e}${J}`, j.value = `${e}${ce}`;
|
|
3991
3997
|
}
|
|
3992
3998
|
return (l, u) => (f(), r("div", {
|
|
3993
3999
|
"data-visual-aid": _(k)(s.visualAid, "visualAid"),
|
|
@@ -4016,12 +4022,12 @@ var x = () => {
|
|
|
4016
4022
|
"data-aid-icon-trailing": s.iconTrailing,
|
|
4017
4023
|
onChange: u[0] ||= async (e) => V(e),
|
|
4018
4024
|
onBlur: u[1] ||= async (e) => H(e),
|
|
4019
|
-
onFocus: u[2] ||= async (e) =>
|
|
4020
|
-
onKeydown: u[3] ||= async (e) =>
|
|
4021
|
-
}, null, 40,
|
|
4025
|
+
onFocus: u[2] ||= async (e) => ee(e),
|
|
4026
|
+
onKeydown: u[3] ||= async (e) => U(e)
|
|
4027
|
+
}, null, 40, jr),
|
|
4022
4028
|
s.label ? (f(), r(e, { key: 0 }, [a(g(s.label), 1)], 64)) : n("", !0),
|
|
4023
4029
|
h(l.$slots, "default")
|
|
4024
|
-
], 8,
|
|
4030
|
+
], 8, Ar),
|
|
4025
4031
|
_(I)(s.message, s.showMessage) ? (f(), t($, {
|
|
4026
4032
|
key: 0,
|
|
4027
4033
|
size: "small",
|
|
@@ -4049,23 +4055,23 @@ var x = () => {
|
|
|
4049
4055
|
default: b(() => [a(g(M.value), 1)]),
|
|
4050
4056
|
_: 1
|
|
4051
4057
|
}, 8, ["id"]),
|
|
4052
|
-
i("span",
|
|
4053
|
-
], 10,
|
|
4058
|
+
i("span", Mr, g(P.value), 1)
|
|
4059
|
+
], 10, kr));
|
|
4054
4060
|
}
|
|
4055
|
-
}),
|
|
4061
|
+
}), Pr = [
|
|
4056
4062
|
"for",
|
|
4057
4063
|
"data-icon",
|
|
4058
4064
|
"data-icon-trailing",
|
|
4059
4065
|
"data-show-icon",
|
|
4060
4066
|
"data-show-icon-trailing",
|
|
4061
4067
|
"data-no-text"
|
|
4062
|
-
],
|
|
4068
|
+
], Fr = [
|
|
4063
4069
|
"disabled",
|
|
4064
4070
|
"aria-selected",
|
|
4065
4071
|
"checked",
|
|
4066
4072
|
"name",
|
|
4067
4073
|
"id"
|
|
4068
|
-
],
|
|
4074
|
+
], Ir = /* @__PURE__ */ s({
|
|
4069
4075
|
name: "DBTabItem",
|
|
4070
4076
|
__name: "tab-item",
|
|
4071
4077
|
props: {
|
|
@@ -4164,12 +4170,12 @@ var x = () => {
|
|
|
4164
4170
|
name: v.value,
|
|
4165
4171
|
id: t.id ?? t.propOverrides?.id,
|
|
4166
4172
|
onInput: s[0] ||= async (e) => E(e)
|
|
4167
|
-
}, null, 40,
|
|
4173
|
+
}, null, 40, Fr),
|
|
4168
4174
|
t.label ? (f(), r(e, { key: 0 }, [a(g(t.label), 1)], 64)) : n("", !0),
|
|
4169
4175
|
h(o.$slots, "default")
|
|
4170
|
-
], 8,
|
|
4176
|
+
], 8, Pr)], 2));
|
|
4171
4177
|
}
|
|
4172
|
-
}),
|
|
4178
|
+
}), Lr = ["id"], Rr = { role: "tablist" }, zr = /* @__PURE__ */ s({
|
|
4173
4179
|
name: "DBTabList",
|
|
4174
4180
|
__name: "tab-list",
|
|
4175
4181
|
props: {
|
|
@@ -4187,9 +4193,9 @@ var x = () => {
|
|
|
4187
4193
|
ref: n,
|
|
4188
4194
|
id: e.id ?? e.propOverrides?.id,
|
|
4189
4195
|
class: c(_(C)("db-tab-list", t.class))
|
|
4190
|
-
}, [i("ul",
|
|
4196
|
+
}, [i("ul", Rr, [h(a.$slots, "default")])], 10, Lr));
|
|
4191
4197
|
}
|
|
4192
|
-
}),
|
|
4198
|
+
}), Br = ["id"], Vr = /* @__PURE__ */ s({
|
|
4193
4199
|
name: "DBTabPanel",
|
|
4194
4200
|
__name: "tab-panel",
|
|
4195
4201
|
props: {
|
|
@@ -4209,16 +4215,16 @@ var x = () => {
|
|
|
4209
4215
|
ref: o,
|
|
4210
4216
|
class: c(_(C)("db-tab-panel", i.class)),
|
|
4211
4217
|
id: t.id ?? t.propOverrides?.id
|
|
4212
|
-
}, [t.content ? (f(), r(e, { key: 0 }, [a(g(t.content), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10,
|
|
4218
|
+
}, [t.content ? (f(), r(e, { key: 0 }, [a(g(t.content), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, Br));
|
|
4213
4219
|
}
|
|
4214
|
-
}),
|
|
4220
|
+
}), Hr = [
|
|
4215
4221
|
"id",
|
|
4216
4222
|
"data-horizontal-alignment",
|
|
4217
4223
|
"data-vertical-alignment",
|
|
4218
4224
|
"colSpan",
|
|
4219
4225
|
"rowSpan",
|
|
4220
4226
|
"headers"
|
|
4221
|
-
],
|
|
4227
|
+
], Ur = /* @__PURE__ */ s({
|
|
4222
4228
|
name: "DBTableDataCell",
|
|
4223
4229
|
__name: "table-data-cell",
|
|
4224
4230
|
props: {
|
|
@@ -4227,7 +4233,7 @@ var x = () => {
|
|
|
4227
4233
|
class: {},
|
|
4228
4234
|
id: { default: void 0 },
|
|
4229
4235
|
autofocus: { type: [Boolean, String] },
|
|
4230
|
-
propOverrides: {},
|
|
4236
|
+
propOverrides: { default: void 0 },
|
|
4231
4237
|
colSpan: { default: void 0 },
|
|
4232
4238
|
colspan: { default: void 0 },
|
|
4233
4239
|
headers: { default: void 0 },
|
|
@@ -4241,16 +4247,16 @@ var x = () => {
|
|
|
4241
4247
|
return (i, a) => (f(), r("td", {
|
|
4242
4248
|
ref_key: "_ref",
|
|
4243
4249
|
ref: n,
|
|
4244
|
-
id: e.id,
|
|
4250
|
+
id: e.id ?? e.propOverrides?.id,
|
|
4245
4251
|
class: c(_(C)("db-table-data-cell", t.class)),
|
|
4246
4252
|
"data-horizontal-alignment": e.horizontalAlignment,
|
|
4247
4253
|
"data-vertical-alignment": e.verticalAlignment,
|
|
4248
4254
|
colSpan: _(j)(e.colSpan, e.colspan),
|
|
4249
4255
|
rowSpan: _(j)(e.rowSpan, e.rowspan),
|
|
4250
4256
|
headers: e.headers
|
|
4251
|
-
}, [h(i.$slots, "default")], 10,
|
|
4257
|
+
}, [h(i.$slots, "default")], 10, Hr));
|
|
4252
4258
|
}
|
|
4253
|
-
}),
|
|
4259
|
+
}), Wr = [
|
|
4254
4260
|
"id",
|
|
4255
4261
|
"data-horizontal-alignment",
|
|
4256
4262
|
"data-vertical-alignment",
|
|
@@ -4260,7 +4266,7 @@ var x = () => {
|
|
|
4260
4266
|
"rowSpan",
|
|
4261
4267
|
"headers",
|
|
4262
4268
|
"abbr"
|
|
4263
|
-
],
|
|
4269
|
+
], Gr = /* @__PURE__ */ s({
|
|
4264
4270
|
name: "DBTableHeaderCell",
|
|
4265
4271
|
__name: "table-header-cell",
|
|
4266
4272
|
props: {
|
|
@@ -4275,7 +4281,7 @@ var x = () => {
|
|
|
4275
4281
|
class: {},
|
|
4276
4282
|
id: { default: void 0 },
|
|
4277
4283
|
autofocus: { type: [Boolean, String] },
|
|
4278
|
-
propOverrides: {},
|
|
4284
|
+
propOverrides: { default: void 0 },
|
|
4279
4285
|
colSpan: { default: void 0 },
|
|
4280
4286
|
colspan: { default: void 0 },
|
|
4281
4287
|
headers: { default: void 0 },
|
|
@@ -4289,7 +4295,7 @@ var x = () => {
|
|
|
4289
4295
|
return (i, a) => (f(), r("th", {
|
|
4290
4296
|
ref_key: "_ref",
|
|
4291
4297
|
ref: n,
|
|
4292
|
-
id: e.id,
|
|
4298
|
+
id: e.id ?? e.propOverrides?.id,
|
|
4293
4299
|
class: c(_(C)("db-table-header-cell", t.class)),
|
|
4294
4300
|
"data-horizontal-alignment": e.horizontalAlignment,
|
|
4295
4301
|
"data-vertical-alignment": e.verticalAlignment,
|
|
@@ -4299,13 +4305,13 @@ var x = () => {
|
|
|
4299
4305
|
rowSpan: _(j)(e.rowSpan, e.rowspan),
|
|
4300
4306
|
headers: e.headers,
|
|
4301
4307
|
abbr: e.abbr
|
|
4302
|
-
}, [h(i.$slots, "default")], 10,
|
|
4308
|
+
}, [h(i.$slots, "default")], 10, Wr));
|
|
4303
4309
|
}
|
|
4304
|
-
}),
|
|
4310
|
+
}), Kr = [
|
|
4305
4311
|
"id",
|
|
4306
4312
|
"data-interactive",
|
|
4307
4313
|
"data-sub-header-emphasis"
|
|
4308
|
-
],
|
|
4314
|
+
], qr = /* @__PURE__ */ s({
|
|
4309
4315
|
name: "DBTableRow",
|
|
4310
4316
|
__name: "table-row",
|
|
4311
4317
|
props: {
|
|
@@ -4320,7 +4326,7 @@ var x = () => {
|
|
|
4320
4326
|
class: {},
|
|
4321
4327
|
id: { default: void 0 },
|
|
4322
4328
|
autofocus: { type: [Boolean, String] },
|
|
4323
|
-
propOverrides: {}
|
|
4329
|
+
propOverrides: { default: void 0 }
|
|
4324
4330
|
},
|
|
4325
4331
|
setup(n) {
|
|
4326
4332
|
let i = v(), o = n, s = p(null);
|
|
@@ -4330,11 +4336,11 @@ var x = () => {
|
|
|
4330
4336
|
return (u, d) => (f(), r("tr", {
|
|
4331
4337
|
ref_key: "_ref",
|
|
4332
4338
|
ref: s,
|
|
4333
|
-
id: n.id,
|
|
4339
|
+
id: n.id ?? n.propOverrides?.id,
|
|
4334
4340
|
class: c(_(C)("db-table-row", o.class)),
|
|
4335
4341
|
"data-interactive": _(k)(n.interactive),
|
|
4336
4342
|
"data-sub-header-emphasis": n.subHeaderEmphasis
|
|
4337
|
-
}, [n.cells ? (f(!0), r(e, { key: 0 }, m(n.cells, (o, s) => (f(), r(e, { key: s }, [o.headerCell ? (f(), t(
|
|
4343
|
+
}, [n.cells ? (f(!0), r(e, { key: 0 }, m(n.cells, (o, s) => (f(), r(e, { key: s }, [o.headerCell ? (f(), t(Gr, {
|
|
4338
4344
|
key: `${o.id ?? n.id ?? _(i)}-table-row-header-cell-${s}`,
|
|
4339
4345
|
id: o.id,
|
|
4340
4346
|
abbr: l(o)?.abbr,
|
|
@@ -4349,7 +4355,7 @@ var x = () => {
|
|
|
4349
4355
|
rowSpan: o.rowSpan,
|
|
4350
4356
|
rowspan: o.rowspan
|
|
4351
4357
|
}, {
|
|
4352
|
-
default: b(() => [o.link ? (f(), t(
|
|
4358
|
+
default: b(() => [o.link ? (f(), t(In, {
|
|
4353
4359
|
key: 0,
|
|
4354
4360
|
content: o.link?.content,
|
|
4355
4361
|
size: o.link?.size,
|
|
@@ -4402,7 +4408,7 @@ var x = () => {
|
|
|
4402
4408
|
"colspan",
|
|
4403
4409
|
"rowSpan",
|
|
4404
4410
|
"rowspan"
|
|
4405
|
-
])) : (f(), t(
|
|
4411
|
+
])) : (f(), t(Ur, {
|
|
4406
4412
|
key: `${o.id ?? n.id ?? _(i)}-table-row-data-cell-${s}`,
|
|
4407
4413
|
id: o.id,
|
|
4408
4414
|
className: o.className ?? o.class,
|
|
@@ -4414,7 +4420,7 @@ var x = () => {
|
|
|
4414
4420
|
rowSpan: o.rowSpan,
|
|
4415
4421
|
rowspan: o.rowspan
|
|
4416
4422
|
}, {
|
|
4417
|
-
default: b(() => [o.link ? (f(), t(
|
|
4423
|
+
default: b(() => [o.link ? (f(), t(In, {
|
|
4418
4424
|
key: 0,
|
|
4419
4425
|
content: o.link?.content,
|
|
4420
4426
|
size: o.link?.size,
|
|
@@ -4464,9 +4470,9 @@ var x = () => {
|
|
|
4464
4470
|
"colspan",
|
|
4465
4471
|
"rowSpan",
|
|
4466
4472
|
"rowspan"
|
|
4467
|
-
]))], 64))), 128)) : h(u.$slots, "default", { key: 1 })], 10,
|
|
4473
|
+
]))], 64))), 128)) : h(u.$slots, "default", { key: 1 })], 10, Kr));
|
|
4468
4474
|
}
|
|
4469
|
-
}),
|
|
4475
|
+
}), Jr = ["id"], Yr = /* @__PURE__ */ s({
|
|
4470
4476
|
name: "DBTableBody",
|
|
4471
4477
|
__name: "table-body",
|
|
4472
4478
|
props: {
|
|
@@ -4476,16 +4482,16 @@ var x = () => {
|
|
|
4476
4482
|
class: {},
|
|
4477
4483
|
id: { default: void 0 },
|
|
4478
4484
|
autofocus: { type: [Boolean, String] },
|
|
4479
|
-
propOverrides: {}
|
|
4485
|
+
propOverrides: { default: void 0 }
|
|
4480
4486
|
},
|
|
4481
4487
|
setup(n) {
|
|
4482
4488
|
let i = v(), a = n, o = p(null);
|
|
4483
4489
|
return (s, l) => (f(), r("tbody", {
|
|
4484
4490
|
ref_key: "_ref",
|
|
4485
4491
|
ref: o,
|
|
4486
|
-
id: n.id,
|
|
4492
|
+
id: n.id ?? n.propOverrides?.id,
|
|
4487
4493
|
class: c(_(C)("db-table-body", a.class))
|
|
4488
|
-
}, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(
|
|
4494
|
+
}, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(qr, {
|
|
4489
4495
|
key: `${e.id ?? n.id ?? _(i)}-table-body-row-${r}`,
|
|
4490
4496
|
cells: e.cells,
|
|
4491
4497
|
className: e.className ?? e.class,
|
|
@@ -4496,9 +4502,9 @@ var x = () => {
|
|
|
4496
4502
|
"className",
|
|
4497
4503
|
"interactive",
|
|
4498
4504
|
"id"
|
|
4499
|
-
]))), 128)) : h(s.$slots, "default", { key: 1 })], 10,
|
|
4505
|
+
]))), 128)) : h(s.$slots, "default", { key: 1 })], 10, Jr));
|
|
4500
4506
|
}
|
|
4501
|
-
}),
|
|
4507
|
+
}), Xr = ["id"], Zr = /* @__PURE__ */ s({
|
|
4502
4508
|
name: "DBTableFooter",
|
|
4503
4509
|
__name: "table-footer",
|
|
4504
4510
|
props: {
|
|
@@ -4508,16 +4514,16 @@ var x = () => {
|
|
|
4508
4514
|
class: {},
|
|
4509
4515
|
id: { default: void 0 },
|
|
4510
4516
|
autofocus: { type: [Boolean, String] },
|
|
4511
|
-
propOverrides: {}
|
|
4517
|
+
propOverrides: { default: void 0 }
|
|
4512
4518
|
},
|
|
4513
4519
|
setup(n) {
|
|
4514
4520
|
let i = v(), a = n, o = p(null);
|
|
4515
4521
|
return (s, l) => (f(), r("tfoot", {
|
|
4516
4522
|
ref_key: "_ref",
|
|
4517
4523
|
ref: o,
|
|
4518
|
-
id: n.id,
|
|
4524
|
+
id: n.id ?? n.propOverrides?.id,
|
|
4519
4525
|
class: c(_(C)("db-table-footer", a.class))
|
|
4520
|
-
}, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(
|
|
4526
|
+
}, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(qr, {
|
|
4521
4527
|
key: `${e.id ?? n.id ?? _(i)}-table-footer-row-${r}`,
|
|
4522
4528
|
cells: e.cells,
|
|
4523
4529
|
className: e.className ?? e.class,
|
|
@@ -4528,9 +4534,9 @@ var x = () => {
|
|
|
4528
4534
|
"className",
|
|
4529
4535
|
"interactive",
|
|
4530
4536
|
"id"
|
|
4531
|
-
]))), 128)) : h(s.$slots, "default", { key: 1 })], 10,
|
|
4537
|
+
]))), 128)) : h(s.$slots, "default", { key: 1 })], 10, Xr));
|
|
4532
4538
|
}
|
|
4533
|
-
}),
|
|
4539
|
+
}), Qr = ["id"], $r = /* @__PURE__ */ s({
|
|
4534
4540
|
name: "DBTableHead",
|
|
4535
4541
|
__name: "table-head",
|
|
4536
4542
|
props: {
|
|
@@ -4540,7 +4546,7 @@ var x = () => {
|
|
|
4540
4546
|
class: {},
|
|
4541
4547
|
id: { default: void 0 },
|
|
4542
4548
|
autofocus: { type: [Boolean, String] },
|
|
4543
|
-
propOverrides: {}
|
|
4549
|
+
propOverrides: { default: void 0 }
|
|
4544
4550
|
},
|
|
4545
4551
|
setup(n) {
|
|
4546
4552
|
let i = v(), a = n, o = p(null);
|
|
@@ -4553,9 +4559,9 @@ var x = () => {
|
|
|
4553
4559
|
return (l, u) => (f(), r("thead", {
|
|
4554
4560
|
ref_key: "_ref",
|
|
4555
4561
|
ref: o,
|
|
4556
|
-
id: n.id,
|
|
4562
|
+
id: n.id ?? n.propOverrides?.id,
|
|
4557
4563
|
class: c(_(C)("db-table-head", a.class))
|
|
4558
|
-
}, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(
|
|
4564
|
+
}, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(qr, {
|
|
4559
4565
|
key: `${e.id ?? n.id ?? _(i)}-table-head-row-${r}`,
|
|
4560
4566
|
cells: s(e.cells),
|
|
4561
4567
|
className: e.className ?? e.class,
|
|
@@ -4568,9 +4574,9 @@ var x = () => {
|
|
|
4568
4574
|
"subHeaderEmphasis",
|
|
4569
4575
|
"interactive",
|
|
4570
4576
|
"id"
|
|
4571
|
-
]))), 128)) : h(l.$slots, "default", { key: 1 })], 10,
|
|
4577
|
+
]))), 128)) : h(l.$slots, "default", { key: 1 })], 10, Qr));
|
|
4572
4578
|
}
|
|
4573
|
-
}),
|
|
4579
|
+
}), ei = [
|
|
4574
4580
|
"data-width",
|
|
4575
4581
|
"data-size",
|
|
4576
4582
|
"data-divider",
|
|
@@ -4578,7 +4584,7 @@ var x = () => {
|
|
|
4578
4584
|
"data-mobile-variant",
|
|
4579
4585
|
"data-show-caption",
|
|
4580
4586
|
"data-sticky-header"
|
|
4581
|
-
],
|
|
4587
|
+
], ti = ["id"], ni = { key: 0 }, ri = /* @__PURE__ */ s({
|
|
4582
4588
|
name: "DBTable",
|
|
4583
4589
|
__name: "table",
|
|
4584
4590
|
props: {
|
|
@@ -4600,7 +4606,7 @@ var x = () => {
|
|
|
4600
4606
|
class: {},
|
|
4601
4607
|
id: { default: void 0 },
|
|
4602
4608
|
autofocus: { type: [Boolean, String] },
|
|
4603
|
-
propOverrides: {},
|
|
4609
|
+
propOverrides: { default: void 0 },
|
|
4604
4610
|
width: { default: void 0 }
|
|
4605
4611
|
},
|
|
4606
4612
|
setup(a) {
|
|
@@ -4664,23 +4670,23 @@ var x = () => {
|
|
|
4664
4670
|
}, [i("table", {
|
|
4665
4671
|
ref_key: "_ref",
|
|
4666
4672
|
ref: d,
|
|
4667
|
-
id: a.id
|
|
4668
|
-
}, [a.captionPlain ? (f(), r("caption",
|
|
4669
|
-
s.value?.header ? (f(), t(
|
|
4673
|
+
id: a.id ?? a.propOverrides?.id
|
|
4674
|
+
}, [a.captionPlain ? (f(), r("caption", ni, g(a.captionPlain), 1)) : h(p.$slots, "caption", { key: 1 }), s.value ? (f(), r(e, { key: 2 }, [
|
|
4675
|
+
s.value?.header ? (f(), t($r, {
|
|
4670
4676
|
key: 0,
|
|
4671
4677
|
rows: s.value?.header
|
|
4672
4678
|
}, null, 8, ["rows"])) : n("", !0),
|
|
4673
|
-
s.value?.body ? (f(), t(
|
|
4679
|
+
s.value?.body ? (f(), t(Yr, {
|
|
4674
4680
|
key: 1,
|
|
4675
4681
|
rows: s.value?.body
|
|
4676
4682
|
}, null, 8, ["rows"])) : n("", !0),
|
|
4677
|
-
s.value?.footer ? (f(), t(
|
|
4683
|
+
s.value?.footer ? (f(), t(Zr, {
|
|
4678
4684
|
key: 2,
|
|
4679
4685
|
rows: s.value?.footer
|
|
4680
4686
|
}, null, 8, ["rows"])) : n("", !0)
|
|
4681
|
-
], 64)) : h(p.$slots, "default", { key: 3 })], 8,
|
|
4687
|
+
], 64)) : h(p.$slots, "default", { key: 3 })], 8, ti)], 14, ei));
|
|
4682
4688
|
}
|
|
4683
|
-
}),
|
|
4689
|
+
}), ii = ["id"], ai = /* @__PURE__ */ s({
|
|
4684
4690
|
name: "DBTableCaption",
|
|
4685
4691
|
__name: "table-caption",
|
|
4686
4692
|
props: {
|
|
@@ -4689,57 +4695,57 @@ var x = () => {
|
|
|
4689
4695
|
class: {},
|
|
4690
4696
|
id: { default: void 0 },
|
|
4691
4697
|
autofocus: { type: [Boolean, String] },
|
|
4692
|
-
propOverrides: {}
|
|
4698
|
+
propOverrides: { default: void 0 }
|
|
4693
4699
|
},
|
|
4694
4700
|
setup(e) {
|
|
4695
4701
|
let t = e, n = p(null);
|
|
4696
4702
|
return (i, a) => (f(), r("caption", {
|
|
4697
4703
|
ref_key: "_ref",
|
|
4698
4704
|
ref: n,
|
|
4699
|
-
id: e.id,
|
|
4705
|
+
id: e.id ?? e.propOverrides?.id,
|
|
4700
4706
|
class: c(_(C)("db-table-caption", t.class))
|
|
4701
|
-
}, [h(i.$slots, "default")], 10,
|
|
4707
|
+
}, [h(i.$slots, "default")], 10, ii));
|
|
4702
4708
|
}
|
|
4703
|
-
}),
|
|
4709
|
+
}), oi = [
|
|
4704
4710
|
"row",
|
|
4705
4711
|
"col",
|
|
4706
4712
|
"rowgroup",
|
|
4707
4713
|
"colgroup"
|
|
4708
|
-
],
|
|
4714
|
+
], si = [
|
|
4709
4715
|
"none",
|
|
4710
4716
|
"weak",
|
|
4711
4717
|
"strong"
|
|
4712
|
-
],
|
|
4718
|
+
], ci = [
|
|
4713
4719
|
"x-small",
|
|
4714
4720
|
"small",
|
|
4715
4721
|
"medium",
|
|
4716
4722
|
"large"
|
|
4717
|
-
],
|
|
4723
|
+
], li = [
|
|
4718
4724
|
"flat",
|
|
4719
4725
|
"zebra",
|
|
4720
4726
|
"spaced"
|
|
4721
|
-
],
|
|
4727
|
+
], ui = [
|
|
4722
4728
|
"none",
|
|
4723
4729
|
"both",
|
|
4724
4730
|
"horizontal",
|
|
4725
4731
|
"vertical"
|
|
4726
|
-
],
|
|
4732
|
+
], di = ["table", "list"], fi = [
|
|
4727
4733
|
"none",
|
|
4728
4734
|
"both",
|
|
4729
4735
|
"horizontal",
|
|
4730
4736
|
"vertical"
|
|
4731
|
-
],
|
|
4737
|
+
], pi = [
|
|
4732
4738
|
"auto",
|
|
4733
4739
|
"1fr",
|
|
4734
4740
|
"min-content",
|
|
4735
4741
|
"max-content"
|
|
4736
|
-
],
|
|
4742
|
+
], mi = [
|
|
4737
4743
|
"id",
|
|
4738
4744
|
"data-orientation",
|
|
4739
4745
|
"data-scroll-behavior",
|
|
4740
4746
|
"data-alignment",
|
|
4741
4747
|
"data-width"
|
|
4742
|
-
],
|
|
4748
|
+
], hi = /* @__PURE__ */ s({
|
|
4743
4749
|
name: "DBTabs",
|
|
4744
4750
|
__name: "tabs",
|
|
4745
4751
|
props: {
|
|
@@ -4878,7 +4884,7 @@ var x = () => {
|
|
|
4878
4884
|
onInput: u[0] ||= async (e) => P(e),
|
|
4879
4885
|
onChange: u[1] ||= async (e) => P(e)
|
|
4880
4886
|
}, [
|
|
4881
|
-
w.value ? (f(), t(
|
|
4887
|
+
w.value ? (f(), t(Re, {
|
|
4882
4888
|
key: 0,
|
|
4883
4889
|
class: "tabs-scroll-left",
|
|
4884
4890
|
variant: "ghost",
|
|
@@ -4890,8 +4896,8 @@ var x = () => {
|
|
|
4890
4896
|
default: b(() => [...u[2] ||= [a(" Scroll left ", -1)]]),
|
|
4891
4897
|
_: 1
|
|
4892
4898
|
}, 8, ["onClick"])) : n("", !0),
|
|
4893
|
-
i.tabs ? (f(), r(e, { key: 1 }, [o(
|
|
4894
|
-
default: b(() => [(f(!0), r(e, null, m(k(), (e, n) => (f(), t(
|
|
4899
|
+
i.tabs ? (f(), r(e, { key: 1 }, [o(zr, null, {
|
|
4900
|
+
default: b(() => [(f(!0), r(e, null, m(k(), (e, n) => (f(), t(Ir, {
|
|
4895
4901
|
key: i.name + "tab-item" + n,
|
|
4896
4902
|
active: e.active,
|
|
4897
4903
|
label: e.label,
|
|
@@ -4906,14 +4912,14 @@ var x = () => {
|
|
|
4906
4912
|
"noText"
|
|
4907
4913
|
]))), 128))]),
|
|
4908
4914
|
_: 1
|
|
4909
|
-
}), (f(!0), r(e, null, m(k(), (e, n) => (f(), t(
|
|
4915
|
+
}), (f(!0), r(e, null, m(k(), (e, n) => (f(), t(Vr, {
|
|
4910
4916
|
key: i.name + "tab-panel" + n,
|
|
4911
4917
|
content: e.content
|
|
4912
4918
|
}, {
|
|
4913
4919
|
default: b(() => [a(g(e.children), 1)]),
|
|
4914
4920
|
_: 2
|
|
4915
4921
|
}, 1032, ["content"]))), 128))], 64)) : n("", !0),
|
|
4916
|
-
T.value ? (f(), t(
|
|
4922
|
+
T.value ? (f(), t(Re, {
|
|
4917
4923
|
key: 2,
|
|
4918
4924
|
class: "tabs-scroll-right",
|
|
4919
4925
|
variant: "ghost",
|
|
@@ -4926,13 +4932,13 @@ var x = () => {
|
|
|
4926
4932
|
_: 1
|
|
4927
4933
|
}, 8, ["onClick"])) : n("", !0),
|
|
4928
4934
|
h(s.$slots, "default")
|
|
4929
|
-
], 42,
|
|
4935
|
+
], 42, mi));
|
|
4930
4936
|
}
|
|
4931
|
-
}),
|
|
4937
|
+
}), gi = ["scrollbar", "arrows"], _i = ["auto", "manually"], vi = ["static", "removable"], yi = [
|
|
4932
4938
|
"data-variant",
|
|
4933
4939
|
"data-hide-asterisk",
|
|
4934
4940
|
"data-hide-label"
|
|
4935
|
-
],
|
|
4941
|
+
], bi = ["for"], xi = [
|
|
4936
4942
|
"aria-invalid",
|
|
4937
4943
|
"data-custom-validity",
|
|
4938
4944
|
"data-field-sizing",
|
|
@@ -4954,10 +4960,10 @@ var x = () => {
|
|
|
4954
4960
|
"placeholder",
|
|
4955
4961
|
"rows",
|
|
4956
4962
|
"cols"
|
|
4957
|
-
],
|
|
4963
|
+
], Si = {
|
|
4958
4964
|
"data-visually-hidden": "true",
|
|
4959
4965
|
role: "status"
|
|
4960
|
-
},
|
|
4966
|
+
}, Ci = /* @__PURE__ */ s({
|
|
4961
4967
|
name: "DBTextarea",
|
|
4962
4968
|
__name: "textarea",
|
|
4963
4969
|
props: {
|
|
@@ -5053,11 +5059,11 @@ var x = () => {
|
|
|
5053
5059
|
setup(e, { emit: s }) {
|
|
5054
5060
|
let l = v(), m = s, h = e, x = p(void 0), S = p(void 0), w = p(void 0), T = p(void 0), D = p(void 0), k = p(void 0), M = p(""), N = p(""), P = p(void 0), L = p(null);
|
|
5055
5061
|
u(() => {
|
|
5056
|
-
|
|
5062
|
+
U(), D.value = h.invalidMessage || "TODO: Add an invalidMessage";
|
|
5057
5063
|
}), d(() => {
|
|
5058
5064
|
P.value?.abort();
|
|
5059
5065
|
}), y(() => [h.id, h.propOverrides?.id], () => {
|
|
5060
|
-
(h.id ?? h.propOverrides?.id) &&
|
|
5066
|
+
(h.id ?? h.propOverrides?.id) && U();
|
|
5061
5067
|
}, {
|
|
5062
5068
|
immediate: !0,
|
|
5063
5069
|
flush: "post"
|
|
@@ -5069,7 +5075,7 @@ var x = () => {
|
|
|
5069
5075
|
}), y(() => [x.value], () => {
|
|
5070
5076
|
if (x.value) {
|
|
5071
5077
|
let e = x.value + q;
|
|
5072
|
-
S.value = e, w.value = x.value + J, T.value = x.value +
|
|
5078
|
+
S.value = e, w.value = x.value + J, T.value = x.value + ce, I(h.message, h.showMessage) && (k.value = e), z();
|
|
5073
5079
|
}
|
|
5074
5080
|
}, {
|
|
5075
5081
|
immediate: !0,
|
|
@@ -5082,7 +5088,7 @@ var x = () => {
|
|
|
5082
5088
|
}), y(() => [L.value], () => {
|
|
5083
5089
|
if (L.value) {
|
|
5084
5090
|
let e = P.value;
|
|
5085
|
-
e || (e = new AbortController(), P.value = e),
|
|
5091
|
+
e || (e = new AbortController(), P.value = e), qe(L.value, {
|
|
5086
5092
|
value: h.value,
|
|
5087
5093
|
defaultValue: void 0
|
|
5088
5094
|
}, (e) => {
|
|
@@ -5108,12 +5114,12 @@ var x = () => {
|
|
|
5108
5114
|
function H(e) {
|
|
5109
5115
|
h.onBlur && h.onBlur(e);
|
|
5110
5116
|
}
|
|
5111
|
-
function
|
|
5117
|
+
function ee(e) {
|
|
5112
5118
|
h.onFocus && h.onFocus(e);
|
|
5113
5119
|
}
|
|
5114
|
-
function
|
|
5120
|
+
function U() {
|
|
5115
5121
|
let e = h.id ?? h.propOverrides?.id ?? `textarea-${l}`;
|
|
5116
|
-
x.value = e, S.value = e + q, w.value = e + J, T.value = e +
|
|
5122
|
+
x.value = e, S.value = e + q, w.value = e + J, T.value = e + ce;
|
|
5117
5123
|
}
|
|
5118
5124
|
return (s, l) => (f(), r("div", {
|
|
5119
5125
|
class: c(_(C)("db-textarea", h.class)),
|
|
@@ -5121,7 +5127,7 @@ var x = () => {
|
|
|
5121
5127
|
"data-hide-asterisk": _(F)(e.showRequiredAsterisk),
|
|
5122
5128
|
"data-hide-label": _(F)(e.showLabel)
|
|
5123
5129
|
}, [
|
|
5124
|
-
i("label", { for: x.value }, g(e.label ?? _("LABEL SHOULD BE SET")), 9,
|
|
5130
|
+
i("label", { for: x.value }, g(e.label ?? _("LABEL SHOULD BE SET")), 9, bi),
|
|
5125
5131
|
i("textarea", {
|
|
5126
5132
|
"aria-invalid": e.validation === "invalid",
|
|
5127
5133
|
"data-custom-validity": e.validation,
|
|
@@ -5144,13 +5150,13 @@ var x = () => {
|
|
|
5144
5150
|
onInput: l[0] ||= async (e) => B(e),
|
|
5145
5151
|
onChange: l[1] ||= async (e) => V(e),
|
|
5146
5152
|
onBlur: l[2] ||= async (e) => H(e),
|
|
5147
|
-
onFocus: l[3] ||= async (e) =>
|
|
5153
|
+
onFocus: l[3] ||= async (e) => ee(e),
|
|
5148
5154
|
value: e.value ?? M.value ?? "",
|
|
5149
5155
|
"aria-describedby": e.ariaDescribedBy ?? k.value,
|
|
5150
5156
|
placeholder: e.placeholder ?? _(" "),
|
|
5151
5157
|
rows: _(j)(e.rows, _(4)),
|
|
5152
5158
|
cols: _(j)(e.cols)
|
|
5153
|
-
}, g(e.value), 41,
|
|
5159
|
+
}, g(e.value), 41, xi),
|
|
5154
5160
|
_(I)(e.message, e.showMessage) ? (f(), t($, {
|
|
5155
5161
|
key: 0,
|
|
5156
5162
|
size: "small",
|
|
@@ -5177,50 +5183,50 @@ var x = () => {
|
|
|
5177
5183
|
default: b(() => [a(g(D.value), 1)]),
|
|
5178
5184
|
_: 1
|
|
5179
5185
|
}, 8, ["id"]),
|
|
5180
|
-
i("span",
|
|
5181
|
-
], 10,
|
|
5186
|
+
i("span", Si, g(N.value), 1)
|
|
5187
|
+
], 10, yi));
|
|
5182
5188
|
}
|
|
5183
|
-
}),
|
|
5189
|
+
}), wi = [
|
|
5184
5190
|
"none",
|
|
5185
5191
|
"both",
|
|
5186
5192
|
"horizontal",
|
|
5187
5193
|
"vertical"
|
|
5188
|
-
],
|
|
5194
|
+
], Ti = [
|
|
5189
5195
|
"hard",
|
|
5190
5196
|
"soft",
|
|
5191
5197
|
"off"
|
|
5192
|
-
],
|
|
5198
|
+
], Ei = ["description", "label"], Di = [
|
|
5193
5199
|
"adaptive",
|
|
5194
5200
|
"neutral",
|
|
5195
5201
|
"critical",
|
|
5196
5202
|
"informational",
|
|
5197
5203
|
"warning",
|
|
5198
5204
|
"successful"
|
|
5199
|
-
],
|
|
5205
|
+
], Oi = [
|
|
5200
5206
|
"medium",
|
|
5201
5207
|
"small",
|
|
5202
5208
|
"large",
|
|
5203
5209
|
"none"
|
|
5204
|
-
],
|
|
5210
|
+
], ki = [
|
|
5205
5211
|
"medium",
|
|
5206
5212
|
"small",
|
|
5207
5213
|
"large",
|
|
5208
5214
|
"none"
|
|
5209
|
-
],
|
|
5215
|
+
], Ai = [
|
|
5210
5216
|
"left",
|
|
5211
5217
|
"right",
|
|
5212
5218
|
"left-start",
|
|
5213
5219
|
"left-end",
|
|
5214
5220
|
"right-start",
|
|
5215
5221
|
"right-end"
|
|
5216
|
-
],
|
|
5222
|
+
], ji = [
|
|
5217
5223
|
"top",
|
|
5218
5224
|
"bottom",
|
|
5219
5225
|
"top-start",
|
|
5220
5226
|
"top-end",
|
|
5221
5227
|
"bottom-start",
|
|
5222
5228
|
"bottom-end"
|
|
5223
|
-
],
|
|
5229
|
+
], Mi = [...Ai, ...ji], Ni = [
|
|
5224
5230
|
"none",
|
|
5225
5231
|
"3x-large",
|
|
5226
5232
|
"2x-large",
|
|
@@ -5231,25 +5237,25 @@ var x = () => {
|
|
|
5231
5237
|
"x-small",
|
|
5232
5238
|
"2x-small",
|
|
5233
5239
|
"3x-small"
|
|
5234
|
-
],
|
|
5240
|
+
], Pi = ["horizontal", "vertical"], Fi = ["full", "auto"], Ii = [
|
|
5235
5241
|
"full",
|
|
5236
5242
|
"medium",
|
|
5237
5243
|
"large",
|
|
5238
5244
|
"small"
|
|
5239
|
-
],
|
|
5245
|
+
], Li = [
|
|
5240
5246
|
"none",
|
|
5241
5247
|
"slow",
|
|
5242
5248
|
"fast"
|
|
5243
|
-
],
|
|
5249
|
+
], Ri = ["auto", "fixed"], zi = ["small", "medium"], Bi = ["weak", "strong"], Vi = [
|
|
5244
5250
|
"invalid",
|
|
5245
5251
|
"valid",
|
|
5246
5252
|
"no-validation"
|
|
5247
|
-
],
|
|
5253
|
+
], Hi = ["fixed", "content"], Ui = ["above", "floating"], Wi = ["leading", "trailing"], Gi = /* @__PURE__ */ "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".split("."), Ki = [
|
|
5248
5254
|
"_self",
|
|
5249
5255
|
"_blank",
|
|
5250
5256
|
"_parent",
|
|
5251
5257
|
"_top"
|
|
5252
|
-
],
|
|
5258
|
+
], qi = [
|
|
5253
5259
|
"no-referrer",
|
|
5254
5260
|
"no-referrer-when-downgrade",
|
|
5255
5261
|
"origin",
|
|
@@ -5258,10 +5264,10 @@ var x = () => {
|
|
|
5258
5264
|
"strict-origin",
|
|
5259
5265
|
"strict-origin-when-cross-origin",
|
|
5260
5266
|
"unsafe-url"
|
|
5261
|
-
],
|
|
5267
|
+
], Ji = [
|
|
5262
5268
|
"start",
|
|
5263
5269
|
"center",
|
|
5264
5270
|
"end"
|
|
5265
5271
|
];
|
|
5266
5272
|
//#endregion
|
|
5267
|
-
export {
|
|
5273
|
+
export { re as AccordionBehaviorList, ne as AccordionVariantList, Ji as AlignmentList, Gi as AutoCompleteList, Pe as BadgePlacementList, Be as ButtonTypeList, ze as ButtonVariantList, Se as COLOR, Ce as COLORS, we as COLORS_SIMPLE, be as COLOR_CONST, Z as COLOR_SIMPLE, Ue as CardBehaviorList, We as CardElevationLevelList, Yt as CustomSelectDropdownWidthList, Qt as CustomSelectListItemTypeList, W as DBAccordion, U as DBAccordionItem, Ne as DBBadge, Ie as DBBrand, Re as DBButton, He as DBCard, $e as DBCheckbox, tt as DBCustomButton, Jt as DBCustomSelect, pt as DBCustomSelectDropdown, Zt as DBCustomSelectFormField, xt as DBCustomSelectList, yt as DBCustomSelectListItem, tn as DBDivider, un as DBDrawer, An as DBHeader, Mn as DBIcon, $ as DBInfotext, Ot as DBInput, In as DBLink, Vn as DBNavigation, Kn as DBNavigationItem, Zn as DBNotification, nr as DBPage, sr as DBPopover, ur as DBRadio, fr as DBSection, Sr as DBSelect, wr as DBStack, Nr as DBSwitch, Ir as DBTabItem, zr as DBTabList, Vr as DBTabPanel, ri as DBTable, Yr as DBTableBody, ai as DBTableCaption, pi as DBTableColumnsSizeList, Ur as DBTableDataCell, ui as DBTableDividerList, Zr as DBTableFooter, $r as DBTableHead, Gr as DBTableHeaderCell, oi as DBTableHeaderCellScopeList, di as DBTableMobileVariantList, qr as DBTableRow, ci as DBTableRowSizeList, si as DBTableRowSubHeaderEmphasisList, fi as DBTableStickyHeaderList, li as DBTableVariantList, hi as DBTabs, Mt as DBTag, Ci as DBTextarea, At as DBTooltip, Ae as DB_UX_LOCAL_STORAGE_FRAMEWORK, je as DB_UX_LOCAL_STORAGE_MODE, pe as DEFAULT_BACK, he as DEFAULT_BURGER_MENU, ve as DEFAULT_CLOSE_BUTTON, Y as DEFAULT_DATALIST_ID_SUFFIX, ge as DEFAULT_ICON, G as DEFAULT_ID, de as DEFAULT_INVALID_MESSAGE, ce as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, ie as DEFAULT_LABEL, oe as DEFAULT_LABEL_ID_SUFFIX, K as DEFAULT_MESSAGE, q as DEFAULT_MESSAGE_ID_SUFFIX, ae as DEFAULT_PLACEHOLDER, le as DEFAULT_PLACEHOLDER_ID_SUFFIX, fe as DEFAULT_REMOVE, _e as DEFAULT_ROWS, me as DEFAULT_SELECTED, se as DEFAULT_SELECT_ID_SUFFIX, ue as DEFAULT_VALID_MESSAGE, J as DEFAULT_VALID_MESSAGE_ID_SUFFIX, De as DEFAULT_VIEWPORT, X as DENSITIES, xe as DENSITY, ye as DENSITY_CONST, Oe as DESKTOP_VIEWPORT, nn as DividerMarginList, rn as DividerVariantList, nt as DocumentClickListener, rt as DocumentScrollListener, dn as DrawerBackdropList, fn as DrawerDirectionList, mn as DrawerPositionList, pn as DrawerVariantList, Bi as EmphasisList, Hi as FieldSizingList, Ni as GapSpacingList, Nn as IconWeightList, Pn as InputTypeList, Wi as LabelVariantHorizontalList, Ui as LabelVariantList, zn as LinkContentList, qi as LinkReferrerPolicyList, Rn as LinkSizeList, Ki as LinkTargetList, Ln as LinkVariantList, ki as MarginList, Ii as MaxWidthList, gn as NavigationItemSafeTriangle, er as NotificationAriaLiveList, $n as NotificationLinkVariantList, Qn as NotificationVariantList, Pi as OrientationList, ir as PageDocumentOverflowList, rr as PageVariantList, Ai as PlacementHorizontalList, Mi as PlacementList, ji as PlacementVerticalList, Li as PopoverDelayList, Ri as PopoverWidthList, Te as SEMANTIC, Ee as SEMANTICS, $t as SelectedTypeList, Di as SemanticList, zi as SizeList, Oi as SpacingList, Dr as StackAlignmentList, Er as StackDirectionList, Or as StackJustifyContentList, Tr as StackVariantList, ke as TESTING_VIEWPORTS, gi as TabsBehaviorList, _i as TabsInitialSelectedModeList, vi as TagBehaviorList, wi as TextareaResizeList, Ti as TextareaWrapList, Ei as TooltipVariantList, Vi as ValidationList, Fi as WidthList, S as addAttributeToChildren, C as cls, O as delay, A as getBoolean, k as getBooleanAsString, st as getFloatingProps, F as getHideProp, N as getInputValue, V as getNotificationRole, j as getNumber, z as getOptionKey, L as getSearchInput, M as getStep, at as handleDataOutside, ot as handleFixedDropdown, dt as handleFixedPopover, E as hasVoiceOver, w as isArrayOfStrings, hn as isEventTargetNavigationItem, D as isIOSSafari, B as isKeyboardEvent, I as stringPropVisible, x as uuid };
|