@db-ux/v-core-components 4.2.2 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/db-ux.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as W, ref as o, onMounted as Y, watch as C, createElementBlock as y, openBlock as v, normalizeClass as U, unref as n, createElementVNode as E, createCommentVNode as z, renderSlot as F, Fragment as H, createTextVNode as D, toDisplayString as B, renderList as ge, createBlock as J, onUnmounted as he, createVNode as te, withCtx as G } from "vue";
2
- const Ie = "OVERWRITE_DEFAULT_ID", ye = "LABEL SHOULD BE SET", ea = " ", Ia = "MESSAGE SHOULD BE SET", Ye = "-label", Je = "-select", ce = "-message", re = "-valid-message", ve = "-invalid-message", De = "-placeholder", Qe = "-datalist", se = "TODO: Add a validMessage", ee = "TODO: Add an invalidMessage", aa = "Remove", xa = "Back", $a = "Selected", Ta = "BurgerMenu", Ca = "brand", Ea = 4, qe = "Close", Ki = "density", Yi = "color";
1
+ import { defineComponent as W, ref as o, onMounted as J, watch as C, createElementBlock as y, openBlock as v, normalizeClass as U, unref as n, createElementVNode as E, createCommentVNode as z, renderSlot as F, Fragment as H, createTextVNode as D, toDisplayString as B, renderList as ge, createBlock as Y, onUnmounted as he, createVNode as te, withCtx as G } from "vue";
2
+ const Te = "OVERWRITE_DEFAULT_ID", ye = "LABEL SHOULD BE SET", ea = " ", Ia = "MESSAGE SHOULD BE SET", Ye = "-label", Je = "-select", ce = "-message", re = "-valid-message", ve = "-invalid-message", De = "-placeholder", Qe = "-datalist", se = "TODO: Add a validMessage", ee = "TODO: Add an invalidMessage", aa = "Remove", xa = "Back", $a = "Selected", Ta = "BurgerMenu", Ca = "brand", Ea = 4, qe = "Close", Ki = "density", Yi = "color";
3
3
  var ta = /* @__PURE__ */ ((e) => (e.FUNCTIONAL = "functional", e.REGULAR = "regular", e.EXPRESSIVE = "expressive", e))(ta || {});
4
4
  const Ji = Object.entries(ta).map(([, e]) => e);
5
5
  var ia = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e))(ia || {}), la = /* @__PURE__ */ ((e) => (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))(la || {});
@@ -21,7 +21,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
21
21
  }, {
22
22
  name: "mobile",
23
23
  ...Aa
24
- }], Q = () => {
24
+ }], _ = () => {
25
25
  if (typeof window < "u") {
26
26
  if (window.crypto?.randomUUID)
27
27
  return window.crypto.randomUUID();
@@ -60,8 +60,8 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
60
60
  }, Ze = (e, t) => t && ["number", "range"].includes(t) ? ke(e) : e, ne = (e) => {
61
61
  if (e != null)
62
62
  return V(!e);
63
- }, _ = (e, t) => (t === void 0 || !!t) && !!e, _e = (e) => e.querySelector('input[type="search"]'), al = (e, t) => {
64
- const l = e.id ?? e.value ?? Q();
63
+ }, Z = (e, t) => (t === void 0 || !!t) && !!e, _e = (e) => e.querySelector('input[type="search"]'), al = (e, t) => {
64
+ const l = e.id ?? e.value ?? _();
65
65
  return `${t}${l}`;
66
66
  }, Ra = (e) => e.key !== void 0, za = ["id"], Va = ["aria-disabled", "name", "open"], Pa = /* @__PURE__ */ W({
67
67
  __name: "accordion-item",
@@ -81,13 +81,13 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
81
81
  name: { default: void 0 }
82
82
  },
83
83
  setup(e) {
84
- const t = e, l = o(Ie), a = o(!1), i = o(void 0), u = o(!1), c = o(null);
85
- Y(() => {
86
- l.value = t.id || "accordion-item-" + Q(), t.defaultOpen && (a.value = t.defaultOpen), u.value = !0;
84
+ const t = e, l = o(Te), a = o(!1), i = o(void 0), c = o(!1), u = o(null);
85
+ J(() => {
86
+ l.value = t.id || "accordion-item-" + _(), t.defaultOpen && (a.value = t.defaultOpen), c.value = !0;
87
87
  }), C(
88
- () => [c.value, u.value],
88
+ () => [u.value, c.value],
89
89
  () => {
90
- c.value && u.value;
90
+ u.value && c.value;
91
91
  },
92
92
  {
93
93
  immediate: !0,
@@ -115,7 +115,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
115
115
  E("details", {
116
116
  "aria-disabled": n(V)(e.disabled),
117
117
  ref_key: "_ref",
118
- ref: c,
118
+ ref: u,
119
119
  name: i.value,
120
120
  open: a.value
121
121
  }, [
@@ -151,9 +151,9 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
151
151
  autofocus: { type: [Boolean, String] }
152
152
  },
153
153
  setup(e) {
154
- const t = e, l = o(Ie), a = o(""), i = o(!1), u = o(!1), c = o(null);
155
- Y(() => {
156
- l.value = t.id || "accordion-" + Q(), i.value = !0, u.value = !0;
154
+ const t = e, l = o(Te), a = o(""), i = o(!1), c = o(!1), u = o(null);
155
+ J(() => {
156
+ l.value = t.id || "accordion-" + _(), i.value = !0, c.value = !0;
157
157
  }), C(
158
158
  () => [i.value, t.name, t.behavior, l.value],
159
159
  () => {
@@ -164,10 +164,10 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
164
164
  flush: "post"
165
165
  }
166
166
  ), C(
167
- () => [c.value, a.value],
167
+ () => [u.value, a.value],
168
168
  () => {
169
- if (c.value) {
170
- const g = c.value.getElementsByTagName("details");
169
+ if (u.value) {
170
+ const g = u.value.getElementsByTagName("details");
171
171
  if (g)
172
172
  for (const h of Array.from(g))
173
173
  a.value === "" ? h.removeAttribute("name") : h.name = a.value ?? "";
@@ -178,11 +178,11 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
178
178
  flush: "post"
179
179
  }
180
180
  ), C(
181
- () => [c.value, u.value, t.initOpenIndex],
181
+ () => [u.value, c.value, t.initOpenIndex],
182
182
  () => {
183
- if (c.value && u.value) {
183
+ if (u.value && c.value) {
184
184
  if (t.initOpenIndex && t.initOpenIndex.length > 0) {
185
- const g = c.value.getElementsByTagName("details");
185
+ const g = u.value.getElementsByTagName("details");
186
186
  if (g) {
187
187
  const h = t.behavior === "single" && t.initOpenIndex.length > 1 ? [t.initOpenIndex[0]] : t.initOpenIndex;
188
188
  Array.from(g).forEach(
@@ -192,7 +192,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
192
192
  );
193
193
  }
194
194
  }
195
- u.value = !1;
195
+ c.value = !1;
196
196
  }
197
197
  },
198
198
  {
@@ -210,13 +210,13 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
210
210
  }
211
211
  return (g, h) => (v(), y("ul", {
212
212
  ref_key: "_ref",
213
- ref: c,
213
+ ref: u,
214
214
  id: l.value,
215
215
  class: U(n(O)("db-accordion", t.class)),
216
216
  "data-variant": e.variant
217
217
  }, [
218
218
  e.items ? z("", !0) : F(g.$slots, "default", { key: 0 }),
219
- e.items ? (v(!0), y(H, { key: 1 }, ge(f(), (k, $) => (v(), J(Pa, {
219
+ e.items ? (v(!0), y(H, { key: 1 }, ge(f(), (k, $) => (v(), Y(Pa, {
220
220
  key: `accordion-item-${$}`,
221
221
  headlinePlain: k.headlinePlain,
222
222
  disabled: k.disabled,
@@ -241,7 +241,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
241
241
  },
242
242
  setup(e) {
243
243
  const t = e, l = o(!1), a = o(null);
244
- return Y(() => {
244
+ return J(() => {
245
245
  l.value = !0;
246
246
  }), C(
247
247
  () => [a.value, l.value],
@@ -255,7 +255,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
255
255
  immediate: !0,
256
256
  flush: "post"
257
257
  }
258
- ), (i, u) => (v(), y("span", {
258
+ ), (i, c) => (v(), y("span", {
259
259
  ref_key: "_ref",
260
260
  ref: a,
261
261
  id: e.id,
@@ -330,10 +330,10 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
330
330
  function a() {
331
331
  return t.type ? t.type : t.onClick ? "button" : "submit";
332
332
  }
333
- function i(u) {
334
- t.onClick && t.onClick(u);
333
+ function i(c) {
334
+ t.onClick && t.onClick(c);
335
335
  }
336
- return (u, c) => (v(), y("button", {
336
+ return (c, u) => (v(), y("button", {
337
337
  ref_key: "_ref",
338
338
  ref: l,
339
339
  id: e.id,
@@ -351,11 +351,11 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
351
351
  name: e.name,
352
352
  form: e.form,
353
353
  value: e.value,
354
- onClick: c[0] || (c[0] = async (f) => i(f))
354
+ onClick: u[0] || (u[0] = async (f) => i(f))
355
355
  }, [
356
356
  e.text ? (v(), y(H, { key: 0 }, [
357
357
  D(B(e.text), 1)
358
- ], 64)) : F(u.$slots, "default", { key: 1 })
358
+ ], 64)) : F(c.$slots, "default", { key: 1 })
359
359
  ], 10, Ga));
360
360
  }
361
361
  }), sl = ["outlined", "brand", "filled", "ghost"], ul = ["button", "reset", "submit"], Wa = ["id", "data-behavior", "data-elevation-level", "data-spacing"], cl = /* @__PURE__ */ W({
@@ -376,7 +376,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
376
376
  function a(i) {
377
377
  t.onClick && t.onClick(i);
378
378
  }
379
- return (i, u) => (v(), y("div", {
379
+ return (i, c) => (v(), y("div", {
380
380
  ref_key: "_ref",
381
381
  ref: l,
382
382
  id: e.id,
@@ -384,7 +384,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
384
384
  "data-behavior": e.behavior,
385
385
  "data-elevation-level": e.elevationLevel,
386
386
  "data-spacing": e.spacing,
387
- onClick: u[0] || (u[0] = async (c) => a(c))
387
+ onClick: c[0] || (c[0] = async (u) => a(u))
388
388
  }, [
389
389
  F(i.$slots, "default")
390
390
  ], 10, Wa));
@@ -400,30 +400,30 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
400
400
  }, da = (e, t, l, a) => {
401
401
  Me(e, (i) => {
402
402
  K(() => {
403
- const u = t.checked ? t.checked : t.defaultChecked ? t.defaultChecked : e.checked, c = {
403
+ const c = t.checked ? t.checked : t.defaultChecked ? t.defaultChecked : e.checked, u = {
404
404
  ...i,
405
405
  target: {
406
406
  ...i.target,
407
- checked: u
407
+ checked: c
408
408
  }
409
409
  };
410
- l(c);
410
+ l(u);
411
411
  }, 1);
412
412
  }, a);
413
413
  }, Ue = (e, t, l, a) => {
414
414
  Me(e, (i) => {
415
415
  K(() => {
416
- const u = t.value ? t.value : t.defaultValue ? t.defaultValue : e.value, c = {
416
+ const c = t.value ? t.value : t.defaultValue ? t.defaultValue : e.value, u = {
417
417
  ...i,
418
418
  target: {
419
419
  ...i.target,
420
- value: u
420
+ value: c
421
421
  }
422
422
  };
423
- l(c);
423
+ l(u);
424
424
  }, 1);
425
425
  }, a);
426
- }, Ha = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], Z = /* @__PURE__ */ W({
426
+ }, Ha = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], Q = /* @__PURE__ */ W({
427
427
  __name: "infotext",
428
428
  props: {
429
429
  children: { default: void 0 },
@@ -495,11 +495,11 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
495
495
  },
496
496
  emits: ["update:checked"],
497
497
  setup(e, { emit: t }) {
498
- const l = t, a = e, i = o(!1), u = o(void 0), c = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(void 0), $ = o(""), m = o(void 0), s = o(null);
499
- Y(() => {
498
+ const l = t, a = e, i = o(!1), c = o(void 0), u = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(void 0), $ = o(""), m = o(void 0), s = o(null);
499
+ J(() => {
500
500
  i.value = !0;
501
- const L = a.id ?? `checkbox-${Q()}`;
502
- u.value = L, c.value = L + ce, f.value = L + re, g.value = L + ve, h.value = a.invalidMessage || ee;
501
+ const L = a.id ?? `checkbox-${_()}`;
502
+ c.value = L, u.value = L + ce, f.value = L + re, g.value = L + ve, h.value = a.invalidMessage || ee;
503
503
  }), he(() => {
504
504
  m.value?.abort();
505
505
  }), C(
@@ -512,11 +512,11 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
512
512
  flush: "post"
513
513
  }
514
514
  ), C(
515
- () => [u.value],
515
+ () => [c.value],
516
516
  () => {
517
- if (u.value) {
518
- const L = u.value + ce;
519
- c.value = L, f.value = u.value + re, g.value = u.value + ve, _(a.message, a.showMessage) && (k.value = L), b();
517
+ if (c.value) {
518
+ const L = c.value + ce;
519
+ u.value = L, f.value = c.value + re, g.value = c.value + ve, Z(a.message, a.showMessage) && (k.value = L), b();
520
520
  }
521
521
  },
522
522
  {
@@ -568,7 +568,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
568
568
  return !!(a.validMessage ?? a.validation === "valid");
569
569
  }
570
570
  function b() {
571
- !s.value?.validity.valid || a.validation === "invalid" ? (k.value = g.value, h.value = a.invalidMessage || s.value?.validationMessage || ee, ue() && ($.value = h.value, K(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && a.required ? (k.value = f.value, ue() && ($.value = a.validMessage ?? se, K(() => $.value = "", 1e3))) : _(a.message, a.showMessage) ? k.value = c.value : k.value = void 0;
571
+ !s.value?.validity.valid || a.validation === "invalid" ? (k.value = g.value, h.value = a.invalidMessage || s.value?.validationMessage || ee, ue() && ($.value = h.value, K(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && a.required ? (k.value = f.value, ue() && ($.value = a.validMessage ?? se, K(() => $.value = "", 1e3))) : Z(a.message, a.showMessage) ? k.value = u.value : k.value = void 0;
572
572
  }
573
573
  function I(L, S) {
574
574
  a.onChange && a.onChange(L), de(l, L, "checked"), b();
@@ -585,14 +585,14 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
585
585
  "data-hide-asterisk": n(ne)(e.showRequiredAsterisk),
586
586
  "data-hide-label": n(ne)(e.showLabel)
587
587
  }, [
588
- E("label", { for: u.value }, [
588
+ E("label", { for: c.value }, [
589
589
  E("input", {
590
590
  type: "checkbox",
591
591
  "aria-invalid": e.validation === "invalid",
592
592
  "data-custom-validity": e.validation,
593
593
  ref_key: "_ref",
594
594
  ref: s,
595
- id: u.value,
595
+ id: c.value,
596
596
  name: e.name,
597
597
  checked: n(q)(e.checked, "checked"),
598
598
  disabled: n(q)(e.disabled, "disabled"),
@@ -607,18 +607,18 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
607
607
  D(B(e.label), 1)
608
608
  ], 64)) : F(L.$slots, "default", { key: 1 })
609
609
  ], 8, ja),
610
- n(_)(e.message, e.showMessage) ? (v(), J(Z, {
610
+ n(Z)(e.message, e.showMessage) ? (v(), Y(Q, {
611
611
  key: 0,
612
612
  size: "small",
613
613
  icon: e.messageIcon,
614
- id: c.value
614
+ id: u.value
615
615
  }, {
616
616
  default: G(() => [
617
617
  D(B(e.message), 1)
618
618
  ]),
619
619
  _: 1
620
620
  }, 8, ["icon", "id"])) : z("", !0),
621
- d() ? (v(), J(Z, {
621
+ d() ? (v(), Y(Q, {
622
622
  key: 1,
623
623
  size: "small",
624
624
  semantic: "successful",
@@ -629,7 +629,7 @@ const _i = Object.entries(na).map(([, e]) => e), Aa = {
629
629
  ]),
630
630
  _: 1
631
631
  }, 8, ["id"])) : z("", !0),
632
- te(Z, {
632
+ te(Q, {
633
633
  size: "small",
634
634
  semantic: "critical",
635
635
  id: g.value
@@ -656,7 +656,7 @@ class fe {
656
656
  fe._instance = this, self.document && self.document.addEventListener("click", (t) => fe.runCallbacks(t));
657
657
  }
658
658
  addCallback(t) {
659
- const l = Q();
659
+ const l = _();
660
660
  return fe.callbacks[l] = t, l;
661
661
  }
662
662
  removeCallback(t) {
@@ -681,7 +681,7 @@ class oe {
681
681
  }, !0);
682
682
  }
683
683
  addCallback(t) {
684
- const l = Q();
684
+ const l = _();
685
685
  return oe.callbacks[l] = t, l;
686
686
  }
687
687
  removeCallback(t) {
@@ -695,12 +695,12 @@ const Ja = (e) => {
695
695
  left: a,
696
696
  right: i
697
697
  } = e.getBoundingClientRect(), {
698
- innerHeight: u,
699
- innerWidth: c
698
+ innerHeight: c,
699
+ innerWidth: u
700
700
  } = window;
701
- let f = t < 0, g = l > u, h = a < 0, k = i > c;
701
+ let f = t < 0, g = l > c, h = a < 0, k = i > u;
702
702
  const $ = e.dataset.outsideVy, m = e.dataset.outsideVx, s = e?.parentElement?.getBoundingClientRect();
703
- return s && ($ && (e.dataset.outsideVy === "top" ? f = s.top - (l - s.bottom) < 0 : g = s.bottom + (s.top - t) > u), m && (e.dataset.outsideVx === "left" ? h = s.left - (i - s.right) < 0 : k = s.right + (s.left - a) > c)), {
703
+ return s && ($ && (e.dataset.outsideVy === "top" ? f = s.top - (l - s.bottom) < 0 : g = s.bottom + (s.top - t) > c), m && (e.dataset.outsideVx === "left" ? h = s.left - (i - s.right) < 0 : k = s.right + (s.left - a) > u)), {
704
704
  outTop: f,
705
705
  outBottom: g,
706
706
  outLeft: h,
@@ -713,26 +713,26 @@ const Ja = (e) => {
713
713
  outLeft: a,
714
714
  outRight: i
715
715
  } = Ja(e);
716
- let u = {};
717
- return t || l ? (u = {
716
+ let c = {};
717
+ return t || l ? (c = {
718
718
  vy: t ? "top" : "bottom"
719
- }, e.dataset.outsideVy = u.vy) : delete e.dataset.outsideVy, a || i ? (u = {
720
- ...u,
719
+ }, e.dataset.outsideVy = c.vy) : delete e.dataset.outsideVy, a || i ? (c = {
720
+ ...c,
721
721
  vx: i ? "right" : "left"
722
- }, e.dataset.outsideVx = u.vx) : delete e.dataset.outsideVx, u;
722
+ }, e.dataset.outsideVx = c.vx) : delete e.dataset.outsideVx, c;
723
723
  }, Za = (e, t, l) => {
724
724
  if (getComputedStyle(e).zIndex === "9999") return;
725
725
  const {
726
726
  top: a,
727
727
  bottom: i,
728
- childHeight: u,
729
- childWidth: c,
728
+ childHeight: c,
729
+ childWidth: u,
730
730
  width: f,
731
731
  right: g,
732
732
  left: h,
733
733
  correctedPlacement: k
734
734
  } = sa(e, t, l);
735
- e.dataset.width === "full" && (e.style.inlineSize = `${f}px`), k === "top" || k === "bottom" || k === "top-start" || k === "bottom-start" ? e.style.insetInlineStart = `${h}px` : (k === "top-end" || k === "bottom-end") && (e.style.insetInlineStart = `${g - c}px`), k?.startsWith("top") ? e.style.insetBlockStart = `${a - u}px` : k?.startsWith("bottom") && (e.style.insetBlockStart = `${i}px`), e.style.position = "fixed";
735
+ e.dataset.width === "full" && (e.style.inlineSize = `${f}px`), k === "top" || k === "bottom" || k === "top-start" || k === "bottom-start" ? e.style.insetInlineStart = `${h}px` : (k === "top-end" || k === "bottom-end") && (e.style.insetInlineStart = `${g - u}px`), k?.startsWith("top") ? e.style.insetBlockStart = `${a - c}px` : k?.startsWith("bottom") && (e.style.insetBlockStart = `${i}px`), e.style.position = "fixed";
736
736
  }, sa = (e, t, l) => {
737
737
  if (!e || !t)
738
738
  return {
@@ -750,8 +750,8 @@ const Ja = (e) => {
750
750
  };
751
751
  const a = e.getBoundingClientRect(), {
752
752
  top: i,
753
- height: u,
754
- bottom: c,
753
+ height: c,
754
+ bottom: u,
755
755
  right: f,
756
756
  left: g,
757
757
  width: h
@@ -761,13 +761,13 @@ const Ja = (e) => {
761
761
  } = window;
762
762
  let m = a.height, s = a.width;
763
763
  (l === "bottom" || l === "top") && (s = s / 2), (l === "left" || l === "right") && (m = m / 2);
764
- const d = c + m > k, b = i - m < 0, I = g - s < 0, T = f + s > $;
764
+ const d = u + m > k, b = i - m < 0, I = g - s < 0, T = f + s > $;
765
765
  let w = l;
766
766
  return l.startsWith("bottom") ? d ? (w = l?.replace("bottom", "top"), I && T ? w = "top" : I ? w = "top-start" : T && (w = "top-end")) : I && T ? w = "bottom" : I ? w = "bottom-start" : T && (w = "bottom-end") : l.startsWith("top") ? b ? (w = l?.replace("top", "bottom"), I && T ? w = "bottom" : I ? w = "bottom-start" : T && (w = "bottom-end")) : I && T ? w = "top" : I ? w = "top-start" : T && (w = "top-end") : l.startsWith("left") ? I ? (w = l?.replace("left", "right"), d && b ? w = "right" : d ? w = "right-end" : b && (w = "right-start")) : d && b ? w = "left" : d ? w = "left-end" : b && (w = "left-start") : w.startsWith("right") && (T ? (w = l?.replace("right", "left"), d && b ? w = "left" : d ? w = "left-end" : b && (w = "left-start")) : d && b ? w = "right" : d ? w = "right-end" : b && (w = "right-start")), {
767
767
  top: i,
768
- bottom: c,
768
+ bottom: u,
769
769
  right: f,
770
- height: u,
770
+ height: c,
771
771
  width: h,
772
772
  left: g,
773
773
  childHeight: a.height,
@@ -779,8 +779,8 @@ const Ja = (e) => {
779
779
  }, ua = (e, t, l) => {
780
780
  const a = getComputedStyle(e).getPropertyValue("--db-popover-distance") ?? "0px", {
781
781
  top: i,
782
- height: u,
783
- width: c,
782
+ height: c,
783
+ width: u,
784
784
  childHeight: f,
785
785
  childWidth: g,
786
786
  right: h,
@@ -790,16 +790,16 @@ const Ja = (e) => {
790
790
  innerWidth: s,
791
791
  innerHeight: d
792
792
  } = sa(e, t, l);
793
- if (g > c && (m.startsWith("bottom") || m.startsWith("top"))) {
794
- const b = c / 2 / g * 100;
793
+ if (g > u && (m.startsWith("bottom") || m.startsWith("top"))) {
794
+ const b = u / 2 / g * 100;
795
795
  m.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-inline-start", `${b}%`) : m.endsWith("end") && e.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - b}%`);
796
796
  }
797
- if (f > u && (m.startsWith("left") || m.startsWith("bottom"))) {
798
- const b = u / 2 / f * 100;
797
+ if (f > c && (m.startsWith("left") || m.startsWith("bottom"))) {
798
+ const b = c / 2 / f * 100;
799
799
  m.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-block-start", `${b}%`) : m.endsWith("end") && e.style.setProperty("--db-tooltip-arrow-block-start", `${100 - b}%`);
800
800
  }
801
801
  if (m === "right" || m === "left")
802
- e.style.insetBlockStart = `${i + u / 2}px`;
802
+ e.style.insetBlockStart = `${i + c / 2}px`;
803
803
  else if (m === "right-start" || m === "left-start") {
804
804
  const b = i + f;
805
805
  e.style.insetBlockStart = `${i}px`, e.style.insetBlockEnd = `${b > d ? d : b}px`;
@@ -807,7 +807,7 @@ const Ja = (e) => {
807
807
  const b = $ - f;
808
808
  e.style.insetBlockStart = `${b < 0 ? 0 : b}px`, e.style.insetBlockEnd = `${$}px`;
809
809
  } else if (m === "top" || m === "bottom")
810
- e.style.insetInlineStart = `${k + c / 2}px`;
810
+ e.style.insetInlineStart = `${k + u / 2}px`;
811
811
  else if (m === "top-start" || m === "bottom-start") {
812
812
  const b = k + g;
813
813
  e.style.insetInlineStart = `${k}px`, e.style.insetInlineEnd = `${b > s ? s : b}px`;
@@ -876,13 +876,13 @@ const Ja = (e) => {
876
876
  },
877
877
  emits: ["update:checked"],
878
878
  setup(e, { emit: t }) {
879
- const l = t, a = e, i = o(void 0), u = o(!1), c = o(null);
880
- Y(() => {
881
- i.value = a.id ?? `custom-select-list-item-${Q()}`;
879
+ const l = t, a = e, i = o(void 0), c = o(!1), u = o(null);
880
+ J(() => {
881
+ i.value = a.id ?? `custom-select-list-item-${_()}`;
882
882
  }), C(
883
883
  () => [a.isGroupTitle, a.showDivider],
884
884
  () => {
885
- u.value = !!(a.isGroupTitle || a.showDivider);
885
+ c.value = !!(a.isGroupTitle || a.showDivider);
886
886
  },
887
887
  {
888
888
  immediate: !0,
@@ -898,7 +898,7 @@ const Ja = (e) => {
898
898
  }
899
899
  return (h, k) => (v(), y("li", {
900
900
  ref_key: "_ref",
901
- ref: c,
901
+ ref: u,
902
902
  id: i.value,
903
903
  class: U(
904
904
  n(O)("db-custom-select-list-item", a.class, {
@@ -906,7 +906,7 @@ const Ja = (e) => {
906
906
  "db-radio": e.type !== "checkbox" && !e.isGroupTitle
907
907
  })
908
908
  ),
909
- "data-divider": n(V)(u.value)
909
+ "data-divider": n(V)(c.value)
910
910
  }, [
911
911
  e.isGroupTitle ? (v(), y("span", lt, B(e.groupTitle), 1)) : (v(), y("label", {
912
912
  key: 0,
@@ -1024,10 +1024,10 @@ const Ja = (e) => {
1024
1024
  },
1025
1025
  emits: ["update:value"],
1026
1026
  setup(e, { emit: t }) {
1027
- const l = t, a = e, i = o(void 0), u = o(void 0), c = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(void 0), $ = o(void 0), m = o(""), s = o(void 0), d = o(null);
1028
- Y(() => {
1029
- const N = a.id ?? `input-${Q()}`;
1030
- i.value = N, u.value = N + ce, c.value = N + re, f.value = N + ve, h.value = N + Qe, g.value = a.invalidMessage || ee;
1027
+ const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(void 0), $ = o(void 0), m = o(""), s = o(void 0), d = o(null);
1028
+ J(() => {
1029
+ const N = a.id ?? `input-${_()}`;
1030
+ i.value = N, c.value = N + ce, u.value = N + re, f.value = N + ve, h.value = N + Qe, g.value = a.invalidMessage || ee;
1031
1031
  }), he(() => {
1032
1032
  s.value?.abort();
1033
1033
  }), C(
@@ -1044,7 +1044,7 @@ const Ja = (e) => {
1044
1044
  () => {
1045
1045
  if (i.value) {
1046
1046
  const N = i.value + ce;
1047
- u.value = N, c.value = i.value + re, f.value = i.value + ve, h.value = a.dataListId ?? i.value + Qe, _(a.message, a.showMessage) && (k.value = N), I();
1047
+ c.value = N, u.value = i.value + re, f.value = i.value + ve, h.value = a.dataListId ?? i.value + Qe, Z(a.message, a.showMessage) && (k.value = N), I();
1048
1048
  }
1049
1049
  },
1050
1050
  {
@@ -1087,7 +1087,7 @@ const Ja = (e) => {
1087
1087
  return !!(a.validMessage ?? a.validation === "valid");
1088
1088
  }
1089
1089
  function I() {
1090
- !d.value?.validity.valid || a.validation === "invalid" ? (k.value = f.value, g.value = a.invalidMessage || d.value?.validationMessage || ee, ue() && (m.value = g.value, K(() => m.value = "", 1e3))) : b() && d.value?.validity.valid && (a.required || a.minLength || a.maxLength || a.pattern) ? (k.value = c.value, ue() && (m.value = a.validMessage ?? se, K(() => m.value = "", 1e3))) : _(a.message, a.showMessage) ? k.value = u.value : k.value = void 0;
1090
+ !d.value?.validity.valid || a.validation === "invalid" ? (k.value = f.value, g.value = a.invalidMessage || d.value?.validationMessage || ee, ue() && (m.value = g.value, K(() => m.value = "", 1e3))) : b() && d.value?.validity.valid && (a.required || a.minLength || a.maxLength || a.pattern) ? (k.value = u.value, ue() && (m.value = a.validMessage ?? se, K(() => m.value = "", 1e3))) : Z(a.message, a.showMessage) ? k.value = c.value : k.value = void 0;
1091
1091
  }
1092
1092
  function T(N, X) {
1093
1093
  a.input && a.input(N), $.value = N.target.value, a.onInput && a.onInput(N), de(l, N), I();
@@ -1168,21 +1168,21 @@ const Ja = (e) => {
1168
1168
  }, B(A.label), 9, vt))), 128))
1169
1169
  ], 8, rt)) : z("", !0),
1170
1170
  F(N.$slots, "default"),
1171
- n(_)(e.message, e.showMessage) ? (v(), J(Z, {
1171
+ n(Z)(e.message, e.showMessage) ? (v(), Y(Q, {
1172
1172
  key: 1,
1173
1173
  size: e.messageSize || "small",
1174
1174
  icon: e.messageIcon,
1175
- id: u.value
1175
+ id: c.value
1176
1176
  }, {
1177
1177
  default: G(() => [
1178
1178
  D(B(e.message), 1)
1179
1179
  ]),
1180
1180
  _: 1
1181
1181
  }, 8, ["size", "icon", "id"])) : z("", !0),
1182
- b() ? (v(), J(Z, {
1182
+ b() ? (v(), Y(Q, {
1183
1183
  key: 2,
1184
1184
  semantic: "successful",
1185
- id: c.value,
1185
+ id: u.value,
1186
1186
  size: e.validMessageSize || "small"
1187
1187
  }, {
1188
1188
  default: G(() => [
@@ -1190,7 +1190,7 @@ const Ja = (e) => {
1190
1190
  ]),
1191
1191
  _: 1
1192
1192
  }, 8, ["id", "size"])) : z("", !0),
1193
- te(Z, {
1193
+ te(Q, {
1194
1194
  semantic: "critical",
1195
1195
  id: f.value,
1196
1196
  size: e.invalidMessageSize || "small"
@@ -1220,19 +1220,19 @@ const Ja = (e) => {
1220
1220
  width: { default: void 0 }
1221
1221
  },
1222
1222
  setup(e) {
1223
- const t = e, l = o(Ie), a = o(!1), i = o(void 0), u = o(void 0), c = o(null);
1224
- Y(() => {
1225
- l.value = t.id || "tooltip-" + Q(), a.value = !0;
1223
+ const t = e, l = o(Te), a = o(!1), i = o(void 0), c = o(void 0), u = o(null);
1224
+ J(() => {
1225
+ l.value = t.id || "tooltip-" + _(), a.value = !0;
1226
1226
  }), C(
1227
- () => [c.value, a.value],
1227
+ () => [u.value, a.value],
1228
1228
  () => {
1229
- if (c.value && a.value && l.value) {
1229
+ if (u.value && a.value && l.value) {
1230
1230
  const d = h();
1231
1231
  d && (["mouseenter", "focusin"].forEach((b) => {
1232
1232
  d.addEventListener(b, () => s(d));
1233
1233
  }), d.addEventListener("keydown", (b) => g(b)), ["mouseleave", "focusout"].forEach((b) => {
1234
1234
  d.addEventListener(b, () => m());
1235
- }), d.dataset.hasTooltip = "true", t.variant === "label" ? d.setAttribute("aria-labelledby", l.value) : d.setAttribute("aria-describedby", l.value)), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((b) => {
1235
+ }), d.dataset.hasTooltip = "true", t.variant === "label" ? d.setAttribute("aria-labelledby", l.value) : d.setAttribute("aria-describedby", l.value)), typeof window < "u" && "IntersectionObserver" in window && (c.value = new IntersectionObserver((b) => {
1236
1236
  const I = b.find(({ target: T }) => T === h());
1237
1237
  I && !I.isIntersecting && g(!1);
1238
1238
  })), a.value = !1;
@@ -1247,40 +1247,40 @@ const Ja = (e) => {
1247
1247
  d.stopPropagation();
1248
1248
  }
1249
1249
  function g(d) {
1250
- (!d || d.key === "Escape") && c.value && getComputedStyle(c.value).visibility === "visible" && h().blur();
1250
+ (!d || d.key === "Escape") && u.value && getComputedStyle(u.value).visibility === "visible" && h().blur();
1251
1251
  }
1252
1252
  function h() {
1253
- let d = c.value.parentElement;
1253
+ let d = u.value.parentElement;
1254
1254
  return d && d.localName.includes("tooltip") && (d = d.parentElement), d;
1255
1255
  }
1256
1256
  function k(d) {
1257
- d && c.value && K(() => {
1258
- c.value && ua(
1259
- c.value,
1257
+ d && u.value && K(() => {
1258
+ u.value && ua(
1259
+ u.value,
1260
1260
  d,
1261
1261
  t.placement ?? "bottom"
1262
1262
  );
1263
1263
  }, 1);
1264
1264
  }
1265
1265
  function $(d, b) {
1266
- d?.target?.contains && d?.target?.contains(c.value) && k(b);
1266
+ d?.target?.contains && d?.target?.contains(u.value) && k(b);
1267
1267
  }
1268
1268
  function m() {
1269
1269
  i.value && new oe().removeCallback(
1270
1270
  i.value
1271
- ), u.value?.unobserve(h());
1271
+ ), c.value?.unobserve(h());
1272
1272
  }
1273
1273
  function s(d) {
1274
1274
  i.value = new oe().addCallback(
1275
1275
  (b) => $(b, d)
1276
- ), k(d), u.value?.observe(h());
1276
+ ), k(d), c.value?.observe(h());
1277
1277
  }
1278
1278
  return (d, b) => (v(), y("i", {
1279
1279
  role: "tooltip",
1280
1280
  "aria-hidden": "true",
1281
1281
  "data-gap": "true",
1282
1282
  ref_key: "_ref",
1283
- ref: c,
1283
+ ref: u,
1284
1284
  class: U(n(O)("db-tooltip", t.class)),
1285
1285
  id: l.value,
1286
1286
  "data-emphasis": e.emphasis,
@@ -1319,13 +1319,13 @@ const Ja = (e) => {
1319
1319
  },
1320
1320
  setup(e) {
1321
1321
  const t = e, l = o(null);
1322
- function a(u) {
1323
- u && (u.stopPropagation(), t.onRemove && t.onRemove(u));
1322
+ function a(c) {
1323
+ c && (c.stopPropagation(), t.onRemove && t.onRemove(c));
1324
1324
  }
1325
1325
  function i() {
1326
1326
  return t.removeButton ? t.removeButton : aa;
1327
1327
  }
1328
- return (u, c) => (v(), y("div", {
1328
+ return (c, u) => (v(), y("div", {
1329
1329
  ref_key: "_ref",
1330
1330
  ref: l,
1331
1331
  id: e.id,
@@ -1338,8 +1338,8 @@ const Ja = (e) => {
1338
1338
  "data-no-text": n(V)(e.noText),
1339
1339
  "data-overflow": n(V)(e.overflow)
1340
1340
  }, [
1341
- F(u.$slots, "content"),
1342
- F(u.$slots, "default"),
1341
+ F(c.$slots, "content"),
1342
+ F(c.$slots, "default"),
1343
1343
  e.text ? (v(), y(H, { key: 0 }, [
1344
1344
  D(B(e.text), 1)
1345
1345
  ], 64)) : z("", !0),
@@ -1351,7 +1351,7 @@ const Ja = (e) => {
1351
1351
  "data-no-text": "true",
1352
1352
  "data-variant": "ghost",
1353
1353
  type: "button",
1354
- onClick: c[0] || (c[0] = async (f) => a(f))
1354
+ onClick: u[0] || (u[0] = async (f) => a(f))
1355
1355
  }, [
1356
1356
  te(ca, { variant: "label" }, {
1357
1357
  default: G(() => [
@@ -1434,10 +1434,10 @@ const Ja = (e) => {
1434
1434
  },
1435
1435
  emits: ["update:values"],
1436
1436
  setup(e, { emit: t }) {
1437
- const l = t, a = e, i = o(void 0), u = o(void 0), c = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(void 0), $ = o(void 0), m = o(void 0), s = o(void 0), d = o("no-validation"), b = o(!1), I = o(void 0), T = o(void 0), w = o(""), L = o(void 0), S = o(""), M = o([]), N = o(!1), X = o(!1), A = o(0), R = o([]), j = o([]), pe = o(!1), me = o(void 0), Ce = o(0), Fe = o(void 0), Ne = o(void 0), Re = o(void 0), ze = o(!1), xe = o(!1), ra = o(null), P = o(null), le = o(null), Ee = o(null), Ve = o(null);
1438
- Y(() => {
1439
- const r = a.id ?? `custom-select-${Q()}`;
1440
- i.value = r, u.value = r + ce, c.value = r + re, f.value = r + ve, h.value = r + Je, k.value = r + Ye, $.value = r + "-summary", m.value = r + De, L.value = r + "-selected-labels", s.value = r + "-info", g.value = a.invalidMessage || ee, typeof window < "u" && "IntersectionObserver" in window && (Ne.value = new IntersectionObserver((p) => {
1437
+ const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(void 0), $ = o(void 0), m = o(void 0), s = o(void 0), d = o("no-validation"), b = o(!1), I = o(void 0), T = o(void 0), w = o(""), L = o(void 0), S = o(""), M = o([]), N = o(!1), X = o(!1), A = o(0), R = o([]), j = o([]), pe = o(!1), me = o(void 0), Ce = o(0), Fe = o(void 0), Ne = o(void 0), Re = o(void 0), ze = o(!1), Ie = o(!1), ra = o(null), P = o(null), le = o(null), Ee = o(null), Ve = o(null);
1438
+ J(() => {
1439
+ const r = a.id ?? `custom-select-${_()}`;
1440
+ i.value = r, c.value = r + ce, u.value = r + re, f.value = r + ve, h.value = r + Je, k.value = r + Ye, $.value = r + "-summary", m.value = r + De, L.value = r + "-selected-labels", s.value = r + "-info", g.value = a.invalidMessage || ee, typeof window < "u" && "IntersectionObserver" in window && (Ne.value = new IntersectionObserver((p) => {
1441
1441
  if (P.value) {
1442
1442
  const x = p.find(({ target: ae }) => ae === P.value);
1443
1443
  x && !x.isIntersecting && P.value.open && (P.value.open = !1);
@@ -1450,7 +1450,7 @@ const Ja = (e) => {
1450
1450
  () => {
1451
1451
  P.value && P.value.addEventListener(
1452
1452
  "focusout",
1453
- (r) => $e(r)
1453
+ (r) => xe(r)
1454
1454
  );
1455
1455
  },
1456
1456
  {
@@ -1462,7 +1462,7 @@ const Ja = (e) => {
1462
1462
  () => {
1463
1463
  if (i.value) {
1464
1464
  const r = i.value + ce;
1465
- k.value = i.value + Ye, h.value = i.value + Je, c.value = i.value + re, f.value = i.value + ve, m.value = i.value + De, _(a.message, a.showMessage) ? Le(r) : Le();
1465
+ k.value = i.value + Ye, h.value = i.value + Je, u.value = i.value + re, f.value = i.value + ve, m.value = i.value + De, Z(a.message, a.showMessage) ? Le(r) : Le();
1466
1466
  }
1467
1467
  },
1468
1468
  {
@@ -1563,7 +1563,7 @@ const Ja = (e) => {
1563
1563
  ), C(
1564
1564
  () => [R.value, A.value],
1565
1565
  () => {
1566
- R.value?.length === 0 ? (ze.value = !1, xe.value = !1) : R.value?.length === A.value ? (xe.value = !1, ze.value = !0) : R.value && (xe.value = !0);
1566
+ R.value?.length === 0 ? (ze.value = !1, Ie.value = !1) : R.value?.length === A.value ? (Ie.value = !1, ze.value = !0) : R.value && (Ie.value = !0);
1567
1567
  },
1568
1568
  {
1569
1569
  immediate: !0,
@@ -1638,9 +1638,9 @@ const Ja = (e) => {
1638
1638
  flush: "post"
1639
1639
  }
1640
1640
  ), C(
1641
- () => [xe.value, Ee.value],
1641
+ () => [Ie.value, Ee.value],
1642
1642
  () => {
1643
- Ee.value && (Ee.value.indeterminate = !!xe.value);
1643
+ Ee.value && (Ee.value.indeterminate = !!Ie.value);
1644
1644
  },
1645
1645
  {
1646
1646
  immediate: !0,
@@ -1663,7 +1663,7 @@ const Ja = (e) => {
1663
1663
  return !!(a.validMessage ?? a.validation === "valid");
1664
1664
  }
1665
1665
  function Ge() {
1666
- le.value && (le.value.value = ha()), !le.value?.validity.valid || a.validation === "invalid" ? (Le(f.value), g.value = a.invalidMessage || le.value?.validationMessage || ee, ue() && (S.value = g.value, K(() => S.value = "", 1e3)), b.value && (d.value = a.validation ?? "invalid")) : Oe() && le.value?.validity.valid && a.required ? (Le(c.value), ue() && (S.value = a.validMessage ?? se, K(() => S.value = "", 1e3)), d.value = a.validation ?? "valid") : _(a.message, a.showMessage) ? (Le(u.value), d.value = a.validation ?? "no-validation") : (Le(m.value), d.value = a.validation ?? "no-validation");
1666
+ le.value && (le.value.value = ha()), !le.value?.validity.valid || a.validation === "invalid" ? (Le(f.value), g.value = a.invalidMessage || le.value?.validationMessage || ee, ue() && (S.value = g.value, K(() => S.value = "", 1e3)), b.value && (d.value = a.validation ?? "invalid")) : Oe() && le.value?.validity.valid && a.required ? (Le(u.value), ue() && (S.value = a.validMessage ?? se, K(() => S.value = "", 1e3)), d.value = a.validation ?? "valid") : Z(a.message, a.showMessage) ? (Le(c.value), d.value = a.validation ?? "no-validation") : (Le(m.value), d.value = a.validation ?? "no-validation");
1667
1667
  }
1668
1668
  function fa(r) {
1669
1669
  a.onDropdownToggle && (r.stopPropagation(), a.onDropdownToggle(r)), r.target instanceof HTMLDetailsElement && r.target.open ? (me.value = new fe().addCallback(
@@ -1702,7 +1702,7 @@ const Ja = (e) => {
1702
1702
  return `${aa} ${Se(r)}`;
1703
1703
  }
1704
1704
  function ya(r, p) {
1705
- p && p.stopPropagation(), We(r.value), Te();
1705
+ p && p.stopPropagation(), We(r.value), $e();
1706
1706
  }
1707
1707
  function Pe() {
1708
1708
  if (P.value) {
@@ -1768,14 +1768,14 @@ const Ja = (e) => {
1768
1768
  }
1769
1769
  }
1770
1770
  } else
1771
- p.getAttribute("type") === "search" && (r.key === "ArrowUp" || r.key === "ArrowLeft") ? ($e(void 0, !0), Te()) : Ae(p);
1771
+ p.getAttribute("type") === "search" && (r.key === "ArrowUp" || r.key === "ArrowLeft") ? (xe(void 0, !0), $e()) : Ae(p);
1772
1772
  }
1773
1773
  } else (r.key === "ArrowDown" || r.key === "ArrowRight") && (Pe(), P.value && (P.value.open = !0), He());
1774
1774
  r.stopPropagation(), r.preventDefault();
1775
1775
  }
1776
1776
  function wa(r) {
1777
1777
  if (r.stopPropagation(), r.key === "Escape" && P.value?.open)
1778
- $e(void 0, !0), Te();
1778
+ xe(void 0, !0), $e();
1779
1779
  else if (r.key === "Enter" && P.value?.open) {
1780
1780
  if (self.document) {
1781
1781
  const p = self.document.activeElement;
@@ -1783,10 +1783,10 @@ const Ja = (e) => {
1783
1783
  }
1784
1784
  } else (r.key === "ArrowDown" || r.key === "ArrowUp" || r.key === "ArrowLeft" || r.key === "ArrowRight") && ka(r);
1785
1785
  }
1786
- function $e(r, p) {
1786
+ function xe(r, p) {
1787
1787
  if (P.value) {
1788
1788
  if (p)
1789
- P.value.open = !1, Te();
1789
+ P.value.open = !1, $e();
1790
1790
  else if (P.value.open && r && r.relatedTarget) {
1791
1791
  const x = r.relatedTarget;
1792
1792
  P.value.contains(x) || K(() => P.value.open = !1, 1);
@@ -1811,7 +1811,7 @@ const Ja = (e) => {
1811
1811
  ), Ce.value = (/* @__PURE__ */ new Date()).getTime());
1812
1812
  }
1813
1813
  function We(r) {
1814
- r && (a.multiple ? R.value?.includes(r) ? Be(R.value.filter((p) => p !== r)) : Be([...R.value || [], r]) : (Be([r]), $e(void 0, !0)));
1814
+ r && (a.multiple ? R.value?.includes(r) ? Be(R.value.filter((p) => p !== r)) : Be([...R.value || [], r]) : (Be([r]), xe(void 0, !0)));
1815
1815
  }
1816
1816
  function Ba(r) {
1817
1817
  if (r.stopPropagation(), R.value?.length === A.value)
@@ -1865,9 +1865,9 @@ const Ja = (e) => {
1865
1865
  );
1866
1866
  }
1867
1867
  function pa(r) {
1868
- r.stopPropagation(), Be([]), Te();
1868
+ r.stopPropagation(), Be([]), $e();
1869
1869
  }
1870
- function Te() {
1870
+ function $e() {
1871
1871
  P.value && P.value.querySelector("summary")?.focus();
1872
1872
  }
1873
1873
  function La(r) {
@@ -1937,7 +1937,7 @@ const Ja = (e) => {
1937
1937
  D(" " + B(w.value), 1)
1938
1938
  ], 8, Lt)) : z("", !0),
1939
1939
  e.selectedType === "tag" ? (v(), y("div", xt, [
1940
- (v(!0), y(H, null, ge(M.value, (x, ae) => (v(), J(bt, {
1940
+ (v(!0), y(H, null, ge(M.value, (x, ae) => (v(), Y(bt, {
1941
1941
  key: ae,
1942
1942
  emphasis: "strong",
1943
1943
  behavior: "removable",
@@ -1968,7 +1968,7 @@ const Ja = (e) => {
1968
1968
  onInput: (x) => Xe(x)
1969
1969
  }, null, 8, ["name", "form", "value", "label", "placeholder", "ariaDescribedBy", "onInput"])
1970
1970
  ])) : z("", !0),
1971
- pe.value || e.showLoading ? (v(), J(Z, {
1971
+ pe.value || e.showLoading ? (v(), Y(Q, {
1972
1972
  key: 1,
1973
1973
  id: s.value,
1974
1974
  icon: e.showLoading ? "circular_arrows" : void 0,
@@ -2000,7 +2000,7 @@ const Ja = (e) => {
2000
2000
  label: e.listLabel ?? e.label ?? n(ye)
2001
2001
  }, {
2002
2002
  default: G(() => [
2003
- (v(!0), y(H, null, ge(j.value, (x, ae) => (v(), J(nt, {
2003
+ (v(!0), y(H, null, ge(j.value, (x, ae) => (v(), Y(nt, {
2004
2004
  key: ae,
2005
2005
  type: e.multiple ? "checkbox" : "radio",
2006
2006
  showDivider: x.showDivider,
@@ -2032,7 +2032,7 @@ const Ja = (e) => {
2032
2032
  size: "small",
2033
2033
  name: i.value,
2034
2034
  form: i.value,
2035
- onClick: (x) => $e(void 0, !0)
2035
+ onClick: (x) => xe(void 0, !0)
2036
2036
  }, {
2037
2037
  default: G(() => [
2038
2038
  D(B(e.mobileCloseButtonText ?? n(qe)), 1)
@@ -2045,7 +2045,7 @@ const Ja = (e) => {
2045
2045
  }, 8, ["width"])
2046
2046
  ], 64)) : z("", !0)
2047
2047
  ], 40, Bt),
2048
- (e.showClearSelection ?? !0) && R.value?.length ? (v(), J(we, {
2048
+ (e.showClearSelection ?? !0) && R.value?.length ? (v(), Y(we, {
2049
2049
  key: 0,
2050
2050
  icon: "cross",
2051
2051
  variant: "ghost",
@@ -2071,29 +2071,29 @@ const Ja = (e) => {
2071
2071
  "aria-hidden": n(V)(!0),
2072
2072
  id: m.value
2073
2073
  }, B(e.placeholder ?? e.label), 9, At),
2074
- n(_)(e.message, e.showMessage) ? (v(), J(Z, {
2074
+ n(Z)(e.message, e.showMessage) ? (v(), Y(Q, {
2075
2075
  key: 1,
2076
2076
  size: "small",
2077
2077
  icon: e.messageIcon,
2078
- id: u.value
2078
+ id: c.value
2079
2079
  }, {
2080
2080
  default: G(() => [
2081
2081
  D(B(e.message), 1)
2082
2082
  ]),
2083
2083
  _: 1
2084
2084
  }, 8, ["icon", "id"])) : z("", !0),
2085
- Oe() ? (v(), J(Z, {
2085
+ Oe() ? (v(), Y(Q, {
2086
2086
  key: 2,
2087
2087
  size: "small",
2088
2088
  semantic: "successful",
2089
- id: c.value
2089
+ id: u.value
2090
2090
  }, {
2091
2091
  default: G(() => [
2092
2092
  D(B(e.validMessage || n(se)), 1)
2093
2093
  ]),
2094
2094
  _: 1
2095
2095
  }, 8, ["id"])) : z("", !0),
2096
- te(Z, {
2096
+ te(Q, {
2097
2097
  size: "small",
2098
2098
  semantic: "critical",
2099
2099
  id: f.value
@@ -2176,12 +2176,12 @@ const Ja = (e) => {
2176
2176
  },
2177
2177
  setup(e) {
2178
2178
  const t = e, l = o(!1), a = o(null), i = o(null);
2179
- Y(() => {
2180
- c(), l.value = !0;
2179
+ J(() => {
2180
+ u(), l.value = !0;
2181
2181
  }), C(
2182
2182
  () => [t.open],
2183
2183
  () => {
2184
- c();
2184
+ u();
2185
2185
  },
2186
2186
  {
2187
2187
  immediate: !0,
@@ -2200,10 +2200,10 @@ const Ja = (e) => {
2200
2200
  flush: "post"
2201
2201
  }
2202
2202
  );
2203
- function u(f, g) {
2203
+ function c(f, g) {
2204
2204
  f && (Ra(f) ? f.key === "Escape" && (f.preventDefault(), t.onClose && t.onClose(f)) : (g && (f.stopPropagation(), t.onClose && t.onClose(f)), f.target?.nodeName === "DIALOG" && f.type === "click" && t.backdrop !== "none" && t.onClose && t.onClose(f)));
2205
2205
  }
2206
- function c() {
2206
+ function u() {
2207
2207
  if (a.value) {
2208
2208
  const f = !!t.open;
2209
2209
  f && !a.value.open && (i.value && (i.value.hidden = !1), t.position === "absolute" || t.backdrop === "none" || t.variant === "inside" ? a.value.show() : a.value.showModal()), !f && a.value.open && (i.value && (i.value.hidden = !0), K(() => {
@@ -2216,8 +2216,8 @@ const Ja = (e) => {
2216
2216
  id: e.id,
2217
2217
  ref_key: "_ref",
2218
2218
  ref: a,
2219
- onClick: g[0] || (g[0] = async (h) => u(h)),
2220
- onKeydown: g[1] || (g[1] = async (h) => u(h)),
2219
+ onClick: g[0] || (g[0] = async (h) => c(h)),
2220
+ onKeydown: g[1] || (g[1] = async (h) => c(h)),
2221
2221
  "data-position": e.position,
2222
2222
  "data-backdrop": e.backdrop,
2223
2223
  "data-direction": e.direction,
@@ -2242,7 +2242,7 @@ const Ja = (e) => {
2242
2242
  variant: "ghost",
2243
2243
  id: e.closeButtonId,
2244
2244
  noText: !0,
2245
- onClick: (h) => u(h, !0)
2245
+ onClick: (h) => c(h, !0)
2246
2246
  }, {
2247
2247
  default: G(() => [
2248
2248
  D(B(e.closeButtonText ?? n(qe)), 1)
@@ -2311,18 +2311,18 @@ class Ot {
2311
2311
  if (!this.triangleData)
2312
2312
  return;
2313
2313
  if (t === "fill-gap") {
2314
- const c = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, f = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
2314
+ const u = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, f = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
2315
2315
  return {
2316
- lb: `${f} ${c}`,
2316
+ lb: `${f} ${u}`,
2317
2317
  lt: `${f} 0`,
2318
2318
  rt: "100% 0",
2319
- rb: `100% ${c}`
2319
+ rb: `100% ${u}`
2320
2320
  };
2321
2321
  }
2322
- const l = this.getTriangleTipX(), a = this.getTriangleTipY(), i = `${l}px ${a}px`, u = `${l}px ${a}px`;
2322
+ const l = this.getTriangleTipX(), a = this.getTriangleTipY(), i = `${l}px ${a}px`, c = `${l}px ${a}px`;
2323
2323
  return {
2324
2324
  lb: i,
2325
- lt: u,
2325
+ lt: c,
2326
2326
  rt: "100% 0",
2327
2327
  rb: "100% 100%"
2328
2328
  };
@@ -2358,7 +2358,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2358
2358
  },
2359
2359
  setup(e) {
2360
2360
  const t = e, l = o(!1), a = o(!1), i = o(null);
2361
- Y(() => {
2361
+ J(() => {
2362
2362
  l.value = !0;
2363
2363
  }), C(
2364
2364
  () => [l.value, i.value],
@@ -2373,12 +2373,12 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2373
2373
  flush: "post"
2374
2374
  }
2375
2375
  );
2376
- function u(f) {
2376
+ function c(f) {
2377
2377
  const g = !q(t.drawerOpen, "drawerOpen");
2378
2378
  t.onToggle && t.onToggle(g);
2379
2379
  }
2380
- function c(f) {
2381
- Ut(f) && u();
2380
+ function u(f) {
2381
+ Ut(f) && c();
2382
2382
  }
2383
2383
  return (f, g) => (v(), y("header", {
2384
2384
  ref_key: "_ref",
@@ -2395,13 +2395,13 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2395
2395
  closeButtonId: e.closeButtonId,
2396
2396
  closeButtonText: e.closeButtonText,
2397
2397
  open: n(q)(e.drawerOpen),
2398
- onClose: (h) => u()
2398
+ onClose: (h) => c()
2399
2399
  }, {
2400
2400
  default: G(() => [
2401
2401
  E("div", Wt, [
2402
2402
  E("div", {
2403
2403
  class: "db-header-navigation",
2404
- onClick: g[0] || (g[0] = async (h) => c(h))
2404
+ onClick: g[0] || (g[0] = async (h) => u(h))
2405
2405
  }, [
2406
2406
  F(f.$slots, "default")
2407
2407
  ]),
@@ -2436,7 +2436,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2436
2436
  icon: "menu",
2437
2437
  variant: "ghost",
2438
2438
  noText: !0,
2439
- onClick: (h) => u()
2439
+ onClick: (h) => c()
2440
2440
  }, {
2441
2441
  default: G(() => [
2442
2442
  D(B(e.burgerMenuLabel ?? n(Ta)), 1)
@@ -2528,7 +2528,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2528
2528
  function a(i) {
2529
2529
  t.onClick && t.onClick(i);
2530
2530
  }
2531
- return (i, u) => (v(), y("a", {
2531
+ return (i, c) => (v(), y("a", {
2532
2532
  ref_key: "_ref",
2533
2533
  ref: l,
2534
2534
  id: e.id,
@@ -2545,7 +2545,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2545
2545
  "data-variant": e.variant,
2546
2546
  "data-content": e.content || "internal",
2547
2547
  "data-wrap": n(V)(e.wrap),
2548
- onClick: u[0] || (u[0] = async (c) => a(c))
2548
+ onClick: c[0] || (c[0] = async (u) => a(u))
2549
2549
  }, [
2550
2550
  e.text ? (v(), y(H, { key: 0 }, [
2551
2551
  D(B(e.text), 1)
@@ -2562,10 +2562,10 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2562
2562
  autofocus: { type: [Boolean, String] }
2563
2563
  },
2564
2564
  setup(e) {
2565
- const t = e, l = o(Ie), a = o(null);
2566
- return Y(() => {
2567
- l.value = t.id || "navigation-" + Q();
2568
- }), (i, u) => (v(), y("nav", {
2565
+ const t = e, l = o(Te), a = o(null);
2566
+ return J(() => {
2567
+ l.value = t.id || "navigation-" + _();
2568
+ }), (i, c) => (v(), y("nav", {
2569
2569
  ref_key: "_ref",
2570
2570
  ref: a,
2571
2571
  id: l.value,
@@ -2601,15 +2601,15 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2601
2601
  text: { default: void 0 }
2602
2602
  },
2603
2603
  setup(e) {
2604
- const t = e, l = o(!1), a = o(!1), i = o(!0), u = o(!1), c = o(!1), f = o(
2605
- "sub-navigation-" + Q()
2604
+ const t = e, l = o(!1), a = o(!1), i = o(!0), c = o(!1), u = o(!1), f = o(
2605
+ "sub-navigation-" + _()
2606
2606
  ), g = o(void 0), h = o(null);
2607
- Y(() => {
2607
+ J(() => {
2608
2608
  l.value = !0;
2609
2609
  }), C(
2610
2610
  () => [t.subNavigationExpanded],
2611
2611
  () => {
2612
- t.subNavigationExpanded !== void 0 && (u.value = !!q(
2612
+ t.subNavigationExpanded !== void 0 && (c.value = !!q(
2613
2613
  t.subNavigationExpanded,
2614
2614
  "subNavigationExpanded"
2615
2615
  ));
@@ -2635,15 +2635,15 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2635
2635
  }
2636
2636
  );
2637
2637
  function k(s) {
2638
- s?.target?.nodeName === "A" && (c.value = !0, K(() => {
2639
- c.value = !1;
2638
+ s?.target?.nodeName === "A" && (u.value = !0, K(() => {
2639
+ u.value = !1;
2640
2640
  }, 1e3));
2641
2641
  }
2642
2642
  function $(s) {
2643
- t.onClick && (s.stopPropagation(), t.onClick(s)), a.value && (u.value = !0);
2643
+ t.onClick && (s.stopPropagation(), t.onClick(s)), a.value && (c.value = !0);
2644
2644
  }
2645
2645
  function m(s) {
2646
- s.stopPropagation(), u.value = !1;
2646
+ s.stopPropagation(), c.value = !1;
2647
2647
  }
2648
2648
  return (s, d) => (v(), y("li", {
2649
2649
  ref_key: "_ref",
@@ -2669,7 +2669,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2669
2669
  E("button", {
2670
2670
  class: "db-navigation-item-expand-button",
2671
2671
  "aria-haspopup": a.value,
2672
- "aria-expanded": u.value,
2672
+ "aria-expanded": c.value,
2673
2673
  disabled: n(q)(e.disabled, "disabled"),
2674
2674
  onClick: d[0] || (d[0] = async (b) => $(b))
2675
2675
  }, [
@@ -2679,7 +2679,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2679
2679
  ], 8, oi),
2680
2680
  E("menu", {
2681
2681
  class: "db-sub-navigation",
2682
- "data-force-close": c.value,
2682
+ "data-force-close": u.value,
2683
2683
  id: f.value,
2684
2684
  onClick: d[1] || (d[1] = async (b) => k(b))
2685
2685
  }, [
@@ -2736,7 +2736,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2736
2736
  function a(i) {
2737
2737
  i && (i.stopPropagation(), t.onClose && t.onClose(i));
2738
2738
  }
2739
- return (i, u) => (v(), y("article", {
2739
+ return (i, c) => (v(), y("article", {
2740
2740
  ref_key: "_ref",
2741
2741
  ref: l,
2742
2742
  id: e.id,
@@ -2749,22 +2749,22 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2749
2749
  "data-link-variant": e.linkVariant
2750
2750
  }, [
2751
2751
  F(i.$slots, "image"),
2752
- n(_)(e.headline, e.showHeadline) ? (v(), y("header", ci, B(e.headline), 1)) : z("", !0),
2752
+ n(Z)(e.headline, e.showHeadline) ? (v(), y("header", ci, B(e.headline), 1)) : z("", !0),
2753
2753
  E("p", null, [
2754
2754
  e.text ? (v(), y(H, { key: 0 }, [
2755
2755
  D(B(e.text), 1)
2756
2756
  ], 64)) : F(i.$slots, "default", { key: 1 })
2757
2757
  ]),
2758
- n(_)(e.timestamp, e.showTimestamp) ? (v(), y("span", ri, B(e.timestamp), 1)) : z("", !0),
2758
+ n(Z)(e.timestamp, e.showTimestamp) ? (v(), y("span", ri, B(e.timestamp), 1)) : z("", !0),
2759
2759
  F(i.$slots, "link"),
2760
- n(q)(e.closeable, "closeable") ? (v(), J(we, {
2760
+ n(q)(e.closeable, "closeable") ? (v(), Y(we, {
2761
2761
  key: 2,
2762
2762
  icon: "cross",
2763
2763
  variant: "ghost",
2764
2764
  size: "small",
2765
2765
  id: e.closeButtonId,
2766
2766
  noText: !0,
2767
- onClick: (c) => a(c)
2767
+ onClick: (u) => a(u)
2768
2768
  }, {
2769
2769
  default: G(() => [
2770
2770
  D(B(e.closeButtonText ?? n(qe)), 1)
@@ -2790,13 +2790,13 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2790
2790
  },
2791
2791
  setup(e) {
2792
2792
  const t = e, l = o(!1), a = o(null);
2793
- return typeof window < "u" && document && (t.documentOverflow === "hidden" || t.variant === "fixed" && t.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), Y(() => {
2793
+ return typeof window < "u" && document && (t.documentOverflow === "hidden" || t.variant === "fixed" && t.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), J(() => {
2794
2794
  l.value = !t.fadeIn, document && t.fadeIn ? document.fonts.ready.then(() => {
2795
2795
  l.value = !0;
2796
2796
  }) : l.value = !0;
2797
2797
  }), he(() => {
2798
2798
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
2799
- }), (i, u) => (v(), y("div", {
2799
+ }), (i, c) => (v(), y("div", {
2800
2800
  ref_key: "_ref",
2801
2801
  ref: a,
2802
2802
  id: e.id,
@@ -2832,23 +2832,23 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2832
2832
  width: { default: void 0 }
2833
2833
  },
2834
2834
  setup(e) {
2835
- const t = e, l = o(!1), a = o(!1), i = o(void 0), u = o(void 0), c = o(null);
2836
- Y(() => {
2835
+ const t = e, l = o(!1), a = o(!1), i = o(void 0), c = o(void 0), u = o(null);
2836
+ J(() => {
2837
2837
  l.value = !0;
2838
2838
  }), C(
2839
- () => [c.value, l.value],
2839
+ () => [u.value, l.value],
2840
2840
  () => {
2841
- if (c.value && l.value) {
2841
+ if (u.value && l.value) {
2842
2842
  l.value = !1;
2843
2843
  const s = m();
2844
- s && (s.ariaHasPopup = "true"), g(), c.value.addEventListener(
2844
+ s && (s.ariaHasPopup = "true"), g(), u.value.addEventListener(
2845
2845
  "keydown",
2846
2846
  (d) => f(d)
2847
2847
  ), ["mouseenter", "focusin"].forEach((d) => {
2848
- c.value.addEventListener(d, () => k());
2848
+ u.value.addEventListener(d, () => k());
2849
2849
  }), ["mouseleave", "focusout"].forEach((d) => {
2850
- c.value.addEventListener(d, () => $());
2851
- }), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((d) => {
2850
+ u.value.addEventListener(d, () => $());
2851
+ }), typeof window < "u" && "IntersectionObserver" in window && (c.value = new IntersectionObserver((d) => {
2852
2852
  const b = d.find(({ target: I }) => I === m());
2853
2853
  b && !b.isIntersecting && f(!1);
2854
2854
  }));
@@ -2859,9 +2859,9 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2859
2859
  flush: "post"
2860
2860
  }
2861
2861
  ), C(
2862
- () => [c.value, a.value],
2862
+ () => [u.value, a.value],
2863
2863
  () => {
2864
- if (c.value) {
2864
+ if (u.value) {
2865
2865
  const s = m();
2866
2866
  s && (s.ariaExpanded = (!!a.value).toString());
2867
2867
  }
@@ -2873,29 +2873,29 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2873
2873
  );
2874
2874
  function f(s) {
2875
2875
  if (!s || s.key === "Escape")
2876
- for (const d of Array.from(c.value.children))
2876
+ for (const d of Array.from(u.value.children))
2877
2877
  d.blur();
2878
2878
  }
2879
2879
  function g() {
2880
- if (!c.value) return;
2881
- const s = c.value.querySelector("article");
2880
+ if (!u.value) return;
2881
+ const s = u.value.querySelector("article");
2882
2882
  s && K(() => {
2883
2883
  ua(
2884
2884
  s,
2885
- c.value,
2885
+ u.value,
2886
2886
  t.placement ?? "bottom"
2887
2887
  );
2888
2888
  }, 1);
2889
2889
  }
2890
2890
  function h(s) {
2891
- s?.target?.contains && s?.target?.contains(c.value) && g();
2891
+ s?.target?.contains && s?.target?.contains(u.value) && g();
2892
2892
  }
2893
2893
  function k() {
2894
2894
  a.value = !0, i.value = new oe().addCallback(
2895
2895
  (d) => h(d)
2896
2896
  ), g();
2897
2897
  const s = m();
2898
- s && u.value?.observe(s);
2898
+ s && c.value?.observe(s);
2899
2899
  }
2900
2900
  function $(s) {
2901
2901
  {
@@ -2903,12 +2903,12 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2903
2903
  i.value
2904
2904
  );
2905
2905
  const d = m();
2906
- d && u.value?.unobserve(d);
2906
+ d && c.value?.unobserve(d);
2907
2907
  }
2908
2908
  }
2909
2909
  function m() {
2910
- if (c.value) {
2911
- const s = Array.from(c.value.children);
2910
+ if (u.value) {
2911
+ const s = Array.from(u.value.children);
2912
2912
  if (s.length >= 2) {
2913
2913
  const d = s[0];
2914
2914
  return d.tagName.includes("-") ? d.children?.length > 0 ? d.children[0] : null : d;
@@ -2918,7 +2918,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2918
2918
  }
2919
2919
  return (s, d) => (v(), y("div", {
2920
2920
  ref_key: "_ref",
2921
- ref: c,
2921
+ ref: u,
2922
2922
  id: e.id,
2923
2923
  class: U(n(O)("db-popover", t.class))
2924
2924
  }, [
@@ -2968,11 +2968,11 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2968
2968
  },
2969
2969
  emits: ["update:value"],
2970
2970
  setup(e, { emit: t }) {
2971
- const l = t, a = e, i = o(!1), u = o(void 0), c = o(void 0), f = o(null);
2972
- Y(() => {
2973
- i.value = !0, u.value = a.id ?? `radio-${Q()}`;
2971
+ const l = t, a = e, i = o(!1), c = o(void 0), u = o(void 0), f = o(null);
2972
+ J(() => {
2973
+ i.value = !0, c.value = a.id ?? `radio-${_()}`;
2974
2974
  }), he(() => {
2975
- c.value?.abort();
2975
+ u.value?.abort();
2976
2976
  }), C(
2977
2977
  () => [i.value, f.value, a.checked],
2978
2978
  () => {
@@ -2986,8 +2986,8 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
2986
2986
  () => [f.value],
2987
2987
  () => {
2988
2988
  if (f.value) {
2989
- let m = c.value;
2990
- m || (m = new AbortController(), c.value = m), Me(
2989
+ let m = u.value;
2990
+ m || (m = new AbortController(), u.value = m), Me(
2991
2991
  f.value,
2992
2992
  (s) => {
2993
2993
  K(() => {
@@ -3028,7 +3028,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3028
3028
  "data-hide-label": n(ne)(e.showLabel),
3029
3029
  "data-hide-asterisk": n(ne)(e.showRequiredAsterisk),
3030
3030
  class: U(n(O)("db-radio", a.class)),
3031
- for: u.value
3031
+ for: c.value
3032
3032
  }, [
3033
3033
  E("input", {
3034
3034
  type: "radio",
@@ -3036,7 +3036,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3036
3036
  "data-custom-validity": e.validation,
3037
3037
  ref_key: "_ref",
3038
3038
  ref: f,
3039
- id: u.value,
3039
+ id: c.value,
3040
3040
  name: e.name,
3041
3041
  checked: n(q)(e.checked, "checked"),
3042
3042
  disabled: n(q)(e.disabled, "disabled"),
@@ -3064,18 +3064,16 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3064
3064
  width: { default: void 0 }
3065
3065
  },
3066
3066
  setup(e) {
3067
- const t = e, l = o(Ie), a = o(null);
3068
- return Y(() => {
3069
- l.value = t.id || "section-" + Q();
3070
- }), (i, u) => (v(), y("section", {
3067
+ const t = e, l = o(null);
3068
+ return (a, i) => (v(), y("section", {
3071
3069
  ref_key: "_ref",
3072
- ref: a,
3073
- id: l.value,
3070
+ ref: l,
3071
+ id: e.id,
3074
3072
  class: U(n(O)("db-section", t.class)),
3075
3073
  "data-spacing": e.spacing || "medium",
3076
3074
  "data-width": e.width
3077
3075
  }, [
3078
- F(i.$slots, "default")
3076
+ F(a.$slots, "default")
3079
3077
  ], 10, bi));
3080
3078
  }
3081
3079
  }), yi = ["data-variant", "data-hide-label", "data-hide-asterisk", "data-icon", "data-show-icon"], ki = ["for"], wi = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], Si = {
@@ -3128,11 +3126,11 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3128
3126
  },
3129
3127
  emits: ["update:value"],
3130
3128
  setup(e, { emit: t }) {
3131
- const l = t, a = e, i = o(void 0), u = o(void 0), c = o(void 0), f = o(void 0), g = o(void 0), h = o(""), k = o(void 0), $ = o(""), m = o(!1), s = o(""), d = o(void 0), b = o(null);
3132
- Y(() => {
3129
+ const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), g = o(void 0), h = o(""), k = o(void 0), $ = o(""), m = o(!1), s = o(""), d = o(void 0), b = o(null);
3130
+ J(() => {
3133
3131
  m.value = !0;
3134
- const A = a.id ?? `select-${Q()}`;
3135
- i.value = A, u.value = A + ce, c.value = A + re, f.value = A + ve, h.value = A + De, g.value = a.invalidMessage || ee;
3132
+ const A = a.id ?? `select-${_()}`;
3133
+ i.value = A, c.value = A + ce, u.value = A + re, f.value = A + ve, h.value = A + De, g.value = a.invalidMessage || ee;
3136
3134
  }), he(() => {
3137
3135
  d.value?.abort();
3138
3136
  }), C(
@@ -3149,7 +3147,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3149
3147
  () => {
3150
3148
  if (i.value && m.value) {
3151
3149
  const A = i.value + ce, R = i.value + De;
3152
- u.value = A, c.value = i.value + re, f.value = i.value + ve, h.value = R, _(a.message, a.showMessage) ? k.value = A : a.placeholder ? k.value = R : k.value = void 0, T(), m.value = !1;
3150
+ c.value = A, u.value = i.value + re, f.value = i.value + ve, h.value = R, Z(a.message, a.showMessage) ? k.value = A : a.placeholder ? k.value = R : k.value = void 0, T(), m.value = !1;
3153
3151
  }
3154
3152
  },
3155
3153
  {
@@ -3192,7 +3190,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3192
3190
  return !!(a.validMessage ?? a.validation === "valid");
3193
3191
  }
3194
3192
  function T() {
3195
- !b.value?.validity.valid || a.validation === "invalid" ? (k.value = f.value, g.value = a.invalidMessage || b.value?.validationMessage || ee, ue() && (s.value = g.value, K(() => s.value = "", 1e3))) : I() && b.value?.validity.valid && a.required ? (k.value = c.value, ue() && (s.value = a.validMessage ?? se, K(() => s.value = "", 1e3))) : _(a.message, a.showMessage) ? k.value = u.value : a.placeholder ? k.value = h.value : k.value = void 0;
3193
+ !b.value?.validity.valid || a.validation === "invalid" ? (k.value = f.value, g.value = a.invalidMessage || b.value?.validationMessage || ee, ue() && (s.value = g.value, K(() => s.value = "", 1e3))) : I() && b.value?.validity.valid && a.required ? (k.value = u.value, ue() && (s.value = a.validMessage ?? se, K(() => s.value = "", 1e3))) : Z(a.message, a.showMessage) ? k.value = c.value : a.placeholder ? k.value = h.value : k.value = void 0;
3196
3194
  }
3197
3195
  function w(A) {
3198
3196
  a.onClick && a.onClick(A);
@@ -3266,29 +3264,29 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3266
3264
  class: "db-select-placeholder",
3267
3265
  id: h.value
3268
3266
  }, B(e.placeholder), 9, Ii)) : z("", !0),
3269
- n(_)(e.message, e.showMessage) ? (v(), J(Z, {
3267
+ n(Z)(e.message, e.showMessage) ? (v(), Y(Q, {
3270
3268
  key: 1,
3271
3269
  size: "small",
3272
3270
  icon: e.messageIcon,
3273
- id: u.value
3271
+ id: c.value
3274
3272
  }, {
3275
3273
  default: G(() => [
3276
3274
  D(B(e.message), 1)
3277
3275
  ]),
3278
3276
  _: 1
3279
3277
  }, 8, ["icon", "id"])) : z("", !0),
3280
- I() ? (v(), J(Z, {
3278
+ I() ? (v(), Y(Q, {
3281
3279
  key: 2,
3282
3280
  size: "small",
3283
3281
  semantic: "successful",
3284
- id: c.value
3282
+ id: u.value
3285
3283
  }, {
3286
3284
  default: G(() => [
3287
3285
  D(B(e.validMessage || n(se)), 1)
3288
3286
  ]),
3289
3287
  _: 1
3290
3288
  }, 8, ["id"])) : z("", !0),
3291
- te(Z, {
3289
+ te(Q, {
3292
3290
  size: "small",
3293
3291
  semantic: "critical",
3294
3292
  id: f.value
@@ -3377,9 +3375,9 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3377
3375
  },
3378
3376
  emits: ["update:checked"],
3379
3377
  setup(e, { emit: t }) {
3380
- const l = t, a = e, i = o(void 0), u = o(void 0), c = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(""), $ = o(void 0), m = o(null);
3381
- Y(() => {
3382
- i.value = a.id ?? `switch-${Q()}`, u.value = `${i.value}${ce}`, c.value = `${i.value}${re}`, f.value = `${i.value}${ve}`, d();
3378
+ const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(""), $ = o(void 0), m = o(null);
3379
+ J(() => {
3380
+ i.value = a.id ?? `switch-${_()}`, c.value = `${i.value}${ce}`, u.value = `${i.value}${re}`, f.value = `${i.value}${ve}`, d();
3383
3381
  }), he(() => {
3384
3382
  $.value?.abort();
3385
3383
  }), C(
@@ -3433,13 +3431,13 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3433
3431
  return;
3434
3432
  }
3435
3433
  if (s() && m.value?.validity?.valid && a.required) {
3436
- h.value = c.value, ue() && (k.value = a.validMessage ?? se, K(() => {
3434
+ h.value = u.value, ue() && (k.value = a.validMessage ?? se, K(() => {
3437
3435
  k.value = "";
3438
3436
  }, 1e3));
3439
3437
  return;
3440
3438
  }
3441
- if (_(a.message, a.showMessage)) {
3442
- h.value = u.value;
3439
+ if (Z(a.message, a.showMessage)) {
3440
+ h.value = c.value;
3443
3441
  return;
3444
3442
  }
3445
3443
  h.value = void 0;
@@ -3490,11 +3488,11 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3490
3488
  D(B(e.label), 1)
3491
3489
  ], 64)) : F(L.$slots, "default", { key: 1 })
3492
3490
  ], 8, Ci),
3493
- n(_)(e.message, e.showMessage) ? (v(), J(Z, {
3491
+ n(Z)(e.message, e.showMessage) ? (v(), Y(Q, {
3494
3492
  key: 0,
3495
3493
  size: "small",
3496
3494
  semantic: "adaptive",
3497
- id: u.value,
3495
+ id: c.value,
3498
3496
  icon: e.messageIcon
3499
3497
  }, {
3500
3498
  default: G(() => [
@@ -3502,18 +3500,18 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3502
3500
  ]),
3503
3501
  _: 1
3504
3502
  }, 8, ["id", "icon"])) : z("", !0),
3505
- s() ? (v(), J(Z, {
3503
+ s() ? (v(), Y(Q, {
3506
3504
  key: 1,
3507
3505
  size: "small",
3508
3506
  semantic: "successful",
3509
- id: c.value
3507
+ id: u.value
3510
3508
  }, {
3511
3509
  default: G(() => [
3512
3510
  D(B(e.validMessage ?? n(se)), 1)
3513
3511
  ]),
3514
3512
  _: 1
3515
3513
  }, 8, ["id"])) : z("", !0),
3516
- te(Z, {
3514
+ te(Q, {
3517
3515
  size: "small",
3518
3516
  semantic: "critical",
3519
3517
  id: f.value
@@ -3551,15 +3549,15 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3551
3549
  },
3552
3550
  emits: ["update:checked"],
3553
3551
  setup(e, { emit: t }) {
3554
- const l = t, a = e, i = o(!1), u = o(void 0), c = o(!1), f = o(!1), g = o(void 0), h = o(null);
3555
- Y(() => {
3556
- g.value = k, c.value = !0;
3552
+ const l = t, a = e, i = o(!1), c = o(void 0), u = o(!1), f = o(!1), g = o(void 0), h = o(null);
3553
+ J(() => {
3554
+ g.value = k, u.value = !0;
3557
3555
  }), he(() => {
3558
3556
  f.value && h.value && g.value && (h.value.closest("[role=tablist]")?.removeEventListener("change", g.value), f.value = !1);
3559
3557
  }), C(
3560
- () => [h.value, c.value, g.value],
3558
+ () => [h.value, u.value, g.value],
3561
3559
  () => {
3562
- h.value && c.value && g.value && (c.value = !1, f.value || (h.value.closest("[role=tablist]")?.addEventListener("change", g.value), f.value = !0), (a.active || h.value.checked) && (i.value = !0, h.value.click()));
3560
+ h.value && u.value && g.value && (u.value = !1, f.value || (h.value.closest("[role=tablist]")?.addEventListener("change", g.value), f.value = !0), (a.active || h.value.checked) && (i.value = !0, h.value.click()));
3563
3561
  },
3564
3562
  {
3565
3563
  immediate: !0,
@@ -3568,7 +3566,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3568
3566
  ), C(
3569
3567
  () => [a.name],
3570
3568
  () => {
3571
- a.name && (u.value = a.name);
3569
+ a.name && (c.value = a.name);
3572
3570
  },
3573
3571
  {
3574
3572
  immediate: !0,
@@ -3601,7 +3599,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3601
3599
  checked: n(q)(e.checked, "checked"),
3602
3600
  ref_key: "_ref",
3603
3601
  ref: h,
3604
- name: u.value,
3602
+ name: c.value,
3605
3603
  id: e.id,
3606
3604
  onInput: s[0] || (s[0] = async (d) => $(d))
3607
3605
  }, null, 40, Mi),
@@ -3622,10 +3620,10 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3622
3620
  autofocus: { type: [Boolean, String] }
3623
3621
  },
3624
3622
  setup(e) {
3625
- const t = e, l = o(Ie), a = o(null);
3626
- return Y(() => {
3627
- l.value = t.id || "tab-list-" + Q();
3628
- }), (i, u) => (v(), y("div", {
3623
+ const t = e, l = o(Te), a = o(null);
3624
+ return J(() => {
3625
+ l.value = t.id || "tab-list-" + _();
3626
+ }), (i, c) => (v(), y("div", {
3629
3627
  ref_key: "_ref",
3630
3628
  ref: a,
3631
3629
  id: l.value,
@@ -3648,7 +3646,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3648
3646
  },
3649
3647
  setup(e) {
3650
3648
  const t = e, l = o(null);
3651
- return Y(() => {
3649
+ return J(() => {
3652
3650
  }), (a, i) => (v(), y("section", {
3653
3651
  role: "tabpanel",
3654
3652
  ref_key: "_ref",
@@ -3685,9 +3683,9 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3685
3683
  tabSelect: {}
3686
3684
  },
3687
3685
  setup(e) {
3688
- const t = e, l = o("tabs-" + Q()), a = o(""), i = o(!1), u = o(!1), c = o(!1), f = o(null), g = o(void 0), h = o(null);
3689
- Y(() => {
3690
- l.value = t.id || l.value, a.value = `tabs-${t.name || Q()}`, i.value = !0;
3686
+ const t = e, l = o("tabs-" + _()), a = o(""), i = o(!1), c = o(!1), u = o(!1), f = o(null), g = o(void 0), h = o(null);
3687
+ J(() => {
3688
+ l.value = t.id || l.value, a.value = `tabs-${t.name || _()}`, i.value = !0;
3691
3689
  }), he(() => {
3692
3690
  g.value?.disconnect(), g.value = void 0;
3693
3691
  }), C(
@@ -3721,7 +3719,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3721
3719
  }
3722
3720
  function $(I) {
3723
3721
  const T = I.scrollWidth > I.clientWidth;
3724
- u.value = T && I.scrollLeft > 1, c.value = T && I.scrollLeft < I.scrollWidth - I.clientWidth;
3722
+ c.value = T && I.scrollLeft > 1, u.value = T && I.scrollLeft < I.scrollWidth - I.clientWidth;
3725
3723
  }
3726
3724
  function m(I) {
3727
3725
  let T = Number(t.arrowScrollDistance) || 100;
@@ -3809,7 +3807,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3809
3807
  onInput: T[0] || (T[0] = async (w) => b(w)),
3810
3808
  onChange: T[1] || (T[1] = async (w) => b(w))
3811
3809
  }, [
3812
- u.value ? (v(), J(we, {
3810
+ c.value ? (v(), Y(we, {
3813
3811
  key: 0,
3814
3812
  class: "tabs-scroll-left",
3815
3813
  variant: "ghost",
@@ -3826,7 +3824,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3826
3824
  e.tabs ? (v(), y(H, { key: 1 }, [
3827
3825
  te(zi, null, {
3828
3826
  default: G(() => [
3829
- (v(!0), y(H, null, ge(k(), (w, L) => (v(), J(Fi, {
3827
+ (v(!0), y(H, null, ge(k(), (w, L) => (v(), Y(Fi, {
3830
3828
  key: e.name + "tab-item" + L,
3831
3829
  active: w.active,
3832
3830
  label: w.label,
@@ -3837,7 +3835,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3837
3835
  ]),
3838
3836
  _: 1
3839
3837
  }),
3840
- (v(!0), y(H, null, ge(k(), (w, L) => (v(), J(Pi, {
3838
+ (v(!0), y(H, null, ge(k(), (w, L) => (v(), Y(Pi, {
3841
3839
  key: e.name + "tab-panel" + L,
3842
3840
  content: w.content
3843
3841
  }, {
@@ -3847,7 +3845,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3847
3845
  _: 2
3848
3846
  }, 1032, ["content"]))), 128))
3849
3847
  ], 64)) : z("", !0),
3850
- c.value ? (v(), J(we, {
3848
+ u.value ? (v(), Y(we, {
3851
3849
  key: 2,
3852
3850
  class: "tabs-scroll-right",
3853
3851
  variant: "ghost",
@@ -3917,10 +3915,10 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3917
3915
  },
3918
3916
  emits: ["update:value"],
3919
3917
  setup(e, { emit: t }) {
3920
- const l = t, a = e, i = o(void 0), u = o(void 0), c = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(""), $ = o(""), m = o(void 0), s = o(null);
3921
- Y(() => {
3922
- const S = a.id ?? `textarea-${Q()}`;
3923
- i.value = S, u.value = S + ce, c.value = S + re, f.value = S + ve, g.value = a.invalidMessage || ee;
3918
+ const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), g = o(void 0), h = o(void 0), k = o(""), $ = o(""), m = o(void 0), s = o(null);
3919
+ J(() => {
3920
+ const S = a.id ?? `textarea-${_()}`;
3921
+ i.value = S, c.value = S + ce, u.value = S + re, f.value = S + ve, g.value = a.invalidMessage || ee;
3924
3922
  }), he(() => {
3925
3923
  m.value?.abort();
3926
3924
  }), C(
@@ -3937,7 +3935,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3937
3935
  () => {
3938
3936
  if (i.value) {
3939
3937
  const S = i.value + ce;
3940
- u.value = S, c.value = i.value + re, f.value = i.value + ve, _(a.message, a.showMessage) && (h.value = S), b();
3938
+ c.value = S, u.value = i.value + re, f.value = i.value + ve, Z(a.message, a.showMessage) && (h.value = S), b();
3941
3939
  }
3942
3940
  },
3943
3941
  {
@@ -3980,7 +3978,7 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
3980
3978
  return !!(a.validMessage ?? a.validation === "valid");
3981
3979
  }
3982
3980
  function b() {
3983
- !s.value?.validity.valid || a.validation === "invalid" ? (h.value = f.value, g.value = a.invalidMessage || s.value?.validationMessage || ee, ue() && ($.value = g.value, K(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && (a.required || a.minLength || a.maxLength) ? (h.value = c.value, ue() && ($.value = a.validMessage ?? se, K(() => $.value = "", 1e3))) : _(a.message, a.showMessage) ? h.value = u.value : h.value = void 0;
3981
+ !s.value?.validity.valid || a.validation === "invalid" ? (h.value = f.value, g.value = a.invalidMessage || s.value?.validationMessage || ee, ue() && ($.value = g.value, K(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && (a.required || a.minLength || a.maxLength) ? (h.value = u.value, ue() && ($.value = a.validMessage ?? se, K(() => $.value = "", 1e3))) : Z(a.message, a.showMessage) ? h.value = c.value : h.value = void 0;
3984
3982
  }
3985
3983
  function I(S, M) {
3986
3984
  a.input && a.input(S), k.value = S.target.value, a.onInput && a.onInput(S), de(l, S), b();
@@ -4030,29 +4028,29 @@ const Gt = ["id", "data-width", "data-on-forcing-mobile"], Wt = { class: "db-hea
4030
4028
  rows: n(ke)(e.rows, n(Ea)),
4031
4029
  cols: n(ke)(e.cols)
4032
4030
  }, B(e.value), 41, Gi),
4033
- n(_)(e.message, e.showMessage) ? (v(), J(Z, {
4031
+ n(Z)(e.message, e.showMessage) ? (v(), Y(Q, {
4034
4032
  key: 0,
4035
4033
  size: "small",
4036
4034
  icon: e.messageIcon,
4037
- id: u.value
4035
+ id: c.value
4038
4036
  }, {
4039
4037
  default: G(() => [
4040
4038
  D(B(e.message), 1)
4041
4039
  ]),
4042
4040
  _: 1
4043
4041
  }, 8, ["icon", "id"])) : z("", !0),
4044
- d() ? (v(), J(Z, {
4042
+ d() ? (v(), Y(Q, {
4045
4043
  key: 1,
4046
4044
  size: "small",
4047
4045
  semantic: "successful",
4048
- id: c.value
4046
+ id: u.value
4049
4047
  }, {
4050
4048
  default: G(() => [
4051
4049
  D(B(e.validMessage || n(se)), 1)
4052
4050
  ]),
4053
4051
  _: 1
4054
4052
  }, 8, ["id"])) : z("", !0),
4055
- te(Z, {
4053
+ te(Q, {
4056
4054
  size: "small",
4057
4055
  semantic: "critical",
4058
4056
  id: f.value
@@ -4099,7 +4097,7 @@ export {
4099
4097
  qt as DBDrawer,
4100
4098
  xl as DBHeader,
4101
4099
  $l as DBIcon,
4102
- Z as DBInfotext,
4100
+ Q as DBInfotext,
4103
4101
  ht as DBInput,
4104
4102
  El as DBLink,
4105
4103
  Fl as DBNavigation,
@@ -4124,7 +4122,7 @@ export {
4124
4122
  qe as DEFAULT_CLOSE_BUTTON,
4125
4123
  Qe as DEFAULT_DATALIST_ID_SUFFIX,
4126
4124
  Ca as DEFAULT_ICON,
4127
- Ie as DEFAULT_ID,
4125
+ Te as DEFAULT_ID,
4128
4126
  ee as DEFAULT_INVALID_MESSAGE,
4129
4127
  ve as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
4130
4128
  ye as DEFAULT_LABEL,
@@ -4216,6 +4214,6 @@ export {
4216
4214
  Ut as isEventTargetNavigationItem,
4217
4215
  Na as isIOSSafari,
4218
4216
  Ra as isKeyboardEvent,
4219
- _ as stringPropVisible,
4220
- Q as uuid
4217
+ Z as stringPropVisible,
4218
+ _ as uuid
4221
4219
  };