@db-ux/v-core-components 1.1.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/db-ux.es.js CHANGED
@@ -1,84 +1,84 @@
1
1
  var ge = Object.defineProperty;
2
- var ye = (t, n, d) => n in t ? ge(t, n, { enumerable: !0, configurable: !0, writable: !0, value: d }) : t[n] = d;
3
- var j = (t, n, d) => ye(t, typeof n != "symbol" ? n + "" : n, d);
4
- import { defineComponent as E, ref as u, createElementBlock as g, openBlock as m, unref as v, normalizeClass as N, renderSlot as w, Fragment as C, createTextVNode as L, toDisplayString as k, createCommentVNode as M, createElementVNode as I, createBlock as X, withCtx as R, onMounted as U, watch as z, createVNode as O, renderList as te, onUnmounted as Be } from "vue";
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
- }, ke = (t) => {
44
+ return t >= 0 && o <= e;
45
+ }, ke = (i) => {
46
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: c,
52
+ } = i.getBoundingClientRect(), {
53
+ innerHeight: v,
54
54
  innerWidth: l
55
55
  } = window;
56
- let p = n < 0, i = d > c, h = e < 0, s = a > l;
57
- const B = t.hasAttribute("data-outside-vy"), $ = t.hasAttribute("data-outside-vx"), D = (_ = t == null ? void 0 : t.parentElement) == null ? void 0 : _.getBoundingClientRect();
58
- return D && (B && (t.getAttribute("data-outside-vy") === "top" ? p = D.top - (d - D.bottom) < 0 : i = D.bottom + (D.top - n) > c), $ && (t.getAttribute("data-outside-vx") === "left" ? h = D.left - (a - D.right) < 0 : s = D.right + (D.left - e) > l)), {
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
- } = ke(t);
71
- let c = {};
72
- return n || d ? (c = {
73
- vy: n ? "top" : "bottom"
74
- }, t.setAttribute("data-outside-vy", c.vy)) : t.removeAttribute("data-outside-vy"), e || a ? (c = {
75
- ...c,
70
+ } = 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", c.vx)) : t.removeAttribute("data-outside-vx"), c;
78
- }, we = (t) => Array.isArray(t) && t.every((n) => typeof n == "string"), Ie = ["Mac", "iPhone", "iPad", "iPod"], Y = () => typeof window < "u" && Ie.some((t) => window.navigator.userAgent.includes(t)), H = (t, n) => new Promise(() => setTimeout(t, n)), V = (t) => t && String(t), P = (t) => {
79
- if (t != null)
80
- return V(!t);
81
- }, q = (t, n) => n === void 0 ? !!t : n && t, _e = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "value", "aria-describedby", "aria-expanded", "aria-pressed"], de = /* @__PURE__ */ E({
77
+ }, i.setAttribute("data-outside-vx", 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,51 +104,51 @@ const G = () => {
104
104
  showIcon: { type: Boolean, default: void 0 },
105
105
  text: { default: void 0 }
106
106
  },
107
- setup(t) {
108
- const n = t, d = u(null);
107
+ setup(i) {
108
+ const t = i, 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, c) => (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: c[0] || (c[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 }, [
134
+ a.text ? (m(), g(S, { key: 0 }, [
135
135
  L(k(a.text), 1)
136
136
  ], 64)) : w(a.$slots, "default", { key: 1 })
137
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", Le = "BurgerMenu", Ee = "brand", Ne = 4, ce = "Close Button", vn = "density", pn = "color";
140
- var ve = /* @__PURE__ */ ((t) => (t.FUNCTIONAL = "functional", t.REGULAR = "regular", t.EXPRESSIVE = "expressive", t))(ve || {});
141
- const hn = Object.entries(ve).map(([, t]) => t);
142
- var pe = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t))(pe || {}), he = /* @__PURE__ */ ((t) => (t.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", t.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", t.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", t.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", t.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", t.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", t.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", t.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", t.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", t.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", t.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", t.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", t.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", t.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", t.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", t.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", t.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", t.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", t.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", t.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", t.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", t.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", t.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", t.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", t.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", t.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", t.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", t.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", t.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", t.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", t))(he || {});
143
- const mn = Object.entries(he).map(([, t]) => t), bn = Object.entries(pe).map(([, t]) => t);
144
- var me = /* @__PURE__ */ ((t) => (t.CRITICAL = "critical", t.INFORMATIONAL = "informational", t.WARNING = "warning", t.SUCCESSFUL = "successful", t))(me || {});
145
- const gn = Object.entries(me).map(([, t]) => t), Ae = {
139
+ }), 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
148
  }, Fe = {
149
149
  width: 1920,
150
150
  height: 1280
151
- }, yn = [{
151
+ }, bt = [{
152
152
  name: "desktop",
153
153
  ...Fe
154
154
  }, {
@@ -158,7 +158,7 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
158
158
  }, {
159
159
  name: "mobile",
160
160
  ...Ae
161
- }], Te = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], Se = { key: 0 }, Ce = { key: 1 }, Bn = /* @__PURE__ */ E({
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), Ae = {
188
188
  showIcon: { type: Boolean, default: void 0 },
189
189
  text: { default: void 0 }
190
190
  },
191
- setup(t) {
192
- const n = t, d = u(null);
191
+ setup(i) {
192
+ const t = i, o = u(null);
193
193
  function e(a) {
194
- n.onClose && n.onClose();
194
+ t.onClose && t.onClose();
195
195
  }
196
- return (a, c) => (m(), g("article", {
196
+ return (a, 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
208
  w(a.$slots, "image"),
209
- v(q)(a.headline, a.showHeadline) ? (m(), g("header", Se, k(a.headline), 1)) : M("", !0),
209
+ f(q)(a.headline, a.showHeadline) ? (m(), g("header", Ce, k(a.headline), 1)) : M("", !0),
210
210
  I("p", null, [
211
- a.text ? (m(), g(C, { key: 0 }, [
211
+ a.text ? (m(), g(S, { key: 0 }, [
212
212
  L(k(a.text), 1)
213
213
  ], 64)) : w(a.$slots, "default", { key: 1 })
214
214
  ]),
215
- v(q)(a.timestamp, a.showTimestamp) ? (m(), g("span", Ce, k(a.timestamp), 1)) : M("", !0),
215
+ f(q)(a.timestamp, a.showTimestamp) ? (m(), g("span", Se, k(a.timestamp), 1)) : M("", !0),
216
216
  w(a.$slots, "link"),
217
- a.closeable ? (m(), X(de, {
217
+ a.closeable ? (m(), X(oe, {
218
218
  key: 2,
219
219
  icon: "cross",
220
220
  variant: "ghost",
@@ -224,13 +224,13 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
224
224
  onClick: (l) => e()
225
225
  }, {
226
226
  default: R(() => [
227
- L(k(a.closeButtonText ?? v(ce)), 1)
227
+ L(k(a.closeButtonText ?? f(ve)), 1)
228
228
  ]),
229
229
  _: 1
230
230
  }, 8, ["id", "onClick"])) : M("", !0)
231
231
  ], 10, Te));
232
232
  }
233
- }), De = ["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), Ae = {
246
246
  emphasis: { default: void 0 },
247
247
  text: { default: void 0 }
248
248
  },
249
- setup(t) {
250
- const n = t, d = u(!1), e = u(null);
249
+ setup(i) {
250
+ const t = i, o = u(!1), e = u(null);
251
251
  return U(() => {
252
- d.value = !0;
252
+ o.value = !0;
253
253
  }), z(
254
- () => [e.value, d.value],
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 c = e.value.parentElement;
259
- c && c.localName.includes("badge") && (c = c.parentElement), c && c.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, c) => {
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 }, [
279
+ a.text ? (m(), g(S, { key: 0 }, [
280
280
  L(k(a.text), 1)
281
281
  ], 64)) : w(a.$slots, "default", { key: 1 })
282
282
  ], 10, De);
283
283
  };
284
284
  }
285
- }), Me = ["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), Ae = {
296
296
  showIcon: { type: Boolean, default: void 0 },
297
297
  text: { default: void 0 }
298
298
  },
299
- setup(t) {
300
- const n = t, d = u(null);
299
+ setup(i) {
300
+ const t = i, 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(Ee),
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 }, [
309
+ e.text ? (m(), g(S, { key: 0 }, [
310
310
  L(k(e.text), 1)
311
311
  ], 64)) : w(e.$slots, "default", { key: 1 })
312
312
  ], 10, Me));
313
313
  }
314
- }), ze = ["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), Ae = {
325
325
  onClick: { type: Function, default: void 0 },
326
326
  spacing: { default: void 0 }
327
327
  },
328
- setup(t) {
329
- const n = t, d = u(null);
328
+ setup(i) {
329
+ const t = i, 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, c) => (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: c[0] || (c[0] = async (l) => e(l))
343
+ onClick: v[0] || (v[0] = async (l) => e(l))
344
344
  }, [
345
345
  w(a.$slots, "default")
346
346
  ], 10, ze));
347
347
  }
348
- }), ae = (t, n, d = "value") => {
349
- t(`update:${d}`, n.target[d]);
350
- }, Re = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], W = /* @__PURE__ */ E({
348
+ }), 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,19 +362,19 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
362
362
  showIcon: { type: Boolean, default: void 0 },
363
363
  text: { default: void 0 }
364
364
  },
365
- setup(t) {
366
- const n = t, d = u(null);
365
+ setup(i) {
366
+ const t = i, 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 }, [
377
+ e.text ? (m(), g(S, { key: 0 }, [
378
378
  L(k(e.text), 1)
379
379
  ], 64)) : w(e.$slots, "default", { key: 1 })
380
380
  ], 10, Re));
@@ -382,7 +382,7 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
382
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,18 +418,18 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
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 = u(!1), c = u(void 0), l = u(void 0), p = u(void 0), i = u(void 0), h = u(""), s = u(""), B = u(null);
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
423
  U(() => {
424
424
  a.value = !0;
425
- const f = e.id ?? `checkbox-${G()}`;
426
- c.value = f, l.value = f + K, p.value = f + J, i.value = f + Q;
425
+ const c = e.id ?? `checkbox-${G()}`;
426
+ v.value = c, l.value = c + K, p.value = c + J, d.value = c + Q;
427
427
  }), z(
428
- () => [c.value],
428
+ () => [v.value],
429
429
  () => {
430
- if (c.value) {
431
- const f = c.value + K;
432
- l.value = f, p.value = c.value + J, i.value = c.value + Q, q(e.message, e.showMessage) && (h.value = f);
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
  {
@@ -455,51 +455,51 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
455
455
  flush: "post"
456
456
  }
457
457
  );
458
- function $(f) {
459
- var o, y, r;
460
- e.onChange && e.onChange(f), e.change && e.change(f), ae(d, f, "checked"), !((o = B.value) != null && o.validity.valid) || e.validation === "invalid" ? (h.value = i.value, Y() && (s.value = e.invalidMessage ?? ((y = B.value) == null ? void 0 : y.validationMessage) ?? x, H(() => s.value = "", 1e3))) : e.validation === "valid" || (r = B.value) != null && r.validity.valid && e.required ? (h.value = p.value, Y() && (s.value = e.validMessage ?? Z, H(() => s.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = l.value : h.value = "";
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 D(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 _(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, o) => (m(), g("div", {
469
- class: N(v(A)("db-checkbox", e.class)),
470
- "data-size": f.size,
471
- "data-hide-label": v(P)(f.showLabel)
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
- I("label", { for: c.value }, [
473
+ I("label", { for: v.value }, [
474
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: c.value,
481
- name: f.name,
482
- checked: f.checked,
483
- disabled: f.disabled,
484
- value: f.value,
485
- required: f.required,
486
- onChange: o[0] || (o[0] = async (y) => $(y)),
487
- onBlur: o[1] || (o[1] = async (y) => D(y)),
488
- onFocus: o[2] || (o[2] = async (y) => _(y)),
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
490
  }, null, 40, Ve),
491
- f.label ? (m(), g(C, { key: 0 }, [
492
- L(k(f.label), 1)
493
- ], 64)) : w(f.$slots, "default", { key: 1 })
491
+ c.label ? (m(), g(S, { key: 0 }, [
492
+ L(k(c.label), 1)
493
+ ], 64)) : w(c.$slots, "default", { key: 1 })
494
494
  ], 8, Pe),
495
- v(q)(f.message, f.showMessage) ? (m(), X(W, {
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
501
  default: R(() => [
502
- L(k(f.message), 1)
502
+ L(k(c.message), 1)
503
503
  ]),
504
504
  _: 1
505
505
  }, 8, ["icon", "id"])) : M("", !0),
@@ -509,27 +509,27 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
509
509
  id: p.value
510
510
  }, {
511
511
  default: R(() => [
512
- L(k(f.validMessage ?? v(Z)), 1)
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
521
  default: R(() => {
522
522
  var y;
523
523
  return [
524
- L(k(f.invalidMessage ?? ((y = B.value) == null ? void 0 : y.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
- I("span", Ge, k(s.value), 1)
529
+ I("span", Ge, k(n.value), 1)
530
530
  ], 10, Ue));
531
531
  }
532
- }), qe = ["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), Ae = {
543
543
  emphasis: { default: void 0 },
544
544
  width: { default: void 0 }
545
545
  },
546
- setup(t) {
547
- const n = t, d = u(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))
556
+ class: E(f(N)("db-divider", t.class))
557
557
  }, null, 10, qe));
558
558
  }
559
- }), Oe = ["id", "data-backdrop", "data-variant"], We = ["data-spacing", "data-width", "data-direction", "data-rounded"], Xe = { class: "db-drawer-header" }, He = { class: "db-drawer-header-text" }, je = { class: "db-drawer-content" }, Ye = /* @__PURE__ */ E({
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), Ae = {
577
577
  width: { default: void 0 },
578
578
  spacing: { default: void 0 }
579
579
  },
580
- setup(t) {
581
- const n = t, d = u(null), e = u(null);
580
+ setup(i) {
581
+ const t = i, o = u(null), e = u(null);
582
582
  U(() => {
583
- c();
583
+ v();
584
584
  }), z(
585
- () => [n.open],
585
+ () => [t.open],
586
586
  () => {
587
- c();
587
+ v();
588
588
  },
589
589
  {
590
590
  immediate: !0,
@@ -592,30 +592,30 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
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 c() {
598
- d.value && (n.open && !d.value.open && (e.value && (e.value.hidden = !1), n.backdrop === "none" || n.variant === "inside" ? d.value.show() : d.value.showModal()), !n.open && d.value.open && (e.value && (e.value.hidden = !0), H(() => {
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
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,
@@ -625,16 +625,16 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
625
625
  I("div", He, [
626
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
636
  default: R(() => [
637
- L(k(l.closeButtonText ?? v(ce)), 1)
637
+ L(k(l.closeButtonText ?? f(ve)), 1)
638
638
  ]),
639
639
  _: 1
640
640
  }, 8, ["id", "onClick"])
@@ -645,15 +645,15 @@ const gn = Object.entries(me).map(([, t]) => t), Ae = {
645
645
  ], 10, We)
646
646
  ], 40, Oe));
647
647
  }
648
- }), be = (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`, c = `${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: c,
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 = u(ee), e = u(!1), a = u(!1), c = u(null);
750
+ setup(i) {
751
+ const t = i, o = u(ee), e = u(!1), a = u(!1), v = u(null);
752
752
  U(() => {
753
- e.value = !0, d.value = n.id || "header-" + G();
753
+ e.value = !0, o.value = t.id || "header-" + G();
754
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
- be(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: c,
779
- class: N(v(A)("db-header", n.class)),
780
- id: d.value,
781
- "data-width": i.width,
782
- "data-on-forcing-mobile": i.forceMobile && !a.value
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
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
791
  default: R(() => [
792
792
  I("div", Qe, [
793
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
- w(i.$slots, "default")
797
+ w(d.$slots, "default")
798
798
  ]),
799
799
  I("div", Ze, [
800
- w(i.$slots, "meta-navigation")
800
+ w(d.$slots, "meta-navigation")
801
801
  ])
802
802
  ]),
803
803
  I("div", xe, [
804
- w(i.$slots, "secondary-action")
804
+ w(d.$slots, "secondary-action")
805
805
  ])
806
806
  ]),
807
807
  _: 3
808
808
  }, 8, ["open", "onClose"]),
809
809
  I("div", ea, [
810
- w(i.$slots, "meta-navigation")
810
+ w(d.$slots, "meta-navigation")
811
811
  ]),
812
812
  I("div", aa, [
813
- I("div", na, [
814
- w(i.$slots, "brand")
815
- ]),
816
813
  I("div", ta, [
817
- I("div", da, [
818
- w(i.$slots, "default")
814
+ w(d.$slots, "brand")
815
+ ]),
816
+ I("div", ia, [
817
+ I("div", oa, [
818
+ w(d.$slots, "default")
819
819
  ]),
820
- I("div", ia, [
821
- w(i.$slots, "primary-action")
820
+ I("div", da, [
821
+ w(d.$slots, "primary-action")
822
822
  ])
823
823
  ]),
824
824
  I("div", la, [
825
- I("div", sa, [
826
- O(de, {
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
833
  default: R(() => [
834
- L(k(i.burgerMenuLabel ?? v(Le)), 1)
834
+ L(k(d.burgerMenuLabel ?? f(Le)), 1)
835
835
  ]),
836
836
  _: 1
837
837
  }, 8, ["id", "onClick"])
838
838
  ]),
839
- I("div", oa, [
840
- w(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 = u(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 }, [
872
+ e.text ? (m(), g(S, { key: 0 }, [
873
873
  L(k(e.text), 1)
874
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,17 +926,17 @@ 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 = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(void 0), h = u(""), s = u(""), B = u(""), $ = u(null);
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
931
  U(() => {
932
932
  const r = e.id ?? `input-${G()}`;
933
- a.value = r, c.value = r + K, l.value = r + J, p.value = r + Q, i.value = r + ue;
933
+ a.value = r, v.value = r + K, l.value = r + J, p.value = r + Q, d.value = r + ue;
934
934
  }), z(
935
935
  () => [a.value],
936
936
  () => {
937
937
  if (a.value) {
938
938
  const r = a.value + K;
939
- c.value = r, l.value = a.value + J, p.value = a.value + Q, i.value = e.dataListId ?? a.value + ue, q(e.message, e.showMessage) && (h.value = r);
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
  {
@@ -946,7 +946,7 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
946
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,
@@ -954,16 +954,16 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
954
954
  }
955
955
  );
956
956
  function D(r) {
957
- s.value = r.target.value, e.onInput && e.onInput(r), e.input && e.input(r);
957
+ n.value = r.target.value, e.onInput && e.onInput(r), e.input && e.input(r);
958
958
  }
959
959
  function _(r) {
960
- var T, b, S;
961
- e.onChange && e.onChange(r), e.change && e.change(r), ae(d, r), !((T = $.value) != null && T.validity.valid) || e.validation === "invalid" ? (h.value = p.value, Y() && (B.value = e.invalidMessage ?? ((b = $.value) == null ? void 0 : b.validationMessage) ?? x, H(() => B.value = "", 1e3))) : e.validation === "valid" || (S = $.value) != null && S.validity.valid && (e.required || e.minLength || e.maxLength || e.pattern) ? (h.value = l.value, Y() && (B.value = e.validMessage ?? Z, H(() => B.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = c.value : h.value = "";
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(r) {
963
+ function c(r) {
964
964
  e.onBlur && e.onBlur(r), e.blur && e.blur(r);
965
965
  }
966
- function o(r) {
966
+ function s(r) {
967
967
  e.onFocus && e.onFocus(r), e.focus && e.focus(r);
968
968
  }
969
969
  function y(r) {
@@ -975,15 +975,15 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
975
975
  );
976
976
  }
977
977
  return (r, T) => (m(), g("div", {
978
- class: N(v(A)("db-input", e.class)),
978
+ class: E(f(N)("db-input", e.class)),
979
979
  "data-variant": r.variant,
980
- "data-hide-label": v(P)(r.showLabel),
981
- "data-hide-icon": v(P)(r.showIcon),
980
+ "data-hide-label": f(P)(r.showLabel),
981
+ "data-hide-icon": f(P)(r.showIcon),
982
982
  "data-icon": r.icon,
983
983
  "data-icon-after": r.iconAfter,
984
- "data-hide-icon-after": v(P)(r.showIcon)
984
+ "data-hide-icon-after": f(P)(r.showIcon)
985
985
  }, [
986
- I("label", { for: a.value }, k(r.label ?? v(le)), 9, fa),
986
+ I("label", { for: a.value }, k(r.label ?? f(le)), 9, ca),
987
987
  I("input", {
988
988
  "aria-invalid": r.validation === "invalid",
989
989
  "data-custom-validity": r.validation,
@@ -992,11 +992,11 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
992
992
  id: a.value,
993
993
  name: r.name,
994
994
  type: r.type || "text",
995
- placeholder: r.placeholder ?? v(fe),
995
+ placeholder: r.placeholder ?? f(ce),
996
996
  disabled: r.disabled,
997
997
  required: r.required,
998
998
  step: r.step,
999
- value: r.value ?? s.value,
999
+ value: r.value ?? n.value,
1000
1000
  maxLength: r.maxLength,
1001
1001
  minLength: r.minLength,
1002
1002
  max: r.max,
@@ -1009,26 +1009,26 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1009
1009
  autoFocus: r.autofocus,
1010
1010
  onInput: T[0] || (T[0] = async (b) => D(b)),
1011
1011
  onChange: T[1] || (T[1] = async (b) => _(b)),
1012
- onBlur: T[2] || (T[2] = async (b) => f(b)),
1013
- onFocus: T[3] || (T[3] = async (b) => o(b)),
1014
- list: r.dataList && i.value,
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),
1016
+ }, null, 40, va),
1017
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(y(r.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
1024
  }, k(b.label), 9, pa))), 128))
1025
- ], 8, va)) : M("", !0),
1025
+ ], 8, fa)) : M("", !0),
1026
1026
  w(r.$slots, "default"),
1027
- v(q)(r.message, r.showMessage) ? (m(), X(W, {
1027
+ f(q)(r.message, r.showMessage) ? (m(), X(W, {
1028
1028
  key: 1,
1029
1029
  size: "small",
1030
1030
  icon: r.messageIcon,
1031
- id: c.value
1031
+ id: v.value
1032
1032
  }, {
1033
1033
  default: R(() => [
1034
1034
  L(k(r.message), 1)
@@ -1041,7 +1041,7 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1041
1041
  id: l.value
1042
1042
  }, {
1043
1043
  default: R(() => [
1044
- L(k(r.validMessage ?? v(Z)), 1)
1044
+ L(k(r.validMessage ?? f(Z)), 1)
1045
1045
  ]),
1046
1046
  _: 1
1047
1047
  }, 8, ["id"]),
@@ -1053,7 +1053,7 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1053
1053
  default: R(() => {
1054
1054
  var b;
1055
1055
  return [
1056
- L(k(r.invalidMessage ?? ((b = $.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
@@ -1061,7 +1061,7 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1061
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 = u(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, c) => (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: c[0] || (c[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 }, [
1116
+ a.text ? (m(), g(S, { key: 0 }, [
1117
1117
  L(k(a.text), 1)
1118
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 = u(!1), e = u(null);
1138
- return typeof window < "u" && document && (n.documentOverflow === "hidden" || n.variant === "fixed" && n.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), U(() => {
1139
- d.value = !n.fadeIn, document && n.fadeIn ? document.fonts.ready.then(() => {
1140
- d.value = !0;
1141
- }) : d.value = !0;
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;
1142
1143
  }), Be(() => {
1143
1144
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
1144
- }), (a, c) => (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
1154
  w(a.$slots, "header"),
1154
- I("main", ga, [
1155
+ I("main", {
1156
+ class: E(f(N)("db-main", a.mainClass))
1157
+ }, [
1155
1158
  w(a.$slots, "default")
1156
- ]),
1159
+ ], 2),
1157
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 },
@@ -1184,10 +1187,10 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1184
1187
  size: { default: void 0 }
1185
1188
  },
1186
1189
  emits: ["update:value"],
1187
- setup(t, { emit: n }) {
1188
- const d = n, e = t, a = u(!1), c = u(void 0), l = u(null);
1190
+ setup(i, { emit: t }) {
1191
+ const o = t, e = i, a = u(!1), v = u(void 0), l = u(null);
1189
1192
  U(() => {
1190
- a.value = !0, c.value = e.id ?? `radio-${G()}`;
1193
+ a.value = !0, v.value = e.id ?? `radio-${G()}`;
1191
1194
  }), z(
1192
1195
  () => [a.value, l.value, e.checked],
1193
1196
  () => {
@@ -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);
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: c.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
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: c.value,
1223
- name: s.name,
1224
- checked: s.checked,
1225
- disabled: s.disabled,
1226
- "aria-describedby": s.describedbyid,
1227
- value: s.value,
1228
- required: s.required,
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,
1229
1232
  onChange: B[0] || (B[0] = async ($) => p($)),
1230
- onBlur: B[1] || (B[1] = async ($) => i($)),
1233
+ onBlur: B[1] || (B[1] = async ($) => d($)),
1231
1234
  onFocus: B[2] || (B[2] = async ($) => h($))
1232
- }, null, 40, Ba),
1233
- s.label ? (m(), g(C, { key: 0 }, [
1234
- L(k(s.label), 1)
1235
- ], 64)) : w(s.$slots, "default", { key: 1 })
1236
- ], 10, ya));
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 = u(ee), e = u(null);
1253
+ setup(i) {
1254
+ const t = i, o = u(ee), e = u(null);
1252
1255
  return U(() => {
1253
- d.value = n.id || "section-" + G();
1254
- }), (a, c) => (m(), g("section", {
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
1265
  w(a.$slots, "default")
1263
- ], 10, ka));
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,18 +1309,18 @@ 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 = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(""), h = u(""), s = u(""), B = u(!1), $ = u(""), D = u(null);
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);
1311
1314
  U(() => {
1312
1315
  B.value = !0;
1313
1316
  const b = e.id ?? `select-${G()}`;
1314
- a.value = b, c.value = b + K, l.value = b + J, p.value = b + Q, i.value = b + oe;
1317
+ a.value = b, v.value = b + K, l.value = b + J, p.value = b + Q, d.value = b + se;
1315
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
- c.value = b, l.value = a.value + J, p.value = a.value + Q, i.value = S, q(e.message, e.showMessage) ? h.value = b : h.value = S, B.value = !1;
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
  {
@@ -1327,7 +1330,7 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1327
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,
@@ -1337,12 +1340,12 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1337
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);
1343
+ function c(b) {
1344
+ n.value = b.target.value, e.onInput && e.onInput(b), e.input && e.input(b);
1342
1345
  }
1343
- function o(b) {
1344
- var S, F, ne;
1345
- e.onChange && e.onChange(b), e.change && e.change(b), ae(d, b), !((S = D.value) != null && S.validity.valid) || e.validation === "invalid" ? (h.value = p.value, Y() && ($.value = e.invalidMessage ?? ((F = D.value) == null ? void 0 : F.validationMessage) ?? x, H(() => $.value = "", 1e3))) : e.validation === "valid" || (ne = D.value) != null && ne.validity.valid && e.required ? (h.value = l.value, Y() && ($.value = e.validMessage ?? Z, H(() => $.value = "", 1e3))) : q(e.message, e.showMessage) ? h.value = c.value : h.value = i.value;
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
1350
  function y(b) {
1348
1351
  e.onBlur && e.onBlur(b), e.blur && e.blur(b);
@@ -1353,14 +1356,14 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
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
- I("label", { for: a.value }, k(b.label ?? v(le)), 9, Ia),
1366
+ I("label", { for: a.value }, k(b.label ?? f(le)), 9, wa),
1364
1367
  I("select", {
1365
1368
  "aria-invalid": b.validation === "invalid",
1366
1369
  "data-custom-validity": b.validation,
@@ -1371,43 +1374,43 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
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) => _(F)),
1378
- onChange: S[2] || (S[2] = async (F) => o(F)),
1379
- onBlur: S[3] || (S[3] = async (F) => y(F)),
1380
- onFocus: S[4] || (S[4] = async (F) => r(F)),
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] = I("option", { hidden: !0 }, null, -1)),
1384
- b.options ? (m(!0), g(C, { key: 0 }, te(b.options, (F, ne) => (m(), g(C, { key: ne }, [
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
- }, k(T(ie)), 9, La))), 128))
1395
- ], 8, $a)) : M("", !0),
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),
1396
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
- }, k(T(F)), 9, Ea))
1404
+ }, k(T(F)), 9, La))
1402
1405
  ], 64))), 128)) : M("", !0),
1403
1406
  w(b.$slots, "default")
1404
- ], 40, _a),
1405
- I("span", { id: i.value }, k(b.placeholder ?? b.label), 9, Na),
1406
- v(q)(b.message, b.showMessage) ? (m(), X(W, {
1407
+ ], 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: c.value
1413
+ id: v.value
1411
1414
  }, {
1412
1415
  default: R(() => [
1413
1416
  L(k(b.message), 1)
@@ -1420,7 +1423,7 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1420
1423
  id: l.value
1421
1424
  }, {
1422
1425
  default: R(() => [
1423
- L(k(b.validMessage ?? v(Z)), 1)
1426
+ L(k(b.validMessage ?? f(Z)), 1)
1424
1427
  ]),
1425
1428
  _: 1
1426
1429
  }, 8, ["id"]),
@@ -1432,15 +1435,15 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1432
1435
  default: R(() => {
1433
1436
  var F;
1434
1437
  return [
1435
- L(k(b.invalidMessage ?? ((F = D.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
- I("span", Aa, k($.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 = u(void 0), c = u(!1), l = u(null);
1477
+ setup(i, { emit: t }) {
1478
+ const o = t, e = i, a = u(void 0), v = u(!1), l = u(null);
1476
1479
  U(() => {
1477
1480
  a.value = e.id ?? `switch-${G()}`;
1478
1481
  }), z(
1479
1482
  () => [e.checked],
1480
1483
  () => {
1481
- e.checked !== void 0 && e.checked !== null && (c.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), c.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
1509
  I("input", {
1507
1510
  type: "checkbox",
1508
1511
  role: "switch",
1509
1512
  id: a.value,
1510
- "aria-checked": v(V)(c.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,
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,
1523
1526
  onChange: B[0] || (B[0] = async ($) => p($)),
1524
- onBlur: B[1] || (B[1] = async ($) => i($)),
1527
+ onBlur: B[1] || (B[1] = async ($) => d($)),
1525
1528
  onFocus: B[2] || (B[2] = async ($) => h($))
1526
- }, null, 40, Ta),
1527
- s.label ? (m(), g(C, { key: 0 }, [
1528
- L(k(s.label), 1)
1529
- ], 64)) : w(s.$slots, "default", { key: 1 })
1530
- ], 10, Fa));
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,8 +1554,8 @@ 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 = u(!1), c = u(!1), l = u(null);
1557
+ setup(i, { emit: t }) {
1558
+ const o = t, e = i, a = u(!1), v = u(!1), l = u(null);
1556
1559
  U(() => {
1557
1560
  a.value = !0;
1558
1561
  }), z(
@@ -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), c.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
1579
  I("label", {
1577
- for: i.id,
1578
- "data-icon": i.icon,
1579
- "data-icon-after": i.iconAfter,
1580
- "data-hide-icon": v(P)(i.showIcon),
1581
- "data-hide-icon-after": v(P)(i.showIcon),
1582
- "data-no-text": i.noText
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
1587
  I("input", {
1585
1588
  type: "radio",
1586
1589
  role: "tab",
1587
- disabled: i.disabled,
1588
- "aria-selected": c.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(k(i.label), 1)
1599
+ d.label ? (m(), g(S, { key: 0 }, [
1600
+ L(k(d.label), 1)
1598
1601
  ], 64)) : M("", !0),
1599
- w(i.$slots, "default")
1600
- ], 8, Sa)
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 = u(!1), e = u(null);
1629
- d.value = !0, z(
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,28 +1647,28 @@ 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 c() {
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
1669
  w(l.$slots, "content"),
1667
1670
  w(l.$slots, "default"),
1668
- l.text ? (m(), g(C, { key: 0 }, [
1671
+ l.text ? (m(), g(S, { key: 0 }, [
1669
1672
  L(k(l.text), 1)
1670
1673
  ], 64)) : M("", !0),
1671
1674
  l.behavior === "removable" ? (m(), g("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: c()
1680
- }, k(c()), 9, za)) : M("", !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,17 +1729,17 @@ 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 = u(void 0), c = u(void 0), l = u(void 0), p = u(void 0), i = u(""), h = u(""), s = u(""), B = u(null);
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);
1731
1734
  U(() => {
1732
- const o = e.id ?? `textarea-${G()}`;
1733
- a.value = o, c.value = o + K, l.value = o + J, p.value = o + Q;
1735
+ const s = e.id ?? `textarea-${G()}`;
1736
+ a.value = s, v.value = s + K, l.value = s + J, p.value = s + Q;
1734
1737
  }), z(
1735
1738
  () => [a.value],
1736
1739
  () => {
1737
1740
  if (a.value) {
1738
- const o = a.value + K;
1739
- c.value = o, l.value = a.value + J, p.value = a.value + Q, q(e.message, e.showMessage) && (i.value = o);
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
  {
@@ -1753,60 +1756,60 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1753
1756
  flush: "post"
1754
1757
  }
1755
1758
  );
1756
- function $(o) {
1757
- h.value = o.target.value, e.onInput && e.onInput(o), e.input && e.input(o);
1759
+ function $(s) {
1760
+ h.value = s.target.value, e.onInput && e.onInput(s), e.input && e.input(s);
1758
1761
  }
1759
- function D(o) {
1762
+ function D(s) {
1760
1763
  var y, r, T;
1761
- e.onChange && e.onChange(o), e.change && e.change(o), ae(d, o), !((y = B.value) != null && y.validity.valid) || e.validation === "invalid" ? (i.value = p.value, Y() && (s.value = e.invalidMessage ?? ((r = B.value) == null ? void 0 : r.validationMessage) ?? x, H(() => s.value = "", 1e3))) : e.validation === "valid" || (T = B.value) != null && T.validity.valid && (e.required || e.minLength || e.maxLength) ? (i.value = l.value, Y() && (s.value = e.validMessage ?? Z, H(() => s.value = "", 1e3))) : q(e.message, e.showMessage) ? i.value = c.value : i.value = "";
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 _(o) {
1764
- e.onBlur && e.onBlur(o), e.blur && e.blur(o);
1766
+ function _(s) {
1767
+ e.onBlur && e.onBlur(s), e.blur && e.blur(s);
1765
1768
  }
1766
- function f(o) {
1767
- e.onFocus && e.onFocus(o), e.focus && e.focus(o);
1769
+ function c(s) {
1770
+ e.onFocus && e.onFocus(s), e.focus && e.focus(s);
1768
1771
  }
1769
- return (o, y) => (m(), g("div", {
1770
- class: N(v(A)("db-textarea", e.class)),
1771
- "data-variant": o.variant,
1772
- "data-hide-label": v(P)(o.showLabel)
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
- I("label", { for: a.value }, k(o.label ?? v(le)), 9, Ua),
1777
+ I("label", { for: a.value }, k(s.label ?? f(le)), 9, Ra),
1775
1778
  I("textarea", {
1776
- "aria-invalid": o.validation === "invalid",
1777
- "data-custom-validity": o.validation,
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": o.resize,
1782
- disabled: o.disabled,
1783
- required: o.required,
1784
- readOnly: o.readOnly,
1785
- form: o.form,
1786
- maxLength: o.maxLength,
1787
- minLength: o.minLength,
1788
- name: o.name,
1789
- wrap: o.wrap,
1790
- spellcheck: o.spellCheck,
1791
- autocomplete: o.autocomplete,
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,
1792
1795
  onInput: y[0] || (y[0] = async (r) => $(r)),
1793
1796
  onChange: y[1] || (y[1] = async (r) => D(r)),
1794
1797
  onBlur: y[2] || (y[2] = async (r) => _(r)),
1795
- onFocus: y[3] || (y[3] = async (r) => f(r)),
1796
- value: o.value ?? h.value,
1797
- "aria-describedby": i.value,
1798
- placeholder: o.placeholder ?? v(fe),
1799
- rows: o.rows ?? v(Ne),
1800
- cols: o.cols
1801
- }, null, 40, Pa),
1802
- v(q)(o.message, o.showMessage) ? (m(), X(W, {
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: o.messageIcon,
1806
- id: c.value
1808
+ icon: s.messageIcon,
1809
+ id: v.value
1807
1810
  }, {
1808
1811
  default: R(() => [
1809
- L(k(o.message), 1)
1812
+ L(k(s.message), 1)
1810
1813
  ]),
1811
1814
  _: 1
1812
1815
  }, 8, ["icon", "id"])) : M("", !0),
@@ -1816,7 +1819,7 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1816
1819
  id: l.value
1817
1820
  }, {
1818
1821
  default: R(() => [
1819
- L(k(o.validMessage ?? v(Z)), 1)
1822
+ L(k(s.validMessage ?? f(Z)), 1)
1820
1823
  ]),
1821
1824
  _: 1
1822
1825
  }, 8, ["id"]),
@@ -1828,18 +1831,18 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1828
1831
  default: R(() => {
1829
1832
  var r;
1830
1833
  return [
1831
- L(k(o.invalidMessage ?? ((r = B.value) == null ? void 0 : r.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
- I("span", Va, k(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 = ["data-auto-close", "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,23 +1863,23 @@ 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 = u(!1), e = u(!1), a = u(!0), c = u(!1), l = u(!1), p = u(
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
- ), i = u(void 0), h = u(null);
1869
+ ), d = u(void 0), h = u(null);
1867
1870
  U(() => {
1868
- d.value = !0;
1871
+ o.value = !0;
1869
1872
  }), z(
1870
- () => [n.subNavigationExpanded],
1873
+ () => [t.subNavigationExpanded],
1871
1874
  () => {
1872
- n.subNavigationExpanded !== void 0 && (c.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
1881
  ), z(
1879
- () => [d.value],
1882
+ () => [o.value],
1880
1883
  () => {
1881
1884
  D();
1882
1885
  },
@@ -1885,94 +1888,94 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1885
1888
  flush: "post"
1886
1889
  }
1887
1890
  );
1888
- function s(_) {
1891
+ function n(_) {
1889
1892
  be(_) && (l.value = !0, H(() => {
1890
1893
  l.value = !1;
1891
1894
  }, 300));
1892
1895
  }
1893
1896
  function B(_) {
1894
- n.onClick && n.onClick(_), e.value && (c.value = !0);
1897
+ t.onClick && t.onClick(_), e.value && (v.value = !0);
1895
1898
  }
1896
1899
  function $(_) {
1897
- _.stopPropagation(), c.value = !1;
1900
+ _.stopPropagation(), v.value = !1;
1898
1901
  }
1899
1902
  function D() {
1900
1903
  var _;
1901
- if (d.value && document && p.value) {
1902
- const f = document == null ? void 0 : document.getElementById(
1904
+ if (o.value && document && p.value) {
1905
+ const c = document == null ? void 0 : document.getElementById(
1903
1906
  p.value
1904
1907
  );
1905
- f && (((_ = f.children) == null ? void 0 : _.length) > 0 ? (e.value = !0, i.value || (i.value = new Ke(
1908
+ c && (((_ = c.children) == null ? void 0 : _.length) > 0 ? (e.value = !0, d.value || (d.value = new Ke(
1906
1909
  h.value,
1907
- f
1910
+ c
1908
1911
  ))) : a.value = !1);
1909
1912
  }
1910
1913
  }
1911
- return (_, f) => (m(), g("li", {
1914
+ return (_, c) => (m(), g("li", {
1912
1915
  ref_key: "_ref",
1913
1916
  ref: h,
1914
1917
  id: _.id,
1915
- onMouseover: f[2] || (f[2] = async (o) => {
1918
+ onMouseover: c[2] || (c[2] = async (s) => {
1916
1919
  var y;
1917
- return (y = i.value) == null ? void 0 : y.enableFollow();
1920
+ return (y = d.value) == null ? void 0 : y.enableFollow();
1918
1921
  }),
1919
- onMouseleave: f[3] || (f[3] = async (o) => {
1922
+ onMouseleave: c[3] || (c[3] = async (s) => {
1920
1923
  var y;
1921
- return (y = i.value) == null ? void 0 : y.disableFollow();
1924
+ return (y = d.value) == null ? void 0 : y.disableFollow();
1922
1925
  }),
1923
- onMousemove: f[4] || (f[4] = async (o) => {
1926
+ onMousemove: c[4] || (c[4] = async (s) => {
1924
1927
  var y;
1925
- return (y = i.value) == null ? void 0 : y.followByMouseEvent(o);
1928
+ return (y = d.value) == null ? void 0 : y.followByMouseEvent(s);
1926
1929
  }),
1927
- class: N(v(A)("db-navigation-item", n.class)),
1930
+ class: E(f(N)("db-navigation-item", t.class)),
1928
1931
  "data-width": _.width,
1929
1932
  "data-icon": _.icon,
1930
- "data-hide-icon": v(P)(_.showIcon),
1933
+ "data-hide-icon": f(P)(_.showIcon),
1931
1934
  "data-active": _.active,
1932
- "aria-disabled": v(V)(_.disabled)
1935
+ "aria-disabled": f(V)(_.disabled)
1933
1936
  }, [
1934
- a.value ? M("", !0) : (m(), g(C, { key: 0 }, [
1935
- _.text ? (m(), g(C, { key: 0 }, [
1937
+ a.value ? M("", !0) : (m(), g(S, { key: 0 }, [
1938
+ _.text ? (m(), g(S, { key: 0 }, [
1936
1939
  L(k(_.text), 1)
1937
1940
  ], 64)) : w(_.$slots, "default", { key: 1 })
1938
1941
  ], 64)),
1939
- a.value ? (m(), g(C, { key: 1 }, [
1942
+ a.value ? (m(), g(S, { key: 1 }, [
1940
1943
  I("button", {
1941
1944
  class: "db-navigation-item-expand-button",
1942
1945
  "aria-haspopup": e.value,
1943
- "aria-expanded": c.value,
1946
+ "aria-expanded": v.value,
1944
1947
  disabled: _.disabled,
1945
- onClick: f[0] || (f[0] = async (o) => B(o))
1948
+ onClick: c[0] || (c[0] = async (s) => B(s))
1946
1949
  }, [
1947
- _.text ? (m(), g(C, { key: 0 }, [
1950
+ _.text ? (m(), g(S, { key: 0 }, [
1948
1951
  L(k(_.text), 1)
1949
1952
  ], 64)) : w(_.$slots, "default", { key: 1 })
1950
- ], 8, qa),
1953
+ ], 8, Ga),
1951
1954
  I("menu", {
1952
1955
  class: "db-sub-navigation",
1953
1956
  "data-auto-close": l.value,
1954
1957
  id: p.value,
1955
- onClick: f[1] || (f[1] = async (o) => s(o))
1958
+ onClick: c[1] || (c[1] = async (s) => n(s))
1956
1959
  }, [
1957
- e.value ? (m(), g("div", Wa, [
1958
- O(de, {
1960
+ e.value ? (m(), g("div", Oa, [
1961
+ O(oe, {
1959
1962
  icon: "arrow_left",
1960
1963
  variant: "ghost",
1961
1964
  id: _.backButtonId,
1962
- onClick: (o) => $(o)
1965
+ onClick: (s) => $(s)
1963
1966
  }, {
1964
1967
  default: R(() => [
1965
- L(k(_.backButtonText ?? v($e)), 1)
1968
+ L(k(_.backButtonText ?? f($e)), 1)
1966
1969
  ]),
1967
1970
  _: 1
1968
1971
  }, 8, ["id", "onClick"])
1969
1972
  ])) : M("", !0),
1970
1973
  w(_.$slots, "sub-navigation")
1971
- ], 8, Oa)
1974
+ ], 8, qa)
1972
1975
  ], 64)) : M("", !0)
1973
- ], 42, Ga));
1976
+ ], 42, Va));
1974
1977
  }
1975
- }), Xa = ["id"], Ha = ["aria-disabled", "open"], ja = /* @__PURE__ */ E({
1978
+ }), Wa = ["id"], Xa = ["aria-disabled", "open"], Ha = /* @__PURE__ */ A({
1976
1979
  __name: "accordion-item",
1977
1980
  props: {
1978
1981
  defaultOpen: { type: Boolean, default: void 0 },
@@ -1988,43 +1991,43 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
1988
1991
  autofocus: { type: Boolean },
1989
1992
  onToggle: { type: Function, default: void 0 }
1990
1993
  },
1991
- setup(t) {
1992
- const n = t, d = u(ee), e = u(!1), a = u(null);
1994
+ setup(i) {
1995
+ const t = i, o = u(ee), e = u(!1), a = u(null);
1993
1996
  U(() => {
1994
- d.value = n.id || "accordion-item-" + G(), n.defaultOpen && (e.value = n.defaultOpen);
1997
+ o.value = t.id || "accordion-item-" + G(), t.defaultOpen && (e.value = t.defaultOpen);
1995
1998
  });
1996
- function c(l) {
1999
+ function v(l) {
1997
2000
  l == null || l.preventDefault();
1998
2001
  const p = !e.value;
1999
- n.onToggle && n.onToggle(p), e.value = p;
2002
+ t.onToggle && t.onToggle(p), e.value = p;
2000
2003
  }
2001
2004
  return (l, p) => (m(), g("li", {
2002
- id: d.value,
2003
- class: N(v(A)("db-accordion-item", n.class))
2005
+ id: o.value,
2006
+ class: E(f(N)("db-accordion-item", t.class))
2004
2007
  }, [
2005
2008
  I("details", {
2006
- "aria-disabled": v(V)(l.disabled),
2009
+ "aria-disabled": f(V)(l.disabled),
2007
2010
  ref_key: "_ref",
2008
2011
  ref: a,
2009
2012
  open: e.value
2010
2013
  }, [
2011
2014
  I("summary", {
2012
- onClick: p[0] || (p[0] = async (i) => c(i))
2015
+ onClick: p[0] || (p[0] = async (d) => v(d))
2013
2016
  }, [
2014
- l.headlinePlain ? (m(), g(C, { key: 0 }, [
2017
+ l.headlinePlain ? (m(), g(S, { key: 0 }, [
2015
2018
  L(k(l.headlinePlain), 1)
2016
2019
  ], 64)) : M("", !0),
2017
2020
  l.headlinePlain ? M("", !0) : w(l.$slots, "headline", { key: 1 })
2018
2021
  ]),
2019
2022
  I("div", null, [
2020
- l.text ? (m(), g(C, { key: 0 }, [
2023
+ l.text ? (m(), g(S, { key: 0 }, [
2021
2024
  L(k(l.text), 1)
2022
2025
  ], 64)) : w(l.$slots, "default", { key: 1 })
2023
2026
  ])
2024
- ], 8, Ha)
2025
- ], 10, Xa));
2027
+ ], 8, Xa)
2028
+ ], 10, Wa));
2026
2029
  }
2027
- }), Ya = ["id", "data-variant"], Un = /* @__PURE__ */ E({
2030
+ }), ja = ["id", "data-variant"], zt = /* @__PURE__ */ A({
2028
2031
  __name: "accordion",
2029
2032
  props: {
2030
2033
  behavior: { default: void 0 },
@@ -2040,14 +2043,14 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2040
2043
  id: { default: void 0 },
2041
2044
  autofocus: { type: Boolean }
2042
2045
  },
2043
- setup(t) {
2044
- const n = t, d = u(ee), e = u(""), a = u(!1), c = u(!1), l = u(null);
2046
+ setup(i) {
2047
+ const t = i, o = u(ee), e = u(""), a = u(!1), v = u(!1), l = u(null);
2045
2048
  U(() => {
2046
- d.value = n.id || "accordion-" + G(), a.value = !0, c.value = !0;
2049
+ o.value = t.id || "accordion-" + G(), a.value = !0, v.value = !0;
2047
2050
  }), z(
2048
- () => [a.value, n.name, n.behavior, d.value],
2051
+ () => [a.value, t.name, t.behavior, o.value],
2049
2052
  () => {
2050
- a.value && (n.behavior === "single" ? n.name ? e.value !== n.name && (e.value = n.name) : e.value !== d.value && d.value && (e.value = d.value) : e.value = "");
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 = "");
2051
2054
  },
2052
2055
  {
2053
2056
  immediate: !0,
@@ -2057,9 +2060,9 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2057
2060
  () => [l.value, e.value],
2058
2061
  () => {
2059
2062
  if (l.value) {
2060
- const i = l.value.getElementsByTagName("details");
2061
- if (i)
2062
- 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))
2063
2066
  e.value === "" ? h.removeAttribute("name") : h.name = e.value;
2064
2067
  }
2065
2068
  },
@@ -2068,22 +2071,22 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2068
2071
  flush: "post"
2069
2072
  }
2070
2073
  ), z(
2071
- () => [l.value, c.value, n.initOpenIndex],
2074
+ () => [l.value, v.value, t.initOpenIndex],
2072
2075
  () => {
2073
- var i;
2074
- if (l.value && c.value) {
2075
- 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) {
2076
2079
  const h = l.value.getElementsByTagName("details");
2077
2080
  if (h) {
2078
- 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;
2079
2082
  Array.from(h).forEach(
2080
2083
  (B, $) => {
2081
- s.includes($) && (B.open = !0);
2084
+ n.includes($) && (B.open = !0);
2082
2085
  }
2083
2086
  );
2084
2087
  }
2085
2088
  }
2086
- c.value = !1;
2089
+ v.value = !1;
2087
2090
  }
2088
2091
  },
2089
2092
  {
@@ -2091,31 +2094,31 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2091
2094
  flush: "post"
2092
2095
  }
2093
2096
  );
2094
- function p(i) {
2097
+ function p(d) {
2095
2098
  try {
2096
- return typeof i == "string" ? JSON.parse(i) : i;
2099
+ return typeof d == "string" ? JSON.parse(d) : d;
2097
2100
  } catch (h) {
2098
2101
  console.error(h);
2099
2102
  }
2100
2103
  return [];
2101
2104
  }
2102
- return (i, h) => (m(), g("ul", {
2105
+ return (d, h) => (m(), g("ul", {
2103
2106
  ref_key: "_ref",
2104
2107
  ref: l,
2105
- id: d.value,
2106
- class: N(v(A)("db-accordion", n.class)),
2107
- "data-variant": i.variant
2108
+ id: o.value,
2109
+ class: E(f(N)("db-accordion", t.class)),
2110
+ "data-variant": d.variant
2108
2111
  }, [
2109
- i.items ? M("", !0) : w(i.$slots, "default", { key: 0 }),
2110
- i.items ? (m(!0), g(C, { key: 1 }, te(p(i.items), (s, B) => (m(), X(ja, {
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, {
2111
2114
  key: `accordion-item-${B}`,
2112
- headlinePlain: s.headlinePlain,
2113
- disabled: s.disabled,
2114
- text: s.text
2115
+ headlinePlain: n.headlinePlain,
2116
+ disabled: n.disabled,
2117
+ text: n.text
2115
2118
  }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : M("", !0)
2116
- ], 10, Ya));
2119
+ ], 10, ja));
2117
2120
  }
2118
- }), Ka = ["id", "aria-labelledby"], Pn = /* @__PURE__ */ E({
2121
+ }), Ya = ["id", "aria-labelledby"], Rt = /* @__PURE__ */ A({
2119
2122
  __name: "navigation",
2120
2123
  props: {
2121
2124
  children: { default: void 0 },
@@ -2126,23 +2129,23 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2126
2129
  autofocus: { type: Boolean },
2127
2130
  labelledBy: { default: void 0 }
2128
2131
  },
2129
- setup(t) {
2130
- const n = t, d = u(ee), e = u(null);
2132
+ setup(i) {
2133
+ const t = i, o = u(ee), e = u(null);
2131
2134
  return U(() => {
2132
- d.value = n.id || "navigation-" + G();
2133
- }), (a, c) => (m(), g("nav", {
2135
+ o.value = t.id || "navigation-" + G();
2136
+ }), (a, v) => (m(), g("nav", {
2134
2137
  ref_key: "_ref",
2135
2138
  ref: e,
2136
- id: d.value,
2139
+ id: o.value,
2137
2140
  "aria-labelledby": a.labelledBy,
2138
- class: N(v(A)("db-navigation", n.class))
2141
+ class: E(f(N)("db-navigation", t.class))
2139
2142
  }, [
2140
2143
  I("menu", null, [
2141
2144
  w(a.$slots, "default")
2142
2145
  ])
2143
- ], 10, Ka));
2146
+ ], 10, Ya));
2144
2147
  }
2145
- }), 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({
2146
2149
  __name: "popover",
2147
2150
  props: {
2148
2151
  open: { type: Boolean, default: void 0 },
@@ -2160,16 +2163,16 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2160
2163
  animation: { type: Boolean, default: void 0 },
2161
2164
  width: { default: void 0 }
2162
2165
  },
2163
- setup(t) {
2164
- const n = t, d = u(!1), e = u(!1), a = u(null);
2166
+ setup(i) {
2167
+ const t = i, o = u(!1), e = u(!1), a = u(null);
2165
2168
  U(() => {
2166
- d.value = !0;
2169
+ o.value = !0;
2167
2170
  }), z(
2168
- () => [a.value, d.value],
2171
+ () => [a.value, o.value],
2169
2172
  () => {
2170
- if (a.value && d.value) {
2171
- const i = p();
2172
- 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;
2173
2176
  }
2174
2177
  },
2175
2178
  {
@@ -2180,8 +2183,8 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2180
2183
  () => [a.value, e.value],
2181
2184
  () => {
2182
2185
  if (a.value) {
2183
- const i = p();
2184
- i && (i.ariaExpanded = (!!e.value).toString());
2186
+ const d = p();
2187
+ d && (d.ariaExpanded = (!!e.value).toString());
2185
2188
  }
2186
2189
  },
2187
2190
  {
@@ -2189,52 +2192,52 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2189
2192
  flush: "post"
2190
2193
  }
2191
2194
  );
2192
- function c() {
2195
+ function v() {
2193
2196
  if (e.value = !0, !a.value) return;
2194
- const i = a.value.querySelector("article");
2195
- i && se(i);
2197
+ const d = a.value.querySelector("article");
2198
+ d && ne(d);
2196
2199
  }
2197
- function l(i) {
2198
- const h = i.target;
2200
+ function l(d) {
2201
+ const h = d.target;
2199
2202
  (!h.parentNode || h.parentNode.querySelector(":focus") !== h && h.parentNode.querySelector(":focus-within") !== h && h.parentNode.querySelector(":hover") !== h) && (e.value = !1);
2200
2203
  }
2201
2204
  function p() {
2202
- var i;
2205
+ var d;
2203
2206
  if (a.value) {
2204
2207
  const h = Array.from(a.value.children);
2205
2208
  if (h.length >= 2) {
2206
- const s = h[0];
2207
- return s.tagName.includes("-") ? ((i = s.children) == null ? void 0 : i.length) > 0 ? s.children[0] : null : s;
2209
+ const n = h[0];
2210
+ return n.tagName.includes("-") ? ((d = n.children) == null ? void 0 : d.length) > 0 ? n.children[0] : null : n;
2208
2211
  }
2209
2212
  }
2210
2213
  return null;
2211
2214
  }
2212
- return (i, h) => (m(), g("div", {
2215
+ return (d, h) => (m(), g("div", {
2213
2216
  ref_key: "_ref",
2214
2217
  ref: a,
2215
- id: i.id,
2216
- class: N(v(A)("db-popover", n.class)),
2217
- onFocus: h[0] || (h[0] = async (s) => c()),
2218
- onBlur: h[1] || (h[1] = async (s) => l(s)),
2219
- onMouseenter: h[2] || (h[2] = async (s) => c()),
2220
- onMouseleave: h[3] || (h[3] = async (s) => l(s))
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))
2221
2224
  }, [
2222
- w(i.$slots, "trigger"),
2225
+ w(d.$slots, "trigger"),
2223
2226
  I("article", {
2224
2227
  class: "db-popover-content",
2225
- "data-spacing": i.spacing,
2226
- "data-gap": v(V)(i.gap),
2227
- "data-animation": v(V)(i.animation ?? !0),
2228
- "data-open": i.open,
2229
- "data-delay": i.delay,
2230
- "data-width": i.width,
2231
- "data-placement": i.placement
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
2232
2235
  }, [
2233
- w(i.$slots, "default")
2234
- ], 8, Qa)
2235
- ], 42, Ja));
2236
+ w(d.$slots, "default")
2237
+ ], 8, Ja)
2238
+ ], 42, Ka));
2236
2239
  }
2237
- }), 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({
2238
2241
  __name: "tooltip",
2239
2242
  props: {
2240
2243
  showArrow: { type: Boolean, default: void 0 },
@@ -2250,18 +2253,18 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2250
2253
  animation: { type: Boolean, default: void 0 },
2251
2254
  width: { default: void 0 }
2252
2255
  },
2253
- setup(t) {
2254
- const n = t, d = u(ee), e = u(!1), a = u(null);
2256
+ setup(i) {
2257
+ const t = i, o = u(ee), e = u(!1), a = u(null);
2255
2258
  U(() => {
2256
- d.value = n.id || "tooltip-" + G(), e.value = !0;
2259
+ o.value = t.id || "tooltip-" + G(), e.value = !0;
2257
2260
  }), z(
2258
2261
  () => [a.value, e.value],
2259
2262
  () => {
2260
- if (a.value && e.value && d.value) {
2263
+ if (a.value && e.value && o.value) {
2261
2264
  let p = a.value.parentElement;
2262
- p && p.localName.includes("tooltip") && (p = p.parentElement), p && (["mouseenter", "focus"].forEach((i) => {
2263
- p.addEventListener(i, () => l());
2264
- }), p.setAttribute("data-has-tooltip", "true"), p.setAttribute("aria-describedby", d.value)), e.value = !1;
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;
2265
2268
  }
2266
2269
  },
2267
2270
  {
@@ -2269,32 +2272,32 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2269
2272
  flush: "post"
2270
2273
  }
2271
2274
  );
2272
- function c(p) {
2275
+ function v(p) {
2273
2276
  p.stopPropagation();
2274
2277
  }
2275
2278
  function l() {
2276
- a.value && se(a.value);
2279
+ a.value && ne(a.value);
2277
2280
  }
2278
- return (p, i) => (m(), g("i", {
2281
+ return (p, d) => (m(), g("i", {
2279
2282
  role: "tooltip",
2280
2283
  "aria-hidden": "true",
2281
2284
  "data-gap": "true",
2282
2285
  ref_key: "_ref",
2283
2286
  ref: a,
2284
- class: N(v(A)("db-tooltip", n.class)),
2285
- id: d.value,
2287
+ class: E(f(N)("db-tooltip", t.class)),
2288
+ id: o.value,
2286
2289
  "data-emphasis": p.emphasis,
2287
- "data-animation": v(V)(p.animation ?? !0),
2290
+ "data-animation": f(V)(p.animation ?? !0),
2288
2291
  "data-delay": p.delay,
2289
2292
  "data-width": p.width,
2290
- "data-show-arrow": v(V)(p.showArrow ?? !0),
2293
+ "data-show-arrow": f(V)(p.showArrow ?? !0),
2291
2294
  "data-placement": p.placement,
2292
- onClick: i[0] || (i[0] = async (h) => c(h))
2295
+ onClick: d[0] || (d[0] = async (h) => v(h))
2293
2296
  }, [
2294
2297
  w(p.$slots, "default")
2295
- ], 10, Za));
2298
+ ], 10, Qa));
2296
2299
  }
2297
- }), xa = ["id"], en = { role: "tablist" }, an = /* @__PURE__ */ E({
2300
+ }), Za = ["id"], xa = { role: "tablist" }, et = /* @__PURE__ */ A({
2298
2301
  __name: "tab-list",
2299
2302
  props: {
2300
2303
  children: { default: void 0 },
@@ -2304,22 +2307,22 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2304
2307
  id: { default: void 0 },
2305
2308
  autofocus: { type: Boolean }
2306
2309
  },
2307
- setup(t) {
2308
- const n = t, d = u(ee), e = u(null);
2310
+ setup(i) {
2311
+ const t = i, o = u(ee), e = u(null);
2309
2312
  return U(() => {
2310
- d.value = n.id || "tab-list-" + G();
2311
- }), (a, c) => (m(), g("div", {
2313
+ o.value = t.id || "tab-list-" + G();
2314
+ }), (a, v) => (m(), g("div", {
2312
2315
  ref_key: "_ref",
2313
2316
  ref: e,
2314
- id: d.value,
2315
- class: N(v(A)("db-tab-list", n.class))
2317
+ id: o.value,
2318
+ class: E(f(N)("db-tab-list", t.class))
2316
2319
  }, [
2317
- I("ul", en, [
2320
+ I("ul", xa, [
2318
2321
  w(a.$slots, "default")
2319
2322
  ])
2320
- ], 10, xa));
2323
+ ], 10, Za));
2321
2324
  }
2322
- }), nn = ["id", "aria-labelledby"], tn = /* @__PURE__ */ E({
2325
+ }), at = ["id", "aria-labelledby"], tt = /* @__PURE__ */ A({
2323
2326
  __name: "tab-panel",
2324
2327
  props: {
2325
2328
  content: { default: void 0 },
@@ -2331,24 +2334,24 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2331
2334
  autofocus: { type: Boolean },
2332
2335
  labelledBy: { default: void 0 }
2333
2336
  },
2334
- setup(t) {
2335
- const n = t, d = u(null);
2337
+ setup(i) {
2338
+ const t = i, o = u(null);
2336
2339
  return U(() => {
2337
2340
  }), (e, a) => (m(), g("section", {
2338
2341
  role: "tabpanel",
2339
2342
  ref_key: "_ref",
2340
- ref: d,
2341
- class: N(v(A)("db-tab-panel", n.class)),
2343
+ ref: o,
2344
+ class: E(f(N)("db-tab-panel", t.class)),
2342
2345
  id: e.id,
2343
2346
  "aria-labelledby": e.labelledBy
2344
2347
  }, [
2345
- e.content ? (m(), g(C, { key: 0 }, [
2348
+ e.content ? (m(), g(S, { key: 0 }, [
2346
2349
  L(k(e.content), 1)
2347
2350
  ], 64)) : M("", !0),
2348
2351
  w(e.$slots, "default")
2349
- ], 10, nn));
2352
+ ], 10, at));
2350
2353
  }
2351
- }), 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({
2352
2355
  __name: "tabs",
2353
2356
  props: {
2354
2357
  arrowScrollDistance: { default: void 0 },
@@ -2369,21 +2372,21 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2369
2372
  width: { default: void 0 },
2370
2373
  alignment: { default: void 0 }
2371
2374
  },
2372
- setup(t) {
2373
- const n = t, d = u("tabs-" + G()), e = u(""), a = u(!1), c = u(!1), l = u(!1), p = u(null), i = u(null);
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);
2374
2377
  U(() => {
2375
- d.value = n.id || d.value, e.value = `tabs-${n.name || G()}`, a.value = !0;
2378
+ o.value = t.id || o.value, e.value = `tabs-${t.name || G()}`, a.value = !0;
2376
2379
  }), z(
2377
- () => [i.value, a.value],
2380
+ () => [d.value, a.value],
2378
2381
  () => {
2379
- if (i.value && a.value) {
2382
+ if (d.value && a.value) {
2380
2383
  $(), D(!0);
2381
- const f = i.value.querySelector(".db-tab-list");
2382
- f && new MutationObserver((y) => {
2384
+ const c = d.value.querySelector(".db-tab-list");
2385
+ c && new MutationObserver((y) => {
2383
2386
  y.forEach((r) => {
2384
2387
  (r.removedNodes.length || r.addedNodes.length) && ($(), D());
2385
2388
  });
2386
- }).observe(f, {
2389
+ }).observe(c, {
2387
2390
  childList: !0,
2388
2391
  subtree: !0
2389
2392
  }), a.value = !1;
@@ -2394,64 +2397,64 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2394
2397
  flush: "post"
2395
2398
  }
2396
2399
  );
2397
- function h(f) {
2400
+ function h(c) {
2398
2401
  try {
2399
- return typeof f == "string" ? JSON.parse(f) : f;
2400
- } catch (o) {
2401
- console.error(o);
2402
+ return typeof c == "string" ? JSON.parse(c) : c;
2403
+ } catch (s) {
2404
+ console.error(s);
2402
2405
  }
2403
2406
  return [];
2404
2407
  }
2405
- function s(f) {
2406
- const o = f.scrollWidth > f.clientWidth;
2407
- c.value = o && f.scrollLeft > 1, l.value = o && f.scrollLeft < f.scrollWidth - f.clientWidth;
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;
2408
2411
  }
2409
- function B(f) {
2412
+ function B(c) {
2410
2413
  var y;
2411
- let o = n.arrowScrollDistance || 100;
2412
- f && (o *= -1), (y = p.value) == null || y.scrollBy({
2414
+ let s = t.arrowScrollDistance || 100;
2415
+ c && (s *= -1), (y = p.value) == null || y.scrollBy({
2413
2416
  top: 0,
2414
- left: o,
2417
+ left: s,
2415
2418
  behavior: "smooth"
2416
2419
  });
2417
2420
  }
2418
2421
  function $() {
2419
- if (i.value) {
2420
- const f = i.value.querySelector(".db-tab-list");
2421
- if (f) {
2422
- const o = f.querySelector('[role="tablist"]');
2423
- o && (o.setAttribute(
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(
2424
2427
  "aria-orientation",
2425
- n.orientation || "horizontal"
2426
- ), n.behavior === "arrows" && (p.value = o, s(o), o.addEventListener("scroll", () => {
2427
- s(o);
2428
+ t.orientation || "horizontal"
2429
+ ), t.behavior === "arrows" && (p.value = s, n(s), s.addEventListener("scroll", () => {
2430
+ n(s);
2428
2431
  })));
2429
2432
  }
2430
2433
  }
2431
2434
  }
2432
- function D(f) {
2433
- if (i.value) {
2434
- const o = Array.from(
2435
- 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")
2436
2439
  );
2437
- for (const r of o) {
2438
- const T = o.indexOf(r), b = r.querySelector("label"), S = r.querySelector("input");
2439
- if (S && b) {
2440
- if (!S.id) {
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) {
2441
2444
  const F = `${e.value}-tab-${T}`;
2442
- b.setAttribute("for", F), S.setAttribute(
2445
+ b.setAttribute("for", F), C.setAttribute(
2443
2446
  "aria-controls",
2444
2447
  `${e.value}-tab-panel-${T}`
2445
- ), S.id = F, S.setAttribute("name", e.value);
2448
+ ), C.id = F, C.setAttribute("name", e.value);
2446
2449
  }
2447
- if (f) {
2448
- const F = !n.initialSelectedMode || n.initialSelectedMode === "auto", ne = n.initialSelectedIndex == null && T === 0 || n.initialSelectedIndex === T;
2449
- F && ne && S.click();
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();
2450
2453
  }
2451
2454
  }
2452
2455
  }
2453
2456
  const y = Array.from(
2454
- i.value.querySelectorAll(
2457
+ d.value.querySelectorAll(
2455
2458
  ":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"
2456
2459
  )
2457
2460
  );
@@ -2462,28 +2465,28 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2462
2465
  }
2463
2466
  }
2464
2467
  }
2465
- function _(f) {
2466
- if (n.onIndexChange && f.target) {
2467
- const o = f.target.closest("ul"), y = (
2468
+ function _(c) {
2469
+ if (t.onIndexChange && c.target) {
2470
+ const s = c.target.closest("ul"), y = (
2468
2471
  // db-tab-item for angular and stencil wrapping elements
2469
- f.target.closest("db-tab-item") ?? f.target.closest("li")
2472
+ c.target.closest("db-tab-item") ?? c.target.closest("li")
2470
2473
  );
2471
- o !== null && y !== null && n.onIndexChange(Array.from(o.childNodes).indexOf(y));
2474
+ s !== null && y !== null && t.onIndexChange(Array.from(s.childNodes).indexOf(y));
2472
2475
  }
2473
- n.onTabSelect && n.onTabSelect(f);
2476
+ t.onTabSelect && t.onTabSelect(c);
2474
2477
  }
2475
- return (f, o) => (m(), g("div", {
2478
+ return (c, s) => (m(), g("div", {
2476
2479
  ref_key: "_ref",
2477
- ref: i,
2478
- id: d.value,
2479
- class: N(v(A)("db-tabs", n.class)),
2480
- "data-orientation": f.orientation,
2481
- "data-scroll-behavior": f.behavior,
2482
- "data-alignment": f.alignment ?? "start",
2483
- "data-width": f.width ?? "auto",
2484
- onInput: o[0] || (o[0] = async (y) => _(y))
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))
2485
2488
  }, [
2486
- c.value ? (m(), X(de, {
2489
+ v.value ? (m(), X(oe, {
2487
2490
  key: 0,
2488
2491
  class: "tabs-scroll-left",
2489
2492
  variant: "ghost",
@@ -2492,16 +2495,16 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2492
2495
  noText: !0,
2493
2496
  onClick: (y) => B(!0)
2494
2497
  }, {
2495
- default: R(() => o[1] || (o[1] = [
2498
+ default: R(() => s[1] || (s[1] = [
2496
2499
  L(" Scroll left ")
2497
2500
  ])),
2498
2501
  _: 1
2499
2502
  }, 8, ["onClick"])) : M("", !0),
2500
- f.tabs ? (m(), g(C, { key: 1 }, [
2501
- O(an, null, {
2503
+ c.tabs ? (m(), g(S, { key: 1 }, [
2504
+ O(et, null, {
2502
2505
  default: R(() => [
2503
- (m(!0), g(C, null, te(h(f.tabs), (y, r) => (m(), X(Da, {
2504
- key: f.name + "tab-item" + r,
2506
+ (m(!0), g(S, null, ie(h(c.tabs), (y, r) => (m(), X(Sa, {
2507
+ key: c.name + "tab-item" + r,
2505
2508
  active: y.active,
2506
2509
  label: y.label,
2507
2510
  iconAfter: y.iconAfter,
@@ -2511,8 +2514,8 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2511
2514
  ]),
2512
2515
  _: 1
2513
2516
  }),
2514
- (m(!0), g(C, null, te(h(f.tabs), (y, r) => (m(), X(tn, {
2515
- key: f.name + "tab-panel" + r,
2517
+ (m(!0), g(S, null, ie(h(c.tabs), (y, r) => (m(), X(tt, {
2518
+ key: c.name + "tab-panel" + r,
2516
2519
  content: y.content
2517
2520
  }, {
2518
2521
  default: R(() => [
@@ -2521,7 +2524,7 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2521
2524
  _: 2
2522
2525
  }, 1032, ["content"]))), 128))
2523
2526
  ], 64)) : M("", !0),
2524
- l.value ? (m(), X(de, {
2527
+ l.value ? (m(), X(oe, {
2525
2528
  key: 2,
2526
2529
  class: "tabs-scroll-right",
2527
2530
  variant: "ghost",
@@ -2530,15 +2533,15 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2530
2533
  noText: !0,
2531
2534
  onClick: (y) => B()
2532
2535
  }, {
2533
- default: R(() => o[2] || (o[2] = [
2536
+ default: R(() => s[2] || (s[2] = [
2534
2537
  L(" Scroll right ")
2535
2538
  ])),
2536
2539
  _: 1
2537
2540
  }, 8, ["onClick"])) : M("", !0),
2538
- w(f.$slots, "default")
2539
- ], 42, dn));
2541
+ w(c.$slots, "default")
2542
+ ], 42, it));
2540
2543
  }
2541
- }), On = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], Wn = ["medium", "small", "large", "none"], Xn = ["medium", "small", "large", "none"], Hn = ["left", "right", "top", "bottom", "left-start", "left-end", "right-start", "right-end", "top-start", "top-end", "bottom-start", "bottom-end"], jn = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], Yn = ["horizontal", "vertical"], Kn = ["full", "auto"], Jn = ["full", "medium", "large", "small"], Qn = ["none", "slow", "fast"], Zn = ["auto", "fixed"], xn = ["small", "medium"], ln = ["weak", "strong"], et = [...ln, "origin"], at = ["invalid", "valid", "no-validation"], nt = ["above", "floating"], tt = ["off", "on", "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "email", "username", "new-password", "current-password", "one-time-code", "organization-title", "organization", "street-address", "shipping", "billing", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-extension", "impp", "url", "photo", "webauthn"], dt = ["time", "true", "false", "date", "page", "step", "location"], it = ["_self", "_blank", "_parent", "_top"], lt = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], st = ["start", "center"], sn = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], ot = /* @__PURE__ */ E({
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({
2542
2545
  __name: "stack",
2543
2546
  props: {
2544
2547
  variant: { default: void 0 },
@@ -2554,66 +2557,66 @@ const Je = ["id", "data-width", "data-on-forcing-mobile"], Qe = { class: "db-hea
2554
2557
  autofocus: { type: Boolean },
2555
2558
  gap: { default: void 0 }
2556
2559
  },
2557
- setup(t) {
2558
- const n = t, d = u(null);
2560
+ setup(i) {
2561
+ const t = i, o = u(null);
2559
2562
  return (e, a) => (m(), g("div", {
2560
2563
  ref_key: "_ref",
2561
- ref: d,
2564
+ ref: o,
2562
2565
  id: e.id,
2563
- class: N(v(A)("db-stack", n.class)),
2566
+ class: E(f(N)("db-stack", t.class)),
2564
2567
  "data-gap": e.gap,
2565
2568
  "data-variant": e.variant,
2566
2569
  "data-direction": e.direction,
2567
2570
  "data-alignment": e.alignment,
2568
2571
  "data-justify-content": e.justifyContent,
2569
- "data-wrap": v(V)(e.wrap)
2572
+ "data-wrap": f(V)(e.wrap)
2570
2573
  }, [
2571
2574
  w(e.$slots, "default")
2572
- ], 10, sn));
2575
+ ], 10, dt));
2573
2576
  }
2574
2577
  });
2575
2578
  export {
2576
- st as AlignmentList,
2577
- tt as AutoCompleteList,
2579
+ di as AlignmentList,
2580
+ ai as AutoCompleteList,
2578
2581
  he as COLOR,
2579
- mn as COLORS,
2580
- bn as COLORS_SIMPLE,
2581
- pn as COLOR_CONST,
2582
+ pt as COLORS,
2583
+ ht as COLORS_SIMPLE,
2584
+ vt as COLOR_CONST,
2582
2585
  pe as COLOR_SIMPLE,
2583
- Un as DBAccordion,
2584
- ja as DBAccordionItem,
2585
- kn as DBBadge,
2586
- wn as DBBrand,
2587
- de as DBButton,
2588
- In as DBCard,
2589
- _n as DBCheckbox,
2590
- $n as DBDivider,
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,
2591
2594
  Ye as DBDrawer,
2592
- Ln as DBHeader,
2593
- En as DBIcon,
2595
+ _t as DBHeader,
2596
+ $t as DBIcon,
2594
2597
  W as DBInfotext,
2595
- Nn as DBInput,
2596
- An as DBLink,
2597
- Pn as DBNavigation,
2598
- Rn as DBNavigationItem,
2599
- Bn as DBNotification,
2600
- Fn as DBPage,
2601
- Vn as DBPopover,
2602
- Tn as DBRadio,
2603
- Sn as DBSection,
2604
- Cn as DBSelect,
2605
- ot as DBStack,
2606
- Dn as DBSwitch,
2607
- Da as DBTabItem,
2608
- an as DBTabList,
2609
- tn as DBTabPanel,
2610
- qn as DBTabs,
2611
- Mn as DBTag,
2612
- zn as DBTextarea,
2613
- Gn as DBTooltip,
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,
2614
2617
  $e as DEFAULT_BACK,
2615
2618
  Le as DEFAULT_BURGER_MENU,
2616
- ce as DEFAULT_CLOSE_BUTTON,
2619
+ ve as DEFAULT_CLOSE_BUTTON,
2617
2620
  ue as DEFAULT_DATALIST_ID_SUFFIX,
2618
2621
  Ee as DEFAULT_ICON,
2619
2622
  ee as DEFAULT_ID,
@@ -2621,50 +2624,50 @@ export {
2621
2624
  Q as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
2622
2625
  le as DEFAULT_LABEL,
2623
2626
  K as DEFAULT_MESSAGE_ID_SUFFIX,
2624
- fe as DEFAULT_PLACEHOLDER,
2625
- oe as DEFAULT_PLACEHOLDER_ID_SUFFIX,
2627
+ ce as DEFAULT_PLACEHOLDER,
2628
+ se as DEFAULT_PLACEHOLDER_ID_SUFFIX,
2626
2629
  Ne as DEFAULT_ROWS,
2627
2630
  Z as DEFAULT_VALID_MESSAGE,
2628
2631
  J as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
2629
2632
  Ae as DEFAULT_VIEWPORT,
2630
- hn as DENSITIES,
2631
- ve as DENSITY,
2632
- vn as DENSITY_CONST,
2633
+ ft as DENSITIES,
2634
+ fe as DENSITY,
2635
+ ct as DENSITY_CONST,
2633
2636
  Fe as DESKTOP_VIEWPORT,
2634
- ln as EmphasisList,
2635
- jn as GapSpacingList,
2636
- nt as LabelVariantList,
2637
- dt as LinkCurrentList,
2638
- lt as LinkReferrerPolicyList,
2639
- it as LinkTargetList,
2640
- Xn as MarginList,
2641
- Jn as MaxWidthList,
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,
2642
2645
  Ke as NavigationItemSafeTriangle,
2643
- Yn as OrientationList,
2644
- Hn as PlacementList,
2645
- Qn as PopoverDelayList,
2646
- Zn as PopoverWidthList,
2646
+ Ht as OrientationList,
2647
+ Wt as PlacementList,
2648
+ Kt as PopoverDelayList,
2649
+ Jt as PopoverWidthList,
2647
2650
  me as SEMANTIC,
2648
- gn as SEMANTICS,
2649
- On as SemanticList,
2650
- xn as SizeList,
2651
- Wn as SpacingList,
2652
- yn as TESTING_VIEWPORTS,
2653
- et as TagEmphasisList,
2654
- at as ValidationList,
2655
- Kn as WidthList,
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,
2656
2659
  re as addAttributeToChildren,
2657
- A as cls,
2660
+ N as cls,
2658
2661
  H as delay,
2659
2662
  V as getBooleanAsString,
2660
2663
  P as getHideProp,
2661
- se as handleDataOutside,
2664
+ ne as handleDataOutside,
2662
2665
  Y as hasVoiceOver,
2663
2666
  we as isArrayOfStrings,
2664
2667
  be as isEventTargetNavigationItem,
2665
2668
  ke as isInView,
2666
2669
  q as stringPropVisible,
2667
2670
  G as uuid,
2668
- fn as visibleInVX,
2669
- cn as visibleInVY
2671
+ ut as visibleInVX,
2672
+ rt as visibleInVY
2670
2673
  };