@db-ux/v-core-components 1.1.1 → 2.0.0-0-custom-select-16b8cce

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.
Files changed (52) hide show
  1. package/README.md +2 -2
  2. package/dist/components/accordion-item/accordion-item.vue.d.ts +1 -1
  3. package/dist/components/badge/badge.vue.d.ts +1 -1
  4. package/dist/components/brand/brand.vue.d.ts +1 -1
  5. package/dist/components/button/button.vue.d.ts +3 -3
  6. package/dist/components/card/card.vue.d.ts +1 -1
  7. package/dist/components/checkbox/checkbox.vue.d.ts +1 -1
  8. package/dist/components/custom-select/custom-select.vue.d.ts +60 -0
  9. package/dist/components/custom-select/index.d.ts +1 -0
  10. package/dist/components/custom-select/model.d.ts +173 -0
  11. package/dist/components/custom-select-dropdown/custom-select-dropdown.vue.d.ts +15 -0
  12. package/dist/components/custom-select-dropdown/index.d.ts +1 -0
  13. package/dist/components/custom-select-dropdown/model.d.ts +15 -0
  14. package/dist/components/custom-select-form-field/custom-select-form-field.vue.d.ts +13 -0
  15. package/dist/components/custom-select-form-field/index.d.ts +1 -0
  16. package/dist/components/custom-select-form-field/model.d.ts +5 -0
  17. package/dist/components/custom-select-list/custom-select-list.vue.d.ts +16 -0
  18. package/dist/components/custom-select-list/index.d.ts +1 -0
  19. package/dist/components/custom-select-list/model.d.ts +8 -0
  20. package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +31 -0
  21. package/dist/components/custom-select-list-item/index.d.ts +1 -0
  22. package/dist/components/custom-select-list-item/model.d.ts +29 -0
  23. package/dist/components/divider/divider.vue.d.ts +1 -1
  24. package/dist/components/drawer/drawer.vue.d.ts +2 -2
  25. package/dist/components/icon/icon.vue.d.ts +1 -1
  26. package/dist/components/infotext/infotext.vue.d.ts +1 -1
  27. package/dist/components/input/input.vue.d.ts +5 -4
  28. package/dist/components/link/link.vue.d.ts +2 -2
  29. package/dist/components/navigation-item/navigation-item.vue.d.ts +2 -2
  30. package/dist/components/notification/notification.vue.d.ts +1 -1
  31. package/dist/components/page/model.d.ts +4 -0
  32. package/dist/components/page/page.vue.d.ts +1 -0
  33. package/dist/components/popover/popover.vue.d.ts +2 -2
  34. package/dist/components/radio/radio.vue.d.ts +1 -1
  35. package/dist/components/section/section.vue.d.ts +1 -1
  36. package/dist/components/select/model.d.ts +3 -3
  37. package/dist/components/select/select.vue.d.ts +3 -2
  38. package/dist/components/switch/switch.vue.d.ts +1 -1
  39. package/dist/components/tab-item/tab-item.vue.d.ts +1 -1
  40. package/dist/components/tabs/tabs.vue.d.ts +2 -2
  41. package/dist/components/tag/model.d.ts +3 -3
  42. package/dist/components/tag/tag.vue.d.ts +2 -2
  43. package/dist/components/textarea/textarea.vue.d.ts +3 -3
  44. package/dist/components/tooltip/tooltip.vue.d.ts +1 -1
  45. package/dist/db-ux.es.js +2042 -1240
  46. package/dist/db-ux.umd.js +1 -1
  47. package/dist/index.d.ts +5 -0
  48. package/dist/shared/constants.d.ts +5 -0
  49. package/dist/shared/model.d.ts +36 -19
  50. package/dist/utils/index.d.ts +2 -0
  51. package/dist/utils/react.d.ts +4 -4
  52. package/package.json +5 -5
package/dist/db-ux.es.js CHANGED
@@ -1,84 +1,84 @@
1
- var ge = Object.defineProperty;
2
- var ye = (t, n, d) => n in t ? ge(t, n, { enumerable: !0, configurable: !0, writable: !0, value: d }) : t[n] = d;
3
- var j = (t, n, d) => ye(t, typeof n != "symbol" ? n + "" : n, d);
4
- import { defineComponent as E, ref as u, createElementBlock as g, openBlock as m, unref as v, normalizeClass as N, renderSlot as w, Fragment as C, createTextVNode as L, toDisplayString as k, createCommentVNode as M, createElementVNode as I, createBlock as X, withCtx as R, onMounted as U, watch as z, createVNode as O, renderList as te, onUnmounted as Be } from "vue";
5
- const G = () => {
6
- var t, n;
1
+ var sa = Object.defineProperty;
2
+ var ua = (i, t, l) => t in i ? sa(i, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[t] = l;
3
+ var pe = (i, t, l) => ua(i, typeof t != "symbol" ? t + "" : t, l);
4
+ import { defineComponent as M, ref as n, createElementBlock as g, openBlock as m, unref as c, normalizeClass as F, renderSlot as L, Fragment as G, createTextVNode as $, toDisplayString as w, createCommentVNode as R, createElementVNode as I, createBlock as x, withCtx as V, onMounted as W, watch as A, createVNode as j, renderList as ce, onUnmounted as qe } from "vue";
5
+ const Y = () => {
6
+ var i, t;
7
7
  if (typeof window < "u") {
8
- if ((t = window.crypto) != null && t.randomUUID)
8
+ if ((i = window.crypto) != null && i.randomUUID)
9
9
  return window.crypto.randomUUID();
10
- if ((n = window.crypto) != null && n.getRandomValues)
10
+ if ((t = window.crypto) != null && t.getRandomValues)
11
11
  return window.crypto.getRandomValues(new Uint32Array(3)).join("-");
12
12
  }
13
13
  return Math.random().toString().substring(2);
14
- }, re = (t, n) => {
15
- const d = t.children;
16
- Object.values(d).forEach((e) => {
17
- e.setAttribute(n.key, n.value), e.children.length > 0 && re(e, n);
14
+ }, Ve = (i, t) => {
15
+ const l = i.children;
16
+ Object.values(l).forEach((e) => {
17
+ e.setAttribute(t.key, t.value), e.children.length > 0 && Ve(e, t);
18
18
  });
19
- }, A = (...t) => {
20
- let n = "";
21
- for (const d of t)
22
- if (d)
23
- if (typeof d == "string")
24
- n += `${d} `;
19
+ }, D = (...i) => {
20
+ let t = "";
21
+ for (const l of i)
22
+ if (l)
23
+ if (typeof l == "string")
24
+ t += `${l} `;
25
25
  else
26
- for (const e in d)
27
- d[e] && (n += `${e} `);
28
- return n.trim();
29
- }, fn = (t) => {
26
+ for (const e in l)
27
+ l[e] && (t += `${e} `);
28
+ return t.trim();
29
+ }, Si = (i) => {
30
30
  const {
31
- left: n,
32
- right: d
33
- } = t.getBoundingClientRect(), {
31
+ left: t,
32
+ right: l
33
+ } = i.getBoundingClientRect(), {
34
34
  innerWidth: e
35
35
  } = window;
36
- return n >= 0 && d <= e;
37
- }, cn = (t) => {
36
+ return t >= 0 && l <= e;
37
+ }, Ei = (i) => {
38
38
  const {
39
- top: n,
40
- bottom: d
41
- } = t.getBoundingClientRect(), {
39
+ top: t,
40
+ bottom: l
41
+ } = i.getBoundingClientRect(), {
42
42
  innerHeight: e
43
43
  } = window;
44
- return n >= 0 && d <= e;
45
- }, ke = (t) => {
46
- var _;
44
+ return t >= 0 && l <= e;
45
+ }, ra = (i) => {
46
+ var T;
47
47
  const {
48
- top: n,
49
- bottom: d,
48
+ top: t,
49
+ bottom: l,
50
50
  left: e,
51
51
  right: a
52
- } = t.getBoundingClientRect(), {
53
- innerHeight: c,
54
- innerWidth: l
52
+ } = i.getBoundingClientRect(), {
53
+ innerHeight: u,
54
+ innerWidth: s
55
55
  } = window;
56
- let p = n < 0, i = d > c, h = e < 0, s = a > l;
57
- const B = t.hasAttribute("data-outside-vy"), $ = t.hasAttribute("data-outside-vx"), D = (_ = t == null ? void 0 : t.parentElement) == null ? void 0 : _.getBoundingClientRect();
58
- return D && (B && (t.getAttribute("data-outside-vy") === "top" ? p = D.top - (d - D.bottom) < 0 : i = D.bottom + (D.top - n) > c), $ && (t.getAttribute("data-outside-vx") === "left" ? h = D.left - (a - D.right) < 0 : s = D.right + (D.left - e) > l)), {
59
- outTop: p,
60
- outBottom: i,
61
- outLeft: h,
62
- outRight: s
56
+ let b = t < 0, d = l > u, v = e < 0, r = a > s;
57
+ const _ = i.hasAttribute("data-outside-vy"), S = i.hasAttribute("data-outside-vx"), O = (T = i == null ? void 0 : i.parentElement) == null ? void 0 : T.getBoundingClientRect();
58
+ return O && (_ && (i.getAttribute("data-outside-vy") === "top" ? b = O.top - (l - O.bottom) < 0 : d = O.bottom + (O.top - t) > u), S && (i.getAttribute("data-outside-vx") === "left" ? v = O.left - (a - O.right) < 0 : r = O.right + (O.left - e) > s)), {
59
+ outTop: b,
60
+ outBottom: d,
61
+ outLeft: v,
62
+ outRight: r
63
63
  };
64
- }, se = (t) => {
64
+ }, Se = (i) => {
65
65
  const {
66
- outTop: n,
67
- outBottom: d,
66
+ outTop: t,
67
+ outBottom: l,
68
68
  outLeft: e,
69
69
  outRight: a
70
- } = ke(t);
71
- let c = {};
72
- return n || d ? (c = {
73
- vy: n ? "top" : "bottom"
74
- }, t.setAttribute("data-outside-vy", c.vy)) : t.removeAttribute("data-outside-vy"), e || a ? (c = {
75
- ...c,
70
+ } = ra(i);
71
+ let u = {};
72
+ return t || l ? (u = {
73
+ vy: t ? "top" : "bottom"
74
+ }, i.setAttribute("data-outside-vy", u.vy)) : i.removeAttribute("data-outside-vy"), e || a ? (u = {
75
+ ...u,
76
76
  vx: a ? "right" : "left"
77
- }, t.setAttribute("data-outside-vx", c.vx)) : t.removeAttribute("data-outside-vx"), c;
78
- }, we = (t) => Array.isArray(t) && t.every((n) => typeof n == "string"), Ie = ["Mac", "iPhone", "iPad", "iPod"], Y = () => typeof window < "u" && Ie.some((t) => window.navigator.userAgent.includes(t)), H = (t, n) => new Promise(() => setTimeout(t, n)), V = (t) => t && String(t), P = (t) => {
79
- if (t != null)
80
- return V(!t);
81
- }, q = (t, n) => n === void 0 ? !!t : n && t, _e = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "value", "aria-describedby", "aria-expanded", "aria-pressed"], de = /* @__PURE__ */ E({
77
+ }, i.setAttribute("data-outside-vx", u.vx)) : i.removeAttribute("data-outside-vx"), u;
78
+ }, ca = (i) => Array.isArray(i) && i.every((t) => typeof t == "string"), va = ["Mac", "iPhone", "iPad", "iPod"], le = () => typeof window < "u" && va.some((i) => window.navigator.userAgent.includes(i)), J = (i, t) => new Promise(() => setTimeout(i, t)), X = (i) => i && String(i), H = (i) => {
79
+ if (i != null)
80
+ return X(!i);
81
+ }, ee = (i, t) => t === void 0 ? !!i : t && i, ze = (i) => i.querySelector('input[type="search"]'), fa = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "value", "aria-describedby", "aria-expanded", "aria-pressed"], he = /* @__PURE__ */ M({
82
82
  __name: "button",
83
83
  props: {
84
84
  ariaexpanded: { type: Boolean, default: void 0 },
@@ -104,61 +104,61 @@ const G = () => {
104
104
  showIcon: { type: Boolean, default: void 0 },
105
105
  text: { default: void 0 }
106
106
  },
107
- setup(t) {
108
- const n = t, d = u(null);
107
+ setup(i) {
108
+ const t = i, l = n(null);
109
109
  function e(a) {
110
- n.onClick && n.onClick(a);
110
+ t.onClick && t.onClick(a);
111
111
  }
112
- return (a, c) => (m(), g("button", {
112
+ return (a, u) => (m(), g("button", {
113
113
  ref_key: "_ref",
114
- ref: d,
114
+ ref: l,
115
115
  id: a.id,
116
- class: N(v(A)("db-button", n.class)),
116
+ class: F(c(D)("db-button", t.class)),
117
117
  type: a.type || "button",
118
118
  disabled: a.disabled,
119
119
  "aria-label": a.label,
120
120
  "data-icon": a.icon,
121
- "data-hide-icon": v(P)(a.showIcon),
121
+ "data-hide-icon": c(H)(a.showIcon),
122
122
  "data-size": a.size,
123
123
  "data-state": a.state,
124
124
  "data-width": a.width,
125
125
  "data-variant": a.variant,
126
- "data-no-text": v(V)(a.noText),
126
+ "data-no-text": c(X)(a.noText),
127
127
  name: a.name,
128
128
  value: a.value,
129
129
  "aria-describedby": a.describedbyid,
130
130
  "aria-expanded": a.ariaexpanded,
131
131
  "aria-pressed": a.ariapressed,
132
- onClick: c[0] || (c[0] = async (l) => e(l))
132
+ onClick: u[0] || (u[0] = async (s) => e(s))
133
133
  }, [
134
- a.text ? (m(), g(C, { key: 0 }, [
135
- L(k(a.text), 1)
136
- ], 64)) : w(a.$slots, "default", { key: 1 })
137
- ], 10, _e));
134
+ a.text ? (m(), g(G, { key: 0 }, [
135
+ $(w(a.text), 1)
136
+ ], 64)) : L(a.$slots, "default", { key: 1 })
137
+ ], 10, fa));
138
138
  }
139
- }), ee = "OVERWRITE_DEFAULT_ID", le = "LABEL SHOULD BE SET", fe = " ", K = "-message", J = "-valid-message", Q = "-invalid-message", oe = "-placeholder", ue = "-datalist", Z = "TODO: Add a validMessage", x = "TODO: Add an invalidMessage", $e = "Back", Le = "BurgerMenu", Ee = "brand", Ne = 4, ce = "Close Button", vn = "density", pn = "color";
140
- var ve = /* @__PURE__ */ ((t) => (t.FUNCTIONAL = "functional", t.REGULAR = "regular", t.EXPRESSIVE = "expressive", t))(ve || {});
141
- const hn = Object.entries(ve).map(([, t]) => t);
142
- var pe = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t))(pe || {}), he = /* @__PURE__ */ ((t) => (t.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", t.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", t.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", t.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", t.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", t.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", t.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", t.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", t.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", t.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", t.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", t.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", t.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", t.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", t.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", t.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", t.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", t.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", t.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", t.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", t.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", t.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", t.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", t.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", t.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", t.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", t.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", t.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", t.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", t.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", t))(he || {});
143
- const mn = Object.entries(he).map(([, t]) => t), bn = Object.entries(pe).map(([, t]) => t);
144
- var me = /* @__PURE__ */ ((t) => (t.CRITICAL = "critical", t.INFORMATIONAL = "informational", t.WARNING = "warning", t.SUCCESSFUL = "successful", t))(me || {});
145
- const gn = Object.entries(me).map(([, t]) => t), Ae = {
139
+ }), ye = "OVERWRITE_DEFAULT_ID", ie = "LABEL SHOULD BE SET", Oe = " ", pa = "MESSAGE SHOULD BE SET", Ue = "-label", Ge = "-select", oe = "-message", de = "-valid-message", ne = "-invalid-message", Ae = "-placeholder", Pe = "-datalist", se = "TODO: Add a validMessage", ue = "TODO: Add an invalidMessage", We = "Remove", ha = "Back", ma = "Selected", ba = "BurgerMenu", ga = "brand", ya = 4, Ce = "Close", Ci = "density", Fi = "color";
140
+ var Xe = /* @__PURE__ */ ((i) => (i.FUNCTIONAL = "functional", i.REGULAR = "regular", i.EXPRESSIVE = "expressive", i))(Xe || {});
141
+ const Di = Object.entries(Xe).map(([, i]) => i);
142
+ var He = /* @__PURE__ */ ((i) => (i.PRIMARY = "primary", i))(He || {}), je = /* @__PURE__ */ ((i) => (i.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", i.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", i.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", i.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", i.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", i.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", i.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", i.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", i.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", i.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", i.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", i.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", i.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", i.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", i.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", i.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", i.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", i.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", i.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", i.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", i.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", i.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", i.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", i.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", i.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", i.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", i.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", i.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", i.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", i.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", i))(je || {});
143
+ const Ni = Object.entries(je).map(([, i]) => i), Mi = Object.entries(He).map(([, i]) => i);
144
+ var Ye = /* @__PURE__ */ ((i) => (i.CRITICAL = "critical", i.INFORMATIONAL = "informational", i.WARNING = "warning", i.SUCCESSFUL = "successful", i))(Ye || {});
145
+ const Ri = Object.entries(Ye).map(([, i]) => i), ka = {
146
146
  width: 390,
147
147
  height: 884
148
- }, Fe = {
148
+ }, Ba = {
149
149
  width: 1920,
150
150
  height: 1280
151
- }, yn = [{
151
+ }, zi = [{
152
152
  name: "desktop",
153
- ...Fe
153
+ ...Ba
154
154
  }, {
155
155
  name: "tablet",
156
156
  width: 768,
157
157
  height: 1024
158
158
  }, {
159
159
  name: "mobile",
160
- ...Ae
161
- }], Te = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], Se = { key: 0 }, Ce = { key: 1 }, Bn = /* @__PURE__ */ E({
160
+ ...ka
161
+ }], wa = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], _a = { key: 0 }, Ia = { key: 1 }, Ui = /* @__PURE__ */ M({
162
162
  __name: "notification",
163
163
  props: {
164
164
  ariaLive: { default: void 0 },
@@ -188,49 +188,49 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
188
188
  showIcon: { type: Boolean, default: void 0 },
189
189
  text: { default: void 0 }
190
190
  },
191
- setup(t) {
192
- const n = t, d = u(null);
191
+ setup(i) {
192
+ const t = i, l = n(null);
193
193
  function e(a) {
194
- n.onClose && n.onClose();
194
+ t.onClose && t.onClose();
195
195
  }
196
- return (a, c) => (m(), g("article", {
196
+ return (a, u) => (m(), g("article", {
197
197
  ref_key: "_ref",
198
- ref: d,
198
+ ref: l,
199
199
  id: a.id,
200
- class: N(v(A)("db-notification", n.class)),
200
+ class: F(c(D)("db-notification", t.class)),
201
201
  "aria-live": a.ariaLive,
202
202
  "data-semantic": a.semantic,
203
203
  "data-variant": a.variant,
204
204
  "data-icon": a.icon,
205
- "data-hide-icon": v(P)(a.showIcon),
205
+ "data-hide-icon": c(H)(a.showIcon),
206
206
  "data-link-variant": a.linkVariant
207
207
  }, [
208
- w(a.$slots, "image"),
209
- v(q)(a.headline, a.showHeadline) ? (m(), g("header", Se, k(a.headline), 1)) : M("", !0),
208
+ L(a.$slots, "image"),
209
+ c(ee)(a.headline, a.showHeadline) ? (m(), g("header", _a, w(a.headline), 1)) : R("", !0),
210
210
  I("p", null, [
211
- a.text ? (m(), g(C, { key: 0 }, [
212
- L(k(a.text), 1)
213
- ], 64)) : w(a.$slots, "default", { key: 1 })
211
+ a.text ? (m(), g(G, { key: 0 }, [
212
+ $(w(a.text), 1)
213
+ ], 64)) : L(a.$slots, "default", { key: 1 })
214
214
  ]),
215
- v(q)(a.timestamp, a.showTimestamp) ? (m(), g("span", Ce, k(a.timestamp), 1)) : M("", !0),
216
- w(a.$slots, "link"),
217
- a.closeable ? (m(), X(de, {
215
+ c(ee)(a.timestamp, a.showTimestamp) ? (m(), g("span", Ia, w(a.timestamp), 1)) : R("", !0),
216
+ L(a.$slots, "link"),
217
+ a.closeable ? (m(), x(he, {
218
218
  key: 2,
219
219
  icon: "cross",
220
220
  variant: "ghost",
221
221
  size: "small",
222
222
  id: a.closeButtonId,
223
223
  noText: !0,
224
- onClick: (l) => e()
224
+ onClick: (s) => e()
225
225
  }, {
226
- default: R(() => [
227
- L(k(a.closeButtonText ?? v(ce)), 1)
226
+ default: V(() => [
227
+ $(w(a.closeButtonText ?? c(Ce)), 1)
228
228
  ]),
229
229
  _: 1
230
- }, 8, ["id", "onClick"])) : M("", !0)
231
- ], 10, Te));
230
+ }, 8, ["id", "onClick"])) : R("", !0)
231
+ ], 10, wa));
232
232
  }
233
- }), De = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], kn = /* @__PURE__ */ E({
233
+ }), La = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], Gi = /* @__PURE__ */ M({
234
234
  __name: "badge",
235
235
  props: {
236
236
  placement: { default: void 0 },
@@ -246,43 +246,43 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
246
246
  emphasis: { default: void 0 },
247
247
  text: { default: void 0 }
248
248
  },
249
- setup(t) {
250
- const n = t, d = u(!1), e = u(null);
251
- return U(() => {
252
- d.value = !0;
253
- }), z(
254
- () => [e.value, d.value],
249
+ setup(i) {
250
+ const t = i, l = n(!1), e = n(null);
251
+ return W(() => {
252
+ l.value = !0;
253
+ }), A(
254
+ () => [e.value, l.value],
255
255
  () => {
256
256
  var a;
257
- if (e.value && d.value && (a = n.placement) != null && a.startsWith("corner")) {
258
- let c = e.value.parentElement;
259
- c && c.localName.includes("badge") && (c = c.parentElement), c && c.setAttribute("data-has-badge", "true");
257
+ if (e.value && l.value && (a = t.placement) != null && a.startsWith("corner")) {
258
+ let u = e.value.parentElement;
259
+ u && u.localName.includes("badge") && (u = u.parentElement), u && u.setAttribute("data-has-badge", "true");
260
260
  }
261
261
  },
262
262
  {
263
263
  immediate: !0,
264
264
  flush: "post"
265
265
  }
266
- ), (a, c) => {
267
- var l;
266
+ ), (a, u) => {
267
+ var s;
268
268
  return m(), g("span", {
269
269
  ref_key: "_ref",
270
270
  ref: e,
271
271
  id: a.id,
272
- class: N(v(A)("db-badge", n.class)),
272
+ class: F(c(D)("db-badge", t.class)),
273
273
  "data-semantic": a.semantic,
274
274
  "data-size": a.size,
275
275
  "data-emphasis": a.emphasis,
276
276
  "data-placement": a.placement,
277
- "data-label": ((l = a.placement) == null ? void 0 : l.startsWith("corner")) && (a.label ?? v(le))
277
+ "data-label": ((s = a.placement) == null ? void 0 : s.startsWith("corner")) && (a.label ?? c(ie))
278
278
  }, [
279
- a.text ? (m(), g(C, { key: 0 }, [
280
- L(k(a.text), 1)
281
- ], 64)) : w(a.$slots, "default", { key: 1 })
282
- ], 10, De);
279
+ a.text ? (m(), g(G, { key: 0 }, [
280
+ $(w(a.text), 1)
281
+ ], 64)) : L(a.$slots, "default", { key: 1 })
282
+ ], 10, La);
283
283
  };
284
284
  }
285
- }), Me = ["data-icon", "data-hide-icon", "id"], wn = /* @__PURE__ */ E({
285
+ }), $a = ["data-icon", "data-hide-icon", "id"], Pi = /* @__PURE__ */ M({
286
286
  __name: "brand",
287
287
  props: {
288
288
  hideLogo: { type: Boolean, default: void 0 },
@@ -296,22 +296,22 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
296
296
  showIcon: { type: Boolean, default: void 0 },
297
297
  text: { default: void 0 }
298
298
  },
299
- setup(t) {
300
- const n = t, d = u(null);
299
+ setup(i) {
300
+ const t = i, l = n(null);
301
301
  return (e, a) => (m(), g("div", {
302
302
  ref_key: "_ref",
303
- ref: d,
304
- "data-icon": e.hideLogo ? "none" : e.icon ?? v(Ee),
305
- "data-hide-icon": v(P)(e.showIcon),
303
+ ref: l,
304
+ "data-icon": e.hideLogo ? "none" : e.icon ?? c(ga),
305
+ "data-hide-icon": c(H)(e.showIcon),
306
306
  id: e.id,
307
- class: N(v(A)("db-brand", n.class))
307
+ class: F(c(D)("db-brand", t.class))
308
308
  }, [
309
- e.text ? (m(), g(C, { key: 0 }, [
310
- L(k(e.text), 1)
311
- ], 64)) : w(e.$slots, "default", { key: 1 })
312
- ], 10, Me));
309
+ e.text ? (m(), g(G, { key: 0 }, [
310
+ $(w(e.text), 1)
311
+ ], 64)) : L(e.$slots, "default", { key: 1 })
312
+ ], 10, $a));
313
313
  }
314
- }), ze = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], In = /* @__PURE__ */ E({
314
+ }), Ta = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], qi = /* @__PURE__ */ M({
315
315
  __name: "card",
316
316
  props: {
317
317
  behavior: { default: void 0 },
@@ -325,29 +325,29 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
325
325
  onClick: { type: Function, default: void 0 },
326
326
  spacing: { default: void 0 }
327
327
  },
328
- setup(t) {
329
- const n = t, d = u(null);
328
+ setup(i) {
329
+ const t = i, l = n(null);
330
330
  function e(a) {
331
- n.onClick && n.onClick(a);
331
+ t.onClick && t.onClick(a);
332
332
  }
333
- return (a, c) => (m(), g("div", {
333
+ return (a, u) => (m(), g("div", {
334
334
  ref_key: "_ref",
335
- ref: d,
335
+ ref: l,
336
336
  id: a.id,
337
- class: N(v(A)("db-card", n.class)),
337
+ class: F(c(D)("db-card", t.class)),
338
338
  "data-behavior": a.behavior,
339
339
  "data-elevation-level": a.elevationLevel,
340
340
  "data-spacing": a.spacing,
341
341
  role: a.behavior === "interactive" ? "button" : void 0,
342
342
  tabIndex: a.behavior === "interactive" ? 0 : void 0,
343
- onClick: c[0] || (c[0] = async (l) => e(l))
343
+ onClick: u[0] || (u[0] = async (s) => e(s))
344
344
  }, [
345
- w(a.$slots, "default")
346
- ], 10, ze));
345
+ L(a.$slots, "default")
346
+ ], 10, Ta));
347
347
  }
348
- }), ae = (t, n, d = "value") => {
349
- t(`update:${d}`, n.target[d]);
350
- }, Re = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], W = /* @__PURE__ */ E({
348
+ }), ve = (i, t, l = "value") => {
349
+ i(`update:${l}`, t.target[l]);
350
+ }, Aa = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], Q = /* @__PURE__ */ M({
351
351
  __name: "infotext",
352
352
  props: {
353
353
  children: { default: void 0 },
@@ -362,27 +362,27 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
362
362
  showIcon: { type: Boolean, default: void 0 },
363
363
  text: { default: void 0 }
364
364
  },
365
- setup(t) {
366
- const n = t, d = u(null);
365
+ setup(i) {
366
+ const t = i, l = n(null);
367
367
  return (e, a) => (m(), g("span", {
368
368
  ref_key: "_ref",
369
- ref: d,
369
+ ref: l,
370
370
  id: e.id,
371
- class: N(v(A)("db-infotext", n.class)),
371
+ class: F(c(D)("db-infotext", t.class)),
372
372
  "data-icon": e.icon,
373
373
  "data-semantic": e.semantic,
374
374
  "data-size": e.size,
375
- "data-hide-icon-before": v(P)(e.showIcon ?? !0)
375
+ "data-hide-icon-before": c(H)(e.showIcon ?? !0)
376
376
  }, [
377
- e.text ? (m(), g(C, { key: 0 }, [
378
- L(k(e.text), 1)
379
- ], 64)) : w(e.$slots, "default", { key: 1 })
380
- ], 10, Re));
377
+ e.text ? (m(), g(G, { key: 0 }, [
378
+ $(w(e.text), 1)
379
+ ], 64)) : L(e.$slots, "default", { key: 1 })
380
+ ], 10, Aa));
381
381
  }
382
- }), Ue = ["data-size", "data-hide-label"], Pe = ["for"], Ve = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Ge = {
382
+ }), Sa = ["data-size", "data-hide-label"], Ea = ["for"], Ca = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Fa = {
383
383
  "data-visually-hidden": "true",
384
384
  role: "status"
385
- }, _n = /* @__PURE__ */ E({
385
+ }, Vi = /* @__PURE__ */ M({
386
386
  __name: "checkbox",
387
387
  props: {
388
388
  indeterminate: { type: Boolean, default: void 0 },
@@ -398,9 +398,10 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
398
398
  onBlur: { type: Function, default: void 0 },
399
399
  focus: { type: Function, default: void 0 },
400
400
  onFocus: { type: Function, default: void 0 },
401
+ ariaDescribedBy: {},
402
+ form: {},
401
403
  validation: { default: void 0 },
402
404
  disabled: { type: Boolean, default: void 0 },
403
- form: {},
404
405
  label: { default: void 0 },
405
406
  name: { default: void 0 },
406
407
  required: { type: Boolean, default: void 0 },
@@ -418,118 +419,118 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
418
419
  size: { default: void 0 }
419
420
  },
420
421
  emits: ["update:checked"],
421
- setup(t, { emit: n }) {
422
- const d = n, e = t, a = u(!1), c = u(void 0), l = u(void 0), p = u(void 0), i = u(void 0), h = u(""), s = u(""), B = u(null);
423
- U(() => {
422
+ setup(i, { emit: t }) {
423
+ const l = t, e = i, a = n(!1), u = n(void 0), s = n(void 0), b = n(void 0), d = n(void 0), v = n(""), r = n(""), _ = n(null);
424
+ W(() => {
424
425
  a.value = !0;
425
- const f = e.id ?? `checkbox-${G()}`;
426
- c.value = f, l.value = f + K, p.value = f + J, i.value = f + Q;
427
- }), z(
428
- () => [c.value],
426
+ const h = e.id ?? `checkbox-${Y()}`;
427
+ u.value = h, s.value = h + oe, b.value = h + de, d.value = h + ne;
428
+ }), A(
429
+ () => [u.value],
429
430
  () => {
430
- if (c.value) {
431
- const f = c.value + K;
432
- l.value = f, p.value = c.value + J, i.value = c.value + Q, q(e.message, e.showMessage) && (h.value = f);
431
+ if (u.value) {
432
+ const h = u.value + oe;
433
+ s.value = h, b.value = u.value + de, d.value = u.value + ne, ee(e.message, e.showMessage) && (v.value = h);
433
434
  }
434
435
  },
435
436
  {
436
437
  immediate: !0,
437
438
  flush: "post"
438
439
  }
439
- ), z(
440
- () => [a.value, B.value, e.indeterminate],
440
+ ), A(
441
+ () => [a.value, _.value, e.indeterminate],
441
442
  () => {
442
- B.value && e.indeterminate !== void 0 && (B.value.indeterminate = e.indeterminate);
443
+ _.value && e.indeterminate !== void 0 && (_.value.indeterminate = e.indeterminate);
443
444
  },
444
445
  {
445
446
  immediate: !0,
446
447
  flush: "post"
447
448
  }
448
- ), z(
449
- () => [a.value, B.value, e.checked],
449
+ ), A(
450
+ () => [a.value, _.value, e.checked],
450
451
  () => {
451
- a.value && B.value && (e.checked != null && (B.value.checked = e.checked), a.value = !1);
452
+ a.value && _.value && (e.checked != null && (_.value.checked = e.checked), a.value = !1);
452
453
  },
453
454
  {
454
455
  immediate: !0,
455
456
  flush: "post"
456
457
  }
457
458
  );
458
- function $(f) {
459
- var o, y, r;
460
- e.onChange && e.onChange(f), e.change && e.change(f), ae(d, f, "checked"), !((o = B.value) != null && o.validity.valid) || e.validation === "invalid" ? (h.value = i.value, Y() && (s.value = e.invalidMessage ?? ((y = B.value) == null ? void 0 : y.validationMessage) ?? x, H(() => s.value = "", 1e3))) : e.validation === "valid" || (r = B.value) != null && r.validity.valid && e.required ? (h.value = p.value, Y() && (s.value = e.validMessage ?? Z, H(() => s.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = l.value : h.value = "";
459
+ function S(h) {
460
+ var f, B, p;
461
+ e.onChange && e.onChange(h), e.change && e.change(h), ve(l, h, "checked"), !((f = _.value) != null && f.validity.valid) || e.validation === "invalid" ? (v.value = d.value, le() && (r.value = e.invalidMessage ?? ((B = _.value) == null ? void 0 : B.validationMessage) ?? ue, J(() => r.value = "", 1e3))) : e.validation === "valid" || (p = _.value) != null && p.validity.valid && e.required ? (v.value = b.value, le() && (r.value = e.validMessage ?? se, J(() => r.value = "", 1e3))) : ee(e.message, e.showMessage) ? v.value = s.value : v.value = "";
461
462
  }
462
- function D(f) {
463
- e.onBlur && e.onBlur(f), e.blur && e.blur(f);
463
+ function O(h) {
464
+ e.onBlur && e.onBlur(h), e.blur && e.blur(h);
464
465
  }
465
- function _(f) {
466
- e.onFocus && e.onFocus(f), e.focus && e.focus(f);
466
+ function T(h) {
467
+ e.onFocus && e.onFocus(h), e.focus && e.focus(h);
467
468
  }
468
- return (f, o) => (m(), g("div", {
469
- class: N(v(A)("db-checkbox", e.class)),
470
- "data-size": f.size,
471
- "data-hide-label": v(P)(f.showLabel)
469
+ return (h, f) => (m(), g("div", {
470
+ class: F(c(D)("db-checkbox", e.class)),
471
+ "data-size": h.size,
472
+ "data-hide-label": c(H)(h.showLabel)
472
473
  }, [
473
- I("label", { for: c.value }, [
474
+ I("label", { for: u.value }, [
474
475
  I("input", {
475
476
  type: "checkbox",
476
- "aria-invalid": f.validation === "invalid",
477
- "data-custom-validity": f.validation,
477
+ "aria-invalid": h.validation === "invalid",
478
+ "data-custom-validity": h.validation,
478
479
  ref_key: "_ref",
479
- ref: B,
480
- id: c.value,
481
- name: f.name,
482
- checked: f.checked,
483
- disabled: f.disabled,
484
- value: f.value,
485
- required: f.required,
486
- onChange: o[0] || (o[0] = async (y) => $(y)),
487
- onBlur: o[1] || (o[1] = async (y) => D(y)),
488
- onFocus: o[2] || (o[2] = async (y) => _(y)),
489
- "aria-describedby": h.value
490
- }, null, 40, Ve),
491
- f.label ? (m(), g(C, { key: 0 }, [
492
- L(k(f.label), 1)
493
- ], 64)) : w(f.$slots, "default", { key: 1 })
494
- ], 8, Pe),
495
- v(q)(f.message, f.showMessage) ? (m(), X(W, {
480
+ ref: _,
481
+ id: u.value,
482
+ name: h.name,
483
+ checked: h.checked,
484
+ disabled: h.disabled,
485
+ value: h.value,
486
+ required: h.required,
487
+ onChange: f[0] || (f[0] = async (B) => S(B)),
488
+ onBlur: f[1] || (f[1] = async (B) => O(B)),
489
+ onFocus: f[2] || (f[2] = async (B) => T(B)),
490
+ "aria-describedby": v.value
491
+ }, null, 40, Ca),
492
+ h.label ? (m(), g(G, { key: 0 }, [
493
+ $(w(h.label), 1)
494
+ ], 64)) : L(h.$slots, "default", { key: 1 })
495
+ ], 8, Ea),
496
+ c(ee)(h.message, h.showMessage) ? (m(), x(Q, {
496
497
  key: 0,
497
498
  size: "small",
498
- icon: f.messageIcon,
499
- id: l.value
499
+ icon: h.messageIcon,
500
+ id: s.value
500
501
  }, {
501
- default: R(() => [
502
- L(k(f.message), 1)
502
+ default: V(() => [
503
+ $(w(h.message), 1)
503
504
  ]),
504
505
  _: 1
505
- }, 8, ["icon", "id"])) : M("", !0),
506
- O(W, {
506
+ }, 8, ["icon", "id"])) : R("", !0),
507
+ j(Q, {
507
508
  size: "small",
508
509
  semantic: "successful",
509
- id: p.value
510
+ id: b.value
510
511
  }, {
511
- default: R(() => [
512
- L(k(f.validMessage ?? v(Z)), 1)
512
+ default: V(() => [
513
+ $(w(h.validMessage ?? c(se)), 1)
513
514
  ]),
514
515
  _: 1
515
516
  }, 8, ["id"]),
516
- O(W, {
517
+ j(Q, {
517
518
  size: "small",
518
519
  semantic: "critical",
519
- id: i.value
520
+ id: d.value
520
521
  }, {
521
- default: R(() => {
522
- var y;
522
+ default: V(() => {
523
+ var B;
523
524
  return [
524
- L(k(f.invalidMessage ?? ((y = B.value) == null ? void 0 : y.validationMessage) ?? v(x)), 1)
525
+ $(w(h.invalidMessage ?? (((B = _.value) == null ? void 0 : B.validationMessage) || c(ue))), 1)
525
526
  ];
526
527
  }),
527
528
  _: 1
528
529
  }, 8, ["id"]),
529
- I("span", Ge, k(s.value), 1)
530
- ], 10, Ue));
530
+ I("span", Fa, w(r.value), 1)
531
+ ], 10, Sa));
531
532
  }
532
- }), qe = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], $n = /* @__PURE__ */ E({
533
+ }), Da = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], Oi = /* @__PURE__ */ M({
533
534
  __name: "divider",
534
535
  props: {
535
536
  margin: { default: void 0 },
@@ -543,20 +544,20 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
543
544
  emphasis: { default: void 0 },
544
545
  width: { default: void 0 }
545
546
  },
546
- setup(t) {
547
- const n = t, d = u(null);
547
+ setup(i) {
548
+ const t = i, l = n(null);
548
549
  return (e, a) => (m(), g("div", {
549
550
  ref_key: "_ref",
550
- ref: d,
551
+ ref: l,
551
552
  id: e.id,
552
553
  "data-margin": e.margin,
553
554
  "data-variant": e.variant,
554
555
  "data-emphasis": e.emphasis,
555
556
  "data-width": e.width,
556
- class: N(v(A)("db-divider", n.class))
557
- }, null, 10, qe));
557
+ class: F(c(D)("db-divider", t.class))
558
+ }, null, 10, Da));
558
559
  }
559
- }), Oe = ["id", "data-backdrop", "data-variant"], We = ["data-spacing", "data-width", "data-direction", "data-rounded"], Xe = { class: "db-drawer-header" }, He = { class: "db-drawer-header-text" }, je = { class: "db-drawer-content" }, Ye = /* @__PURE__ */ E({
560
+ }), Na = ["id", "data-backdrop", "data-variant"], Ma = ["data-spacing", "data-width", "data-direction", "data-rounded"], Ra = { class: "db-drawer-header" }, za = { class: "db-drawer-header-text" }, Ua = { class: "db-drawer-content" }, Ga = /* @__PURE__ */ M({
560
561
  __name: "drawer",
561
562
  props: {
562
563
  backdrop: { default: void 0 },
@@ -577,110 +578,110 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
577
578
  width: { default: void 0 },
578
579
  spacing: { default: void 0 }
579
580
  },
580
- setup(t) {
581
- const n = t, d = u(null), e = u(null);
582
- U(() => {
583
- c();
584
- }), z(
585
- () => [n.open],
581
+ setup(i) {
582
+ const t = i, l = n(null), e = n(null);
583
+ W(() => {
584
+ u();
585
+ }), A(
586
+ () => [t.open],
586
587
  () => {
587
- c();
588
+ u();
588
589
  },
589
590
  {
590
591
  immediate: !0,
591
592
  flush: "post"
592
593
  }
593
594
  );
594
- function a(l) {
595
- l.key === "Escape" && l.preventDefault(), (l === "close" || l.key === "Escape" || l.target.nodeName === "DIALOG" && l.type === "click" && n.backdrop !== "none") && n.onClose && n.onClose(l);
595
+ function a(s) {
596
+ s.key === "Escape" && s.preventDefault(), (s === "close" || s.key === "Escape" || s.target.nodeName === "DIALOG" && s.type === "click" && t.backdrop !== "none") && t.onClose && t.onClose(s);
596
597
  }
597
- function c() {
598
- d.value && (n.open && !d.value.open && (e.value && (e.value.hidden = !1), n.backdrop === "none" || n.variant === "inside" ? d.value.show() : d.value.showModal()), !n.open && d.value.open && (e.value && (e.value.hidden = !0), H(() => {
599
- var l;
600
- e.value && (e.value.hidden = !1), (l = d.value) == null || l.close();
598
+ function u() {
599
+ l.value && (t.open && !l.value.open && (e.value && (e.value.hidden = !1), t.backdrop === "none" || t.variant === "inside" ? l.value.show() : l.value.showModal()), !t.open && l.value.open && (e.value && (e.value.hidden = !0), J(() => {
600
+ var s;
601
+ e.value && (e.value.hidden = !1), (s = l.value) == null || s.close();
601
602
  }, 401)));
602
603
  }
603
- return (l, p) => (m(), g("dialog", {
604
+ return (s, b) => (m(), g("dialog", {
604
605
  class: "db-drawer",
605
- id: l.id,
606
+ id: s.id,
606
607
  ref_key: "_ref",
607
- ref: d,
608
- onClick: p[0] || (p[0] = async (i) => {
609
- a(i);
608
+ ref: l,
609
+ onClick: b[0] || (b[0] = async (d) => {
610
+ a(d);
610
611
  }),
611
- onKeydown: p[1] || (p[1] = async (i) => a(i)),
612
- "data-backdrop": l.backdrop,
613
- "data-variant": l.variant
612
+ onKeydown: b[1] || (b[1] = async (d) => a(d)),
613
+ "data-backdrop": s.backdrop,
614
+ "data-variant": s.variant
614
615
  }, [
615
616
  I("article", {
616
617
  ref_key: "dialogContainerRef",
617
618
  ref: e,
618
- class: N(v(A)("db-drawer-container", n.class)),
619
- "data-spacing": l.spacing,
620
- "data-width": l.width,
621
- "data-direction": l.direction,
622
- "data-rounded": l.rounded
619
+ class: F(c(D)("db-drawer-container", t.class)),
620
+ "data-spacing": s.spacing,
621
+ "data-width": s.width,
622
+ "data-direction": s.direction,
623
+ "data-rounded": s.rounded
623
624
  }, [
624
- I("header", Xe, [
625
- I("div", He, [
626
- w(l.$slots, "drawer-header")
625
+ I("header", Ra, [
626
+ I("div", za, [
627
+ L(s.$slots, "drawer-header")
627
628
  ]),
628
- O(de, {
629
+ j(he, {
629
630
  class: "button-close-drawer",
630
631
  icon: "cross",
631
632
  variant: "ghost",
632
- id: l.closeButtonId,
633
+ id: s.closeButtonId,
633
634
  noText: !0,
634
- onClick: (i) => a("close")
635
+ onClick: (d) => a("close")
635
636
  }, {
636
- default: R(() => [
637
- L(k(l.closeButtonText ?? v(ce)), 1)
637
+ default: V(() => [
638
+ $(w(s.closeButtonText ?? c(Ce)), 1)
638
639
  ]),
639
640
  _: 1
640
641
  }, 8, ["id", "onClick"])
641
642
  ]),
642
- I("div", je, [
643
- w(l.$slots, "default")
643
+ I("div", Ua, [
644
+ L(s.$slots, "default")
644
645
  ])
645
- ], 10, We)
646
- ], 40, Oe));
646
+ ], 10, Ma)
647
+ ], 40, Na));
647
648
  }
648
- }), be = (t) => {
649
- var d, e;
649
+ }), Ke = (i) => {
650
+ var l, e;
650
651
  const {
651
- target: n
652
- } = t;
653
- return !!(!((d = n == null ? void 0 : n.classList) != null && d.contains("db-navigation-item-expand-button")) && ((e = n == null ? void 0 : n.parentElement) != null && e.classList.contains("db-navigation-item")));
652
+ target: t
653
+ } = i;
654
+ return !!(!((l = t == null ? void 0 : t.classList) != null && l.contains("db-navigation-item-expand-button")) && ((e = t == null ? void 0 : t.parentElement) != null && e.classList.contains("db-navigation-item")));
654
655
  };
655
- class Ke {
656
- constructor(n, d) {
657
- j(this, "element");
658
- j(this, "subNavigation");
659
- j(this, "parentSubNavigation", null);
660
- j(this, "triangleData");
661
- j(this, "initialized", !1);
662
- j(this, "mouseX", 0);
663
- j(this, "mouseY", 0);
656
+ class Pa {
657
+ constructor(t, l) {
658
+ pe(this, "element");
659
+ pe(this, "subNavigation");
660
+ pe(this, "parentSubNavigation", null);
661
+ pe(this, "triangleData");
662
+ pe(this, "initialized", !1);
663
+ pe(this, "mouseX", 0);
664
+ pe(this, "mouseY", 0);
664
665
  var e;
665
- this.element = n, this.subNavigation = d, !(!this.element || !this.subNavigation) && (this.parentSubNavigation = (e = this.element) == null ? void 0 : e.closest(".db-sub-navigation"), this.parentSubNavigation && !this.element.closest(".db-drawer") && this.init());
666
+ this.element = t, this.subNavigation = l, !(!this.element || !this.subNavigation) && (this.parentSubNavigation = (e = this.element) == null ? void 0 : e.closest(".db-sub-navigation"), this.parentSubNavigation && !this.element.closest(".db-drawer") && this.init());
666
667
  }
667
668
  init() {
668
- var d, e;
669
- const n = ((d = this.parentSubNavigation) == null ? void 0 : d.getBoundingClientRect().width) ?? 0;
670
- (e = this.element) == null || e.style.setProperty("--db-navigation-item-inline-size", `${n}px`), this.initialized = !0;
669
+ var l, e;
670
+ const t = ((l = this.parentSubNavigation) == null ? void 0 : l.getBoundingClientRect().width) ?? 0;
671
+ (e = this.element) == null || e.style.setProperty("--db-navigation-item-inline-size", `${t}px`), this.initialized = !0;
671
672
  }
672
673
  enableFollow() {
673
674
  var a;
674
675
  if (!this.initialized || this.triangleData || !this.element || !this.subNavigation)
675
676
  return;
676
- const n = se(this.subNavigation), d = this.element.getBoundingClientRect(), e = ((a = this.parentSubNavigation) == null ? void 0 : a.getBoundingClientRect().width) ?? 0;
677
+ const t = Se(this.subNavigation), l = this.element.getBoundingClientRect(), e = ((a = this.parentSubNavigation) == null ? void 0 : a.getBoundingClientRect().width) ?? 0;
677
678
  this.triangleData = {
678
- itemRect: d,
679
+ itemRect: l,
679
680
  parentElementWidth: e,
680
681
  subNavigationHeight: this.subNavigation.getBoundingClientRect().height,
681
- padding: (e - d.width) / 2,
682
- outsideVX: n.vx,
683
- outsideVY: n.vy
682
+ padding: (e - l.width) / 2,
683
+ outsideVX: t.vx,
684
+ outsideVY: t.vy
684
685
  };
685
686
  }
686
687
  disableFollow() {
@@ -691,44 +692,44 @@ class Ke {
691
692
  }
692
693
  getTriangleTipY() {
693
694
  if (!this.triangleData) return 0;
694
- const n = Math.max(Math.min(this.mouseY, this.triangleData.itemRect.height), 0) + this.triangleData.padding;
695
- return this.triangleData.outsideVY === "bottom" ? n + (this.triangleData.subNavigationHeight - this.triangleData.padding * 2 - this.triangleData.itemRect.height) : n;
695
+ const t = Math.max(Math.min(this.mouseY, this.triangleData.itemRect.height), 0) + this.triangleData.padding;
696
+ return this.triangleData.outsideVY === "bottom" ? t + (this.triangleData.subNavigationHeight - this.triangleData.padding * 2 - this.triangleData.itemRect.height) : t;
696
697
  }
697
698
  hasMouseEnteredSubNavigation() {
698
699
  if (!this.triangleData)
699
700
  return !1;
700
- const n = this.triangleData.outsideVX === "right";
701
- return !!(n && this.mouseX < -1 * this.triangleData.padding || !n && this.mouseX > this.triangleData.parentElementWidth - this.triangleData.padding);
701
+ const t = this.triangleData.outsideVX === "right";
702
+ return !!(t && this.mouseX < -1 * this.triangleData.padding || !t && this.mouseX > this.triangleData.parentElementWidth - this.triangleData.padding);
702
703
  }
703
- getTriangleCoordinates(n) {
704
+ getTriangleCoordinates(t) {
704
705
  if (!this.triangleData)
705
706
  return;
706
- if (n === "fill-gap") {
707
- const l = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, p = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
707
+ if (t === "fill-gap") {
708
+ const s = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, b = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
708
709
  return {
709
- lb: `${p} ${l}`,
710
- lt: `${p} 0`,
710
+ lb: `${b} ${s}`,
711
+ lt: `${b} 0`,
711
712
  rt: "100% 0",
712
- rb: `100% ${l}`
713
+ rb: `100% ${s}`
713
714
  };
714
715
  }
715
- const d = this.getTriangleTipX(), e = this.getTriangleTipY(), a = `${d}px ${e}px`, c = `${d}px ${e}px`;
716
+ const l = this.getTriangleTipX(), e = this.getTriangleTipY(), a = `${l}px ${e}px`, u = `${l}px ${e}px`;
716
717
  return {
717
718
  lb: a,
718
- lt: c,
719
+ lt: u,
719
720
  rt: "100% 0",
720
721
  rb: "100% 100%"
721
722
  };
722
723
  }
723
- followByMouseEvent(n) {
724
+ followByMouseEvent(t) {
724
725
  if (!this.initialized || !this.triangleData || !this.element || !this.subNavigation)
725
726
  return;
726
- this.mouseX = n.clientX - this.triangleData.itemRect.left, this.mouseY = n.clientY - this.triangleData.itemRect.top;
727
- const d = this.hasMouseEnteredSubNavigation(), e = this.getTriangleCoordinates(d ? "fill-gap" : "safe-triangle");
728
- e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), d && (this.triangleData = void 0));
727
+ this.mouseX = t.clientX - this.triangleData.itemRect.left, this.mouseY = t.clientY - this.triangleData.itemRect.top;
728
+ const l = this.hasMouseEnteredSubNavigation(), e = this.getTriangleCoordinates(l ? "fill-gap" : "safe-triangle");
729
+ e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), l && (this.triangleData = void 0));
729
730
  }
730
731
  }
731
- const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-header-drawer-navigation" }, Ze = { class: "db-header-meta-navigation" }, xe = { class: "db-header-secondary-action" }, ea = { class: "db-header-meta-navigation" }, aa = { class: "db-header-navigation-bar" }, na = { class: "db-header-brand-container" }, ta = { class: "db-header-navigation-container" }, da = { class: "db-header-navigation" }, ia = { class: "db-header-primary-action" }, la = { class: "db-header-action-container" }, sa = { class: "db-header-burger-menu-container" }, oa = { class: "db-header-secondary-action" }, Ln = /* @__PURE__ */ E({
732
+ const qa = ["id", "data-width", "data-on-forcing-mobile"], Va = { class: "db-header-drawer-navigation" }, Oa = { class: "db-header-meta-navigation" }, Wa = { class: "db-header-secondary-action" }, Xa = { class: "db-header-meta-navigation" }, Ha = { class: "db-header-navigation-bar" }, ja = { class: "db-header-brand-container" }, Ya = { class: "db-header-navigation-container" }, Ka = { class: "db-header-navigation" }, Ja = { class: "db-header-primary-action" }, Qa = { class: "db-header-action-container" }, Za = { class: "db-header-burger-menu-container" }, xa = { class: "db-header-secondary-action" }, Wi = /* @__PURE__ */ M({
732
733
  __name: "header",
733
734
  props: {
734
735
  brand: {},
@@ -747,16 +748,16 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
747
748
  onToggle: { type: Function, default: void 0 },
748
749
  width: { default: void 0 }
749
750
  },
750
- setup(t) {
751
- const n = t, d = u(ee), e = u(!1), a = u(!1), c = u(null);
752
- U(() => {
753
- e.value = !0, d.value = n.id || "header-" + G();
754
- }), z(
751
+ setup(i) {
752
+ const t = i, l = n(ye), e = n(!1), a = n(!1), u = n(null);
753
+ W(() => {
754
+ e.value = !0, l.value = t.id || "header-" + Y();
755
+ }), A(
755
756
  () => [e.value],
756
757
  () => {
757
- if (e.value && document && d.value && n.forceMobile) {
758
- const i = document.getElementById(d.value);
759
- i && re(i, {
758
+ if (e.value && document && l.value && t.forceMobile) {
759
+ const d = document.getElementById(l.value);
760
+ d && Ve(d, {
760
761
  key: "data-force-mobile",
761
762
  value: "true"
762
763
  }), a.value = !0;
@@ -767,83 +768,83 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
767
768
  flush: "post"
768
769
  }
769
770
  );
770
- function l() {
771
- n.onToggle && n.onToggle(!n.drawerOpen);
771
+ function s() {
772
+ t.onToggle && t.onToggle(!t.drawerOpen);
772
773
  }
773
- function p(i) {
774
- be(i) && l();
774
+ function b(d) {
775
+ Ke(d) && s();
775
776
  }
776
- return (i, h) => (m(), g("header", {
777
+ return (d, v) => (m(), g("header", {
777
778
  ref_key: "_ref",
778
- ref: c,
779
- class: N(v(A)("db-header", n.class)),
780
- id: d.value,
781
- "data-width": i.width,
782
- "data-on-forcing-mobile": i.forceMobile && !a.value
779
+ ref: u,
780
+ class: F(c(D)("db-header", t.class)),
781
+ id: l.value,
782
+ "data-width": d.width,
783
+ "data-on-forcing-mobile": d.forceMobile && !a.value
783
784
  }, [
784
- O(Ye, {
785
+ j(Ga, {
785
786
  class: "db-header-drawer",
786
787
  spacing: "small",
787
788
  rounded: !0,
788
- open: i.drawerOpen,
789
- onClose: () => l()
789
+ open: d.drawerOpen,
790
+ onClose: () => s()
790
791
  }, {
791
- default: R(() => [
792
- I("div", Qe, [
792
+ default: V(() => [
793
+ I("div", Va, [
793
794
  I("div", {
794
795
  class: "db-header-navigation",
795
- onClick: h[0] || (h[0] = async (s) => p(s))
796
+ onClick: v[0] || (v[0] = async (r) => b(r))
796
797
  }, [
797
- w(i.$slots, "default")
798
+ L(d.$slots, "default")
798
799
  ]),
799
- I("div", Ze, [
800
- w(i.$slots, "meta-navigation")
800
+ I("div", Oa, [
801
+ L(d.$slots, "meta-navigation")
801
802
  ])
802
803
  ]),
803
- I("div", xe, [
804
- w(i.$slots, "secondary-action")
804
+ I("div", Wa, [
805
+ L(d.$slots, "secondary-action")
805
806
  ])
806
807
  ]),
807
808
  _: 3
808
809
  }, 8, ["open", "onClose"]),
809
- I("div", ea, [
810
- w(i.$slots, "meta-navigation")
810
+ I("div", Xa, [
811
+ L(d.$slots, "meta-navigation")
811
812
  ]),
812
- I("div", aa, [
813
- I("div", na, [
814
- w(i.$slots, "brand")
813
+ I("div", Ha, [
814
+ I("div", ja, [
815
+ L(d.$slots, "brand")
815
816
  ]),
816
- I("div", ta, [
817
- I("div", da, [
818
- w(i.$slots, "default")
817
+ I("div", Ya, [
818
+ I("div", Ka, [
819
+ L(d.$slots, "default")
819
820
  ]),
820
- I("div", ia, [
821
- w(i.$slots, "primary-action")
821
+ I("div", Ja, [
822
+ L(d.$slots, "primary-action")
822
823
  ])
823
824
  ]),
824
- I("div", la, [
825
- I("div", sa, [
826
- O(de, {
825
+ I("div", Qa, [
826
+ I("div", Za, [
827
+ j(he, {
827
828
  icon: "menu",
828
829
  variant: "ghost",
829
- id: d.value + "-burger-menu",
830
+ id: l.value + "-burger-menu",
830
831
  noText: !0,
831
- onClick: () => l()
832
+ onClick: () => s()
832
833
  }, {
833
- default: R(() => [
834
- L(k(i.burgerMenuLabel ?? v(Le)), 1)
834
+ default: V(() => [
835
+ $(w(d.burgerMenuLabel ?? c(ba)), 1)
835
836
  ]),
836
837
  _: 1
837
838
  }, 8, ["id", "onClick"])
838
839
  ]),
839
- I("div", oa, [
840
- w(i.$slots, "secondary-action")
840
+ I("div", xa, [
841
+ L(d.$slots, "secondary-action")
841
842
  ])
842
843
  ])
843
844
  ])
844
- ], 10, Je));
845
+ ], 10, qa));
845
846
  }
846
- }), ua = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], En = /* @__PURE__ */ E({
847
+ }), et = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], Xi = /* @__PURE__ */ M({
847
848
  __name: "icon",
848
849
  props: {
849
850
  variant: { default: void 0 },
@@ -857,27 +858,27 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
857
858
  icon: { default: void 0 },
858
859
  text: { default: void 0 }
859
860
  },
860
- setup(t) {
861
- const n = t, d = u(null);
861
+ setup(i) {
862
+ const t = i, l = n(null);
862
863
  return (e, a) => (m(), g("span", {
863
864
  "aria-hidden": "true",
864
865
  ref_key: "_ref",
865
- ref: d,
866
+ ref: l,
866
867
  id: e.id,
867
- class: N(v(A)("db-icon", n.class)),
868
+ class: F(c(D)("db-icon", t.class)),
868
869
  "data-icon": e.icon,
869
870
  "data-icon-weight": e.weight,
870
871
  "data-icon-variant": e.variant
871
872
  }, [
872
- e.text ? (m(), g(C, { key: 0 }, [
873
- L(k(e.text), 1)
874
- ], 64)) : w(e.$slots, "default", { key: 1 })
875
- ], 10, ua));
873
+ e.text ? (m(), g(G, { key: 0 }, [
874
+ $(w(e.text), 1)
875
+ ], 64)) : L(e.$slots, "default", { key: 1 })
876
+ ], 10, et));
876
877
  }
877
- }), ra = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-icon-after"], fa = ["for"], ca = ["aria-invalid", "data-custom-validity", "id", "name", "type", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "list", "aria-describedby"], va = ["id"], pa = ["value"], ha = {
878
+ }), at = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-icon-after"], tt = ["for"], it = ["aria-invalid", "data-custom-validity", "id", "name", "type", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "list", "aria-describedby"], lt = ["id"], ot = ["value"], dt = {
878
879
  "data-visually-hidden": "true",
879
880
  role: "status"
880
- }, Nn = /* @__PURE__ */ E({
881
+ }, nt = /* @__PURE__ */ M({
881
882
  __name: "input",
882
883
  props: {
883
884
  dataList: { default: void 0 },
@@ -904,9 +905,10 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
904
905
  onBlur: { type: Function, default: void 0 },
905
906
  focus: { type: Function, default: void 0 },
906
907
  onFocus: { type: Function, default: void 0 },
908
+ ariaDescribedBy: { default: void 0 },
909
+ form: { default: void 0 },
907
910
  validation: { default: void 0 },
908
911
  disabled: { type: Boolean, default: void 0 },
909
- form: { default: void 0 },
910
912
  label: { default: void 0 },
911
913
  name: { default: void 0 },
912
914
  required: { type: Boolean, default: void 0 },
@@ -926,142 +928,142 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
926
928
  size: { default: void 0 }
927
929
  },
928
930
  emits: ["update:value"],
929
- setup(t, { emit: n }) {
930
- const d = n, e = t, a = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(void 0), h = u(""), s = u(""), B = u(""), $ = u(null);
931
- U(() => {
932
- const r = e.id ?? `input-${G()}`;
933
- a.value = r, c.value = r + K, l.value = r + J, p.value = r + Q, i.value = r + ue;
934
- }), z(
931
+ setup(i, { emit: t }) {
932
+ const l = t, e = i, a = n(void 0), u = n(void 0), s = n(void 0), b = n(void 0), d = n(void 0), v = n(""), r = n(""), _ = n(""), S = n(null);
933
+ W(() => {
934
+ const p = e.id ?? `input-${Y()}`;
935
+ a.value = p, u.value = p + oe, s.value = p + de, b.value = p + ne, d.value = p + Pe;
936
+ }), A(
935
937
  () => [a.value],
936
938
  () => {
937
939
  if (a.value) {
938
- const r = a.value + K;
939
- c.value = r, l.value = a.value + J, p.value = a.value + Q, i.value = e.dataListId ?? a.value + ue, q(e.message, e.showMessage) && (h.value = r);
940
+ const p = a.value + oe;
941
+ u.value = p, s.value = a.value + de, b.value = a.value + ne, d.value = e.dataListId ?? a.value + Pe, ee(e.message, e.showMessage) && (v.value = p);
940
942
  }
941
943
  },
942
944
  {
943
945
  immediate: !0,
944
946
  flush: "post"
945
947
  }
946
- ), z(
948
+ ), A(
947
949
  () => [e.value],
948
950
  () => {
949
- s.value = e.value;
951
+ r.value = e.value;
950
952
  },
951
953
  {
952
954
  immediate: !0,
953
955
  flush: "post"
954
956
  }
955
957
  );
956
- function D(r) {
957
- s.value = r.target.value, e.onInput && e.onInput(r), e.input && e.input(r);
958
+ function O(p) {
959
+ r.value = p.target.value, e.onInput && e.onInput(p), e.input && e.input(p);
958
960
  }
959
- function _(r) {
960
- var T, b, S;
961
- e.onChange && e.onChange(r), e.change && e.change(r), ae(d, r), !((T = $.value) != null && T.validity.valid) || e.validation === "invalid" ? (h.value = p.value, Y() && (B.value = e.invalidMessage ?? ((b = $.value) == null ? void 0 : b.validationMessage) ?? x, H(() => B.value = "", 1e3))) : e.validation === "valid" || (S = $.value) != null && S.validity.valid && (e.required || e.minLength || e.maxLength || e.pattern) ? (h.value = l.value, Y() && (B.value = e.validMessage ?? Z, H(() => B.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = c.value : h.value = "";
961
+ function T(p) {
962
+ var E, y, z;
963
+ e.onChange && e.onChange(p), e.change && e.change(p), ve(l, p), !((E = S.value) != null && E.validity.valid) || e.validation === "invalid" ? (v.value = b.value, le() && (_.value = e.invalidMessage ?? ((y = S.value) == null ? void 0 : y.validationMessage) ?? ue, J(() => _.value = "", 1e3))) : e.validation === "valid" || (z = S.value) != null && z.validity.valid && (e.required || e.minLength || e.maxLength || e.pattern) ? (v.value = s.value, le() && (_.value = e.validMessage ?? se, J(() => _.value = "", 1e3))) : ee(e.message, e.showMessage) ? v.value = u.value : v.value = "";
962
964
  }
963
- function f(r) {
964
- e.onBlur && e.onBlur(r), e.blur && e.blur(r);
965
+ function h(p) {
966
+ e.onBlur && e.onBlur(p), e.blur && e.blur(p);
965
967
  }
966
- function o(r) {
967
- e.onFocus && e.onFocus(r), e.focus && e.focus(r);
968
+ function f(p) {
969
+ e.onFocus && e.onFocus(p), e.focus && e.focus(p);
968
970
  }
969
- function y(r) {
971
+ function B(p) {
970
972
  return Array.from(
971
- (we(r) ? r.map((T) => ({
972
- value: T,
973
+ (ca(p) ? p.map((E) => ({
974
+ value: E,
973
975
  label: void 0
974
- })) : r) || []
976
+ })) : p) || []
975
977
  );
976
978
  }
977
- return (r, T) => (m(), g("div", {
978
- class: N(v(A)("db-input", e.class)),
979
- "data-variant": r.variant,
980
- "data-hide-label": v(P)(r.showLabel),
981
- "data-hide-icon": v(P)(r.showIcon),
982
- "data-icon": r.icon,
983
- "data-icon-after": r.iconAfter,
984
- "data-hide-icon-after": v(P)(r.showIcon)
979
+ return (p, E) => (m(), g("div", {
980
+ class: F(c(D)("db-input", e.class)),
981
+ "data-variant": p.variant,
982
+ "data-hide-label": c(H)(p.showLabel),
983
+ "data-hide-icon": c(H)(p.showIcon),
984
+ "data-icon": p.icon,
985
+ "data-icon-after": p.iconAfter,
986
+ "data-hide-icon-after": c(H)(p.showIcon)
985
987
  }, [
986
- I("label", { for: a.value }, k(r.label ?? v(le)), 9, fa),
988
+ I("label", { for: a.value }, w(p.label ?? c(ie)), 9, tt),
987
989
  I("input", {
988
- "aria-invalid": r.validation === "invalid",
989
- "data-custom-validity": r.validation,
990
+ "aria-invalid": p.validation === "invalid",
991
+ "data-custom-validity": p.validation,
990
992
  ref_key: "_ref",
991
- ref: $,
993
+ ref: S,
992
994
  id: a.value,
993
- name: r.name,
994
- type: r.type || "text",
995
- placeholder: r.placeholder ?? v(fe),
996
- disabled: r.disabled,
997
- required: r.required,
998
- step: r.step,
999
- value: r.value ?? s.value,
1000
- maxLength: r.maxLength,
1001
- minLength: r.minLength,
1002
- max: r.max,
1003
- min: r.min,
1004
- readOnly: r.readOnly,
1005
- form: r.form,
1006
- pattern: r.pattern,
1007
- size: r.size,
1008
- autoComplete: r.autocomplete,
1009
- autoFocus: r.autofocus,
1010
- onInput: T[0] || (T[0] = async (b) => D(b)),
1011
- onChange: T[1] || (T[1] = async (b) => _(b)),
1012
- onBlur: T[2] || (T[2] = async (b) => f(b)),
1013
- onFocus: T[3] || (T[3] = async (b) => o(b)),
1014
- list: r.dataList && i.value,
1015
- "aria-describedby": h.value
1016
- }, null, 40, ca),
1017
- r.dataList ? (m(), g("datalist", {
995
+ name: p.name,
996
+ type: p.type || "text",
997
+ placeholder: p.placeholder ?? c(Oe),
998
+ disabled: p.disabled,
999
+ required: p.required,
1000
+ step: p.step,
1001
+ value: p.value ?? r.value,
1002
+ maxLength: p.maxLength,
1003
+ minLength: p.minLength,
1004
+ max: p.max,
1005
+ min: p.min,
1006
+ readOnly: p.readOnly,
1007
+ form: p.form,
1008
+ pattern: p.pattern,
1009
+ size: p.size,
1010
+ autoComplete: p.autocomplete,
1011
+ autoFocus: p.autofocus,
1012
+ onInput: E[0] || (E[0] = async (y) => O(y)),
1013
+ onChange: E[1] || (E[1] = async (y) => T(y)),
1014
+ onBlur: E[2] || (E[2] = async (y) => h(y)),
1015
+ onFocus: E[3] || (E[3] = async (y) => f(y)),
1016
+ list: p.dataList && d.value,
1017
+ "aria-describedby": p.ariaDescribedBy ?? v.value
1018
+ }, null, 40, it),
1019
+ p.dataList ? (m(), g("datalist", {
1018
1020
  key: 0,
1019
- id: i.value
1021
+ id: d.value
1020
1022
  }, [
1021
- (m(!0), g(C, null, te(y(r.dataList), (b) => (m(), g("option", {
1022
- key: i.value + "-option-" + b.value,
1023
- value: b.value
1024
- }, k(b.label), 9, pa))), 128))
1025
- ], 8, va)) : M("", !0),
1026
- w(r.$slots, "default"),
1027
- v(q)(r.message, r.showMessage) ? (m(), X(W, {
1023
+ (m(!0), g(G, null, ce(B(p.dataList), (y) => (m(), g("option", {
1024
+ key: d.value + "-option-" + y.value,
1025
+ value: y.value
1026
+ }, w(y.label), 9, ot))), 128))
1027
+ ], 8, lt)) : R("", !0),
1028
+ L(p.$slots, "default"),
1029
+ c(ee)(p.message, p.showMessage) ? (m(), x(Q, {
1028
1030
  key: 1,
1029
1031
  size: "small",
1030
- icon: r.messageIcon,
1031
- id: c.value
1032
+ icon: p.messageIcon,
1033
+ id: u.value
1032
1034
  }, {
1033
- default: R(() => [
1034
- L(k(r.message), 1)
1035
+ default: V(() => [
1036
+ $(w(p.message), 1)
1035
1037
  ]),
1036
1038
  _: 1
1037
- }, 8, ["icon", "id"])) : M("", !0),
1038
- O(W, {
1039
+ }, 8, ["icon", "id"])) : R("", !0),
1040
+ j(Q, {
1039
1041
  size: "small",
1040
1042
  semantic: "successful",
1041
- id: l.value
1043
+ id: s.value
1042
1044
  }, {
1043
- default: R(() => [
1044
- L(k(r.validMessage ?? v(Z)), 1)
1045
+ default: V(() => [
1046
+ $(w(p.validMessage ?? c(se)), 1)
1045
1047
  ]),
1046
1048
  _: 1
1047
1049
  }, 8, ["id"]),
1048
- O(W, {
1050
+ j(Q, {
1049
1051
  size: "small",
1050
1052
  semantic: "critical",
1051
- id: p.value
1053
+ id: b.value
1052
1054
  }, {
1053
- default: R(() => {
1054
- var b;
1055
+ default: V(() => {
1056
+ var y;
1055
1057
  return [
1056
- L(k(r.invalidMessage ?? ((b = $.value) == null ? void 0 : b.validationMessage) ?? v(x)), 1)
1058
+ $(w(p.invalidMessage ?? (((y = S.value) == null ? void 0 : y.validationMessage) || c(ue))), 1)
1057
1059
  ];
1058
1060
  }),
1059
1061
  _: 1
1060
1062
  }, 8, ["id"]),
1061
- I("span", ha, k(B.value), 1)
1062
- ], 10, ra));
1063
+ I("span", dt, w(_.value), 1)
1064
+ ], 10, at));
1063
1065
  }
1064
- }), ma = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "aria-selected", "aria-label", "aria-current", "data-size", "data-hide-icon-after", "data-variant", "data-content"], An = /* @__PURE__ */ E({
1066
+ }), st = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "aria-selected", "aria-label", "aria-current", "data-size", "data-hide-icon-after", "data-variant", "data-content"], Hi = /* @__PURE__ */ M({
1065
1067
  __name: "link",
1066
1068
  props: {
1067
1069
  content: { default: void 0 },
@@ -1087,44 +1089,45 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1087
1089
  showIcon: { type: Boolean, default: void 0 },
1088
1090
  text: { default: void 0 }
1089
1091
  },
1090
- setup(t) {
1091
- const n = t, d = u(null);
1092
+ setup(i) {
1093
+ const t = i, l = n(null);
1092
1094
  function e(a) {
1093
- n.onClick && n.onClick(a);
1095
+ t.onClick && t.onClick(a);
1094
1096
  }
1095
- return (a, c) => (m(), g("a", {
1097
+ return (a, u) => (m(), g("a", {
1096
1098
  ref_key: "_ref",
1097
- ref: d,
1099
+ ref: l,
1098
1100
  id: a.id,
1099
- class: N(v(A)("db-link", n.class)),
1101
+ class: F(c(D)("db-link", t.class)),
1100
1102
  href: a.href,
1101
1103
  target: a.target,
1102
1104
  rel: a.rel,
1103
1105
  role: a.role,
1104
1106
  hrefLang: a.hreflang,
1105
- "aria-disabled": v(V)(a.disabled),
1107
+ "aria-disabled": c(X)(a.disabled),
1106
1108
  tabIndex: a.disabled ? -1 : 0,
1107
1109
  "aria-selected": a.selected,
1108
1110
  "aria-label": a.label,
1109
1111
  "aria-current": a.current,
1110
1112
  "data-size": a.size,
1111
- "data-hide-icon-after": v(P)(a.showIcon ?? !0),
1113
+ "data-hide-icon-after": c(H)(a.showIcon ?? !0),
1112
1114
  "data-variant": a.variant,
1113
1115
  "data-content": a.content || "internal",
1114
- onClick: c[0] || (c[0] = async (l) => e(l))
1116
+ onClick: u[0] || (u[0] = async (s) => e(s))
1115
1117
  }, [
1116
- a.text ? (m(), g(C, { key: 0 }, [
1117
- L(k(a.text), 1)
1118
- ], 64)) : w(a.$slots, "default", { key: 1 })
1119
- ], 10, ma));
1118
+ a.text ? (m(), g(G, { key: 0 }, [
1119
+ $(w(a.text), 1)
1120
+ ], 64)) : L(a.$slots, "default", { key: 1 })
1121
+ ], 10, st));
1120
1122
  }
1121
- }), ba = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], ga = { class: "db-main" }, Fn = /* @__PURE__ */ E({
1123
+ }), ut = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], ji = /* @__PURE__ */ M({
1122
1124
  __name: "page",
1123
1125
  props: {
1124
1126
  documentOverflow: { default: void 0 },
1125
1127
  fadeIn: { type: Boolean, default: void 0 },
1126
1128
  footer: {},
1127
1129
  header: {},
1130
+ mainClass: { default: void 0 },
1128
1131
  variant: { default: void 0 },
1129
1132
  children: { default: void 0 },
1130
1133
  className: { default: void 0 },
@@ -1133,31 +1136,33 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1133
1136
  id: { default: void 0 },
1134
1137
  autofocus: { type: Boolean }
1135
1138
  },
1136
- setup(t) {
1137
- const n = t, d = u(!1), e = u(null);
1138
- return typeof window < "u" && document && (n.documentOverflow === "hidden" || n.variant === "fixed" && n.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), U(() => {
1139
- d.value = !n.fadeIn, document && n.fadeIn ? document.fonts.ready.then(() => {
1140
- d.value = !0;
1141
- }) : d.value = !0;
1142
- }), Be(() => {
1139
+ setup(i) {
1140
+ const t = i, l = n(!1), e = n(null);
1141
+ return typeof window < "u" && document && (t.documentOverflow === "hidden" || t.variant === "fixed" && t.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), W(() => {
1142
+ l.value = !t.fadeIn, document && t.fadeIn ? document.fonts.ready.then(() => {
1143
+ l.value = !0;
1144
+ }) : l.value = !0;
1145
+ }), qe(() => {
1143
1146
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
1144
- }), (a, c) => (m(), g("div", {
1147
+ }), (a, u) => (m(), g("div", {
1145
1148
  ref_key: "_ref",
1146
1149
  ref: e,
1147
1150
  id: a.id,
1148
- class: N(v(A)("db-page", n.class)),
1151
+ class: F(c(D)("db-page", t.class)),
1149
1152
  "data-variant": a.variant,
1150
1153
  "data-fade-in": a.fadeIn,
1151
- "data-fonts-loaded": v(V)(d.value)
1154
+ "data-fonts-loaded": c(X)(l.value)
1152
1155
  }, [
1153
- w(a.$slots, "header"),
1154
- I("main", ga, [
1155
- w(a.$slots, "default")
1156
- ]),
1157
- w(a.$slots, "footer")
1158
- ], 10, ba));
1156
+ L(a.$slots, "header"),
1157
+ I("main", {
1158
+ class: F(c(D)("db-main", a.mainClass))
1159
+ }, [
1160
+ L(a.$slots, "default")
1161
+ ], 2),
1162
+ L(a.$slots, "footer")
1163
+ ], 10, ut));
1159
1164
  }
1160
- }), ya = ["data-size", "data-hide-label", "for"], Ba = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"], Tn = /* @__PURE__ */ E({
1165
+ }), rt = ["data-size", "data-hide-label", "for"], ct = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"], Yi = /* @__PURE__ */ M({
1161
1166
  __name: "radio",
1162
1167
  props: {
1163
1168
  describedbyid: { default: void 0 },
@@ -1172,9 +1177,10 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1172
1177
  onBlur: { type: Function, default: void 0 },
1173
1178
  focus: { type: Function, default: void 0 },
1174
1179
  onFocus: { type: Function, default: void 0 },
1180
+ ariaDescribedBy: {},
1181
+ form: {},
1175
1182
  validation: { default: void 0 },
1176
1183
  disabled: { type: Boolean, default: void 0 },
1177
- form: {},
1178
1184
  label: { default: void 0 },
1179
1185
  name: { default: void 0 },
1180
1186
  required: { type: Boolean, default: void 0 },
@@ -1184,58 +1190,58 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1184
1190
  size: { default: void 0 }
1185
1191
  },
1186
1192
  emits: ["update:value"],
1187
- setup(t, { emit: n }) {
1188
- const d = n, e = t, a = u(!1), c = u(void 0), l = u(null);
1189
- U(() => {
1190
- a.value = !0, c.value = e.id ?? `radio-${G()}`;
1191
- }), z(
1192
- () => [a.value, l.value, e.checked],
1193
+ setup(i, { emit: t }) {
1194
+ const l = t, e = i, a = n(!1), u = n(void 0), s = n(null);
1195
+ W(() => {
1196
+ a.value = !0, u.value = e.id ?? `radio-${Y()}`;
1197
+ }), A(
1198
+ () => [a.value, s.value, e.checked],
1193
1199
  () => {
1194
- e.checked && a.value && l.value && (l.value.checked = !0);
1200
+ e.checked && a.value && s.value && (s.value.checked = !0);
1195
1201
  },
1196
1202
  {
1197
1203
  immediate: !0,
1198
1204
  flush: "post"
1199
1205
  }
1200
1206
  );
1201
- function p(s) {
1202
- e.onChange && e.onChange(s), e.change && e.change(s), ae(d, s);
1207
+ function b(r) {
1208
+ e.onChange && e.onChange(r), e.change && e.change(r), ve(l, r);
1203
1209
  }
1204
- function i(s) {
1205
- e.onBlur && e.onBlur(s), e.blur && e.blur(s);
1210
+ function d(r) {
1211
+ e.onBlur && e.onBlur(r), e.blur && e.blur(r);
1206
1212
  }
1207
- function h(s) {
1208
- e.onFocus && e.onFocus(s), e.focus && e.focus(s);
1213
+ function v(r) {
1214
+ e.onFocus && e.onFocus(r), e.focus && e.focus(r);
1209
1215
  }
1210
- return (s, B) => (m(), g("label", {
1211
- "data-size": s.size,
1212
- "data-hide-label": v(P)(s.showLabel),
1213
- class: N(v(A)("db-radio", e.class)),
1214
- for: c.value
1216
+ return (r, _) => (m(), g("label", {
1217
+ "data-size": r.size,
1218
+ "data-hide-label": c(H)(r.showLabel),
1219
+ class: F(c(D)("db-radio", e.class)),
1220
+ for: u.value
1215
1221
  }, [
1216
1222
  I("input", {
1217
1223
  type: "radio",
1218
- "aria-invalid": s.validation === "invalid",
1219
- "data-custom-validity": s.validation,
1224
+ "aria-invalid": r.validation === "invalid",
1225
+ "data-custom-validity": r.validation,
1220
1226
  ref_key: "_ref",
1221
- ref: l,
1222
- id: c.value,
1223
- name: s.name,
1224
- checked: s.checked,
1225
- disabled: s.disabled,
1226
- "aria-describedby": s.describedbyid,
1227
- value: s.value,
1228
- required: s.required,
1229
- onChange: B[0] || (B[0] = async ($) => p($)),
1230
- onBlur: B[1] || (B[1] = async ($) => i($)),
1231
- onFocus: B[2] || (B[2] = async ($) => h($))
1232
- }, null, 40, Ba),
1233
- s.label ? (m(), g(C, { key: 0 }, [
1234
- L(k(s.label), 1)
1235
- ], 64)) : w(s.$slots, "default", { key: 1 })
1236
- ], 10, ya));
1227
+ ref: s,
1228
+ id: u.value,
1229
+ name: r.name,
1230
+ checked: r.checked,
1231
+ disabled: r.disabled,
1232
+ "aria-describedby": r.describedbyid,
1233
+ value: r.value,
1234
+ required: r.required,
1235
+ onChange: _[0] || (_[0] = async (S) => b(S)),
1236
+ onBlur: _[1] || (_[1] = async (S) => d(S)),
1237
+ onFocus: _[2] || (_[2] = async (S) => v(S))
1238
+ }, null, 40, ct),
1239
+ r.label ? (m(), g(G, { key: 0 }, [
1240
+ $(w(r.label), 1)
1241
+ ], 64)) : L(r.$slots, "default", { key: 1 })
1242
+ ], 10, rt));
1237
1243
  }
1238
- }), ka = ["id", "data-spacing", "data-width"], Sn = /* @__PURE__ */ E({
1244
+ }), vt = ["id", "data-spacing", "data-width"], Ki = /* @__PURE__ */ M({
1239
1245
  __name: "section",
1240
1246
  props: {
1241
1247
  children: { default: void 0 },
@@ -1247,29 +1253,27 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1247
1253
  spacing: { default: void 0 },
1248
1254
  width: { default: void 0 }
1249
1255
  },
1250
- setup(t) {
1251
- const n = t, d = u(ee), e = u(null);
1252
- return U(() => {
1253
- d.value = n.id || "section-" + G();
1254
- }), (a, c) => (m(), g("section", {
1256
+ setup(i) {
1257
+ const t = i, l = n(ye), e = n(null);
1258
+ return W(() => {
1259
+ l.value = t.id || "section-" + Y();
1260
+ }), (a, u) => (m(), g("section", {
1255
1261
  ref_key: "_ref",
1256
1262
  ref: e,
1257
- id: d.value,
1258
- class: N(v(A)("db-section", n.class)),
1263
+ id: l.value,
1264
+ class: F(c(D)("db-section", t.class)),
1259
1265
  "data-spacing": a.spacing || "medium",
1260
1266
  "data-width": a.width
1261
1267
  }, [
1262
- w(a.$slots, "default")
1263
- ], 10, ka));
1268
+ L(a.$slots, "default")
1269
+ ], 10, vt));
1264
1270
  }
1265
- }), wa = ["data-variant", "data-hide-label", "data-icon", "data-hide-icon"], Ia = ["for"], _a = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "aria-describedby"], $a = ["label"], La = ["value", "selected", "disabled"], Ea = ["value", "disabled", "selected"], Na = ["id"], Aa = {
1271
+ }), ft = ["data-variant", "data-hide-label", "data-icon", "data-hide-icon"], pt = ["for"], ht = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], mt = ["label"], bt = ["value", "selected", "disabled"], gt = ["value", "disabled", "selected"], yt = ["id"], kt = {
1266
1272
  "data-visually-hidden": "true",
1267
1273
  role: "status"
1268
- }, Cn = /* @__PURE__ */ E({
1274
+ }, Ji = /* @__PURE__ */ M({
1269
1275
  __name: "select",
1270
1276
  props: {
1271
- description: {},
1272
- options: { default: void 0 },
1273
1277
  children: { default: void 0 },
1274
1278
  className: { default: void 0 },
1275
1279
  class: {},
@@ -1285,9 +1289,10 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1285
1289
  onFocus: { type: Function, default: void 0 },
1286
1290
  input: { type: Function, default: void 0 },
1287
1291
  onInput: { type: Function, default: void 0 },
1292
+ ariaDescribedBy: {},
1293
+ form: {},
1288
1294
  validation: { default: void 0 },
1289
1295
  disabled: { type: Boolean, default: void 0 },
1290
- form: {},
1291
1296
  label: { default: void 0 },
1292
1297
  name: { default: void 0 },
1293
1298
  required: { type: Boolean, default: void 0 },
@@ -1302,145 +1307,149 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1302
1307
  messageIcon: { default: void 0 },
1303
1308
  autocomplete: { default: void 0 },
1304
1309
  showMessage: { type: Boolean, default: void 0 },
1310
+ multiple: { type: Boolean, default: void 0 },
1311
+ options: { default: void 0 },
1305
1312
  showIcon: { type: Boolean, default: void 0 },
1306
1313
  size: { default: void 0 }
1307
1314
  },
1308
1315
  emits: ["update:value"],
1309
- setup(t, { emit: n }) {
1310
- const d = n, e = t, a = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(""), h = u(""), s = u(""), B = u(!1), $ = u(""), D = u(null);
1311
- U(() => {
1312
- B.value = !0;
1313
- const b = e.id ?? `select-${G()}`;
1314
- a.value = b, c.value = b + K, l.value = b + J, p.value = b + Q, i.value = b + oe;
1315
- }), z(
1316
- () => [a.value, B.value],
1316
+ setup(i, { emit: t }) {
1317
+ const l = t, e = i, a = n(void 0), u = n(void 0), s = n(void 0), b = n(void 0), d = n(""), v = n(""), r = n(""), _ = n(!1), S = n(""), O = n(null);
1318
+ W(() => {
1319
+ _.value = !0;
1320
+ const y = e.id ?? `select-${Y()}`;
1321
+ a.value = y, u.value = y + oe, s.value = y + de, b.value = y + ne, d.value = y + Ae;
1322
+ }), A(
1323
+ () => [a.value, _.value],
1317
1324
  () => {
1318
- if (a.value && B.value) {
1319
- const b = a.value + K, S = a.value + oe;
1320
- c.value = b, l.value = a.value + J, p.value = a.value + Q, i.value = S, q(e.message, e.showMessage) ? h.value = b : h.value = S, B.value = !1;
1325
+ if (a.value && _.value) {
1326
+ const y = a.value + oe, z = a.value + Ae;
1327
+ u.value = y, s.value = a.value + de, b.value = a.value + ne, d.value = z, ee(e.message, e.showMessage) ? v.value = y : v.value = z, _.value = !1;
1321
1328
  }
1322
1329
  },
1323
1330
  {
1324
1331
  immediate: !0,
1325
1332
  flush: "post"
1326
1333
  }
1327
- ), z(
1334
+ ), A(
1328
1335
  () => [e.value],
1329
1336
  () => {
1330
- s.value = e.value;
1337
+ r.value = e.value;
1331
1338
  },
1332
1339
  {
1333
1340
  immediate: !0,
1334
1341
  flush: "post"
1335
1342
  }
1336
1343
  );
1337
- function _(b) {
1338
- e.onClick && e.onClick(b);
1344
+ function T(y) {
1345
+ e.onClick && e.onClick(y);
1339
1346
  }
1340
- function f(b) {
1341
- s.value = b.target.value, e.onInput && e.onInput(b), e.input && e.input(b);
1347
+ function h(y) {
1348
+ r.value = y.target.value, e.onInput && e.onInput(y), e.input && e.input(y);
1342
1349
  }
1343
- function o(b) {
1344
- var S, F, ne;
1345
- e.onChange && e.onChange(b), e.change && e.change(b), ae(d, b), !((S = D.value) != null && S.validity.valid) || e.validation === "invalid" ? (h.value = p.value, Y() && ($.value = e.invalidMessage ?? ((F = D.value) == null ? void 0 : F.validationMessage) ?? x, H(() => $.value = "", 1e3))) : e.validation === "valid" || (ne = D.value) != null && ne.validity.valid && e.required ? (h.value = l.value, Y() && ($.value = e.validMessage ?? Z, H(() => $.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = c.value : h.value = i.value;
1350
+ function f(y) {
1351
+ var z, C, U;
1352
+ e.onChange && e.onChange(y), e.change && e.change(y), ve(l, y), !((z = O.value) != null && z.validity.valid) || e.validation === "invalid" ? (v.value = b.value, le() && (S.value = e.invalidMessage ?? ((C = O.value) == null ? void 0 : C.validationMessage) ?? ue, J(() => S.value = "", 1e3))) : e.validation === "valid" || (U = O.value) != null && U.validity.valid && e.required ? (v.value = s.value, le() && (S.value = e.validMessage ?? se, J(() => S.value = "", 1e3))) : ee(e.message, e.showMessage) ? v.value = u.value : v.value = d.value;
1346
1353
  }
1347
- function y(b) {
1348
- e.onBlur && e.onBlur(b), e.blur && e.blur(b);
1354
+ function B(y) {
1355
+ e.onBlur && e.onBlur(y), e.blur && e.blur(y);
1349
1356
  }
1350
- function r(b) {
1351
- e.onFocus && e.onFocus(b), e.focus && e.focus(b);
1357
+ function p(y) {
1358
+ e.onFocus && e.onFocus(y), e.focus && e.focus(y);
1352
1359
  }
1353
- function T(b) {
1354
- return b.label ?? b.value.toString();
1360
+ function E(y) {
1361
+ var z;
1362
+ return y.label ?? ((z = y.value) == null ? void 0 : z.toString());
1355
1363
  }
1356
- return (b, S) => (m(), g("div", {
1357
- class: N(v(A)("db-select", e.class)),
1358
- "data-variant": b.variant,
1359
- "data-hide-label": v(P)(b.showLabel),
1360
- "data-icon": b.icon,
1361
- "data-hide-icon": v(P)(b.showIcon)
1364
+ return (y, z) => (m(), g("div", {
1365
+ class: F(c(D)("db-select", e.class)),
1366
+ "data-variant": y.variant,
1367
+ "data-hide-label": c(H)(y.showLabel),
1368
+ "data-icon": y.icon,
1369
+ "data-hide-icon": c(H)(y.showIcon)
1362
1370
  }, [
1363
- I("label", { for: a.value }, k(b.label ?? v(le)), 9, Ia),
1371
+ I("label", { for: a.value }, w(y.label ?? c(ie)), 9, pt),
1364
1372
  I("select", {
1365
- "aria-invalid": b.validation === "invalid",
1366
- "data-custom-validity": b.validation,
1373
+ "aria-invalid": y.validation === "invalid",
1374
+ "data-custom-validity": y.validation,
1367
1375
  ref_key: "_ref",
1368
- ref: D,
1369
- required: b.required,
1370
- disabled: b.disabled,
1376
+ ref: O,
1377
+ required: y.required,
1378
+ disabled: y.disabled,
1371
1379
  id: a.value,
1372
- name: b.name,
1373
- size: b.size,
1374
- value: b.value ?? s.value,
1375
- autocomplete: b.autocomplete,
1376
- onInput: S[0] || (S[0] = async (F) => f(F)),
1377
- onClick: S[1] || (S[1] = async (F) => _(F)),
1378
- onChange: S[2] || (S[2] = async (F) => o(F)),
1379
- onBlur: S[3] || (S[3] = async (F) => y(F)),
1380
- onFocus: S[4] || (S[4] = async (F) => r(F)),
1381
- "aria-describedby": h.value
1380
+ name: y.name,
1381
+ size: y.size,
1382
+ value: y.value ?? r.value,
1383
+ autocomplete: y.autocomplete,
1384
+ multiple: y.multiple,
1385
+ onInput: z[0] || (z[0] = async (C) => h(C)),
1386
+ onClick: z[1] || (z[1] = async (C) => T(C)),
1387
+ onChange: z[2] || (z[2] = async (C) => f(C)),
1388
+ onBlur: z[3] || (z[3] = async (C) => B(C)),
1389
+ onFocus: z[4] || (z[4] = async (C) => p(C)),
1390
+ "aria-describedby": v.value
1382
1391
  }, [
1383
- S[5] || (S[5] = I("option", { hidden: !0 }, null, -1)),
1384
- b.options ? (m(!0), g(C, { key: 0 }, te(b.options, (F, ne) => (m(), g(C, { key: ne }, [
1385
- F.options ? (m(), g("optgroup", {
1392
+ z[5] || (z[5] = I("option", { hidden: !0 }, null, -1)),
1393
+ y.options ? (m(!0), g(G, { key: 0 }, ce(y.options, (C, U) => (m(), g(G, { key: U }, [
1394
+ C.options ? (m(), g("optgroup", {
1386
1395
  key: 0,
1387
- label: T(F)
1396
+ label: E(C)
1388
1397
  }, [
1389
- (m(!0), g(C, null, te(F.options, (ie, on) => (m(), g("option", {
1390
- key: ie.value.toString(),
1391
- value: ie.value,
1392
- selected: ie.selected,
1393
- disabled: ie.disabled
1394
- }, k(T(ie)), 9, La))), 128))
1395
- ], 8, $a)) : M("", !0),
1396
- F.options ? M("", !0) : (m(), g("option", {
1398
+ (m(!0), g(G, null, ce(C.options, (K, fe) => (m(), g("option", {
1399
+ key: K.value.toString(),
1400
+ value: K.value,
1401
+ selected: K.selected,
1402
+ disabled: K.disabled
1403
+ }, w(E(K)), 9, bt))), 128))
1404
+ ], 8, mt)) : R("", !0),
1405
+ C.options ? R("", !0) : (m(), g("option", {
1397
1406
  key: 1,
1398
- value: F.value,
1399
- disabled: F.disabled,
1400
- selected: F.selected
1401
- }, k(T(F)), 9, Ea))
1402
- ], 64))), 128)) : M("", !0),
1403
- w(b.$slots, "default")
1404
- ], 40, _a),
1405
- I("span", { id: i.value }, k(b.placeholder ?? b.label), 9, Na),
1406
- v(q)(b.message, b.showMessage) ? (m(), X(W, {
1407
+ value: C.value,
1408
+ disabled: C.disabled,
1409
+ selected: C.selected
1410
+ }, w(E(C)), 9, gt))
1411
+ ], 64))), 128)) : R("", !0),
1412
+ L(y.$slots, "default")
1413
+ ], 40, ht),
1414
+ I("span", { id: d.value }, w(y.placeholder ?? y.label), 9, yt),
1415
+ c(ee)(y.message, y.showMessage) ? (m(), x(Q, {
1407
1416
  key: 0,
1408
1417
  size: "small",
1409
- icon: b.messageIcon,
1410
- id: c.value
1418
+ icon: y.messageIcon,
1419
+ id: u.value
1411
1420
  }, {
1412
- default: R(() => [
1413
- L(k(b.message), 1)
1421
+ default: V(() => [
1422
+ $(w(y.message), 1)
1414
1423
  ]),
1415
1424
  _: 1
1416
- }, 8, ["icon", "id"])) : M("", !0),
1417
- O(W, {
1425
+ }, 8, ["icon", "id"])) : R("", !0),
1426
+ j(Q, {
1418
1427
  size: "small",
1419
1428
  semantic: "successful",
1420
- id: l.value
1429
+ id: s.value
1421
1430
  }, {
1422
- default: R(() => [
1423
- L(k(b.validMessage ?? v(Z)), 1)
1431
+ default: V(() => [
1432
+ $(w(y.validMessage ?? c(se)), 1)
1424
1433
  ]),
1425
1434
  _: 1
1426
1435
  }, 8, ["id"]),
1427
- O(W, {
1436
+ j(Q, {
1428
1437
  size: "small",
1429
1438
  semantic: "critical",
1430
- id: p.value
1439
+ id: b.value
1431
1440
  }, {
1432
- default: R(() => {
1433
- var F;
1441
+ default: V(() => {
1442
+ var C;
1434
1443
  return [
1435
- L(k(b.invalidMessage ?? ((F = D.value) == null ? void 0 : F.validationMessage) ?? v(x)), 1)
1444
+ $(w(y.invalidMessage ?? (((C = O.value) == null ? void 0 : C.validationMessage) || c(ue))), 1)
1436
1445
  ];
1437
1446
  }),
1438
1447
  _: 1
1439
1448
  }, 8, ["id"]),
1440
- I("span", Aa, k($.value), 1)
1441
- ], 10, wa));
1449
+ I("span", kt, w(S.value), 1)
1450
+ ], 10, ft));
1442
1451
  }
1443
- }), Fa = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for"], Ta = ["id", "aria-checked", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-after"], Dn = /* @__PURE__ */ E({
1452
+ }), Bt = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for"], wt = ["id", "aria-checked", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-after"], Qi = /* @__PURE__ */ M({
1444
1453
  __name: "switch",
1445
1454
  props: {
1446
1455
  visualAid: { type: Boolean, default: void 0 },
@@ -1456,9 +1465,10 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1456
1465
  onBlur: { type: Function, default: void 0 },
1457
1466
  focus: { type: Function, default: void 0 },
1458
1467
  onFocus: { type: Function, default: void 0 },
1468
+ ariaDescribedBy: {},
1469
+ form: {},
1459
1470
  validation: { default: void 0 },
1460
1471
  disabled: { type: Boolean, default: void 0 },
1461
- form: {},
1462
1472
  label: { default: void 0 },
1463
1473
  name: { default: void 0 },
1464
1474
  required: { type: Boolean, default: void 0 },
@@ -1471,65 +1481,65 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1471
1481
  iconAfter: { default: void 0 }
1472
1482
  },
1473
1483
  emits: ["update:checked"],
1474
- setup(t, { emit: n }) {
1475
- const d = n, e = t, a = u(void 0), c = u(!1), l = u(null);
1476
- U(() => {
1477
- a.value = e.id ?? `switch-${G()}`;
1478
- }), z(
1484
+ setup(i, { emit: t }) {
1485
+ const l = t, e = i, a = n(void 0), u = n(!1), s = n(null);
1486
+ W(() => {
1487
+ a.value = e.id ?? `switch-${Y()}`;
1488
+ }), A(
1479
1489
  () => [e.checked],
1480
1490
  () => {
1481
- e.checked !== void 0 && e.checked !== null && (c.value = !!e.checked);
1491
+ e.checked !== void 0 && e.checked !== null && (u.value = !!e.checked);
1482
1492
  },
1483
1493
  {
1484
1494
  immediate: !0,
1485
1495
  flush: "post"
1486
1496
  }
1487
1497
  );
1488
- function p(s) {
1489
- var B;
1490
- e.onChange && e.onChange(s), e.change && e.change(s), c.value = (B = s.target) == null ? void 0 : B.checked, ae(d, s, "checked");
1498
+ function b(r) {
1499
+ var _;
1500
+ e.onChange && e.onChange(r), e.change && e.change(r), u.value = (_ = r.target) == null ? void 0 : _.checked, ve(l, r, "checked");
1491
1501
  }
1492
- function i(s) {
1493
- e.onBlur && e.onBlur(s), e.blur && e.blur(s);
1502
+ function d(r) {
1503
+ e.onBlur && e.onBlur(r), e.blur && e.blur(r);
1494
1504
  }
1495
- function h(s) {
1496
- e.onFocus && e.onFocus(s), e.focus && e.focus(s);
1505
+ function v(r) {
1506
+ e.onFocus && e.onFocus(r), e.focus && e.focus(r);
1497
1507
  }
1498
- return (s, B) => (m(), g("label", {
1499
- "data-visual-aid": v(V)(s.visualAid),
1500
- "data-size": s.size,
1501
- "data-hide-label": v(P)(s.showLabel),
1502
- "data-emphasis": s.emphasis,
1508
+ return (r, _) => (m(), g("label", {
1509
+ "data-visual-aid": c(X)(r.visualAid),
1510
+ "data-size": r.size,
1511
+ "data-hide-label": c(H)(r.showLabel),
1512
+ "data-emphasis": r.emphasis,
1503
1513
  for: a.value,
1504
- class: N(v(A)("db-switch", e.class))
1514
+ class: F(c(D)("db-switch", e.class))
1505
1515
  }, [
1506
1516
  I("input", {
1507
1517
  type: "checkbox",
1508
1518
  role: "switch",
1509
1519
  id: a.value,
1510
- "aria-checked": v(V)(c.value),
1520
+ "aria-checked": c(X)(u.value),
1511
1521
  ref_key: "_ref",
1512
- ref: l,
1513
- checked: s.checked,
1514
- value: s.value,
1515
- disabled: s.disabled,
1516
- "aria-describedby": s.describedbyid,
1517
- "aria-invalid": s.validation === "invalid",
1518
- "data-custom-validity": s.validation,
1519
- name: s.name,
1520
- required: s.required,
1521
- "data-aid-icon": s.icon,
1522
- "data-aid-icon-after": s.iconAfter,
1523
- onChange: B[0] || (B[0] = async ($) => p($)),
1524
- onBlur: B[1] || (B[1] = async ($) => i($)),
1525
- onFocus: B[2] || (B[2] = async ($) => h($))
1526
- }, null, 40, Ta),
1527
- s.label ? (m(), g(C, { key: 0 }, [
1528
- L(k(s.label), 1)
1529
- ], 64)) : w(s.$slots, "default", { key: 1 })
1530
- ], 10, Fa));
1522
+ ref: s,
1523
+ checked: r.checked,
1524
+ value: r.value,
1525
+ disabled: r.disabled,
1526
+ "aria-describedby": r.describedbyid,
1527
+ "aria-invalid": r.validation === "invalid",
1528
+ "data-custom-validity": r.validation,
1529
+ name: r.name,
1530
+ required: r.required,
1531
+ "data-aid-icon": r.icon,
1532
+ "data-aid-icon-after": r.iconAfter,
1533
+ onChange: _[0] || (_[0] = async (S) => b(S)),
1534
+ onBlur: _[1] || (_[1] = async (S) => d(S)),
1535
+ onFocus: _[2] || (_[2] = async (S) => v(S))
1536
+ }, null, 40, wt),
1537
+ r.label ? (m(), g(G, { key: 0 }, [
1538
+ $(w(r.label), 1)
1539
+ ], 64)) : L(r.$slots, "default", { key: 1 })
1540
+ ], 10, Bt));
1531
1541
  }
1532
- }), Sa = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Ca = ["disabled", "aria-selected", "aria-controls", "checked", "id"], Da = /* @__PURE__ */ E({
1542
+ }), _t = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], It = ["disabled", "aria-selected", "aria-controls", "checked", "id"], Lt = /* @__PURE__ */ M({
1533
1543
  __name: "tab-item",
1534
1544
  props: {
1535
1545
  children: { default: void 0 },
@@ -1551,56 +1561,56 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1551
1561
  showIcon: { type: Boolean, default: void 0 }
1552
1562
  },
1553
1563
  emits: ["update:checked"],
1554
- setup(t, { emit: n }) {
1555
- const d = n, e = t, a = u(!1), c = u(!1), l = u(null);
1556
- U(() => {
1564
+ setup(i, { emit: t }) {
1565
+ const l = t, e = i, a = n(!1), u = n(!1), s = n(null);
1566
+ W(() => {
1557
1567
  a.value = !0;
1558
- }), z(
1559
- () => [l.value, a.value],
1568
+ }), A(
1569
+ () => [s.value, a.value],
1560
1570
  () => {
1561
- e.active && a.value && l.value && (l.value.click(), a.value = !1);
1571
+ e.active && a.value && s.value && (s.value.click(), a.value = !1);
1562
1572
  },
1563
1573
  {
1564
1574
  immediate: !0,
1565
1575
  flush: "post"
1566
1576
  }
1567
1577
  );
1568
- function p(i) {
1569
- var h;
1570
- e.onChange && e.onChange(i), e.change && e.change(i), c.value = (h = i.target) == null ? void 0 : h.checked, ae(d, i, "checked");
1578
+ function b(d) {
1579
+ var v;
1580
+ e.onChange && e.onChange(d), e.change && e.change(d), u.value = (v = d.target) == null ? void 0 : v.checked, ve(l, d, "checked");
1571
1581
  }
1572
- return (i, h) => (m(), g("li", {
1582
+ return (d, v) => (m(), g("li", {
1573
1583
  role: "none",
1574
- class: N(v(A)("db-tab-item", e.class))
1584
+ class: F(c(D)("db-tab-item", e.class))
1575
1585
  }, [
1576
1586
  I("label", {
1577
- for: i.id,
1578
- "data-icon": i.icon,
1579
- "data-icon-after": i.iconAfter,
1580
- "data-hide-icon": v(P)(i.showIcon),
1581
- "data-hide-icon-after": v(P)(i.showIcon),
1582
- "data-no-text": i.noText
1587
+ for: d.id,
1588
+ "data-icon": d.icon,
1589
+ "data-icon-after": d.iconAfter,
1590
+ "data-hide-icon": c(H)(d.showIcon),
1591
+ "data-hide-icon-after": c(H)(d.showIcon),
1592
+ "data-no-text": d.noText
1583
1593
  }, [
1584
1594
  I("input", {
1585
1595
  type: "radio",
1586
1596
  role: "tab",
1587
- disabled: i.disabled,
1588
- "aria-selected": c.value,
1589
- "aria-controls": i.controls,
1590
- checked: i.checked,
1597
+ disabled: d.disabled,
1598
+ "aria-selected": u.value,
1599
+ "aria-controls": d.controls,
1600
+ checked: d.checked,
1591
1601
  ref_key: "_ref",
1592
- ref: l,
1593
- id: i.id,
1594
- onInput: h[0] || (h[0] = async (s) => p(s))
1595
- }, null, 40, Ca),
1596
- i.label ? (m(), g(C, { key: 0 }, [
1597
- L(k(i.label), 1)
1598
- ], 64)) : M("", !0),
1599
- w(i.$slots, "default")
1600
- ], 8, Sa)
1602
+ ref: s,
1603
+ id: d.id,
1604
+ onInput: v[0] || (v[0] = async (r) => b(r))
1605
+ }, null, 40, It),
1606
+ d.label ? (m(), g(G, { key: 0 }, [
1607
+ $(w(d.label), 1)
1608
+ ], 64)) : R("", !0),
1609
+ L(d.$slots, "default")
1610
+ ], 8, _t)
1601
1611
  ], 2));
1602
1612
  }
1603
- }), Ma = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], za = ["title"], Mn = /* @__PURE__ */ E({
1613
+ }), $t = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], Tt = ["title"], At = /* @__PURE__ */ M({
1604
1614
  __name: "tag",
1605
1615
  props: {
1606
1616
  behavior: { default: void 0 },
@@ -1624,18 +1634,18 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1624
1634
  showIcon: { type: Boolean, default: void 0 },
1625
1635
  content: {}
1626
1636
  },
1627
- setup(t) {
1628
- const n = t, d = u(!1), e = u(null);
1629
- d.value = !0, z(
1630
- () => [d.value, n.disabled, e.value],
1637
+ setup(i) {
1638
+ const t = i, l = n(!1), e = n(null);
1639
+ l.value = !0, A(
1640
+ () => [l.value, t.disabled, e.value],
1631
1641
  () => {
1632
- var l, p;
1633
- if (d.value && e.value && n.disabled !== void 0) {
1634
- const i = (l = e.value) == null ? void 0 : l.querySelector(
1642
+ var s, b;
1643
+ if (l.value && e.value && t.disabled !== void 0) {
1644
+ const d = (s = e.value) == null ? void 0 : s.querySelector(
1635
1645
  "button:not(.db-tab-remove-button)"
1636
- ), h = (p = e.value) == null ? void 0 : p.querySelector("input");
1637
- for (const s of [i, h])
1638
- s && (s.disabled = n.disabled);
1646
+ ), v = (b = e.value) == null ? void 0 : b.querySelector("input");
1647
+ for (const r of [d, v])
1648
+ r && (r.disabled = t.disabled);
1639
1649
  }
1640
1650
  },
1641
1651
  {
@@ -1643,47 +1653,47 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1643
1653
  flush: "post"
1644
1654
  }
1645
1655
  );
1646
- function a() {
1647
- n.onRemove && n.onRemove();
1656
+ function a(s) {
1657
+ t.onRemove && t.onRemove(s);
1648
1658
  }
1649
- function c() {
1650
- return n.removeButton ? n.removeButton : "Remove tag";
1659
+ function u() {
1660
+ return t.removeButton ? t.removeButton : We;
1651
1661
  }
1652
- return (l, p) => (m(), g("div", {
1662
+ return (s, b) => (m(), g("div", {
1653
1663
  ref_key: "_ref",
1654
1664
  ref: e,
1655
- id: l.id,
1656
- class: N(v(A)("db-tag", n.class)),
1657
- "data-disabled": v(V)(l.disabled),
1658
- "data-semantic": l.semantic,
1659
- "data-emphasis": l.emphasis,
1660
- "data-icon": l.icon,
1661
- "data-show-check-state": v(V)(l.showCheckState ?? !0),
1662
- "data-hide-icon": v(P)(l.showIcon),
1663
- "data-no-text": v(V)(l.noText),
1664
- "data-overflow": v(V)(l.overflow)
1665
+ id: s.id,
1666
+ class: F(c(D)("db-tag", t.class)),
1667
+ "data-disabled": c(X)(s.disabled),
1668
+ "data-semantic": s.semantic,
1669
+ "data-emphasis": s.emphasis,
1670
+ "data-icon": s.icon,
1671
+ "data-show-check-state": c(X)(s.showCheckState ?? !0),
1672
+ "data-hide-icon": c(H)(s.showIcon),
1673
+ "data-no-text": c(X)(s.noText),
1674
+ "data-overflow": c(X)(s.overflow)
1665
1675
  }, [
1666
- w(l.$slots, "content"),
1667
- w(l.$slots, "default"),
1668
- l.text ? (m(), g(C, { key: 0 }, [
1669
- L(k(l.text), 1)
1670
- ], 64)) : M("", !0),
1671
- l.behavior === "removable" ? (m(), g("button", {
1676
+ L(s.$slots, "content"),
1677
+ L(s.$slots, "default"),
1678
+ s.text ? (m(), g(G, { key: 0 }, [
1679
+ $(w(s.text), 1)
1680
+ ], 64)) : R("", !0),
1681
+ s.behavior === "removable" ? (m(), g("button", {
1672
1682
  key: 1,
1673
1683
  class: "db-button db-tab-remove-button",
1674
1684
  "data-icon": "cross",
1675
1685
  "data-size": "small",
1676
1686
  "data-no-text": "true",
1677
1687
  "data-variant": "ghost",
1678
- onClick: p[0] || (p[0] = async (i) => a()),
1679
- title: c()
1680
- }, k(c()), 9, za)) : M("", !0)
1681
- ], 10, Ma));
1688
+ onClick: b[0] || (b[0] = async (d) => a(d)),
1689
+ title: u()
1690
+ }, w(u()), 9, Tt)) : R("", !0)
1691
+ ], 10, $t));
1682
1692
  }
1683
- }), Ra = ["data-variant", "data-hide-label"], Ua = ["for"], Pa = ["aria-invalid", "data-custom-validity", "id", "data-resize", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Va = {
1693
+ }), St = ["data-variant", "data-hide-label"], Et = ["for"], Ct = ["aria-invalid", "data-custom-validity", "id", "data-resize", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Ft = {
1684
1694
  "data-visually-hidden": "true",
1685
1695
  role: "status"
1686
- }, zn = /* @__PURE__ */ E({
1696
+ }, Zi = /* @__PURE__ */ M({
1687
1697
  __name: "textarea",
1688
1698
  props: {
1689
1699
  cols: { default: void 0 },
@@ -1699,9 +1709,10 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1699
1709
  onBlur: { type: Function, default: void 0 },
1700
1710
  focus: { type: Function, default: void 0 },
1701
1711
  onFocus: { type: Function, default: void 0 },
1712
+ ariaDescribedBy: {},
1713
+ form: { default: void 0 },
1702
1714
  validation: { default: void 0 },
1703
1715
  disabled: { type: Boolean, default: void 0 },
1704
- form: { default: void 0 },
1705
1716
  label: { default: void 0 },
1706
1717
  name: { default: void 0 },
1707
1718
  required: { type: Boolean, default: void 0 },
@@ -1726,120 +1737,120 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1726
1737
  showMessage: { type: Boolean, default: void 0 }
1727
1738
  },
1728
1739
  emits: ["update:value"],
1729
- setup(t, { emit: n }) {
1730
- const d = n, e = t, a = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(""), h = u(""), s = u(""), B = u(null);
1731
- U(() => {
1732
- const o = e.id ?? `textarea-${G()}`;
1733
- a.value = o, c.value = o + K, l.value = o + J, p.value = o + Q;
1734
- }), z(
1740
+ setup(i, { emit: t }) {
1741
+ const l = t, e = i, a = n(void 0), u = n(void 0), s = n(void 0), b = n(void 0), d = n(""), v = n(""), r = n(""), _ = n(null);
1742
+ W(() => {
1743
+ const f = e.id ?? `textarea-${Y()}`;
1744
+ a.value = f, u.value = f + oe, s.value = f + de, b.value = f + ne;
1745
+ }), A(
1735
1746
  () => [a.value],
1736
1747
  () => {
1737
1748
  if (a.value) {
1738
- const o = a.value + K;
1739
- c.value = o, l.value = a.value + J, p.value = a.value + Q, q(e.message, e.showMessage) && (i.value = o);
1749
+ const f = a.value + oe;
1750
+ u.value = f, s.value = a.value + de, b.value = a.value + ne, ee(e.message, e.showMessage) && (d.value = f);
1740
1751
  }
1741
1752
  },
1742
1753
  {
1743
1754
  immediate: !0,
1744
1755
  flush: "post"
1745
1756
  }
1746
- ), z(
1757
+ ), A(
1747
1758
  () => [e.value],
1748
1759
  () => {
1749
- h.value = e.value;
1760
+ v.value = e.value;
1750
1761
  },
1751
1762
  {
1752
1763
  immediate: !0,
1753
1764
  flush: "post"
1754
1765
  }
1755
1766
  );
1756
- function $(o) {
1757
- h.value = o.target.value, e.onInput && e.onInput(o), e.input && e.input(o);
1767
+ function S(f) {
1768
+ v.value = f.target.value, e.onInput && e.onInput(f), e.input && e.input(f);
1758
1769
  }
1759
- function D(o) {
1760
- var y, r, T;
1761
- e.onChange && e.onChange(o), e.change && e.change(o), ae(d, o), !((y = B.value) != null && y.validity.valid) || e.validation === "invalid" ? (i.value = p.value, Y() && (s.value = e.invalidMessage ?? ((r = B.value) == null ? void 0 : r.validationMessage) ?? x, H(() => s.value = "", 1e3))) : e.validation === "valid" || (T = B.value) != null && T.validity.valid && (e.required || e.minLength || e.maxLength) ? (i.value = l.value, Y() && (s.value = e.validMessage ?? Z, H(() => s.value = "", 1e3))) : q(e.message, e.showMessage) ? i.value = c.value : i.value = "";
1770
+ function O(f) {
1771
+ var B, p, E;
1772
+ e.onChange && e.onChange(f), e.change && e.change(f), ve(l, f), !((B = _.value) != null && B.validity.valid) || e.validation === "invalid" ? (d.value = b.value, le() && (r.value = e.invalidMessage ?? ((p = _.value) == null ? void 0 : p.validationMessage) ?? ue, J(() => r.value = "", 1e3))) : e.validation === "valid" || (E = _.value) != null && E.validity.valid && (e.required || e.minLength || e.maxLength) ? (d.value = s.value, le() && (r.value = e.validMessage ?? se, J(() => r.value = "", 1e3))) : ee(e.message, e.showMessage) ? d.value = u.value : d.value = "";
1762
1773
  }
1763
- function _(o) {
1764
- e.onBlur && e.onBlur(o), e.blur && e.blur(o);
1774
+ function T(f) {
1775
+ e.onBlur && e.onBlur(f), e.blur && e.blur(f);
1765
1776
  }
1766
- function f(o) {
1767
- e.onFocus && e.onFocus(o), e.focus && e.focus(o);
1777
+ function h(f) {
1778
+ e.onFocus && e.onFocus(f), e.focus && e.focus(f);
1768
1779
  }
1769
- return (o, y) => (m(), g("div", {
1770
- class: N(v(A)("db-textarea", e.class)),
1771
- "data-variant": o.variant,
1772
- "data-hide-label": v(P)(o.showLabel)
1780
+ return (f, B) => (m(), g("div", {
1781
+ class: F(c(D)("db-textarea", e.class)),
1782
+ "data-variant": f.variant,
1783
+ "data-hide-label": c(H)(f.showLabel)
1773
1784
  }, [
1774
- I("label", { for: a.value }, k(o.label ?? v(le)), 9, Ua),
1785
+ I("label", { for: a.value }, w(f.label ?? c(ie)), 9, Et),
1775
1786
  I("textarea", {
1776
- "aria-invalid": o.validation === "invalid",
1777
- "data-custom-validity": o.validation,
1787
+ "aria-invalid": f.validation === "invalid",
1788
+ "data-custom-validity": f.validation,
1778
1789
  ref_key: "_ref",
1779
- ref: B,
1790
+ ref: _,
1780
1791
  id: a.value,
1781
- "data-resize": o.resize,
1782
- disabled: o.disabled,
1783
- required: o.required,
1784
- readOnly: o.readOnly,
1785
- form: o.form,
1786
- maxLength: o.maxLength,
1787
- minLength: o.minLength,
1788
- name: o.name,
1789
- wrap: o.wrap,
1790
- spellcheck: o.spellCheck,
1791
- autocomplete: o.autocomplete,
1792
- onInput: y[0] || (y[0] = async (r) => $(r)),
1793
- onChange: y[1] || (y[1] = async (r) => D(r)),
1794
- onBlur: y[2] || (y[2] = async (r) => _(r)),
1795
- onFocus: y[3] || (y[3] = async (r) => f(r)),
1796
- value: o.value ?? h.value,
1797
- "aria-describedby": i.value,
1798
- placeholder: o.placeholder ?? v(fe),
1799
- rows: o.rows ?? v(Ne),
1800
- cols: o.cols
1801
- }, null, 40, Pa),
1802
- v(q)(o.message, o.showMessage) ? (m(), X(W, {
1792
+ "data-resize": f.resize,
1793
+ disabled: f.disabled,
1794
+ required: f.required,
1795
+ readOnly: f.readOnly,
1796
+ form: f.form,
1797
+ maxLength: f.maxLength,
1798
+ minLength: f.minLength,
1799
+ name: f.name,
1800
+ wrap: f.wrap,
1801
+ spellcheck: f.spellCheck,
1802
+ autocomplete: f.autocomplete,
1803
+ onInput: B[0] || (B[0] = async (p) => S(p)),
1804
+ onChange: B[1] || (B[1] = async (p) => O(p)),
1805
+ onBlur: B[2] || (B[2] = async (p) => T(p)),
1806
+ onFocus: B[3] || (B[3] = async (p) => h(p)),
1807
+ value: f.value ?? v.value,
1808
+ "aria-describedby": d.value,
1809
+ placeholder: f.placeholder ?? c(Oe),
1810
+ rows: f.rows ?? c(ya),
1811
+ cols: f.cols
1812
+ }, null, 40, Ct),
1813
+ c(ee)(f.message, f.showMessage) ? (m(), x(Q, {
1803
1814
  key: 0,
1804
1815
  size: "small",
1805
- icon: o.messageIcon,
1806
- id: c.value
1816
+ icon: f.messageIcon,
1817
+ id: u.value
1807
1818
  }, {
1808
- default: R(() => [
1809
- L(k(o.message), 1)
1819
+ default: V(() => [
1820
+ $(w(f.message), 1)
1810
1821
  ]),
1811
1822
  _: 1
1812
- }, 8, ["icon", "id"])) : M("", !0),
1813
- O(W, {
1823
+ }, 8, ["icon", "id"])) : R("", !0),
1824
+ j(Q, {
1814
1825
  size: "small",
1815
1826
  semantic: "successful",
1816
- id: l.value
1827
+ id: s.value
1817
1828
  }, {
1818
- default: R(() => [
1819
- L(k(o.validMessage ?? v(Z)), 1)
1829
+ default: V(() => [
1830
+ $(w(f.validMessage ?? c(se)), 1)
1820
1831
  ]),
1821
1832
  _: 1
1822
1833
  }, 8, ["id"]),
1823
- O(W, {
1834
+ j(Q, {
1824
1835
  size: "small",
1825
1836
  semantic: "critical",
1826
- id: p.value
1837
+ id: b.value
1827
1838
  }, {
1828
- default: R(() => {
1829
- var r;
1839
+ default: V(() => {
1840
+ var p;
1830
1841
  return [
1831
- L(k(o.invalidMessage ?? ((r = B.value) == null ? void 0 : r.validationMessage) ?? v(x)), 1)
1842
+ $(w(f.invalidMessage ?? (((p = _.value) == null ? void 0 : p.validationMessage) || c(ue))), 1)
1832
1843
  ];
1833
1844
  }),
1834
1845
  _: 1
1835
1846
  }, 8, ["id"]),
1836
- I("span", Va, k(s.value), 1)
1837
- ], 10, Ra));
1847
+ I("span", Ft, w(r.value), 1)
1848
+ ], 10, St));
1838
1849
  }
1839
- }), Ga = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "aria-disabled"], qa = ["aria-haspopup", "aria-expanded", "disabled"], Oa = ["data-auto-close", "id"], Wa = {
1850
+ }), Dt = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "aria-disabled"], Nt = ["aria-haspopup", "aria-expanded", "disabled"], Mt = ["data-auto-close", "id"], Rt = {
1840
1851
  key: 0,
1841
1852
  class: "db-mobile-navigation-back"
1842
- }, Rn = /* @__PURE__ */ E({
1853
+ }, xi = /* @__PURE__ */ M({
1843
1854
  __name: "navigation-item",
1844
1855
  props: {
1845
1856
  active: { type: Boolean, default: void 0 },
@@ -1860,119 +1871,119 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1860
1871
  showIcon: { type: Boolean, default: void 0 },
1861
1872
  text: { default: void 0 }
1862
1873
  },
1863
- setup(t) {
1864
- const n = t, d = u(!1), e = u(!1), a = u(!0), c = u(!1), l = u(!1), p = u(
1865
- "sub-navigation-" + G()
1866
- ), i = u(void 0), h = u(null);
1867
- U(() => {
1868
- d.value = !0;
1869
- }), z(
1870
- () => [n.subNavigationExpanded],
1874
+ setup(i) {
1875
+ const t = i, l = n(!1), e = n(!1), a = n(!0), u = n(!1), s = n(!1), b = n(
1876
+ "sub-navigation-" + Y()
1877
+ ), d = n(void 0), v = n(null);
1878
+ W(() => {
1879
+ l.value = !0;
1880
+ }), A(
1881
+ () => [t.subNavigationExpanded],
1871
1882
  () => {
1872
- n.subNavigationExpanded !== void 0 && (c.value = !!n.subNavigationExpanded);
1883
+ t.subNavigationExpanded !== void 0 && (u.value = !!t.subNavigationExpanded);
1873
1884
  },
1874
1885
  {
1875
1886
  immediate: !0,
1876
1887
  flush: "post"
1877
1888
  }
1878
- ), z(
1879
- () => [d.value],
1889
+ ), A(
1890
+ () => [l.value],
1880
1891
  () => {
1881
- D();
1892
+ O();
1882
1893
  },
1883
1894
  {
1884
1895
  immediate: !0,
1885
1896
  flush: "post"
1886
1897
  }
1887
1898
  );
1888
- function s(_) {
1889
- be(_) && (l.value = !0, H(() => {
1890
- l.value = !1;
1899
+ function r(T) {
1900
+ Ke(T) && (s.value = !0, J(() => {
1901
+ s.value = !1;
1891
1902
  }, 300));
1892
1903
  }
1893
- function B(_) {
1894
- n.onClick && n.onClick(_), e.value && (c.value = !0);
1904
+ function _(T) {
1905
+ t.onClick && t.onClick(T), e.value && (u.value = !0);
1895
1906
  }
1896
- function $(_) {
1897
- _.stopPropagation(), c.value = !1;
1907
+ function S(T) {
1908
+ T.stopPropagation(), u.value = !1;
1898
1909
  }
1899
- function D() {
1900
- var _;
1901
- if (d.value && document && p.value) {
1902
- const f = document == null ? void 0 : document.getElementById(
1903
- p.value
1910
+ function O() {
1911
+ var T;
1912
+ if (l.value && document && b.value) {
1913
+ const h = document == null ? void 0 : document.getElementById(
1914
+ b.value
1904
1915
  );
1905
- f && (((_ = f.children) == null ? void 0 : _.length) > 0 ? (e.value = !0, i.value || (i.value = new Ke(
1906
- h.value,
1907
- f
1916
+ h && (((T = h.children) == null ? void 0 : T.length) > 0 ? (e.value = !0, d.value || (d.value = new Pa(
1917
+ v.value,
1918
+ h
1908
1919
  ))) : a.value = !1);
1909
1920
  }
1910
1921
  }
1911
- return (_, f) => (m(), g("li", {
1922
+ return (T, h) => (m(), g("li", {
1912
1923
  ref_key: "_ref",
1913
- ref: h,
1914
- id: _.id,
1915
- onMouseover: f[2] || (f[2] = async (o) => {
1916
- var y;
1917
- return (y = i.value) == null ? void 0 : y.enableFollow();
1924
+ ref: v,
1925
+ id: T.id,
1926
+ onMouseover: h[2] || (h[2] = async (f) => {
1927
+ var B;
1928
+ return (B = d.value) == null ? void 0 : B.enableFollow();
1918
1929
  }),
1919
- onMouseleave: f[3] || (f[3] = async (o) => {
1920
- var y;
1921
- return (y = i.value) == null ? void 0 : y.disableFollow();
1930
+ onMouseleave: h[3] || (h[3] = async (f) => {
1931
+ var B;
1932
+ return (B = d.value) == null ? void 0 : B.disableFollow();
1922
1933
  }),
1923
- onMousemove: f[4] || (f[4] = async (o) => {
1924
- var y;
1925
- return (y = i.value) == null ? void 0 : y.followByMouseEvent(o);
1934
+ onMousemove: h[4] || (h[4] = async (f) => {
1935
+ var B;
1936
+ return (B = d.value) == null ? void 0 : B.followByMouseEvent(f);
1926
1937
  }),
1927
- class: N(v(A)("db-navigation-item", n.class)),
1928
- "data-width": _.width,
1929
- "data-icon": _.icon,
1930
- "data-hide-icon": v(P)(_.showIcon),
1931
- "data-active": _.active,
1932
- "aria-disabled": v(V)(_.disabled)
1938
+ class: F(c(D)("db-navigation-item", t.class)),
1939
+ "data-width": T.width,
1940
+ "data-icon": T.icon,
1941
+ "data-hide-icon": c(H)(T.showIcon),
1942
+ "data-active": T.active,
1943
+ "aria-disabled": c(X)(T.disabled)
1933
1944
  }, [
1934
- a.value ? M("", !0) : (m(), g(C, { key: 0 }, [
1935
- _.text ? (m(), g(C, { key: 0 }, [
1936
- L(k(_.text), 1)
1937
- ], 64)) : w(_.$slots, "default", { key: 1 })
1945
+ a.value ? R("", !0) : (m(), g(G, { key: 0 }, [
1946
+ T.text ? (m(), g(G, { key: 0 }, [
1947
+ $(w(T.text), 1)
1948
+ ], 64)) : L(T.$slots, "default", { key: 1 })
1938
1949
  ], 64)),
1939
- a.value ? (m(), g(C, { key: 1 }, [
1950
+ a.value ? (m(), g(G, { key: 1 }, [
1940
1951
  I("button", {
1941
1952
  class: "db-navigation-item-expand-button",
1942
1953
  "aria-haspopup": e.value,
1943
- "aria-expanded": c.value,
1944
- disabled: _.disabled,
1945
- onClick: f[0] || (f[0] = async (o) => B(o))
1954
+ "aria-expanded": u.value,
1955
+ disabled: T.disabled,
1956
+ onClick: h[0] || (h[0] = async (f) => _(f))
1946
1957
  }, [
1947
- _.text ? (m(), g(C, { key: 0 }, [
1948
- L(k(_.text), 1)
1949
- ], 64)) : w(_.$slots, "default", { key: 1 })
1950
- ], 8, qa),
1958
+ T.text ? (m(), g(G, { key: 0 }, [
1959
+ $(w(T.text), 1)
1960
+ ], 64)) : L(T.$slots, "default", { key: 1 })
1961
+ ], 8, Nt),
1951
1962
  I("menu", {
1952
1963
  class: "db-sub-navigation",
1953
- "data-auto-close": l.value,
1954
- id: p.value,
1955
- onClick: f[1] || (f[1] = async (o) => s(o))
1964
+ "data-auto-close": s.value,
1965
+ id: b.value,
1966
+ onClick: h[1] || (h[1] = async (f) => r(f))
1956
1967
  }, [
1957
- e.value ? (m(), g("div", Wa, [
1958
- O(de, {
1968
+ e.value ? (m(), g("div", Rt, [
1969
+ j(he, {
1959
1970
  icon: "arrow_left",
1960
1971
  variant: "ghost",
1961
- id: _.backButtonId,
1962
- onClick: (o) => $(o)
1972
+ id: T.backButtonId,
1973
+ onClick: (f) => S(f)
1963
1974
  }, {
1964
- default: R(() => [
1965
- L(k(_.backButtonText ?? v($e)), 1)
1975
+ default: V(() => [
1976
+ $(w(T.backButtonText ?? c(ha)), 1)
1966
1977
  ]),
1967
1978
  _: 1
1968
1979
  }, 8, ["id", "onClick"])
1969
- ])) : M("", !0),
1970
- w(_.$slots, "sub-navigation")
1971
- ], 8, Oa)
1972
- ], 64)) : M("", !0)
1973
- ], 42, Ga));
1980
+ ])) : R("", !0),
1981
+ L(T.$slots, "sub-navigation")
1982
+ ], 8, Mt)
1983
+ ], 64)) : R("", !0)
1984
+ ], 42, Dt));
1974
1985
  }
1975
- }), Xa = ["id"], Ha = ["aria-disabled", "open"], ja = /* @__PURE__ */ E({
1986
+ }), zt = ["id"], Ut = ["aria-disabled", "open"], Gt = /* @__PURE__ */ M({
1976
1987
  __name: "accordion-item",
1977
1988
  props: {
1978
1989
  defaultOpen: { type: Boolean, default: void 0 },
@@ -1988,43 +1999,43 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1988
1999
  autofocus: { type: Boolean },
1989
2000
  onToggle: { type: Function, default: void 0 }
1990
2001
  },
1991
- setup(t) {
1992
- const n = t, d = u(ee), e = u(!1), a = u(null);
1993
- U(() => {
1994
- d.value = n.id || "accordion-item-" + G(), n.defaultOpen && (e.value = n.defaultOpen);
2002
+ setup(i) {
2003
+ const t = i, l = n(ye), e = n(!1), a = n(null);
2004
+ W(() => {
2005
+ l.value = t.id || "accordion-item-" + Y(), t.defaultOpen && (e.value = t.defaultOpen);
1995
2006
  });
1996
- function c(l) {
1997
- l == null || l.preventDefault();
1998
- const p = !e.value;
1999
- n.onToggle && n.onToggle(p), e.value = p;
2000
- }
2001
- return (l, p) => (m(), g("li", {
2002
- id: d.value,
2003
- class: N(v(A)("db-accordion-item", n.class))
2007
+ function u(s) {
2008
+ s == null || s.preventDefault();
2009
+ const b = !e.value;
2010
+ t.onToggle && t.onToggle(b), e.value = b;
2011
+ }
2012
+ return (s, b) => (m(), g("li", {
2013
+ id: l.value,
2014
+ class: F(c(D)("db-accordion-item", t.class))
2004
2015
  }, [
2005
2016
  I("details", {
2006
- "aria-disabled": v(V)(l.disabled),
2017
+ "aria-disabled": c(X)(s.disabled),
2007
2018
  ref_key: "_ref",
2008
2019
  ref: a,
2009
2020
  open: e.value
2010
2021
  }, [
2011
2022
  I("summary", {
2012
- onClick: p[0] || (p[0] = async (i) => c(i))
2023
+ onClick: b[0] || (b[0] = async (d) => u(d))
2013
2024
  }, [
2014
- l.headlinePlain ? (m(), g(C, { key: 0 }, [
2015
- L(k(l.headlinePlain), 1)
2016
- ], 64)) : M("", !0),
2017
- l.headlinePlain ? M("", !0) : w(l.$slots, "headline", { key: 1 })
2025
+ s.headlinePlain ? (m(), g(G, { key: 0 }, [
2026
+ $(w(s.headlinePlain), 1)
2027
+ ], 64)) : R("", !0),
2028
+ s.headlinePlain ? R("", !0) : L(s.$slots, "headline", { key: 1 })
2018
2029
  ]),
2019
2030
  I("div", null, [
2020
- l.text ? (m(), g(C, { key: 0 }, [
2021
- L(k(l.text), 1)
2022
- ], 64)) : w(l.$slots, "default", { key: 1 })
2031
+ s.text ? (m(), g(G, { key: 0 }, [
2032
+ $(w(s.text), 1)
2033
+ ], 64)) : L(s.$slots, "default", { key: 1 })
2023
2034
  ])
2024
- ], 8, Ha)
2025
- ], 10, Xa));
2035
+ ], 8, Ut)
2036
+ ], 10, zt));
2026
2037
  }
2027
- }), Ya = ["id", "data-variant"], Un = /* @__PURE__ */ E({
2038
+ }), Pt = ["id", "data-variant"], el = /* @__PURE__ */ M({
2028
2039
  __name: "accordion",
2029
2040
  props: {
2030
2041
  behavior: { default: void 0 },
@@ -2040,50 +2051,50 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2040
2051
  id: { default: void 0 },
2041
2052
  autofocus: { type: Boolean }
2042
2053
  },
2043
- setup(t) {
2044
- const n = t, d = u(ee), e = u(""), a = u(!1), c = u(!1), l = u(null);
2045
- U(() => {
2046
- d.value = n.id || "accordion-" + G(), a.value = !0, c.value = !0;
2047
- }), z(
2048
- () => [a.value, n.name, n.behavior, d.value],
2054
+ setup(i) {
2055
+ const t = i, l = n(ye), e = n(""), a = n(!1), u = n(!1), s = n(null);
2056
+ W(() => {
2057
+ l.value = t.id || "accordion-" + Y(), a.value = !0, u.value = !0;
2058
+ }), A(
2059
+ () => [a.value, t.name, t.behavior, l.value],
2049
2060
  () => {
2050
- a.value && (n.behavior === "single" ? n.name ? e.value !== n.name && (e.value = n.name) : e.value !== d.value && d.value && (e.value = d.value) : e.value = "");
2061
+ a.value && (t.behavior === "single" ? t.name ? e.value !== t.name && (e.value = t.name) : e.value !== l.value && l.value && (e.value = l.value) : e.value = "");
2051
2062
  },
2052
2063
  {
2053
2064
  immediate: !0,
2054
2065
  flush: "post"
2055
2066
  }
2056
- ), z(
2057
- () => [l.value, e.value],
2067
+ ), A(
2068
+ () => [s.value, e.value],
2058
2069
  () => {
2059
- if (l.value) {
2060
- const i = l.value.getElementsByTagName("details");
2061
- if (i)
2062
- for (const h of Array.from(i))
2063
- e.value === "" ? h.removeAttribute("name") : h.name = e.value;
2070
+ if (s.value) {
2071
+ const d = s.value.getElementsByTagName("details");
2072
+ if (d)
2073
+ for (const v of Array.from(d))
2074
+ e.value === "" ? v.removeAttribute("name") : v.name = e.value;
2064
2075
  }
2065
2076
  },
2066
2077
  {
2067
2078
  immediate: !0,
2068
2079
  flush: "post"
2069
2080
  }
2070
- ), z(
2071
- () => [l.value, c.value, n.initOpenIndex],
2081
+ ), A(
2082
+ () => [s.value, u.value, t.initOpenIndex],
2072
2083
  () => {
2073
- var i;
2074
- if (l.value && c.value) {
2075
- if (n.initOpenIndex && ((i = n.initOpenIndex) == null ? void 0 : i.length) > 0) {
2076
- const h = l.value.getElementsByTagName("details");
2077
- if (h) {
2078
- const s = n.behavior === "single" && n.initOpenIndex.length > 1 ? [n.initOpenIndex[0]] : n.initOpenIndex;
2079
- Array.from(h).forEach(
2080
- (B, $) => {
2081
- s.includes($) && (B.open = !0);
2084
+ var d;
2085
+ if (s.value && u.value) {
2086
+ if (t.initOpenIndex && ((d = t.initOpenIndex) == null ? void 0 : d.length) > 0) {
2087
+ const v = s.value.getElementsByTagName("details");
2088
+ if (v) {
2089
+ const r = t.behavior === "single" && t.initOpenIndex.length > 1 ? [t.initOpenIndex[0]] : t.initOpenIndex;
2090
+ Array.from(v).forEach(
2091
+ (_, S) => {
2092
+ r.includes(S) && (_.open = !0);
2082
2093
  }
2083
2094
  );
2084
2095
  }
2085
2096
  }
2086
- c.value = !1;
2097
+ u.value = !1;
2087
2098
  }
2088
2099
  },
2089
2100
  {
@@ -2091,31 +2102,31 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2091
2102
  flush: "post"
2092
2103
  }
2093
2104
  );
2094
- function p(i) {
2105
+ function b(d) {
2095
2106
  try {
2096
- return typeof i == "string" ? JSON.parse(i) : i;
2097
- } catch (h) {
2098
- console.error(h);
2107
+ return typeof d == "string" ? JSON.parse(d) : d;
2108
+ } catch (v) {
2109
+ console.error(v);
2099
2110
  }
2100
2111
  return [];
2101
2112
  }
2102
- return (i, h) => (m(), g("ul", {
2113
+ return (d, v) => (m(), g("ul", {
2103
2114
  ref_key: "_ref",
2104
- ref: l,
2105
- id: d.value,
2106
- class: N(v(A)("db-accordion", n.class)),
2107
- "data-variant": i.variant
2115
+ ref: s,
2116
+ id: l.value,
2117
+ class: F(c(D)("db-accordion", t.class)),
2118
+ "data-variant": d.variant
2108
2119
  }, [
2109
- i.items ? M("", !0) : w(i.$slots, "default", { key: 0 }),
2110
- i.items ? (m(!0), g(C, { key: 1 }, te(p(i.items), (s, B) => (m(), X(ja, {
2111
- key: `accordion-item-${B}`,
2112
- headlinePlain: s.headlinePlain,
2113
- disabled: s.disabled,
2114
- text: s.text
2115
- }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : M("", !0)
2116
- ], 10, Ya));
2120
+ d.items ? R("", !0) : L(d.$slots, "default", { key: 0 }),
2121
+ d.items ? (m(!0), g(G, { key: 1 }, ce(b(d.items), (r, _) => (m(), x(Gt, {
2122
+ key: `accordion-item-${_}`,
2123
+ headlinePlain: r.headlinePlain,
2124
+ disabled: r.disabled,
2125
+ text: r.text
2126
+ }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : R("", !0)
2127
+ ], 10, Pt));
2117
2128
  }
2118
- }), Ka = ["id", "aria-labelledby"], Pn = /* @__PURE__ */ E({
2129
+ }), qt = ["id", "aria-labelledby"], al = /* @__PURE__ */ M({
2119
2130
  __name: "navigation",
2120
2131
  props: {
2121
2132
  children: { default: void 0 },
@@ -2126,23 +2137,23 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2126
2137
  autofocus: { type: Boolean },
2127
2138
  labelledBy: { default: void 0 }
2128
2139
  },
2129
- setup(t) {
2130
- const n = t, d = u(ee), e = u(null);
2131
- return U(() => {
2132
- d.value = n.id || "navigation-" + G();
2133
- }), (a, c) => (m(), g("nav", {
2140
+ setup(i) {
2141
+ const t = i, l = n(ye), e = n(null);
2142
+ return W(() => {
2143
+ l.value = t.id || "navigation-" + Y();
2144
+ }), (a, u) => (m(), g("nav", {
2134
2145
  ref_key: "_ref",
2135
2146
  ref: e,
2136
- id: d.value,
2147
+ id: l.value,
2137
2148
  "aria-labelledby": a.labelledBy,
2138
- class: N(v(A)("db-navigation", n.class))
2149
+ class: F(c(D)("db-navigation", t.class))
2139
2150
  }, [
2140
2151
  I("menu", null, [
2141
- w(a.$slots, "default")
2152
+ L(a.$slots, "default")
2142
2153
  ])
2143
- ], 10, Ka));
2154
+ ], 10, qt));
2144
2155
  }
2145
- }), Ja = ["id"], Qa = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Vn = /* @__PURE__ */ E({
2156
+ }), Vt = ["id"], Ot = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], tl = /* @__PURE__ */ M({
2146
2157
  __name: "popover",
2147
2158
  props: {
2148
2159
  open: { type: Boolean, default: void 0 },
@@ -2160,28 +2171,28 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2160
2171
  animation: { type: Boolean, default: void 0 },
2161
2172
  width: { default: void 0 }
2162
2173
  },
2163
- setup(t) {
2164
- const n = t, d = u(!1), e = u(!1), a = u(null);
2165
- U(() => {
2166
- d.value = !0;
2167
- }), z(
2168
- () => [a.value, d.value],
2174
+ setup(i) {
2175
+ const t = i, l = n(!1), e = n(!1), a = n(null);
2176
+ W(() => {
2177
+ l.value = !0;
2178
+ }), A(
2179
+ () => [a.value, l.value],
2169
2180
  () => {
2170
- if (a.value && d.value) {
2171
- const i = p();
2172
- i && (i.ariaHasPopup = "true"), d.value = !1;
2181
+ if (a.value && l.value) {
2182
+ const d = b();
2183
+ d && (d.ariaHasPopup = "true"), l.value = !1;
2173
2184
  }
2174
2185
  },
2175
2186
  {
2176
2187
  immediate: !0,
2177
2188
  flush: "post"
2178
2189
  }
2179
- ), z(
2190
+ ), A(
2180
2191
  () => [a.value, e.value],
2181
2192
  () => {
2182
2193
  if (a.value) {
2183
- const i = p();
2184
- i && (i.ariaExpanded = (!!e.value).toString());
2194
+ const d = b();
2195
+ d && (d.ariaExpanded = (!!e.value).toString());
2185
2196
  }
2186
2197
  },
2187
2198
  {
@@ -2189,52 +2200,52 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2189
2200
  flush: "post"
2190
2201
  }
2191
2202
  );
2192
- function c() {
2203
+ function u() {
2193
2204
  if (e.value = !0, !a.value) return;
2194
- const i = a.value.querySelector("article");
2195
- i && se(i);
2205
+ const d = a.value.querySelector("article");
2206
+ d && Se(d);
2196
2207
  }
2197
- function l(i) {
2198
- const h = i.target;
2199
- (!h.parentNode || h.parentNode.querySelector(":focus") !== h && h.parentNode.querySelector(":focus-within") !== h && h.parentNode.querySelector(":hover") !== h) && (e.value = !1);
2208
+ function s(d) {
2209
+ const v = d.target;
2210
+ (!v.parentNode || v.parentNode.querySelector(":focus") !== v && v.parentNode.querySelector(":focus-within") !== v && v.parentNode.querySelector(":hover") !== v) && (e.value = !1);
2200
2211
  }
2201
- function p() {
2202
- var i;
2212
+ function b() {
2213
+ var d;
2203
2214
  if (a.value) {
2204
- const h = Array.from(a.value.children);
2205
- if (h.length >= 2) {
2206
- const s = h[0];
2207
- return s.tagName.includes("-") ? ((i = s.children) == null ? void 0 : i.length) > 0 ? s.children[0] : null : s;
2215
+ const v = Array.from(a.value.children);
2216
+ if (v.length >= 2) {
2217
+ const r = v[0];
2218
+ return r.tagName.includes("-") ? ((d = r.children) == null ? void 0 : d.length) > 0 ? r.children[0] : null : r;
2208
2219
  }
2209
2220
  }
2210
2221
  return null;
2211
2222
  }
2212
- return (i, h) => (m(), g("div", {
2223
+ return (d, v) => (m(), g("div", {
2213
2224
  ref_key: "_ref",
2214
2225
  ref: a,
2215
- id: i.id,
2216
- class: N(v(A)("db-popover", n.class)),
2217
- onFocus: h[0] || (h[0] = async (s) => c()),
2218
- onBlur: h[1] || (h[1] = async (s) => l(s)),
2219
- onMouseenter: h[2] || (h[2] = async (s) => c()),
2220
- onMouseleave: h[3] || (h[3] = async (s) => l(s))
2226
+ id: d.id,
2227
+ class: F(c(D)("db-popover", t.class)),
2228
+ onFocus: v[0] || (v[0] = async (r) => u()),
2229
+ onBlur: v[1] || (v[1] = async (r) => s(r)),
2230
+ onMouseenter: v[2] || (v[2] = async (r) => u()),
2231
+ onMouseleave: v[3] || (v[3] = async (r) => s(r))
2221
2232
  }, [
2222
- w(i.$slots, "trigger"),
2233
+ L(d.$slots, "trigger"),
2223
2234
  I("article", {
2224
2235
  class: "db-popover-content",
2225
- "data-spacing": i.spacing,
2226
- "data-gap": v(V)(i.gap),
2227
- "data-animation": v(V)(i.animation ?? !0),
2228
- "data-open": i.open,
2229
- "data-delay": i.delay,
2230
- "data-width": i.width,
2231
- "data-placement": i.placement
2236
+ "data-spacing": d.spacing,
2237
+ "data-gap": c(X)(d.gap),
2238
+ "data-animation": c(X)(d.animation ?? !0),
2239
+ "data-open": d.open,
2240
+ "data-delay": d.delay,
2241
+ "data-width": d.width,
2242
+ "data-placement": d.placement
2232
2243
  }, [
2233
- w(i.$slots, "default")
2234
- ], 8, Qa)
2235
- ], 42, Ja));
2244
+ L(d.$slots, "default")
2245
+ ], 8, Ot)
2246
+ ], 42, Vt));
2236
2247
  }
2237
- }), Za = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], Gn = /* @__PURE__ */ E({
2248
+ }), Wt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], Xt = /* @__PURE__ */ M({
2238
2249
  __name: "tooltip",
2239
2250
  props: {
2240
2251
  showArrow: { type: Boolean, default: void 0 },
@@ -2250,18 +2261,18 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2250
2261
  animation: { type: Boolean, default: void 0 },
2251
2262
  width: { default: void 0 }
2252
2263
  },
2253
- setup(t) {
2254
- const n = t, d = u(ee), e = u(!1), a = u(null);
2255
- U(() => {
2256
- d.value = n.id || "tooltip-" + G(), e.value = !0;
2257
- }), z(
2264
+ setup(i) {
2265
+ const t = i, l = n(ye), e = n(!1), a = n(null);
2266
+ W(() => {
2267
+ l.value = t.id || "tooltip-" + Y(), e.value = !0;
2268
+ }), A(
2258
2269
  () => [a.value, e.value],
2259
2270
  () => {
2260
- if (a.value && e.value && d.value) {
2261
- let p = a.value.parentElement;
2262
- p && p.localName.includes("tooltip") && (p = p.parentElement), p && (["mouseenter", "focus"].forEach((i) => {
2263
- p.addEventListener(i, () => l());
2264
- }), p.setAttribute("data-has-tooltip", "true"), p.setAttribute("aria-describedby", d.value)), e.value = !1;
2271
+ if (a.value && e.value && l.value) {
2272
+ let b = a.value.parentElement;
2273
+ b && b.localName.includes("tooltip") && (b = b.parentElement), b && (["mouseenter", "focus"].forEach((d) => {
2274
+ b.addEventListener(d, () => s());
2275
+ }), b.setAttribute("data-has-tooltip", "true"), b.setAttribute("aria-describedby", l.value)), e.value = !1;
2265
2276
  }
2266
2277
  },
2267
2278
  {
@@ -2269,32 +2280,32 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2269
2280
  flush: "post"
2270
2281
  }
2271
2282
  );
2272
- function c(p) {
2273
- p.stopPropagation();
2283
+ function u(b) {
2284
+ b.stopPropagation();
2274
2285
  }
2275
- function l() {
2276
- a.value && se(a.value);
2286
+ function s() {
2287
+ a.value && Se(a.value);
2277
2288
  }
2278
- return (p, i) => (m(), g("i", {
2289
+ return (b, d) => (m(), g("i", {
2279
2290
  role: "tooltip",
2280
2291
  "aria-hidden": "true",
2281
2292
  "data-gap": "true",
2282
2293
  ref_key: "_ref",
2283
2294
  ref: a,
2284
- class: N(v(A)("db-tooltip", n.class)),
2285
- id: d.value,
2286
- "data-emphasis": p.emphasis,
2287
- "data-animation": v(V)(p.animation ?? !0),
2288
- "data-delay": p.delay,
2289
- "data-width": p.width,
2290
- "data-show-arrow": v(V)(p.showArrow ?? !0),
2291
- "data-placement": p.placement,
2292
- onClick: i[0] || (i[0] = async (h) => c(h))
2295
+ class: F(c(D)("db-tooltip", t.class)),
2296
+ id: l.value,
2297
+ "data-emphasis": b.emphasis,
2298
+ "data-animation": c(X)(b.animation ?? !0),
2299
+ "data-delay": b.delay,
2300
+ "data-width": b.width,
2301
+ "data-show-arrow": c(X)(b.showArrow ?? !0),
2302
+ "data-placement": b.placement,
2303
+ onClick: d[0] || (d[0] = async (v) => u(v))
2293
2304
  }, [
2294
- w(p.$slots, "default")
2295
- ], 10, Za));
2305
+ L(b.$slots, "default")
2306
+ ], 10, Wt));
2296
2307
  }
2297
- }), xa = ["id"], en = { role: "tablist" }, an = /* @__PURE__ */ E({
2308
+ }), Ht = ["id"], jt = { role: "tablist" }, Yt = /* @__PURE__ */ M({
2298
2309
  __name: "tab-list",
2299
2310
  props: {
2300
2311
  children: { default: void 0 },
@@ -2304,22 +2315,22 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2304
2315
  id: { default: void 0 },
2305
2316
  autofocus: { type: Boolean }
2306
2317
  },
2307
- setup(t) {
2308
- const n = t, d = u(ee), e = u(null);
2309
- return U(() => {
2310
- d.value = n.id || "tab-list-" + G();
2311
- }), (a, c) => (m(), g("div", {
2318
+ setup(i) {
2319
+ const t = i, l = n(ye), e = n(null);
2320
+ return W(() => {
2321
+ l.value = t.id || "tab-list-" + Y();
2322
+ }), (a, u) => (m(), g("div", {
2312
2323
  ref_key: "_ref",
2313
2324
  ref: e,
2314
- id: d.value,
2315
- class: N(v(A)("db-tab-list", n.class))
2325
+ id: l.value,
2326
+ class: F(c(D)("db-tab-list", t.class))
2316
2327
  }, [
2317
- I("ul", en, [
2318
- w(a.$slots, "default")
2328
+ I("ul", jt, [
2329
+ L(a.$slots, "default")
2319
2330
  ])
2320
- ], 10, xa));
2331
+ ], 10, Ht));
2321
2332
  }
2322
- }), nn = ["id", "aria-labelledby"], tn = /* @__PURE__ */ E({
2333
+ }), Kt = ["id", "aria-labelledby"], Jt = /* @__PURE__ */ M({
2323
2334
  __name: "tab-panel",
2324
2335
  props: {
2325
2336
  content: { default: void 0 },
@@ -2331,24 +2342,24 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2331
2342
  autofocus: { type: Boolean },
2332
2343
  labelledBy: { default: void 0 }
2333
2344
  },
2334
- setup(t) {
2335
- const n = t, d = u(null);
2336
- return U(() => {
2345
+ setup(i) {
2346
+ const t = i, l = n(null);
2347
+ return W(() => {
2337
2348
  }), (e, a) => (m(), g("section", {
2338
2349
  role: "tabpanel",
2339
2350
  ref_key: "_ref",
2340
- ref: d,
2341
- class: N(v(A)("db-tab-panel", n.class)),
2351
+ ref: l,
2352
+ class: F(c(D)("db-tab-panel", t.class)),
2342
2353
  id: e.id,
2343
2354
  "aria-labelledby": e.labelledBy
2344
2355
  }, [
2345
- e.content ? (m(), g(C, { key: 0 }, [
2346
- L(k(e.content), 1)
2347
- ], 64)) : M("", !0),
2348
- w(e.$slots, "default")
2349
- ], 10, nn));
2356
+ e.content ? (m(), g(G, { key: 0 }, [
2357
+ $(w(e.content), 1)
2358
+ ], 64)) : R("", !0),
2359
+ L(e.$slots, "default")
2360
+ ], 10, Kt));
2350
2361
  }
2351
- }), dn = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], qn = /* @__PURE__ */ E({
2362
+ }), Qt = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], il = /* @__PURE__ */ M({
2352
2363
  __name: "tabs",
2353
2364
  props: {
2354
2365
  arrowScrollDistance: { default: void 0 },
@@ -2369,21 +2380,21 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2369
2380
  width: { default: void 0 },
2370
2381
  alignment: { default: void 0 }
2371
2382
  },
2372
- setup(t) {
2373
- const n = t, d = u("tabs-" + G()), e = u(""), a = u(!1), c = u(!1), l = u(!1), p = u(null), i = u(null);
2374
- U(() => {
2375
- d.value = n.id || d.value, e.value = `tabs-${n.name || G()}`, a.value = !0;
2376
- }), z(
2377
- () => [i.value, a.value],
2383
+ setup(i) {
2384
+ const t = i, l = n("tabs-" + Y()), e = n(""), a = n(!1), u = n(!1), s = n(!1), b = n(null), d = n(null);
2385
+ W(() => {
2386
+ l.value = t.id || l.value, e.value = `tabs-${t.name || Y()}`, a.value = !0;
2387
+ }), A(
2388
+ () => [d.value, a.value],
2378
2389
  () => {
2379
- if (i.value && a.value) {
2380
- $(), D(!0);
2381
- const f = i.value.querySelector(".db-tab-list");
2382
- f && new MutationObserver((y) => {
2383
- y.forEach((r) => {
2384
- (r.removedNodes.length || r.addedNodes.length) && ($(), D());
2390
+ if (d.value && a.value) {
2391
+ S(), O(!0);
2392
+ const h = d.value.querySelector(".db-tab-list");
2393
+ h && new MutationObserver((B) => {
2394
+ B.forEach((p) => {
2395
+ (p.removedNodes.length || p.addedNodes.length) && (S(), O());
2385
2396
  });
2386
- }).observe(f, {
2397
+ }).observe(h, {
2387
2398
  childList: !0,
2388
2399
  subtree: !0
2389
2400
  }), a.value = !1;
@@ -2394,151 +2405,151 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2394
2405
  flush: "post"
2395
2406
  }
2396
2407
  );
2397
- function h(f) {
2408
+ function v(h) {
2398
2409
  try {
2399
- return typeof f == "string" ? JSON.parse(f) : f;
2400
- } catch (o) {
2401
- console.error(o);
2410
+ return typeof h == "string" ? JSON.parse(h) : h;
2411
+ } catch (f) {
2412
+ console.error(f);
2402
2413
  }
2403
2414
  return [];
2404
2415
  }
2405
- function s(f) {
2406
- const o = f.scrollWidth > f.clientWidth;
2407
- c.value = o && f.scrollLeft > 1, l.value = o && f.scrollLeft < f.scrollWidth - f.clientWidth;
2416
+ function r(h) {
2417
+ const f = h.scrollWidth > h.clientWidth;
2418
+ u.value = f && h.scrollLeft > 1, s.value = f && h.scrollLeft < h.scrollWidth - h.clientWidth;
2408
2419
  }
2409
- function B(f) {
2410
- var y;
2411
- let o = n.arrowScrollDistance || 100;
2412
- f && (o *= -1), (y = p.value) == null || y.scrollBy({
2420
+ function _(h) {
2421
+ var B;
2422
+ let f = t.arrowScrollDistance || 100;
2423
+ h && (f *= -1), (B = b.value) == null || B.scrollBy({
2413
2424
  top: 0,
2414
- left: o,
2425
+ left: f,
2415
2426
  behavior: "smooth"
2416
2427
  });
2417
2428
  }
2418
- function $() {
2419
- if (i.value) {
2420
- const f = i.value.querySelector(".db-tab-list");
2421
- if (f) {
2422
- const o = f.querySelector('[role="tablist"]');
2423
- o && (o.setAttribute(
2429
+ function S() {
2430
+ if (d.value) {
2431
+ const h = d.value.querySelector(".db-tab-list");
2432
+ if (h) {
2433
+ const f = h.querySelector('[role="tablist"]');
2434
+ f && (f.setAttribute(
2424
2435
  "aria-orientation",
2425
- n.orientation || "horizontal"
2426
- ), n.behavior === "arrows" && (p.value = o, s(o), o.addEventListener("scroll", () => {
2427
- s(o);
2436
+ t.orientation || "horizontal"
2437
+ ), t.behavior === "arrows" && (b.value = f, r(f), f.addEventListener("scroll", () => {
2438
+ r(f);
2428
2439
  })));
2429
2440
  }
2430
2441
  }
2431
2442
  }
2432
- function D(f) {
2433
- if (i.value) {
2434
- const o = Array.from(
2435
- i.value.getElementsByClassName("db-tab-item")
2443
+ function O(h) {
2444
+ if (d.value) {
2445
+ const f = Array.from(
2446
+ d.value.getElementsByClassName("db-tab-item")
2436
2447
  );
2437
- for (const r of o) {
2438
- const T = o.indexOf(r), b = r.querySelector("label"), S = r.querySelector("input");
2439
- if (S && b) {
2440
- if (!S.id) {
2441
- const F = `${e.value}-tab-${T}`;
2442
- b.setAttribute("for", F), S.setAttribute(
2448
+ for (const p of f) {
2449
+ const E = f.indexOf(p), y = p.querySelector("label"), z = p.querySelector("input");
2450
+ if (z && y) {
2451
+ if (!z.id) {
2452
+ const C = `${e.value}-tab-${E}`;
2453
+ y.setAttribute("for", C), z.setAttribute(
2443
2454
  "aria-controls",
2444
- `${e.value}-tab-panel-${T}`
2445
- ), S.id = F, S.setAttribute("name", e.value);
2455
+ `${e.value}-tab-panel-${E}`
2456
+ ), z.id = C, z.setAttribute("name", e.value);
2446
2457
  }
2447
- if (f) {
2448
- const F = !n.initialSelectedMode || n.initialSelectedMode === "auto", ne = n.initialSelectedIndex == null && T === 0 || n.initialSelectedIndex === T;
2449
- F && ne && S.click();
2458
+ if (h) {
2459
+ const C = !t.initialSelectedMode || t.initialSelectedMode === "auto", U = t.initialSelectedIndex == null && E === 0 || t.initialSelectedIndex === E;
2460
+ C && U && z.click();
2450
2461
  }
2451
2462
  }
2452
2463
  }
2453
- const y = Array.from(
2454
- i.value.querySelectorAll(
2464
+ const B = Array.from(
2465
+ d.value.querySelectorAll(
2455
2466
  ":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"
2456
2467
  )
2457
2468
  );
2458
- for (const r of y) {
2459
- if (r.id) continue;
2460
- const T = y.indexOf(r);
2461
- r.id = `${e.value}-tab-panel-${T}`, r.setAttribute("aria-labelledby", `${e.value}-tab-${T}`);
2469
+ for (const p of B) {
2470
+ if (p.id) continue;
2471
+ const E = B.indexOf(p);
2472
+ p.id = `${e.value}-tab-panel-${E}`, p.setAttribute("aria-labelledby", `${e.value}-tab-${E}`);
2462
2473
  }
2463
2474
  }
2464
2475
  }
2465
- function _(f) {
2466
- if (n.onIndexChange && f.target) {
2467
- const o = f.target.closest("ul"), y = (
2476
+ function T(h) {
2477
+ if (t.onIndexChange && h.target) {
2478
+ const f = h.target.closest("ul"), B = (
2468
2479
  // db-tab-item for angular and stencil wrapping elements
2469
- f.target.closest("db-tab-item") ?? f.target.closest("li")
2480
+ h.target.closest("db-tab-item") ?? h.target.closest("li")
2470
2481
  );
2471
- o !== null && y !== null && n.onIndexChange(Array.from(o.childNodes).indexOf(y));
2482
+ f !== null && B !== null && t.onIndexChange(Array.from(f.childNodes).indexOf(B));
2472
2483
  }
2473
- n.onTabSelect && n.onTabSelect(f);
2484
+ t.onTabSelect && t.onTabSelect(h);
2474
2485
  }
2475
- return (f, o) => (m(), g("div", {
2486
+ return (h, f) => (m(), g("div", {
2476
2487
  ref_key: "_ref",
2477
- ref: i,
2478
- id: d.value,
2479
- class: N(v(A)("db-tabs", n.class)),
2480
- "data-orientation": f.orientation,
2481
- "data-scroll-behavior": f.behavior,
2482
- "data-alignment": f.alignment ?? "start",
2483
- "data-width": f.width ?? "auto",
2484
- onInput: o[0] || (o[0] = async (y) => _(y))
2488
+ ref: d,
2489
+ id: l.value,
2490
+ class: F(c(D)("db-tabs", t.class)),
2491
+ "data-orientation": h.orientation,
2492
+ "data-scroll-behavior": h.behavior,
2493
+ "data-alignment": h.alignment ?? "start",
2494
+ "data-width": h.width ?? "auto",
2495
+ onInput: f[0] || (f[0] = async (B) => T(B))
2485
2496
  }, [
2486
- c.value ? (m(), X(de, {
2497
+ u.value ? (m(), x(he, {
2487
2498
  key: 0,
2488
2499
  class: "tabs-scroll-left",
2489
2500
  variant: "ghost",
2490
2501
  icon: "chevron_left",
2491
2502
  type: "button",
2492
2503
  noText: !0,
2493
- onClick: (y) => B(!0)
2504
+ onClick: (B) => _(!0)
2494
2505
  }, {
2495
- default: R(() => o[1] || (o[1] = [
2496
- L(" Scroll left ")
2506
+ default: V(() => f[1] || (f[1] = [
2507
+ $(" Scroll left ")
2497
2508
  ])),
2498
2509
  _: 1
2499
- }, 8, ["onClick"])) : M("", !0),
2500
- f.tabs ? (m(), g(C, { key: 1 }, [
2501
- O(an, null, {
2502
- default: R(() => [
2503
- (m(!0), g(C, null, te(h(f.tabs), (y, r) => (m(), X(Da, {
2504
- key: f.name + "tab-item" + r,
2505
- active: y.active,
2506
- label: y.label,
2507
- iconAfter: y.iconAfter,
2508
- icon: y.icon,
2509
- noText: y.noText
2510
+ }, 8, ["onClick"])) : R("", !0),
2511
+ h.tabs ? (m(), g(G, { key: 1 }, [
2512
+ j(Yt, null, {
2513
+ default: V(() => [
2514
+ (m(!0), g(G, null, ce(v(h.tabs), (B, p) => (m(), x(Lt, {
2515
+ key: h.name + "tab-item" + p,
2516
+ active: B.active,
2517
+ label: B.label,
2518
+ iconAfter: B.iconAfter,
2519
+ icon: B.icon,
2520
+ noText: B.noText
2510
2521
  }, null, 8, ["active", "label", "iconAfter", "icon", "noText"]))), 128))
2511
2522
  ]),
2512
2523
  _: 1
2513
2524
  }),
2514
- (m(!0), g(C, null, te(h(f.tabs), (y, r) => (m(), X(tn, {
2515
- key: f.name + "tab-panel" + r,
2516
- content: y.content
2525
+ (m(!0), g(G, null, ce(v(h.tabs), (B, p) => (m(), x(Jt, {
2526
+ key: h.name + "tab-panel" + p,
2527
+ content: B.content
2517
2528
  }, {
2518
- default: R(() => [
2519
- L(k(y.children), 1)
2529
+ default: V(() => [
2530
+ $(w(B.children), 1)
2520
2531
  ]),
2521
2532
  _: 2
2522
2533
  }, 1032, ["content"]))), 128))
2523
- ], 64)) : M("", !0),
2524
- l.value ? (m(), X(de, {
2534
+ ], 64)) : R("", !0),
2535
+ s.value ? (m(), x(he, {
2525
2536
  key: 2,
2526
2537
  class: "tabs-scroll-right",
2527
2538
  variant: "ghost",
2528
2539
  icon: "chevron_right",
2529
2540
  type: "button",
2530
2541
  noText: !0,
2531
- onClick: (y) => B()
2542
+ onClick: (B) => _()
2532
2543
  }, {
2533
- default: R(() => o[2] || (o[2] = [
2534
- L(" Scroll right ")
2544
+ default: V(() => f[2] || (f[2] = [
2545
+ $(" Scroll right ")
2535
2546
  ])),
2536
2547
  _: 1
2537
- }, 8, ["onClick"])) : M("", !0),
2538
- w(f.$slots, "default")
2539
- ], 42, dn));
2548
+ }, 8, ["onClick"])) : R("", !0),
2549
+ L(h.$slots, "default")
2550
+ ], 42, Qt));
2540
2551
  }
2541
- }), On = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], Wn = ["medium", "small", "large", "none"], Xn = ["medium", "small", "large", "none"], Hn = ["left", "right", "top", "bottom", "left-start", "left-end", "right-start", "right-end", "top-start", "top-end", "bottom-start", "bottom-end"], jn = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], Yn = ["horizontal", "vertical"], Kn = ["full", "auto"], Jn = ["full", "medium", "large", "small"], Qn = ["none", "slow", "fast"], Zn = ["auto", "fixed"], xn = ["small", "medium"], ln = ["weak", "strong"], et = [...ln, "origin"], at = ["invalid", "valid", "no-validation"], nt = ["above", "floating"], tt = ["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"], dt = ["time", "true", "false", "date", "page", "step", "location"], it = ["_self", "_blank", "_parent", "_top"], lt = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], st = ["start", "center"], sn = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], ot = /* @__PURE__ */ E({
2552
+ }), ll = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], ol = ["medium", "small", "large", "none"], dl = ["medium", "small", "large", "none"], Zt = ["left", "right", "left-start", "left-end", "right-start", "right-end"], xt = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], nl = [...Zt, ...xt], sl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], ul = ["horizontal", "vertical"], rl = ["full", "auto"], cl = ["full", "medium", "large", "small"], vl = ["none", "slow", "fast"], fl = ["auto", "fixed"], pl = ["small", "medium"], ei = ["weak", "strong"], hl = [...ei, "origin"], ml = ["invalid", "valid", "no-validation"], bl = ["above", "floating"], gl = ["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"], yl = ["time", "true", "false", "date", "page", "step", "location"], kl = ["_self", "_blank", "_parent", "_top"], Bl = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], wl = ["start", "center"], ai = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], _l = /* @__PURE__ */ M({
2542
2553
  __name: "stack",
2543
2554
  props: {
2544
2555
  variant: { default: void 0 },
@@ -2554,117 +2565,908 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2554
2565
  autofocus: { type: Boolean },
2555
2566
  gap: { default: void 0 }
2556
2567
  },
2557
- setup(t) {
2558
- const n = t, d = u(null);
2568
+ setup(i) {
2569
+ const t = i, l = n(null);
2559
2570
  return (e, a) => (m(), g("div", {
2560
2571
  ref_key: "_ref",
2561
- ref: d,
2572
+ ref: l,
2562
2573
  id: e.id,
2563
- class: N(v(A)("db-stack", n.class)),
2574
+ class: F(c(D)("db-stack", t.class)),
2564
2575
  "data-gap": e.gap,
2565
2576
  "data-variant": e.variant,
2566
2577
  "data-direction": e.direction,
2567
2578
  "data-alignment": e.alignment,
2568
2579
  "data-justify-content": e.justifyContent,
2569
- "data-wrap": v(V)(e.wrap)
2580
+ "data-wrap": c(X)(e.wrap)
2581
+ }, [
2582
+ L(e.$slots, "default")
2583
+ ], 10, ai));
2584
+ }
2585
+ }), ti = ["role", "aria-label", "id"], ii = /* @__PURE__ */ M({
2586
+ __name: "custom-select-list",
2587
+ props: {
2588
+ label: { default: void 0 },
2589
+ multiple: { type: Boolean, default: void 0 },
2590
+ children: { default: void 0 },
2591
+ className: { default: void 0 },
2592
+ class: {},
2593
+ describedbyid: {},
2594
+ id: { default: void 0 },
2595
+ autofocus: { type: Boolean }
2596
+ },
2597
+ setup(i) {
2598
+ const t = i, l = n(null);
2599
+ return (e, a) => (m(), g("div", {
2600
+ role: e.multiple ? "group" : "radiogroup",
2601
+ "aria-label": e.label,
2602
+ ref_key: "_ref",
2603
+ ref: l,
2604
+ id: e.id,
2605
+ class: F(c(D)("db-custom-select-list", t.class))
2606
+ }, [
2607
+ I("ul", null, [
2608
+ L(e.$slots, "default")
2609
+ ])
2610
+ ], 10, ti));
2611
+ }
2612
+ }), li = ["id", "data-divider"], oi = ["data-icon", "data-hide-icon", "data-icon-after"], di = ["type", "name", "checked", "disabled", "value"], ni = { key: 1 }, si = /* @__PURE__ */ M({
2613
+ __name: "custom-select-list-item",
2614
+ props: {
2615
+ groupTitle: { default: void 0 },
2616
+ type: { default: void 0 },
2617
+ children: { default: void 0 },
2618
+ className: { default: void 0 },
2619
+ class: {},
2620
+ describedbyid: {},
2621
+ id: { default: void 0 },
2622
+ autofocus: { type: Boolean },
2623
+ disabled: { type: Boolean, default: void 0 },
2624
+ label: { default: void 0 },
2625
+ name: { default: void 0 },
2626
+ value: { default: void 0 },
2627
+ checked: { type: Boolean, default: void 0 },
2628
+ change: { type: Function, default: void 0 },
2629
+ onChange: { type: Function, default: void 0 },
2630
+ isGroupTitle: { type: Boolean, default: void 0 },
2631
+ showDivider: { type: Boolean, default: void 0 },
2632
+ icon: { default: void 0 },
2633
+ showIcon: { type: Boolean, default: void 0 }
2634
+ },
2635
+ emits: ["update:checked"],
2636
+ setup(i, { emit: t }) {
2637
+ const l = t, e = i, a = n(void 0), u = n(!1), s = n(null);
2638
+ W(() => {
2639
+ a.value = e.id ?? `custom-select-list-item-${Y()}`;
2640
+ }), A(
2641
+ () => [e.isGroupTitle, e.showDivider],
2642
+ () => {
2643
+ u.value = !!(e.isGroupTitle || e.showDivider);
2644
+ },
2645
+ {
2646
+ immediate: !0,
2647
+ flush: "post"
2648
+ }
2649
+ );
2650
+ function b(v) {
2651
+ e.onChange && e.onChange(v), e.change && e.change(v), ve(l, v, "checked");
2652
+ }
2653
+ function d() {
2654
+ if (!(e.isGroupTitle || e.type === "checkbox"))
2655
+ return e.checked ? "check" : "x_placeholder";
2656
+ }
2657
+ return (v, r) => (m(), g("li", {
2658
+ ref_key: "_ref",
2659
+ ref: s,
2660
+ id: a.value,
2661
+ class: F(
2662
+ c(D)("db-custom-select-list-item", e.class, {
2663
+ "db-checkbox": v.type === "checkbox" && !v.isGroupTitle,
2664
+ "db-radio": v.type !== "checkbox" && !v.isGroupTitle
2665
+ })
2666
+ ),
2667
+ "data-divider": c(X)(u.value)
2668
+ }, [
2669
+ v.isGroupTitle ? (m(), g("span", ni, w(v.groupTitle), 1)) : (m(), g("label", {
2670
+ key: 0,
2671
+ "data-icon": v.type !== "checkbox" && v.icon ? v.icon : void 0,
2672
+ "data-hide-icon": c(H)(v.showIcon),
2673
+ "data-icon-after": d()
2674
+ }, [
2675
+ I("input", {
2676
+ class: "db-custom-select-list-item-checkbox",
2677
+ "data-disable-focus": "true",
2678
+ type: v.type,
2679
+ name: v.name,
2680
+ checked: v.checked,
2681
+ disabled: v.disabled,
2682
+ value: v.value,
2683
+ onChange: r[0] || (r[0] = async (_) => b(_))
2684
+ }, null, 40, di),
2685
+ v.label ? (m(), g(G, { key: 0 }, [
2686
+ $(w(v.label), 1)
2687
+ ], 64)) : R("", !0),
2688
+ v.label ? R("", !0) : L(v.$slots, "default", { key: 1 })
2689
+ ], 8, oi))
2690
+ ], 10, li));
2691
+ }
2692
+ }), ui = ["id", "data-width"], ri = /* @__PURE__ */ M({
2693
+ __name: "custom-select-dropdown",
2694
+ props: {
2695
+ width: { default: "fixed" },
2696
+ children: { default: void 0 },
2697
+ className: { default: void 0 },
2698
+ class: {},
2699
+ describedbyid: {},
2700
+ id: { default: void 0 },
2701
+ autofocus: { type: Boolean }
2702
+ },
2703
+ setup(i) {
2704
+ const t = i, l = n(null);
2705
+ return (e, a) => (m(), g("article", {
2706
+ "data-spacing": "none",
2707
+ ref_key: "_ref",
2708
+ ref: l,
2709
+ id: e.id,
2710
+ class: F(c(D)("db-custom-select-dropdown db-card", t.class)),
2711
+ "data-width": e.width
2712
+ }, [
2713
+ L(e.$slots, "default")
2714
+ ], 10, ui));
2715
+ }
2716
+ }), ci = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-variant", "data-required", "data-placement", "data-selected-type", "data-hide-label", "data-icon", "data-hide-icon"], vi = ["id"], fi = ["id", "form", "disabled", "multiple", "required"], pi = ["disabled", "value"], hi = ["open", "aria-disabled"], mi = ["id", "aria-labelledby"], bi = ["data-visually-hidden", "id"], gi = { key: 1 }, yi = { key: 0 }, ki = { key: 0 }, Bi = { class: "db-checkbox db-custom-select-list-item" }, wi = ["form", "checked"], _i = ["aria-hidden", "id"], Ii = {
2717
+ "data-visually-hidden": "true",
2718
+ role: "status"
2719
+ }, Il = /* @__PURE__ */ M({
2720
+ __name: "custom-select",
2721
+ props: {
2722
+ children: { default: void 0 },
2723
+ className: { default: void 0 },
2724
+ class: {},
2725
+ describedbyid: {},
2726
+ id: { default: void 0 },
2727
+ autofocus: { type: Boolean },
2728
+ ariaDescribedBy: {},
2729
+ form: { default: void 0 },
2730
+ validation: { default: void 0 },
2731
+ disabled: { type: Boolean, default: void 0 },
2732
+ label: { default: void 0 },
2733
+ name: { default: void 0 },
2734
+ required: { type: Boolean, default: void 0 },
2735
+ variant: { default: void 0 },
2736
+ placeholder: { default: void 0 },
2737
+ message: { default: void 0 },
2738
+ validMessage: { default: void 0 },
2739
+ invalidMessage: { default: void 0 },
2740
+ messageIcon: { default: void 0 },
2741
+ autocomplete: {},
2742
+ showMessage: { type: Boolean, default: void 0 },
2743
+ amountText: { default: void 0 },
2744
+ clearSelectionLabel: { default: "Clear selection" },
2745
+ deSelectAllLabel: { default: void 0 },
2746
+ dropdownWidth: { default: void 0 },
2747
+ loadingText: { default: void 0 },
2748
+ mobileCloseButtonText: { default: void 0 },
2749
+ multiple: { type: Boolean, default: void 0 },
2750
+ noResultsText: { default: void 0 },
2751
+ onAmountChange: { type: Function, default: void 0 },
2752
+ onSelect: { type: Function, default: void 0 },
2753
+ options: { default: void 0 },
2754
+ placement: { default: void 0 },
2755
+ removeTagsTexts: { default: void 0 },
2756
+ searchLabel: { default: void 0 },
2757
+ searchPlaceholder: { default: void 0 },
2758
+ selectAllLabel: { default: void 0 },
2759
+ selectedType: { default: void 0 },
2760
+ showClearSelection: { type: Boolean, default: !0 },
2761
+ showLoading: { type: Boolean, default: void 0 },
2762
+ showNoResults: { type: Boolean, default: void 0 },
2763
+ showSearch: { type: Boolean, default: void 0 },
2764
+ showSelectAll: { type: Boolean, default: void 0 },
2765
+ values: { default: void 0 },
2766
+ open: { type: Boolean, default: void 0 },
2767
+ onDropdownToggle: { type: Function, default: void 0 },
2768
+ width: { default: void 0 },
2769
+ icon: { default: void 0 },
2770
+ showIcon: { type: Boolean, default: void 0 },
2771
+ showLabel: { type: Boolean, default: void 0 }
2772
+ },
2773
+ emits: ["update:values"],
2774
+ setup(i, { emit: t }) {
2775
+ const l = t, e = i, a = n(void 0), u = n(void 0), s = n(void 0), b = n(void 0), d = n(void 0), v = n(void 0), r = n(void 0), _ = n(void 0), S = n(void 0), O = n(void 0), T = n("no-validation"), h = n(""), f = n(""), B = n(void 0), p = n(""), E = n([]), y = n(!1), z = n(!1), C = n(0), U = n([]), K = n([]), fe = n(!1), me = n(-1), ke = n(-1), $e = n(!1), _e = n(!1), Je = n(null), P = n(null), be = n(null), Be = n(null);
2776
+ W(() => {
2777
+ const o = e.id ?? `custom-select-${Y()}`;
2778
+ u.value = o, s.value = o + oe, b.value = o + de, d.value = o + ne, v.value = o + Ge, r.value = o + Ue, _.value = o + "-summary", S.value = o + Ae, B.value = o + "-selected-labels", O.value = o + "-info", document && document.addEventListener("click", De);
2779
+ }), qe(() => {
2780
+ document && document.removeEventListener("click", De);
2781
+ }), A(
2782
+ () => [e.name, u.value],
2783
+ () => {
2784
+ a.value = e.name ?? u.value;
2785
+ },
2786
+ {
2787
+ immediate: !0,
2788
+ flush: "post"
2789
+ }
2790
+ ), A(
2791
+ () => [u.value],
2792
+ () => {
2793
+ if (u.value) {
2794
+ const o = u.value + oe;
2795
+ r.value = u.value + Ue, v.value = u.value + Ge, b.value = u.value + de, d.value = u.value + ne, S.value = u.value + Ae, ee(e.message, e.showMessage) ? we(o) : we();
2796
+ }
2797
+ },
2798
+ {
2799
+ immediate: !0,
2800
+ flush: "post"
2801
+ }
2802
+ ), A(
2803
+ () => [P.value, h.value],
2804
+ () => {
2805
+ if (P.value) {
2806
+ const o = P.value.querySelector("summary");
2807
+ o && o.setAttribute("aria-describedby", h.value || "");
2808
+ }
2809
+ },
2810
+ {
2811
+ immediate: !0,
2812
+ flush: "post"
2813
+ }
2814
+ ), A(
2815
+ () => [P.value],
2816
+ () => {
2817
+ if (P.value) {
2818
+ const o = P.value.querySelector("summary");
2819
+ o && (o.addEventListener("click", () => {
2820
+ Fe(), Ee(!0);
2821
+ }), o.addEventListener("keydown", (k) => {
2822
+ var q;
2823
+ k.code === "Space" && !((q = P.value) != null && q.open) && Ee();
2824
+ })), P.value.addEventListener(
2825
+ "focusout",
2826
+ (k) => Ie(k)
2827
+ );
2828
+ }
2829
+ },
2830
+ {
2831
+ immediate: !0,
2832
+ flush: "post"
2833
+ }
2834
+ ), A(
2835
+ () => [e.showNoResults, K.value],
2836
+ () => {
2837
+ e.showNoResults !== void 0 ? fe.value = e.showNoResults : K.value && (fe.value = K.value.length === 0);
2838
+ },
2839
+ {
2840
+ immediate: !0,
2841
+ flush: "post"
2842
+ }
2843
+ ), A(
2844
+ () => [e.showSelectAll, C.value, e.multiple],
2845
+ () => {
2846
+ y.value = !!(e.multiple && (e.showSelectAll || C.value > 5));
2847
+ },
2848
+ {
2849
+ immediate: !0,
2850
+ flush: "post"
2851
+ }
2852
+ ), A(
2853
+ () => [e.showSearch, C.value],
2854
+ () => {
2855
+ z.value = e.showSearch || C.value > 9;
2856
+ },
2857
+ {
2858
+ immediate: !0,
2859
+ flush: "post"
2860
+ }
2861
+ ), A(
2862
+ () => [
2863
+ ke.value,
2864
+ me.value,
2865
+ e.onSelect
2866
+ ],
2867
+ () => {
2868
+ if (e.onSelect && (ke.value || me.value)) {
2869
+ const o = me.value && !ke.value, k = me.value && ke.value && me.value > ke.value;
2870
+ if (o || k) {
2871
+ e.onSelect(U.value ?? []);
2872
+ const q = {
2873
+ target: {
2874
+ values: U.value
2875
+ }
2876
+ };
2877
+ ve(l, q, "values");
2878
+ }
2879
+ }
2880
+ },
2881
+ {
2882
+ immediate: !0,
2883
+ flush: "post"
2884
+ }
2885
+ ), A(
2886
+ () => [e.values],
2887
+ () => {
2888
+ e.values && Array.isArray(e.values) && (U.value = e.values ?? [], ke.value = (/* @__PURE__ */ new Date()).getTime());
2889
+ },
2890
+ {
2891
+ immediate: !0,
2892
+ flush: "post"
2893
+ }
2894
+ ), A(
2895
+ () => [U.value],
2896
+ () => {
2897
+ var o, k, q;
2898
+ be.value && (be.value.value = Ze()), !((o = be.value) != null && o.validity.valid) || e.validation === "invalid" ? (T.value = "invalid", we(d.value), le() && (p.value = e.invalidMessage ?? ((k = be.value) == null ? void 0 : k.validationMessage) ?? ue, J(() => p.value = "", 1e3))) : e.validation === "valid" || (q = be.value) != null && q.validity.valid && e.required ? (T.value = "valid", we(b.value), le() && (p.value = e.validMessage ?? se, J(() => p.value = "", 1e3))) : e.message ? (T.value = "no-validation", we(s.value)) : (T.value = "no-validation", we(S.value));
2899
+ },
2900
+ {
2901
+ immediate: !0,
2902
+ flush: "post"
2903
+ }
2904
+ ), A(
2905
+ () => [e.validation],
2906
+ () => {
2907
+ T.value = e.validation;
2908
+ },
2909
+ {
2910
+ immediate: !0,
2911
+ flush: "post"
2912
+ }
2913
+ ), A(
2914
+ () => [U.value, C.value],
2915
+ () => {
2916
+ var o, k;
2917
+ ((o = U.value) == null ? void 0 : o.length) === 0 ? ($e.value = !1, _e.value = !1) : ((k = U.value) == null ? void 0 : k.length) === C.value ? (_e.value = !1, $e.value = !0) : U.value && (_e.value = !0);
2918
+ },
2919
+ {
2920
+ immediate: !0,
2921
+ flush: "post"
2922
+ }
2923
+ ), A(
2924
+ () => [e.options],
2925
+ () => {
2926
+ var o;
2927
+ K.value = e.options, C.value = ((o = e.options) == null ? void 0 : o.filter((k) => !k.isGroupTitle).length) ?? 0;
2928
+ },
2929
+ {
2930
+ immediate: !0,
2931
+ flush: "post"
2932
+ }
2933
+ ), A(
2934
+ () => [K.value, U.value],
2935
+ () => {
2936
+ var o, k;
2937
+ (o = K.value) != null && o.length && (E.value = (k = K.value) == null ? void 0 : k.filter(
2938
+ (q) => {
2939
+ var Z, N;
2940
+ return !q.value || !((Z = U.value) != null && Z.includes) ? !1 : !q.isGroupTitle && ((N = U.value) == null ? void 0 : N.includes(q.value));
2941
+ }
2942
+ ));
2943
+ },
2944
+ {
2945
+ immediate: !0,
2946
+ flush: "post"
2947
+ }
2948
+ ), A(
2949
+ () => [E.value, e.selectedType, e.amountText],
2950
+ () => {
2951
+ var o, k, q;
2952
+ (o = E.value) != null && o.length ? e.selectedType === "amount" ? f.value = e.amountText ? e.amountText : `${(k = E.value) == null ? void 0 : k.length} ${ma}` : f.value = (q = E.value) == null ? void 0 : q.map((Z) => ge(Z)).join(", ") : f.value = "";
2953
+ },
2954
+ {
2955
+ immediate: !0,
2956
+ flush: "post"
2957
+ }
2958
+ ), A(
2959
+ () => [E.value],
2960
+ () => {
2961
+ var o;
2962
+ e.onAmountChange && e.onAmountChange(((o = E.value) == null ? void 0 : o.length) ?? 0);
2963
+ },
2964
+ {
2965
+ immediate: !0,
2966
+ flush: "post"
2967
+ }
2968
+ ), A(
2969
+ () => [_e.value, Be.value],
2970
+ () => {
2971
+ Be.value && (Be.value.indeterminate = !!_e.value);
2972
+ },
2973
+ {
2974
+ immediate: !0,
2975
+ flush: "post"
2976
+ }
2977
+ );
2978
+ function Qe(o) {
2979
+ e.onDropdownToggle && e.onDropdownToggle(o);
2980
+ }
2981
+ function Ze() {
2982
+ var o;
2983
+ return (o = U.value) != null && o.length ? U.value.at(0) ?? "" : "";
2984
+ }
2985
+ function we(o) {
2986
+ var q;
2987
+ const k = [];
2988
+ o && k.push(o), B.value && ((q = f.value) != null && q.length) && k.push(B.value), h.value = k.join(" ");
2989
+ }
2990
+ function xe() {
2991
+ return !Be.value || Be.value.indeterminate || !$e.value ? e.selectAllLabel ?? ie : e.deSelectAllLabel ?? ie;
2992
+ }
2993
+ function ge(o) {
2994
+ var k;
2995
+ return o.label ?? ((k = o.value) == null ? void 0 : k.toString()) ?? "";
2996
+ }
2997
+ function ea(o) {
2998
+ var k;
2999
+ return o && U.value && U.value.includes ? (k = U.value) == null ? void 0 : k.includes(o) : !1;
3000
+ }
3001
+ function aa(o) {
3002
+ return e.removeTagsTexts && e.removeTagsTexts.length > o ? e.removeTagsTexts.at(o) : `${We} ${E.value ? ge(E.value[o]) : ""}`;
3003
+ }
3004
+ function ta(o, k) {
3005
+ k.stopPropagation(), Ne(o.value), Le();
3006
+ }
3007
+ function Fe() {
3008
+ if (P.value) {
3009
+ const o = P.value.querySelector("article");
3010
+ o && J(() => {
3011
+ Se(o);
3012
+ }, 100);
3013
+ }
3014
+ }
3015
+ function ia(o) {
3016
+ var k, q, Z, N, re;
3017
+ if ((k = P.value) != null && k.open) {
3018
+ if (document) {
3019
+ const ae = document.activeElement;
3020
+ if (ae)
3021
+ if (ae.getAttribute("type") === "checkbox" || ae.getAttribute("type") === "radio") {
3022
+ const te = ae == null ? void 0 : ae.closest("li");
3023
+ if (o.key === "ArrowDown" || o.key === "ArrowRight")
3024
+ te != null && te.nextElementSibling ? (q = te == null ? void 0 : te.nextElementSibling.querySelector("input")) == null || q.focus() : Te(ae);
3025
+ else if (te != null && te.previousElementSibling)
3026
+ (Z = te == null ? void 0 : te.previousElementSibling.querySelector("input")) == null || Z.focus();
3027
+ else if (P.value.querySelector('input[type="checkbox"]') !== ae)
3028
+ Te(ae);
3029
+ else {
3030
+ const Me = ze(P.value);
3031
+ if (Me)
3032
+ J(() => {
3033
+ Me.focus();
3034
+ }, 100);
3035
+ else {
3036
+ const Re = Array.from(
3037
+ (N = P.value) == null ? void 0 : N.querySelectorAll(
3038
+ 'input[type="checkbox"],input[type="radio"]'
3039
+ )
3040
+ );
3041
+ Re.length && ((re = Re.at(-1)) == null || re.focus());
3042
+ }
3043
+ }
3044
+ } else
3045
+ ae.getAttribute("type") === "search" && (o.key === "ArrowUp" || o.key === "ArrowLeft") ? (Ie("close"), Le()) : Te(ae);
3046
+ }
3047
+ o.stopPropagation(), o.preventDefault();
3048
+ } else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Fe(), P.value && (P.value.open = !0), Ee(), o.stopPropagation(), o.preventDefault());
3049
+ }
3050
+ function la(o) {
3051
+ var k;
3052
+ o.key === "Escape" && P.value && ((k = P.value) != null && k.open) ? (Ie("close"), Le()) : (o.key === "ArrowDown" || o.key === "ArrowUp" || o.key === "ArrowLeft" || o.key === "ArrowRight") && ia(o);
3053
+ }
3054
+ function Ie(o) {
3055
+ if (P.value) {
3056
+ if (o === "close")
3057
+ P.value.open = !1, Le();
3058
+ else if (P.value.open && (o != null && o.relatedTarget)) {
3059
+ const k = o.relatedTarget;
3060
+ P.value.contains(k) || (P.value.open = !1);
3061
+ }
3062
+ }
3063
+ }
3064
+ function De(o) {
3065
+ var k;
3066
+ (k = P.value) != null && k.open && !P.value.contains(o.target) && (P.value.open = !1);
3067
+ }
3068
+ function Ne(o) {
3069
+ var k, q;
3070
+ o && (e.multiple ? (k = U.value) != null && k.includes(o) ? U.value = (q = U.value) == null ? void 0 : q.filter((Z) => Z !== o) : U.value = [...U.value || [], o] : (U.value = [o], Ie("close")), me.value = (/* @__PURE__ */ new Date()).getTime());
3071
+ }
3072
+ function oa() {
3073
+ var o;
3074
+ ((o = U.value) == null ? void 0 : o.length) === C.value ? U.value = [] : U.value = e.options ? e.options.filter((k) => !k.isGroupTitle).map((k) => k.value ?? "") : [], me.value = (/* @__PURE__ */ new Date()).getTime();
3075
+ }
3076
+ function Te(o) {
3077
+ if (P.value) {
3078
+ const k = Array.from(
3079
+ P.value.querySelectorAll(
3080
+ 'input[type="checkbox"],input[type="radio"]'
3081
+ )
3082
+ );
3083
+ if (k.length) {
3084
+ const q = k.at(0), Z = q === o && k.length > 1 ? k.at(1) : q;
3085
+ Z && J(() => {
3086
+ Z.focus();
3087
+ }, 100);
3088
+ }
3089
+ }
3090
+ }
3091
+ function Ee(o) {
3092
+ if (P.value) {
3093
+ const k = ze(P.value);
3094
+ k ? J(() => {
3095
+ k.focus();
3096
+ }, 100) : o || Te();
3097
+ }
3098
+ }
3099
+ function da(o) {
3100
+ const k = o.target.value;
3101
+ K.value = !e.options || !k || k.length === 0 ? e.options : e.options.filter(
3102
+ (q) => !q.isGroupTitle && ge(q).toLowerCase().includes(k.toLowerCase())
3103
+ );
3104
+ }
3105
+ function na() {
3106
+ U.value = [], Le();
3107
+ }
3108
+ function Le() {
3109
+ var o, k;
3110
+ (k = (o = P.value) == null ? void 0 : o.querySelector("summary")) == null || k.focus();
3111
+ }
3112
+ return (o, k) => {
3113
+ var q, Z;
3114
+ return m(), g("div", {
3115
+ id: u.value,
3116
+ ref_key: "_ref",
3117
+ ref: Je,
3118
+ class: F(c(D)("db-custom-select", e.class)),
3119
+ "aria-invalid": T.value === "invalid",
3120
+ "data-custom-validity": T.value,
3121
+ "data-width": o.width,
3122
+ "data-variant": o.variant,
3123
+ "data-required": c(X)(o.required),
3124
+ "data-placement": o.placement,
3125
+ "data-selected-type": o.multiple ? o.selectedType : "text",
3126
+ "data-hide-label": c(H)(o.showLabel),
3127
+ "data-icon": o.icon,
3128
+ "data-hide-icon": c(H)(o.showIcon)
3129
+ }, [
3130
+ I("label", { id: r.value }, [
3131
+ $(w(o.label ?? c(ie)), 1),
3132
+ I("select", {
3133
+ role: "none",
3134
+ hidden: !0,
3135
+ id: v.value,
3136
+ tabIndex: -1,
3137
+ ref_key: "selectRef",
3138
+ ref: be,
3139
+ form: o.form,
3140
+ disabled: o.disabled,
3141
+ multiple: o.multiple,
3142
+ required: o.required,
3143
+ onChange: k[0] || (k[0] = async (N) => {
3144
+ })
3145
+ }, [
3146
+ (m(!0), g(G, null, ce(K.value, (N, re) => (m(), g("option", {
3147
+ key: re,
3148
+ disabled: N.disabled,
3149
+ value: N.value
3150
+ }, w(ge(N)), 9, pi))), 128))
3151
+ ], 40, fi)
3152
+ ], 8, vi),
3153
+ I("details", {
3154
+ ref_key: "detailsRef",
3155
+ ref: P,
3156
+ open: o.open,
3157
+ "aria-disabled": o.disabled,
3158
+ onToggle: k[2] || (k[2] = async (N) => Qe(N)),
3159
+ onKeydown: k[3] || (k[3] = async (N) => la(N))
3160
+ }, [
3161
+ L(o.$slots, "default"),
3162
+ o.options ? (m(), g(G, { key: 0 }, [
3163
+ I("summary", {
3164
+ class: "db-custom-select-form-field",
3165
+ id: _.value,
3166
+ "aria-labelledby": r.value
3167
+ }, [
3168
+ (q = f.value) != null && q.length ? (m(), g("span", {
3169
+ key: 0,
3170
+ "data-visually-hidden": c(X)(o.selectedType === "tag"),
3171
+ id: B.value
3172
+ }, w(f.value), 9, bi)) : R("", !0),
3173
+ o.selectedType === "tag" ? (m(), g("div", gi, [
3174
+ (m(!0), g(G, null, ce(E.value, (N, re) => (m(), x(At, {
3175
+ key: re,
3176
+ emphasis: "strong",
3177
+ behavior: "removable",
3178
+ removeButton: aa(re),
3179
+ onRemove: (ae) => {
3180
+ ta(N, ae);
3181
+ }
3182
+ }, {
3183
+ default: V(() => [
3184
+ $(w(ge(N)), 1)
3185
+ ]),
3186
+ _: 2
3187
+ }, 1032, ["removeButton", "onRemove"]))), 128))
3188
+ ])) : R("", !0)
3189
+ ], 8, mi),
3190
+ j(ri, { width: o.dropdownWidth }, {
3191
+ default: V(() => [
3192
+ z.value ? (m(), g("div", yi, [
3193
+ j(nt, {
3194
+ type: "search",
3195
+ showLabel: !1,
3196
+ label: o.searchLabel ?? c(ie),
3197
+ placeholder: o.searchPlaceholder ?? o.searchLabel,
3198
+ ariaDescribedBy: fe.value || o.showLoading ? O.value : void 0,
3199
+ onInput: (N) => da(N)
3200
+ }, null, 8, ["label", "placeholder", "ariaDescribedBy", "onInput"])
3201
+ ])) : R("", !0),
3202
+ fe.value || o.showLoading ? (m(), x(Q, {
3203
+ key: 1,
3204
+ id: O.value,
3205
+ icon: fe.value ? void 0 : "circular_arrows",
3206
+ semantic: fe.value ? "warning" : "informational"
3207
+ }, {
3208
+ default: V(() => [
3209
+ $(w((fe.value ? o.noResultsText : o.loadingText) ?? c(pa)), 1)
3210
+ ]),
3211
+ _: 1
3212
+ }, 8, ["id", "icon", "semantic"])) : (m(), g(G, { key: 2 }, [
3213
+ y.value ? (m(), g("div", ki, [
3214
+ I("div", Bi, [
3215
+ I("label", null, [
3216
+ I("input", {
3217
+ type: "checkbox",
3218
+ value: "select-all",
3219
+ ref_key: "selectAllRef",
3220
+ ref: Be,
3221
+ form: u.value,
3222
+ checked: $e.value,
3223
+ onChange: k[1] || (k[1] = async (N) => oa())
3224
+ }, null, 40, wi),
3225
+ $(w(xe()), 1)
3226
+ ])
3227
+ ])
3228
+ ])) : R("", !0),
3229
+ j(ii, {
3230
+ multiple: o.multiple,
3231
+ label: o.label ?? c(ie)
3232
+ }, {
3233
+ default: V(() => [
3234
+ (m(!0), g(G, null, ce(K.value, (N, re) => (m(), x(si, {
3235
+ key: re,
3236
+ type: o.multiple ? "checkbox" : "radio",
3237
+ showDivider: N.showDivider,
3238
+ icon: N.icon,
3239
+ isGroupTitle: N.isGroupTitle,
3240
+ groupTitle: ge(N),
3241
+ name: a.value,
3242
+ checked: ea(N.value),
3243
+ disabled: N.disabled,
3244
+ value: N.value,
3245
+ onChange: (ae) => {
3246
+ Ne(N.value);
3247
+ }
3248
+ }, {
3249
+ default: V(() => [
3250
+ N.isGroupTitle ? R("", !0) : (m(), g(G, { key: 0 }, [
3251
+ $(w(ge(N)), 1)
3252
+ ], 64))
3253
+ ]),
3254
+ _: 2
3255
+ }, 1032, ["type", "showDivider", "icon", "isGroupTitle", "groupTitle", "name", "checked", "disabled", "value", "onChange"]))), 128))
3256
+ ]),
3257
+ _: 1
3258
+ }, 8, ["multiple", "label"])
3259
+ ], 64)),
3260
+ I("div", null, [
3261
+ j(he, {
3262
+ variant: "ghost",
3263
+ width: "full",
3264
+ icon: "cross",
3265
+ size: "small",
3266
+ onClick: (N) => {
3267
+ Ie("close");
3268
+ }
3269
+ }, {
3270
+ default: V(() => [
3271
+ $(w(o.mobileCloseButtonText ?? c(Ce)), 1)
3272
+ ]),
3273
+ _: 1
3274
+ }, 8, ["onClick"])
3275
+ ])
3276
+ ]),
3277
+ _: 1
3278
+ }, 8, ["width"])
3279
+ ], 64)) : R("", !0)
3280
+ ], 40, hi),
3281
+ (o.showClearSelection ?? !0) && ((Z = U.value) != null && Z.length) ? (m(), x(he, {
3282
+ key: 0,
3283
+ icon: "cross",
3284
+ variant: "ghost",
3285
+ size: "small",
3286
+ noText: !0,
3287
+ onClick: (N) => na()
3288
+ }, {
3289
+ default: V(() => [
3290
+ $(w(o.clearSelectionLabel), 1),
3291
+ j(Xt, { placement: "top" }, {
3292
+ default: V(() => [
3293
+ $(w(o.clearSelectionLabel), 1)
3294
+ ]),
3295
+ _: 1
3296
+ })
3297
+ ]),
3298
+ _: 1
3299
+ }, 8, ["onClick"])) : R("", !0),
3300
+ I("span", {
3301
+ "aria-hidden": c(X)(!0),
3302
+ id: S.value
3303
+ }, w(o.placeholder ?? o.label), 9, _i),
3304
+ o.message ? (m(), x(Q, {
3305
+ key: 1,
3306
+ size: "small",
3307
+ icon: o.messageIcon,
3308
+ id: s.value
3309
+ }, {
3310
+ default: V(() => [
3311
+ $(w(o.message), 1)
3312
+ ]),
3313
+ _: 1
3314
+ }, 8, ["icon", "id"])) : R("", !0),
3315
+ j(Q, {
3316
+ size: "small",
3317
+ semantic: "successful",
3318
+ id: b.value
3319
+ }, {
3320
+ default: V(() => [
3321
+ $(w(o.validMessage ?? c(se)), 1)
3322
+ ]),
3323
+ _: 1
3324
+ }, 8, ["id"]),
3325
+ j(Q, {
3326
+ size: "small",
3327
+ semantic: "critical",
3328
+ id: d.value
3329
+ }, {
3330
+ default: V(() => {
3331
+ var N;
3332
+ return [
3333
+ $(w(o.invalidMessage ?? (((N = be.value) == null ? void 0 : N.validationMessage) || c(ue))), 1)
3334
+ ];
3335
+ }),
3336
+ _: 1
3337
+ }, 8, ["id"]),
3338
+ I("span", Ii, w(p.value), 1)
3339
+ ], 10, ci);
3340
+ };
3341
+ }
3342
+ }), Li = ["id"], Ll = /* @__PURE__ */ M({
3343
+ __name: "custom-select-form-field",
3344
+ props: {
3345
+ children: { default: void 0 },
3346
+ className: { default: void 0 },
3347
+ class: {},
3348
+ describedbyid: {},
3349
+ id: { default: void 0 },
3350
+ autofocus: { type: Boolean }
3351
+ },
3352
+ setup(i) {
3353
+ const t = i, l = n(null);
3354
+ return (e, a) => (m(), g("summary", {
3355
+ ref_key: "_ref",
3356
+ ref: l,
3357
+ id: e.id,
3358
+ class: F(c(D)("db-custom-select-form-field", t.class))
2570
3359
  }, [
2571
- w(e.$slots, "default")
2572
- ], 10, sn));
3360
+ L(e.$slots, "default")
3361
+ ], 10, Li));
2573
3362
  }
2574
3363
  });
2575
3364
  export {
2576
- st as AlignmentList,
2577
- tt as AutoCompleteList,
2578
- he as COLOR,
2579
- mn as COLORS,
2580
- bn as COLORS_SIMPLE,
2581
- pn as COLOR_CONST,
2582
- pe as COLOR_SIMPLE,
2583
- Un as DBAccordion,
2584
- ja as DBAccordionItem,
2585
- kn as DBBadge,
2586
- wn as DBBrand,
2587
- de as DBButton,
2588
- In as DBCard,
2589
- _n as DBCheckbox,
2590
- $n as DBDivider,
2591
- Ye as DBDrawer,
2592
- Ln as DBHeader,
2593
- En as DBIcon,
2594
- W as DBInfotext,
2595
- Nn as DBInput,
2596
- An as DBLink,
2597
- Pn as DBNavigation,
2598
- Rn as DBNavigationItem,
2599
- Bn as DBNotification,
2600
- Fn as DBPage,
2601
- Vn as DBPopover,
2602
- Tn as DBRadio,
2603
- Sn as DBSection,
2604
- Cn as DBSelect,
2605
- ot as DBStack,
2606
- Dn as DBSwitch,
2607
- Da as DBTabItem,
2608
- an as DBTabList,
2609
- tn as DBTabPanel,
2610
- qn as DBTabs,
2611
- Mn as DBTag,
2612
- zn as DBTextarea,
2613
- Gn as DBTooltip,
2614
- $e as DEFAULT_BACK,
2615
- Le as DEFAULT_BURGER_MENU,
2616
- ce as DEFAULT_CLOSE_BUTTON,
2617
- ue as DEFAULT_DATALIST_ID_SUFFIX,
2618
- Ee as DEFAULT_ICON,
2619
- ee as DEFAULT_ID,
2620
- x as DEFAULT_INVALID_MESSAGE,
2621
- Q as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
2622
- le as DEFAULT_LABEL,
2623
- K as DEFAULT_MESSAGE_ID_SUFFIX,
2624
- fe as DEFAULT_PLACEHOLDER,
2625
- oe as DEFAULT_PLACEHOLDER_ID_SUFFIX,
2626
- Ne as DEFAULT_ROWS,
2627
- Z as DEFAULT_VALID_MESSAGE,
2628
- J as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
2629
- Ae as DEFAULT_VIEWPORT,
2630
- hn as DENSITIES,
2631
- ve as DENSITY,
2632
- vn as DENSITY_CONST,
2633
- Fe as DESKTOP_VIEWPORT,
2634
- ln as EmphasisList,
2635
- jn as GapSpacingList,
2636
- nt as LabelVariantList,
2637
- dt as LinkCurrentList,
2638
- lt as LinkReferrerPolicyList,
2639
- it as LinkTargetList,
2640
- Xn as MarginList,
2641
- Jn as MaxWidthList,
2642
- Ke as NavigationItemSafeTriangle,
2643
- Yn as OrientationList,
2644
- Hn as PlacementList,
2645
- Qn as PopoverDelayList,
2646
- Zn as PopoverWidthList,
2647
- me as SEMANTIC,
2648
- gn as SEMANTICS,
2649
- On as SemanticList,
2650
- xn as SizeList,
2651
- Wn as SpacingList,
2652
- yn as TESTING_VIEWPORTS,
2653
- et as TagEmphasisList,
2654
- at as ValidationList,
2655
- Kn as WidthList,
2656
- re as addAttributeToChildren,
2657
- A as cls,
2658
- H as delay,
2659
- V as getBooleanAsString,
2660
- P as getHideProp,
2661
- se as handleDataOutside,
2662
- Y as hasVoiceOver,
2663
- we as isArrayOfStrings,
2664
- be as isEventTargetNavigationItem,
2665
- ke as isInView,
2666
- q as stringPropVisible,
2667
- G as uuid,
2668
- fn as visibleInVX,
2669
- cn as visibleInVY
3365
+ wl as AlignmentList,
3366
+ gl as AutoCompleteList,
3367
+ je as COLOR,
3368
+ Ni as COLORS,
3369
+ Mi as COLORS_SIMPLE,
3370
+ Fi as COLOR_CONST,
3371
+ He as COLOR_SIMPLE,
3372
+ el as DBAccordion,
3373
+ Gt as DBAccordionItem,
3374
+ Gi as DBBadge,
3375
+ Pi as DBBrand,
3376
+ he as DBButton,
3377
+ qi as DBCard,
3378
+ Vi as DBCheckbox,
3379
+ Il as DBCustomSelect,
3380
+ ri as DBCustomSelectDropdown,
3381
+ Ll as DBCustomSelectFormField,
3382
+ ii as DBCustomSelectList,
3383
+ si as DBCustomSelectListItem,
3384
+ Oi as DBDivider,
3385
+ Ga as DBDrawer,
3386
+ Wi as DBHeader,
3387
+ Xi as DBIcon,
3388
+ Q as DBInfotext,
3389
+ nt as DBInput,
3390
+ Hi as DBLink,
3391
+ al as DBNavigation,
3392
+ xi as DBNavigationItem,
3393
+ Ui as DBNotification,
3394
+ ji as DBPage,
3395
+ tl as DBPopover,
3396
+ Yi as DBRadio,
3397
+ Ki as DBSection,
3398
+ Ji as DBSelect,
3399
+ _l as DBStack,
3400
+ Qi as DBSwitch,
3401
+ Lt as DBTabItem,
3402
+ Yt as DBTabList,
3403
+ Jt as DBTabPanel,
3404
+ il as DBTabs,
3405
+ At as DBTag,
3406
+ Zi as DBTextarea,
3407
+ Xt as DBTooltip,
3408
+ ha as DEFAULT_BACK,
3409
+ ba as DEFAULT_BURGER_MENU,
3410
+ Ce as DEFAULT_CLOSE_BUTTON,
3411
+ Pe as DEFAULT_DATALIST_ID_SUFFIX,
3412
+ ga as DEFAULT_ICON,
3413
+ ye as DEFAULT_ID,
3414
+ ue as DEFAULT_INVALID_MESSAGE,
3415
+ ne as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
3416
+ ie as DEFAULT_LABEL,
3417
+ Ue as DEFAULT_LABEL_ID_SUFFIX,
3418
+ pa as DEFAULT_MESSAGE,
3419
+ oe as DEFAULT_MESSAGE_ID_SUFFIX,
3420
+ Oe as DEFAULT_PLACEHOLDER,
3421
+ Ae as DEFAULT_PLACEHOLDER_ID_SUFFIX,
3422
+ We as DEFAULT_REMOVE,
3423
+ ya as DEFAULT_ROWS,
3424
+ ma as DEFAULT_SELECTED,
3425
+ Ge as DEFAULT_SELECT_ID_SUFFIX,
3426
+ se as DEFAULT_VALID_MESSAGE,
3427
+ de as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
3428
+ ka as DEFAULT_VIEWPORT,
3429
+ Di as DENSITIES,
3430
+ Xe as DENSITY,
3431
+ Ci as DENSITY_CONST,
3432
+ Ba as DESKTOP_VIEWPORT,
3433
+ ei as EmphasisList,
3434
+ sl as GapSpacingList,
3435
+ bl as LabelVariantList,
3436
+ yl as LinkCurrentList,
3437
+ Bl as LinkReferrerPolicyList,
3438
+ kl as LinkTargetList,
3439
+ dl as MarginList,
3440
+ cl as MaxWidthList,
3441
+ Pa as NavigationItemSafeTriangle,
3442
+ ul as OrientationList,
3443
+ Zt as PlacementHorizontalList,
3444
+ nl as PlacementList,
3445
+ xt as PlacementVerticalList,
3446
+ vl as PopoverDelayList,
3447
+ fl as PopoverWidthList,
3448
+ Ye as SEMANTIC,
3449
+ Ri as SEMANTICS,
3450
+ ll as SemanticList,
3451
+ pl as SizeList,
3452
+ ol as SpacingList,
3453
+ zi as TESTING_VIEWPORTS,
3454
+ hl as TagEmphasisList,
3455
+ ml as ValidationList,
3456
+ rl as WidthList,
3457
+ Ve as addAttributeToChildren,
3458
+ D as cls,
3459
+ J as delay,
3460
+ X as getBooleanAsString,
3461
+ H as getHideProp,
3462
+ ze as getSearchInput,
3463
+ Se as handleDataOutside,
3464
+ le as hasVoiceOver,
3465
+ ca as isArrayOfStrings,
3466
+ Ke as isEventTargetNavigationItem,
3467
+ ra as isInView,
3468
+ ee as stringPropVisible,
3469
+ Y as uuid,
3470
+ Si as visibleInVX,
3471
+ Ei as visibleInVY
2670
3472
  };