@db-ux/v-core-components 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +8 -3
  2. package/dist/components/accordion/accordion.vue.d.ts +1 -5
  3. package/dist/components/accordion-item/accordion-item.vue.d.ts +1 -5
  4. package/dist/components/badge/badge.vue.d.ts +1 -5
  5. package/dist/components/brand/brand.vue.d.ts +1 -5
  6. package/dist/components/button/button.vue.d.ts +2 -6
  7. package/dist/components/card/card.vue.d.ts +2 -6
  8. package/dist/components/checkbox/checkbox.vue.d.ts +1 -5
  9. package/dist/components/divider/divider.vue.d.ts +2 -6
  10. package/dist/components/drawer/drawer.vue.d.ts +3 -8
  11. package/dist/components/header/header.vue.d.ts +1 -5
  12. package/dist/components/icon/icon.vue.d.ts +1 -5
  13. package/dist/components/infotext/infotext.vue.d.ts +1 -5
  14. package/dist/components/input/input.vue.d.ts +1 -5
  15. package/dist/components/link/link.vue.d.ts +1 -5
  16. package/dist/components/navigation/navigation.vue.d.ts +1 -5
  17. package/dist/components/navigation-item/model.d.ts +3 -2
  18. package/dist/components/navigation-item/navigation-item.vue.d.ts +2 -6
  19. package/dist/components/notification/notification.vue.d.ts +1 -5
  20. package/dist/components/page/model.d.ts +4 -0
  21. package/dist/components/page/page.vue.d.ts +2 -5
  22. package/dist/components/popover/popover.vue.d.ts +2 -6
  23. package/dist/components/radio/radio.vue.d.ts +3 -7
  24. package/dist/components/section/section.vue.d.ts +2 -6
  25. package/dist/components/select/select.vue.d.ts +1 -5
  26. package/dist/components/stack/stack.vue.d.ts +1 -5
  27. package/dist/components/switch/switch.vue.d.ts +1 -5
  28. package/dist/components/tab-item/tab-item.vue.d.ts +1 -5
  29. package/dist/components/tab-list/tab-list.vue.d.ts +1 -5
  30. package/dist/components/tab-panel/tab-panel.vue.d.ts +1 -5
  31. package/dist/components/tabs/tabs.vue.d.ts +3 -7
  32. package/dist/components/tag/tag.vue.d.ts +1 -5
  33. package/dist/components/textarea/textarea.vue.d.ts +1 -5
  34. package/dist/components/tooltip/tooltip.vue.d.ts +1 -5
  35. package/dist/db-ux.es.js +1095 -1085
  36. package/dist/db-ux.umd.js +1 -1
  37. package/dist/shared/model.d.ts +5 -5
  38. package/package.json +6 -6
package/dist/db-ux.es.js CHANGED
@@ -1,84 +1,84 @@
1
- var be = Object.defineProperty;
2
- var ge = (t, n, d) => n in t ? be(t, n, { enumerable: !0, configurable: !0, writable: !0, value: d }) : t[n] = d;
3
- var j = (t, n, d) => ge(t, typeof n != "symbol" ? n + "" : n, d);
4
- import { defineComponent as E, ref as o, createElementBlock as g, openBlock as m, unref as v, normalizeClass as N, renderSlot as I, Fragment as C, createTextVNode as L, toDisplayString as w, createCommentVNode as D, createElementVNode as _, createBlock as X, withCtx as z, onMounted as R, watch as M, createVNode as O, renderList as te, onUnmounted as ye } from "vue";
1
+ var ge = Object.defineProperty;
2
+ var ye = (i, t, o) => t in i ? ge(i, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[t] = o;
3
+ var j = (i, t, o) => ye(i, typeof t != "symbol" ? t + "" : t, o);
4
+ import { defineComponent as A, ref as u, createElementBlock as g, openBlock as m, unref as f, normalizeClass as E, renderSlot as w, Fragment as S, 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 ie, onUnmounted as Be } from "vue";
5
5
  const G = () => {
6
- var t, n;
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
+ }, re = (i, t) => {
15
+ const o = i.children;
16
+ Object.values(o).forEach((e) => {
17
+ e.setAttribute(t.key, t.value), e.children.length > 0 && re(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
+ }, N = (...i) => {
20
+ let t = "";
21
+ for (const o of i)
22
+ if (o)
23
+ if (typeof o == "string")
24
+ t += `${o} `;
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 o)
27
+ o[e] && (t += `${e} `);
28
+ return t.trim();
29
+ }, ut = (i) => {
30
30
  const {
31
- left: n,
32
- right: d
33
- } = t.getBoundingClientRect(), {
31
+ left: t,
32
+ right: o
33
+ } = i.getBoundingClientRect(), {
34
34
  innerWidth: e
35
35
  } = window;
36
- return n >= 0 && d <= e;
37
- }, cn = (t) => {
36
+ return t >= 0 && o <= e;
37
+ }, rt = (i) => {
38
38
  const {
39
- top: n,
40
- bottom: d
41
- } = t.getBoundingClientRect(), {
39
+ top: t,
40
+ bottom: o
41
+ } = i.getBoundingClientRect(), {
42
42
  innerHeight: e
43
43
  } = window;
44
- return n >= 0 && d <= e;
45
- }, Be = (t) => {
46
- var U;
44
+ return t >= 0 && o <= e;
45
+ }, ke = (i) => {
46
+ var _;
47
47
  const {
48
- top: n,
49
- bottom: d,
48
+ top: t,
49
+ bottom: o,
50
50
  left: e,
51
51
  right: a
52
- } = t.getBoundingClientRect(), {
53
- innerHeight: r,
52
+ } = i.getBoundingClientRect(), {
53
+ innerHeight: v,
54
54
  innerWidth: l
55
55
  } = window;
56
- let p = n < 0, i = d > r, h = e < 0, s = a > l;
57
- const B = t.hasAttribute("data-outside-vy"), y = t.hasAttribute("data-outside-vx"), $ = (U = t == null ? void 0 : t.parentElement) == null ? void 0 : U.getBoundingClientRect();
58
- return $ && (B && (t.getAttribute("data-outside-vy") === "top" ? p = $.top - (d - $.bottom) < 0 : i = $.bottom + ($.top - n) > r), y && (t.getAttribute("data-outside-vx") === "left" ? h = $.left - (a - $.right) < 0 : s = $.right + ($.left - e) > l)), {
56
+ let p = t < 0, d = o > v, h = e < 0, n = a > l;
57
+ const B = i.hasAttribute("data-outside-vy"), $ = i.hasAttribute("data-outside-vx"), D = (_ = i == null ? void 0 : i.parentElement) == null ? void 0 : _.getBoundingClientRect();
58
+ return D && (B && (i.getAttribute("data-outside-vy") === "top" ? p = D.top - (o - D.bottom) < 0 : d = D.bottom + (D.top - t) > v), $ && (i.getAttribute("data-outside-vx") === "left" ? h = D.left - (a - D.right) < 0 : n = D.right + (D.left - e) > l)), {
59
59
  outTop: p,
60
- outBottom: i,
60
+ outBottom: d,
61
61
  outLeft: h,
62
- outRight: s
62
+ outRight: n
63
63
  };
64
- }, se = (t) => {
64
+ }, ne = (i) => {
65
65
  const {
66
- outTop: n,
67
- outBottom: d,
66
+ outTop: t,
67
+ outBottom: o,
68
68
  outLeft: e,
69
69
  outRight: a
70
- } = Be(t);
71
- let r = {};
72
- return n || d ? (r = {
73
- vy: n ? "top" : "bottom"
74
- }, t.setAttribute("data-outside-vy", r.vy)) : t.removeAttribute("data-outside-vy"), e || a ? (r = {
75
- ...r,
70
+ } = ke(i);
71
+ let v = {};
72
+ return t || o ? (v = {
73
+ vy: t ? "top" : "bottom"
74
+ }, i.setAttribute("data-outside-vy", v.vy)) : i.removeAttribute("data-outside-vy"), e || a ? (v = {
75
+ ...v,
76
76
  vx: a ? "right" : "left"
77
- }, t.setAttribute("data-outside-vx", r.vx)) : t.removeAttribute("data-outside-vx"), r;
78
- }, ke = (t) => Array.isArray(t) && t.every((n) => typeof n == "string"), we = ["Mac", "iPhone", "iPad", "iPod"], Y = () => typeof window < "u" && we.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, Ie = ["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", v.vx)) : i.removeAttribute("data-outside-vx"), v;
78
+ }, we = (i) => Array.isArray(i) && i.every((t) => typeof t == "string"), Ie = ["Mac", "iPhone", "iPad", "iPod"], Y = () => typeof window < "u" && Ie.some((i) => window.navigator.userAgent.includes(i)), H = (i, t) => new Promise(() => setTimeout(i, t)), V = (i) => i && String(i), P = (i) => {
79
+ if (i != null)
80
+ return V(!i);
81
+ }, q = (i, t) => t === void 0 ? !!i : t && i, _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"], oe = /* @__PURE__ */ A({
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 = o(null);
107
+ setup(i) {
108
+ const t = i, o = u(null);
109
109
  function e(a) {
110
- n.onClick && n.onClick(a);
110
+ t.onClick && t.onClick(a);
111
111
  }
112
- return (a, r) => (m(), g("button", {
112
+ return (a, v) => (m(), g("button", {
113
113
  ref_key: "_ref",
114
- ref: d,
114
+ ref: o,
115
115
  id: a.id,
116
- class: N(v(A)("db-button", n.class)),
116
+ class: E(f(N)("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": f(P)(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": f(V)(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: r[0] || (r[0] = async (l) => e(l))
132
+ onClick: v[0] || (v[0] = async (l) => e(l))
133
133
  }, [
134
- a.text ? (m(), g(C, { key: 0 }, [
135
- L(w(a.text), 1)
136
- ], 64)) : I(a.$slots, "default", { key: 1 })
137
- ], 10, Ie));
134
+ a.text ? (m(), g(S, { key: 0 }, [
135
+ L(k(a.text), 1)
136
+ ], 64)) : w(a.$slots, "default", { key: 1 })
137
+ ], 10, _e));
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", $e = "BurgerMenu", Le = "brand", Ee = 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), Ne = {
139
+ }), ee = "OVERWRITE_DEFAULT_ID", le = "LABEL SHOULD BE SET", ce = " ", K = "-message", J = "-valid-message", Q = "-invalid-message", se = "-placeholder", ue = "-datalist", Z = "TODO: Add a validMessage", x = "TODO: Add an invalidMessage", $e = "Back", Le = "BurgerMenu", Ee = "brand", Ne = 4, ve = "Close Button", ct = "density", vt = "color";
140
+ var fe = /* @__PURE__ */ ((i) => (i.FUNCTIONAL = "functional", i.REGULAR = "regular", i.EXPRESSIVE = "expressive", i))(fe || {});
141
+ const ft = Object.entries(fe).map(([, i]) => i);
142
+ var pe = /* @__PURE__ */ ((i) => (i.PRIMARY = "primary", i))(pe || {}), he = /* @__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))(he || {});
143
+ const pt = Object.entries(he).map(([, i]) => i), ht = Object.entries(pe).map(([, i]) => i);
144
+ var me = /* @__PURE__ */ ((i) => (i.CRITICAL = "critical", i.INFORMATIONAL = "informational", i.WARNING = "warning", i.SUCCESSFUL = "successful", i))(me || {});
145
+ const mt = Object.entries(me).map(([, i]) => i), Ae = {
146
146
  width: 390,
147
147
  height: 884
148
- }, Ae = {
148
+ }, Fe = {
149
149
  width: 1920,
150
150
  height: 1280
151
- }, yn = [{
151
+ }, bt = [{
152
152
  name: "desktop",
153
- ...Ae
153
+ ...Fe
154
154
  }, {
155
155
  name: "tablet",
156
156
  width: 768,
157
157
  height: 1024
158
158
  }, {
159
159
  name: "mobile",
160
- ...Ne
161
- }], Fe = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], Te = { key: 0 }, Se = { key: 1 }, Bn = /* @__PURE__ */ E({
160
+ ...Ae
161
+ }], Te = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], Ce = { key: 0 }, Se = { key: 1 }, gt = /* @__PURE__ */ A({
162
162
  __name: "notification",
163
163
  props: {
164
164
  ariaLive: { default: void 0 },
@@ -188,33 +188,33 @@ const gn = Object.entries(me).map(([, t]) => t), Ne = {
188
188
  showIcon: { type: Boolean, default: void 0 },
189
189
  text: { default: void 0 }
190
190
  },
191
- setup(t) {
192
- const n = t, d = o(null);
191
+ setup(i) {
192
+ const t = i, o = u(null);
193
193
  function e(a) {
194
- n.onClose && n.onClose();
194
+ t.onClose && t.onClose();
195
195
  }
196
- return (a, r) => (m(), g("article", {
196
+ return (a, v) => (m(), g("article", {
197
197
  ref_key: "_ref",
198
- ref: d,
198
+ ref: o,
199
199
  id: a.id,
200
- class: N(v(A)("db-notification", n.class)),
200
+ class: E(f(N)("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": f(P)(a.showIcon),
206
206
  "data-link-variant": a.linkVariant
207
207
  }, [
208
- I(a.$slots, "image"),
209
- v(q)(a.headline, a.showHeadline) ? (m(), g("header", Te, w(a.headline), 1)) : D("", !0),
210
- _("p", null, [
211
- a.text ? (m(), g(C, { key: 0 }, [
212
- L(w(a.text), 1)
213
- ], 64)) : I(a.$slots, "default", { key: 1 })
208
+ w(a.$slots, "image"),
209
+ f(q)(a.headline, a.showHeadline) ? (m(), g("header", Ce, k(a.headline), 1)) : M("", !0),
210
+ I("p", null, [
211
+ a.text ? (m(), g(S, { key: 0 }, [
212
+ L(k(a.text), 1)
213
+ ], 64)) : w(a.$slots, "default", { key: 1 })
214
214
  ]),
215
- v(q)(a.timestamp, a.showTimestamp) ? (m(), g("span", Se, w(a.timestamp), 1)) : D("", !0),
216
- I(a.$slots, "link"),
217
- a.closeable ? (m(), X(de, {
215
+ f(q)(a.timestamp, a.showTimestamp) ? (m(), g("span", Se, k(a.timestamp), 1)) : M("", !0),
216
+ w(a.$slots, "link"),
217
+ a.closeable ? (m(), X(oe, {
218
218
  key: 2,
219
219
  icon: "cross",
220
220
  variant: "ghost",
@@ -223,14 +223,14 @@ const gn = Object.entries(me).map(([, t]) => t), Ne = {
223
223
  noText: !0,
224
224
  onClick: (l) => e()
225
225
  }, {
226
- default: z(() => [
227
- L(w(a.closeButtonText ?? v(ce)), 1)
226
+ default: R(() => [
227
+ L(k(a.closeButtonText ?? f(ve)), 1)
228
228
  ]),
229
229
  _: 1
230
- }, 8, ["id", "onClick"])) : D("", !0)
231
- ], 10, Fe));
230
+ }, 8, ["id", "onClick"])) : M("", !0)
231
+ ], 10, Te));
232
232
  }
233
- }), Ce = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], kn = /* @__PURE__ */ E({
233
+ }), De = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], yt = /* @__PURE__ */ A({
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), Ne = {
246
246
  emphasis: { default: void 0 },
247
247
  text: { default: void 0 }
248
248
  },
249
- setup(t) {
250
- const n = t, d = o(!1), e = o(null);
251
- return R(() => {
252
- d.value = !0;
253
- }), M(
254
- () => [e.value, d.value],
249
+ setup(i) {
250
+ const t = i, o = u(!1), e = u(null);
251
+ return U(() => {
252
+ o.value = !0;
253
+ }), z(
254
+ () => [e.value, o.value],
255
255
  () => {
256
256
  var a;
257
- if (e.value && d.value && (a = n.placement) != null && a.startsWith("corner")) {
258
- let r = e.value.parentElement;
259
- r && r.localName.includes("badge") && (r = r.parentElement), r && r.setAttribute("data-has-badge", "true");
257
+ if (e.value && o.value && (a = t.placement) != null && a.startsWith("corner")) {
258
+ let v = e.value.parentElement;
259
+ v && v.localName.includes("badge") && (v = v.parentElement), v && v.setAttribute("data-has-badge", "true");
260
260
  }
261
261
  },
262
262
  {
263
263
  immediate: !0,
264
264
  flush: "post"
265
265
  }
266
- ), (a, r) => {
266
+ ), (a, v) => {
267
267
  var l;
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: E(f(N)("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": ((l = a.placement) == null ? void 0 : l.startsWith("corner")) && (a.label ?? f(le))
278
278
  }, [
279
- a.text ? (m(), g(C, { key: 0 }, [
280
- L(w(a.text), 1)
281
- ], 64)) : I(a.$slots, "default", { key: 1 })
282
- ], 10, Ce);
279
+ a.text ? (m(), g(S, { key: 0 }, [
280
+ L(k(a.text), 1)
281
+ ], 64)) : w(a.$slots, "default", { key: 1 })
282
+ ], 10, De);
283
283
  };
284
284
  }
285
- }), De = ["data-icon", "data-hide-icon", "id"], wn = /* @__PURE__ */ E({
285
+ }), Me = ["data-icon", "data-hide-icon", "id"], Bt = /* @__PURE__ */ A({
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), Ne = {
296
296
  showIcon: { type: Boolean, default: void 0 },
297
297
  text: { default: void 0 }
298
298
  },
299
- setup(t) {
300
- const n = t, d = o(null);
299
+ setup(i) {
300
+ const t = i, o = u(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(Le),
305
- "data-hide-icon": v(P)(e.showIcon),
303
+ ref: o,
304
+ "data-icon": e.hideLogo ? "none" : e.icon ?? f(Ee),
305
+ "data-hide-icon": f(P)(e.showIcon),
306
306
  id: e.id,
307
- class: N(v(A)("db-brand", n.class))
307
+ class: E(f(N)("db-brand", t.class))
308
308
  }, [
309
- e.text ? (m(), g(C, { key: 0 }, [
310
- L(w(e.text), 1)
311
- ], 64)) : I(e.$slots, "default", { key: 1 })
312
- ], 10, De));
309
+ e.text ? (m(), g(S, { key: 0 }, [
310
+ L(k(e.text), 1)
311
+ ], 64)) : w(e.$slots, "default", { key: 1 })
312
+ ], 10, Me));
313
313
  }
314
- }), Me = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], In = /* @__PURE__ */ E({
314
+ }), ze = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], kt = /* @__PURE__ */ A({
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), Ne = {
325
325
  onClick: { type: Function, default: void 0 },
326
326
  spacing: { default: void 0 }
327
327
  },
328
- setup(t) {
329
- const n = t, d = o(null);
328
+ setup(i) {
329
+ const t = i, o = u(null);
330
330
  function e(a) {
331
- n.onClick && n.onClick(a);
331
+ t.onClick && t.onClick(a);
332
332
  }
333
- return (a, r) => (m(), g("div", {
333
+ return (a, v) => (m(), g("div", {
334
334
  ref_key: "_ref",
335
- ref: d,
335
+ ref: o,
336
336
  id: a.id,
337
- class: N(v(A)("db-card", n.class)),
337
+ class: E(f(N)("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: r[0] || (r[0] = async (l) => e(l))
343
+ onClick: v[0] || (v[0] = async (l) => e(l))
344
344
  }, [
345
- I(a.$slots, "default")
346
- ], 10, Me));
345
+ w(a.$slots, "default")
346
+ ], 10, ze));
347
347
  }
348
- }), ae = (t, n, d = "value") => {
349
- t(`update:${d}`, n.target[d]);
350
- }, ze = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], W = /* @__PURE__ */ E({
348
+ }), ae = (i, t, o = "value") => {
349
+ i(`update:${o}`, t.target[o]);
350
+ }, Re = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], W = /* @__PURE__ */ A({
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), Ne = {
362
362
  showIcon: { type: Boolean, default: void 0 },
363
363
  text: { default: void 0 }
364
364
  },
365
- setup(t) {
366
- const n = t, d = o(null);
365
+ setup(i) {
366
+ const t = i, o = u(null);
367
367
  return (e, a) => (m(), g("span", {
368
368
  ref_key: "_ref",
369
- ref: d,
369
+ ref: o,
370
370
  id: e.id,
371
- class: N(v(A)("db-infotext", n.class)),
371
+ class: E(f(N)("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": f(P)(e.showIcon ?? !0)
376
376
  }, [
377
- e.text ? (m(), g(C, { key: 0 }, [
378
- L(w(e.text), 1)
379
- ], 64)) : I(e.$slots, "default", { key: 1 })
380
- ], 10, ze));
377
+ e.text ? (m(), g(S, { key: 0 }, [
378
+ L(k(e.text), 1)
379
+ ], 64)) : w(e.$slots, "default", { key: 1 })
380
+ ], 10, Re));
381
381
  }
382
- }), Re = ["data-size", "data-hide-label"], Ue = ["for"], Pe = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Ve = {
382
+ }), Ue = ["data-size", "data-hide-label"], Pe = ["for"], Ve = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Ge = {
383
383
  "data-visually-hidden": "true",
384
384
  role: "status"
385
- }, _n = /* @__PURE__ */ E({
385
+ }, wt = /* @__PURE__ */ A({
386
386
  __name: "checkbox",
387
387
  props: {
388
388
  indeterminate: { type: Boolean, default: void 0 },
@@ -418,25 +418,25 @@ const gn = Object.entries(me).map(([, t]) => t), Ne = {
418
418
  size: { default: void 0 }
419
419
  },
420
420
  emits: ["update:checked"],
421
- setup(t, { emit: n }) {
422
- const d = n, e = t, a = o(!1), r = o(void 0), l = o(void 0), p = o(void 0), i = o(void 0), h = o(""), s = o(""), B = o(null);
423
- R(() => {
421
+ setup(i, { emit: t }) {
422
+ const o = t, e = i, a = u(!1), v = u(void 0), l = u(void 0), p = u(void 0), d = u(void 0), h = u(""), n = u(""), B = u(null);
423
+ U(() => {
424
424
  a.value = !0;
425
- const f = e.id ?? `checkbox-${G()}`;
426
- r.value = f, l.value = f + K, p.value = f + J, i.value = f + Q;
427
- }), M(
428
- () => [r.value],
425
+ const c = e.id ?? `checkbox-${G()}`;
426
+ v.value = c, l.value = c + K, p.value = c + J, d.value = c + Q;
427
+ }), z(
428
+ () => [v.value],
429
429
  () => {
430
- if (r.value) {
431
- const f = r.value + K;
432
- l.value = f, p.value = r.value + J, i.value = r.value + Q, q(e.message, e.showMessage) && (h.value = f);
430
+ if (v.value) {
431
+ const c = v.value + K;
432
+ l.value = c, p.value = v.value + J, d.value = v.value + Q, q(e.message, e.showMessage) && (h.value = c);
433
433
  }
434
434
  },
435
435
  {
436
436
  immediate: !0,
437
437
  flush: "post"
438
438
  }
439
- ), M(
439
+ ), z(
440
440
  () => [a.value, B.value, e.indeterminate],
441
441
  () => {
442
442
  B.value && e.indeterminate !== void 0 && (B.value.indeterminate = e.indeterminate);
@@ -445,7 +445,7 @@ const gn = Object.entries(me).map(([, t]) => t), Ne = {
445
445
  immediate: !0,
446
446
  flush: "post"
447
447
  }
448
- ), M(
448
+ ), z(
449
449
  () => [a.value, B.value, e.checked],
450
450
  () => {
451
451
  a.value && B.value && (e.checked != null && (B.value.checked = e.checked), a.value = !1);
@@ -455,81 +455,81 @@ const gn = Object.entries(me).map(([, t]) => t), Ne = {
455
455
  flush: "post"
456
456
  }
457
457
  );
458
- function y(f) {
459
- var c, k, u;
460
- e.onChange && e.onChange(f), e.change && e.change(f), ae(d, f, "checked"), !((c = B.value) != null && c.validity.valid) || e.validation === "invalid" ? (h.value = i.value, Y() && (s.value = e.invalidMessage ?? ((k = B.value) == null ? void 0 : k.validationMessage) ?? x, H(() => s.value = "", 1e3))) : e.validation === "valid" || (u = B.value) != null && u.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 = "";
458
+ function $(c) {
459
+ var s, y, r;
460
+ e.onChange && e.onChange(c), e.change && e.change(c), ae(o, c, "checked"), !((s = B.value) != null && s.validity.valid) || e.validation === "invalid" ? (h.value = d.value, Y() && (n.value = e.invalidMessage ?? ((y = B.value) == null ? void 0 : y.validationMessage) ?? x, H(() => n.value = "", 1e3))) : e.validation === "valid" || (r = B.value) != null && r.validity.valid && e.required ? (h.value = p.value, Y() && (n.value = e.validMessage ?? Z, H(() => n.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = l.value : h.value = "";
461
461
  }
462
- function $(f) {
463
- e.onBlur && e.onBlur(f), e.blur && e.blur(f);
462
+ function D(c) {
463
+ e.onBlur && e.onBlur(c), e.blur && e.blur(c);
464
464
  }
465
- function U(f) {
466
- e.onFocus && e.onFocus(f), e.focus && e.focus(f);
465
+ function _(c) {
466
+ e.onFocus && e.onFocus(c), e.focus && e.focus(c);
467
467
  }
468
- return (f, c) => (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)
468
+ return (c, s) => (m(), g("div", {
469
+ class: E(f(N)("db-checkbox", e.class)),
470
+ "data-size": c.size,
471
+ "data-hide-label": f(P)(c.showLabel)
472
472
  }, [
473
- _("label", { for: r.value }, [
474
- _("input", {
473
+ I("label", { for: v.value }, [
474
+ I("input", {
475
475
  type: "checkbox",
476
- "aria-invalid": f.validation === "invalid",
477
- "data-custom-validity": f.validation,
476
+ "aria-invalid": c.validation === "invalid",
477
+ "data-custom-validity": c.validation,
478
478
  ref_key: "_ref",
479
479
  ref: B,
480
- id: r.value,
481
- name: f.name,
482
- checked: f.checked,
483
- disabled: f.disabled,
484
- value: f.value,
485
- required: f.required,
486
- onChange: c[0] || (c[0] = async (k) => y(k)),
487
- onBlur: c[1] || (c[1] = async (k) => $(k)),
488
- onFocus: c[2] || (c[2] = async (k) => U(k)),
480
+ id: v.value,
481
+ name: c.name,
482
+ checked: c.checked,
483
+ disabled: c.disabled,
484
+ value: c.value,
485
+ required: c.required,
486
+ onChange: s[0] || (s[0] = async (y) => $(y)),
487
+ onBlur: s[1] || (s[1] = async (y) => D(y)),
488
+ onFocus: s[2] || (s[2] = async (y) => _(y)),
489
489
  "aria-describedby": h.value
490
- }, null, 40, Pe),
491
- f.label ? (m(), g(C, { key: 0 }, [
492
- L(w(f.label), 1)
493
- ], 64)) : I(f.$slots, "default", { key: 1 })
494
- ], 8, Ue),
495
- v(q)(f.message, f.showMessage) ? (m(), X(W, {
490
+ }, null, 40, Ve),
491
+ c.label ? (m(), g(S, { key: 0 }, [
492
+ L(k(c.label), 1)
493
+ ], 64)) : w(c.$slots, "default", { key: 1 })
494
+ ], 8, Pe),
495
+ f(q)(c.message, c.showMessage) ? (m(), X(W, {
496
496
  key: 0,
497
497
  size: "small",
498
- icon: f.messageIcon,
498
+ icon: c.messageIcon,
499
499
  id: l.value
500
500
  }, {
501
- default: z(() => [
502
- L(w(f.message), 1)
501
+ default: R(() => [
502
+ L(k(c.message), 1)
503
503
  ]),
504
504
  _: 1
505
- }, 8, ["icon", "id"])) : D("", !0),
505
+ }, 8, ["icon", "id"])) : M("", !0),
506
506
  O(W, {
507
507
  size: "small",
508
508
  semantic: "successful",
509
509
  id: p.value
510
510
  }, {
511
- default: z(() => [
512
- L(w(f.validMessage ?? v(Z)), 1)
511
+ default: R(() => [
512
+ L(k(c.validMessage ?? f(Z)), 1)
513
513
  ]),
514
514
  _: 1
515
515
  }, 8, ["id"]),
516
516
  O(W, {
517
517
  size: "small",
518
518
  semantic: "critical",
519
- id: i.value
519
+ id: d.value
520
520
  }, {
521
- default: z(() => {
522
- var k;
521
+ default: R(() => {
522
+ var y;
523
523
  return [
524
- L(w(f.invalidMessage ?? ((k = B.value) == null ? void 0 : k.validationMessage) ?? v(x)), 1)
524
+ L(k(c.invalidMessage ?? ((y = B.value) == null ? void 0 : y.validationMessage) ?? f(x)), 1)
525
525
  ];
526
526
  }),
527
527
  _: 1
528
528
  }, 8, ["id"]),
529
- _("span", Ve, w(s.value), 1)
530
- ], 10, Re));
529
+ I("span", Ge, k(n.value), 1)
530
+ ], 10, Ue));
531
531
  }
532
- }), Ge = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], $n = /* @__PURE__ */ E({
532
+ }), qe = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], It = /* @__PURE__ */ A({
533
533
  __name: "divider",
534
534
  props: {
535
535
  margin: { default: void 0 },
@@ -543,20 +543,20 @@ const gn = Object.entries(me).map(([, t]) => t), Ne = {
543
543
  emphasis: { default: void 0 },
544
544
  width: { default: void 0 }
545
545
  },
546
- setup(t) {
547
- const n = t, d = o(null);
546
+ setup(i) {
547
+ const t = i, o = u(null);
548
548
  return (e, a) => (m(), g("div", {
549
549
  ref_key: "_ref",
550
- ref: d,
550
+ ref: o,
551
551
  id: e.id,
552
552
  "data-margin": e.margin,
553
553
  "data-variant": e.variant,
554
554
  "data-emphasis": e.emphasis,
555
555
  "data-width": e.width,
556
- class: N(v(A)("db-divider", n.class))
557
- }, null, 10, Ge));
556
+ class: E(f(N)("db-divider", t.class))
557
+ }, null, 10, qe));
558
558
  }
559
- }), qe = ["id", "data-backdrop", "data-variant"], Oe = ["data-spacing", "data-width", "data-direction", "data-rounded"], We = { class: "db-drawer-header" }, Xe = { class: "db-drawer-header-text" }, He = { class: "db-drawer-content" }, je = /* @__PURE__ */ E({
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__ */ A({
560
560
  __name: "drawer",
561
561
  props: {
562
562
  backdrop: { default: void 0 },
@@ -577,14 +577,14 @@ const gn = Object.entries(me).map(([, t]) => t), Ne = {
577
577
  width: { default: void 0 },
578
578
  spacing: { default: void 0 }
579
579
  },
580
- setup(t) {
581
- const n = t, d = o(null), e = o(null);
582
- R(() => {
583
- r();
584
- }), M(
585
- () => [n.open],
580
+ setup(i) {
581
+ const t = i, o = u(null), e = u(null);
582
+ U(() => {
583
+ v();
584
+ }), z(
585
+ () => [t.open],
586
586
  () => {
587
- r();
587
+ v();
588
588
  },
589
589
  {
590
590
  immediate: !0,
@@ -592,68 +592,68 @@ const gn = Object.entries(me).map(([, t]) => t), Ne = {
592
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
+ l.key === "Escape" && l.preventDefault(), (l === "close" || l.key === "Escape" || l.target.nodeName === "DIALOG" && l.type === "click" && t.backdrop !== "none") && t.onClose && t.onClose(l);
596
596
  }
597
- function r() {
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(() => {
597
+ function v() {
598
+ o.value && (t.open && !o.value.open && (e.value && (e.value.hidden = !1), t.backdrop === "none" || t.variant === "inside" ? o.value.show() : o.value.showModal()), !t.open && o.value.open && (e.value && (e.value.hidden = !0), H(() => {
599
599
  var l;
600
- e.value && (e.value.hidden = !1), (l = d.value) == null || l.close();
600
+ e.value && (e.value.hidden = !1), (l = o.value) == null || l.close();
601
601
  }, 401)));
602
602
  }
603
603
  return (l, p) => (m(), g("dialog", {
604
604
  class: "db-drawer",
605
605
  id: l.id,
606
606
  ref_key: "_ref",
607
- ref: d,
608
- onClick: p[0] || (p[0] = async (i) => {
609
- a(i);
607
+ ref: o,
608
+ onClick: p[0] || (p[0] = async (d) => {
609
+ a(d);
610
610
  }),
611
- onKeydown: p[1] || (p[1] = async (i) => a(i)),
611
+ onKeydown: p[1] || (p[1] = async (d) => a(d)),
612
612
  "data-backdrop": l.backdrop,
613
613
  "data-variant": l.variant
614
614
  }, [
615
- _("article", {
615
+ I("article", {
616
616
  ref_key: "dialogContainerRef",
617
617
  ref: e,
618
- class: N(v(A)("db-drawer-container", n.class)),
618
+ class: E(f(N)("db-drawer-container", t.class)),
619
619
  "data-spacing": l.spacing,
620
620
  "data-width": l.width,
621
621
  "data-direction": l.direction,
622
622
  "data-rounded": l.rounded
623
623
  }, [
624
- _("header", We, [
625
- _("div", Xe, [
626
- I(l.$slots, "drawer-header")
624
+ I("header", Xe, [
625
+ I("div", He, [
626
+ w(l.$slots, "drawer-header")
627
627
  ]),
628
- O(de, {
628
+ O(oe, {
629
629
  class: "button-close-drawer",
630
630
  icon: "cross",
631
631
  variant: "ghost",
632
632
  id: l.closeButtonId,
633
633
  noText: !0,
634
- onClick: (i) => a("close")
634
+ onClick: (d) => a("close")
635
635
  }, {
636
- default: z(() => [
637
- L(w(l.closeButtonText ?? v(ce)), 1)
636
+ default: R(() => [
637
+ L(k(l.closeButtonText ?? f(ve)), 1)
638
638
  ]),
639
639
  _: 1
640
640
  }, 8, ["id", "onClick"])
641
641
  ]),
642
- _("div", He, [
643
- I(l.$slots, "default")
642
+ I("div", je, [
643
+ w(l.$slots, "default")
644
644
  ])
645
- ], 10, Oe)
646
- ], 40, qe));
645
+ ], 10, We)
646
+ ], 40, Oe));
647
647
  }
648
- }), Ye = (t) => {
649
- var d, e;
648
+ }), be = (i) => {
649
+ var o, e;
650
650
  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")));
651
+ target: t
652
+ } = i;
653
+ return !!(!((o = t == null ? void 0 : t.classList) != null && o.contains("db-navigation-item-expand-button")) && ((e = t == null ? void 0 : t.parentElement) != null && e.classList.contains("db-navigation-item")));
654
654
  };
655
655
  class Ke {
656
- constructor(n, d) {
656
+ constructor(t, o) {
657
657
  j(this, "element");
658
658
  j(this, "subNavigation");
659
659
  j(this, "parentSubNavigation", null);
@@ -662,25 +662,25 @@ class Ke {
662
662
  j(this, "mouseX", 0);
663
663
  j(this, "mouseY", 0);
664
664
  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());
665
+ this.element = t, this.subNavigation = o, !(!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
666
  }
667
667
  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;
668
+ var o, e;
669
+ const t = ((o = this.parentSubNavigation) == null ? void 0 : o.getBoundingClientRect().width) ?? 0;
670
+ (e = this.element) == null || e.style.setProperty("--db-navigation-item-inline-size", `${t}px`), this.initialized = !0;
671
671
  }
672
672
  enableFollow() {
673
673
  var a;
674
674
  if (!this.initialized || this.triangleData || !this.element || !this.subNavigation)
675
675
  return;
676
- const n = se(this.subNavigation), d = this.element.getBoundingClientRect(), e = ((a = this.parentSubNavigation) == null ? void 0 : a.getBoundingClientRect().width) ?? 0;
676
+ const t = ne(this.subNavigation), o = this.element.getBoundingClientRect(), e = ((a = this.parentSubNavigation) == null ? void 0 : a.getBoundingClientRect().width) ?? 0;
677
677
  this.triangleData = {
678
- itemRect: d,
678
+ itemRect: o,
679
679
  parentElementWidth: e,
680
680
  subNavigationHeight: this.subNavigation.getBoundingClientRect().height,
681
- padding: (e - d.width) / 2,
682
- outsideVX: n.vx,
683
- outsideVY: n.vy
681
+ padding: (e - o.width) / 2,
682
+ outsideVX: t.vx,
683
+ outsideVY: t.vy
684
684
  };
685
685
  }
686
686
  disableFollow() {
@@ -691,19 +691,19 @@ class Ke {
691
691
  }
692
692
  getTriangleTipY() {
693
693
  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;
694
+ const t = Math.max(Math.min(this.mouseY, this.triangleData.itemRect.height), 0) + this.triangleData.padding;
695
+ return this.triangleData.outsideVY === "bottom" ? t + (this.triangleData.subNavigationHeight - this.triangleData.padding * 2 - this.triangleData.itemRect.height) : t;
696
696
  }
697
697
  hasMouseEnteredSubNavigation() {
698
698
  if (!this.triangleData)
699
699
  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);
700
+ const t = this.triangleData.outsideVX === "right";
701
+ return !!(t && this.mouseX < -1 * this.triangleData.padding || !t && this.mouseX > this.triangleData.parentElementWidth - this.triangleData.padding);
702
702
  }
703
- getTriangleCoordinates(n) {
703
+ getTriangleCoordinates(t) {
704
704
  if (!this.triangleData)
705
705
  return;
706
- if (n === "fill-gap") {
706
+ if (t === "fill-gap") {
707
707
  const l = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, p = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
708
708
  return {
709
709
  lb: `${p} ${l}`,
@@ -712,23 +712,23 @@ class Ke {
712
712
  rb: `100% ${l}`
713
713
  };
714
714
  }
715
- const d = this.getTriangleTipX(), e = this.getTriangleTipY(), a = `${d}px ${e}px`, r = `${d}px ${e}px`;
715
+ const o = this.getTriangleTipX(), e = this.getTriangleTipY(), a = `${o}px ${e}px`, v = `${o}px ${e}px`;
716
716
  return {
717
717
  lb: a,
718
- lt: r,
718
+ lt: v,
719
719
  rt: "100% 0",
720
720
  rb: "100% 100%"
721
721
  };
722
722
  }
723
- followByMouseEvent(n) {
723
+ followByMouseEvent(t) {
724
724
  if (!this.initialized || !this.triangleData || !this.element || !this.subNavigation)
725
725
  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));
726
+ this.mouseX = t.clientX - this.triangleData.itemRect.left, this.mouseY = t.clientY - this.triangleData.itemRect.top;
727
+ const o = this.hasMouseEnteredSubNavigation(), e = this.getTriangleCoordinates(o ? "fill-gap" : "safe-triangle");
728
+ e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), o && (this.triangleData = void 0));
729
729
  }
730
730
  }
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({
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" }, ta = { class: "db-header-brand-container" }, ia = { class: "db-header-navigation-container" }, oa = { class: "db-header-navigation" }, da = { class: "db-header-primary-action" }, la = { class: "db-header-action-container" }, na = { class: "db-header-burger-menu-container" }, sa = { class: "db-header-secondary-action" }, _t = /* @__PURE__ */ A({
732
732
  __name: "header",
733
733
  props: {
734
734
  brand: {},
@@ -747,16 +747,16 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
747
747
  onToggle: { type: Function, default: void 0 },
748
748
  width: { default: void 0 }
749
749
  },
750
- setup(t) {
751
- const n = t, d = o(ee), e = o(!1), a = o(!1), r = o(null);
752
- R(() => {
753
- e.value = !0, d.value = n.id || "header-" + G();
754
- }), M(
750
+ setup(i) {
751
+ const t = i, o = u(ee), e = u(!1), a = u(!1), v = u(null);
752
+ U(() => {
753
+ e.value = !0, o.value = t.id || "header-" + G();
754
+ }), z(
755
755
  () => [e.value],
756
756
  () => {
757
- if (e.value && document && d.value && n.forceMobile) {
758
- const i = document.getElementById(d.value);
759
- i && re(i, {
757
+ if (e.value && document && o.value && t.forceMobile) {
758
+ const d = document.getElementById(o.value);
759
+ d && re(d, {
760
760
  key: "data-force-mobile",
761
761
  value: "true"
762
762
  }), a.value = !0;
@@ -768,82 +768,82 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
768
768
  }
769
769
  );
770
770
  function l() {
771
- n.onToggle && n.onToggle(!n.drawerOpen);
771
+ t.onToggle && t.onToggle(!t.drawerOpen);
772
772
  }
773
- function p(i) {
774
- Ye(i) && l();
773
+ function p(d) {
774
+ be(d) && l();
775
775
  }
776
- return (i, h) => (m(), g("header", {
776
+ return (d, h) => (m(), g("header", {
777
777
  ref_key: "_ref",
778
- ref: r,
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
778
+ ref: v,
779
+ class: E(f(N)("db-header", t.class)),
780
+ id: o.value,
781
+ "data-width": d.width,
782
+ "data-on-forcing-mobile": d.forceMobile && !a.value
783
783
  }, [
784
- O(je, {
784
+ O(Ye, {
785
785
  class: "db-header-drawer",
786
786
  spacing: "small",
787
787
  rounded: !0,
788
- open: i.drawerOpen,
788
+ open: d.drawerOpen,
789
789
  onClose: () => l()
790
790
  }, {
791
- default: z(() => [
792
- _("div", Qe, [
793
- _("div", {
791
+ default: R(() => [
792
+ I("div", Qe, [
793
+ I("div", {
794
794
  class: "db-header-navigation",
795
- onClick: h[0] || (h[0] = async (s) => p(s))
795
+ onClick: h[0] || (h[0] = async (n) => p(n))
796
796
  }, [
797
- I(i.$slots, "default")
797
+ w(d.$slots, "default")
798
798
  ]),
799
- _("div", Ze, [
800
- I(i.$slots, "meta-navigation")
799
+ I("div", Ze, [
800
+ w(d.$slots, "meta-navigation")
801
801
  ])
802
802
  ]),
803
- _("div", xe, [
804
- I(i.$slots, "secondary-action")
803
+ I("div", xe, [
804
+ w(d.$slots, "secondary-action")
805
805
  ])
806
806
  ]),
807
807
  _: 3
808
808
  }, 8, ["open", "onClose"]),
809
- _("div", ea, [
810
- I(i.$slots, "meta-navigation")
809
+ I("div", ea, [
810
+ w(d.$slots, "meta-navigation")
811
811
  ]),
812
- _("div", aa, [
813
- _("div", na, [
814
- I(i.$slots, "brand")
812
+ I("div", aa, [
813
+ I("div", ta, [
814
+ w(d.$slots, "brand")
815
815
  ]),
816
- _("div", ta, [
817
- _("div", da, [
818
- I(i.$slots, "default")
816
+ I("div", ia, [
817
+ I("div", oa, [
818
+ w(d.$slots, "default")
819
819
  ]),
820
- _("div", ia, [
821
- I(i.$slots, "primary-action")
820
+ I("div", da, [
821
+ w(d.$slots, "primary-action")
822
822
  ])
823
823
  ]),
824
- _("div", la, [
825
- _("div", sa, [
826
- O(de, {
824
+ I("div", la, [
825
+ I("div", na, [
826
+ O(oe, {
827
827
  icon: "menu",
828
828
  variant: "ghost",
829
- id: d.value + "-burger-menu",
829
+ id: o.value + "-burger-menu",
830
830
  noText: !0,
831
831
  onClick: () => l()
832
832
  }, {
833
- default: z(() => [
834
- L(w(i.burgerMenuLabel ?? v($e)), 1)
833
+ default: R(() => [
834
+ L(k(d.burgerMenuLabel ?? f(Le)), 1)
835
835
  ]),
836
836
  _: 1
837
837
  }, 8, ["id", "onClick"])
838
838
  ]),
839
- _("div", oa, [
840
- I(i.$slots, "secondary-action")
839
+ I("div", sa, [
840
+ w(d.$slots, "secondary-action")
841
841
  ])
842
842
  ])
843
843
  ])
844
844
  ], 10, Je));
845
845
  }
846
- }), ua = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], En = /* @__PURE__ */ E({
846
+ }), ua = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], $t = /* @__PURE__ */ A({
847
847
  __name: "icon",
848
848
  props: {
849
849
  variant: { default: void 0 },
@@ -857,27 +857,27 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
857
857
  icon: { default: void 0 },
858
858
  text: { default: void 0 }
859
859
  },
860
- setup(t) {
861
- const n = t, d = o(null);
860
+ setup(i) {
861
+ const t = i, o = u(null);
862
862
  return (e, a) => (m(), g("span", {
863
863
  "aria-hidden": "true",
864
864
  ref_key: "_ref",
865
- ref: d,
865
+ ref: o,
866
866
  id: e.id,
867
- class: N(v(A)("db-icon", n.class)),
867
+ class: E(f(N)("db-icon", t.class)),
868
868
  "data-icon": e.icon,
869
869
  "data-icon-weight": e.weight,
870
870
  "data-icon-variant": e.variant
871
871
  }, [
872
- e.text ? (m(), g(C, { key: 0 }, [
873
- L(w(e.text), 1)
874
- ], 64)) : I(e.$slots, "default", { key: 1 })
872
+ e.text ? (m(), g(S, { key: 0 }, [
873
+ L(k(e.text), 1)
874
+ ], 64)) : w(e.$slots, "default", { key: 1 })
875
875
  ], 10, ua));
876
876
  }
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 = {
877
+ }), ra = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-icon-after"], ca = ["for"], va = ["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"], fa = ["id"], pa = ["value"], ha = {
878
878
  "data-visually-hidden": "true",
879
879
  role: "status"
880
- }, Nn = /* @__PURE__ */ E({
880
+ }, Lt = /* @__PURE__ */ A({
881
881
  __name: "input",
882
882
  props: {
883
883
  dataList: { default: void 0 },
@@ -926,122 +926,122 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
926
926
  size: { default: void 0 }
927
927
  },
928
928
  emits: ["update:value"],
929
- setup(t, { emit: n }) {
930
- const d = n, e = t, a = o(void 0), r = o(void 0), l = o(void 0), p = o(void 0), i = o(void 0), h = o(""), s = o(""), B = o(""), y = o(null);
931
- R(() => {
932
- const u = e.id ?? `input-${G()}`;
933
- a.value = u, r.value = u + K, l.value = u + J, p.value = u + Q, i.value = u + ue;
934
- }), M(
929
+ setup(i, { emit: t }) {
930
+ const o = t, e = i, a = u(void 0), v = u(void 0), l = u(void 0), p = u(void 0), d = u(void 0), h = u(""), n = u(""), B = u(""), $ = u(null);
931
+ U(() => {
932
+ const r = e.id ?? `input-${G()}`;
933
+ a.value = r, v.value = r + K, l.value = r + J, p.value = r + Q, d.value = r + ue;
934
+ }), z(
935
935
  () => [a.value],
936
936
  () => {
937
937
  if (a.value) {
938
- const u = a.value + K;
939
- r.value = u, l.value = a.value + J, p.value = a.value + Q, i.value = e.dataListId ?? a.value + ue, q(e.message, e.showMessage) && (h.value = u);
938
+ const r = a.value + K;
939
+ v.value = r, l.value = a.value + J, p.value = a.value + Q, d.value = e.dataListId ?? a.value + ue, q(e.message, e.showMessage) && (h.value = r);
940
940
  }
941
941
  },
942
942
  {
943
943
  immediate: !0,
944
944
  flush: "post"
945
945
  }
946
- ), M(
946
+ ), z(
947
947
  () => [e.value],
948
948
  () => {
949
- s.value = e.value;
949
+ n.value = e.value;
950
950
  },
951
951
  {
952
952
  immediate: !0,
953
953
  flush: "post"
954
954
  }
955
955
  );
956
- function $(u) {
957
- s.value = u.target.value, e.onInput && e.onInput(u), e.input && e.input(u);
956
+ function D(r) {
957
+ n.value = r.target.value, e.onInput && e.onInput(r), e.input && e.input(r);
958
958
  }
959
- function U(u) {
960
- var T, b, S;
961
- e.onChange && e.onChange(u), e.change && e.change(u), ae(d, u), !((T = y.value) != null && T.validity.valid) || e.validation === "invalid" ? (h.value = p.value, Y() && (B.value = e.invalidMessage ?? ((b = y.value) == null ? void 0 : b.validationMessage) ?? x, H(() => B.value = "", 1e3))) : e.validation === "valid" || (S = y.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 = r.value : h.value = "";
959
+ function _(r) {
960
+ var T, b, C;
961
+ e.onChange && e.onChange(r), e.change && e.change(r), ae(o, 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" || (C = $.value) != null && C.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 = v.value : h.value = "";
962
962
  }
963
- function f(u) {
964
- e.onBlur && e.onBlur(u), e.blur && e.blur(u);
963
+ function c(r) {
964
+ e.onBlur && e.onBlur(r), e.blur && e.blur(r);
965
965
  }
966
- function c(u) {
967
- e.onFocus && e.onFocus(u), e.focus && e.focus(u);
966
+ function s(r) {
967
+ e.onFocus && e.onFocus(r), e.focus && e.focus(r);
968
968
  }
969
- function k(u) {
969
+ function y(r) {
970
970
  return Array.from(
971
- (ke(u) ? u.map((T) => ({
971
+ (we(r) ? r.map((T) => ({
972
972
  value: T,
973
973
  label: void 0
974
- })) : u) || []
974
+ })) : r) || []
975
975
  );
976
976
  }
977
- return (u, T) => (m(), g("div", {
978
- class: N(v(A)("db-input", e.class)),
979
- "data-variant": u.variant,
980
- "data-hide-label": v(P)(u.showLabel),
981
- "data-hide-icon": v(P)(u.showIcon),
982
- "data-icon": u.icon,
983
- "data-icon-after": u.iconAfter,
984
- "data-hide-icon-after": v(P)(u.showIcon)
977
+ return (r, T) => (m(), g("div", {
978
+ class: E(f(N)("db-input", e.class)),
979
+ "data-variant": r.variant,
980
+ "data-hide-label": f(P)(r.showLabel),
981
+ "data-hide-icon": f(P)(r.showIcon),
982
+ "data-icon": r.icon,
983
+ "data-icon-after": r.iconAfter,
984
+ "data-hide-icon-after": f(P)(r.showIcon)
985
985
  }, [
986
- _("label", { for: a.value }, w(u.label ?? v(le)), 9, fa),
987
- _("input", {
988
- "aria-invalid": u.validation === "invalid",
989
- "data-custom-validity": u.validation,
986
+ I("label", { for: a.value }, k(r.label ?? f(le)), 9, ca),
987
+ I("input", {
988
+ "aria-invalid": r.validation === "invalid",
989
+ "data-custom-validity": r.validation,
990
990
  ref_key: "_ref",
991
- ref: y,
991
+ ref: $,
992
992
  id: a.value,
993
- name: u.name,
994
- type: u.type || "text",
995
- placeholder: u.placeholder ?? v(fe),
996
- disabled: u.disabled,
997
- required: u.required,
998
- step: u.step,
999
- value: u.value ?? s.value,
1000
- maxLength: u.maxLength,
1001
- minLength: u.minLength,
1002
- max: u.max,
1003
- min: u.min,
1004
- readOnly: u.readOnly,
1005
- form: u.form,
1006
- pattern: u.pattern,
1007
- size: u.size,
1008
- autoComplete: u.autocomplete,
1009
- autoFocus: u.autofocus,
1010
- onInput: T[0] || (T[0] = async (b) => $(b)),
1011
- onChange: T[1] || (T[1] = async (b) => U(b)),
1012
- onBlur: T[2] || (T[2] = async (b) => f(b)),
1013
- onFocus: T[3] || (T[3] = async (b) => c(b)),
1014
- list: u.dataList && i.value,
993
+ name: r.name,
994
+ type: r.type || "text",
995
+ placeholder: r.placeholder ?? f(ce),
996
+ disabled: r.disabled,
997
+ required: r.required,
998
+ step: r.step,
999
+ value: r.value ?? n.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) => c(b)),
1013
+ onFocus: T[3] || (T[3] = async (b) => s(b)),
1014
+ list: r.dataList && d.value,
1015
1015
  "aria-describedby": h.value
1016
- }, null, 40, ca),
1017
- u.dataList ? (m(), g("datalist", {
1016
+ }, null, 40, va),
1017
+ r.dataList ? (m(), g("datalist", {
1018
1018
  key: 0,
1019
- id: i.value
1019
+ id: d.value
1020
1020
  }, [
1021
- (m(!0), g(C, null, te(k(u.dataList), (b) => (m(), g("option", {
1022
- key: i.value + "-option-" + b.value,
1021
+ (m(!0), g(S, null, ie(y(r.dataList), (b) => (m(), g("option", {
1022
+ key: d.value + "-option-" + b.value,
1023
1023
  value: b.value
1024
- }, w(b.label), 9, pa))), 128))
1025
- ], 8, va)) : D("", !0),
1026
- I(u.$slots, "default"),
1027
- v(q)(u.message, u.showMessage) ? (m(), X(W, {
1024
+ }, k(b.label), 9, pa))), 128))
1025
+ ], 8, fa)) : M("", !0),
1026
+ w(r.$slots, "default"),
1027
+ f(q)(r.message, r.showMessage) ? (m(), X(W, {
1028
1028
  key: 1,
1029
1029
  size: "small",
1030
- icon: u.messageIcon,
1031
- id: r.value
1030
+ icon: r.messageIcon,
1031
+ id: v.value
1032
1032
  }, {
1033
- default: z(() => [
1034
- L(w(u.message), 1)
1033
+ default: R(() => [
1034
+ L(k(r.message), 1)
1035
1035
  ]),
1036
1036
  _: 1
1037
- }, 8, ["icon", "id"])) : D("", !0),
1037
+ }, 8, ["icon", "id"])) : M("", !0),
1038
1038
  O(W, {
1039
1039
  size: "small",
1040
1040
  semantic: "successful",
1041
1041
  id: l.value
1042
1042
  }, {
1043
- default: z(() => [
1044
- L(w(u.validMessage ?? v(Z)), 1)
1043
+ default: R(() => [
1044
+ L(k(r.validMessage ?? f(Z)), 1)
1045
1045
  ]),
1046
1046
  _: 1
1047
1047
  }, 8, ["id"]),
@@ -1050,18 +1050,18 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1050
1050
  semantic: "critical",
1051
1051
  id: p.value
1052
1052
  }, {
1053
- default: z(() => {
1053
+ default: R(() => {
1054
1054
  var b;
1055
1055
  return [
1056
- L(w(u.invalidMessage ?? ((b = y.value) == null ? void 0 : b.validationMessage) ?? v(x)), 1)
1056
+ L(k(r.invalidMessage ?? ((b = $.value) == null ? void 0 : b.validationMessage) ?? f(x)), 1)
1057
1057
  ];
1058
1058
  }),
1059
1059
  _: 1
1060
1060
  }, 8, ["id"]),
1061
- _("span", ha, w(B.value), 1)
1061
+ I("span", ha, k(B.value), 1)
1062
1062
  ], 10, ra));
1063
1063
  }
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({
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"], Et = /* @__PURE__ */ A({
1065
1065
  __name: "link",
1066
1066
  props: {
1067
1067
  content: { default: void 0 },
@@ -1087,44 +1087,45 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1087
1087
  showIcon: { type: Boolean, default: void 0 },
1088
1088
  text: { default: void 0 }
1089
1089
  },
1090
- setup(t) {
1091
- const n = t, d = o(null);
1090
+ setup(i) {
1091
+ const t = i, o = u(null);
1092
1092
  function e(a) {
1093
- n.onClick && n.onClick(a);
1093
+ t.onClick && t.onClick(a);
1094
1094
  }
1095
- return (a, r) => (m(), g("a", {
1095
+ return (a, v) => (m(), g("a", {
1096
1096
  ref_key: "_ref",
1097
- ref: d,
1097
+ ref: o,
1098
1098
  id: a.id,
1099
- class: N(v(A)("db-link", n.class)),
1099
+ class: E(f(N)("db-link", t.class)),
1100
1100
  href: a.href,
1101
1101
  target: a.target,
1102
1102
  rel: a.rel,
1103
1103
  role: a.role,
1104
1104
  hrefLang: a.hreflang,
1105
- "aria-disabled": v(V)(a.disabled),
1105
+ "aria-disabled": f(V)(a.disabled),
1106
1106
  tabIndex: a.disabled ? -1 : 0,
1107
1107
  "aria-selected": a.selected,
1108
1108
  "aria-label": a.label,
1109
1109
  "aria-current": a.current,
1110
1110
  "data-size": a.size,
1111
- "data-hide-icon-after": v(P)(a.showIcon ?? !0),
1111
+ "data-hide-icon-after": f(P)(a.showIcon ?? !0),
1112
1112
  "data-variant": a.variant,
1113
1113
  "data-content": a.content || "internal",
1114
- onClick: r[0] || (r[0] = async (l) => e(l))
1114
+ onClick: v[0] || (v[0] = async (l) => e(l))
1115
1115
  }, [
1116
- a.text ? (m(), g(C, { key: 0 }, [
1117
- L(w(a.text), 1)
1118
- ], 64)) : I(a.$slots, "default", { key: 1 })
1116
+ a.text ? (m(), g(S, { key: 0 }, [
1117
+ L(k(a.text), 1)
1118
+ ], 64)) : w(a.$slots, "default", { key: 1 })
1119
1119
  ], 10, ma));
1120
1120
  }
1121
- }), ba = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], ga = { class: "db-main" }, Fn = /* @__PURE__ */ E({
1121
+ }), ba = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], Nt = /* @__PURE__ */ A({
1122
1122
  __name: "page",
1123
1123
  props: {
1124
1124
  documentOverflow: { default: void 0 },
1125
1125
  fadeIn: { type: Boolean, default: void 0 },
1126
1126
  footer: {},
1127
1127
  header: {},
1128
+ mainClass: { default: void 0 },
1128
1129
  variant: { default: void 0 },
1129
1130
  children: { default: void 0 },
1130
1131
  className: { default: void 0 },
@@ -1133,31 +1134,33 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1133
1134
  id: { default: void 0 },
1134
1135
  autofocus: { type: Boolean }
1135
1136
  },
1136
- setup(t) {
1137
- const n = t, d = o(!1), e = o(null);
1138
- return typeof window < "u" && document && (n.documentOverflow === "hidden" || n.variant === "fixed" && n.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), R(() => {
1139
- d.value = !n.fadeIn, document && n.fadeIn ? document.fonts.ready.then(() => {
1140
- d.value = !0;
1141
- }) : d.value = !0;
1142
- }), ye(() => {
1137
+ setup(i) {
1138
+ const t = i, o = u(!1), e = u(null);
1139
+ return typeof window < "u" && document && (t.documentOverflow === "hidden" || t.variant === "fixed" && t.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), U(() => {
1140
+ o.value = !t.fadeIn, document && t.fadeIn ? document.fonts.ready.then(() => {
1141
+ o.value = !0;
1142
+ }) : o.value = !0;
1143
+ }), Be(() => {
1143
1144
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
1144
- }), (a, r) => (m(), g("div", {
1145
+ }), (a, v) => (m(), g("div", {
1145
1146
  ref_key: "_ref",
1146
1147
  ref: e,
1147
1148
  id: a.id,
1148
- class: N(v(A)("db-page", n.class)),
1149
+ class: E(f(N)("db-page", t.class)),
1149
1150
  "data-variant": a.variant,
1150
1151
  "data-fade-in": a.fadeIn,
1151
- "data-fonts-loaded": v(V)(d.value)
1152
+ "data-fonts-loaded": f(V)(o.value)
1152
1153
  }, [
1153
- I(a.$slots, "header"),
1154
- _("main", ga, [
1155
- I(a.$slots, "default")
1156
- ]),
1157
- I(a.$slots, "footer")
1154
+ w(a.$slots, "header"),
1155
+ I("main", {
1156
+ class: E(f(N)("db-main", a.mainClass))
1157
+ }, [
1158
+ w(a.$slots, "default")
1159
+ ], 2),
1160
+ w(a.$slots, "footer")
1158
1161
  ], 10, ba));
1159
1162
  }
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({
1163
+ }), ga = ["data-size", "data-hide-label", "for"], ya = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"], At = /* @__PURE__ */ A({
1161
1164
  __name: "radio",
1162
1165
  props: {
1163
1166
  describedbyid: { default: void 0 },
@@ -1183,12 +1186,12 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1183
1186
  checked: { type: Boolean, default: void 0 },
1184
1187
  size: { default: void 0 }
1185
1188
  },
1186
- emits: ["update:checked"],
1187
- setup(t, { emit: n }) {
1188
- const d = n, e = t, a = o(!1), r = o(void 0), l = o(null);
1189
- R(() => {
1190
- a.value = !0, r.value = e.id ?? `radio-${G()}`;
1191
- }), M(
1189
+ emits: ["update:value"],
1190
+ setup(i, { emit: t }) {
1191
+ const o = t, e = i, a = u(!1), v = u(void 0), l = u(null);
1192
+ U(() => {
1193
+ a.value = !0, v.value = e.id ?? `radio-${G()}`;
1194
+ }), z(
1192
1195
  () => [a.value, l.value, e.checked],
1193
1196
  () => {
1194
1197
  e.checked && a.value && l.value && (l.value.checked = !0);
@@ -1198,44 +1201,44 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1198
1201
  flush: "post"
1199
1202
  }
1200
1203
  );
1201
- function p(s) {
1202
- e.onChange && e.onChange(s), e.change && e.change(s), ae(d, s, "checked");
1204
+ function p(n) {
1205
+ e.onChange && e.onChange(n), e.change && e.change(n), ae(o, n);
1203
1206
  }
1204
- function i(s) {
1205
- e.onBlur && e.onBlur(s), e.blur && e.blur(s);
1207
+ function d(n) {
1208
+ e.onBlur && e.onBlur(n), e.blur && e.blur(n);
1206
1209
  }
1207
- function h(s) {
1208
- e.onFocus && e.onFocus(s), e.focus && e.focus(s);
1210
+ function h(n) {
1211
+ e.onFocus && e.onFocus(n), e.focus && e.focus(n);
1209
1212
  }
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: r.value
1213
+ return (n, B) => (m(), g("label", {
1214
+ "data-size": n.size,
1215
+ "data-hide-label": f(P)(n.showLabel),
1216
+ class: E(f(N)("db-radio", e.class)),
1217
+ for: v.value
1215
1218
  }, [
1216
- _("input", {
1219
+ I("input", {
1217
1220
  type: "radio",
1218
- "aria-invalid": s.validation === "invalid",
1219
- "data-custom-validity": s.validation,
1221
+ "aria-invalid": n.validation === "invalid",
1222
+ "data-custom-validity": n.validation,
1220
1223
  ref_key: "_ref",
1221
1224
  ref: l,
1222
- id: r.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 (y) => p(y)),
1230
- onBlur: B[1] || (B[1] = async (y) => i(y)),
1231
- onFocus: B[2] || (B[2] = async (y) => h(y))
1232
- }, null, 40, Ba),
1233
- s.label ? (m(), g(C, { key: 0 }, [
1234
- L(w(s.label), 1)
1235
- ], 64)) : I(s.$slots, "default", { key: 1 })
1236
- ], 10, ya));
1225
+ id: v.value,
1226
+ name: n.name,
1227
+ checked: n.checked,
1228
+ disabled: n.disabled,
1229
+ "aria-describedby": n.describedbyid,
1230
+ value: n.value,
1231
+ required: n.required,
1232
+ onChange: B[0] || (B[0] = async ($) => p($)),
1233
+ onBlur: B[1] || (B[1] = async ($) => d($)),
1234
+ onFocus: B[2] || (B[2] = async ($) => h($))
1235
+ }, null, 40, ya),
1236
+ n.label ? (m(), g(S, { key: 0 }, [
1237
+ L(k(n.label), 1)
1238
+ ], 64)) : w(n.$slots, "default", { key: 1 })
1239
+ ], 10, ga));
1237
1240
  }
1238
- }), ka = ["id", "data-spacing", "data-width"], Sn = /* @__PURE__ */ E({
1241
+ }), Ba = ["id", "data-spacing", "data-width"], Ft = /* @__PURE__ */ A({
1239
1242
  __name: "section",
1240
1243
  props: {
1241
1244
  children: { default: void 0 },
@@ -1247,25 +1250,25 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1247
1250
  spacing: { default: void 0 },
1248
1251
  width: { default: void 0 }
1249
1252
  },
1250
- setup(t) {
1251
- const n = t, d = o(ee), e = o(null);
1252
- return R(() => {
1253
- d.value = n.id || "section-" + G();
1254
- }), (a, r) => (m(), g("section", {
1253
+ setup(i) {
1254
+ const t = i, o = u(ee), e = u(null);
1255
+ return U(() => {
1256
+ o.value = t.id || "section-" + G();
1257
+ }), (a, v) => (m(), g("section", {
1255
1258
  ref_key: "_ref",
1256
1259
  ref: e,
1257
- id: d.value,
1258
- class: N(v(A)("db-section", n.class)),
1260
+ id: o.value,
1261
+ class: E(f(N)("db-section", t.class)),
1259
1262
  "data-spacing": a.spacing || "medium",
1260
1263
  "data-width": a.width
1261
1264
  }, [
1262
- I(a.$slots, "default")
1263
- ], 10, ka));
1265
+ w(a.$slots, "default")
1266
+ ], 10, Ba));
1264
1267
  }
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 = {
1268
+ }), ka = ["data-variant", "data-hide-label", "data-icon", "data-hide-icon"], wa = ["for"], Ia = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "aria-describedby"], _a = ["label"], $a = ["value", "selected", "disabled"], La = ["value", "disabled", "selected"], Ea = ["id"], Na = {
1266
1269
  "data-visually-hidden": "true",
1267
1270
  role: "status"
1268
- }, Cn = /* @__PURE__ */ E({
1271
+ }, Tt = /* @__PURE__ */ A({
1269
1272
  __name: "select",
1270
1273
  props: {
1271
1274
  description: {},
@@ -1306,121 +1309,121 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1306
1309
  size: { default: void 0 }
1307
1310
  },
1308
1311
  emits: ["update:value"],
1309
- setup(t, { emit: n }) {
1310
- const d = n, e = t, a = o(void 0), r = o(void 0), l = o(void 0), p = o(void 0), i = o(""), h = o(""), s = o(""), B = o(!1), y = o(""), $ = o(null);
1311
- R(() => {
1312
+ setup(i, { emit: t }) {
1313
+ const o = t, e = i, a = u(void 0), v = u(void 0), l = u(void 0), p = u(void 0), d = u(""), h = u(""), n = u(""), B = u(!1), $ = u(""), D = u(null);
1314
+ U(() => {
1312
1315
  B.value = !0;
1313
1316
  const b = e.id ?? `select-${G()}`;
1314
- a.value = b, r.value = b + K, l.value = b + J, p.value = b + Q, i.value = b + oe;
1315
- }), M(
1317
+ a.value = b, v.value = b + K, l.value = b + J, p.value = b + Q, d.value = b + se;
1318
+ }), z(
1316
1319
  () => [a.value, B.value],
1317
1320
  () => {
1318
1321
  if (a.value && B.value) {
1319
- const b = a.value + K, S = a.value + oe;
1320
- r.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;
1322
+ const b = a.value + K, C = a.value + se;
1323
+ v.value = b, l.value = a.value + J, p.value = a.value + Q, d.value = C, q(e.message, e.showMessage) ? h.value = b : h.value = C, B.value = !1;
1321
1324
  }
1322
1325
  },
1323
1326
  {
1324
1327
  immediate: !0,
1325
1328
  flush: "post"
1326
1329
  }
1327
- ), M(
1330
+ ), z(
1328
1331
  () => [e.value],
1329
1332
  () => {
1330
- s.value = e.value;
1333
+ n.value = e.value;
1331
1334
  },
1332
1335
  {
1333
1336
  immediate: !0,
1334
1337
  flush: "post"
1335
1338
  }
1336
1339
  );
1337
- function U(b) {
1340
+ function _(b) {
1338
1341
  e.onClick && e.onClick(b);
1339
1342
  }
1340
- function f(b) {
1341
- s.value = b.target.value, e.onInput && e.onInput(b), e.input && e.input(b);
1342
- }
1343
1343
  function c(b) {
1344
- var S, F, ne;
1345
- e.onChange && e.onChange(b), e.change && e.change(b), ae(d, b), !((S = $.value) != null && S.validity.valid) || e.validation === "invalid" ? (h.value = p.value, Y() && (y.value = e.invalidMessage ?? ((F = $.value) == null ? void 0 : F.validationMessage) ?? x, H(() => y.value = "", 1e3))) : e.validation === "valid" || (ne = $.value) != null && ne.validity.valid && e.required ? (h.value = l.value, Y() && (y.value = e.validMessage ?? Z, H(() => y.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = r.value : h.value = i.value;
1344
+ n.value = b.target.value, e.onInput && e.onInput(b), e.input && e.input(b);
1345
+ }
1346
+ function s(b) {
1347
+ var C, F, te;
1348
+ e.onChange && e.onChange(b), e.change && e.change(b), ae(o, b), !((C = D.value) != null && C.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" || (te = D.value) != null && te.validity.valid && e.required ? (h.value = l.value, Y() && ($.value = e.validMessage ?? Z, H(() => $.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = v.value : h.value = d.value;
1346
1349
  }
1347
- function k(b) {
1350
+ function y(b) {
1348
1351
  e.onBlur && e.onBlur(b), e.blur && e.blur(b);
1349
1352
  }
1350
- function u(b) {
1353
+ function r(b) {
1351
1354
  e.onFocus && e.onFocus(b), e.focus && e.focus(b);
1352
1355
  }
1353
1356
  function T(b) {
1354
1357
  return b.label ?? b.value.toString();
1355
1358
  }
1356
- return (b, S) => (m(), g("div", {
1357
- class: N(v(A)("db-select", e.class)),
1359
+ return (b, C) => (m(), g("div", {
1360
+ class: E(f(N)("db-select", e.class)),
1358
1361
  "data-variant": b.variant,
1359
- "data-hide-label": v(P)(b.showLabel),
1362
+ "data-hide-label": f(P)(b.showLabel),
1360
1363
  "data-icon": b.icon,
1361
- "data-hide-icon": v(P)(b.showIcon)
1364
+ "data-hide-icon": f(P)(b.showIcon)
1362
1365
  }, [
1363
- _("label", { for: a.value }, w(b.label ?? v(le)), 9, Ia),
1364
- _("select", {
1366
+ I("label", { for: a.value }, k(b.label ?? f(le)), 9, wa),
1367
+ I("select", {
1365
1368
  "aria-invalid": b.validation === "invalid",
1366
1369
  "data-custom-validity": b.validation,
1367
1370
  ref_key: "_ref",
1368
- ref: $,
1371
+ ref: D,
1369
1372
  required: b.required,
1370
1373
  disabled: b.disabled,
1371
1374
  id: a.value,
1372
1375
  name: b.name,
1373
1376
  size: b.size,
1374
- value: b.value ?? s.value,
1377
+ value: b.value ?? n.value,
1375
1378
  autocomplete: b.autocomplete,
1376
- onInput: S[0] || (S[0] = async (F) => f(F)),
1377
- onClick: S[1] || (S[1] = async (F) => U(F)),
1378
- onChange: S[2] || (S[2] = async (F) => c(F)),
1379
- onBlur: S[3] || (S[3] = async (F) => k(F)),
1380
- onFocus: S[4] || (S[4] = async (F) => u(F)),
1379
+ onInput: C[0] || (C[0] = async (F) => c(F)),
1380
+ onClick: C[1] || (C[1] = async (F) => _(F)),
1381
+ onChange: C[2] || (C[2] = async (F) => s(F)),
1382
+ onBlur: C[3] || (C[3] = async (F) => y(F)),
1383
+ onFocus: C[4] || (C[4] = async (F) => r(F)),
1381
1384
  "aria-describedby": h.value
1382
1385
  }, [
1383
- S[5] || (S[5] = _("option", { hidden: !0 }, null, -1)),
1384
- b.options ? (m(!0), g(C, { key: 0 }, te(b.options, (F, ne) => (m(), g(C, { key: ne }, [
1386
+ C[5] || (C[5] = I("option", { hidden: !0 }, null, -1)),
1387
+ b.options ? (m(!0), g(S, { key: 0 }, ie(b.options, (F, te) => (m(), g(S, { key: te }, [
1385
1388
  F.options ? (m(), g("optgroup", {
1386
1389
  key: 0,
1387
1390
  label: T(F)
1388
1391
  }, [
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
- }, w(T(ie)), 9, La))), 128))
1395
- ], 8, $a)) : D("", !0),
1396
- F.options ? D("", !0) : (m(), g("option", {
1392
+ (m(!0), g(S, null, ie(F.options, (de, lt) => (m(), g("option", {
1393
+ key: de.value.toString(),
1394
+ value: de.value,
1395
+ selected: de.selected,
1396
+ disabled: de.disabled
1397
+ }, k(T(de)), 9, $a))), 128))
1398
+ ], 8, _a)) : M("", !0),
1399
+ F.options ? M("", !0) : (m(), g("option", {
1397
1400
  key: 1,
1398
1401
  value: F.value,
1399
1402
  disabled: F.disabled,
1400
1403
  selected: F.selected
1401
- }, w(T(F)), 9, Ea))
1402
- ], 64))), 128)) : D("", !0),
1403
- I(b.$slots, "default")
1404
- ], 40, _a),
1405
- _("span", { id: i.value }, w(b.placeholder ?? b.label), 9, Na),
1406
- v(q)(b.message, b.showMessage) ? (m(), X(W, {
1404
+ }, k(T(F)), 9, La))
1405
+ ], 64))), 128)) : M("", !0),
1406
+ w(b.$slots, "default")
1407
+ ], 40, Ia),
1408
+ I("span", { id: d.value }, k(b.placeholder ?? b.label), 9, Ea),
1409
+ f(q)(b.message, b.showMessage) ? (m(), X(W, {
1407
1410
  key: 0,
1408
1411
  size: "small",
1409
1412
  icon: b.messageIcon,
1410
- id: r.value
1413
+ id: v.value
1411
1414
  }, {
1412
- default: z(() => [
1413
- L(w(b.message), 1)
1415
+ default: R(() => [
1416
+ L(k(b.message), 1)
1414
1417
  ]),
1415
1418
  _: 1
1416
- }, 8, ["icon", "id"])) : D("", !0),
1419
+ }, 8, ["icon", "id"])) : M("", !0),
1417
1420
  O(W, {
1418
1421
  size: "small",
1419
1422
  semantic: "successful",
1420
1423
  id: l.value
1421
1424
  }, {
1422
- default: z(() => [
1423
- L(w(b.validMessage ?? v(Z)), 1)
1425
+ default: R(() => [
1426
+ L(k(b.validMessage ?? f(Z)), 1)
1424
1427
  ]),
1425
1428
  _: 1
1426
1429
  }, 8, ["id"]),
@@ -1429,18 +1432,18 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1429
1432
  semantic: "critical",
1430
1433
  id: p.value
1431
1434
  }, {
1432
- default: z(() => {
1435
+ default: R(() => {
1433
1436
  var F;
1434
1437
  return [
1435
- L(w(b.invalidMessage ?? ((F = $.value) == null ? void 0 : F.validationMessage) ?? v(x)), 1)
1438
+ L(k(b.invalidMessage ?? ((F = D.value) == null ? void 0 : F.validationMessage) ?? f(x)), 1)
1436
1439
  ];
1437
1440
  }),
1438
1441
  _: 1
1439
1442
  }, 8, ["id"]),
1440
- _("span", Aa, w(y.value), 1)
1441
- ], 10, wa));
1443
+ I("span", Na, k($.value), 1)
1444
+ ], 10, ka));
1442
1445
  }
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({
1446
+ }), Aa = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for"], Fa = ["id", "aria-checked", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-after"], Ct = /* @__PURE__ */ A({
1444
1447
  __name: "switch",
1445
1448
  props: {
1446
1449
  visualAid: { type: Boolean, default: void 0 },
@@ -1471,65 +1474,65 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1471
1474
  iconAfter: { default: void 0 }
1472
1475
  },
1473
1476
  emits: ["update:checked"],
1474
- setup(t, { emit: n }) {
1475
- const d = n, e = t, a = o(void 0), r = o(!1), l = o(null);
1476
- R(() => {
1477
+ setup(i, { emit: t }) {
1478
+ const o = t, e = i, a = u(void 0), v = u(!1), l = u(null);
1479
+ U(() => {
1477
1480
  a.value = e.id ?? `switch-${G()}`;
1478
- }), M(
1481
+ }), z(
1479
1482
  () => [e.checked],
1480
1483
  () => {
1481
- e.checked !== void 0 && e.checked !== null && (r.value = !!e.checked);
1484
+ e.checked !== void 0 && e.checked !== null && (v.value = !!e.checked);
1482
1485
  },
1483
1486
  {
1484
1487
  immediate: !0,
1485
1488
  flush: "post"
1486
1489
  }
1487
1490
  );
1488
- function p(s) {
1491
+ function p(n) {
1489
1492
  var B;
1490
- e.onChange && e.onChange(s), e.change && e.change(s), r.value = (B = s.target) == null ? void 0 : B.checked, ae(d, s, "checked");
1493
+ e.onChange && e.onChange(n), e.change && e.change(n), v.value = (B = n.target) == null ? void 0 : B.checked, ae(o, n, "checked");
1491
1494
  }
1492
- function i(s) {
1493
- e.onBlur && e.onBlur(s), e.blur && e.blur(s);
1495
+ function d(n) {
1496
+ e.onBlur && e.onBlur(n), e.blur && e.blur(n);
1494
1497
  }
1495
- function h(s) {
1496
- e.onFocus && e.onFocus(s), e.focus && e.focus(s);
1498
+ function h(n) {
1499
+ e.onFocus && e.onFocus(n), e.focus && e.focus(n);
1497
1500
  }
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,
1501
+ return (n, B) => (m(), g("label", {
1502
+ "data-visual-aid": f(V)(n.visualAid),
1503
+ "data-size": n.size,
1504
+ "data-hide-label": f(P)(n.showLabel),
1505
+ "data-emphasis": n.emphasis,
1503
1506
  for: a.value,
1504
- class: N(v(A)("db-switch", e.class))
1507
+ class: E(f(N)("db-switch", e.class))
1505
1508
  }, [
1506
- _("input", {
1509
+ I("input", {
1507
1510
  type: "checkbox",
1508
1511
  role: "switch",
1509
1512
  id: a.value,
1510
- "aria-checked": v(V)(r.value),
1513
+ "aria-checked": f(V)(v.value),
1511
1514
  ref_key: "_ref",
1512
1515
  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 (y) => p(y)),
1524
- onBlur: B[1] || (B[1] = async (y) => i(y)),
1525
- onFocus: B[2] || (B[2] = async (y) => h(y))
1526
- }, null, 40, Ta),
1527
- s.label ? (m(), g(C, { key: 0 }, [
1528
- L(w(s.label), 1)
1529
- ], 64)) : I(s.$slots, "default", { key: 1 })
1530
- ], 10, Fa));
1516
+ checked: n.checked,
1517
+ value: n.value,
1518
+ disabled: n.disabled,
1519
+ "aria-describedby": n.describedbyid,
1520
+ "aria-invalid": n.validation === "invalid",
1521
+ "data-custom-validity": n.validation,
1522
+ name: n.name,
1523
+ required: n.required,
1524
+ "data-aid-icon": n.icon,
1525
+ "data-aid-icon-after": n.iconAfter,
1526
+ onChange: B[0] || (B[0] = async ($) => p($)),
1527
+ onBlur: B[1] || (B[1] = async ($) => d($)),
1528
+ onFocus: B[2] || (B[2] = async ($) => h($))
1529
+ }, null, 40, Fa),
1530
+ n.label ? (m(), g(S, { key: 0 }, [
1531
+ L(k(n.label), 1)
1532
+ ], 64)) : w(n.$slots, "default", { key: 1 })
1533
+ ], 10, Aa));
1531
1534
  }
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({
1535
+ }), Ta = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Ca = ["disabled", "aria-selected", "aria-controls", "checked", "id"], Sa = /* @__PURE__ */ A({
1533
1536
  __name: "tab-item",
1534
1537
  props: {
1535
1538
  children: { default: void 0 },
@@ -1551,11 +1554,11 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1551
1554
  showIcon: { type: Boolean, default: void 0 }
1552
1555
  },
1553
1556
  emits: ["update:checked"],
1554
- setup(t, { emit: n }) {
1555
- const d = n, e = t, a = o(!1), r = o(!1), l = o(null);
1556
- R(() => {
1557
+ setup(i, { emit: t }) {
1558
+ const o = t, e = i, a = u(!1), v = u(!1), l = u(null);
1559
+ U(() => {
1557
1560
  a.value = !0;
1558
- }), M(
1561
+ }), z(
1559
1562
  () => [l.value, a.value],
1560
1563
  () => {
1561
1564
  e.active && a.value && l.value && (l.value.click(), a.value = !1);
@@ -1565,42 +1568,42 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1565
1568
  flush: "post"
1566
1569
  }
1567
1570
  );
1568
- function p(i) {
1571
+ function p(d) {
1569
1572
  var h;
1570
- e.onChange && e.onChange(i), e.change && e.change(i), r.value = (h = i.target) == null ? void 0 : h.checked, ae(d, i, "checked");
1573
+ e.onChange && e.onChange(d), e.change && e.change(d), v.value = (h = d.target) == null ? void 0 : h.checked, ae(o, d, "checked");
1571
1574
  }
1572
- return (i, h) => (m(), g("li", {
1575
+ return (d, h) => (m(), g("li", {
1573
1576
  role: "none",
1574
- class: N(v(A)("db-tab-item", e.class))
1577
+ class: E(f(N)("db-tab-item", e.class))
1575
1578
  }, [
1576
- _("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
1579
+ I("label", {
1580
+ for: d.id,
1581
+ "data-icon": d.icon,
1582
+ "data-icon-after": d.iconAfter,
1583
+ "data-hide-icon": f(P)(d.showIcon),
1584
+ "data-hide-icon-after": f(P)(d.showIcon),
1585
+ "data-no-text": d.noText
1583
1586
  }, [
1584
- _("input", {
1587
+ I("input", {
1585
1588
  type: "radio",
1586
1589
  role: "tab",
1587
- disabled: i.disabled,
1588
- "aria-selected": r.value,
1589
- "aria-controls": i.controls,
1590
- checked: i.checked,
1590
+ disabled: d.disabled,
1591
+ "aria-selected": v.value,
1592
+ "aria-controls": d.controls,
1593
+ checked: d.checked,
1591
1594
  ref_key: "_ref",
1592
1595
  ref: l,
1593
- id: i.id,
1594
- onInput: h[0] || (h[0] = async (s) => p(s))
1596
+ id: d.id,
1597
+ onInput: h[0] || (h[0] = async (n) => p(n))
1595
1598
  }, null, 40, Ca),
1596
- i.label ? (m(), g(C, { key: 0 }, [
1597
- L(w(i.label), 1)
1598
- ], 64)) : D("", !0),
1599
- I(i.$slots, "default")
1600
- ], 8, Sa)
1599
+ d.label ? (m(), g(S, { key: 0 }, [
1600
+ L(k(d.label), 1)
1601
+ ], 64)) : M("", !0),
1602
+ w(d.$slots, "default")
1603
+ ], 8, Ta)
1601
1604
  ], 2));
1602
1605
  }
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({
1606
+ }), Da = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], Ma = ["title"], St = /* @__PURE__ */ A({
1604
1607
  __name: "tag",
1605
1608
  props: {
1606
1609
  behavior: { default: void 0 },
@@ -1624,18 +1627,18 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1624
1627
  showIcon: { type: Boolean, default: void 0 },
1625
1628
  content: {}
1626
1629
  },
1627
- setup(t) {
1628
- const n = t, d = o(!1), e = o(null);
1629
- d.value = !0, M(
1630
- () => [d.value, n.disabled, e.value],
1630
+ setup(i) {
1631
+ const t = i, o = u(!1), e = u(null);
1632
+ o.value = !0, z(
1633
+ () => [o.value, t.disabled, e.value],
1631
1634
  () => {
1632
1635
  var l, p;
1633
- if (d.value && e.value && n.disabled !== void 0) {
1634
- const i = (l = e.value) == null ? void 0 : l.querySelector(
1636
+ if (o.value && e.value && t.disabled !== void 0) {
1637
+ const d = (l = e.value) == null ? void 0 : l.querySelector(
1635
1638
  "button:not(.db-tab-remove-button)"
1636
1639
  ), h = (p = e.value) == null ? void 0 : p.querySelector("input");
1637
- for (const s of [i, h])
1638
- s && (s.disabled = n.disabled);
1640
+ for (const n of [d, h])
1641
+ n && (n.disabled = t.disabled);
1639
1642
  }
1640
1643
  },
1641
1644
  {
@@ -1644,30 +1647,30 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1644
1647
  }
1645
1648
  );
1646
1649
  function a() {
1647
- n.onRemove && n.onRemove();
1650
+ t.onRemove && t.onRemove();
1648
1651
  }
1649
- function r() {
1650
- return n.removeButton ? n.removeButton : "Remove tag";
1652
+ function v() {
1653
+ return t.removeButton ? t.removeButton : "Remove tag";
1651
1654
  }
1652
1655
  return (l, p) => (m(), g("div", {
1653
1656
  ref_key: "_ref",
1654
1657
  ref: e,
1655
1658
  id: l.id,
1656
- class: N(v(A)("db-tag", n.class)),
1657
- "data-disabled": v(V)(l.disabled),
1659
+ class: E(f(N)("db-tag", t.class)),
1660
+ "data-disabled": f(V)(l.disabled),
1658
1661
  "data-semantic": l.semantic,
1659
1662
  "data-emphasis": l.emphasis,
1660
1663
  "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)
1664
+ "data-show-check-state": f(V)(l.showCheckState ?? !0),
1665
+ "data-hide-icon": f(P)(l.showIcon),
1666
+ "data-no-text": f(V)(l.noText),
1667
+ "data-overflow": f(V)(l.overflow)
1665
1668
  }, [
1666
- I(l.$slots, "content"),
1667
- I(l.$slots, "default"),
1668
- l.text ? (m(), g(C, { key: 0 }, [
1669
- L(w(l.text), 1)
1670
- ], 64)) : D("", !0),
1669
+ w(l.$slots, "content"),
1670
+ w(l.$slots, "default"),
1671
+ l.text ? (m(), g(S, { key: 0 }, [
1672
+ L(k(l.text), 1)
1673
+ ], 64)) : M("", !0),
1671
1674
  l.behavior === "removable" ? (m(), g("button", {
1672
1675
  key: 1,
1673
1676
  class: "db-button db-tab-remove-button",
@@ -1675,15 +1678,15 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1675
1678
  "data-size": "small",
1676
1679
  "data-no-text": "true",
1677
1680
  "data-variant": "ghost",
1678
- onClick: p[0] || (p[0] = async (i) => a()),
1679
- title: r()
1680
- }, w(r()), 9, za)) : D("", !0)
1681
- ], 10, Ma));
1681
+ onClick: p[0] || (p[0] = async (d) => a()),
1682
+ title: v()
1683
+ }, k(v()), 9, Ma)) : M("", !0)
1684
+ ], 10, Da));
1682
1685
  }
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 = {
1686
+ }), za = ["data-variant", "data-hide-label"], Ra = ["for"], Ua = ["aria-invalid", "data-custom-validity", "id", "data-resize", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Pa = {
1684
1687
  "data-visually-hidden": "true",
1685
1688
  role: "status"
1686
- }, zn = /* @__PURE__ */ E({
1689
+ }, Dt = /* @__PURE__ */ A({
1687
1690
  __name: "textarea",
1688
1691
  props: {
1689
1692
  cols: { default: void 0 },
@@ -1726,24 +1729,24 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1726
1729
  showMessage: { type: Boolean, default: void 0 }
1727
1730
  },
1728
1731
  emits: ["update:value"],
1729
- setup(t, { emit: n }) {
1730
- const d = n, e = t, a = o(void 0), r = o(void 0), l = o(void 0), p = o(void 0), i = o(""), h = o(""), s = o(""), B = o(null);
1731
- R(() => {
1732
- const c = e.id ?? `textarea-${G()}`;
1733
- a.value = c, r.value = c + K, l.value = c + J, p.value = c + Q;
1734
- }), M(
1732
+ setup(i, { emit: t }) {
1733
+ const o = t, e = i, a = u(void 0), v = u(void 0), l = u(void 0), p = u(void 0), d = u(""), h = u(""), n = u(""), B = u(null);
1734
+ U(() => {
1735
+ const s = e.id ?? `textarea-${G()}`;
1736
+ a.value = s, v.value = s + K, l.value = s + J, p.value = s + Q;
1737
+ }), z(
1735
1738
  () => [a.value],
1736
1739
  () => {
1737
1740
  if (a.value) {
1738
- const c = a.value + K;
1739
- r.value = c, l.value = a.value + J, p.value = a.value + Q, q(e.message, e.showMessage) && (i.value = c);
1741
+ const s = a.value + K;
1742
+ v.value = s, l.value = a.value + J, p.value = a.value + Q, q(e.message, e.showMessage) && (d.value = s);
1740
1743
  }
1741
1744
  },
1742
1745
  {
1743
1746
  immediate: !0,
1744
1747
  flush: "post"
1745
1748
  }
1746
- ), M(
1749
+ ), z(
1747
1750
  () => [e.value],
1748
1751
  () => {
1749
1752
  h.value = e.value;
@@ -1753,70 +1756,70 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1753
1756
  flush: "post"
1754
1757
  }
1755
1758
  );
1756
- function y(c) {
1757
- h.value = c.target.value, e.onInput && e.onInput(c), e.input && e.input(c);
1759
+ function $(s) {
1760
+ h.value = s.target.value, e.onInput && e.onInput(s), e.input && e.input(s);
1758
1761
  }
1759
- function $(c) {
1760
- var k, u, T;
1761
- e.onChange && e.onChange(c), e.change && e.change(c), ae(d, c), !((k = B.value) != null && k.validity.valid) || e.validation === "invalid" ? (i.value = p.value, Y() && (s.value = e.invalidMessage ?? ((u = B.value) == null ? void 0 : u.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 = r.value : i.value = "";
1762
+ function D(s) {
1763
+ var y, r, T;
1764
+ e.onChange && e.onChange(s), e.change && e.change(s), ae(o, s), !((y = B.value) != null && y.validity.valid) || e.validation === "invalid" ? (d.value = p.value, Y() && (n.value = e.invalidMessage ?? ((r = B.value) == null ? void 0 : r.validationMessage) ?? x, H(() => n.value = "", 1e3))) : e.validation === "valid" || (T = B.value) != null && T.validity.valid && (e.required || e.minLength || e.maxLength) ? (d.value = l.value, Y() && (n.value = e.validMessage ?? Z, H(() => n.value = "", 1e3))) : q(e.message, e.showMessage) ? d.value = v.value : d.value = "";
1762
1765
  }
1763
- function U(c) {
1764
- e.onBlur && e.onBlur(c), e.blur && e.blur(c);
1766
+ function _(s) {
1767
+ e.onBlur && e.onBlur(s), e.blur && e.blur(s);
1765
1768
  }
1766
- function f(c) {
1767
- e.onFocus && e.onFocus(c), e.focus && e.focus(c);
1769
+ function c(s) {
1770
+ e.onFocus && e.onFocus(s), e.focus && e.focus(s);
1768
1771
  }
1769
- return (c, k) => (m(), g("div", {
1770
- class: N(v(A)("db-textarea", e.class)),
1771
- "data-variant": c.variant,
1772
- "data-hide-label": v(P)(c.showLabel)
1772
+ return (s, y) => (m(), g("div", {
1773
+ class: E(f(N)("db-textarea", e.class)),
1774
+ "data-variant": s.variant,
1775
+ "data-hide-label": f(P)(s.showLabel)
1773
1776
  }, [
1774
- _("label", { for: a.value }, w(c.label ?? v(le)), 9, Ua),
1775
- _("textarea", {
1776
- "aria-invalid": c.validation === "invalid",
1777
- "data-custom-validity": c.validation,
1777
+ I("label", { for: a.value }, k(s.label ?? f(le)), 9, Ra),
1778
+ I("textarea", {
1779
+ "aria-invalid": s.validation === "invalid",
1780
+ "data-custom-validity": s.validation,
1778
1781
  ref_key: "_ref",
1779
1782
  ref: B,
1780
1783
  id: a.value,
1781
- "data-resize": c.resize,
1782
- disabled: c.disabled,
1783
- required: c.required,
1784
- readOnly: c.readOnly,
1785
- form: c.form,
1786
- maxLength: c.maxLength,
1787
- minLength: c.minLength,
1788
- name: c.name,
1789
- wrap: c.wrap,
1790
- spellcheck: c.spellCheck,
1791
- autocomplete: c.autocomplete,
1792
- onInput: k[0] || (k[0] = async (u) => y(u)),
1793
- onChange: k[1] || (k[1] = async (u) => $(u)),
1794
- onBlur: k[2] || (k[2] = async (u) => U(u)),
1795
- onFocus: k[3] || (k[3] = async (u) => f(u)),
1796
- value: c.value ?? h.value,
1797
- "aria-describedby": i.value,
1798
- placeholder: c.placeholder ?? v(fe),
1799
- rows: c.rows ?? v(Ee),
1800
- cols: c.cols
1801
- }, null, 40, Pa),
1802
- v(q)(c.message, c.showMessage) ? (m(), X(W, {
1784
+ "data-resize": s.resize,
1785
+ disabled: s.disabled,
1786
+ required: s.required,
1787
+ readOnly: s.readOnly,
1788
+ form: s.form,
1789
+ maxLength: s.maxLength,
1790
+ minLength: s.minLength,
1791
+ name: s.name,
1792
+ wrap: s.wrap,
1793
+ spellcheck: s.spellCheck,
1794
+ autocomplete: s.autocomplete,
1795
+ onInput: y[0] || (y[0] = async (r) => $(r)),
1796
+ onChange: y[1] || (y[1] = async (r) => D(r)),
1797
+ onBlur: y[2] || (y[2] = async (r) => _(r)),
1798
+ onFocus: y[3] || (y[3] = async (r) => c(r)),
1799
+ value: s.value ?? h.value,
1800
+ "aria-describedby": d.value,
1801
+ placeholder: s.placeholder ?? f(ce),
1802
+ rows: s.rows ?? f(Ne),
1803
+ cols: s.cols
1804
+ }, null, 40, Ua),
1805
+ f(q)(s.message, s.showMessage) ? (m(), X(W, {
1803
1806
  key: 0,
1804
1807
  size: "small",
1805
- icon: c.messageIcon,
1806
- id: r.value
1808
+ icon: s.messageIcon,
1809
+ id: v.value
1807
1810
  }, {
1808
- default: z(() => [
1809
- L(w(c.message), 1)
1811
+ default: R(() => [
1812
+ L(k(s.message), 1)
1810
1813
  ]),
1811
1814
  _: 1
1812
- }, 8, ["icon", "id"])) : D("", !0),
1815
+ }, 8, ["icon", "id"])) : M("", !0),
1813
1816
  O(W, {
1814
1817
  size: "small",
1815
1818
  semantic: "successful",
1816
1819
  id: l.value
1817
1820
  }, {
1818
- default: z(() => [
1819
- L(w(c.validMessage ?? v(Z)), 1)
1821
+ default: R(() => [
1822
+ L(k(s.validMessage ?? f(Z)), 1)
1820
1823
  ]),
1821
1824
  _: 1
1822
1825
  }, 8, ["id"]),
@@ -1825,21 +1828,21 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1825
1828
  semantic: "critical",
1826
1829
  id: p.value
1827
1830
  }, {
1828
- default: z(() => {
1829
- var u;
1831
+ default: R(() => {
1832
+ var r;
1830
1833
  return [
1831
- L(w(c.invalidMessage ?? ((u = B.value) == null ? void 0 : u.validationMessage) ?? v(x)), 1)
1834
+ L(k(s.invalidMessage ?? ((r = B.value) == null ? void 0 : r.validationMessage) ?? f(x)), 1)
1832
1835
  ];
1833
1836
  }),
1834
1837
  _: 1
1835
1838
  }, 8, ["id"]),
1836
- _("span", Va, w(s.value), 1)
1837
- ], 10, Ra));
1839
+ I("span", Pa, k(n.value), 1)
1840
+ ], 10, za));
1838
1841
  }
1839
- }), Ga = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "aria-disabled"], qa = ["aria-haspopup", "aria-expanded", "disabled"], Oa = ["id"], Wa = {
1842
+ }), Va = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "aria-disabled"], Ga = ["aria-haspopup", "aria-expanded", "disabled"], qa = ["data-auto-close", "id"], Oa = {
1840
1843
  key: 0,
1841
1844
  class: "db-mobile-navigation-back"
1842
- }, Rn = /* @__PURE__ */ E({
1845
+ }, Mt = /* @__PURE__ */ A({
1843
1846
  __name: "navigation-item",
1844
1847
  props: {
1845
1848
  active: { type: Boolean, default: void 0 },
@@ -1860,112 +1863,119 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1860
1863
  showIcon: { type: Boolean, default: void 0 },
1861
1864
  text: { default: void 0 }
1862
1865
  },
1863
- setup(t) {
1864
- const n = t, d = o(!1), e = o(!1), a = o(!0), r = o(!1), l = o(
1866
+ setup(i) {
1867
+ const t = i, o = u(!1), e = u(!1), a = u(!0), v = u(!1), l = u(!1), p = u(
1865
1868
  "sub-navigation-" + G()
1866
- ), p = o(void 0), i = o(null);
1867
- R(() => {
1868
- d.value = !0;
1869
- }), M(
1870
- () => [n.subNavigationExpanded],
1869
+ ), d = u(void 0), h = u(null);
1870
+ U(() => {
1871
+ o.value = !0;
1872
+ }), z(
1873
+ () => [t.subNavigationExpanded],
1871
1874
  () => {
1872
- n.subNavigationExpanded !== void 0 && (r.value = !!n.subNavigationExpanded);
1875
+ t.subNavigationExpanded !== void 0 && (v.value = !!t.subNavigationExpanded);
1873
1876
  },
1874
1877
  {
1875
1878
  immediate: !0,
1876
1879
  flush: "post"
1877
1880
  }
1878
- ), M(
1879
- () => [d.value],
1881
+ ), z(
1882
+ () => [o.value],
1880
1883
  () => {
1881
- B();
1884
+ D();
1882
1885
  },
1883
1886
  {
1884
1887
  immediate: !0,
1885
1888
  flush: "post"
1886
1889
  }
1887
1890
  );
1888
- function h(y) {
1889
- n.onClick && n.onClick(y), e.value && (r.value = !0);
1891
+ function n(_) {
1892
+ be(_) && (l.value = !0, H(() => {
1893
+ l.value = !1;
1894
+ }, 300));
1890
1895
  }
1891
- function s(y) {
1892
- y.stopPropagation(), r.value = !1;
1896
+ function B(_) {
1897
+ t.onClick && t.onClick(_), e.value && (v.value = !0);
1893
1898
  }
1894
- function B() {
1895
- var y;
1896
- if (d.value && document && l.value) {
1897
- const $ = document == null ? void 0 : document.getElementById(
1898
- l.value
1899
+ function $(_) {
1900
+ _.stopPropagation(), v.value = !1;
1901
+ }
1902
+ function D() {
1903
+ var _;
1904
+ if (o.value && document && p.value) {
1905
+ const c = document == null ? void 0 : document.getElementById(
1906
+ p.value
1899
1907
  );
1900
- $ && (((y = $.children) == null ? void 0 : y.length) > 0 ? (e.value = !0, p.value || (p.value = new Ke(
1901
- i.value,
1902
- $
1908
+ c && (((_ = c.children) == null ? void 0 : _.length) > 0 ? (e.value = !0, d.value || (d.value = new Ke(
1909
+ h.value,
1910
+ c
1903
1911
  ))) : a.value = !1);
1904
1912
  }
1905
1913
  }
1906
- return (y, $) => (m(), g("li", {
1914
+ return (_, c) => (m(), g("li", {
1907
1915
  ref_key: "_ref",
1908
- ref: i,
1909
- id: y.id,
1910
- onMouseover: $[1] || ($[1] = async (U) => {
1911
- var f;
1912
- return (f = p.value) == null ? void 0 : f.enableFollow();
1916
+ ref: h,
1917
+ id: _.id,
1918
+ onMouseover: c[2] || (c[2] = async (s) => {
1919
+ var y;
1920
+ return (y = d.value) == null ? void 0 : y.enableFollow();
1913
1921
  }),
1914
- onMouseleave: $[2] || ($[2] = async (U) => {
1915
- var f;
1916
- return (f = p.value) == null ? void 0 : f.disableFollow();
1922
+ onMouseleave: c[3] || (c[3] = async (s) => {
1923
+ var y;
1924
+ return (y = d.value) == null ? void 0 : y.disableFollow();
1917
1925
  }),
1918
- onMousemove: $[3] || ($[3] = async (U) => {
1919
- var f;
1920
- return (f = p.value) == null ? void 0 : f.followByMouseEvent(U);
1926
+ onMousemove: c[4] || (c[4] = async (s) => {
1927
+ var y;
1928
+ return (y = d.value) == null ? void 0 : y.followByMouseEvent(s);
1921
1929
  }),
1922
- class: N(v(A)("db-navigation-item", n.class)),
1923
- "data-width": y.width,
1924
- "data-icon": y.icon,
1925
- "data-hide-icon": v(P)(y.showIcon),
1926
- "data-active": y.active,
1927
- "aria-disabled": v(V)(y.disabled)
1930
+ class: E(f(N)("db-navigation-item", t.class)),
1931
+ "data-width": _.width,
1932
+ "data-icon": _.icon,
1933
+ "data-hide-icon": f(P)(_.showIcon),
1934
+ "data-active": _.active,
1935
+ "aria-disabled": f(V)(_.disabled)
1928
1936
  }, [
1929
- a.value ? D("", !0) : (m(), g(C, { key: 0 }, [
1930
- y.text ? (m(), g(C, { key: 0 }, [
1931
- L(w(y.text), 1)
1932
- ], 64)) : I(y.$slots, "default", { key: 1 })
1937
+ a.value ? M("", !0) : (m(), g(S, { key: 0 }, [
1938
+ _.text ? (m(), g(S, { key: 0 }, [
1939
+ L(k(_.text), 1)
1940
+ ], 64)) : w(_.$slots, "default", { key: 1 })
1933
1941
  ], 64)),
1934
- a.value ? (m(), g(C, { key: 1 }, [
1935
- _("button", {
1942
+ a.value ? (m(), g(S, { key: 1 }, [
1943
+ I("button", {
1936
1944
  class: "db-navigation-item-expand-button",
1937
1945
  "aria-haspopup": e.value,
1938
- "aria-expanded": r.value,
1939
- disabled: y.disabled,
1940
- onClick: $[0] || ($[0] = async (U) => h(U))
1946
+ "aria-expanded": v.value,
1947
+ disabled: _.disabled,
1948
+ onClick: c[0] || (c[0] = async (s) => B(s))
1941
1949
  }, [
1942
- y.text ? (m(), g(C, { key: 0 }, [
1943
- L(w(y.text), 1)
1944
- ], 64)) : I(y.$slots, "default", { key: 1 })
1945
- ], 8, qa),
1946
- _("menu", {
1950
+ _.text ? (m(), g(S, { key: 0 }, [
1951
+ L(k(_.text), 1)
1952
+ ], 64)) : w(_.$slots, "default", { key: 1 })
1953
+ ], 8, Ga),
1954
+ I("menu", {
1947
1955
  class: "db-sub-navigation",
1948
- id: l.value
1956
+ "data-auto-close": l.value,
1957
+ id: p.value,
1958
+ onClick: c[1] || (c[1] = async (s) => n(s))
1949
1959
  }, [
1950
- e.value ? (m(), g("div", Wa, [
1951
- O(de, {
1960
+ e.value ? (m(), g("div", Oa, [
1961
+ O(oe, {
1952
1962
  icon: "arrow_left",
1953
1963
  variant: "ghost",
1954
- id: y.backButtonId,
1955
- onClick: (U) => s(U)
1964
+ id: _.backButtonId,
1965
+ onClick: (s) => $(s)
1956
1966
  }, {
1957
- default: z(() => [
1958
- L(w(y.backButtonText ?? v(_e)), 1)
1967
+ default: R(() => [
1968
+ L(k(_.backButtonText ?? f($e)), 1)
1959
1969
  ]),
1960
1970
  _: 1
1961
1971
  }, 8, ["id", "onClick"])
1962
- ])) : D("", !0),
1963
- I(y.$slots, "sub-navigation")
1964
- ], 8, Oa)
1965
- ], 64)) : D("", !0)
1966
- ], 42, Ga));
1972
+ ])) : M("", !0),
1973
+ w(_.$slots, "sub-navigation")
1974
+ ], 8, qa)
1975
+ ], 64)) : M("", !0)
1976
+ ], 42, Va));
1967
1977
  }
1968
- }), Xa = ["id"], Ha = ["aria-disabled", "open"], ja = /* @__PURE__ */ E({
1978
+ }), Wa = ["id"], Xa = ["aria-disabled", "open"], Ha = /* @__PURE__ */ A({
1969
1979
  __name: "accordion-item",
1970
1980
  props: {
1971
1981
  defaultOpen: { type: Boolean, default: void 0 },
@@ -1981,43 +1991,43 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1981
1991
  autofocus: { type: Boolean },
1982
1992
  onToggle: { type: Function, default: void 0 }
1983
1993
  },
1984
- setup(t) {
1985
- const n = t, d = o(ee), e = o(!1), a = o(null);
1986
- R(() => {
1987
- d.value = n.id || "accordion-item-" + G(), n.defaultOpen && (e.value = n.defaultOpen);
1994
+ setup(i) {
1995
+ const t = i, o = u(ee), e = u(!1), a = u(null);
1996
+ U(() => {
1997
+ o.value = t.id || "accordion-item-" + G(), t.defaultOpen && (e.value = t.defaultOpen);
1988
1998
  });
1989
- function r(l) {
1999
+ function v(l) {
1990
2000
  l == null || l.preventDefault();
1991
2001
  const p = !e.value;
1992
- n.onToggle && n.onToggle(p), e.value = p;
2002
+ t.onToggle && t.onToggle(p), e.value = p;
1993
2003
  }
1994
2004
  return (l, p) => (m(), g("li", {
1995
- id: d.value,
1996
- class: N(v(A)("db-accordion-item", n.class))
2005
+ id: o.value,
2006
+ class: E(f(N)("db-accordion-item", t.class))
1997
2007
  }, [
1998
- _("details", {
1999
- "aria-disabled": v(V)(l.disabled),
2008
+ I("details", {
2009
+ "aria-disabled": f(V)(l.disabled),
2000
2010
  ref_key: "_ref",
2001
2011
  ref: a,
2002
2012
  open: e.value
2003
2013
  }, [
2004
- _("summary", {
2005
- onClick: p[0] || (p[0] = async (i) => r(i))
2014
+ I("summary", {
2015
+ onClick: p[0] || (p[0] = async (d) => v(d))
2006
2016
  }, [
2007
- l.headlinePlain ? (m(), g(C, { key: 0 }, [
2008
- L(w(l.headlinePlain), 1)
2009
- ], 64)) : D("", !0),
2010
- l.headlinePlain ? D("", !0) : I(l.$slots, "headline", { key: 1 })
2017
+ l.headlinePlain ? (m(), g(S, { key: 0 }, [
2018
+ L(k(l.headlinePlain), 1)
2019
+ ], 64)) : M("", !0),
2020
+ l.headlinePlain ? M("", !0) : w(l.$slots, "headline", { key: 1 })
2011
2021
  ]),
2012
- _("div", null, [
2013
- l.text ? (m(), g(C, { key: 0 }, [
2014
- L(w(l.text), 1)
2015
- ], 64)) : I(l.$slots, "default", { key: 1 })
2022
+ I("div", null, [
2023
+ l.text ? (m(), g(S, { key: 0 }, [
2024
+ L(k(l.text), 1)
2025
+ ], 64)) : w(l.$slots, "default", { key: 1 })
2016
2026
  ])
2017
- ], 8, Ha)
2018
- ], 10, Xa));
2027
+ ], 8, Xa)
2028
+ ], 10, Wa));
2019
2029
  }
2020
- }), Ya = ["id", "data-variant"], Un = /* @__PURE__ */ E({
2030
+ }), ja = ["id", "data-variant"], zt = /* @__PURE__ */ A({
2021
2031
  __name: "accordion",
2022
2032
  props: {
2023
2033
  behavior: { default: void 0 },
@@ -2033,26 +2043,26 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2033
2043
  id: { default: void 0 },
2034
2044
  autofocus: { type: Boolean }
2035
2045
  },
2036
- setup(t) {
2037
- const n = t, d = o(ee), e = o(""), a = o(!1), r = o(!1), l = o(null);
2038
- R(() => {
2039
- d.value = n.id || "accordion-" + G(), a.value = !0, r.value = !0;
2040
- }), M(
2041
- () => [a.value, n.name, n.behavior, d.value],
2046
+ setup(i) {
2047
+ const t = i, o = u(ee), e = u(""), a = u(!1), v = u(!1), l = u(null);
2048
+ U(() => {
2049
+ o.value = t.id || "accordion-" + G(), a.value = !0, v.value = !0;
2050
+ }), z(
2051
+ () => [a.value, t.name, t.behavior, o.value],
2042
2052
  () => {
2043
- 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 = "");
2053
+ a.value && (t.behavior === "single" ? t.name ? e.value !== t.name && (e.value = t.name) : e.value !== o.value && o.value && (e.value = o.value) : e.value = "");
2044
2054
  },
2045
2055
  {
2046
2056
  immediate: !0,
2047
2057
  flush: "post"
2048
2058
  }
2049
- ), M(
2059
+ ), z(
2050
2060
  () => [l.value, e.value],
2051
2061
  () => {
2052
2062
  if (l.value) {
2053
- const i = l.value.getElementsByTagName("details");
2054
- if (i)
2055
- for (const h of Array.from(i))
2063
+ const d = l.value.getElementsByTagName("details");
2064
+ if (d)
2065
+ for (const h of Array.from(d))
2056
2066
  e.value === "" ? h.removeAttribute("name") : h.name = e.value;
2057
2067
  }
2058
2068
  },
@@ -2060,23 +2070,23 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2060
2070
  immediate: !0,
2061
2071
  flush: "post"
2062
2072
  }
2063
- ), M(
2064
- () => [l.value, r.value, n.initOpenIndex],
2073
+ ), z(
2074
+ () => [l.value, v.value, t.initOpenIndex],
2065
2075
  () => {
2066
- var i;
2067
- if (l.value && r.value) {
2068
- if (n.initOpenIndex && ((i = n.initOpenIndex) == null ? void 0 : i.length) > 0) {
2076
+ var d;
2077
+ if (l.value && v.value) {
2078
+ if (t.initOpenIndex && ((d = t.initOpenIndex) == null ? void 0 : d.length) > 0) {
2069
2079
  const h = l.value.getElementsByTagName("details");
2070
2080
  if (h) {
2071
- const s = n.behavior === "single" && n.initOpenIndex.length > 1 ? [n.initOpenIndex[0]] : n.initOpenIndex;
2081
+ const n = t.behavior === "single" && t.initOpenIndex.length > 1 ? [t.initOpenIndex[0]] : t.initOpenIndex;
2072
2082
  Array.from(h).forEach(
2073
- (B, y) => {
2074
- s.includes(y) && (B.open = !0);
2083
+ (B, $) => {
2084
+ n.includes($) && (B.open = !0);
2075
2085
  }
2076
2086
  );
2077
2087
  }
2078
2088
  }
2079
- r.value = !1;
2089
+ v.value = !1;
2080
2090
  }
2081
2091
  },
2082
2092
  {
@@ -2084,31 +2094,31 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2084
2094
  flush: "post"
2085
2095
  }
2086
2096
  );
2087
- function p(i) {
2097
+ function p(d) {
2088
2098
  try {
2089
- return typeof i == "string" ? JSON.parse(i) : i;
2099
+ return typeof d == "string" ? JSON.parse(d) : d;
2090
2100
  } catch (h) {
2091
2101
  console.error(h);
2092
2102
  }
2093
2103
  return [];
2094
2104
  }
2095
- return (i, h) => (m(), g("ul", {
2105
+ return (d, h) => (m(), g("ul", {
2096
2106
  ref_key: "_ref",
2097
2107
  ref: l,
2098
- id: d.value,
2099
- class: N(v(A)("db-accordion", n.class)),
2100
- "data-variant": i.variant
2108
+ id: o.value,
2109
+ class: E(f(N)("db-accordion", t.class)),
2110
+ "data-variant": d.variant
2101
2111
  }, [
2102
- i.items ? D("", !0) : I(i.$slots, "default", { key: 0 }),
2103
- i.items ? (m(!0), g(C, { key: 1 }, te(p(i.items), (s, B) => (m(), X(ja, {
2112
+ d.items ? M("", !0) : w(d.$slots, "default", { key: 0 }),
2113
+ d.items ? (m(!0), g(S, { key: 1 }, ie(p(d.items), (n, B) => (m(), X(Ha, {
2104
2114
  key: `accordion-item-${B}`,
2105
- headlinePlain: s.headlinePlain,
2106
- disabled: s.disabled,
2107
- text: s.text
2108
- }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : D("", !0)
2109
- ], 10, Ya));
2115
+ headlinePlain: n.headlinePlain,
2116
+ disabled: n.disabled,
2117
+ text: n.text
2118
+ }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : M("", !0)
2119
+ ], 10, ja));
2110
2120
  }
2111
- }), Ka = ["id", "aria-labelledby"], Pn = /* @__PURE__ */ E({
2121
+ }), Ya = ["id", "aria-labelledby"], Rt = /* @__PURE__ */ A({
2112
2122
  __name: "navigation",
2113
2123
  props: {
2114
2124
  children: { default: void 0 },
@@ -2119,23 +2129,23 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2119
2129
  autofocus: { type: Boolean },
2120
2130
  labelledBy: { default: void 0 }
2121
2131
  },
2122
- setup(t) {
2123
- const n = t, d = o(ee), e = o(null);
2124
- return R(() => {
2125
- d.value = n.id || "navigation-" + G();
2126
- }), (a, r) => (m(), g("nav", {
2132
+ setup(i) {
2133
+ const t = i, o = u(ee), e = u(null);
2134
+ return U(() => {
2135
+ o.value = t.id || "navigation-" + G();
2136
+ }), (a, v) => (m(), g("nav", {
2127
2137
  ref_key: "_ref",
2128
2138
  ref: e,
2129
- id: d.value,
2139
+ id: o.value,
2130
2140
  "aria-labelledby": a.labelledBy,
2131
- class: N(v(A)("db-navigation", n.class))
2141
+ class: E(f(N)("db-navigation", t.class))
2132
2142
  }, [
2133
- _("menu", null, [
2134
- I(a.$slots, "default")
2143
+ I("menu", null, [
2144
+ w(a.$slots, "default")
2135
2145
  ])
2136
- ], 10, Ka));
2146
+ ], 10, Ya));
2137
2147
  }
2138
- }), Ja = ["id"], Qa = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Vn = /* @__PURE__ */ E({
2148
+ }), Ka = ["id"], Ja = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Ut = /* @__PURE__ */ A({
2139
2149
  __name: "popover",
2140
2150
  props: {
2141
2151
  open: { type: Boolean, default: void 0 },
@@ -2153,28 +2163,28 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2153
2163
  animation: { type: Boolean, default: void 0 },
2154
2164
  width: { default: void 0 }
2155
2165
  },
2156
- setup(t) {
2157
- const n = t, d = o(!1), e = o(!1), a = o(null);
2158
- R(() => {
2159
- d.value = !0;
2160
- }), M(
2161
- () => [a.value, d.value],
2166
+ setup(i) {
2167
+ const t = i, o = u(!1), e = u(!1), a = u(null);
2168
+ U(() => {
2169
+ o.value = !0;
2170
+ }), z(
2171
+ () => [a.value, o.value],
2162
2172
  () => {
2163
- if (a.value && d.value) {
2164
- const i = p();
2165
- i && (i.ariaHasPopup = "true"), d.value = !1;
2173
+ if (a.value && o.value) {
2174
+ const d = p();
2175
+ d && (d.ariaHasPopup = "true"), o.value = !1;
2166
2176
  }
2167
2177
  },
2168
2178
  {
2169
2179
  immediate: !0,
2170
2180
  flush: "post"
2171
2181
  }
2172
- ), M(
2182
+ ), z(
2173
2183
  () => [a.value, e.value],
2174
2184
  () => {
2175
2185
  if (a.value) {
2176
- const i = p();
2177
- i && (i.ariaExpanded = (!!e.value).toString());
2186
+ const d = p();
2187
+ d && (d.ariaExpanded = (!!e.value).toString());
2178
2188
  }
2179
2189
  },
2180
2190
  {
@@ -2182,52 +2192,52 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2182
2192
  flush: "post"
2183
2193
  }
2184
2194
  );
2185
- function r() {
2195
+ function v() {
2186
2196
  if (e.value = !0, !a.value) return;
2187
- const i = a.value.querySelector("article");
2188
- i && se(i);
2197
+ const d = a.value.querySelector("article");
2198
+ d && ne(d);
2189
2199
  }
2190
- function l(i) {
2191
- const h = i.target;
2200
+ function l(d) {
2201
+ const h = d.target;
2192
2202
  (!h.parentNode || h.parentNode.querySelector(":focus") !== h && h.parentNode.querySelector(":focus-within") !== h && h.parentNode.querySelector(":hover") !== h) && (e.value = !1);
2193
2203
  }
2194
2204
  function p() {
2195
- var i;
2205
+ var d;
2196
2206
  if (a.value) {
2197
2207
  const h = Array.from(a.value.children);
2198
2208
  if (h.length >= 2) {
2199
- const s = h[0];
2200
- return s.tagName.includes("-") ? ((i = s.children) == null ? void 0 : i.length) > 0 ? s.children[0] : null : s;
2209
+ const n = h[0];
2210
+ return n.tagName.includes("-") ? ((d = n.children) == null ? void 0 : d.length) > 0 ? n.children[0] : null : n;
2201
2211
  }
2202
2212
  }
2203
2213
  return null;
2204
2214
  }
2205
- return (i, h) => (m(), g("div", {
2215
+ return (d, h) => (m(), g("div", {
2206
2216
  ref_key: "_ref",
2207
2217
  ref: a,
2208
- id: i.id,
2209
- class: N(v(A)("db-popover", n.class)),
2210
- onFocus: h[0] || (h[0] = async (s) => r()),
2211
- onBlur: h[1] || (h[1] = async (s) => l(s)),
2212
- onMouseenter: h[2] || (h[2] = async (s) => r()),
2213
- onMouseleave: h[3] || (h[3] = async (s) => l(s))
2218
+ id: d.id,
2219
+ class: E(f(N)("db-popover", t.class)),
2220
+ onFocus: h[0] || (h[0] = async (n) => v()),
2221
+ onBlur: h[1] || (h[1] = async (n) => l(n)),
2222
+ onMouseenter: h[2] || (h[2] = async (n) => v()),
2223
+ onMouseleave: h[3] || (h[3] = async (n) => l(n))
2214
2224
  }, [
2215
- I(i.$slots, "trigger"),
2216
- _("article", {
2225
+ w(d.$slots, "trigger"),
2226
+ I("article", {
2217
2227
  class: "db-popover-content",
2218
- "data-spacing": i.spacing,
2219
- "data-gap": v(V)(i.gap),
2220
- "data-animation": v(V)(i.animation ?? !0),
2221
- "data-open": i.open,
2222
- "data-delay": i.delay,
2223
- "data-width": i.width,
2224
- "data-placement": i.placement
2228
+ "data-spacing": d.spacing,
2229
+ "data-gap": f(V)(d.gap),
2230
+ "data-animation": f(V)(d.animation ?? !0),
2231
+ "data-open": d.open,
2232
+ "data-delay": d.delay,
2233
+ "data-width": d.width,
2234
+ "data-placement": d.placement
2225
2235
  }, [
2226
- I(i.$slots, "default")
2227
- ], 8, Qa)
2228
- ], 42, Ja));
2236
+ w(d.$slots, "default")
2237
+ ], 8, Ja)
2238
+ ], 42, Ka));
2229
2239
  }
2230
- }), Za = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], Gn = /* @__PURE__ */ E({
2240
+ }), Qa = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], Pt = /* @__PURE__ */ A({
2231
2241
  __name: "tooltip",
2232
2242
  props: {
2233
2243
  showArrow: { type: Boolean, default: void 0 },
@@ -2243,18 +2253,18 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2243
2253
  animation: { type: Boolean, default: void 0 },
2244
2254
  width: { default: void 0 }
2245
2255
  },
2246
- setup(t) {
2247
- const n = t, d = o(ee), e = o(!1), a = o(null);
2248
- R(() => {
2249
- d.value = n.id || "tooltip-" + G(), e.value = !0;
2250
- }), M(
2256
+ setup(i) {
2257
+ const t = i, o = u(ee), e = u(!1), a = u(null);
2258
+ U(() => {
2259
+ o.value = t.id || "tooltip-" + G(), e.value = !0;
2260
+ }), z(
2251
2261
  () => [a.value, e.value],
2252
2262
  () => {
2253
- if (a.value && e.value && d.value) {
2263
+ if (a.value && e.value && o.value) {
2254
2264
  let p = a.value.parentElement;
2255
- p && p.localName.includes("tooltip") && (p = p.parentElement), p && (["mouseenter", "focus"].forEach((i) => {
2256
- p.addEventListener(i, () => l());
2257
- }), p.setAttribute("data-has-tooltip", "true"), p.setAttribute("aria-describedby", d.value)), e.value = !1;
2265
+ p && p.localName.includes("tooltip") && (p = p.parentElement), p && (["mouseenter", "focus"].forEach((d) => {
2266
+ p.addEventListener(d, () => l());
2267
+ }), p.setAttribute("data-has-tooltip", "true"), p.setAttribute("aria-describedby", o.value)), e.value = !1;
2258
2268
  }
2259
2269
  },
2260
2270
  {
@@ -2262,32 +2272,32 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2262
2272
  flush: "post"
2263
2273
  }
2264
2274
  );
2265
- function r(p) {
2275
+ function v(p) {
2266
2276
  p.stopPropagation();
2267
2277
  }
2268
2278
  function l() {
2269
- a.value && se(a.value);
2279
+ a.value && ne(a.value);
2270
2280
  }
2271
- return (p, i) => (m(), g("i", {
2281
+ return (p, d) => (m(), g("i", {
2272
2282
  role: "tooltip",
2273
2283
  "aria-hidden": "true",
2274
2284
  "data-gap": "true",
2275
2285
  ref_key: "_ref",
2276
2286
  ref: a,
2277
- class: N(v(A)("db-tooltip", n.class)),
2278
- id: d.value,
2287
+ class: E(f(N)("db-tooltip", t.class)),
2288
+ id: o.value,
2279
2289
  "data-emphasis": p.emphasis,
2280
- "data-animation": v(V)(p.animation ?? !0),
2290
+ "data-animation": f(V)(p.animation ?? !0),
2281
2291
  "data-delay": p.delay,
2282
2292
  "data-width": p.width,
2283
- "data-show-arrow": v(V)(p.showArrow ?? !0),
2293
+ "data-show-arrow": f(V)(p.showArrow ?? !0),
2284
2294
  "data-placement": p.placement,
2285
- onClick: i[0] || (i[0] = async (h) => r(h))
2295
+ onClick: d[0] || (d[0] = async (h) => v(h))
2286
2296
  }, [
2287
- I(p.$slots, "default")
2288
- ], 10, Za));
2297
+ w(p.$slots, "default")
2298
+ ], 10, Qa));
2289
2299
  }
2290
- }), xa = ["id"], en = { role: "tablist" }, an = /* @__PURE__ */ E({
2300
+ }), Za = ["id"], xa = { role: "tablist" }, et = /* @__PURE__ */ A({
2291
2301
  __name: "tab-list",
2292
2302
  props: {
2293
2303
  children: { default: void 0 },
@@ -2297,22 +2307,22 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2297
2307
  id: { default: void 0 },
2298
2308
  autofocus: { type: Boolean }
2299
2309
  },
2300
- setup(t) {
2301
- const n = t, d = o(ee), e = o(null);
2302
- return R(() => {
2303
- d.value = n.id || "tab-list-" + G();
2304
- }), (a, r) => (m(), g("div", {
2310
+ setup(i) {
2311
+ const t = i, o = u(ee), e = u(null);
2312
+ return U(() => {
2313
+ o.value = t.id || "tab-list-" + G();
2314
+ }), (a, v) => (m(), g("div", {
2305
2315
  ref_key: "_ref",
2306
2316
  ref: e,
2307
- id: d.value,
2308
- class: N(v(A)("db-tab-list", n.class))
2317
+ id: o.value,
2318
+ class: E(f(N)("db-tab-list", t.class))
2309
2319
  }, [
2310
- _("ul", en, [
2311
- I(a.$slots, "default")
2320
+ I("ul", xa, [
2321
+ w(a.$slots, "default")
2312
2322
  ])
2313
- ], 10, xa));
2323
+ ], 10, Za));
2314
2324
  }
2315
- }), nn = ["id", "aria-labelledby"], tn = /* @__PURE__ */ E({
2325
+ }), at = ["id", "aria-labelledby"], tt = /* @__PURE__ */ A({
2316
2326
  __name: "tab-panel",
2317
2327
  props: {
2318
2328
  content: { default: void 0 },
@@ -2324,24 +2334,24 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2324
2334
  autofocus: { type: Boolean },
2325
2335
  labelledBy: { default: void 0 }
2326
2336
  },
2327
- setup(t) {
2328
- const n = t, d = o(null);
2329
- return R(() => {
2337
+ setup(i) {
2338
+ const t = i, o = u(null);
2339
+ return U(() => {
2330
2340
  }), (e, a) => (m(), g("section", {
2331
2341
  role: "tabpanel",
2332
2342
  ref_key: "_ref",
2333
- ref: d,
2334
- class: N(v(A)("db-tab-panel", n.class)),
2343
+ ref: o,
2344
+ class: E(f(N)("db-tab-panel", t.class)),
2335
2345
  id: e.id,
2336
2346
  "aria-labelledby": e.labelledBy
2337
2347
  }, [
2338
- e.content ? (m(), g(C, { key: 0 }, [
2339
- L(w(e.content), 1)
2340
- ], 64)) : D("", !0),
2341
- I(e.$slots, "default")
2342
- ], 10, nn));
2348
+ e.content ? (m(), g(S, { key: 0 }, [
2349
+ L(k(e.content), 1)
2350
+ ], 64)) : M("", !0),
2351
+ w(e.$slots, "default")
2352
+ ], 10, at));
2343
2353
  }
2344
- }), dn = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], qn = /* @__PURE__ */ E({
2354
+ }), it = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], Vt = /* @__PURE__ */ A({
2345
2355
  __name: "tabs",
2346
2356
  props: {
2347
2357
  arrowScrollDistance: { default: void 0 },
@@ -2362,21 +2372,21 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2362
2372
  width: { default: void 0 },
2363
2373
  alignment: { default: void 0 }
2364
2374
  },
2365
- setup(t) {
2366
- const n = t, d = o("tabs-" + G()), e = o(""), a = o(!1), r = o(!1), l = o(!1), p = o(null), i = o(null);
2367
- R(() => {
2368
- d.value = n.id || d.value, e.value = `tabs-${n.name || G()}`, a.value = !0;
2369
- }), M(
2370
- () => [i.value, a.value],
2375
+ setup(i) {
2376
+ const t = i, o = u("tabs-" + G()), e = u(""), a = u(!1), v = u(!1), l = u(!1), p = u(null), d = u(null);
2377
+ U(() => {
2378
+ o.value = t.id || o.value, e.value = `tabs-${t.name || G()}`, a.value = !0;
2379
+ }), z(
2380
+ () => [d.value, a.value],
2371
2381
  () => {
2372
- if (i.value && a.value) {
2373
- y(), $(!0);
2374
- const f = i.value.querySelector(".db-tab-list");
2375
- f && new MutationObserver((k) => {
2376
- k.forEach((u) => {
2377
- (u.removedNodes.length || u.addedNodes.length) && (y(), $());
2382
+ if (d.value && a.value) {
2383
+ $(), D(!0);
2384
+ const c = d.value.querySelector(".db-tab-list");
2385
+ c && new MutationObserver((y) => {
2386
+ y.forEach((r) => {
2387
+ (r.removedNodes.length || r.addedNodes.length) && ($(), D());
2378
2388
  });
2379
- }).observe(f, {
2389
+ }).observe(c, {
2380
2390
  childList: !0,
2381
2391
  subtree: !0
2382
2392
  }), a.value = !1;
@@ -2387,151 +2397,151 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2387
2397
  flush: "post"
2388
2398
  }
2389
2399
  );
2390
- function h(f) {
2400
+ function h(c) {
2391
2401
  try {
2392
- return typeof f == "string" ? JSON.parse(f) : f;
2393
- } catch (c) {
2394
- console.error(c);
2402
+ return typeof c == "string" ? JSON.parse(c) : c;
2403
+ } catch (s) {
2404
+ console.error(s);
2395
2405
  }
2396
2406
  return [];
2397
2407
  }
2398
- function s(f) {
2399
- const c = f.scrollWidth > f.clientWidth;
2400
- r.value = c && f.scrollLeft > 1, l.value = c && f.scrollLeft < f.scrollWidth - f.clientWidth;
2408
+ function n(c) {
2409
+ const s = c.scrollWidth > c.clientWidth;
2410
+ v.value = s && c.scrollLeft > 1, l.value = s && c.scrollLeft < c.scrollWidth - c.clientWidth;
2401
2411
  }
2402
- function B(f) {
2403
- var k;
2404
- let c = n.arrowScrollDistance || 100;
2405
- f && (c *= -1), (k = p.value) == null || k.scrollBy({
2412
+ function B(c) {
2413
+ var y;
2414
+ let s = t.arrowScrollDistance || 100;
2415
+ c && (s *= -1), (y = p.value) == null || y.scrollBy({
2406
2416
  top: 0,
2407
- left: c,
2417
+ left: s,
2408
2418
  behavior: "smooth"
2409
2419
  });
2410
2420
  }
2411
- function y() {
2412
- if (i.value) {
2413
- const f = i.value.querySelector(".db-tab-list");
2414
- if (f) {
2415
- const c = f.querySelector('[role="tablist"]');
2416
- c && (c.setAttribute(
2421
+ function $() {
2422
+ if (d.value) {
2423
+ const c = d.value.querySelector(".db-tab-list");
2424
+ if (c) {
2425
+ const s = c.querySelector('[role="tablist"]');
2426
+ s && (s.setAttribute(
2417
2427
  "aria-orientation",
2418
- n.orientation || "horizontal"
2419
- ), n.behavior === "arrows" && (p.value = c, s(c), c.addEventListener("scroll", () => {
2420
- s(c);
2428
+ t.orientation || "horizontal"
2429
+ ), t.behavior === "arrows" && (p.value = s, n(s), s.addEventListener("scroll", () => {
2430
+ n(s);
2421
2431
  })));
2422
2432
  }
2423
2433
  }
2424
2434
  }
2425
- function $(f) {
2426
- if (i.value) {
2427
- const c = Array.from(
2428
- i.value.getElementsByClassName("db-tab-item")
2435
+ function D(c) {
2436
+ if (d.value) {
2437
+ const s = Array.from(
2438
+ d.value.getElementsByClassName("db-tab-item")
2429
2439
  );
2430
- for (const u of c) {
2431
- const T = c.indexOf(u), b = u.querySelector("label"), S = u.querySelector("input");
2432
- if (S && b) {
2433
- if (!S.id) {
2440
+ for (const r of s) {
2441
+ const T = s.indexOf(r), b = r.querySelector("label"), C = r.querySelector("input");
2442
+ if (C && b) {
2443
+ if (!C.id) {
2434
2444
  const F = `${e.value}-tab-${T}`;
2435
- b.setAttribute("for", F), S.setAttribute(
2445
+ b.setAttribute("for", F), C.setAttribute(
2436
2446
  "aria-controls",
2437
2447
  `${e.value}-tab-panel-${T}`
2438
- ), S.id = F, S.setAttribute("name", e.value);
2448
+ ), C.id = F, C.setAttribute("name", e.value);
2439
2449
  }
2440
- if (f) {
2441
- const F = !n.initialSelectedMode || n.initialSelectedMode === "auto", ne = n.initialSelectedIndex == null && T === 0 || n.initialSelectedIndex === T;
2442
- F && ne && S.click();
2450
+ if (c) {
2451
+ const F = !t.initialSelectedMode || t.initialSelectedMode === "auto", te = t.initialSelectedIndex == null && T === 0 || t.initialSelectedIndex === T;
2452
+ F && te && C.click();
2443
2453
  }
2444
2454
  }
2445
2455
  }
2446
- const k = Array.from(
2447
- i.value.querySelectorAll(
2456
+ const y = Array.from(
2457
+ d.value.querySelectorAll(
2448
2458
  ":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"
2449
2459
  )
2450
2460
  );
2451
- for (const u of k) {
2452
- if (u.id) continue;
2453
- const T = k.indexOf(u);
2454
- u.id = `${e.value}-tab-panel-${T}`, u.setAttribute("aria-labelledby", `${e.value}-tab-${T}`);
2461
+ for (const r of y) {
2462
+ if (r.id) continue;
2463
+ const T = y.indexOf(r);
2464
+ r.id = `${e.value}-tab-panel-${T}`, r.setAttribute("aria-labelledby", `${e.value}-tab-${T}`);
2455
2465
  }
2456
2466
  }
2457
2467
  }
2458
- function U(f) {
2459
- if (n.onIndexChange && f.target) {
2460
- const c = f.target.closest("ul"), k = (
2468
+ function _(c) {
2469
+ if (t.onIndexChange && c.target) {
2470
+ const s = c.target.closest("ul"), y = (
2461
2471
  // db-tab-item for angular and stencil wrapping elements
2462
- f.target.closest("db-tab-item") ?? f.target.closest("li")
2472
+ c.target.closest("db-tab-item") ?? c.target.closest("li")
2463
2473
  );
2464
- c !== null && k !== null && n.onIndexChange(Array.from(c.childNodes).indexOf(k));
2474
+ s !== null && y !== null && t.onIndexChange(Array.from(s.childNodes).indexOf(y));
2465
2475
  }
2466
- n.onTabSelect && n.onTabSelect(f);
2476
+ t.onTabSelect && t.onTabSelect(c);
2467
2477
  }
2468
- return (f, c) => (m(), g("div", {
2478
+ return (c, s) => (m(), g("div", {
2469
2479
  ref_key: "_ref",
2470
- ref: i,
2471
- id: d.value,
2472
- class: N(v(A)("db-tabs", n.class)),
2473
- "data-orientation": f.orientation,
2474
- "data-scroll-behavior": f.behavior,
2475
- "data-alignment": f.alignment ?? "start",
2476
- "data-width": f.width ?? "auto",
2477
- onInput: c[0] || (c[0] = async (k) => U(k))
2480
+ ref: d,
2481
+ id: o.value,
2482
+ class: E(f(N)("db-tabs", t.class)),
2483
+ "data-orientation": c.orientation,
2484
+ "data-scroll-behavior": c.behavior,
2485
+ "data-alignment": c.alignment ?? "start",
2486
+ "data-width": c.width ?? "auto",
2487
+ onInput: s[0] || (s[0] = async (y) => _(y))
2478
2488
  }, [
2479
- r.value ? (m(), X(de, {
2489
+ v.value ? (m(), X(oe, {
2480
2490
  key: 0,
2481
2491
  class: "tabs-scroll-left",
2482
2492
  variant: "ghost",
2483
2493
  icon: "chevron_left",
2484
2494
  type: "button",
2485
2495
  noText: !0,
2486
- onClick: (k) => B(!0)
2496
+ onClick: (y) => B(!0)
2487
2497
  }, {
2488
- default: z(() => c[1] || (c[1] = [
2498
+ default: R(() => s[1] || (s[1] = [
2489
2499
  L(" Scroll left ")
2490
2500
  ])),
2491
2501
  _: 1
2492
- }, 8, ["onClick"])) : D("", !0),
2493
- f.tabs ? (m(), g(C, { key: 1 }, [
2494
- O(an, null, {
2495
- default: z(() => [
2496
- (m(!0), g(C, null, te(h(f.tabs), (k, u) => (m(), X(Da, {
2497
- key: f.name + "tab-item" + u,
2498
- active: k.active,
2499
- label: k.label,
2500
- iconAfter: k.iconAfter,
2501
- icon: k.icon,
2502
- noText: k.noText
2502
+ }, 8, ["onClick"])) : M("", !0),
2503
+ c.tabs ? (m(), g(S, { key: 1 }, [
2504
+ O(et, null, {
2505
+ default: R(() => [
2506
+ (m(!0), g(S, null, ie(h(c.tabs), (y, r) => (m(), X(Sa, {
2507
+ key: c.name + "tab-item" + r,
2508
+ active: y.active,
2509
+ label: y.label,
2510
+ iconAfter: y.iconAfter,
2511
+ icon: y.icon,
2512
+ noText: y.noText
2503
2513
  }, null, 8, ["active", "label", "iconAfter", "icon", "noText"]))), 128))
2504
2514
  ]),
2505
2515
  _: 1
2506
2516
  }),
2507
- (m(!0), g(C, null, te(h(f.tabs), (k, u) => (m(), X(tn, {
2508
- key: f.name + "tab-panel" + u,
2509
- content: k.content
2517
+ (m(!0), g(S, null, ie(h(c.tabs), (y, r) => (m(), X(tt, {
2518
+ key: c.name + "tab-panel" + r,
2519
+ content: y.content
2510
2520
  }, {
2511
- default: z(() => [
2512
- L(w(k.children), 1)
2521
+ default: R(() => [
2522
+ L(k(y.children), 1)
2513
2523
  ]),
2514
2524
  _: 2
2515
2525
  }, 1032, ["content"]))), 128))
2516
- ], 64)) : D("", !0),
2517
- l.value ? (m(), X(de, {
2526
+ ], 64)) : M("", !0),
2527
+ l.value ? (m(), X(oe, {
2518
2528
  key: 2,
2519
2529
  class: "tabs-scroll-right",
2520
2530
  variant: "ghost",
2521
2531
  icon: "chevron_right",
2522
2532
  type: "button",
2523
2533
  noText: !0,
2524
- onClick: (k) => B()
2534
+ onClick: (y) => B()
2525
2535
  }, {
2526
- default: z(() => c[2] || (c[2] = [
2536
+ default: R(() => s[2] || (s[2] = [
2527
2537
  L(" Scroll right ")
2528
2538
  ])),
2529
2539
  _: 1
2530
- }, 8, ["onClick"])) : D("", !0),
2531
- I(f.$slots, "default")
2532
- ], 42, dn));
2540
+ }, 8, ["onClick"])) : M("", !0),
2541
+ w(c.$slots, "default")
2542
+ ], 42, it));
2533
2543
  }
2534
- }), 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({
2544
+ }), Gt = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], qt = ["medium", "small", "large", "none"], Ot = ["medium", "small", "large", "none"], Wt = ["left", "right", "top", "bottom", "left-start", "left-end", "right-start", "right-end", "top-start", "top-end", "bottom-start", "bottom-end"], Xt = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], Ht = ["horizontal", "vertical"], jt = ["full", "auto"], Yt = ["full", "medium", "large", "small"], Kt = ["none", "slow", "fast"], Jt = ["auto", "fixed"], Qt = ["small", "medium"], ot = ["weak", "strong"], Zt = [...ot, "origin"], xt = ["invalid", "valid", "no-validation"], ei = ["above", "floating"], ai = ["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"], ti = ["time", "true", "false", "date", "page", "step", "location"], ii = ["_self", "_blank", "_parent", "_top"], oi = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], di = ["start", "center"], dt = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], li = /* @__PURE__ */ A({
2535
2545
  __name: "stack",
2536
2546
  props: {
2537
2547
  variant: { default: void 0 },
@@ -2547,117 +2557,117 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2547
2557
  autofocus: { type: Boolean },
2548
2558
  gap: { default: void 0 }
2549
2559
  },
2550
- setup(t) {
2551
- const n = t, d = o(null);
2560
+ setup(i) {
2561
+ const t = i, o = u(null);
2552
2562
  return (e, a) => (m(), g("div", {
2553
2563
  ref_key: "_ref",
2554
- ref: d,
2564
+ ref: o,
2555
2565
  id: e.id,
2556
- class: N(v(A)("db-stack", n.class)),
2566
+ class: E(f(N)("db-stack", t.class)),
2557
2567
  "data-gap": e.gap,
2558
2568
  "data-variant": e.variant,
2559
2569
  "data-direction": e.direction,
2560
2570
  "data-alignment": e.alignment,
2561
2571
  "data-justify-content": e.justifyContent,
2562
- "data-wrap": v(V)(e.wrap)
2572
+ "data-wrap": f(V)(e.wrap)
2563
2573
  }, [
2564
- I(e.$slots, "default")
2565
- ], 10, sn));
2574
+ w(e.$slots, "default")
2575
+ ], 10, dt));
2566
2576
  }
2567
2577
  });
2568
2578
  export {
2569
- st as AlignmentList,
2570
- tt as AutoCompleteList,
2579
+ di as AlignmentList,
2580
+ ai as AutoCompleteList,
2571
2581
  he as COLOR,
2572
- mn as COLORS,
2573
- bn as COLORS_SIMPLE,
2574
- pn as COLOR_CONST,
2582
+ pt as COLORS,
2583
+ ht as COLORS_SIMPLE,
2584
+ vt as COLOR_CONST,
2575
2585
  pe as COLOR_SIMPLE,
2576
- Un as DBAccordion,
2577
- ja as DBAccordionItem,
2578
- kn as DBBadge,
2579
- wn as DBBrand,
2580
- de as DBButton,
2581
- In as DBCard,
2582
- _n as DBCheckbox,
2583
- $n as DBDivider,
2584
- je as DBDrawer,
2585
- Ln as DBHeader,
2586
- En as DBIcon,
2586
+ zt as DBAccordion,
2587
+ Ha as DBAccordionItem,
2588
+ yt as DBBadge,
2589
+ Bt as DBBrand,
2590
+ oe as DBButton,
2591
+ kt as DBCard,
2592
+ wt as DBCheckbox,
2593
+ It as DBDivider,
2594
+ Ye as DBDrawer,
2595
+ _t as DBHeader,
2596
+ $t as DBIcon,
2587
2597
  W as DBInfotext,
2588
- Nn as DBInput,
2589
- An as DBLink,
2590
- Pn as DBNavigation,
2591
- Rn as DBNavigationItem,
2592
- Bn as DBNotification,
2593
- Fn as DBPage,
2594
- Vn as DBPopover,
2595
- Tn as DBRadio,
2596
- Sn as DBSection,
2597
- Cn as DBSelect,
2598
- ot as DBStack,
2599
- Dn as DBSwitch,
2600
- Da as DBTabItem,
2601
- an as DBTabList,
2602
- tn as DBTabPanel,
2603
- qn as DBTabs,
2604
- Mn as DBTag,
2605
- zn as DBTextarea,
2606
- Gn as DBTooltip,
2607
- _e as DEFAULT_BACK,
2608
- $e as DEFAULT_BURGER_MENU,
2609
- ce as DEFAULT_CLOSE_BUTTON,
2598
+ Lt as DBInput,
2599
+ Et as DBLink,
2600
+ Rt as DBNavigation,
2601
+ Mt as DBNavigationItem,
2602
+ gt as DBNotification,
2603
+ Nt as DBPage,
2604
+ Ut as DBPopover,
2605
+ At as DBRadio,
2606
+ Ft as DBSection,
2607
+ Tt as DBSelect,
2608
+ li as DBStack,
2609
+ Ct as DBSwitch,
2610
+ Sa as DBTabItem,
2611
+ et as DBTabList,
2612
+ tt as DBTabPanel,
2613
+ Vt as DBTabs,
2614
+ St as DBTag,
2615
+ Dt as DBTextarea,
2616
+ Pt as DBTooltip,
2617
+ $e as DEFAULT_BACK,
2618
+ Le as DEFAULT_BURGER_MENU,
2619
+ ve as DEFAULT_CLOSE_BUTTON,
2610
2620
  ue as DEFAULT_DATALIST_ID_SUFFIX,
2611
- Le as DEFAULT_ICON,
2621
+ Ee as DEFAULT_ICON,
2612
2622
  ee as DEFAULT_ID,
2613
2623
  x as DEFAULT_INVALID_MESSAGE,
2614
2624
  Q as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
2615
2625
  le as DEFAULT_LABEL,
2616
2626
  K as DEFAULT_MESSAGE_ID_SUFFIX,
2617
- fe as DEFAULT_PLACEHOLDER,
2618
- oe as DEFAULT_PLACEHOLDER_ID_SUFFIX,
2619
- Ee as DEFAULT_ROWS,
2627
+ ce as DEFAULT_PLACEHOLDER,
2628
+ se as DEFAULT_PLACEHOLDER_ID_SUFFIX,
2629
+ Ne as DEFAULT_ROWS,
2620
2630
  Z as DEFAULT_VALID_MESSAGE,
2621
2631
  J as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
2622
- Ne as DEFAULT_VIEWPORT,
2623
- hn as DENSITIES,
2624
- ve as DENSITY,
2625
- vn as DENSITY_CONST,
2626
- Ae as DESKTOP_VIEWPORT,
2627
- ln as EmphasisList,
2628
- jn as GapSpacingList,
2629
- nt as LabelVariantList,
2630
- dt as LinkCurrentList,
2631
- lt as LinkReferrerPolicyList,
2632
- it as LinkTargetList,
2633
- Xn as MarginList,
2634
- Jn as MaxWidthList,
2632
+ Ae as DEFAULT_VIEWPORT,
2633
+ ft as DENSITIES,
2634
+ fe as DENSITY,
2635
+ ct as DENSITY_CONST,
2636
+ Fe as DESKTOP_VIEWPORT,
2637
+ ot as EmphasisList,
2638
+ Xt as GapSpacingList,
2639
+ ei as LabelVariantList,
2640
+ ti as LinkCurrentList,
2641
+ oi as LinkReferrerPolicyList,
2642
+ ii as LinkTargetList,
2643
+ Ot as MarginList,
2644
+ Yt as MaxWidthList,
2635
2645
  Ke as NavigationItemSafeTriangle,
2636
- Yn as OrientationList,
2637
- Hn as PlacementList,
2638
- Qn as PopoverDelayList,
2639
- Zn as PopoverWidthList,
2646
+ Ht as OrientationList,
2647
+ Wt as PlacementList,
2648
+ Kt as PopoverDelayList,
2649
+ Jt as PopoverWidthList,
2640
2650
  me as SEMANTIC,
2641
- gn as SEMANTICS,
2642
- On as SemanticList,
2643
- xn as SizeList,
2644
- Wn as SpacingList,
2645
- yn as TESTING_VIEWPORTS,
2646
- et as TagEmphasisList,
2647
- at as ValidationList,
2648
- Kn as WidthList,
2651
+ mt as SEMANTICS,
2652
+ Gt as SemanticList,
2653
+ Qt as SizeList,
2654
+ qt as SpacingList,
2655
+ bt as TESTING_VIEWPORTS,
2656
+ Zt as TagEmphasisList,
2657
+ xt as ValidationList,
2658
+ jt as WidthList,
2649
2659
  re as addAttributeToChildren,
2650
- A as cls,
2660
+ N as cls,
2651
2661
  H as delay,
2652
2662
  V as getBooleanAsString,
2653
2663
  P as getHideProp,
2654
- se as handleDataOutside,
2664
+ ne as handleDataOutside,
2655
2665
  Y as hasVoiceOver,
2656
- ke as isArrayOfStrings,
2657
- Ye as isEventTargetNavigationItem,
2658
- Be as isInView,
2666
+ we as isArrayOfStrings,
2667
+ be as isEventTargetNavigationItem,
2668
+ ke as isInView,
2659
2669
  q as stringPropVisible,
2660
2670
  G as uuid,
2661
- fn as visibleInVX,
2662
- cn as visibleInVY
2671
+ ut as visibleInVX,
2672
+ rt as visibleInVY
2663
2673
  };