@db-ux/v-core-components 4.13.1-angular-signal-forms13-577b861 → 4.14.0

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
@@ -208,24 +208,24 @@ var x = () => {
208
208
  "text"
209
209
  ]))), 128)) : n("", !0)], 10, te));
210
210
  }
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) {
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 = "Scroll left", ge = "Scroll right", _e = "Open navigation menu", ve = "brand", ye = 4, be = "Close", xe = "density", Se = "color", X = /* @__PURE__ */ function(e) {
212
212
  return e.FUNCTIONAL = "functional", e.REGULAR = "regular", e.EXPRESSIVE = "expressive", e;
213
- }({}), X = Object.entries(xe).map(([, e]) => e), Z = /* @__PURE__ */ function(e) {
213
+ }({}), Z = Object.entries(X).map(([, e]) => e), Ce = /* @__PURE__ */ function(e) {
214
214
  return e.PRIMARY = "primary", e;
215
- }({}), Se = /* @__PURE__ */ function(e) {
215
+ }({}), we = /* @__PURE__ */ function(e) {
216
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;
217
- }({}), Ce = Object.entries(Se).map(([, e]) => e), we = Object.entries(Z).map(([, e]) => e), Te = /* @__PURE__ */ function(e) {
217
+ }({}), Te = Object.entries(we).map(([, e]) => e), Ee = Object.entries(Ce).map(([, e]) => e), De = /* @__PURE__ */ function(e) {
218
218
  return e.CRITICAL = "critical", e.INFORMATIONAL = "informational", e.WARNING = "warning", e.SUCCESSFUL = "successful", e;
219
- }({}), Ee = Object.entries(Te).map(([, e]) => e), De = {
219
+ }({}), Oe = Object.entries(De).map(([, e]) => e), ke = {
220
220
  width: 390,
221
221
  height: 884
222
- }, Oe = {
222
+ }, Ae = {
223
223
  width: 1920,
224
224
  height: 1280
225
- }, ke = [
225
+ }, je = [
226
226
  {
227
227
  name: "desktop",
228
- ...Oe
228
+ ...Ae
229
229
  },
230
230
  {
231
231
  name: "tablet",
@@ -234,9 +234,9 @@ var x = () => {
234
234
  },
235
235
  {
236
236
  name: "mobile",
237
- ...De
237
+ ...ke
238
238
  }
239
- ], Ae = "db-ux-framework", je = "db-ux-mode", Me = [
239
+ ], Me = "db-ux-framework", Ne = "db-ux-mode", Pe = [
240
240
  "id",
241
241
  "data-semantic",
242
242
  "data-size",
@@ -244,7 +244,7 @@ var x = () => {
244
244
  "data-placement",
245
245
  "data-wrap",
246
246
  "data-label"
247
- ], Ne = /* @__PURE__ */ s({
247
+ ], Fe = /* @__PURE__ */ s({
248
248
  name: "DBBadge",
249
249
  __name: "badge",
250
250
  props: {
@@ -288,9 +288,9 @@ var x = () => {
288
288
  "data-placement": t.placement,
289
289
  "data-wrap": _(k)(t.wrap, "wrap"),
290
290
  "data-label": t.placement?.startsWith("corner") && (t.label ?? _("LABEL SHOULD BE SET"))
291
- }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(o.$slots, "default")], 10, Me));
291
+ }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(o.$slots, "default")], 10, Pe));
292
292
  }
293
- }), Pe = [
293
+ }), Ie = [
294
294
  "inline",
295
295
  "corner-top-left",
296
296
  "corner-top-right",
@@ -298,11 +298,11 @@ var x = () => {
298
298
  "corner-center-right",
299
299
  "corner-bottom-left",
300
300
  "corner-bottom-right"
301
- ], Fe = [
301
+ ], Le = [
302
302
  "data-icon",
303
303
  "data-show-icon",
304
304
  "id"
305
- ], Ie = /* @__PURE__ */ s({
305
+ ], Re = /* @__PURE__ */ s({
306
306
  name: "DBBrand",
307
307
  __name: "brand",
308
308
  props: {
@@ -332,9 +332,9 @@ var x = () => {
332
332
  "data-show-icon": _(k)(t.showIcon, "showIcon"),
333
333
  id: t.id ?? t.propOverrides?.id,
334
334
  class: c(_(C)("db-brand", i.class))
335
- }, [h(s.$slots, "default"), t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0)], 10, Fe));
335
+ }, [h(s.$slots, "default"), t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0)], 10, Le));
336
336
  }
337
- }), Le = [
337
+ }), ze = [
338
338
  "id",
339
339
  "type",
340
340
  "disabled",
@@ -352,7 +352,7 @@ var x = () => {
352
352
  "value",
353
353
  "command",
354
354
  "commandfor"
355
- ], Re = /* @__PURE__ */ s({
355
+ ], Be = /* @__PURE__ */ s({
356
356
  name: "DBButton",
357
357
  __name: "button",
358
358
  props: {
@@ -435,23 +435,23 @@ var x = () => {
435
435
  command: t.command,
436
436
  commandfor: t.commandfor,
437
437
  onClick: d[0] ||= async (e) => l(e)
438
- }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(u.$slots, "default")], 10, Le));
438
+ }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(u.$slots, "default")], 10, ze));
439
439
  }
440
- }), ze = [
440
+ }), Ve = [
441
441
  "outlined",
442
442
  "brand",
443
443
  "filled",
444
444
  "ghost"
445
- ], Be = [
445
+ ], He = [
446
446
  "button",
447
447
  "reset",
448
448
  "submit"
449
- ], Ve = [
449
+ ], Ue = [
450
450
  "id",
451
451
  "data-behavior",
452
452
  "data-elevation-level",
453
453
  "data-spacing"
454
- ], He = /* @__PURE__ */ s({
454
+ ], We = /* @__PURE__ */ s({
455
455
  name: "DBCard",
456
456
  __name: "card",
457
457
  props: {
@@ -484,20 +484,20 @@ var x = () => {
484
484
  "data-elevation-level": e.elevationLevel,
485
485
  "data-spacing": e.spacing,
486
486
  onClick: o[0] ||= async (e) => i(e)
487
- }, [h(a.$slots, "default")], 10, Ve));
487
+ }, [h(a.$slots, "default")], 10, Ue));
488
488
  }
489
- }), Ue = ["static", "interactive"], We = [
489
+ }), Ge = ["static", "interactive"], Ke = [
490
490
  "1",
491
491
  "2",
492
492
  "3"
493
493
  ], Q = (e, t, n = "value") => {
494
494
  e(`update:${n}`, t.target[n]);
495
- }, Ge = (e, t, n) => {
495
+ }, qe = (e, t, n) => {
496
496
  e.form && !e._dbFormResetListenerAdded && (e.form.addEventListener("reset", (e) => {
497
497
  t(e);
498
498
  }, { signal: n }), e._dbFormResetListenerAdded = !0);
499
- }, Ke = (e, t, n, r) => {
500
- Ge(e, (r) => {
499
+ }, Je = (e, t, n, r) => {
500
+ qe(e, (r) => {
501
501
  O(() => {
502
502
  let i = t.checked ? t.checked : t.defaultChecked ? t.defaultChecked : e.checked;
503
503
  n({
@@ -509,8 +509,8 @@ var x = () => {
509
509
  });
510
510
  }, 1);
511
511
  }, r);
512
- }, qe = (e, t, n, r) => {
513
- Ge(e, (r) => {
512
+ }, Ye = (e, t, n, r) => {
513
+ qe(e, (r) => {
514
514
  O(() => {
515
515
  let i = t.value ? t.value : t.defaultValue ? t.defaultValue : e.value;
516
516
  n({
@@ -522,7 +522,7 @@ var x = () => {
522
522
  });
523
523
  }, 1);
524
524
  }, r);
525
- }, Je = [
525
+ }, Xe = [
526
526
  "id",
527
527
  "data-icon",
528
528
  "data-semantic",
@@ -564,13 +564,13 @@ var x = () => {
564
564
  "data-size": t.size,
565
565
  "data-wrap": _(k)(t.wrap, "wrap"),
566
566
  "data-show-icon-leading": _(k)(t.showIcon ?? !0, "showIcon")
567
- }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, Je));
567
+ }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, Xe));
568
568
  }
569
- }), Ye = [
569
+ }), Ze = [
570
570
  "data-size",
571
571
  "data-hide-asterisk",
572
572
  "data-hide-label"
573
- ], Xe = ["for"], Ze = [
573
+ ], Qe = ["for"], $e = [
574
574
  "aria-invalid",
575
575
  "data-custom-validity",
576
576
  "id",
@@ -580,10 +580,10 @@ var x = () => {
580
580
  "value",
581
581
  "required",
582
582
  "aria-describedby"
583
- ], Qe = {
583
+ ], et = {
584
584
  "data-visually-hidden": "true",
585
585
  role: "status"
586
- }, $e = /* @__PURE__ */ s({
586
+ }, tt = /* @__PURE__ */ s({
587
587
  name: "DBCheckbox",
588
588
  __name: "checkbox",
589
589
  props: {
@@ -615,12 +615,12 @@ var x = () => {
615
615
  ariaDescribedBy: { default: void 0 },
616
616
  form: {},
617
617
  validation: { default: void 0 },
618
+ label: { default: void 0 },
619
+ name: { default: void 0 },
618
620
  disabled: {
619
621
  type: [Boolean, String],
620
622
  default: void 0
621
623
  },
622
- label: { default: void 0 },
623
- name: { default: void 0 },
624
624
  required: {
625
625
  type: [Boolean, String],
626
626
  default: void 0
@@ -697,7 +697,7 @@ var x = () => {
697
697
  }), y(() => [R.value], () => {
698
698
  if (R.value) {
699
699
  let e = L.value;
700
- e || (e = new AbortController(), L.value = e), Ke(R.value, {
700
+ e || (e = new AbortController(), L.value = e), Je(R.value, {
701
701
  checked: S.checked,
702
702
  defaultChecked: void 0
703
703
  }, (e) => {
@@ -750,10 +750,10 @@ var x = () => {
750
750
  onBlur: u[1] ||= async (e) => H(e),
751
751
  onFocus: u[2] ||= async (e) => ee(e),
752
752
  "aria-describedby": s.ariaDescribedBy ?? N.value
753
- }, null, 40, Ze),
753
+ }, null, 40, $e),
754
754
  s.label ? (f(), r(e, { key: 0 }, [a(g(s.label), 1)], 64)) : n("", !0),
755
755
  h(l.$slots, "default")
756
- ], 8, Xe),
756
+ ], 8, Qe),
757
757
  _(I)(s.message, s.showMessage) ? (f(), t($, {
758
758
  key: 0,
759
759
  size: "small",
@@ -780,10 +780,10 @@ var x = () => {
780
780
  default: b(() => [a(g(M.value), 1)]),
781
781
  _: 1
782
782
  }, 8, ["id"]),
783
- i("span", Qe, g(P.value), 1)
784
- ], 10, Ye));
783
+ i("span", et, g(P.value), 1)
784
+ ], 10, Ze));
785
785
  }
786
- }), et = [
786
+ }), nt = [
787
787
  "id",
788
788
  "data-icon",
789
789
  "data-show-icon",
@@ -793,7 +793,7 @@ var x = () => {
793
793
  "data-width",
794
794
  "data-variant",
795
795
  "data-no-text"
796
- ], tt = /* @__PURE__ */ s({
796
+ ], rt = /* @__PURE__ */ s({
797
797
  name: "DBCustomButton",
798
798
  __name: "custom-button",
799
799
  props: {
@@ -842,26 +842,31 @@ var x = () => {
842
842
  "data-width": e.width,
843
843
  "data-variant": e.variant,
844
844
  "data-no-text": _(k)(e.noText, "noText")
845
- }, [h(i.$slots, "default")], 10, et));
845
+ }, [h(i.$slots, "default")], 10, nt));
846
+ }
847
+ }), it = class {
848
+ addCallback(e) {
849
+ let t = x(), n = this.getCallbacks();
850
+ return n[t] = e, t;
851
+ }
852
+ removeCallback(e) {
853
+ let t = this.getCallbacks();
854
+ delete t[e];
846
855
  }
847
- }), nt = class e {
856
+ }, at = class e extends it {
848
857
  static callbacks = {};
849
858
  static _instance = null;
850
859
  static runCallbacks(t) {
851
860
  for (let n of Object.values(e.callbacks)) typeof n == "function" && n(t);
852
861
  }
853
862
  constructor() {
854
- if (e._instance) return e._instance;
863
+ if (super(), e._instance) return e._instance;
855
864
  e._instance = this, self.document && self.document.addEventListener("click", (t) => e.runCallbacks(t));
856
865
  }
857
- addCallback(t) {
858
- let n = x();
859
- return e.callbacks[n] = t, n;
866
+ getCallbacks() {
867
+ return e.callbacks;
860
868
  }
861
- removeCallback(t) {
862
- delete e.callbacks[t];
863
- }
864
- }, rt = class e {
869
+ }, ot = class e extends it {
865
870
  static callbacks = {};
866
871
  static _instance = null;
867
872
  static runCallbacks(t) {
@@ -869,49 +874,33 @@ var x = () => {
869
874
  }
870
875
  ticking = !1;
871
876
  constructor() {
872
- if (e._instance) return e._instance;
877
+ if (super(), e._instance) return e._instance;
873
878
  e._instance = this, self.document && self.document.addEventListener("scroll", (t) => {
874
879
  this.ticking ||= (window.requestAnimationFrame(() => {
875
880
  e.runCallbacks(t), this.ticking = !1;
876
881
  }), !0);
877
882
  }, !0);
878
883
  }
879
- addCallback(t) {
880
- let n = x();
881
- return e.callbacks[n] = t, n;
882
- }
883
- removeCallback(t) {
884
- delete e.callbacks[t];
884
+ getCallbacks() {
885
+ return e.callbacks;
885
886
  }
886
- }, it = (e) => {
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();
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)), {
889
- outTop: s,
890
- outBottom: c,
891
- outLeft: l,
892
- outRight: u
893
- };
894
- }, at = (e) => {
895
- let { outTop: t, outBottom: n, outLeft: r, outRight: i } = it(e), a = {};
896
- return t || n ? (a = { vy: t ? "top" : "bottom" }, e.dataset.outsideVy = a.vy) : delete e.dataset.outsideVy, r || i ? (a = {
897
- ...a,
898
- vx: i ? "right" : "left"
899
- }, e.dataset.outsideVx = a.vx) : delete e.dataset.outsideVx, a;
900
- }, ot = (e, t, n) => {
887
+ }, st = (e, t, n) => {
901
888
  if (!e || !t) return;
902
889
  let r = e.dataset.width === "full", i = e.dataset.width === "auto";
903
- if (e.style.inlineSize = "", e.style.minInlineSize = "", getComputedStyle(e).zIndex === "9999") return;
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;
890
+ e.style.inlineSize = "", e.style.minInlineSize = "";
891
+ let a = getComputedStyle(e);
892
+ if (a.zIndex === "9999" || a.position !== "fixed" && a.position !== "absolute") return;
893
+ let { top: o, bottom: s, childHeight: c, childWidth: l, width: u, right: d, left: f, correctedPlacement: p, innerWidth: m } = ct(e, t, n), h = u;
905
894
  if (i) {
906
895
  let t = parseFloat(getComputedStyle(e).maxInlineSize);
907
- !isNaN(t) && t > 0 && (m = Math.min(l, t));
896
+ !isNaN(t) && t > 0 && (h = Math.min(u, t));
908
897
  }
909
- r ? e.style.inlineSize = `${l}px` : i && (e.style.minInlineSize = `${m}px`);
910
- let h = c;
911
- i ? h = Math.max(c, m) : r && (h = l);
912
- let g = f;
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";
914
- }, st = (e, t, n) => {
898
+ r ? e.style.inlineSize = `${u}px` : i && (e.style.minInlineSize = `${h}px`);
899
+ let g = l;
900
+ i ? g = Math.max(l, h) : r && (g = u);
901
+ let _ = p;
902
+ i && (_ === "top" || _ === "bottom" || _ === "top-start" || _ === "bottom-start") && f + g > m && (_ = _.startsWith("top") ? "top-end" : "bottom-end"), _ === "top" || _ === "bottom" || _ === "top-start" || _ === "bottom-start" ? e.style.insetInlineStart = `${f}px` : (_ === "top-end" || _ === "bottom-end") && (e.style.insetInlineStart = `${Math.max(d - g, 0)}px`), _?.startsWith("top") ? e.style.insetBlockStart = `${o - c}px` : _?.startsWith("bottom") && (e.style.insetBlockStart = `${s}px`), e.style.position = "fixed";
903
+ }, ct = (e, t, n) => {
915
904
  if (!e || !t) return {
916
905
  top: 0,
917
906
  bottom: 0,
@@ -926,9 +915,9 @@ var x = () => {
926
915
  innerHeight: window.innerHeight
927
916
  };
928
917
  let r = e.getBoundingClientRect(), { top: i, height: a, bottom: o, right: s, left: c, width: l } = t.getBoundingClientRect(), { innerHeight: u, innerWidth: d } = window, f = r.height, p = r.width;
929
- (n === "bottom" || n === "top") && (p /= 2), (n === "left" || n === "right") && (f /= 2);
930
- let m = o + f > u, h = i - f < 0, g = c - p < 0, _ = s + p > d, v = n;
931
- return n.startsWith("bottom") ? m ? (v = n?.replace("bottom", "top"), g && _ ? v = "top" : g ? v = "top-start" : _ && (v = "top-end")) : g && _ ? v = "bottom" : g ? v = "bottom-start" : _ && (v = "bottom-end") : n.startsWith("top") ? h ? (v = n?.replace("top", "bottom"), g && _ ? v = "bottom" : g ? v = "bottom-start" : _ && (v = "bottom-end")) : g && _ ? v = "top" : g ? v = "top-start" : _ && (v = "top-end") : n.startsWith("left") ? g ? (v = n?.replace("left", "right"), m && h ? v = "right" : m ? v = "right-end" : h && (v = "right-start")) : m && h ? v = "left" : m ? v = "left-end" : h && (v = "left-start") : v.startsWith("right") && (_ ? (v = n?.replace("right", "left"), m && h ? v = "left" : m ? v = "left-end" : h && (v = "left-start")) : m && h ? v = "right" : m ? v = "right-end" : h && (v = "right-start")), {
918
+ (n === "bottom" || n === "top") && (p = l > p ? 0 : p / 2), (n === "left" || n === "right") && (f = a > f ? 0 : f / 2);
919
+ let m = Math.floor(o + f) > u, h = Math.ceil(i - f) < 0, g = Math.ceil(c - p) < 0, _ = Math.floor(s + p) > d, v = n;
920
+ return n.startsWith("bottom") ? m ? h ? g ? v = "bottom-start" : _ && (v = "bottom-end") : (v = n?.replace("bottom", "top"), g && _ ? v = "top" : g ? v = "top-start" : _ && (v = "top-end")) : g && _ ? v = "bottom" : g ? v = "bottom-start" : _ && (v = "bottom-end") : n.startsWith("top") ? h ? m ? g ? v = "top-start" : _ && (v = "top-end") : (v = n?.replace("top", "bottom"), g && _ ? v = "bottom" : g ? v = "bottom-start" : _ && (v = "bottom-end")) : g && _ ? v = "top" : g ? v = "top-start" : _ && (v = "top-end") : n.startsWith("left") ? g ? _ || (v = n?.replace("left", "right"), m && h ? v = "right" : m ? v = "right-end" : h && (v = "right-start")) : m && h ? v = "left" : m ? v = "left-end" : h && (v = "left-start") : v.startsWith("right") && (_ ? g || (v = n?.replace("right", "left"), m && h ? v = "left" : m ? v = "left-end" : h && (v = "left-start")) : m && h ? v = "right" : m ? v = "right-end" : h && (v = "right-start")), {
932
921
  top: i,
933
922
  bottom: o,
934
923
  right: s,
@@ -939,65 +928,155 @@ var x = () => {
939
928
  childWidth: r.width,
940
929
  correctedPlacement: v,
941
930
  innerWidth: d,
942
- innerHeight: u
931
+ innerHeight: u,
932
+ outsideYBoth: h && m
943
933
  };
944
- }, ct = 10, lt = /* @__PURE__ */ new WeakMap(), ut = (e) => {
945
- if (lt.has(e)) return lt.get(e);
934
+ }, lt = 10, ut = /* @__PURE__ */ new WeakMap(), dt = (e) => {
935
+ if (ut.has(e)) return ut.get(e);
946
936
  let t = e.parentElement, n = 0;
947
- for (; t && n < ct;) {
948
- if (t.dataset.correctedPlacement) return lt.set(e, t), t;
937
+ for (; t && n < lt;) {
938
+ if (t.dataset.correctedPlacement) return ut.set(e, t), t;
949
939
  t = t.parentElement, n += 1;
950
940
  }
951
- return lt.set(e, null), null;
952
- }, dt = (e, t, n) => {
941
+ return ut.set(e, null), null;
942
+ }, ft = (e, t, n) => {
953
943
  if (!e || !t) return;
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);
944
+ let r = getComputedStyle(t), i = ["absolute", "fixed"].includes(r.position), a = dt(e), o = !a && !i, s = getComputedStyle(e);
945
+ if (s.position !== "fixed" && s.position !== "absolute") return;
946
+ let c = s.getPropertyValue("--db-popover-distance");
947
+ c.length || (c = "0px");
948
+ let { top: l, height: u, width: d, childHeight: f, childWidth: p, right: m, left: h, bottom: g, correctedPlacement: _, innerWidth: v, innerHeight: y, outsideYBoth: b } = ct(e, t, e?.dataset?.placement ?? n ?? "bottom");
955
949
  if (a) {
956
950
  let e = a.getBoundingClientRect();
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;
951
+ h = Math.abs(h - e.left), m = (d + Math.abs(m - e.right)) * 1.5, l = Math.abs(l - e.top), g = (u + Math.abs(g - e.bottom)) * 1.5;
958
952
  }
959
- if (i && (m = 0, p = u, c = 0, h = l, [
953
+ if (i && (h = 0, m = d, l = 0, g = u, [
960
954
  "auto",
961
955
  "inherit",
962
956
  "0"
963
- ].includes(r.zIndex) && (t.style.zIndex = "1")), f > u && (g.startsWith("bottom") || g.startsWith("top"))) {
957
+ ].includes(r.zIndex) && (t.style.zIndex = "1")), p > d && (_.startsWith("bottom") || _.startsWith("top"))) {
958
+ let t = d / 2 / p * 100;
959
+ _.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-inline-start", `${t}%`) : _.endsWith("end") ? e.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - t}%`) : e.style.setProperty("--db-tooltip-arrow-inline-start", "50%");
960
+ }
961
+ if (f > u && (_.startsWith("left") || _.startsWith("bottom"))) {
964
962
  let t = u / 2 / f * 100;
965
- g.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-inline-start", `${t}%`) : g.endsWith("end") ? e.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - t}%`) : e.style.setProperty("--db-tooltip-arrow-inline-start", "50%");
963
+ _.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-block-start", `${t}%`) : _.endsWith("end") ? e.style.setProperty("--db-tooltip-arrow-block-start", `${100 - t}%`) : e.style.setProperty("--db-tooltip-arrow-block-start", "50%");
964
+ }
965
+ if (e.style.insetBlock = "", e.style.insetInline = "", _ === "right" || _ === "left") e.style.insetBlockStart = `${l + u / 2}px`;
966
+ else if (_ === "right-start" || _ === "left-start") {
967
+ let t = l + f;
968
+ e.style.insetBlockStart = `${l}px`, e.style.insetBlockEnd = `${!i && t > y ? y : t}px`;
969
+ } else if (_ === "right-end" || _ === "left-end") {
970
+ let t = g - f;
971
+ e.style.insetBlockStart = `${!i && t < 0 ? 0 : t}px`, e.style.insetBlockEnd = `${g}px`;
972
+ } else if (_ === "top" || _ === "bottom") e.style.insetInlineStart = `${h + d / 2}px`;
973
+ else if (_ === "top-start" || _ === "bottom-start") {
974
+ let t = h + p;
975
+ e.style.insetInlineStart = `${h}px`, e.style.insetInlineEnd = `${!i && t > v ? v : t}px`;
976
+ } else if (_ === "top-end" || _ === "bottom-end") {
977
+ let t = m - p;
978
+ e.style.insetInlineStart = `${!i && t < 0 ? 0 : t}px`, e.style.insetInlineEnd = `${m}px`;
979
+ }
980
+ if (_?.startsWith("right")) {
981
+ let t = m + p;
982
+ e.style.insetInlineStart = `calc(${m}px + ${c})`, e.style.insetInlineEnd = `calc(${o && t > v ? v : t}px + ${c})`;
983
+ } else if (_?.startsWith("left")) {
984
+ let t = h - p;
985
+ e.style.insetInlineStart = `calc(${o && t < 0 ? 0 : t}px - ${c})`, e.style.insetInlineEnd = `calc(${m}px - ${c})`;
986
+ } else if (_?.startsWith("top")) {
987
+ let t = l - f;
988
+ e.style.insetBlockStart = `calc(${o && t < 0 ? 0 : t}px - ${c})`, e.style.insetBlockEnd = `calc(${i ? t : g}px - ${c})`;
989
+ } else if (_?.startsWith("bottom")) {
990
+ let t = g + f;
991
+ e.style.insetBlockStart = `calc(${i ? t : g}px + ${c})`, e.style.insetBlockEnd = `calc(${o && t > y ? y : t}px + ${c})`;
992
+ }
993
+ b ? (e.style.overflow = "hidden auto", e.style.insetBlock = c, e.style.maxBlockSize = `calc(${y}px - 2 * ${c})`) : (e.style.overflow = "", e.style.maxBlockSize = ""), e.style.position = "fixed", e.dataset.correctedPlacement = _, pt(e);
994
+ }, pt = (e) => {
995
+ let { outTop: t, outBottom: n, outLeft: r, outRight: i } = mt(e), a = {};
996
+ return t || n ? (a = { vy: t ? "top" : "bottom" }, e.dataset.outsideVy = a.vy) : delete e.dataset.outsideVy, r || i ? (a = {
997
+ ...a,
998
+ vx: i ? "right" : "left"
999
+ }, e.dataset.outsideVx = a.vx) : delete e.dataset.outsideVx, a;
1000
+ }, mt = (e) => {
1001
+ 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();
1002
+ 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)), {
1003
+ outTop: s,
1004
+ outBottom: c,
1005
+ outLeft: l,
1006
+ outRight: u
1007
+ };
1008
+ }, ht = class {
1009
+ observe(e, t) {
1010
+ let n = this.getObserver();
1011
+ if (!n) return;
1012
+ let r = x(), i = this.getCallbacksByElement(), a = this.getIdToElement(), o = i.get(e);
1013
+ return o || (o = /* @__PURE__ */ new Map(), i.set(e, o), this.observeElement(n, e)), o.set(r, t), a.set(r, e), r;
966
1014
  }
967
- if (d > l && (g.startsWith("left") || g.startsWith("bottom"))) {
968
- let t = l / 2 / d * 100;
969
- g.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-block-start", `${t}%`) : g.endsWith("end") ? e.style.setProperty("--db-tooltip-arrow-block-start", `${100 - t}%`) : e.style.setProperty("--db-tooltip-arrow-block-start", "50%");
1015
+ unobserve(e) {
1016
+ let t = this.getCallbacksByElement(), n = this.getIdToElement(), r = this.getObserver(), i = n.get(e);
1017
+ if (!i || !r) return;
1018
+ let a = t.get(i);
1019
+ a && (a.delete(e), a.size === 0 && (t.delete(i), this.unobserveElement(r, i))), n.delete(e);
970
1020
  }
971
- if (g === "right" || g === "left") e.style.insetBlockStart = `${c + l / 2}px`;
972
- else if (g === "right-start" || g === "left-start") {
973
- let t = c + d;
974
- e.style.insetBlockStart = `${c}px`, e.style.insetBlockEnd = `${!i && t > v ? v : t}px`;
975
- } else if (g === "right-end" || g === "left-end") {
976
- let t = h - d;
977
- e.style.insetBlockStart = `${!i && t < 0 ? 0 : t}px`, e.style.insetBlockEnd = `${h}px`;
978
- } else if (g === "top" || g === "bottom") e.style.insetInlineStart = `${m + u / 2}px`;
979
- else if (g === "top-start" || g === "bottom-start") {
980
- let t = m + f;
981
- e.style.insetInlineStart = `${m}px`, e.style.insetInlineEnd = `${!i && t > _ ? _ : t}px`;
982
- } else if (g === "top-end" || g === "bottom-end") {
983
- let t = p - f;
984
- e.style.insetInlineStart = `${!i && t < 0 ? 0 : t}px`, e.style.insetInlineEnd = `${p}px`;
1021
+ dispatchEntry(e, t) {
1022
+ let n = this.getCallbacksByElement().get(e);
1023
+ n && n.forEach((e) => {
1024
+ e(t);
1025
+ });
1026
+ }
1027
+ }, gt = class e extends ht {
1028
+ static _instance = null;
1029
+ static callbacksByElement = /* @__PURE__ */ new Map();
1030
+ static idToElement = /* @__PURE__ */ new Map();
1031
+ static observer = null;
1032
+ constructor() {
1033
+ if (super(), e._instance) return e._instance;
1034
+ e._instance = this, typeof window < "u" && "IntersectionObserver" in window && (e.observer = new IntersectionObserver((e) => {
1035
+ for (let t of e) this.dispatchEntry(t.target, t);
1036
+ }));
1037
+ }
1038
+ getCallbacksByElement() {
1039
+ return e.callbacksByElement;
1040
+ }
1041
+ getIdToElement() {
1042
+ return e.idToElement;
1043
+ }
1044
+ getObserver() {
1045
+ return e.observer;
1046
+ }
1047
+ observeElement(e, t) {
1048
+ e.observe(t);
1049
+ }
1050
+ unobserveElement(e, t) {
1051
+ e.unobserve(t);
1052
+ }
1053
+ }, _t = class e extends ht {
1054
+ static _instance = null;
1055
+ static callbacksByElement = /* @__PURE__ */ new Map();
1056
+ static idToElement = /* @__PURE__ */ new Map();
1057
+ static observer = null;
1058
+ constructor() {
1059
+ if (super(), e._instance) return e._instance;
1060
+ e._instance = this, typeof window < "u" && "ResizeObserver" in window && (e.observer = new ResizeObserver((e) => {
1061
+ for (let t of e) this.dispatchEntry(t.target, t);
1062
+ }));
1063
+ }
1064
+ getCallbacksByElement() {
1065
+ return e.callbacksByElement;
1066
+ }
1067
+ getIdToElement() {
1068
+ return e.idToElement;
1069
+ }
1070
+ getObserver() {
1071
+ return e.observer;
985
1072
  }
986
- if (g?.startsWith("right")) {
987
- let t = p + f;
988
- e.style.insetInlineStart = `calc(${p}px + ${s})`, e.style.insetInlineEnd = `calc(${o && t > _ ? _ : t}px + ${s})`;
989
- } else if (g?.startsWith("left")) {
990
- let t = m - f;
991
- e.style.insetInlineStart = `calc(${o && t < 0 ? 0 : t}px - ${s})`, e.style.insetInlineEnd = `calc(${p}px - ${s})`;
992
- } else if (g?.startsWith("top")) {
993
- let t = c - d;
994
- e.style.insetBlockStart = `calc(${o && t < 0 ? 0 : t}px - ${s})`, e.style.insetBlockEnd = `calc(${i ? t : h}px - ${s})`;
995
- } else if (g?.startsWith("bottom")) {
996
- let t = h + d;
997
- e.style.insetBlockStart = `calc(${i ? t : h}px + ${s})`, e.style.insetBlockEnd = `calc(${o && t > v ? v : t}px + ${s})`;
1073
+ observeElement(e, t) {
1074
+ e.observe(t);
998
1075
  }
999
- e.style.position = "fixed", e.dataset.correctedPlacement = g;
1000
- }, ft = ["id", "data-width"], pt = /* @__PURE__ */ s({
1076
+ unobserveElement(e, t) {
1077
+ e.unobserve(t);
1078
+ }
1079
+ }, vt = ["id", "data-width"], yt = /* @__PURE__ */ s({
1001
1080
  name: "DBCustomSelectDropdown",
1002
1081
  __name: "custom-select-dropdown",
1003
1082
  props: {
@@ -1018,20 +1097,20 @@ var x = () => {
1018
1097
  id: e.id ?? e.propOverrides?.id,
1019
1098
  class: c(_(C)("db-custom-select-dropdown db-card", t.class)),
1020
1099
  "data-width": e.width
1021
- }, [h(i.$slots, "default")], 10, ft));
1100
+ }, [h(i.$slots, "default")], 10, vt));
1022
1101
  }
1023
- }), mt = ["id", "data-divider"], ht = [
1102
+ }), bt = ["id", "data-divider"], xt = [
1024
1103
  "data-icon",
1025
1104
  "data-show-icon",
1026
1105
  "data-icon-trailing"
1027
- ], gt = [
1106
+ ], St = [
1028
1107
  "type",
1029
1108
  "name",
1030
1109
  "form",
1031
1110
  "checked",
1032
1111
  "disabled",
1033
1112
  "value"
1034
- ], _t = { class: "db-custom-select-list-item-label" }, vt = { key: 1 }, yt = /* @__PURE__ */ s({
1113
+ ], Ct = { class: "db-custom-select-list-item-label" }, wt = { key: 1 }, Tt = /* @__PURE__ */ s({
1035
1114
  name: "DBCustomSelectListItem",
1036
1115
  __name: "custom-select-list-item",
1037
1116
  props: {
@@ -1043,12 +1122,12 @@ var x = () => {
1043
1122
  id: { default: void 0 },
1044
1123
  autofocus: { type: [Boolean, String] },
1045
1124
  propOverrides: { default: void 0 },
1125
+ label: { default: void 0 },
1126
+ name: { default: void 0 },
1046
1127
  disabled: {
1047
1128
  type: [Boolean, String],
1048
1129
  default: void 0
1049
1130
  },
1050
- label: { default: void 0 },
1051
- name: { default: void 0 },
1052
1131
  value: { default: void 0 },
1053
1132
  checked: {
1054
1133
  type: [Boolean, String],
@@ -1097,7 +1176,7 @@ var x = () => {
1097
1176
  "db-radio": t.type !== "checkbox" && !t.isGroupTitle
1098
1177
  })),
1099
1178
  "data-divider": _(k)(u.value, "hasDivider")
1100
- }, [t.isGroupTitle ? (f(), r("span", vt, g(t.groupTitle), 1)) : (f(), r("label", {
1179
+ }, [t.isGroupTitle ? (f(), r("span", wt, g(t.groupTitle), 1)) : (f(), r("label", {
1101
1180
  key: 0,
1102
1181
  "data-icon": t.type !== "checkbox" && t.icon ? t.icon : void 0,
1103
1182
  "data-show-icon": _(k)(t.showIcon, "showIcon"),
@@ -1112,13 +1191,13 @@ var x = () => {
1112
1191
  disabled: _(A)(t.disabled, "disabled"),
1113
1192
  value: t.value,
1114
1193
  onChange: s[0] ||= async (e) => m(e)
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));
1194
+ }, null, 40, St), i("span", Ct, [t.label ? (f(), r(e, { key: 0 }, [a(g(t.label), 1)], 64)) : n("", !0), h(o.$slots, "default")])], 8, xt))], 10, bt));
1116
1195
  }
1117
- }), bt = [
1196
+ }), Et = [
1118
1197
  "role",
1119
1198
  "aria-label",
1120
1199
  "id"
1121
- ], xt = /* @__PURE__ */ s({
1200
+ ], Dt = /* @__PURE__ */ s({
1122
1201
  name: "DBCustomSelectList",
1123
1202
  __name: "custom-select-list",
1124
1203
  props: {
@@ -1143,9 +1222,9 @@ var x = () => {
1143
1222
  ref: n,
1144
1223
  id: e.id ?? e.propOverrides?.id,
1145
1224
  class: c(_(C)("db-custom-select-list", t.class))
1146
- }, [i("ul", null, [h(a.$slots, "default")])], 10, bt));
1225
+ }, [i("ul", null, [h(a.$slots, "default")])], 10, Et));
1147
1226
  }
1148
- }), St = [
1227
+ }), Ot = [
1149
1228
  "data-variant",
1150
1229
  "data-hide-label",
1151
1230
  "data-show-icon",
@@ -1153,10 +1232,10 @@ var x = () => {
1153
1232
  "data-icon-trailing",
1154
1233
  "data-hide-asterisk",
1155
1234
  "data-show-icon-trailing"
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 = {
1235
+ ], kt = ["for"], At = /* @__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("."), jt = ["id"], Mt = ["value"], Nt = {
1157
1236
  "data-visually-hidden": "true",
1158
1237
  role: "status"
1159
- }, Ot = /* @__PURE__ */ s({
1238
+ }, Pt = /* @__PURE__ */ s({
1160
1239
  name: "DBInput",
1161
1240
  __name: "input",
1162
1241
  props: {
@@ -1225,12 +1304,12 @@ var x = () => {
1225
1304
  ariaDescribedBy: { default: void 0 },
1226
1305
  form: { default: void 0 },
1227
1306
  validation: { default: void 0 },
1307
+ label: { default: void 0 },
1308
+ name: { default: void 0 },
1228
1309
  disabled: {
1229
1310
  type: [Boolean, String],
1230
1311
  default: void 0
1231
1312
  },
1232
- label: { default: void 0 },
1233
- name: { default: void 0 },
1234
1313
  required: {
1235
1314
  type: [Boolean, String],
1236
1315
  default: void 0
@@ -1305,7 +1384,7 @@ var x = () => {
1305
1384
  }), y(() => [W.value], () => {
1306
1385
  if (W.value) {
1307
1386
  let e = te.value;
1308
- e || (e = new AbortController(), te.value = e), qe(W.value, {
1387
+ e || (e = new AbortController(), te.value = e), Ye(W.value, {
1309
1388
  value: T.value,
1310
1389
  defaultValue: void 0
1311
1390
  }, (e) => {
@@ -1355,7 +1434,7 @@ var x = () => {
1355
1434
  "data-hide-asterisk": _(F)(s.showRequiredAsterisk),
1356
1435
  "data-show-icon-trailing": _(k)(s.showIconTrailing, "showIconTrailing")
1357
1436
  }, [
1358
- i("label", { for: P.value }, g(s.label ?? _("LABEL SHOULD BE SET")), 9, Ct),
1437
+ i("label", { for: P.value }, g(s.label ?? _("LABEL SHOULD BE SET")), 9, kt),
1359
1438
  i("input", {
1360
1439
  "aria-invalid": s.validation === "invalid",
1361
1440
  "data-custom-validity": s.validation,
@@ -1398,14 +1477,14 @@ var x = () => {
1398
1477
  "month",
1399
1478
  "color"
1400
1479
  ].includes(s.type ?? "") && _(D)() ? "textbox" : void 0
1401
- }, null, 40, wt),
1480
+ }, null, 40, At),
1402
1481
  s.dataList ? (f(), r("datalist", {
1403
1482
  key: 0,
1404
1483
  id: V.value
1405
1484
  }, [(f(!0), r(e, null, m(oe(), (e) => (f(), r("option", {
1406
1485
  key: V.value + "-option-" + e.value,
1407
1486
  value: e.value
1408
- }, g(e.label), 9, Et))), 128))], 8, Tt)) : n("", !0),
1487
+ }, g(e.label), 9, Mt))), 128))], 8, jt)) : n("", !0),
1409
1488
  h(l.$slots, "default"),
1410
1489
  _(I)(s.message, s.showMessage) ? (f(), t($, {
1411
1490
  key: 1,
@@ -1437,10 +1516,10 @@ var x = () => {
1437
1516
  default: b(() => [a(g(B.value), 1)]),
1438
1517
  _: 1
1439
1518
  }, 8, ["id", "size"]),
1440
- i("span", Dt, g(U.value), 1)
1441
- ], 10, St));
1519
+ i("span", Nt, g(U.value), 1)
1520
+ ], 10, Ot));
1442
1521
  }
1443
- }), kt = [
1522
+ }), Ft = [
1444
1523
  "id",
1445
1524
  "data-emphasis",
1446
1525
  "data-wrap",
@@ -1449,7 +1528,7 @@ var x = () => {
1449
1528
  "data-width",
1450
1529
  "data-show-arrow",
1451
1530
  "data-placement"
1452
- ], At = /* @__PURE__ */ s({
1531
+ ], It = /* @__PURE__ */ s({
1453
1532
  name: "DBTooltip",
1454
1533
  __name: "tooltip",
1455
1534
  props: {
@@ -1479,28 +1558,28 @@ var x = () => {
1479
1558
  text: { default: void 0 }
1480
1559
  },
1481
1560
  setup(t) {
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);
1561
+ 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(void 0), T = p(0), E = p([]), D = p(null);
1483
1562
  u(() => {
1484
- I(), l.value = !0;
1563
+ L(), l.value = !0;
1485
1564
  }), d(() => {
1486
- L();
1565
+ R();
1487
1566
  }), y(() => [o.id, o.propOverrides?.id], () => {
1488
- (o.id ?? o.propOverrides?.id) && I();
1567
+ (o.id ?? o.propOverrides?.id) && L();
1489
1568
  }, {
1490
1569
  immediate: !0,
1491
1570
  flush: "post"
1492
1571
  }), y(() => [
1493
- E.value,
1572
+ D.value,
1494
1573
  l.value,
1495
1574
  s.value
1496
1575
  ], () => {
1497
- if (E.value && l.value && s.value) {
1498
- let e = j();
1576
+ if (D.value && l.value && s.value) {
1577
+ let e = M();
1499
1578
  if (e) {
1500
- M(e);
1501
- let t = () => F(e), n = () => P(), r = (e) => A(e);
1502
- e.addEventListener("mouseenter", t), e.addEventListener("focusin", t), e.addEventListener("keydown", r), e.addEventListener("mouseleave", n), e.addEventListener("focusout", n), T.value = [
1503
- ...T.value ?? [],
1579
+ N(e);
1580
+ let t = () => I(e), n = () => F(), r = (e) => j(e);
1581
+ e.addEventListener("mouseenter", t), e.addEventListener("focusin", t), e.addEventListener("keydown", r), e.addEventListener("mouseleave", n), e.addEventListener("focusout", n), E.value = [
1582
+ ...E.value ?? [],
1504
1583
  {
1505
1584
  parent: e,
1506
1585
  type: "mouseenter",
@@ -1526,53 +1605,52 @@ var x = () => {
1526
1605
  type: "focusout",
1527
1606
  fn: n
1528
1607
  }
1529
- ], e.dataset.hasTooltip = "true", o.variant === "label" ? e.setAttribute("aria-labelledby", s.value) : e.setAttribute("aria-describedby", s.value), x.value = e, S.value = s.value;
1608
+ ], e.dataset.hasTooltip = "true", o.variant === "label" ? e.setAttribute("aria-labelledby", s.value) : e.setAttribute("aria-describedby", s.value), S.value = e, w.value = s.value;
1530
1609
  }
1531
- typeof window < "u" && "IntersectionObserver" in window && (b.value = new IntersectionObserver((e) => {
1532
- let t = e.find(({ target: e }) => e === j());
1533
- t && !t.isIntersecting && A(!1);
1534
- })), l.value = !1;
1610
+ l.value = !1;
1535
1611
  }
1536
1612
  }, {
1537
1613
  immediate: !0,
1538
1614
  flush: "post"
1539
1615
  });
1540
- function D(e) {
1616
+ function A(e) {
1541
1617
  e.stopPropagation();
1542
1618
  }
1543
- function A(e) {
1544
- (!e || e.key === "Escape") && E.value && getComputedStyle(E.value).visibility === "visible" && j().blur();
1619
+ function j(e) {
1620
+ (!e || e.key === "Escape") && D.value && getComputedStyle(D.value).visibility === "visible" && M().blur();
1545
1621
  }
1546
- function j() {
1547
- let e = E.value.parentElement;
1622
+ function M() {
1623
+ let e = D.value.parentElement;
1548
1624
  return e && e.localName.includes("tooltip") && (e = e.parentElement), e;
1549
1625
  }
1550
- function M(e) {
1551
- e && E.value && O(() => {
1552
- E.value && dt(E.value, e, o.placement ?? "bottom");
1626
+ function N(e) {
1627
+ e && D.value && O(() => {
1628
+ D.value && ft(D.value, e);
1553
1629
  }, 1);
1554
1630
  }
1555
- function N(e, t) {
1556
- e?.target?.contains && e?.target?.contains(E.value) && M(t);
1631
+ function P(e, t) {
1632
+ e?.target?.contains && e?.target?.contains(D.value) && N(t);
1557
1633
  }
1558
- function P() {
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()));
1634
+ function F() {
1635
+ T.value = Math.max((T.value ?? 0) - 1, 0), !((T.value ?? 0) > 0) && (m.value &&= (new ot().removeCallback(m.value), void 0), x.value &&= (new _t().unobserve(x.value), void 0), b.value &&= (new gt().unobserve(b.value), void 0));
1560
1636
  }
1561
- function F(e) {
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);
1637
+ function I(e) {
1638
+ T.value = (T.value ?? 0) + 1, T.value === 1 && (m.value = new ot().addCallback((t) => P(t, e)), x.value = new _t().observe(document.documentElement, () => N(e)), b.value = new gt().observe(M(), (e) => {
1639
+ e.isIntersecting || j(!1);
1640
+ })), N(e);
1563
1641
  }
1564
- function I() {
1642
+ function L() {
1565
1643
  s.value = o.id ?? o.propOverrides?.id ?? "tooltip-" + i;
1566
1644
  }
1567
- function L() {
1645
+ function R() {
1568
1646
  let e = m.value;
1569
- e && (new rt().removeCallback(e), m.value = void 0), b.value?.disconnect(), b.value = void 0, w.value = 0, (T.value ?? []).forEach((e) => {
1647
+ e && (new ot().removeCallback(e), m.value = void 0), x.value &&= (new _t().unobserve(x.value), void 0), b.value &&= (new gt().unobserve(b.value), void 0), T.value = 0, (E.value ?? []).forEach((e) => {
1570
1648
  e.parent.removeEventListener(e.type, e.fn);
1571
- }), T.value = [];
1572
- let t = x.value;
1649
+ }), E.value = [];
1650
+ let t = S.value;
1573
1651
  if (t) {
1574
- let e = S.value ?? s.value, n = t.querySelectorAll(".db-tooltip"), r = Array.from(n).some((e) => e !== E.value);
1575
- t.dataset.hasTooltip === "true" && !r && delete t.dataset.hasTooltip, t.getAttribute("aria-labelledby") === e && t.removeAttribute("aria-labelledby"), t.getAttribute("aria-describedby") === e && t.removeAttribute("aria-describedby"), x.value = void 0, S.value = void 0;
1652
+ let e = w.value ?? s.value, n = t.querySelectorAll(".db-tooltip"), r = Array.from(n).some((e) => e !== D.value);
1653
+ t.dataset.hasTooltip === "true" && !r && delete t.dataset.hasTooltip, t.getAttribute("aria-labelledby") === e && t.removeAttribute("aria-labelledby"), t.getAttribute("aria-describedby") === e && t.removeAttribute("aria-describedby"), S.value = void 0, w.value = void 0;
1576
1654
  }
1577
1655
  }
1578
1656
  return (i, l) => (f(), r("i", {
@@ -1580,7 +1658,7 @@ var x = () => {
1580
1658
  "aria-hidden": "true",
1581
1659
  "data-gap": "true",
1582
1660
  ref_key: "_ref",
1583
- ref: E,
1661
+ ref: D,
1584
1662
  class: c(_(C)("db-tooltip", o.class)),
1585
1663
  id: s.value,
1586
1664
  "data-emphasis": t.emphasis,
@@ -1590,10 +1668,10 @@ var x = () => {
1590
1668
  "data-width": t.width,
1591
1669
  "data-show-arrow": _(k)(t.showArrow ?? !0, "showArrow"),
1592
1670
  "data-placement": t.placement,
1593
- onClick: l[0] ||= async (e) => D(e)
1594
- }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(i.$slots, "default")], 10, kt));
1671
+ onClick: l[0] ||= async (e) => A(e)
1672
+ }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(i.$slots, "default")], 10, Ft));
1595
1673
  }
1596
- }), jt = [
1674
+ }), Lt = [
1597
1675
  "id",
1598
1676
  "data-semantic",
1599
1677
  "data-emphasis",
@@ -1602,7 +1680,7 @@ var x = () => {
1602
1680
  "data-show-icon",
1603
1681
  "data-no-text",
1604
1682
  "data-overflow"
1605
- ], Mt = /* @__PURE__ */ s({
1683
+ ], Rt = /* @__PURE__ */ s({
1606
1684
  name: "DBTag",
1607
1685
  __name: "tag",
1608
1686
  props: {
@@ -1675,13 +1753,13 @@ var x = () => {
1675
1753
  "data-variant": "ghost",
1676
1754
  type: "button",
1677
1755
  onClick: p[0] ||= async (e) => l(e)
1678
- }, [o(At, { variant: "label" }, {
1756
+ }, [o(It, { variant: "label" }, {
1679
1757
  default: b(() => [a(g(u()), 1)]),
1680
1758
  _: 1
1681
1759
  })])) : n("", !0)
1682
- ], 10, jt));
1760
+ ], 10, Lt));
1683
1761
  }
1684
- }), Nt = [
1762
+ }), zt = [
1685
1763
  "id",
1686
1764
  "aria-invalid",
1687
1765
  "data-custom-validity",
@@ -1694,7 +1772,7 @@ var x = () => {
1694
1772
  "data-hide-label",
1695
1773
  "data-icon",
1696
1774
  "data-show-icon"
1697
- ], Pt = ["id"], Ft = [
1775
+ ], Bt = ["id"], Vt = [
1698
1776
  "id",
1699
1777
  "form",
1700
1778
  "name",
@@ -1702,18 +1780,18 @@ var x = () => {
1702
1780
  "multiple",
1703
1781
  "disabled",
1704
1782
  "required"
1705
- ], It = ["disabled", "value"], Lt = ["open"], Rt = [
1783
+ ], Ht = ["disabled", "value"], Ut = ["open"], Wt = [
1706
1784
  "id",
1707
1785
  "aria-disabled",
1708
1786
  "tabIndex",
1709
1787
  "aria-labelledby"
1710
- ], zt = ["data-visually-hidden", "id"], Bt = {
1788
+ ], Gt = ["data-visually-hidden", "id"], Kt = {
1711
1789
  key: 0,
1712
1790
  "data-visually-hidden": "true"
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 = {
1791
+ }, qt = { key: 1 }, Jt = { key: 0 }, Yt = { key: 0 }, Xt = { class: "db-checkbox db-custom-select-list-item" }, Zt = ["form", "checked"], Qt = ["id"], $t = {
1714
1792
  "data-visually-hidden": "true",
1715
1793
  role: "status"
1716
- }, Jt = /* @__PURE__ */ s({
1794
+ }, en = /* @__PURE__ */ s({
1717
1795
  name: "DBCustomSelect",
1718
1796
  __name: "custom-select",
1719
1797
  props: {
@@ -1726,12 +1804,12 @@ var x = () => {
1726
1804
  ariaDescribedBy: { default: void 0 },
1727
1805
  form: { default: void 0 },
1728
1806
  validation: { default: void 0 },
1807
+ label: { default: void 0 },
1808
+ name: { default: void 0 },
1729
1809
  disabled: {
1730
1810
  type: [Boolean, String],
1731
1811
  default: void 0
1732
1812
  },
1733
- label: { default: void 0 },
1734
- name: { default: void 0 },
1735
1813
  required: {
1736
1814
  type: [Boolean, String],
1737
1815
  default: void 0
@@ -1838,18 +1916,13 @@ var x = () => {
1838
1916
  },
1839
1917
  emits: ["update:values"],
1840
1918
  setup(s, { emit: l }) {
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);
1919
+ 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(void 0), be = p(!1), xe = p(!1), Se = p(null), X = p(null), Z = p(null), Ce = p(null), we = p(null);
1842
1920
  u(() => {
1843
- Xe(), N.value = w.invalidMessage || "TODO: Add an invalidMessage", typeof window < "u" && "IntersectionObserver" in window && (_e.value = new IntersectionObserver((e) => {
1844
- if (X.value) {
1845
- let t = e.find(({ target: e }) => e === X.value);
1846
- t && !t.isIntersecting && X.value.open && (X.value.open = !1);
1847
- }
1848
- }));
1921
+ Ze(), N.value = w.invalidMessage || "TODO: Add an invalidMessage";
1849
1922
  }), d(() => {
1850
- U.value?.abort();
1923
+ U.value?.abort(), pe.value && new at().removeCallback(pe.value), ge.value && new ot().removeCallback(ge.value), ve.value && new _t().unobserve(ve.value), _e.value && new gt().unobserve(_e.value);
1851
1924
  }), y(() => [w.id, w.propOverrides?.id], () => {
1852
- (w.id ?? w.propOverrides?.id) && Xe();
1925
+ (w.id ?? w.propOverrides?.id) && Ze();
1853
1926
  }, {
1854
1927
  immediate: !0,
1855
1928
  flush: "post"
@@ -1861,7 +1934,7 @@ var x = () => {
1861
1934
  }), y(() => [T.value], () => {
1862
1935
  if (T.value) {
1863
1936
  let e = T.value + q;
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();
1937
+ 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) ? Ae(e) : Ae();
1865
1938
  }
1866
1939
  }, {
1867
1940
  immediate: !0,
@@ -1904,7 +1977,7 @@ var x = () => {
1904
1977
  immediate: !0,
1905
1978
  flush: "post"
1906
1979
  }), y(() => [Y.value, Z.value], () => {
1907
- Z.value && Ee();
1980
+ Z.value && De();
1908
1981
  }, {
1909
1982
  immediate: !0,
1910
1983
  flush: "post"
@@ -1913,8 +1986,8 @@ var x = () => {
1913
1986
  let e = U.value;
1914
1987
  e || (e = new AbortController(), U.value = e);
1915
1988
  let t = w.values;
1916
- Ge(Z.value, () => {
1917
- Ve(t || (Z.value.value ? [Z.value.value] : [])), Ee();
1989
+ qe(Z.value, () => {
1990
+ He(t || (Z.value.value ? [Z.value.value] : [])), De();
1918
1991
  }, e.signal);
1919
1992
  }
1920
1993
  }, {
@@ -1926,19 +1999,19 @@ var x = () => {
1926
1999
  immediate: !0,
1927
2000
  flush: "post"
1928
2001
  }), 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);
2002
+ Y.value?.length === 0 ? (be.value = !1, xe.value = !1) : Y.value?.length === K.value ? (xe.value = !1, be.value = !0) : Y.value && (xe.value = !0);
1930
2003
  }, {
1931
2004
  immediate: !0,
1932
2005
  flush: "post"
1933
2006
  }), y(() => [w.options], () => {
1934
- ue.value = w.options, K.value = w.options?.filter((e) => !e.isGroupTitle).length ?? 0, X.value?.open && Fe();
2007
+ ue.value = w.options, K.value = w.options?.filter((e) => !e.isGroupTitle).length ?? 0, X.value?.open && Ie();
1935
2008
  }, {
1936
2009
  immediate: !0,
1937
2010
  flush: "post"
1938
2011
  }), y(() => [w.searchValue], () => {
1939
- if (ve.value = w.searchValue, w.searchValue) {
2012
+ if (ye.value = w.searchValue, w.searchValue) {
1940
2013
  let e = w.searchValue;
1941
- qe(e);
2014
+ Je(e);
1942
2015
  }
1943
2016
  }, {
1944
2017
  immediate: !0,
@@ -1965,7 +2038,7 @@ var x = () => {
1965
2038
  W.value = t(e);
1966
2039
  return;
1967
2040
  }
1968
- w.selectedType === "amount" ? W.value = w.amountText ? w.amountText : `${G.value?.length} ${me}` : W.value = G.value?.map((e) => je(e)).join(", ");
2041
+ w.selectedType === "amount" ? W.value = w.amountText ? w.amountText : `${G.value?.length} ${me}` : W.value = G.value?.map((e) => Me(e)).join(", ");
1969
2042
  } else W.value = "";
1970
2043
  }, {
1971
2044
  immediate: !0,
@@ -1975,8 +2048,8 @@ var x = () => {
1975
2048
  }, {
1976
2049
  immediate: !0,
1977
2050
  flush: "post"
1978
- }), y(() => [be.value, Se.value], () => {
1979
- Se.value && (Se.value.indeterminate = !!be.value);
2051
+ }), y(() => [xe.value, Ce.value], () => {
2052
+ Ce.value && (Ce.value.indeterminate = !!xe.value);
1980
2053
  }, {
1981
2054
  immediate: !0,
1982
2055
  flush: "post"
@@ -1986,54 +2059,56 @@ var x = () => {
1986
2059
  immediate: !0,
1987
2060
  flush: "post"
1988
2061
  });
1989
- function we(e) {
1990
- e?.target?.contains && e?.target?.contains(X.value) && Fe();
2062
+ function Te(e) {
2063
+ e?.target?.contains && e?.target?.contains(X.value) && Ie();
1991
2064
  }
1992
- function Te() {
2065
+ function Ee() {
1993
2066
  return !!(w.validMessage ?? w.validation === "valid");
1994
2067
  }
1995
- function Ee() {
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");
2068
+ function De() {
2069
+ Z.value && (Z.value.value = ke()), !Z.value?.validity.valid || w.validation === "invalid" ? (Ae(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")) : Ee() && Z.value?.validity.valid && w.required ? (Ae(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) ? (Ae(D.value), H.value = w.validation ?? "no-validation") : (Ae(B.value), H.value = w.validation ?? "no-validation");
1997
2070
  }
1998
- function De(e) {
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));
2071
+ function Oe(e) {
2072
+ w.onDropdownToggle && (e.stopPropagation(), w.onDropdownToggle(e)), e.target instanceof HTMLDetailsElement && e.target.open ? (pe.value = new at().addCallback((e) => Ve(e)), ge.value = new ot().addCallback((e) => Te(e)), Ie(), ve.value = new _t().observe(document.documentElement, () => Ie()), _e.value = new gt().observe(X.value, (e) => {
2073
+ !e.isIntersecting && X.value.open && (X.value.open = !1);
2074
+ }), e.target.dataset.test || Ke()) : (pe.value && new at().removeCallback(pe.value), ge.value && new ot().removeCallback(ge.value), ve.value && new _t().unobserve(ve.value), _e.value && new gt().unobserve(_e.value));
2000
2075
  }
2001
- function Oe() {
2076
+ function ke() {
2002
2077
  return Y.value?.length ? Y.value.at(0) ?? "" : "";
2003
2078
  }
2004
- function ke(e) {
2079
+ function Ae(e) {
2005
2080
  let t = [];
2006
2081
  e && t.push(e), ne.value && W.value?.length && t.push(ne.value), te.value = t.join(" ");
2007
2082
  }
2008
- function Ae() {
2083
+ function je() {
2009
2084
  return w.selectAllLabel ?? "LABEL SHOULD BE SET";
2010
2085
  }
2011
- function je(e) {
2086
+ function Me(e) {
2012
2087
  return e.label ?? e.value?.toString() ?? "";
2013
2088
  }
2014
- function Me(e) {
2089
+ function Ne(e) {
2015
2090
  return e && Y.value?.includes ? Y.value?.includes(e) : !1;
2016
2091
  }
2017
- function Ne(e) {
2092
+ function Pe(e) {
2018
2093
  let t = w.removeTagsTexts, n = w.options;
2019
2094
  if (t && n) {
2020
2095
  let r = n.findIndex((t) => t.value === e.value);
2021
2096
  if (r >= 0 && r < t.length) return t[r];
2022
2097
  }
2023
- return `${fe} ${je(e)}`;
2098
+ return `${fe} ${Me(e)}`;
2024
2099
  }
2025
- function Pe(e, t) {
2026
- t && t.stopPropagation(), He(e.value), Ye();
2100
+ function Fe(e, t) {
2101
+ t && t.stopPropagation(), Ue(e.value), Xe();
2027
2102
  }
2028
- function Fe() {
2103
+ function Ie() {
2029
2104
  if (X.value) {
2030
2105
  let e = X.value.querySelector("article");
2031
2106
  e && O(() => {
2032
- ot(e, X.value, w.placement ?? "bottom");
2107
+ st(e, X.value, w.placement ?? "bottom");
2033
2108
  }, 1);
2034
2109
  }
2035
2110
  }
2036
- function Ie(e) {
2111
+ function Le(e) {
2037
2112
  if (X.value?.open) {
2038
2113
  if (self.document) {
2039
2114
  let t = self.document.activeElement;
@@ -2049,7 +2124,7 @@ var x = () => {
2049
2124
  }
2050
2125
  e = e.nextElementSibling;
2051
2126
  }
2052
- e || We(t);
2127
+ e || Ge(t);
2053
2128
  } else {
2054
2129
  let e = n?.previousElementSibling;
2055
2130
  for (; e;) {
@@ -2062,7 +2137,7 @@ var x = () => {
2062
2137
  }
2063
2138
  if (!e) {
2064
2139
  let e = X.value.querySelector("input[type=\"checkbox\"]");
2065
- if (e && e !== t) We(t);
2140
+ if (e && e !== t) Ge(t);
2066
2141
  else {
2067
2142
  let e = L(X.value);
2068
2143
  if (e) O(() => {
@@ -2075,53 +2150,53 @@ var x = () => {
2075
2150
  }
2076
2151
  }
2077
2152
  }
2078
- } else t.getAttribute("type") === "search" && (e.key === "ArrowUp" || e.key === "ArrowLeft") ? (ze(void 0, !0), Ye()) : We(t);
2153
+ } else t.getAttribute("type") === "search" && (e.key === "ArrowUp" || e.key === "ArrowLeft") ? (ze(void 0, !0), Xe()) : Ge(t);
2079
2154
  }
2080
- } else (e.key === "ArrowDown" || e.key === "ArrowRight") && (Fe(), X.value && (X.value.open = !0), Ke());
2155
+ } else (e.key === "ArrowDown" || e.key === "ArrowRight") && (Ie(), X.value && (X.value.open = !0), Ke());
2081
2156
  e.stopPropagation(), e.preventDefault();
2082
2157
  }
2083
- function Le(e) {
2084
- if (e.stopPropagation(), e.key === "Escape" && X.value?.open) ze(void 0, !0), Ye();
2158
+ function Re(e) {
2159
+ if (e.stopPropagation(), e.key === "Escape" && X.value?.open) ze(void 0, !0), Xe();
2085
2160
  else if (e.key === "Enter" && X.value?.open) {
2086
2161
  if (self.document) {
2087
2162
  let t = self.document.activeElement;
2088
2163
  if (["checkbox", "radio"].includes(t.getAttribute("type") || "")) t.click(), e.preventDefault();
2089
2164
  else if (t.getAttribute("type") === "search") {
2090
2165
  let t = ue.value?.find((e) => !e.isGroupTitle && !e.disabled);
2091
- t?.value && (He(t.value), e.preventDefault());
2166
+ t?.value && (Ue(t.value), e.preventDefault());
2092
2167
  }
2093
2168
  }
2094
- } else (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "ArrowLeft" || e.key === "ArrowRight") && Ie(e);
2169
+ } else (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "ArrowLeft" || e.key === "ArrowRight") && Le(e);
2095
2170
  }
2096
2171
  function ze(e, t) {
2097
2172
  if (X.value) {
2098
- if (t) X.value.open = !1, Ye();
2173
+ if (t) X.value.open = !1, Xe();
2099
2174
  else if (X.value.open && e && e.relatedTarget) {
2100
2175
  let t = e.relatedTarget;
2101
2176
  !X.value.contains(t) && t.localName !== "dialog" && O(() => X.value.open = !1, 1);
2102
2177
  }
2103
2178
  }
2104
2179
  }
2105
- function Be(e) {
2180
+ function Ve(e) {
2106
2181
  if (e) {
2107
2182
  let t = e.target;
2108
2183
  X.value?.open && !X.value.contains(t) && (X.value.open = !1);
2109
2184
  }
2110
2185
  }
2111
- function Ve(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());
2113
- }
2114
2186
  function He(e) {
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)));
2187
+ (/* @__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());
2116
2188
  }
2117
2189
  function Ue(e) {
2118
- if (e.stopPropagation(), Y.value?.length === K.value) Ve([]);
2190
+ e && (w.multiple ? Y.value?.includes(e) ? He(Y.value.filter((t) => t !== e)) : He([...Y.value || [], e]) : (He([e]), ze(void 0, !0)));
2191
+ }
2192
+ function We(e) {
2193
+ if (e.stopPropagation(), Y.value?.length === K.value) He([]);
2119
2194
  else {
2120
- let e = ae.value && Ce.value ? Ce.value.value : void 0;
2121
- Ve(w.options ? w.options.filter((t) => !t.isGroupTitle && (!e || t.value?.toLowerCase().includes(e.toLowerCase()))).map((e) => e.value ?? "") : []);
2195
+ let e = ae.value && we.value ? we.value.value : void 0;
2196
+ He(w.options ? w.options.filter((t) => !t.isGroupTitle && (!e || t.value?.toLowerCase().includes(e.toLowerCase()))).map((e) => e.value ?? "") : []);
2122
2197
  }
2123
2198
  }
2124
- function We(e) {
2199
+ function Ge(e) {
2125
2200
  if (X.value) {
2126
2201
  let t = Array.from(X.value.querySelectorAll("input[type=\"checkbox\"],input[type=\"radio\"]"));
2127
2202
  if (t.length) {
@@ -2137,36 +2212,36 @@ var x = () => {
2137
2212
  let e = L(X.value);
2138
2213
  e ? O(() => {
2139
2214
  e.focus();
2140
- }, 1) : We();
2215
+ }, 1) : Ge();
2141
2216
  }
2142
2217
  }
2143
- function qe(e) {
2218
+ function Je(e) {
2144
2219
  if (e === void 0) return;
2145
2220
  let t;
2146
2221
  if (typeof e == "string") t = e;
2147
2222
  else {
2148
2223
  let n = e;
2149
- n.stopPropagation(), w.onSearch && w.onSearch(n), t = n.target.value, ve.value = t;
2224
+ n.stopPropagation(), w.onSearch && w.onSearch(n), t = n.target.value, ye.value = t;
2150
2225
  }
2151
- !w.options || !t || t.length === 0 ? ue.value = w.options : w.searchFilter ? ue.value = w.options.filter((e) => w.searchFilter(e, t)) : ue.value = w.options.filter((e) => !e.isGroupTitle && je(e).toLowerCase().includes(t.toLowerCase())), X.value?.open && Fe();
2226
+ !w.options || !t || t.length === 0 ? ue.value = w.options : w.searchFilter ? ue.value = w.options.filter((e) => w.searchFilter(e, t)) : ue.value = w.options.filter((e) => !e.isGroupTitle && Me(e).toLowerCase().includes(t.toLowerCase())), X.value?.open && Ie();
2152
2227
  }
2153
- function Je(e) {
2154
- e.stopPropagation(), Ve([]), Ye();
2228
+ function Ye(e) {
2229
+ e.stopPropagation(), He([]), Xe();
2155
2230
  }
2156
- function Ye() {
2231
+ function Xe() {
2157
2232
  X.value && X.value.querySelector("summary")?.focus();
2158
2233
  }
2159
- function Xe() {
2234
+ function Ze() {
2160
2235
  let e = w.id ?? w.propOverrides?.id ?? `custom-select-${x}`;
2161
2236
  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";
2162
2237
  }
2163
- function Ze(e) {
2238
+ function Qe(e) {
2164
2239
  e.stopPropagation();
2165
2240
  }
2166
2241
  return (l, u) => (f(), r("div", {
2167
2242
  id: T.value,
2168
2243
  ref_key: "_ref",
2169
- ref: xe,
2244
+ ref: Se,
2170
2245
  class: c(_(C)("db-custom-select", w.class)),
2171
2246
  "aria-invalid": H.value === "invalid",
2172
2247
  "data-custom-validity": H.value,
@@ -2193,18 +2268,18 @@ var x = () => {
2193
2268
  multiple: _(A)(s.multiple, "multiple"),
2194
2269
  disabled: _(A)(s.disabled, "disabled"),
2195
2270
  required: _(A)(s.required, "required"),
2196
- onChange: u[0] ||= async (e) => Ze(e)
2271
+ onChange: u[0] ||= async (e) => Qe(e)
2197
2272
  }, [s.options?.length ? (f(!0), r(e, { key: 0 }, m(s.options, (e, t) => (f(), r("option", {
2198
2273
  key: t,
2199
2274
  disabled: e.disabled,
2200
2275
  value: e.value
2201
- }, g(je(e)), 9, It))), 128)) : n("", !0)], 40, Ft)], 8, Pt),
2276
+ }, g(Me(e)), 9, Ht))), 128)) : n("", !0)], 40, Vt)], 8, Bt),
2202
2277
  i("details", {
2203
2278
  ref_key: "detailsRef",
2204
2279
  ref: X,
2205
2280
  open: s.open,
2206
- onToggle: u[2] ||= async (e) => De(e),
2207
- onKeydown: u[3] ||= async (e) => Le(e)
2281
+ onToggle: u[2] ||= async (e) => Oe(e),
2282
+ onKeydown: u[3] ||= async (e) => Re(e)
2208
2283
  }, [h(l.$slots, "default"), s.options ? (f(), r(e, { key: 0 }, [i("summary", {
2209
2284
  class: "db-custom-select-form-field",
2210
2285
  id: z.value,
@@ -2215,29 +2290,29 @@ var x = () => {
2215
2290
  key: 0,
2216
2291
  "data-visually-hidden": _(k)(s.selectedType === "tag", "selectedType"),
2217
2292
  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, {
2293
+ }, [s.selectedPrefix ? (f(), r("span", Kt, g(s.selectedPrefix), 1)) : n("", !0), a(" " + g(W.value), 1)], 8, Gt)) : n("", !0), s.selectedType === "tag" ? (f(), r("div", qt, [(f(!0), r(e, null, m(G.value, (e, n) => (f(), t(Rt, {
2219
2294
  key: n,
2220
2295
  emphasis: "strong",
2221
2296
  behavior: "removable",
2222
- removeButton: Ne(e),
2223
- onRemove: (t) => Pe(e, t)
2297
+ removeButton: Pe(e),
2298
+ onRemove: (t) => Fe(e, t)
2224
2299
  }, {
2225
- default: b(() => [a(g(je(e)), 1)]),
2300
+ default: b(() => [a(g(Me(e)), 1)]),
2226
2301
  _: 2
2227
- }, 1032, ["removeButton", "onRemove"]))), 128))])) : n("", !0)], 8, Rt), o(pt, { width: s.dropdownWidth }, {
2302
+ }, 1032, ["removeButton", "onRemove"]))), 128))])) : n("", !0)], 8, Wt), o(yt, { width: s.dropdownWidth }, {
2228
2303
  default: b(() => [
2229
- ae.value ? (f(), r("div", Ht, [o(Ot, {
2304
+ ae.value ? (f(), r("div", Jt, [o(Pt, {
2230
2305
  type: "search",
2231
2306
  ref_key: "searchInputRef",
2232
- ref: Ce,
2307
+ ref: we,
2233
2308
  name: T.value,
2234
2309
  form: T.value,
2235
2310
  showLabel: !1,
2236
- value: ve.value,
2311
+ value: ye.value,
2237
2312
  label: s.searchLabel ?? _("LABEL SHOULD BE SET"),
2238
2313
  placeholder: s.searchPlaceholder ?? s.searchLabel,
2239
2314
  ariaDescribedBy: de.value || s.showLoading ? V.value : void 0,
2240
- onInput: (e) => qe(e)
2315
+ onInput: (e) => Je(e)
2241
2316
  }, null, 8, [
2242
2317
  "name",
2243
2318
  "form",
@@ -2259,32 +2334,32 @@ var x = () => {
2259
2334
  "id",
2260
2335
  "icon",
2261
2336
  "semantic"
2262
- ])) : (f(), r(e, { key: 2 }, [ie.value ? (f(), r("div", Ut, [i("div", Wt, [i("label", null, [i("input", {
2337
+ ])) : (f(), r(e, { key: 2 }, [ie.value ? (f(), r("div", Yt, [i("div", Xt, [i("label", null, [i("input", {
2263
2338
  type: "checkbox",
2264
2339
  value: "select-all",
2265
2340
  ref_key: "selectAllRef",
2266
- ref: Se,
2341
+ ref: Ce,
2267
2342
  form: T.value,
2268
- checked: ye.value,
2269
- onChange: u[1] ||= async (e) => Ue(e)
2270
- }, null, 40, Gt), a(g(Ae()), 1)])])])) : n("", !0), o(xt, {
2343
+ checked: be.value,
2344
+ onChange: u[1] ||= async (e) => We(e)
2345
+ }, null, 40, Zt), a(g(je()), 1)])])])) : n("", !0), o(Dt, {
2271
2346
  multiple: _(A)(s.multiple, "multiple"),
2272
2347
  label: s.listLabel ?? s.label ?? _("LABEL SHOULD BE SET")
2273
2348
  }, {
2274
- default: b(() => [(f(!0), r(e, null, m(ue.value, (i, o) => (f(), t(yt, {
2349
+ default: b(() => [(f(!0), r(e, null, m(ue.value, (i, o) => (f(), t(Tt, {
2275
2350
  key: o,
2276
2351
  type: s.multiple ? "checkbox" : "radio",
2277
2352
  showDivider: i.showDivider,
2278
2353
  icon: i.icon,
2279
2354
  isGroupTitle: i.isGroupTitle,
2280
- groupTitle: je(i),
2355
+ groupTitle: Me(i),
2281
2356
  name: T.value,
2282
- checked: Me(i.value),
2357
+ checked: Ne(i.value),
2283
2358
  disabled: i.disabled,
2284
2359
  value: i.value,
2285
- onChange: (e) => He(i.value)
2360
+ onChange: (e) => Ue(i.value)
2286
2361
  }, {
2287
- default: b(() => [i.isGroupTitle ? n("", !0) : (f(), r(e, { key: 0 }, [a(g(je(i)), 1)], 64))]),
2362
+ default: b(() => [i.isGroupTitle ? n("", !0) : (f(), r(e, { key: 0 }, [a(g(Me(i)), 1)], 64))]),
2288
2363
  _: 2
2289
2364
  }, 1032, [
2290
2365
  "type",
@@ -2300,7 +2375,7 @@ var x = () => {
2300
2375
  ]))), 128))]),
2301
2376
  _: 1
2302
2377
  }, 8, ["multiple", "label"])], 64)),
2303
- i("div", null, [o(Re, {
2378
+ i("div", null, [o(Be, {
2304
2379
  variant: "ghost",
2305
2380
  width: "full",
2306
2381
  icon: "cross",
@@ -2318,8 +2393,8 @@ var x = () => {
2318
2393
  ])])
2319
2394
  ]),
2320
2395
  _: 1
2321
- }, 8, ["width"])], 64)) : n("", !0)], 40, Lt),
2322
- (s.showClearSelection ?? !0) && Y.value?.length ? (f(), t(Re, {
2396
+ }, 8, ["width"])], 64)) : n("", !0)], 40, Ut),
2397
+ (s.showClearSelection ?? !0) && Y.value?.length ? (f(), t(Be, {
2323
2398
  key: 0,
2324
2399
  icon: "cross",
2325
2400
  variant: "ghost",
@@ -2328,9 +2403,9 @@ var x = () => {
2328
2403
  name: T.value,
2329
2404
  form: T.value,
2330
2405
  disabled: _(A)(s.disabled, "disabled"),
2331
- onClick: (e) => Je(e)
2406
+ onClick: (e) => Ye(e)
2332
2407
  }, {
2333
- default: b(() => [a(g(s.clearSelectionText), 1), o(At, { placement: "top" }, {
2408
+ default: b(() => [a(g(s.clearSelectionText), 1), o(It, { placement: "top" }, {
2334
2409
  default: b(() => [a(g(s.clearSelectionText), 1)]),
2335
2410
  _: 1
2336
2411
  })]),
@@ -2345,7 +2420,7 @@ var x = () => {
2345
2420
  class: "db-custom-select-placeholder",
2346
2421
  "aria-hidden": "true",
2347
2422
  id: B.value
2348
- }, g(s.placeholder ?? s.label), 9, Kt),
2423
+ }, g(s.placeholder ?? s.label), 9, Qt),
2349
2424
  _(I)(s.message, s.showMessage) ? (f(), t($, {
2350
2425
  key: 1,
2351
2426
  size: "small",
@@ -2355,7 +2430,7 @@ var x = () => {
2355
2430
  default: b(() => [a(g(s.message), 1)]),
2356
2431
  _: 1
2357
2432
  }, 8, ["icon", "id"])) : n("", !0),
2358
- Te() ? (f(), t($, {
2433
+ Ee() ? (f(), t($, {
2359
2434
  key: 2,
2360
2435
  size: "small",
2361
2436
  semantic: "successful",
@@ -2372,14 +2447,14 @@ var x = () => {
2372
2447
  default: b(() => [a(g(N.value), 1)]),
2373
2448
  _: 1
2374
2449
  }, 8, ["id"]),
2375
- i("span", qt, g(re.value), 1)
2376
- ], 10, Nt));
2450
+ i("span", $t, g(re.value), 1)
2451
+ ], 10, zt));
2377
2452
  }
2378
- }), Yt = [
2453
+ }), tn = [
2379
2454
  "fixed",
2380
2455
  "auto",
2381
2456
  "full"
2382
- ], Xt = ["id"], Zt = /* @__PURE__ */ s({
2457
+ ], nn = ["id"], rn = /* @__PURE__ */ s({
2383
2458
  name: "DBCustomSelectFormField",
2384
2459
  __name: "custom-select-form-field",
2385
2460
  props: {
@@ -2397,19 +2472,19 @@ var x = () => {
2397
2472
  ref: n,
2398
2473
  id: e.id ?? e.propOverrides?.id,
2399
2474
  class: c(_(C)("db-custom-select-form-field", t.class))
2400
- }, [h(i.$slots, "default")], 10, Xt));
2475
+ }, [h(i.$slots, "default")], 10, nn));
2401
2476
  }
2402
- }), Qt = ["checkbox", "radio"], $t = [
2477
+ }), an = ["checkbox", "radio"], on = [
2403
2478
  "amount",
2404
2479
  "text",
2405
2480
  "tag"
2406
- ], en = [
2481
+ ], sn = [
2407
2482
  "id",
2408
2483
  "data-margin",
2409
2484
  "data-variant",
2410
2485
  "data-emphasis",
2411
2486
  "data-width"
2412
- ], tn = /* @__PURE__ */ s({
2487
+ ], cn = /* @__PURE__ */ s({
2413
2488
  name: "DBDivider",
2414
2489
  __name: "divider",
2415
2490
  props: {
@@ -2435,20 +2510,20 @@ var x = () => {
2435
2510
  "data-emphasis": e.emphasis,
2436
2511
  "data-width": e.width,
2437
2512
  class: c(_(C)("db-divider", t.class))
2438
- }, null, 10, en));
2513
+ }, null, 10, sn));
2439
2514
  }
2440
- }), nn = ["none", "_"], rn = ["horizontal", "vertical"], an = [
2515
+ }), ln = ["none", "_"], un = ["horizontal", "vertical"], dn = [
2441
2516
  "id",
2442
2517
  "data-position",
2443
2518
  "data-backdrop",
2444
2519
  "data-direction",
2445
2520
  "data-variant"
2446
- ], on = [
2521
+ ], fn = [
2447
2522
  "data-spacing",
2448
2523
  "data-width",
2449
2524
  "data-direction",
2450
2525
  "data-rounded"
2451
- ], sn = { class: "db-drawer-header" }, cn = { class: "db-drawer-header-text" }, ln = { class: "db-drawer-content" }, un = /* @__PURE__ */ s({
2526
+ ], pn = { class: "db-drawer-header" }, mn = { class: "db-drawer-header-text" }, hn = { class: "db-drawer-content" }, gn = /* @__PURE__ */ s({
2452
2527
  name: "DBDrawer",
2453
2528
  __name: "drawer",
2454
2529
  props: {
@@ -2542,7 +2617,7 @@ var x = () => {
2542
2617
  "data-width": e.width,
2543
2618
  "data-direction": e.direction,
2544
2619
  "data-rounded": _(k)(e.rounded, "rounded")
2545
- }, [i("header", sn, [i("div", cn, [h(n.$slots, "drawer-header")]), o(Re, {
2620
+ }, [i("header", pn, [i("div", mn, [h(n.$slots, "drawer-header")]), o(Be, {
2546
2621
  class: "button-close-drawer",
2547
2622
  icon: "cross",
2548
2623
  variant: "ghost",
@@ -2552,22 +2627,22 @@ var x = () => {
2552
2627
  }, {
2553
2628
  default: b(() => [a(g(e.closeButtonText ?? _("Close")), 1)]),
2554
2629
  _: 1
2555
- }, 8, ["id", "onClick"])]), i("div", ln, [h(n.$slots, "default")])], 10, on)], 40, an));
2630
+ }, 8, ["id", "onClick"])]), i("div", hn, [h(n.$slots, "default")])], 10, fn)], 40, dn));
2556
2631
  }
2557
- }), dn = [
2632
+ }), _n = [
2558
2633
  "none",
2559
2634
  "strong",
2560
2635
  "weak",
2561
2636
  "invisible"
2562
- ], fn = [
2637
+ ], vn = [
2563
2638
  "left",
2564
2639
  "right",
2565
2640
  "up",
2566
2641
  "down"
2567
- ], pn = ["modal", "inside"], mn = ["fixed", "absolute"], hn = (e) => {
2642
+ ], yn = ["modal", "inside"], bn = ["fixed", "absolute"], xn = (e) => {
2568
2643
  let { target: t } = e;
2569
2644
  return !!(!t?.classList?.contains("db-navigation-item-expand-button") && t?.parentElement?.classList.contains("db-navigation-item"));
2570
- }, gn = class {
2645
+ }, Sn = class {
2571
2646
  element;
2572
2647
  subNavigation;
2573
2648
  parentSubNavigation = null;
@@ -2584,7 +2659,7 @@ var x = () => {
2584
2659
  }
2585
2660
  enableFollow() {
2586
2661
  if (!this.initialized || this.triangleData || !this.element || !this.subNavigation) return;
2587
- let e = at(this.subNavigation), t = this.element.getBoundingClientRect(), n = this.parentSubNavigation?.getBoundingClientRect().width ?? 0;
2662
+ let e = pt(this.subNavigation), t = this.element.getBoundingClientRect(), n = this.parentSubNavigation?.getBoundingClientRect().width ?? 0;
2588
2663
  this.triangleData = {
2589
2664
  itemRect: t,
2590
2665
  parentElementWidth: n,
@@ -2635,11 +2710,11 @@ var x = () => {
2635
2710
  let t = this.hasMouseEnteredSubNavigation(), n = this.getTriangleCoordinates(t ? "fill-gap" : "safe-triangle");
2636
2711
  n && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${n.lb}, ${n.lt}, ${n.rt}, ${n.rb})`), t && (this.triangleData = void 0));
2637
2712
  }
2638
- }, _n = [
2713
+ }, Cn = [
2639
2714
  "id",
2640
2715
  "data-width",
2641
2716
  "data-on-forcing-mobile"
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({
2717
+ ], wn = { class: "db-header-meta-navigation" }, Tn = { class: "db-header-navigation-bar" }, En = { class: "db-header-brand-container" }, Dn = { class: "db-header-navigation-container" }, On = { class: "db-header-navigation" }, kn = { class: "db-header-primary-action" }, An = { class: "db-header-action-container" }, jn = { class: "db-header-burger-menu-container" }, Mn = { class: "db-header-secondary-action" }, Nn = { class: "db-header-drawer-navigation" }, Pn = { class: "db-header-meta-navigation" }, Fn = { class: "db-header-secondary-action" }, In = /* @__PURE__ */ s({
2643
2718
  name: "DBHeader",
2644
2719
  __name: "header",
2645
2720
  props: {
@@ -2690,7 +2765,7 @@ var x = () => {
2690
2765
  t.onToggle && t.onToggle(n);
2691
2766
  }
2692
2767
  function m(e) {
2693
- hn(e) && d();
2768
+ xn(e) && d();
2694
2769
  }
2695
2770
  return (n, u) => (f(), r("header", {
2696
2771
  ref_key: "_ref",
@@ -2700,21 +2775,21 @@ var x = () => {
2700
2775
  "data-width": e.width,
2701
2776
  "data-on-forcing-mobile": e.forceMobile && !s.value
2702
2777
  }, [
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, {
2778
+ i("div", wn, [h(n.$slots, "meta-navigation")]),
2779
+ i("div", Tn, [
2780
+ i("div", En, [h(n.$slots, "brand")]),
2781
+ i("div", Dn, [i("div", On, [h(n.$slots, "default")]), i("div", kn, [h(n.$slots, "primary-action")])]),
2782
+ i("div", An, [i("div", jn, [o(Be, {
2708
2783
  icon: "menu",
2709
2784
  variant: "ghost",
2710
2785
  noText: !0,
2711
2786
  onClick: (e) => d()
2712
2787
  }, {
2713
- default: b(() => [a(g(e.burgerMenuLabel ?? _("BurgerMenu")), 1)]),
2788
+ default: b(() => [a(g(e.burgerMenuLabel ?? _("Open navigation menu")), 1)]),
2714
2789
  _: 1
2715
- }, 8, ["onClick"])]), i("div", En, [h(n.$slots, "secondary-action")])])
2790
+ }, 8, ["onClick"])]), i("div", Mn, [h(n.$slots, "secondary-action")])])
2716
2791
  ]),
2717
- o(un, {
2792
+ o(gn, {
2718
2793
  class: "db-header-drawer",
2719
2794
  spacing: "small",
2720
2795
  rounded: !0,
@@ -2723,10 +2798,10 @@ var x = () => {
2723
2798
  open: _(A)(e.drawerOpen),
2724
2799
  onClose: (e) => d()
2725
2800
  }, {
2726
- default: b(() => [i("div", Dn, [i("div", {
2801
+ default: b(() => [i("div", Nn, [i("div", {
2727
2802
  class: "db-header-navigation",
2728
2803
  onClick: u[0] ||= async (e) => m(e)
2729
- }, [h(n.$slots, "default")]), i("div", On, [h(n.$slots, "meta-navigation")])]), i("div", kn, [h(n.$slots, "secondary-action")])]),
2804
+ }, [h(n.$slots, "default")]), i("div", Pn, [h(n.$slots, "meta-navigation")])]), i("div", Fn, [h(n.$slots, "secondary-action")])]),
2730
2805
  _: 3
2731
2806
  }, 8, [
2732
2807
  "closeButtonId",
@@ -2734,14 +2809,14 @@ var x = () => {
2734
2809
  "open",
2735
2810
  "onClose"
2736
2811
  ])
2737
- ], 10, _n));
2812
+ ], 10, Cn));
2738
2813
  }
2739
- }), jn = [
2814
+ }), Ln = [
2740
2815
  "id",
2741
2816
  "data-icon",
2742
2817
  "data-icon-weight",
2743
2818
  "data-icon-variant"
2744
- ], Mn = /* @__PURE__ */ s({
2819
+ ], Rn = /* @__PURE__ */ s({
2745
2820
  name: "DBIcon",
2746
2821
  __name: "icon",
2747
2822
  props: {
@@ -2767,16 +2842,16 @@ var x = () => {
2767
2842
  "data-icon": t.icon,
2768
2843
  "data-icon-weight": t.weight,
2769
2844
  "data-icon-variant": t.variant
2770
- }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, jn));
2845
+ }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, Ln));
2771
2846
  }
2772
- }), Nn = [
2847
+ }), zn = [
2773
2848
  "16",
2774
2849
  "20",
2775
2850
  "24",
2776
2851
  "32",
2777
2852
  "48",
2778
2853
  "64"
2779
- ], Pn = [
2854
+ ], Bn = [
2780
2855
  "color",
2781
2856
  "date",
2782
2857
  "datetime-local",
@@ -2793,7 +2868,7 @@ var x = () => {
2793
2868
  "time",
2794
2869
  "url",
2795
2870
  "week"
2796
- ], Fn = [
2871
+ ], Vn = [
2797
2872
  "id",
2798
2873
  "href",
2799
2874
  "target",
@@ -2808,7 +2883,7 @@ var x = () => {
2808
2883
  "data-variant",
2809
2884
  "data-content",
2810
2885
  "data-wrap"
2811
- ], In = /* @__PURE__ */ s({
2886
+ ], Hn = /* @__PURE__ */ s({
2812
2887
  name: "DBLink",
2813
2888
  __name: "link",
2814
2889
  props: {
@@ -2871,13 +2946,13 @@ var x = () => {
2871
2946
  "data-content": t.content || "internal",
2872
2947
  "data-wrap": _(k)(t.wrap, "wrap"),
2873
2948
  onClick: u[0] ||= async (e) => s(e)
2874
- }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(l.$slots, "default")], 10, Fn));
2949
+ }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : n("", !0), h(l.$slots, "default")], 10, Vn));
2875
2950
  }
2876
- }), Ln = [
2951
+ }), Un = [
2877
2952
  "adaptive",
2878
2953
  "brand",
2879
2954
  "inline"
2880
- ], Rn = ["medium", "small"], zn = ["external", "internal"], Bn = ["id"], Vn = /* @__PURE__ */ s({
2955
+ ], Wn = ["medium", "small"], Gn = ["external", "internal"], Kn = ["id"], qn = /* @__PURE__ */ s({
2881
2956
  name: "DBNavigation",
2882
2957
  __name: "navigation",
2883
2958
  props: {
@@ -2895,9 +2970,9 @@ var x = () => {
2895
2970
  ref: n,
2896
2971
  id: e.id ?? e.propOverrides?.id,
2897
2972
  class: c(_(C)("db-navigation", t.class))
2898
- }, [i("menu", null, [h(a.$slots, "default")])], 10, Bn));
2973
+ }, [i("menu", null, [h(a.$slots, "default")])], 10, Kn));
2899
2974
  }
2900
- }), Hn = [
2975
+ }), Jn = [
2901
2976
  "id",
2902
2977
  "data-width",
2903
2978
  "data-icon",
@@ -2905,20 +2980,20 @@ var x = () => {
2905
2980
  "data-active",
2906
2981
  "data-wrap",
2907
2982
  "aria-disabled"
2908
- ], Un = [
2983
+ ], Yn = [
2909
2984
  "id",
2910
2985
  "aria-haspopup",
2911
2986
  "aria-expanded",
2912
2987
  "aria-controls",
2913
2988
  "disabled"
2914
- ], Wn = [
2989
+ ], Xn = [
2915
2990
  "id",
2916
2991
  "aria-labelledby",
2917
2992
  "data-force-close"
2918
- ], Gn = {
2993
+ ], Zn = {
2919
2994
  key: 0,
2920
2995
  class: "db-mobile-navigation-back"
2921
- }, Kn = /* @__PURE__ */ s({
2996
+ }, Qn = /* @__PURE__ */ s({
2922
2997
  name: "DBNavigationItem",
2923
2998
  __name: "navigation-item",
2924
2999
  props: {
@@ -2978,7 +3053,7 @@ var x = () => {
2978
3053
  }), y(() => [d.value, j.value], () => {
2979
3054
  if (d.value && j.value) {
2980
3055
  let e = j.value.querySelector("menu");
2981
- e && (e.children?.length > 0 ? (m.value = !0, T.value ||= new gn(j.value, e)) : x.value = !1);
3056
+ e && (e.children?.length > 0 ? (m.value = !0, T.value ||= new Sn(j.value, e)) : x.value = !1);
2982
3057
  }
2983
3058
  }, {
2984
3059
  immediate: !0,
@@ -3017,13 +3092,13 @@ var x = () => {
3017
3092
  "aria-controls": E.value,
3018
3093
  disabled: _(A)(t.disabled, "disabled"),
3019
3094
  onClick: u[0] ||= async (e) => N(e)
3020
- }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : h(s.$slots, "default", { key: 1 })], 8, Un), i("menu", {
3095
+ }, [t.text ? (f(), r(e, { key: 0 }, [a(g(t.text), 1)], 64)) : h(s.$slots, "default", { key: 1 })], 8, Yn), i("menu", {
3021
3096
  class: "db-sub-navigation",
3022
3097
  id: E.value,
3023
3098
  "aria-labelledby": D.value,
3024
3099
  "data-force-close": w.value,
3025
3100
  onClick: u[1] ||= async (e) => M(e)
3026
- }, [m.value ? (f(), r("div", Gn, [o(Re, {
3101
+ }, [m.value ? (f(), r("div", Zn, [o(Be, {
3027
3102
  icon: "arrow_left",
3028
3103
  variant: "ghost",
3029
3104
  id: t.backButtonId,
@@ -3031,9 +3106,9 @@ var x = () => {
3031
3106
  }, {
3032
3107
  default: b(() => [a(g(t.backButtonText ?? _("Back")), 1)]),
3033
3108
  _: 1
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));
3109
+ }, 8, ["id", "onClick"])])) : n("", !0), h(s.$slots, "sub-navigation")], 8, Xn)], 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, Jn));
3035
3110
  }
3036
- }), qn = [
3111
+ }), $n = [
3037
3112
  "id",
3038
3113
  "role",
3039
3114
  "aria-live",
@@ -3042,10 +3117,10 @@ var x = () => {
3042
3117
  "data-icon",
3043
3118
  "data-show-icon",
3044
3119
  "data-link-variant"
3045
- ], Jn = {
3120
+ ], er = {
3046
3121
  key: 0,
3047
3122
  "data-area": "head"
3048
- }, Yn = { "data-area": "content" }, Xn = ["dateTime"], Zn = /* @__PURE__ */ s({
3123
+ }, tr = { "data-area": "content" }, nr = ["dateTime"], rr = /* @__PURE__ */ s({
3049
3124
  name: "DBNotification",
3050
3125
  __name: "notification",
3051
3126
  props: {
@@ -3114,15 +3189,15 @@ var x = () => {
3114
3189
  "data-link-variant": o.linkVariant
3115
3190
  }, [
3116
3191
  h(d.$slots, "image"),
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")]),
3192
+ _(I)(o.headline, o.showHeadline) ? (f(), r("header", er, g(o.headline), 1)) : n("", !0),
3193
+ i("div", tr, [o.text ? (f(), r(e, { key: 0 }, [a(g(o.text), 1)], 64)) : n("", !0), h(d.$slots, "default")]),
3119
3194
  _(I)(o.timestamp, o.showTimestamp) ? (f(), r("time", {
3120
3195
  key: 1,
3121
3196
  "data-area": "timestamp",
3122
3197
  dateTime: o.timestampDatetime
3123
- }, g(o.timestamp), 9, Xn)) : n("", !0),
3198
+ }, g(o.timestamp), 9, nr)) : n("", !0),
3124
3199
  h(d.$slots, "link"),
3125
- _(A)(o.closeable, "closeable") ? (f(), t(Re, {
3200
+ _(A)(o.closeable, "closeable") ? (f(), t(Be, {
3126
3201
  key: 2,
3127
3202
  icon: "cross",
3128
3203
  variant: "ghost",
@@ -3134,22 +3209,22 @@ var x = () => {
3134
3209
  default: b(() => [a(g(o.closeButtonText ?? _("Close")), 1)]),
3135
3210
  _: 1
3136
3211
  }, 8, ["id", "onClick"])) : n("", !0)
3137
- ], 10, qn));
3212
+ ], 10, $n));
3138
3213
  }
3139
- }), Qn = [
3214
+ }), ir = [
3140
3215
  "docked",
3141
3216
  "standalone",
3142
3217
  "overlay"
3143
- ], $n = ["block", "inline"], er = [
3218
+ ], ar = ["block", "inline"], or = [
3144
3219
  "assertive",
3145
3220
  "polite",
3146
3221
  "off"
3147
- ], tr = [
3222
+ ], sr = [
3148
3223
  "id",
3149
3224
  "data-variant",
3150
3225
  "data-fade-in",
3151
3226
  "data-fonts-loaded"
3152
- ], nr = /* @__PURE__ */ s({
3227
+ ], cr = /* @__PURE__ */ s({
3153
3228
  name: "DBPage",
3154
3229
  __name: "page",
3155
3230
  props: {
@@ -3189,9 +3264,9 @@ var x = () => {
3189
3264
  h(o.$slots, "header"),
3190
3265
  i("main", { class: c(_(C)("db-main", e.mainClass)) }, [h(o.$slots, "default")], 2),
3191
3266
  h(o.$slots, "footer")
3192
- ], 10, tr));
3267
+ ], 10, sr));
3193
3268
  }
3194
- }), rr = ["auto", "fixed"], ir = ["hidden", "auto"], ar = ["id"], or = [
3269
+ }), lr = ["auto", "fixed"], ur = ["hidden", "auto"], dr = ["id"], fr = [
3195
3270
  "data-spacing",
3196
3271
  "data-gap",
3197
3272
  "data-animation",
@@ -3199,7 +3274,7 @@ var x = () => {
3199
3274
  "data-delay",
3200
3275
  "data-width",
3201
3276
  "data-placement"
3202
- ], sr = /* @__PURE__ */ s({
3277
+ ], pr = /* @__PURE__ */ s({
3203
3278
  name: "DBPopover",
3204
3279
  __name: "popover",
3205
3280
  props: {
@@ -3228,63 +3303,60 @@ var x = () => {
3228
3303
  width: { default: void 0 }
3229
3304
  },
3230
3305
  setup(e) {
3231
- let t = e, n = p(!1), a = p(!1), o = p(void 0), s = p(void 0), l = p(null);
3306
+ let t = e, n = p(!1), a = p(!1), o = p(void 0), s = p(void 0), l = p(void 0), m = p(null);
3232
3307
  u(() => {
3233
3308
  n.value = !0;
3234
- }), y(() => [l.value, n.value], () => {
3235
- if (l.value && n.value) {
3309
+ }), d(() => {
3310
+ o.value &&= (new ot().removeCallback(o.value), void 0), l.value &&= (new _t().unobserve(l.value), void 0), s.value &&= (new gt().unobserve(s.value), void 0);
3311
+ }), y(() => [m.value, n.value], () => {
3312
+ if (m.value && n.value) {
3236
3313
  n.value = !1;
3237
- let e = x();
3238
- e && (e.ariaHasPopup = "true"), m(), l.value.addEventListener("keydown", (e) => d(e)), ["mouseenter", "focusin"].forEach((e) => {
3239
- l.value.addEventListener(e, () => v());
3314
+ let e = w();
3315
+ e && (e.ariaHasPopup = "true"), v(), m.value.addEventListener("keydown", (e) => g(e)), ["mouseenter", "focusin"].forEach((e) => {
3316
+ m.value.addEventListener(e, () => x());
3240
3317
  }), ["mouseleave", "focusout"].forEach((e) => {
3241
- l.value.addEventListener(e, () => b());
3242
- }), typeof window < "u" && "IntersectionObserver" in window && (s.value = new IntersectionObserver((e) => {
3243
- let t = e.find(({ target: e }) => e === x());
3244
- t && !t.isIntersecting && d(!1);
3245
- }));
3318
+ m.value.addEventListener(e, () => S());
3319
+ });
3246
3320
  }
3247
3321
  }, {
3248
3322
  immediate: !0,
3249
3323
  flush: "post"
3250
- }), y(() => [l.value, a.value], () => {
3251
- if (l.value) {
3252
- let e = x();
3324
+ }), y(() => [m.value, a.value], () => {
3325
+ if (m.value) {
3326
+ let e = w();
3253
3327
  e && (e.ariaExpanded = (!!a.value).toString());
3254
3328
  }
3255
3329
  }, {
3256
3330
  immediate: !0,
3257
3331
  flush: "post"
3258
3332
  });
3259
- function d(e) {
3260
- if (!e || e.key === "Escape") for (let e of Array.from(l.value.children)) e.blur();
3333
+ function g(e) {
3334
+ if (!e || e.key === "Escape") for (let e of Array.from(m.value.children)) e.blur();
3261
3335
  }
3262
- function m() {
3263
- if (!l.value) return;
3264
- let e = l.value.querySelector("article");
3336
+ function v() {
3337
+ if (!m.value) return;
3338
+ let e = m.value.querySelector("article");
3265
3339
  e && O(() => {
3266
- dt(e, l.value, t.placement ?? "bottom");
3340
+ ft(e, m.value);
3267
3341
  }, 1);
3268
3342
  }
3269
- function g(e) {
3270
- e?.target?.contains && e?.target?.contains(l.value) && m();
3343
+ function b(e) {
3344
+ e?.target?.contains && e?.target?.contains(m.value) && v();
3271
3345
  }
3272
- function v() {
3273
- a.value = !0, o.value = new rt().addCallback((e) => g(e)), m();
3274
- let e = x();
3275
- e && s.value?.observe(e);
3346
+ function x() {
3347
+ a.value = !0, o.value &&= (new ot().removeCallback(o.value), void 0), l.value &&= (new _t().unobserve(l.value), void 0), s.value &&= (new gt().unobserve(s.value), void 0), o.value = new ot().addCallback((e) => b(e)), v(), l.value = new _t().observe(document.documentElement, () => v());
3348
+ let e = w();
3349
+ e && (s.value = new gt().observe(e, (e) => {
3350
+ e.isIntersecting || g(!1);
3351
+ }));
3276
3352
  }
3277
- function b(e) {
3353
+ function S(e) {
3278
3354
  let t = e?.target;
3279
- if (!t?.parentNode || t.parentNode.querySelector(":focus") !== t && t.parentNode.querySelector(":focus-within") !== t && t.parentNode.querySelector(":hover") !== t) {
3280
- a.value = !1, o.value && new rt().removeCallback(o.value);
3281
- let e = x();
3282
- e && s.value?.unobserve(e);
3283
- }
3355
+ (!t?.parentNode || t.parentNode.querySelector(":focus") !== t && t.parentNode.querySelector(":focus-within") !== t && t.parentNode.querySelector(":hover") !== t) && (a.value = !1, o.value &&= (new ot().removeCallback(o.value), void 0), l.value &&= (new _t().unobserve(l.value), void 0), s.value &&= (new gt().unobserve(s.value), void 0));
3284
3356
  }
3285
- function x() {
3286
- if (l.value) {
3287
- let e = Array.from(l.value.children);
3357
+ function w() {
3358
+ if (m.value) {
3359
+ let e = Array.from(m.value.children);
3288
3360
  if (e.length >= 2) {
3289
3361
  let t = e[0];
3290
3362
  return t.tagName.includes("-") ? t.children?.length > 0 ? t.children[0] : null : t;
@@ -3294,7 +3366,7 @@ var x = () => {
3294
3366
  }
3295
3367
  return (n, a) => (f(), r("div", {
3296
3368
  ref_key: "_ref",
3297
- ref: l,
3369
+ ref: m,
3298
3370
  id: e.id ?? e.propOverrides?.id,
3299
3371
  class: c(_(C)("db-popover", t.class))
3300
3372
  }, [h(n.$slots, "trigger"), i("article", {
@@ -3306,14 +3378,14 @@ var x = () => {
3306
3378
  "data-delay": e.delay,
3307
3379
  "data-width": e.width,
3308
3380
  "data-placement": e.placement
3309
- }, [h(n.$slots, "default")], 8, or)], 10, ar));
3381
+ }, [h(n.$slots, "default")], 8, fr)], 10, dr));
3310
3382
  }
3311
- }), cr = [
3383
+ }), mr = [
3312
3384
  "data-size",
3313
3385
  "data-hide-label",
3314
3386
  "data-hide-asterisk",
3315
3387
  "for"
3316
- ], lr = [
3388
+ ], hr = [
3317
3389
  "aria-invalid",
3318
3390
  "data-custom-validity",
3319
3391
  "id",
@@ -3322,7 +3394,7 @@ var x = () => {
3322
3394
  "disabled",
3323
3395
  "value",
3324
3396
  "required"
3325
- ], ur = /* @__PURE__ */ s({
3397
+ ], gr = /* @__PURE__ */ s({
3326
3398
  name: "DBRadio",
3327
3399
  __name: "radio",
3328
3400
  props: {
@@ -3358,12 +3430,12 @@ var x = () => {
3358
3430
  ariaDescribedBy: {},
3359
3431
  form: {},
3360
3432
  validation: { default: void 0 },
3433
+ label: { default: void 0 },
3434
+ name: { default: void 0 },
3361
3435
  disabled: {
3362
3436
  type: [Boolean, String],
3363
3437
  default: void 0
3364
3438
  },
3365
- label: { default: void 0 },
3366
- name: { default: void 0 },
3367
3439
  required: {
3368
3440
  type: [Boolean, String],
3369
3441
  default: void 0
@@ -3407,7 +3479,7 @@ var x = () => {
3407
3479
  }), y(() => [w.value], () => {
3408
3480
  if (w.value) {
3409
3481
  let e = S.value;
3410
- e || (e = new AbortController(), S.value = e), Ge(w.value, (e) => {
3482
+ e || (e = new AbortController(), S.value = e), qe(w.value, (e) => {
3411
3483
  O(() => {
3412
3484
  let t = m.checked ? m.checked : w.value.checked, n = {
3413
3485
  ...e,
@@ -3463,16 +3535,16 @@ var x = () => {
3463
3535
  onChange: s[1] ||= async (e) => E(e),
3464
3536
  onBlur: s[2] ||= async (e) => D(e),
3465
3537
  onFocus: s[3] ||= async (e) => k(e)
3466
- }, null, 40, lr),
3538
+ }, null, 40, hr),
3467
3539
  t.label ? (f(), r(e, { key: 0 }, [a(g(t.label), 1)], 64)) : n("", !0),
3468
3540
  h(o.$slots, "default")
3469
- ], 10, cr));
3541
+ ], 10, mr));
3470
3542
  }
3471
- }), dr = [
3543
+ }), _r = [
3472
3544
  "id",
3473
3545
  "data-spacing",
3474
3546
  "data-width"
3475
- ], fr = /* @__PURE__ */ s({
3547
+ ], vr = /* @__PURE__ */ s({
3476
3548
  name: "DBSection",
3477
3549
  __name: "section",
3478
3550
  props: {
@@ -3494,15 +3566,15 @@ var x = () => {
3494
3566
  class: c(_(C)("db-section", t.class)),
3495
3567
  "data-spacing": e.spacing || "medium",
3496
3568
  "data-width": e.width
3497
- }, [h(i.$slots, "default")], 10, dr));
3569
+ }, [h(i.$slots, "default")], 10, _r));
3498
3570
  }
3499
- }), pr = [
3571
+ }), yr = [
3500
3572
  "data-variant",
3501
3573
  "data-hide-label",
3502
3574
  "data-hide-asterisk",
3503
3575
  "data-icon",
3504
3576
  "data-show-icon"
3505
- ], mr = ["for"], hr = [
3577
+ ], br = ["for"], xr = [
3506
3578
  "aria-invalid",
3507
3579
  "data-custom-validity",
3508
3580
  "required",
@@ -3514,18 +3586,18 @@ var x = () => {
3514
3586
  "autocomplete",
3515
3587
  "multiple",
3516
3588
  "aria-describedby"
3517
- ], gr = ["data-show-empty-option"], _r = ["label"], vr = [
3589
+ ], Sr = ["data-show-empty-option"], Cr = ["label"], wr = [
3518
3590
  "value",
3519
3591
  "selected",
3520
3592
  "disabled"
3521
- ], yr = [
3593
+ ], Tr = [
3522
3594
  "value",
3523
3595
  "disabled",
3524
3596
  "selected"
3525
- ], br = ["id"], xr = {
3597
+ ], Er = ["id"], Dr = {
3526
3598
  "data-visually-hidden": "true",
3527
3599
  role: "status"
3528
- }, Sr = /* @__PURE__ */ s({
3600
+ }, Or = /* @__PURE__ */ s({
3529
3601
  name: "DBSelect",
3530
3602
  __name: "select",
3531
3603
  props: {
@@ -3566,12 +3638,12 @@ var x = () => {
3566
3638
  ariaDescribedBy: { default: void 0 },
3567
3639
  form: {},
3568
3640
  validation: { default: void 0 },
3641
+ label: { default: void 0 },
3642
+ name: { default: void 0 },
3569
3643
  disabled: {
3570
3644
  type: [Boolean, String],
3571
3645
  default: void 0
3572
3646
  },
3573
- label: { default: void 0 },
3574
- name: { default: void 0 },
3575
3647
  required: {
3576
3648
  type: [Boolean, String],
3577
3649
  default: void 0
@@ -3645,7 +3717,7 @@ var x = () => {
3645
3717
  }), y(() => [H.value], () => {
3646
3718
  if (H.value) {
3647
3719
  let e = V.value;
3648
- e || (e = new AbortController(), V.value = e), qe(H.value, {
3720
+ e || (e = new AbortController(), V.value = e), Ye(H.value, {
3649
3721
  value: w.value,
3650
3722
  defaultValue: void 0
3651
3723
  }, (e) => {
@@ -3695,7 +3767,7 @@ var x = () => {
3695
3767
  "data-icon": s.icon,
3696
3768
  "data-show-icon": _(k)(s.showIcon, "showIcon")
3697
3769
  }, [
3698
- i("label", { for: T.value }, g(s.label ?? _("LABEL SHOULD BE SET")), 9, mr),
3770
+ i("label", { for: T.value }, g(s.label ?? _("LABEL SHOULD BE SET")), 9, br),
3699
3771
  i("select", {
3700
3772
  "aria-invalid": s.validation === "invalid",
3701
3773
  "data-custom-validity": s.validation,
@@ -3720,7 +3792,7 @@ var x = () => {
3720
3792
  class: "placeholder",
3721
3793
  value: "",
3722
3794
  "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", {
3795
+ }, null, 8, Sr)) : 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", {
3724
3796
  key: 0,
3725
3797
  label: ie(t)
3726
3798
  }, [(f(!0), r(e, null, m(t.options, (e, t) => (f(), r("option", {
@@ -3728,17 +3800,17 @@ var x = () => {
3728
3800
  value: e.value,
3729
3801
  selected: e.selected,
3730
3802
  disabled: e.disabled
3731
- }, g(ie(e)), 9, vr))), 128))], 8, _r)) : (f(), r("option", {
3803
+ }, g(ie(e)), 9, wr))), 128))], 8, Cr)) : (f(), r("option", {
3732
3804
  key: 1,
3733
3805
  value: t.value,
3734
3806
  disabled: t.disabled,
3735
3807
  selected: t.selected
3736
- }, g(ie(t)), 9, yr))], 64))), 128)) : h(l.$slots, "default", { key: 2 })], 40, hr),
3808
+ }, g(ie(t)), 9, Tr))], 64))), 128)) : h(l.$slots, "default", { key: 2 })], 40, xr),
3737
3809
  s.placeholder ? (f(), r("span", {
3738
3810
  key: 0,
3739
3811
  class: "db-select-placeholder",
3740
3812
  id: P.value
3741
- }, g(s.placeholder), 9, br)) : n("", !0),
3813
+ }, g(s.placeholder), 9, Er)) : n("", !0),
3742
3814
  _(I)(s.message, s.showMessage) ? (f(), t($, {
3743
3815
  key: 1,
3744
3816
  size: "small",
@@ -3765,10 +3837,10 @@ var x = () => {
3765
3837
  default: b(() => [a(g(N.value), 1)]),
3766
3838
  _: 1
3767
3839
  }, 8, ["id"]),
3768
- i("span", xr, g(B.value), 1)
3769
- ], 10, pr));
3840
+ i("span", Dr, g(B.value), 1)
3841
+ ], 10, yr));
3770
3842
  }
3771
- }), Cr = [
3843
+ }), kr = [
3772
3844
  "id",
3773
3845
  "data-gap",
3774
3846
  "data-variant",
@@ -3776,7 +3848,7 @@ var x = () => {
3776
3848
  "data-alignment",
3777
3849
  "data-justify-content",
3778
3850
  "data-wrap"
3779
- ], wr = /* @__PURE__ */ s({
3851
+ ], Ar = /* @__PURE__ */ s({
3780
3852
  name: "DBStack",
3781
3853
  __name: "stack",
3782
3854
  props: {
@@ -3809,26 +3881,26 @@ var x = () => {
3809
3881
  "data-alignment": e.alignment,
3810
3882
  "data-justify-content": e.justifyContent,
3811
3883
  "data-wrap": _(k)(e.wrap, "wrap")
3812
- }, [h(i.$slots, "default")], 10, Cr));
3884
+ }, [h(i.$slots, "default")], 10, kr));
3813
3885
  }
3814
- }), Tr = ["simple", "divider"], Er = ["row", "column"], Dr = [
3886
+ }), jr = ["simple", "divider"], Mr = ["row", "column"], Nr = [
3815
3887
  "stretch",
3816
3888
  "start",
3817
3889
  "end",
3818
3890
  "center"
3819
- ], Or = [
3891
+ ], Pr = [
3820
3892
  "space-between",
3821
3893
  "start",
3822
3894
  "end",
3823
3895
  "center"
3824
- ], kr = [
3896
+ ], Fr = [
3825
3897
  "data-visual-aid",
3826
3898
  "data-size",
3827
3899
  "data-hide-label",
3828
3900
  "data-variant",
3829
3901
  "data-hide-asterisk",
3830
3902
  "data-custom-validity"
3831
- ], Ar = ["for"], jr = [
3903
+ ], Ir = ["for"], Lr = [
3832
3904
  "id",
3833
3905
  "checked",
3834
3906
  "value",
@@ -3839,10 +3911,10 @@ var x = () => {
3839
3911
  "required",
3840
3912
  "data-aid-icon",
3841
3913
  "data-aid-icon-trailing"
3842
- ], Mr = {
3914
+ ], Rr = {
3843
3915
  "data-visually-hidden": "true",
3844
3916
  role: "status"
3845
- }, Nr = /* @__PURE__ */ s({
3917
+ }, zr = /* @__PURE__ */ s({
3846
3918
  name: "DBSwitch",
3847
3919
  __name: "switch",
3848
3920
  props: {
@@ -3870,12 +3942,12 @@ var x = () => {
3870
3942
  ariaDescribedBy: {},
3871
3943
  form: {},
3872
3944
  validation: { default: void 0 },
3945
+ label: { default: void 0 },
3946
+ name: { default: void 0 },
3873
3947
  disabled: {
3874
3948
  type: [Boolean, String],
3875
3949
  default: void 0
3876
3950
  },
3877
- label: { default: void 0 },
3878
- name: { default: void 0 },
3879
3951
  required: {
3880
3952
  type: [Boolean, String],
3881
3953
  default: void 0
@@ -3946,7 +4018,7 @@ var x = () => {
3946
4018
  }), y(() => [R.value], () => {
3947
4019
  if (R.value) {
3948
4020
  let e = L.value;
3949
- e || (e = new AbortController(), L.value = e), Ke(R.value, {
4021
+ e || (e = new AbortController(), L.value = e), Je(R.value, {
3950
4022
  checked: S.checked,
3951
4023
  defaultChecked: void 0
3952
4024
  }, (e) => {
@@ -4024,10 +4096,10 @@ var x = () => {
4024
4096
  onBlur: u[1] ||= async (e) => H(e),
4025
4097
  onFocus: u[2] ||= async (e) => ee(e),
4026
4098
  onKeydown: u[3] ||= async (e) => U(e)
4027
- }, null, 40, jr),
4099
+ }, null, 40, Lr),
4028
4100
  s.label ? (f(), r(e, { key: 0 }, [a(g(s.label), 1)], 64)) : n("", !0),
4029
4101
  h(l.$slots, "default")
4030
- ], 8, Ar),
4102
+ ], 8, Ir),
4031
4103
  _(I)(s.message, s.showMessage) ? (f(), t($, {
4032
4104
  key: 0,
4033
4105
  size: "small",
@@ -4055,23 +4127,23 @@ var x = () => {
4055
4127
  default: b(() => [a(g(M.value), 1)]),
4056
4128
  _: 1
4057
4129
  }, 8, ["id"]),
4058
- i("span", Mr, g(P.value), 1)
4059
- ], 10, kr));
4130
+ i("span", Rr, g(P.value), 1)
4131
+ ], 10, Fr));
4060
4132
  }
4061
- }), Pr = [
4133
+ }), Br = [
4062
4134
  "for",
4063
4135
  "data-icon",
4064
4136
  "data-icon-trailing",
4065
4137
  "data-show-icon",
4066
4138
  "data-show-icon-trailing",
4067
4139
  "data-no-text"
4068
- ], Fr = [
4140
+ ], Vr = [
4069
4141
  "disabled",
4070
4142
  "aria-selected",
4071
4143
  "checked",
4072
4144
  "name",
4073
4145
  "id"
4074
- ], Ir = /* @__PURE__ */ s({
4146
+ ], Hr = /* @__PURE__ */ s({
4075
4147
  name: "DBTabItem",
4076
4148
  __name: "tab-item",
4077
4149
  props: {
@@ -4170,12 +4242,12 @@ var x = () => {
4170
4242
  name: v.value,
4171
4243
  id: t.id ?? t.propOverrides?.id,
4172
4244
  onInput: s[0] ||= async (e) => E(e)
4173
- }, null, 40, Fr),
4245
+ }, null, 40, Vr),
4174
4246
  t.label ? (f(), r(e, { key: 0 }, [a(g(t.label), 1)], 64)) : n("", !0),
4175
4247
  h(o.$slots, "default")
4176
- ], 8, Pr)], 2));
4248
+ ], 8, Br)], 2));
4177
4249
  }
4178
- }), Lr = ["id"], Rr = { role: "tablist" }, zr = /* @__PURE__ */ s({
4250
+ }), Ur = ["id"], Wr = { role: "tablist" }, Gr = /* @__PURE__ */ s({
4179
4251
  name: "DBTabList",
4180
4252
  __name: "tab-list",
4181
4253
  props: {
@@ -4193,9 +4265,9 @@ var x = () => {
4193
4265
  ref: n,
4194
4266
  id: e.id ?? e.propOverrides?.id,
4195
4267
  class: c(_(C)("db-tab-list", t.class))
4196
- }, [i("ul", Rr, [h(a.$slots, "default")])], 10, Lr));
4268
+ }, [i("ul", Wr, [h(a.$slots, "default")])], 10, Ur));
4197
4269
  }
4198
- }), Br = ["id"], Vr = /* @__PURE__ */ s({
4270
+ }), Kr = ["id"], qr = /* @__PURE__ */ s({
4199
4271
  name: "DBTabPanel",
4200
4272
  __name: "tab-panel",
4201
4273
  props: {
@@ -4215,16 +4287,16 @@ var x = () => {
4215
4287
  ref: o,
4216
4288
  class: c(_(C)("db-tab-panel", i.class)),
4217
4289
  id: t.id ?? t.propOverrides?.id
4218
- }, [t.content ? (f(), r(e, { key: 0 }, [a(g(t.content), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, Br));
4290
+ }, [t.content ? (f(), r(e, { key: 0 }, [a(g(t.content), 1)], 64)) : n("", !0), h(s.$slots, "default")], 10, Kr));
4219
4291
  }
4220
- }), Hr = [
4292
+ }), Jr = [
4221
4293
  "id",
4222
4294
  "data-horizontal-alignment",
4223
4295
  "data-vertical-alignment",
4224
4296
  "colSpan",
4225
4297
  "rowSpan",
4226
4298
  "headers"
4227
- ], Ur = /* @__PURE__ */ s({
4299
+ ], Yr = /* @__PURE__ */ s({
4228
4300
  name: "DBTableDataCell",
4229
4301
  __name: "table-data-cell",
4230
4302
  props: {
@@ -4254,9 +4326,9 @@ var x = () => {
4254
4326
  colSpan: _(j)(e.colSpan, e.colspan),
4255
4327
  rowSpan: _(j)(e.rowSpan, e.rowspan),
4256
4328
  headers: e.headers
4257
- }, [h(i.$slots, "default")], 10, Hr));
4329
+ }, [h(i.$slots, "default")], 10, Jr));
4258
4330
  }
4259
- }), Wr = [
4331
+ }), Xr = [
4260
4332
  "id",
4261
4333
  "data-horizontal-alignment",
4262
4334
  "data-vertical-alignment",
@@ -4266,7 +4338,7 @@ var x = () => {
4266
4338
  "rowSpan",
4267
4339
  "headers",
4268
4340
  "abbr"
4269
- ], Gr = /* @__PURE__ */ s({
4341
+ ], Zr = /* @__PURE__ */ s({
4270
4342
  name: "DBTableHeaderCell",
4271
4343
  __name: "table-header-cell",
4272
4344
  props: {
@@ -4305,13 +4377,13 @@ var x = () => {
4305
4377
  rowSpan: _(j)(e.rowSpan, e.rowspan),
4306
4378
  headers: e.headers,
4307
4379
  abbr: e.abbr
4308
- }, [h(i.$slots, "default")], 10, Wr));
4380
+ }, [h(i.$slots, "default")], 10, Xr));
4309
4381
  }
4310
- }), Kr = [
4382
+ }), Qr = [
4311
4383
  "id",
4312
4384
  "data-interactive",
4313
4385
  "data-sub-header-emphasis"
4314
- ], qr = /* @__PURE__ */ s({
4386
+ ], $r = /* @__PURE__ */ s({
4315
4387
  name: "DBTableRow",
4316
4388
  __name: "table-row",
4317
4389
  props: {
@@ -4340,7 +4412,7 @@ var x = () => {
4340
4412
  class: c(_(C)("db-table-row", o.class)),
4341
4413
  "data-interactive": _(k)(n.interactive),
4342
4414
  "data-sub-header-emphasis": n.subHeaderEmphasis
4343
- }, [n.cells ? (f(!0), r(e, { key: 0 }, m(n.cells, (o, s) => (f(), r(e, { key: s }, [o.headerCell ? (f(), t(Gr, {
4415
+ }, [n.cells ? (f(!0), r(e, { key: 0 }, m(n.cells, (o, s) => (f(), r(e, { key: s }, [o.headerCell ? (f(), t(Zr, {
4344
4416
  key: `${o.id ?? n.id ?? _(i)}-table-row-header-cell-${s}`,
4345
4417
  id: o.id,
4346
4418
  abbr: l(o)?.abbr,
@@ -4355,7 +4427,7 @@ var x = () => {
4355
4427
  rowSpan: o.rowSpan,
4356
4428
  rowspan: o.rowspan
4357
4429
  }, {
4358
- default: b(() => [o.link ? (f(), t(In, {
4430
+ default: b(() => [o.link ? (f(), t(Hn, {
4359
4431
  key: 0,
4360
4432
  content: o.link?.content,
4361
4433
  size: o.link?.size,
@@ -4408,7 +4480,7 @@ var x = () => {
4408
4480
  "colspan",
4409
4481
  "rowSpan",
4410
4482
  "rowspan"
4411
- ])) : (f(), t(Ur, {
4483
+ ])) : (f(), t(Yr, {
4412
4484
  key: `${o.id ?? n.id ?? _(i)}-table-row-data-cell-${s}`,
4413
4485
  id: o.id,
4414
4486
  className: o.className ?? o.class,
@@ -4420,7 +4492,7 @@ var x = () => {
4420
4492
  rowSpan: o.rowSpan,
4421
4493
  rowspan: o.rowspan
4422
4494
  }, {
4423
- default: b(() => [o.link ? (f(), t(In, {
4495
+ default: b(() => [o.link ? (f(), t(Hn, {
4424
4496
  key: 0,
4425
4497
  content: o.link?.content,
4426
4498
  size: o.link?.size,
@@ -4470,9 +4542,9 @@ var x = () => {
4470
4542
  "colspan",
4471
4543
  "rowSpan",
4472
4544
  "rowspan"
4473
- ]))], 64))), 128)) : h(u.$slots, "default", { key: 1 })], 10, Kr));
4545
+ ]))], 64))), 128)) : h(u.$slots, "default", { key: 1 })], 10, Qr));
4474
4546
  }
4475
- }), Jr = ["id"], Yr = /* @__PURE__ */ s({
4547
+ }), ei = ["id"], ti = /* @__PURE__ */ s({
4476
4548
  name: "DBTableBody",
4477
4549
  __name: "table-body",
4478
4550
  props: {
@@ -4491,7 +4563,7 @@ var x = () => {
4491
4563
  ref: o,
4492
4564
  id: n.id ?? n.propOverrides?.id,
4493
4565
  class: c(_(C)("db-table-body", a.class))
4494
- }, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(qr, {
4566
+ }, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t($r, {
4495
4567
  key: `${e.id ?? n.id ?? _(i)}-table-body-row-${r}`,
4496
4568
  cells: e.cells,
4497
4569
  className: e.className ?? e.class,
@@ -4502,9 +4574,9 @@ var x = () => {
4502
4574
  "className",
4503
4575
  "interactive",
4504
4576
  "id"
4505
- ]))), 128)) : h(s.$slots, "default", { key: 1 })], 10, Jr));
4577
+ ]))), 128)) : h(s.$slots, "default", { key: 1 })], 10, ei));
4506
4578
  }
4507
- }), Xr = ["id"], Zr = /* @__PURE__ */ s({
4579
+ }), ni = ["id"], ri = /* @__PURE__ */ s({
4508
4580
  name: "DBTableFooter",
4509
4581
  __name: "table-footer",
4510
4582
  props: {
@@ -4523,7 +4595,7 @@ var x = () => {
4523
4595
  ref: o,
4524
4596
  id: n.id ?? n.propOverrides?.id,
4525
4597
  class: c(_(C)("db-table-footer", a.class))
4526
- }, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(qr, {
4598
+ }, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t($r, {
4527
4599
  key: `${e.id ?? n.id ?? _(i)}-table-footer-row-${r}`,
4528
4600
  cells: e.cells,
4529
4601
  className: e.className ?? e.class,
@@ -4534,9 +4606,9 @@ var x = () => {
4534
4606
  "className",
4535
4607
  "interactive",
4536
4608
  "id"
4537
- ]))), 128)) : h(s.$slots, "default", { key: 1 })], 10, Xr));
4609
+ ]))), 128)) : h(s.$slots, "default", { key: 1 })], 10, ni));
4538
4610
  }
4539
- }), Qr = ["id"], $r = /* @__PURE__ */ s({
4611
+ }), ii = ["id"], ai = /* @__PURE__ */ s({
4540
4612
  name: "DBTableHead",
4541
4613
  __name: "table-head",
4542
4614
  props: {
@@ -4561,7 +4633,7 @@ var x = () => {
4561
4633
  ref: o,
4562
4634
  id: n.id ?? n.propOverrides?.id,
4563
4635
  class: c(_(C)("db-table-head", a.class))
4564
- }, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t(qr, {
4636
+ }, [n.rows ? (f(!0), r(e, { key: 0 }, m(n.rows, (e, r) => (f(), t($r, {
4565
4637
  key: `${e.id ?? n.id ?? _(i)}-table-head-row-${r}`,
4566
4638
  cells: s(e.cells),
4567
4639
  className: e.className ?? e.class,
@@ -4574,9 +4646,9 @@ var x = () => {
4574
4646
  "subHeaderEmphasis",
4575
4647
  "interactive",
4576
4648
  "id"
4577
- ]))), 128)) : h(l.$slots, "default", { key: 1 })], 10, Qr));
4649
+ ]))), 128)) : h(l.$slots, "default", { key: 1 })], 10, ii));
4578
4650
  }
4579
- }), ei = [
4651
+ }), oi = [
4580
4652
  "data-width",
4581
4653
  "data-size",
4582
4654
  "data-divider",
@@ -4584,7 +4656,7 @@ var x = () => {
4584
4656
  "data-mobile-variant",
4585
4657
  "data-show-caption",
4586
4658
  "data-sticky-header"
4587
- ], ti = ["id"], ni = { key: 0 }, ri = /* @__PURE__ */ s({
4659
+ ], si = ["id"], ci = { key: 0 }, li = /* @__PURE__ */ s({
4588
4660
  name: "DBTable",
4589
4661
  __name: "table",
4590
4662
  props: {
@@ -4671,22 +4743,22 @@ var x = () => {
4671
4743
  ref_key: "_ref",
4672
4744
  ref: d,
4673
4745
  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, {
4746
+ }, [a.captionPlain ? (f(), r("caption", ci, g(a.captionPlain), 1)) : h(p.$slots, "caption", { key: 1 }), s.value ? (f(), r(e, { key: 2 }, [
4747
+ s.value?.header ? (f(), t(ai, {
4676
4748
  key: 0,
4677
4749
  rows: s.value?.header
4678
4750
  }, null, 8, ["rows"])) : n("", !0),
4679
- s.value?.body ? (f(), t(Yr, {
4751
+ s.value?.body ? (f(), t(ti, {
4680
4752
  key: 1,
4681
4753
  rows: s.value?.body
4682
4754
  }, null, 8, ["rows"])) : n("", !0),
4683
- s.value?.footer ? (f(), t(Zr, {
4755
+ s.value?.footer ? (f(), t(ri, {
4684
4756
  key: 2,
4685
4757
  rows: s.value?.footer
4686
4758
  }, null, 8, ["rows"])) : n("", !0)
4687
- ], 64)) : h(p.$slots, "default", { key: 3 })], 8, ti)], 14, ei));
4759
+ ], 64)) : h(p.$slots, "default", { key: 3 })], 8, si)], 14, oi));
4688
4760
  }
4689
- }), ii = ["id"], ai = /* @__PURE__ */ s({
4761
+ }), ui = ["id"], di = /* @__PURE__ */ s({
4690
4762
  name: "DBTableCaption",
4691
4763
  __name: "table-caption",
4692
4764
  props: {
@@ -4704,52 +4776,51 @@ var x = () => {
4704
4776
  ref: n,
4705
4777
  id: e.id ?? e.propOverrides?.id,
4706
4778
  class: c(_(C)("db-table-caption", t.class))
4707
- }, [h(i.$slots, "default")], 10, ii));
4779
+ }, [h(i.$slots, "default")], 10, ui));
4708
4780
  }
4709
- }), oi = [
4781
+ }), fi = [
4710
4782
  "row",
4711
4783
  "col",
4712
4784
  "rowgroup",
4713
4785
  "colgroup"
4714
- ], si = [
4786
+ ], pi = [
4715
4787
  "none",
4716
4788
  "weak",
4717
4789
  "strong"
4718
- ], ci = [
4790
+ ], mi = [
4719
4791
  "x-small",
4720
4792
  "small",
4721
4793
  "medium",
4722
4794
  "large"
4723
- ], li = [
4795
+ ], hi = [
4724
4796
  "flat",
4725
4797
  "zebra",
4726
4798
  "spaced"
4727
- ], ui = [
4799
+ ], gi = [
4728
4800
  "none",
4729
4801
  "both",
4730
4802
  "horizontal",
4731
4803
  "vertical"
4732
- ], di = ["table", "list"], fi = [
4804
+ ], _i = ["table", "list"], vi = [
4733
4805
  "none",
4734
4806
  "both",
4735
4807
  "horizontal",
4736
4808
  "vertical"
4737
- ], pi = [
4809
+ ], yi = [
4738
4810
  "auto",
4739
4811
  "1fr",
4740
4812
  "min-content",
4741
4813
  "max-content"
4742
- ], mi = [
4814
+ ], bi = [
4743
4815
  "id",
4744
4816
  "data-orientation",
4745
4817
  "data-scroll-behavior",
4746
4818
  "data-alignment",
4747
4819
  "data-width"
4748
- ], hi = /* @__PURE__ */ s({
4820
+ ], xi = /* @__PURE__ */ s({
4749
4821
  name: "DBTabs",
4750
4822
  __name: "tabs",
4751
4823
  props: {
4752
- arrowScrollDistance: { default: void 0 },
4753
4824
  behavior: { default: void 0 },
4754
4825
  initialSelectedIndex: { default: void 0 },
4755
4826
  initialSelectedMode: { default: void 0 },
@@ -4764,6 +4835,9 @@ var x = () => {
4764
4835
  orientation: { default: void 0 },
4765
4836
  width: { default: void 0 },
4766
4837
  alignment: { default: void 0 },
4838
+ arrowScrollDistance: { default: void 0 },
4839
+ scrollLeftText: { default: void 0 },
4840
+ scrollRightText: { default: void 0 },
4767
4841
  indexChange: {},
4768
4842
  onIndexChange: {
4769
4843
  type: Function,
@@ -4780,7 +4854,7 @@ var x = () => {
4780
4854
  u(() => {
4781
4855
  x.value = `tabs-${l.name || s}`, S.value = !0;
4782
4856
  }), d(() => {
4783
- D.value?.disconnect(), D.value = void 0;
4857
+ D.value &&= (new _t().unobserve(D.value), void 0);
4784
4858
  }), y(() => [O.value, S.value], () => {
4785
4859
  if (O.value && S.value) {
4786
4860
  M(), N(!0);
@@ -4823,20 +4897,17 @@ var x = () => {
4823
4897
  let e = O.value.querySelector(".db-tab-list");
4824
4898
  if (e) {
4825
4899
  let t = e.querySelector("[role=\"tablist\"]");
4826
- if (t && (t.setAttribute("aria-orientation", l.orientation || "horizontal"), l.behavior === "arrows" && (E.value = t, A(t), t.addEventListener("scroll", () => {
4900
+ t && (t.setAttribute("aria-orientation", l.orientation || "horizontal"), l.behavior === "arrows" && (E.value = t, A(t), t.addEventListener("scroll", () => {
4827
4901
  A(t);
4828
- }), !D.value))) {
4829
- let e = new ResizeObserver(() => {
4830
- A(t);
4831
- });
4832
- e.observe(t), D.value = e;
4833
- }
4902
+ }), D.value ||= new _t().observe(t, () => {
4903
+ A(t);
4904
+ })));
4834
4905
  }
4835
4906
  }
4836
4907
  }
4837
4908
  function N(e) {
4838
4909
  if (O.value) {
4839
- let t = Array.from(O.value.getElementsByClassName("db-tab-item")), n = Array.from(O.value.querySelectorAll(":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"));
4910
+ let t = Array.from(O.value.querySelectorAll(":is(:scope > db-tab-list .db-tab-item, :scope > .db-tab-list .db-tab-item)")), n = Array.from(O.value.querySelectorAll(":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"));
4840
4911
  for (let r of t) {
4841
4912
  let i = t.indexOf(r), a = r.querySelector("label"), o = r.querySelector("input");
4842
4913
  if (o && a) {
@@ -4884,20 +4955,20 @@ var x = () => {
4884
4955
  onInput: u[0] ||= async (e) => P(e),
4885
4956
  onChange: u[1] ||= async (e) => P(e)
4886
4957
  }, [
4887
- w.value ? (f(), t(Re, {
4958
+ w.value ? (f(), t(Be, {
4888
4959
  key: 0,
4889
- class: "tabs-scroll-left",
4960
+ class: "overflow-scroll-left-button",
4890
4961
  variant: "ghost",
4891
4962
  icon: "chevron_left",
4892
4963
  type: "button",
4893
4964
  noText: !0,
4894
4965
  onClick: (e) => j(!0)
4895
4966
  }, {
4896
- default: b(() => [...u[2] ||= [a(" Scroll left ", -1)]]),
4967
+ default: b(() => [a(g(i.scrollLeftText ?? _("Scroll left")), 1)]),
4897
4968
  _: 1
4898
4969
  }, 8, ["onClick"])) : n("", !0),
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, {
4970
+ i.tabs ? (f(), r(e, { key: 1 }, [o(Gr, null, {
4971
+ default: b(() => [(f(!0), r(e, null, m(k(), (e, n) => (f(), t(Hr, {
4901
4972
  key: i.name + "tab-item" + n,
4902
4973
  active: e.active,
4903
4974
  label: e.label,
@@ -4912,33 +4983,33 @@ var x = () => {
4912
4983
  "noText"
4913
4984
  ]))), 128))]),
4914
4985
  _: 1
4915
- }), (f(!0), r(e, null, m(k(), (e, n) => (f(), t(Vr, {
4986
+ }), (f(!0), r(e, null, m(k(), (e, n) => (f(), t(qr, {
4916
4987
  key: i.name + "tab-panel" + n,
4917
4988
  content: e.content
4918
4989
  }, {
4919
4990
  default: b(() => [a(g(e.children), 1)]),
4920
4991
  _: 2
4921
4992
  }, 1032, ["content"]))), 128))], 64)) : n("", !0),
4922
- T.value ? (f(), t(Re, {
4993
+ T.value ? (f(), t(Be, {
4923
4994
  key: 2,
4924
- class: "tabs-scroll-right",
4995
+ class: "overflow-scroll-right-button",
4925
4996
  variant: "ghost",
4926
4997
  icon: "chevron_right",
4927
4998
  type: "button",
4928
4999
  noText: !0,
4929
5000
  onClick: (e) => j()
4930
5001
  }, {
4931
- default: b(() => [...u[3] ||= [a(" Scroll right ", -1)]]),
5002
+ default: b(() => [a(g(i.scrollRightText ?? _("Scroll right")), 1)]),
4932
5003
  _: 1
4933
5004
  }, 8, ["onClick"])) : n("", !0),
4934
5005
  h(s.$slots, "default")
4935
- ], 42, mi));
5006
+ ], 42, bi));
4936
5007
  }
4937
- }), gi = ["scrollbar", "arrows"], _i = ["auto", "manually"], vi = ["static", "removable"], yi = [
5008
+ }), Si = ["scrollbar", "arrows"], Ci = ["auto", "manually"], wi = ["static", "removable"], Ti = [
4938
5009
  "data-variant",
4939
5010
  "data-hide-asterisk",
4940
5011
  "data-hide-label"
4941
- ], bi = ["for"], xi = [
5012
+ ], Ei = ["for"], Di = [
4942
5013
  "aria-invalid",
4943
5014
  "data-custom-validity",
4944
5015
  "data-field-sizing",
@@ -4960,10 +5031,10 @@ var x = () => {
4960
5031
  "placeholder",
4961
5032
  "rows",
4962
5033
  "cols"
4963
- ], Si = {
5034
+ ], Oi = {
4964
5035
  "data-visually-hidden": "true",
4965
5036
  role: "status"
4966
- }, Ci = /* @__PURE__ */ s({
5037
+ }, ki = /* @__PURE__ */ s({
4967
5038
  name: "DBTextarea",
4968
5039
  __name: "textarea",
4969
5040
  props: {
@@ -5005,12 +5076,12 @@ var x = () => {
5005
5076
  ariaDescribedBy: { default: void 0 },
5006
5077
  form: { default: void 0 },
5007
5078
  validation: { default: void 0 },
5079
+ label: { default: void 0 },
5080
+ name: { default: void 0 },
5008
5081
  disabled: {
5009
5082
  type: [Boolean, String],
5010
5083
  default: void 0
5011
5084
  },
5012
- label: { default: void 0 },
5013
- name: { default: void 0 },
5014
5085
  required: {
5015
5086
  type: [Boolean, String],
5016
5087
  default: void 0
@@ -5088,7 +5159,7 @@ var x = () => {
5088
5159
  }), y(() => [L.value], () => {
5089
5160
  if (L.value) {
5090
5161
  let e = P.value;
5091
- e || (e = new AbortController(), P.value = e), qe(L.value, {
5162
+ e || (e = new AbortController(), P.value = e), Ye(L.value, {
5092
5163
  value: h.value,
5093
5164
  defaultValue: void 0
5094
5165
  }, (e) => {
@@ -5127,7 +5198,7 @@ var x = () => {
5127
5198
  "data-hide-asterisk": _(F)(e.showRequiredAsterisk),
5128
5199
  "data-hide-label": _(F)(e.showLabel)
5129
5200
  }, [
5130
- i("label", { for: x.value }, g(e.label ?? _("LABEL SHOULD BE SET")), 9, bi),
5201
+ i("label", { for: x.value }, g(e.label ?? _("LABEL SHOULD BE SET")), 9, Ei),
5131
5202
  i("textarea", {
5132
5203
  "aria-invalid": e.validation === "invalid",
5133
5204
  "data-custom-validity": e.validation,
@@ -5156,7 +5227,7 @@ var x = () => {
5156
5227
  placeholder: e.placeholder ?? _(" "),
5157
5228
  rows: _(j)(e.rows, _(4)),
5158
5229
  cols: _(j)(e.cols)
5159
- }, g(e.value), 41, xi),
5230
+ }, g(e.value), 41, Di),
5160
5231
  _(I)(e.message, e.showMessage) ? (f(), t($, {
5161
5232
  key: 0,
5162
5233
  size: "small",
@@ -5183,50 +5254,50 @@ var x = () => {
5183
5254
  default: b(() => [a(g(D.value), 1)]),
5184
5255
  _: 1
5185
5256
  }, 8, ["id"]),
5186
- i("span", Si, g(N.value), 1)
5187
- ], 10, yi));
5257
+ i("span", Oi, g(N.value), 1)
5258
+ ], 10, Ti));
5188
5259
  }
5189
- }), wi = [
5260
+ }), Ai = [
5190
5261
  "none",
5191
5262
  "both",
5192
5263
  "horizontal",
5193
5264
  "vertical"
5194
- ], Ti = [
5265
+ ], ji = [
5195
5266
  "hard",
5196
5267
  "soft",
5197
5268
  "off"
5198
- ], Ei = ["description", "label"], Di = [
5269
+ ], Mi = ["description", "label"], Ni = [
5199
5270
  "adaptive",
5200
5271
  "neutral",
5201
5272
  "critical",
5202
5273
  "informational",
5203
5274
  "warning",
5204
5275
  "successful"
5205
- ], Oi = [
5276
+ ], Pi = [
5206
5277
  "medium",
5207
5278
  "small",
5208
5279
  "large",
5209
5280
  "none"
5210
- ], ki = [
5281
+ ], Fi = [
5211
5282
  "medium",
5212
5283
  "small",
5213
5284
  "large",
5214
5285
  "none"
5215
- ], Ai = [
5286
+ ], Ii = [
5216
5287
  "left",
5217
5288
  "right",
5218
5289
  "left-start",
5219
5290
  "left-end",
5220
5291
  "right-start",
5221
5292
  "right-end"
5222
- ], ji = [
5293
+ ], Li = [
5223
5294
  "top",
5224
5295
  "bottom",
5225
5296
  "top-start",
5226
5297
  "top-end",
5227
5298
  "bottom-start",
5228
5299
  "bottom-end"
5229
- ], Mi = [...Ai, ...ji], Ni = [
5300
+ ], Ri = [...Ii, ...Li], zi = [
5230
5301
  "none",
5231
5302
  "3x-large",
5232
5303
  "2x-large",
@@ -5237,25 +5308,25 @@ var x = () => {
5237
5308
  "x-small",
5238
5309
  "2x-small",
5239
5310
  "3x-small"
5240
- ], Pi = ["horizontal", "vertical"], Fi = ["full", "auto"], Ii = [
5311
+ ], Bi = ["horizontal", "vertical"], Vi = ["full", "auto"], Hi = [
5241
5312
  "full",
5242
5313
  "medium",
5243
5314
  "large",
5244
5315
  "small"
5245
- ], Li = [
5316
+ ], Ui = [
5246
5317
  "none",
5247
5318
  "slow",
5248
5319
  "fast"
5249
- ], Ri = ["auto", "fixed"], zi = ["small", "medium"], Bi = ["weak", "strong"], Vi = [
5320
+ ], Wi = ["auto", "fixed"], Gi = ["small", "medium"], Ki = ["weak", "strong"], qi = [
5250
5321
  "invalid",
5251
5322
  "valid",
5252
5323
  "no-validation"
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 = [
5324
+ ], Ji = ["fixed", "content"], Yi = ["above", "floating"], Xi = ["leading", "trailing"], Zi = /* @__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("."), Qi = [
5254
5325
  "_self",
5255
5326
  "_blank",
5256
5327
  "_parent",
5257
5328
  "_top"
5258
- ], qi = [
5329
+ ], $i = [
5259
5330
  "no-referrer",
5260
5331
  "no-referrer-when-downgrade",
5261
5332
  "origin",
@@ -5264,10 +5335,10 @@ var x = () => {
5264
5335
  "strict-origin",
5265
5336
  "strict-origin-when-cross-origin",
5266
5337
  "unsafe-url"
5267
- ], Ji = [
5338
+ ], ea = [
5268
5339
  "start",
5269
5340
  "center",
5270
5341
  "end"
5271
5342
  ];
5272
5343
  //#endregion
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 };
5344
+ export { re as AccordionBehaviorList, ne as AccordionVariantList, ea as AlignmentList, Zi as AutoCompleteList, Ie as BadgePlacementList, He as ButtonTypeList, Ve as ButtonVariantList, we as COLOR, Te as COLORS, Ee as COLORS_SIMPLE, Se as COLOR_CONST, Ce as COLOR_SIMPLE, Ge as CardBehaviorList, Ke as CardElevationLevelList, tn as CustomSelectDropdownWidthList, an as CustomSelectListItemTypeList, W as DBAccordion, U as DBAccordionItem, Fe as DBBadge, Re as DBBrand, Be as DBButton, We as DBCard, tt as DBCheckbox, rt as DBCustomButton, en as DBCustomSelect, yt as DBCustomSelectDropdown, rn as DBCustomSelectFormField, Dt as DBCustomSelectList, Tt as DBCustomSelectListItem, cn as DBDivider, gn as DBDrawer, In as DBHeader, Rn as DBIcon, $ as DBInfotext, Pt as DBInput, Hn as DBLink, qn as DBNavigation, Qn as DBNavigationItem, rr as DBNotification, cr as DBPage, pr as DBPopover, gr as DBRadio, vr as DBSection, Or as DBSelect, Ar as DBStack, zr as DBSwitch, Hr as DBTabItem, Gr as DBTabList, qr as DBTabPanel, li as DBTable, ti as DBTableBody, di as DBTableCaption, yi as DBTableColumnsSizeList, Yr as DBTableDataCell, gi as DBTableDividerList, ri as DBTableFooter, ai as DBTableHead, Zr as DBTableHeaderCell, fi as DBTableHeaderCellScopeList, _i as DBTableMobileVariantList, $r as DBTableRow, mi as DBTableRowSizeList, pi as DBTableRowSubHeaderEmphasisList, vi as DBTableStickyHeaderList, hi as DBTableVariantList, xi as DBTabs, Rt as DBTag, ki as DBTextarea, It as DBTooltip, Me as DB_UX_LOCAL_STORAGE_FRAMEWORK, Ne as DB_UX_LOCAL_STORAGE_MODE, pe as DEFAULT_BACK, _e as DEFAULT_BURGER_MENU, be as DEFAULT_CLOSE_BUTTON, Y as DEFAULT_DATALIST_ID_SUFFIX, ve 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, ye as DEFAULT_ROWS, he as DEFAULT_SCROLL_LEFT, ge as DEFAULT_SCROLL_RIGHT, me as DEFAULT_SELECTED, se as DEFAULT_SELECT_ID_SUFFIX, ue as DEFAULT_VALID_MESSAGE, J as DEFAULT_VALID_MESSAGE_ID_SUFFIX, ke as DEFAULT_VIEWPORT, Z as DENSITIES, X as DENSITY, xe as DENSITY_CONST, Ae as DESKTOP_VIEWPORT, ln as DividerMarginList, un as DividerVariantList, at as DocumentClickListener, ot as DocumentScrollListener, _n as DrawerBackdropList, vn as DrawerDirectionList, bn as DrawerPositionList, yn as DrawerVariantList, Ki as EmphasisList, Ji as FieldSizingList, zi as GapSpacingList, zn as IconWeightList, Bn as InputTypeList, Xi as LabelVariantHorizontalList, Yi as LabelVariantList, Gn as LinkContentList, $i as LinkReferrerPolicyList, Wn as LinkSizeList, Qi as LinkTargetList, Un as LinkVariantList, Fi as MarginList, Hi as MaxWidthList, Sn as NavigationItemSafeTriangle, or as NotificationAriaLiveList, ar as NotificationLinkVariantList, ir as NotificationVariantList, Bi as OrientationList, ur as PageDocumentOverflowList, lr as PageVariantList, Ii as PlacementHorizontalList, Ri as PlacementList, Li as PlacementVerticalList, Ui as PopoverDelayList, Wi as PopoverWidthList, De as SEMANTIC, Oe as SEMANTICS, on as SelectedTypeList, Ni as SemanticList, Gi as SizeList, Pi as SpacingList, Nr as StackAlignmentList, Mr as StackDirectionList, Pr as StackJustifyContentList, jr as StackVariantList, je as TESTING_VIEWPORTS, Si as TabsBehaviorList, Ci as TabsInitialSelectedModeList, wi as TagBehaviorList, Ai as TextareaResizeList, ji as TextareaWrapList, Mi as TooltipVariantList, qi as ValidationList, Vi as WidthList, S as addAttributeToChildren, C as cls, O as delay, A as getBoolean, k as getBooleanAsString, ct as getFloatingProps, F as getHideProp, N as getInputValue, V as getNotificationRole, j as getNumber, z as getOptionKey, L as getSearchInput, M as getStep, pt as handleDataOutside, st as handleFixedDropdown, ft as handleFixedPopover, E as hasVoiceOver, w as isArrayOfStrings, xn as isEventTargetNavigationItem, D as isIOSSafari, B as isKeyboardEvent, I as stringPropVisible, x as uuid };