@db-ux/v-core-components 2.0.5 → 2.0.7

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,7 +1,7 @@
1
- var ha = Object.defineProperty;
2
- var ga = (l, a, i) => a in l ? ha(l, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : l[a] = i;
3
- var se = (l, a, i) => ga(l, typeof a != "symbol" ? a + "" : a, i);
4
- import { defineComponent as U, ref as n, createElementBlock as h, openBlock as f, unref as d, normalizeClass as z, renderSlot as T, Fragment as G, createTextVNode as C, toDisplayString as S, createCommentVNode as F, createElementVNode as _, createBlock as J, withCtx as V, onMounted as Y, watch as A, createVNode as te, renderList as ge, onUnmounted as ba } from "vue";
1
+ var ga = Object.defineProperty;
2
+ var ba = (l, a, i) => a in l ? ga(l, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : l[a] = i;
3
+ var se = (l, a, i) => ba(l, typeof a != "symbol" ? a + "" : a, i);
4
+ import { defineComponent as q, ref as n, createElementBlock as g, openBlock as p, unref as d, normalizeClass as P, renderSlot as T, Fragment as U, createTextVNode as C, toDisplayString as S, createCommentVNode as F, createElementVNode as I, createBlock as J, withCtx as V, onMounted as Y, watch as A, createVNode as te, renderList as he, onUnmounted as ya } from "vue";
5
5
  const Q = () => {
6
6
  var l, a;
7
7
  if (typeof window < "u") {
@@ -11,12 +11,12 @@ const Q = () => {
11
11
  return window.crypto.getRandomValues(new Uint32Array(3)).join("-");
12
12
  }
13
13
  return Math.random().toString().substring(2);
14
- }, Ye = (l, a) => {
14
+ }, Ke = (l, a) => {
15
15
  const i = l.children;
16
16
  Object.values(i).forEach((e) => {
17
- e.setAttribute(a.key, a.value), e.children.length > 0 && Ye(e, a);
17
+ e.setAttribute(a.key, a.value), e.children.length > 0 && Ke(e, a);
18
18
  });
19
- }, q = (...l) => {
19
+ }, z = (...l) => {
20
20
  let a = "";
21
21
  for (const i of l)
22
22
  if (i)
@@ -42,7 +42,7 @@ const Q = () => {
42
42
  innerHeight: e
43
43
  } = window;
44
44
  return a >= 0 && i <= e;
45
- }, ya = (l) => {
45
+ }, ka = (l) => {
46
46
  var N;
47
47
  const {
48
48
  top: a,
@@ -50,16 +50,16 @@ const Q = () => {
50
50
  left: e,
51
51
  right: t
52
52
  } = l.getBoundingClientRect(), {
53
- innerHeight: c,
54
- innerWidth: r
53
+ innerHeight: v,
54
+ innerWidth: u
55
55
  } = window;
56
- let m = a < 0, s = i > c, u = e < 0, v = t > r;
57
- const I = l.hasAttribute("data-outside-vy"), L = l.hasAttribute("data-outside-vx"), B = (N = l == null ? void 0 : l.parentElement) == null ? void 0 : N.getBoundingClientRect();
58
- return B && (I && (l.getAttribute("data-outside-vy") === "top" ? m = B.top - (i - B.bottom) < 0 : s = B.bottom + (B.top - a) > c), L && (l.getAttribute("data-outside-vx") === "left" ? u = B.left - (t - B.right) < 0 : v = B.right + (B.left - e) > r)), {
59
- outTop: m,
56
+ let h = a < 0, s = i > v, r = e < 0, c = t > u;
57
+ const _ = l.hasAttribute("data-outside-vy"), L = l.hasAttribute("data-outside-vx"), B = (N = l == null ? void 0 : l.parentElement) == null ? void 0 : N.getBoundingClientRect();
58
+ return B && (_ && (l.getAttribute("data-outside-vy") === "top" ? h = B.top - (i - B.bottom) < 0 : s = B.bottom + (B.top - a) > v), L && (l.getAttribute("data-outside-vx") === "left" ? r = B.left - (t - B.right) < 0 : c = B.right + (B.left - e) > u)), {
59
+ outTop: h,
60
60
  outBottom: s,
61
- outLeft: u,
62
- outRight: v
61
+ outLeft: r,
62
+ outRight: c
63
63
  };
64
64
  }, Fe = (l) => {
65
65
  const {
@@ -67,27 +67,27 @@ const Q = () => {
67
67
  outBottom: i,
68
68
  outLeft: e,
69
69
  outRight: t
70
- } = ya(l);
71
- let c = {};
72
- return a || i ? (c = {
70
+ } = ka(l);
71
+ let v = {};
72
+ return a || i ? (v = {
73
73
  vy: a ? "top" : "bottom"
74
- }, l.setAttribute("data-outside-vy", c.vy)) : l.removeAttribute("data-outside-vy"), e || t ? (c = {
75
- ...c,
74
+ }, l.setAttribute("data-outside-vy", v.vy)) : l.removeAttribute("data-outside-vy"), e || t ? (v = {
75
+ ...v,
76
76
  vx: t ? "right" : "left"
77
- }, l.setAttribute("data-outside-vx", c.vx)) : l.removeAttribute("data-outside-vx"), c;
78
- }, ka = (l) => Array.isArray(l) && l.every((a) => typeof a == "string"), Ba = ["Mac", "iPhone", "iPad", "iPod"], ue = () => typeof window < "u" && Ba.some((l) => window.navigator.userAgent.includes(l)), ee = (l, a) => new Promise(() => setTimeout(l, a)), H = (l) => {
77
+ }, l.setAttribute("data-outside-vx", v.vx)) : l.removeAttribute("data-outside-vx"), v;
78
+ }, Ba = (l) => Array.isArray(l) && l.every((a) => typeof a == "string"), Sa = ["Mac", "iPhone", "iPad", "iPod"], ue = () => typeof window < "u" && Sa.some((l) => window.navigator.userAgent.includes(l)), ee = (l, a) => new Promise(() => setTimeout(l, a)), H = (l) => {
79
79
  if (l != null)
80
80
  return String(typeof l == "string" ? !!l : l);
81
81
  }, M = (l, a) => {
82
82
  if (l != null)
83
83
  return typeof l == "string" && a ? !!(a === l || l) : !!l;
84
- }, he = (l, a) => {
84
+ }, ye = (l, a) => {
85
85
  if (!(l == null && a == null))
86
86
  return Number(l ?? a);
87
- }, K = (l) => {
87
+ }, We = (l, a) => a && ["number", "range"].includes(a) ? ye(l) : l, K = (l) => {
88
88
  if (l != null)
89
89
  return H(!l);
90
- }, Z = (l, a) => (a === void 0 || !!a) && !!l, We = (l) => l.querySelector('input[type="search"]'), Sa = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "form", "value", "aria-describedby", "aria-expanded", "aria-pressed"], Be = /* @__PURE__ */ U({
90
+ }, Z = (l, a) => (a === void 0 || !!a) && !!l, Xe = (l) => l.querySelector('input[type="search"]'), wa = ["id", "type", "disabled", "aria-label", "data-icon", "data-hide-icon", "data-size", "data-state", "data-width", "data-variant", "data-no-text", "name", "form", "value", "aria-describedby", "aria-expanded", "aria-pressed"], Be = /* @__PURE__ */ q({
91
91
  __name: "button",
92
92
  props: {
93
93
  ariaexpanded: { type: Boolean, default: void 0 },
@@ -117,13 +117,13 @@ const Q = () => {
117
117
  setup(l) {
118
118
  const a = l, i = n(null);
119
119
  function e(t) {
120
- a.onClick && a.onClick(t);
120
+ t.stopPropagation(), a.onClick && a.onClick(t);
121
121
  }
122
- return (t, c) => (f(), h("button", {
122
+ return (t, v) => (p(), g("button", {
123
123
  ref_key: "_ref",
124
124
  ref: i,
125
125
  id: t.id,
126
- class: z(d(q)("db-button", a.class)),
126
+ class: P(d(z)("db-button", a.class)),
127
127
  type: t.type || "button",
128
128
  disabled: d(M)(t.disabled, "disabled"),
129
129
  "aria-label": t.label,
@@ -140,36 +140,36 @@ const Q = () => {
140
140
  "aria-describedby": t.describedbyid,
141
141
  "aria-expanded": t.ariaexpanded,
142
142
  "aria-pressed": t.ariapressed,
143
- onClick: c[0] || (c[0] = async (r) => e(r))
143
+ onClick: v[0] || (v[0] = async (u) => e(u))
144
144
  }, [
145
- t.text ? (f(), h(G, { key: 0 }, [
145
+ t.text ? (p(), g(U, { key: 0 }, [
146
146
  C(S(t.text), 1)
147
147
  ], 64)) : T(t.$slots, "default", { key: 1 })
148
- ], 10, Sa));
148
+ ], 10, wa));
149
149
  }
150
- }), we = "OVERWRITE_DEFAULT_ID", ke = "LABEL SHOULD BE SET", Ke = " ", wa = "MESSAGE SHOULD BE SET", Xe = "-label", He = "-select", re = "-message", ve = "-valid-message", ce = "-invalid-message", Ne = "-placeholder", je = "-datalist", fe = "TODO: Add a validMessage", ie = "TODO: Add an invalidMessage", Je = "Remove", _a = "Back", Ia = "Selected", La = "BurgerMenu", Ta = "brand", $a = 4, ze = "Close", Gi = "density", Pi = "color";
151
- var Qe = /* @__PURE__ */ ((l) => (l.FUNCTIONAL = "functional", l.REGULAR = "regular", l.EXPRESSIVE = "expressive", l))(Qe || {});
152
- const Vi = Object.entries(Qe).map(([, l]) => l);
153
- var Ze = /* @__PURE__ */ ((l) => (l.PRIMARY = "primary", l))(Ze || {}), xe = /* @__PURE__ */ ((l) => (l.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", l.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", l.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", l.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", l.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", l.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", l.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", l.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", l.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", l.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", l.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", l.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", l.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", l.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", l.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", l.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", l.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", l.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", l.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", l.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", l.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", l.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", l.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", l.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", l.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", l.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", l.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", l.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", l.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", l.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", l))(xe || {});
154
- const Oi = Object.entries(xe).map(([, l]) => l), Wi = Object.entries(Ze).map(([, l]) => l);
155
- var ea = /* @__PURE__ */ ((l) => (l.CRITICAL = "critical", l.INFORMATIONAL = "informational", l.WARNING = "warning", l.SUCCESSFUL = "successful", l))(ea || {});
156
- const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
150
+ }), we = "OVERWRITE_DEFAULT_ID", ke = "LABEL SHOULD BE SET", Je = " ", Ia = "MESSAGE SHOULD BE SET", He = "-label", je = "-select", re = "-message", ce = "-valid-message", ve = "-invalid-message", Ne = "-placeholder", Ye = "-datalist", fe = "TODO: Add a validMessage", ie = "TODO: Add an invalidMessage", Qe = "Remove", _a = "Back", La = "Selected", Ta = "BurgerMenu", $a = "brand", Aa = 4, Pe = "Close", Gi = "density", Vi = "color";
151
+ var Ze = /* @__PURE__ */ ((l) => (l.FUNCTIONAL = "functional", l.REGULAR = "regular", l.EXPRESSIVE = "expressive", l))(Ze || {});
152
+ const Oi = Object.entries(Ze).map(([, l]) => l);
153
+ var xe = /* @__PURE__ */ ((l) => (l.PRIMARY = "primary", l))(xe || {}), ea = /* @__PURE__ */ ((l) => (l.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", l.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", l.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", l.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", l.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", l.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", l.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", l.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", l.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", l.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", l.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", l.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", l.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", l.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", l.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", l.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", l.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", l.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", l.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", l.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", l.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", l.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", l.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", l.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", l.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", l.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", l.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", l.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", l.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", l.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", l))(ea || {});
154
+ const Wi = Object.entries(ea).map(([, l]) => l), Xi = Object.entries(xe).map(([, l]) => l);
155
+ var aa = /* @__PURE__ */ ((l) => (l.CRITICAL = "critical", l.INFORMATIONAL = "informational", l.WARNING = "warning", l.SUCCESSFUL = "successful", l))(aa || {});
156
+ const Hi = Object.entries(aa).map(([, l]) => l), Ca = {
157
157
  width: 390,
158
158
  height: 884
159
- }, Ca = {
159
+ }, Ea = {
160
160
  width: 1920,
161
161
  height: 1280
162
- }, Hi = [{
162
+ }, ji = [{
163
163
  name: "desktop",
164
- ...Ca
164
+ ...Ea
165
165
  }, {
166
166
  name: "tablet",
167
167
  width: 768,
168
168
  height: 1024
169
169
  }, {
170
170
  name: "mobile",
171
- ...Aa
172
- }], Ea = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], Na = { key: 0 }, Da = { key: 1 }, ji = /* @__PURE__ */ U({
171
+ ...Ca
172
+ }], Na = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-hide-icon", "data-link-variant"], Da = { key: 0 }, Fa = { key: 1 }, Yi = /* @__PURE__ */ q({
173
173
  __name: "notification",
174
174
  props: {
175
175
  ariaLive: { default: void 0 },
@@ -203,13 +203,13 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
203
203
  setup(l) {
204
204
  const a = l, i = n(null);
205
205
  function e(t) {
206
- a.onClose && a.onClose(t);
206
+ t.stopPropagation(), a.onClose && a.onClose(t);
207
207
  }
208
- return (t, c) => (f(), h("article", {
208
+ return (t, v) => (p(), g("article", {
209
209
  ref_key: "_ref",
210
210
  ref: i,
211
211
  id: t.id,
212
- class: z(d(q)("db-notification", a.class)),
212
+ class: P(d(z)("db-notification", a.class)),
213
213
  "aria-live": t.ariaLive,
214
214
  "data-semantic": t.semantic,
215
215
  "data-variant": t.variant,
@@ -218,31 +218,31 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
218
218
  "data-link-variant": t.linkVariant
219
219
  }, [
220
220
  T(t.$slots, "image"),
221
- d(Z)(t.headline, t.showHeadline) ? (f(), h("header", Na, S(t.headline), 1)) : F("", !0),
222
- _("p", null, [
223
- t.text ? (f(), h(G, { key: 0 }, [
221
+ d(Z)(t.headline, t.showHeadline) ? (p(), g("header", Da, S(t.headline), 1)) : F("", !0),
222
+ I("p", null, [
223
+ t.text ? (p(), g(U, { key: 0 }, [
224
224
  C(S(t.text), 1)
225
225
  ], 64)) : T(t.$slots, "default", { key: 1 })
226
226
  ]),
227
- d(Z)(t.timestamp, t.showTimestamp) ? (f(), h("span", Da, S(t.timestamp), 1)) : F("", !0),
227
+ d(Z)(t.timestamp, t.showTimestamp) ? (p(), g("span", Fa, S(t.timestamp), 1)) : F("", !0),
228
228
  T(t.$slots, "link"),
229
- d(M)(t.closeable, "closeable") ? (f(), J(Be, {
229
+ d(M)(t.closeable, "closeable") ? (p(), J(Be, {
230
230
  key: 2,
231
231
  icon: "cross",
232
232
  variant: "ghost",
233
233
  size: "small",
234
234
  id: t.closeButtonId,
235
235
  noText: !0,
236
- onClick: (r) => e(r)
236
+ onClick: (u) => e(u)
237
237
  }, {
238
238
  default: V(() => [
239
- C(S(t.closeButtonText ?? d(ze)), 1)
239
+ C(S(t.closeButtonText ?? d(Pe)), 1)
240
240
  ]),
241
241
  _: 1
242
242
  }, 8, ["id", "onClick"])) : F("", !0)
243
- ], 10, Ea));
243
+ ], 10, Na));
244
244
  }
245
- }), Fa = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], Yi = /* @__PURE__ */ U({
245
+ }), Ma = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], Ki = /* @__PURE__ */ q({
246
246
  __name: "badge",
247
247
  props: {
248
248
  placement: { default: void 0 },
@@ -267,34 +267,34 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
267
267
  () => {
268
268
  var t;
269
269
  if (e.value && i.value && (t = a.placement) != null && t.startsWith("corner")) {
270
- let c = e.value.parentElement;
271
- c && c.localName.includes("badge") && (c = c.parentElement), c && c.setAttribute("data-has-badge", "true");
270
+ let v = e.value.parentElement;
271
+ v && v.localName.includes("badge") && (v = v.parentElement), v && v.setAttribute("data-has-badge", "true");
272
272
  }
273
273
  },
274
274
  {
275
275
  immediate: !0,
276
276
  flush: "post"
277
277
  }
278
- ), (t, c) => {
279
- var r;
280
- return f(), h("span", {
278
+ ), (t, v) => {
279
+ var u;
280
+ return p(), g("span", {
281
281
  ref_key: "_ref",
282
282
  ref: e,
283
283
  id: t.id,
284
- class: z(d(q)("db-badge", a.class)),
284
+ class: P(d(z)("db-badge", a.class)),
285
285
  "data-semantic": t.semantic,
286
286
  "data-size": t.size,
287
287
  "data-emphasis": t.emphasis,
288
288
  "data-placement": t.placement,
289
- "data-label": ((r = t.placement) == null ? void 0 : r.startsWith("corner")) && (t.label ?? d(ke))
289
+ "data-label": ((u = t.placement) == null ? void 0 : u.startsWith("corner")) && (t.label ?? d(ke))
290
290
  }, [
291
- t.text ? (f(), h(G, { key: 0 }, [
291
+ t.text ? (p(), g(U, { key: 0 }, [
292
292
  C(S(t.text), 1)
293
293
  ], 64)) : T(t.$slots, "default", { key: 1 })
294
- ], 10, Fa);
294
+ ], 10, Ma);
295
295
  };
296
296
  }
297
- }), Ma = ["data-icon", "data-hide-icon", "id"], Ki = /* @__PURE__ */ U({
297
+ }), Ra = ["data-icon", "data-hide-icon", "id"], Ji = /* @__PURE__ */ q({
298
298
  __name: "brand",
299
299
  props: {
300
300
  hideLogo: { type: Boolean, default: void 0 },
@@ -310,20 +310,20 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
310
310
  },
311
311
  setup(l) {
312
312
  const a = l, i = n(null);
313
- return (e, t) => (f(), h("div", {
313
+ return (e, t) => (p(), g("div", {
314
314
  ref_key: "_ref",
315
315
  ref: i,
316
- "data-icon": e.hideLogo ? "none" : e.icon ?? d(Ta),
316
+ "data-icon": e.hideLogo ? "none" : e.icon ?? d($a),
317
317
  "data-hide-icon": d(K)(e.showIcon),
318
318
  id: e.id,
319
- class: z(d(q)("db-brand", a.class))
319
+ class: P(d(z)("db-brand", a.class))
320
320
  }, [
321
- e.text ? (f(), h(G, { key: 0 }, [
321
+ e.text ? (p(), g(U, { key: 0 }, [
322
322
  C(S(e.text), 1)
323
323
  ], 64)) : T(e.$slots, "default", { key: 1 })
324
- ], 10, Ma));
324
+ ], 10, Ra));
325
325
  }
326
- }), Ra = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], Ji = /* @__PURE__ */ U({
326
+ }), Pa = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], Qi = /* @__PURE__ */ q({
327
327
  __name: "card",
328
328
  props: {
329
329
  behavior: { default: void 0 },
@@ -340,26 +340,26 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
340
340
  setup(l) {
341
341
  const a = l, i = n(null);
342
342
  function e(t) {
343
- a.onClick && a.onClick(t);
343
+ t.stopPropagation(), a.onClick && a.onClick(t);
344
344
  }
345
- return (t, c) => (f(), h("div", {
345
+ return (t, v) => (p(), g("div", {
346
346
  ref_key: "_ref",
347
347
  ref: i,
348
348
  id: t.id,
349
- class: z(d(q)("db-card", a.class)),
349
+ class: P(d(z)("db-card", a.class)),
350
350
  "data-behavior": t.behavior,
351
351
  "data-elevation-level": t.elevationLevel,
352
352
  "data-spacing": t.spacing,
353
353
  role: t.behavior === "interactive" ? "button" : void 0,
354
354
  tabIndex: t.behavior === "interactive" ? 0 : void 0,
355
- onClick: c[0] || (c[0] = async (r) => e(r))
355
+ onClick: v[0] || (v[0] = async (u) => e(u))
356
356
  }, [
357
357
  T(t.$slots, "default")
358
- ], 10, Ra));
358
+ ], 10, Pa));
359
359
  }
360
360
  }), oe = (l, a, i = "value") => {
361
361
  l(`update:${i}`, a.target[i]);
362
- }, za = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], ae = /* @__PURE__ */ U({
362
+ }, za = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], ae = /* @__PURE__ */ q({
363
363
  __name: "infotext",
364
364
  props: {
365
365
  children: { default: void 0 },
@@ -376,25 +376,25 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
376
376
  },
377
377
  setup(l) {
378
378
  const a = l, i = n(null);
379
- return (e, t) => (f(), h("span", {
379
+ return (e, t) => (p(), g("span", {
380
380
  ref_key: "_ref",
381
381
  ref: i,
382
382
  id: e.id,
383
- class: z(d(q)("db-infotext", a.class)),
383
+ class: P(d(z)("db-infotext", a.class)),
384
384
  "data-icon": e.icon,
385
385
  "data-semantic": e.semantic,
386
386
  "data-size": e.size,
387
387
  "data-hide-icon-before": d(K)(e.showIcon ?? !0)
388
388
  }, [
389
- e.text ? (f(), h(G, { key: 0 }, [
389
+ e.text ? (p(), g(U, { key: 0 }, [
390
390
  C(S(e.text), 1)
391
391
  ], 64)) : T(e.$slots, "default", { key: 1 })
392
392
  ], 10, za));
393
393
  }
394
- }), qa = ["data-size", "data-hide-label"], Ua = ["for"], Ga = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Pa = {
394
+ }), qa = ["data-size", "data-hide-label"], Ua = ["for"], Ga = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Va = {
395
395
  "data-visually-hidden": "true",
396
396
  role: "status"
397
- }, Qi = /* @__PURE__ */ U({
397
+ }, Zi = /* @__PURE__ */ q({
398
398
  __name: "checkbox",
399
399
  props: {
400
400
  indeterminate: { type: [Boolean, String], default: void 0 },
@@ -432,27 +432,27 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
432
432
  },
433
433
  emits: ["update:checked"],
434
434
  setup(l, { emit: a }) {
435
- const i = a, e = l, t = n(!1), c = n(void 0), r = n(void 0), m = n(void 0), s = n(void 0), u = n(void 0), v = n(""), I = n(""), L = n(null);
435
+ const i = a, e = l, t = n(!1), v = n(void 0), u = n(void 0), h = n(void 0), s = n(void 0), r = n(void 0), c = n(""), _ = n(""), L = n(null);
436
436
  Y(() => {
437
437
  t.value = !0;
438
438
  const y = e.id ?? `checkbox-${Q()}`;
439
- c.value = y, r.value = y + re, m.value = y + ve, s.value = y + ce, u.value = e.invalidMessage || ie;
439
+ v.value = y, u.value = y + re, h.value = y + ce, s.value = y + ve, r.value = e.invalidMessage || ie;
440
440
  }), A(
441
441
  () => [L.value, e.invalidMessage],
442
442
  () => {
443
443
  var y;
444
- u.value = e.invalidMessage || ((y = L.value) == null ? void 0 : y.validationMessage) || ie;
444
+ r.value = e.invalidMessage || ((y = L.value) == null ? void 0 : y.validationMessage) || ie;
445
445
  },
446
446
  {
447
447
  immediate: !0,
448
448
  flush: "post"
449
449
  }
450
450
  ), A(
451
- () => [c.value],
451
+ () => [v.value],
452
452
  () => {
453
- if (c.value) {
454
- const y = c.value + re;
455
- r.value = y, m.value = c.value + ve, s.value = c.value + ce, Z(e.message, e.showMessage) && (v.value = y);
453
+ if (v.value) {
454
+ const y = v.value + re;
455
+ u.value = y, h.value = v.value + ce, s.value = v.value + ve, Z(e.message, e.showMessage) && (c.value = y);
456
456
  }
457
457
  },
458
458
  {
@@ -483,30 +483,30 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
483
483
  }
484
484
  function N() {
485
485
  var y, b, O;
486
- !((y = L.value) != null && y.validity.valid) || e.validation === "invalid" ? (v.value = s.value, u.value = e.invalidMessage || ((b = L.value) == null ? void 0 : b.validationMessage) || ie, ue() && (I.value = u.value, ee(() => I.value = "", 1e3))) : B() && ((O = L.value) != null && O.validity.valid) && e.required ? (v.value = m.value, ue() && (I.value = e.validMessage ?? fe, ee(() => I.value = "", 1e3))) : Z(e.message, e.showMessage) ? v.value = r.value : v.value = "";
486
+ !((y = L.value) != null && y.validity.valid) || e.validation === "invalid" ? (c.value = s.value, r.value = e.invalidMessage || ((b = L.value) == null ? void 0 : b.validationMessage) || ie, ue() && (_.value = r.value, ee(() => _.value = "", 1e3))) : B() && ((O = L.value) != null && O.validity.valid) && e.required ? (c.value = h.value, ue() && (_.value = e.validMessage ?? fe, ee(() => _.value = "", 1e3))) : Z(e.message, e.showMessage) ? c.value = u.value : c.value = "";
487
487
  }
488
488
  function w(y) {
489
- e.onChange && e.onChange(y), oe(i, y, "checked"), N();
489
+ y.stopPropagation(), e.onChange && e.onChange(y), oe(i, y, "checked"), N();
490
490
  }
491
491
  function $(y) {
492
- e.onBlur && e.onBlur(y);
492
+ y.stopPropagation(), e.onBlur && e.onBlur(y);
493
493
  }
494
494
  function R(y) {
495
- e.onFocus && e.onFocus(y);
495
+ y.stopPropagation(), e.onFocus && e.onFocus(y);
496
496
  }
497
- return (y, b) => (f(), h("div", {
498
- class: z(d(q)("db-checkbox", e.class)),
497
+ return (y, b) => (p(), g("div", {
498
+ class: P(d(z)("db-checkbox", e.class)),
499
499
  "data-size": y.size,
500
500
  "data-hide-label": d(K)(y.showLabel)
501
501
  }, [
502
- _("label", { for: c.value }, [
503
- _("input", {
502
+ I("label", { for: v.value }, [
503
+ I("input", {
504
504
  type: "checkbox",
505
505
  "aria-invalid": y.validation === "invalid",
506
506
  "data-custom-validity": y.validation,
507
507
  ref_key: "_ref",
508
508
  ref: L,
509
- id: c.value,
509
+ id: v.value,
510
510
  name: y.name,
511
511
  checked: d(M)(y.checked, "checked"),
512
512
  disabled: d(M)(y.disabled, "disabled"),
@@ -515,28 +515,28 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
515
515
  onChange: b[0] || (b[0] = async (O) => w(O)),
516
516
  onBlur: b[1] || (b[1] = async (O) => $(O)),
517
517
  onFocus: b[2] || (b[2] = async (O) => R(O)),
518
- "aria-describedby": v.value
518
+ "aria-describedby": c.value
519
519
  }, null, 40, Ga),
520
- y.label ? (f(), h(G, { key: 0 }, [
520
+ y.label ? (p(), g(U, { key: 0 }, [
521
521
  C(S(y.label), 1)
522
522
  ], 64)) : T(y.$slots, "default", { key: 1 })
523
523
  ], 8, Ua),
524
- d(Z)(y.message, y.showMessage) ? (f(), J(ae, {
524
+ d(Z)(y.message, y.showMessage) ? (p(), J(ae, {
525
525
  key: 0,
526
526
  size: "small",
527
527
  icon: y.messageIcon,
528
- id: r.value
528
+ id: u.value
529
529
  }, {
530
530
  default: V(() => [
531
531
  C(S(y.message), 1)
532
532
  ]),
533
533
  _: 1
534
534
  }, 8, ["icon", "id"])) : F("", !0),
535
- B() ? (f(), J(ae, {
535
+ B() ? (p(), J(ae, {
536
536
  key: 1,
537
537
  size: "small",
538
538
  semantic: "successful",
539
- id: m.value
539
+ id: h.value
540
540
  }, {
541
541
  default: V(() => [
542
542
  C(S(y.validMessage || d(fe)), 1)
@@ -549,14 +549,14 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
549
549
  id: s.value
550
550
  }, {
551
551
  default: V(() => [
552
- C(S(u.value), 1)
552
+ C(S(r.value), 1)
553
553
  ]),
554
554
  _: 1
555
555
  }, 8, ["id"]),
556
- _("span", Pa, S(I.value), 1)
556
+ I("span", Va, S(_.value), 1)
557
557
  ], 10, qa));
558
558
  }
559
- }), Va = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], Zi = /* @__PURE__ */ U({
559
+ }), Oa = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], xi = /* @__PURE__ */ q({
560
560
  __name: "divider",
561
561
  props: {
562
562
  margin: { default: void 0 },
@@ -572,7 +572,7 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
572
572
  },
573
573
  setup(l) {
574
574
  const a = l, i = n(null);
575
- return (e, t) => (f(), h("div", {
575
+ return (e, t) => (p(), g("div", {
576
576
  ref_key: "_ref",
577
577
  ref: i,
578
578
  id: e.id,
@@ -580,10 +580,10 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
580
580
  "data-variant": e.variant,
581
581
  "data-emphasis": e.emphasis,
582
582
  "data-width": e.width,
583
- class: z(d(q)("db-divider", a.class))
584
- }, null, 10, Va));
583
+ class: P(d(z)("db-divider", a.class))
584
+ }, null, 10, Oa));
585
585
  }
586
- }), Oa = ["id", "data-backdrop", "data-variant"], Wa = ["data-spacing", "data-width", "data-direction", "data-rounded"], Xa = { class: "db-drawer-header" }, Ha = { class: "db-drawer-header-text" }, ja = { class: "db-drawer-content" }, Ya = /* @__PURE__ */ U({
586
+ }), Wa = ["id", "data-backdrop", "data-variant"], Xa = ["data-spacing", "data-width", "data-direction", "data-rounded"], Ha = { class: "db-drawer-header" }, ja = { class: "db-drawer-header-text" }, Ya = { class: "db-drawer-content" }, Ka = /* @__PURE__ */ q({
587
587
  __name: "drawer",
588
588
  props: {
589
589
  backdrop: { default: void 0 },
@@ -608,80 +608,80 @@ const Xi = Object.entries(ea).map(([, l]) => l), Aa = {
608
608
  setup(l) {
609
609
  const a = l, i = n(null), e = n(null);
610
610
  Y(() => {
611
- c();
611
+ v();
612
612
  }), A(
613
613
  () => [a.open],
614
614
  () => {
615
- c();
615
+ v();
616
616
  },
617
617
  {
618
618
  immediate: !0,
619
619
  flush: "post"
620
620
  }
621
621
  );
622
- function t(r) {
623
- r.key === "Escape" && r.preventDefault(), (r === "close" || r.key === "Escape" || r.target.nodeName === "DIALOG" && r.type === "click" && a.backdrop !== "none") && a.onClose && a.onClose(r);
622
+ function t(u) {
623
+ u.key === "Escape" && u.preventDefault(), (u === "close" || u.key === "Escape" || u.target.nodeName === "DIALOG" && u.type === "click" && a.backdrop !== "none") && a.onClose && a.onClose(u);
624
624
  }
625
- function c() {
625
+ function v() {
626
626
  if (i.value) {
627
- const r = !!a.open;
628
- r && !i.value.open && (e.value && (e.value.hidden = !1), a.backdrop === "none" || a.variant === "inside" ? i.value.show() : i.value.showModal()), !r && i.value.open && (e.value && (e.value.hidden = !0), ee(() => {
629
- var m;
630
- e.value && (e.value.hidden = !1), (m = i.value) == null || m.close();
627
+ const u = !!a.open;
628
+ u && !i.value.open && (e.value && (e.value.hidden = !1), a.backdrop === "none" || a.variant === "inside" ? i.value.show() : i.value.showModal()), !u && i.value.open && (e.value && (e.value.hidden = !0), ee(() => {
629
+ var h;
630
+ e.value && (e.value.hidden = !1), (h = i.value) == null || h.close();
631
631
  }, 401));
632
632
  }
633
633
  }
634
- return (r, m) => (f(), h("dialog", {
634
+ return (u, h) => (p(), g("dialog", {
635
635
  class: "db-drawer",
636
- id: r.id,
636
+ id: u.id,
637
637
  ref_key: "_ref",
638
638
  ref: i,
639
- onClick: m[0] || (m[0] = async (s) => t(s)),
640
- onKeydown: m[1] || (m[1] = async (s) => t(s)),
641
- "data-backdrop": r.backdrop,
642
- "data-variant": r.variant
639
+ onClick: h[0] || (h[0] = async (s) => t(s)),
640
+ onKeydown: h[1] || (h[1] = async (s) => t(s)),
641
+ "data-backdrop": u.backdrop,
642
+ "data-variant": u.variant
643
643
  }, [
644
- _("article", {
644
+ I("article", {
645
645
  ref_key: "dialogContainerRef",
646
646
  ref: e,
647
- class: z(d(q)("db-drawer-container", a.class)),
648
- "data-spacing": r.spacing,
649
- "data-width": r.width,
650
- "data-direction": r.direction,
651
- "data-rounded": d(H)(r.rounded)
647
+ class: P(d(z)("db-drawer-container", a.class)),
648
+ "data-spacing": u.spacing,
649
+ "data-width": u.width,
650
+ "data-direction": u.direction,
651
+ "data-rounded": d(H)(u.rounded)
652
652
  }, [
653
- _("header", Xa, [
654
- _("div", Ha, [
655
- T(r.$slots, "drawer-header")
653
+ I("header", Ha, [
654
+ I("div", ja, [
655
+ T(u.$slots, "drawer-header")
656
656
  ]),
657
657
  te(Be, {
658
658
  class: "button-close-drawer",
659
659
  icon: "cross",
660
660
  variant: "ghost",
661
- id: r.closeButtonId,
661
+ id: u.closeButtonId,
662
662
  noText: !0,
663
663
  onClick: (s) => t("close")
664
664
  }, {
665
665
  default: V(() => [
666
- C(S(r.closeButtonText ?? d(ze)), 1)
666
+ C(S(u.closeButtonText ?? d(Pe)), 1)
667
667
  ]),
668
668
  _: 1
669
669
  }, 8, ["id", "onClick"])
670
670
  ]),
671
- _("div", ja, [
672
- T(r.$slots, "default")
671
+ I("div", Ya, [
672
+ T(u.$slots, "default")
673
673
  ])
674
- ], 10, Wa)
675
- ], 40, Oa));
674
+ ], 10, Xa)
675
+ ], 40, Wa));
676
676
  }
677
- }), aa = (l) => {
677
+ }), ta = (l) => {
678
678
  var i, e;
679
679
  const {
680
680
  target: a
681
681
  } = l;
682
682
  return !!(!((i = a == null ? void 0 : a.classList) != null && i.contains("db-navigation-item-expand-button")) && ((e = a == null ? void 0 : a.parentElement) != null && e.classList.contains("db-navigation-item")));
683
683
  };
684
- class Ka {
684
+ class Ja {
685
685
  constructor(a, i) {
686
686
  se(this, "element");
687
687
  se(this, "subNavigation");
@@ -733,18 +733,18 @@ class Ka {
733
733
  if (!this.triangleData)
734
734
  return;
735
735
  if (a === "fill-gap") {
736
- const r = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, m = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
736
+ const u = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, h = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
737
737
  return {
738
- lb: `${m} ${r}`,
739
- lt: `${m} 0`,
738
+ lb: `${h} ${u}`,
739
+ lt: `${h} 0`,
740
740
  rt: "100% 0",
741
- rb: `100% ${r}`
741
+ rb: `100% ${u}`
742
742
  };
743
743
  }
744
- const i = this.getTriangleTipX(), e = this.getTriangleTipY(), t = `${i}px ${e}px`, c = `${i}px ${e}px`;
744
+ const i = this.getTriangleTipX(), e = this.getTriangleTipY(), t = `${i}px ${e}px`, v = `${i}px ${e}px`;
745
745
  return {
746
746
  lb: t,
747
- lt: c,
747
+ lt: v,
748
748
  rt: "100% 0",
749
749
  rb: "100% 100%"
750
750
  };
@@ -757,7 +757,7 @@ class Ka {
757
757
  e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), i && (this.triangleData = void 0));
758
758
  }
759
759
  }
760
- const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-header-drawer-navigation" }, Za = { class: "db-header-meta-navigation" }, xa = { class: "db-header-secondary-action" }, et = { class: "db-header-meta-navigation" }, at = { class: "db-header-navigation-bar" }, tt = { class: "db-header-brand-container" }, it = { class: "db-header-navigation-container" }, lt = { class: "db-header-navigation" }, ot = { class: "db-header-primary-action" }, dt = { class: "db-header-action-container" }, nt = { class: "db-header-burger-menu-container" }, st = { class: "db-header-secondary-action" }, xi = /* @__PURE__ */ U({
760
+ const Qa = ["id", "data-width", "data-on-forcing-mobile"], Za = { class: "db-header-drawer-navigation" }, xa = { class: "db-header-meta-navigation" }, et = { class: "db-header-secondary-action" }, at = { class: "db-header-meta-navigation" }, tt = { class: "db-header-navigation-bar" }, it = { class: "db-header-brand-container" }, lt = { class: "db-header-navigation-container" }, ot = { class: "db-header-navigation" }, dt = { class: "db-header-primary-action" }, nt = { class: "db-header-action-container" }, st = { class: "db-header-burger-menu-container" }, ut = { class: "db-header-secondary-action" }, el = /* @__PURE__ */ q({
761
761
  __name: "header",
762
762
  props: {
763
763
  brand: {},
@@ -778,7 +778,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
778
778
  width: { default: void 0 }
779
779
  },
780
780
  setup(l) {
781
- const a = l, i = n(we), e = n(!1), t = n(!1), c = n(null);
781
+ const a = l, i = n(we), e = n(!1), t = n(!1), v = n(null);
782
782
  Y(() => {
783
783
  e.value = !0, i.value = a.id || "header-" + Q();
784
784
  }), A(
@@ -788,7 +788,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
788
788
  const s = document.getElementById(
789
789
  i.value ?? ""
790
790
  );
791
- s && Ye(s, {
791
+ s && Ke(s, {
792
792
  key: "data-force-mobile",
793
793
  value: "true"
794
794
  }), t.value = !0;
@@ -799,84 +799,84 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
799
799
  flush: "post"
800
800
  }
801
801
  );
802
- function r() {
802
+ function u() {
803
803
  const s = !M(a.drawerOpen, "drawerOpen");
804
804
  a.onToggle && a.onToggle(s);
805
805
  }
806
- function m(s) {
807
- aa(s) && r();
806
+ function h(s) {
807
+ ta(s) && u();
808
808
  }
809
- return (s, u) => (f(), h("header", {
809
+ return (s, r) => (p(), g("header", {
810
810
  ref_key: "_ref",
811
- ref: c,
812
- class: z(d(q)("db-header", a.class)),
811
+ ref: v,
812
+ class: P(d(z)("db-header", a.class)),
813
813
  id: i.value,
814
814
  "data-width": s.width,
815
815
  "data-on-forcing-mobile": s.forceMobile && !t.value
816
816
  }, [
817
- te(Ya, {
817
+ te(Ka, {
818
818
  class: "db-header-drawer",
819
819
  spacing: "small",
820
820
  rounded: !0,
821
821
  open: d(M)(s.drawerOpen),
822
- onClose: (v) => r()
822
+ onClose: (c) => u()
823
823
  }, {
824
824
  default: V(() => [
825
- _("div", Qa, [
826
- _("div", {
825
+ I("div", Za, [
826
+ I("div", {
827
827
  class: "db-header-navigation",
828
- onClick: u[0] || (u[0] = async (v) => m(v))
828
+ onClick: r[0] || (r[0] = async (c) => h(c))
829
829
  }, [
830
830
  T(s.$slots, "default")
831
831
  ]),
832
- _("div", Za, [
832
+ I("div", xa, [
833
833
  T(s.$slots, "meta-navigation")
834
834
  ])
835
835
  ]),
836
- _("div", xa, [
836
+ I("div", et, [
837
837
  T(s.$slots, "secondary-action")
838
838
  ])
839
839
  ]),
840
840
  _: 3
841
841
  }, 8, ["open", "onClose"]),
842
- _("div", et, [
842
+ I("div", at, [
843
843
  T(s.$slots, "meta-navigation")
844
844
  ]),
845
- _("div", at, [
846
- _("div", tt, [
845
+ I("div", tt, [
846
+ I("div", it, [
847
847
  T(s.$slots, "brand")
848
848
  ]),
849
- _("div", it, [
850
- _("div", lt, [
849
+ I("div", lt, [
850
+ I("div", ot, [
851
851
  T(s.$slots, "default")
852
852
  ]),
853
- _("div", ot, [
853
+ I("div", dt, [
854
854
  T(s.$slots, "primary-action")
855
855
  ])
856
856
  ]),
857
- _("div", dt, [
858
- _("div", nt, [
857
+ I("div", nt, [
858
+ I("div", st, [
859
859
  te(Be, {
860
860
  icon: "menu",
861
861
  variant: "ghost",
862
862
  id: i.value + "-burger-menu",
863
863
  noText: !0,
864
- onClick: (v) => r()
864
+ onClick: (c) => u()
865
865
  }, {
866
866
  default: V(() => [
867
- C(S(s.burgerMenuLabel ?? d(La)), 1)
867
+ C(S(s.burgerMenuLabel ?? d(Ta)), 1)
868
868
  ]),
869
869
  _: 1
870
870
  }, 8, ["id", "onClick"])
871
871
  ]),
872
- _("div", st, [
872
+ I("div", ut, [
873
873
  T(s.$slots, "secondary-action")
874
874
  ])
875
875
  ])
876
876
  ])
877
- ], 10, Ja));
877
+ ], 10, Qa));
878
878
  }
879
- }), ut = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], el = /* @__PURE__ */ U({
879
+ }), rt = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], al = /* @__PURE__ */ q({
880
880
  __name: "icon",
881
881
  props: {
882
882
  variant: { default: void 0 },
@@ -892,25 +892,25 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
892
892
  },
893
893
  setup(l) {
894
894
  const a = l, i = n(null);
895
- return (e, t) => (f(), h("span", {
895
+ return (e, t) => (p(), g("span", {
896
896
  "aria-hidden": "true",
897
897
  ref_key: "_ref",
898
898
  ref: i,
899
899
  id: e.id,
900
- class: z(d(q)("db-icon", a.class)),
900
+ class: P(d(z)("db-icon", a.class)),
901
901
  "data-icon": e.icon,
902
902
  "data-icon-weight": e.weight,
903
903
  "data-icon-variant": e.variant
904
904
  }, [
905
- e.text ? (f(), h(G, { key: 0 }, [
905
+ e.text ? (p(), g(U, { key: 0 }, [
906
906
  C(S(e.text), 1)
907
907
  ], 64)) : T(e.$slots, "default", { key: 1 })
908
- ], 10, ut));
908
+ ], 10, rt));
909
909
  }
910
- }), rt = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-icon-after"], vt = ["for"], ct = ["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"], ft = ["id"], pt = ["value"], mt = {
910
+ }), ct = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-icon-after"], vt = ["for"], ft = ["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"], pt = ["id"], mt = ["value"], ht = {
911
911
  "data-visually-hidden": "true",
912
912
  role: "status"
913
- }, ht = /* @__PURE__ */ U({
913
+ }, gt = /* @__PURE__ */ q({
914
914
  __name: "input",
915
915
  props: {
916
916
  dataList: { default: void 0 },
@@ -964,15 +964,15 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
964
964
  },
965
965
  emits: ["update:value"],
966
966
  setup(l, { emit: a }) {
967
- const i = a, e = l, t = n(void 0), c = n(void 0), r = n(void 0), m = n(void 0), s = n(void 0), u = n(void 0), v = n(""), I = n(""), L = n(""), B = n(null);
967
+ const i = a, e = l, t = n(void 0), v = n(void 0), u = n(void 0), h = n(void 0), s = n(void 0), r = n(void 0), c = n(""), _ = n(""), L = n(""), B = n(null);
968
968
  Y(() => {
969
- const p = e.id ?? `input-${Q()}`;
970
- t.value = p, c.value = p + re, r.value = p + ve, m.value = p + ce, u.value = p + je, s.value = e.invalidMessage || ie;
969
+ const f = e.id ?? `input-${Q()}`;
970
+ t.value = f, v.value = f + re, u.value = f + ce, h.value = f + ve, r.value = f + Ye, s.value = e.invalidMessage || ie;
971
971
  }), A(
972
972
  () => [B.value, e.invalidMessage],
973
973
  () => {
974
- var p;
975
- s.value = e.invalidMessage || ((p = B.value) == null ? void 0 : p.validationMessage) || ie;
974
+ var f;
975
+ s.value = e.invalidMessage || ((f = B.value) == null ? void 0 : f.validationMessage) || ie;
976
976
  },
977
977
  {
978
978
  immediate: !0,
@@ -982,8 +982,8 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
982
982
  () => [t.value],
983
983
  () => {
984
984
  if (t.value) {
985
- const p = t.value + re;
986
- c.value = p, r.value = t.value + ve, m.value = t.value + ce, u.value = e.dataListId ?? t.value + je, Z(e.message, e.showMessage) && (v.value = p);
985
+ const f = t.value + re;
986
+ v.value = f, u.value = t.value + ce, h.value = t.value + ve, r.value = e.dataListId ?? t.value + Ye, Z(e.message, e.showMessage) && (c.value = f);
987
987
  }
988
988
  },
989
989
  {
@@ -993,7 +993,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
993
993
  ), A(
994
994
  () => [e.value],
995
995
  () => {
996
- I.value = e.value;
996
+ _.value = e.value;
997
997
  },
998
998
  {
999
999
  immediate: !0,
@@ -1004,117 +1004,117 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1004
1004
  return !!(e.validMessage ?? e.validation === "valid");
1005
1005
  }
1006
1006
  function w() {
1007
- var p, E, g;
1008
- !((p = B.value) != null && p.validity.valid) || e.validation === "invalid" ? (v.value = m.value, s.value = e.invalidMessage || ((E = B.value) == null ? void 0 : E.validationMessage) || ie, ue() && (L.value = s.value, ee(() => L.value = "", 1e3))) : N() && ((g = B.value) != null && g.validity.valid) && (e.required || e.minLength || e.maxLength || e.pattern) ? (v.value = r.value, ue() && (L.value = e.validMessage ?? fe, ee(() => L.value = "", 1e3))) : Z(e.message, e.showMessage) ? v.value = c.value : v.value = "";
1007
+ var f, E, m;
1008
+ !((f = B.value) != null && f.validity.valid) || e.validation === "invalid" ? (c.value = h.value, s.value = e.invalidMessage || ((E = B.value) == null ? void 0 : E.validationMessage) || ie, ue() && (L.value = s.value, ee(() => L.value = "", 1e3))) : N() && ((m = B.value) != null && m.validity.valid) && (e.required || e.minLength || e.maxLength || e.pattern) ? (c.value = u.value, ue() && (L.value = e.validMessage ?? fe, ee(() => L.value = "", 1e3))) : Z(e.message, e.showMessage) ? c.value = v.value : c.value = "";
1009
1009
  }
1010
- function $(p) {
1011
- e.input && e.input(p), I.value = p.target.value, e.onInput && e.onInput(p), oe(i, p), w();
1010
+ function $(f) {
1011
+ f.stopPropagation(), e.input && e.input(f), _.value = f.target.value, e.onInput && e.onInput(f), oe(i, f), w();
1012
1012
  }
1013
- function R(p) {
1014
- e.onChange && e.onChange(p), oe(() => {
1015
- }, p), w();
1013
+ function R(f) {
1014
+ f.stopPropagation(), e.onChange && e.onChange(f), oe(() => {
1015
+ }, f), w();
1016
1016
  }
1017
- function y(p) {
1018
- e.onBlur && e.onBlur(p);
1017
+ function y(f) {
1018
+ f.stopPropagation(), e.onBlur && e.onBlur(f);
1019
1019
  }
1020
- function b(p) {
1021
- e.onFocus && e.onFocus(p);
1020
+ function b(f) {
1021
+ f.stopPropagation(), e.onFocus && e.onFocus(f);
1022
1022
  }
1023
1023
  function O() {
1024
- const p = e.dataList;
1024
+ const f = e.dataList;
1025
1025
  return Array.from(
1026
- (ka(p) ? p == null ? void 0 : p.map((E) => ({
1026
+ (Ba(f) ? f == null ? void 0 : f.map((E) => ({
1027
1027
  value: E,
1028
1028
  label: void 0
1029
- })) : p) || []
1029
+ })) : f) || []
1030
1030
  );
1031
1031
  }
1032
- return (p, E) => (f(), h("div", {
1033
- class: z(d(q)("db-input", e.class)),
1034
- "data-variant": p.variant,
1035
- "data-hide-label": d(K)(p.showLabel),
1036
- "data-hide-icon": d(K)(p.showIcon),
1037
- "data-icon": p.icon,
1038
- "data-icon-after": p.iconAfter,
1039
- "data-hide-icon-after": d(K)(p.showIcon)
1032
+ return (f, E) => (p(), g("div", {
1033
+ class: P(d(z)("db-input", e.class)),
1034
+ "data-variant": f.variant,
1035
+ "data-hide-label": d(K)(f.showLabel),
1036
+ "data-hide-icon": d(K)(f.showIcon),
1037
+ "data-icon": f.icon,
1038
+ "data-icon-after": f.iconAfter,
1039
+ "data-hide-icon-after": d(K)(f.showIcon)
1040
1040
  }, [
1041
- _("label", { for: t.value }, S(p.label ?? d(ke)), 9, vt),
1042
- _("input", {
1043
- "aria-invalid": p.validation === "invalid",
1044
- "data-custom-validity": p.validation,
1041
+ I("label", { for: t.value }, S(f.label ?? d(ke)), 9, vt),
1042
+ I("input", {
1043
+ "aria-invalid": f.validation === "invalid",
1044
+ "data-custom-validity": f.validation,
1045
1045
  ref_key: "_ref",
1046
1046
  ref: B,
1047
1047
  id: t.value,
1048
- name: p.name,
1049
- type: p.type || "text",
1050
- placeholder: p.placeholder ?? d(Ke),
1051
- disabled: d(M)(p.disabled, "disabled"),
1052
- required: d(M)(p.required, "required"),
1053
- step: d(he)(p.step),
1054
- value: p.value ?? I.value,
1055
- maxLength: d(he)(p.maxLength, p.maxlength),
1056
- minLength: d(he)(p.minLength, p.minlength),
1057
- max: d(he)(p.max),
1058
- min: d(he)(p.min),
1059
- readOnly: d(M)(p.readOnly, "readOnly") || d(M)(p.readonly, "readonly"),
1060
- form: p.form,
1061
- pattern: p.pattern,
1062
- size: p.size,
1063
- autoComplete: p.autocomplete,
1064
- autoFocus: d(M)(p.autofocus, "autofocus"),
1065
- onInput: E[0] || (E[0] = async (g) => $(g)),
1066
- onChange: E[1] || (E[1] = async (g) => R(g)),
1067
- onBlur: E[2] || (E[2] = async (g) => y(g)),
1068
- onFocus: E[3] || (E[3] = async (g) => b(g)),
1069
- list: p.dataList && u.value,
1070
- "aria-describedby": p.ariaDescribedBy ?? v.value
1071
- }, null, 40, ct),
1072
- p.dataList ? (f(), h("datalist", {
1048
+ name: f.name,
1049
+ type: f.type || "text",
1050
+ placeholder: f.placeholder ?? d(Je),
1051
+ disabled: d(M)(f.disabled, "disabled"),
1052
+ required: d(M)(f.required, "required"),
1053
+ step: d(ye)(f.step),
1054
+ value: f.value ?? _.value,
1055
+ maxLength: d(ye)(f.maxLength, f.maxlength),
1056
+ minLength: d(ye)(f.minLength, f.minlength),
1057
+ max: d(We)(f.max, f.type),
1058
+ min: d(We)(f.min, f.type),
1059
+ readOnly: d(M)(f.readOnly, "readOnly") || d(M)(f.readonly, "readonly"),
1060
+ form: f.form,
1061
+ pattern: f.pattern,
1062
+ size: f.size,
1063
+ autoComplete: f.autocomplete,
1064
+ autoFocus: d(M)(f.autofocus, "autofocus"),
1065
+ onInput: E[0] || (E[0] = async (m) => $(m)),
1066
+ onChange: E[1] || (E[1] = async (m) => R(m)),
1067
+ onBlur: E[2] || (E[2] = async (m) => y(m)),
1068
+ onFocus: E[3] || (E[3] = async (m) => b(m)),
1069
+ list: f.dataList && r.value,
1070
+ "aria-describedby": f.ariaDescribedBy ?? c.value
1071
+ }, null, 40, ft),
1072
+ f.dataList ? (p(), g("datalist", {
1073
1073
  key: 0,
1074
- id: u.value
1074
+ id: r.value
1075
1075
  }, [
1076
- (f(!0), h(G, null, ge(O(), (g) => (f(), h("option", {
1077
- key: u.value + "-option-" + g.value,
1078
- value: g.value
1079
- }, S(g.label), 9, pt))), 128))
1080
- ], 8, ft)) : F("", !0),
1081
- T(p.$slots, "default"),
1082
- d(Z)(p.message, p.showMessage) ? (f(), J(ae, {
1076
+ (p(!0), g(U, null, he(O(), (m) => (p(), g("option", {
1077
+ key: r.value + "-option-" + m.value,
1078
+ value: m.value
1079
+ }, S(m.label), 9, mt))), 128))
1080
+ ], 8, pt)) : F("", !0),
1081
+ T(f.$slots, "default"),
1082
+ d(Z)(f.message, f.showMessage) ? (p(), J(ae, {
1083
1083
  key: 1,
1084
1084
  size: "small",
1085
- icon: p.messageIcon,
1086
- id: c.value
1085
+ icon: f.messageIcon,
1086
+ id: v.value
1087
1087
  }, {
1088
1088
  default: V(() => [
1089
- C(S(p.message), 1)
1089
+ C(S(f.message), 1)
1090
1090
  ]),
1091
1091
  _: 1
1092
1092
  }, 8, ["icon", "id"])) : F("", !0),
1093
- N() ? (f(), J(ae, {
1093
+ N() ? (p(), J(ae, {
1094
1094
  key: 2,
1095
1095
  size: "small",
1096
1096
  semantic: "successful",
1097
- id: r.value
1097
+ id: u.value
1098
1098
  }, {
1099
1099
  default: V(() => [
1100
- C(S(p.validMessage || d(fe)), 1)
1100
+ C(S(f.validMessage || d(fe)), 1)
1101
1101
  ]),
1102
1102
  _: 1
1103
1103
  }, 8, ["id"])) : F("", !0),
1104
1104
  te(ae, {
1105
1105
  size: "small",
1106
1106
  semantic: "critical",
1107
- id: m.value
1107
+ id: h.value
1108
1108
  }, {
1109
1109
  default: V(() => [
1110
1110
  C(S(s.value), 1)
1111
1111
  ]),
1112
1112
  _: 1
1113
1113
  }, 8, ["id"]),
1114
- _("span", mt, S(L.value), 1)
1115
- ], 10, rt));
1114
+ I("span", ht, S(L.value), 1)
1115
+ ], 10, ct));
1116
1116
  }
1117
- }), gt = ["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"], al = /* @__PURE__ */ U({
1117
+ }), bt = ["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"], tl = /* @__PURE__ */ q({
1118
1118
  __name: "link",
1119
1119
  props: {
1120
1120
  content: { default: void 0 },
@@ -1143,13 +1143,13 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1143
1143
  setup(l) {
1144
1144
  const a = l, i = n(null);
1145
1145
  function e(t) {
1146
- a.onClick && a.onClick(t);
1146
+ t.stopPropagation(), a.onClick && a.onClick(t);
1147
1147
  }
1148
- return (t, c) => (f(), h("a", {
1148
+ return (t, v) => (p(), g("a", {
1149
1149
  ref_key: "_ref",
1150
1150
  ref: i,
1151
1151
  id: t.id,
1152
- class: z(d(q)("db-link", a.class)),
1152
+ class: P(d(z)("db-link", a.class)),
1153
1153
  href: t.href,
1154
1154
  target: t.target,
1155
1155
  rel: t.rel,
@@ -1164,14 +1164,14 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1164
1164
  "data-hide-icon-after": d(K)(t.showIcon ?? !0),
1165
1165
  "data-variant": t.variant,
1166
1166
  "data-content": t.content || "internal",
1167
- onClick: c[0] || (c[0] = async (r) => e(r))
1167
+ onClick: v[0] || (v[0] = async (u) => e(u))
1168
1168
  }, [
1169
- t.text ? (f(), h(G, { key: 0 }, [
1169
+ t.text ? (p(), g(U, { key: 0 }, [
1170
1170
  C(S(t.text), 1)
1171
1171
  ], 64)) : T(t.$slots, "default", { key: 1 })
1172
- ], 10, gt));
1172
+ ], 10, bt));
1173
1173
  }
1174
- }), bt = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], tl = /* @__PURE__ */ U({
1174
+ }), yt = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], il = /* @__PURE__ */ q({
1175
1175
  __name: "page",
1176
1176
  props: {
1177
1177
  documentOverflow: { default: void 0 },
@@ -1193,27 +1193,27 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1193
1193
  i.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
1194
1194
  i.value = !0;
1195
1195
  }) : i.value = !0;
1196
- }), ba(() => {
1196
+ }), ya(() => {
1197
1197
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
1198
- }), (t, c) => (f(), h("div", {
1198
+ }), (t, v) => (p(), g("div", {
1199
1199
  ref_key: "_ref",
1200
1200
  ref: e,
1201
1201
  id: t.id,
1202
- class: z(d(q)("db-page", a.class)),
1202
+ class: P(d(z)("db-page", a.class)),
1203
1203
  "data-variant": t.variant,
1204
1204
  "data-fade-in": d(H)(t.fadeIn),
1205
1205
  "data-fonts-loaded": d(H)(i.value)
1206
1206
  }, [
1207
1207
  T(t.$slots, "header"),
1208
- _("main", {
1209
- class: z(d(q)("db-main", t.mainClass))
1208
+ I("main", {
1209
+ class: P(d(z)("db-main", t.mainClass))
1210
1210
  }, [
1211
1211
  T(t.$slots, "default")
1212
1212
  ], 2),
1213
1213
  T(t.$slots, "footer")
1214
- ], 10, bt));
1214
+ ], 10, yt));
1215
1215
  }
1216
- }), yt = ["data-size", "data-hide-label", "for"], kt = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"], il = /* @__PURE__ */ U({
1216
+ }), kt = ["data-size", "data-hide-label", "for"], Bt = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"], ll = /* @__PURE__ */ q({
1217
1217
  __name: "radio",
1218
1218
  props: {
1219
1219
  describedbyid: { default: void 0 },
@@ -1242,57 +1242,57 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1242
1242
  },
1243
1243
  emits: ["update:value"],
1244
1244
  setup(l, { emit: a }) {
1245
- const i = a, e = l, t = n(!1), c = n(void 0), r = n(null);
1245
+ const i = a, e = l, t = n(!1), v = n(void 0), u = n(null);
1246
1246
  Y(() => {
1247
- t.value = !0, c.value = e.id ?? `radio-${Q()}`;
1247
+ t.value = !0, v.value = e.id ?? `radio-${Q()}`;
1248
1248
  }), A(
1249
- () => [t.value, r.value, e.checked],
1249
+ () => [t.value, u.value, e.checked],
1250
1250
  () => {
1251
- e.checked && t.value && r.value && (r.value.checked = !0);
1251
+ e.checked && t.value && u.value && (u.value.checked = !0);
1252
1252
  },
1253
1253
  {
1254
1254
  immediate: !0,
1255
1255
  flush: "post"
1256
1256
  }
1257
1257
  );
1258
- function m(v) {
1259
- e.onChange && e.onChange(v), oe(i, v);
1258
+ function h(c) {
1259
+ c.stopPropagation(), e.onChange && e.onChange(c), oe(i, c);
1260
1260
  }
1261
- function s(v) {
1262
- e.onBlur && e.onBlur(v);
1261
+ function s(c) {
1262
+ c.stopPropagation(), e.onBlur && e.onBlur(c);
1263
1263
  }
1264
- function u(v) {
1265
- e.onFocus && e.onFocus(v);
1264
+ function r(c) {
1265
+ c.stopPropagation(), e.onFocus && e.onFocus(c);
1266
1266
  }
1267
- return (v, I) => (f(), h("label", {
1268
- "data-size": v.size,
1269
- "data-hide-label": d(K)(v.showLabel),
1270
- class: z(d(q)("db-radio", e.class)),
1271
- for: c.value
1267
+ return (c, _) => (p(), g("label", {
1268
+ "data-size": c.size,
1269
+ "data-hide-label": d(K)(c.showLabel),
1270
+ class: P(d(z)("db-radio", e.class)),
1271
+ for: v.value
1272
1272
  }, [
1273
- _("input", {
1273
+ I("input", {
1274
1274
  type: "radio",
1275
- "aria-invalid": v.validation === "invalid",
1276
- "data-custom-validity": v.validation,
1275
+ "aria-invalid": c.validation === "invalid",
1276
+ "data-custom-validity": c.validation,
1277
1277
  ref_key: "_ref",
1278
- ref: r,
1279
- id: c.value,
1280
- name: v.name,
1281
- checked: d(M)(v.checked, "checked"),
1282
- disabled: d(M)(v.disabled, "disabled"),
1283
- "aria-describedby": v.describedbyid,
1284
- value: v.value,
1285
- required: d(M)(v.required, "required"),
1286
- onChange: I[0] || (I[0] = async (L) => m(L)),
1287
- onBlur: I[1] || (I[1] = async (L) => s(L)),
1288
- onFocus: I[2] || (I[2] = async (L) => u(L))
1289
- }, null, 40, kt),
1290
- v.label ? (f(), h(G, { key: 0 }, [
1291
- C(S(v.label), 1)
1292
- ], 64)) : T(v.$slots, "default", { key: 1 })
1293
- ], 10, yt));
1278
+ ref: u,
1279
+ id: v.value,
1280
+ name: c.name,
1281
+ checked: d(M)(c.checked, "checked"),
1282
+ disabled: d(M)(c.disabled, "disabled"),
1283
+ "aria-describedby": c.describedbyid,
1284
+ value: c.value,
1285
+ required: d(M)(c.required, "required"),
1286
+ onChange: _[0] || (_[0] = async (L) => h(L)),
1287
+ onBlur: _[1] || (_[1] = async (L) => s(L)),
1288
+ onFocus: _[2] || (_[2] = async (L) => r(L))
1289
+ }, null, 40, Bt),
1290
+ c.label ? (p(), g(U, { key: 0 }, [
1291
+ C(S(c.label), 1)
1292
+ ], 64)) : T(c.$slots, "default", { key: 1 })
1293
+ ], 10, kt));
1294
1294
  }
1295
- }), Bt = ["id", "data-spacing", "data-width"], ll = /* @__PURE__ */ U({
1295
+ }), St = ["id", "data-spacing", "data-width"], ol = /* @__PURE__ */ q({
1296
1296
  __name: "section",
1297
1297
  props: {
1298
1298
  children: { default: void 0 },
@@ -1308,21 +1308,21 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1308
1308
  const a = l, i = n(we), e = n(null);
1309
1309
  return Y(() => {
1310
1310
  i.value = a.id || "section-" + Q();
1311
- }), (t, c) => (f(), h("section", {
1311
+ }), (t, v) => (p(), g("section", {
1312
1312
  ref_key: "_ref",
1313
1313
  ref: e,
1314
1314
  id: i.value,
1315
- class: z(d(q)("db-section", a.class)),
1315
+ class: P(d(z)("db-section", a.class)),
1316
1316
  "data-spacing": t.spacing || "medium",
1317
1317
  "data-width": t.width
1318
1318
  }, [
1319
1319
  T(t.$slots, "default")
1320
- ], 10, Bt));
1320
+ ], 10, St));
1321
1321
  }
1322
- }), St = ["data-variant", "data-hide-label", "data-icon", "data-hide-icon"], wt = ["for"], _t = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], It = ["label"], Lt = ["value", "selected", "disabled"], Tt = ["value", "disabled", "selected"], $t = ["id"], At = {
1322
+ }), wt = ["data-variant", "data-hide-label", "data-icon", "data-hide-icon"], It = ["for"], _t = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], Lt = ["label"], Tt = ["value", "selected", "disabled"], $t = ["value", "disabled", "selected"], At = ["id"], Ct = {
1323
1323
  "data-visually-hidden": "true",
1324
1324
  role: "status"
1325
- }, ol = /* @__PURE__ */ U({
1325
+ }, dl = /* @__PURE__ */ q({
1326
1326
  __name: "select",
1327
1327
  props: {
1328
1328
  children: { default: void 0 },
@@ -1365,16 +1365,16 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1365
1365
  },
1366
1366
  emits: ["update:value"],
1367
1367
  setup(l, { emit: a }) {
1368
- const i = a, e = l, t = n(void 0), c = n(void 0), r = n(void 0), m = n(void 0), s = n(void 0), u = n(""), v = n(""), I = n(""), L = n(!1), B = n(""), N = n(null);
1368
+ const i = a, e = l, t = n(void 0), v = n(void 0), u = n(void 0), h = n(void 0), s = n(void 0), r = n(""), c = n(""), _ = n(""), L = n(!1), B = n(""), N = n(null);
1369
1369
  Y(() => {
1370
1370
  L.value = !0;
1371
- const g = e.id ?? `select-${Q()}`;
1372
- t.value = g, c.value = g + re, r.value = g + ve, m.value = g + ce, u.value = g + Ne, s.value = e.invalidMessage || ie;
1371
+ const m = e.id ?? `select-${Q()}`;
1372
+ t.value = m, v.value = m + re, u.value = m + ce, h.value = m + ve, r.value = m + Ne, s.value = e.invalidMessage || ie;
1373
1373
  }), A(
1374
1374
  () => [N.value, e.invalidMessage],
1375
1375
  () => {
1376
- var g;
1377
- s.value = e.invalidMessage || ((g = N.value) == null ? void 0 : g.validationMessage) || ie;
1376
+ var m;
1377
+ s.value = e.invalidMessage || ((m = N.value) == null ? void 0 : m.validationMessage) || ie;
1378
1378
  },
1379
1379
  {
1380
1380
  immediate: !0,
@@ -1384,8 +1384,8 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1384
1384
  () => [t.value, L.value],
1385
1385
  () => {
1386
1386
  if (t.value && L.value) {
1387
- const g = t.value + re, X = t.value + Ne;
1388
- c.value = g, r.value = t.value + ve, m.value = t.value + ce, u.value = X, Z(e.message, e.showMessage) ? v.value = g : v.value = X, L.value = !1;
1387
+ const m = t.value + re, X = t.value + Ne;
1388
+ v.value = m, u.value = t.value + ce, h.value = t.value + ve, r.value = X, Z(e.message, e.showMessage) ? c.value = m : c.value = X, L.value = !1;
1389
1389
  }
1390
1390
  },
1391
1391
  {
@@ -1395,7 +1395,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1395
1395
  ), A(
1396
1396
  () => [e.value],
1397
1397
  () => {
1398
- I.value = e.value;
1398
+ _.value = e.value;
1399
1399
  },
1400
1400
  {
1401
1401
  immediate: !0,
@@ -1406,115 +1406,115 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1406
1406
  return !!(e.validMessage ?? e.validation === "valid");
1407
1407
  }
1408
1408
  function $() {
1409
- var g, X, j;
1410
- !((g = N.value) != null && g.validity.valid) || e.validation === "invalid" ? (v.value = m.value, s.value = e.invalidMessage || ((X = N.value) == null ? void 0 : X.validationMessage) || ie, ue() && (B.value = s.value, ee(() => B.value = "", 1e3))) : w() && ((j = N.value) != null && j.validity.valid) && e.required ? (v.value = r.value, ue() && (B.value = e.validMessage ?? fe, ee(() => B.value = "", 1e3))) : Z(e.message, e.showMessage) ? v.value = c.value : v.value = u.value;
1409
+ var m, X, j;
1410
+ !((m = N.value) != null && m.validity.valid) || e.validation === "invalid" ? (c.value = h.value, s.value = e.invalidMessage || ((X = N.value) == null ? void 0 : X.validationMessage) || ie, ue() && (B.value = s.value, ee(() => B.value = "", 1e3))) : w() && ((j = N.value) != null && j.validity.valid) && e.required ? (c.value = u.value, ue() && (B.value = e.validMessage ?? fe, ee(() => B.value = "", 1e3))) : Z(e.message, e.showMessage) ? c.value = v.value : c.value = r.value;
1411
1411
  }
1412
- function R(g) {
1413
- e.onClick && e.onClick(g);
1412
+ function R(m) {
1413
+ m.stopPropagation(), e.onClick && e.onClick(m);
1414
1414
  }
1415
- function y(g) {
1416
- e.input && e.input(g), I.value = g.target.value, e.onInput && e.onInput(g), oe(i, g), $();
1415
+ function y(m) {
1416
+ m.stopPropagation(), e.input && e.input(m), _.value = m.target.value, e.onInput && e.onInput(m), oe(i, m), $();
1417
1417
  }
1418
- function b(g) {
1419
- e.onChange && e.onChange(g), oe(() => {
1420
- }, g), $();
1418
+ function b(m) {
1419
+ m.stopPropagation(), e.onChange && e.onChange(m), oe(() => {
1420
+ }, m), $();
1421
1421
  }
1422
- function O(g) {
1423
- e.onBlur && e.onBlur(g);
1422
+ function O(m) {
1423
+ m.stopPropagation(), e.onBlur && e.onBlur(m);
1424
1424
  }
1425
- function p(g) {
1426
- e.onFocus && e.onFocus(g);
1425
+ function f(m) {
1426
+ m.stopPropagation(), e.onFocus && e.onFocus(m);
1427
1427
  }
1428
- function E(g) {
1428
+ function E(m) {
1429
1429
  var X;
1430
- return g.label ?? ((X = g.value) == null ? void 0 : X.toString());
1431
- }
1432
- return (g, X) => (f(), h("div", {
1433
- class: z(d(q)("db-select", e.class)),
1434
- "data-variant": g.variant,
1435
- "data-hide-label": d(K)(g.showLabel),
1436
- "data-icon": g.icon,
1437
- "data-hide-icon": d(K)(g.showIcon)
1430
+ return m.label ?? ((X = m.value) == null ? void 0 : X.toString());
1431
+ }
1432
+ return (m, X) => (p(), g("div", {
1433
+ class: P(d(z)("db-select", e.class)),
1434
+ "data-variant": m.variant,
1435
+ "data-hide-label": d(K)(m.showLabel),
1436
+ "data-icon": m.icon,
1437
+ "data-hide-icon": d(K)(m.showIcon)
1438
1438
  }, [
1439
- _("label", { for: t.value }, S(g.label ?? d(ke)), 9, wt),
1440
- _("select", {
1441
- "aria-invalid": g.validation === "invalid",
1442
- "data-custom-validity": g.validation,
1439
+ I("label", { for: t.value }, S(m.label ?? d(ke)), 9, It),
1440
+ I("select", {
1441
+ "aria-invalid": m.validation === "invalid",
1442
+ "data-custom-validity": m.validation,
1443
1443
  ref_key: "_ref",
1444
1444
  ref: N,
1445
- required: d(M)(g.required, "required"),
1446
- disabled: d(M)(g.disabled, "disabled"),
1445
+ required: d(M)(m.required, "required"),
1446
+ disabled: d(M)(m.disabled, "disabled"),
1447
1447
  id: t.value,
1448
- name: g.name,
1449
- size: g.size,
1450
- value: g.value ?? I.value,
1451
- autocomplete: g.autocomplete,
1452
- multiple: g.multiple,
1448
+ name: m.name,
1449
+ size: m.size,
1450
+ value: m.value ?? _.value,
1451
+ autocomplete: m.autocomplete,
1452
+ multiple: m.multiple,
1453
1453
  onInput: X[0] || (X[0] = async (j) => y(j)),
1454
1454
  onClick: X[1] || (X[1] = async (j) => R(j)),
1455
1455
  onChange: X[2] || (X[2] = async (j) => b(j)),
1456
1456
  onBlur: X[3] || (X[3] = async (j) => O(j)),
1457
- onFocus: X[4] || (X[4] = async (j) => p(j)),
1458
- "aria-describedby": v.value
1457
+ onFocus: X[4] || (X[4] = async (j) => f(j)),
1458
+ "aria-describedby": c.value
1459
1459
  }, [
1460
- X[5] || (X[5] = _("option", { hidden: !0 }, null, -1)),
1461
- g.options ? (f(!0), h(G, { key: 0 }, ge(g.options, (j, Ae) => (f(), h(G, { key: Ae }, [
1462
- j.options ? (f(), h("optgroup", {
1460
+ X[5] || (X[5] = I("option", { hidden: !0 }, null, -1)),
1461
+ m.options ? (p(!0), g(U, { key: 0 }, he(m.options, (j, Ae) => (p(), g(U, { key: Ae }, [
1462
+ j.options ? (p(), g("optgroup", {
1463
1463
  key: 0,
1464
1464
  label: E(j)
1465
1465
  }, [
1466
- (f(!0), h(G, null, ge(j.options, (pe, _e) => (f(), h("option", {
1466
+ (p(!0), g(U, null, he(j.options, (pe, Ie) => (p(), g("option", {
1467
1467
  key: pe.value.toString(),
1468
1468
  value: pe.value,
1469
1469
  selected: pe.selected,
1470
1470
  disabled: pe.disabled
1471
- }, S(E(pe)), 9, Lt))), 128))
1472
- ], 8, It)) : F("", !0),
1473
- j.options ? F("", !0) : (f(), h("option", {
1471
+ }, S(E(pe)), 9, Tt))), 128))
1472
+ ], 8, Lt)) : F("", !0),
1473
+ j.options ? F("", !0) : (p(), g("option", {
1474
1474
  key: 1,
1475
1475
  value: j.value,
1476
1476
  disabled: j.disabled,
1477
1477
  selected: j.selected
1478
- }, S(E(j)), 9, Tt))
1479
- ], 64))), 128)) : T(g.$slots, "default", { key: 1 })
1478
+ }, S(E(j)), 9, $t))
1479
+ ], 64))), 128)) : T(m.$slots, "default", { key: 1 })
1480
1480
  ], 40, _t),
1481
- _("span", { id: u.value }, S(g.placeholder ?? g.label), 9, $t),
1482
- d(Z)(g.message, g.showMessage) ? (f(), J(ae, {
1481
+ I("span", { id: r.value }, S(m.placeholder ?? m.label), 9, At),
1482
+ d(Z)(m.message, m.showMessage) ? (p(), J(ae, {
1483
1483
  key: 0,
1484
1484
  size: "small",
1485
- icon: g.messageIcon,
1486
- id: c.value
1485
+ icon: m.messageIcon,
1486
+ id: v.value
1487
1487
  }, {
1488
1488
  default: V(() => [
1489
- C(S(g.message), 1)
1489
+ C(S(m.message), 1)
1490
1490
  ]),
1491
1491
  _: 1
1492
1492
  }, 8, ["icon", "id"])) : F("", !0),
1493
- w() ? (f(), J(ae, {
1493
+ w() ? (p(), J(ae, {
1494
1494
  key: 1,
1495
1495
  size: "small",
1496
1496
  semantic: "successful",
1497
- id: r.value
1497
+ id: u.value
1498
1498
  }, {
1499
1499
  default: V(() => [
1500
- C(S(g.validMessage || d(fe)), 1)
1500
+ C(S(m.validMessage || d(fe)), 1)
1501
1501
  ]),
1502
1502
  _: 1
1503
1503
  }, 8, ["id"])) : F("", !0),
1504
1504
  te(ae, {
1505
1505
  size: "small",
1506
1506
  semantic: "critical",
1507
- id: m.value
1507
+ id: h.value
1508
1508
  }, {
1509
1509
  default: V(() => [
1510
1510
  C(S(s.value), 1)
1511
1511
  ]),
1512
1512
  _: 1
1513
1513
  }, 8, ["id"]),
1514
- _("span", At, S(B.value), 1)
1515
- ], 10, St));
1514
+ I("span", Ct, S(B.value), 1)
1515
+ ], 10, wt));
1516
1516
  }
1517
- }), Ct = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for"], Et = ["id", "aria-checked", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-after"], dl = /* @__PURE__ */ U({
1517
+ }), Et = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for"], Nt = ["id", "aria-checked", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-after"], nl = /* @__PURE__ */ q({
1518
1518
  __name: "switch",
1519
1519
  props: {
1520
1520
  visualAid: { type: [Boolean, String], default: void 0 },
@@ -1547,64 +1547,64 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1547
1547
  },
1548
1548
  emits: ["update:checked"],
1549
1549
  setup(l, { emit: a }) {
1550
- const i = a, e = l, t = n(void 0), c = n(!1), r = n(null);
1550
+ const i = a, e = l, t = n(void 0), v = n(!1), u = n(null);
1551
1551
  Y(() => {
1552
1552
  t.value = e.id ?? `switch-${Q()}`;
1553
1553
  }), A(
1554
1554
  () => [e.checked],
1555
1555
  () => {
1556
- e.checked !== void 0 && e.checked !== null && (c.value = M(e.checked));
1556
+ e.checked !== void 0 && e.checked !== null && (v.value = M(e.checked));
1557
1557
  },
1558
1558
  {
1559
1559
  immediate: !0,
1560
1560
  flush: "post"
1561
1561
  }
1562
1562
  );
1563
- function m(v) {
1564
- var I;
1565
- e.onChange && e.onChange(v), c.value = (I = v.target) == null ? void 0 : I.checked, oe(i, v, "checked");
1563
+ function h(c) {
1564
+ var _;
1565
+ c.stopPropagation(), e.onChange && e.onChange(c), v.value = (_ = c.target) == null ? void 0 : _.checked, oe(i, c, "checked");
1566
1566
  }
1567
- function s(v) {
1568
- e.onBlur && e.onBlur(v);
1567
+ function s(c) {
1568
+ c.stopPropagation(), e.onBlur && e.onBlur(c);
1569
1569
  }
1570
- function u(v) {
1571
- e.onFocus && e.onFocus(v);
1570
+ function r(c) {
1571
+ c.stopPropagation(), e.onFocus && e.onFocus(c);
1572
1572
  }
1573
- return (v, I) => (f(), h("label", {
1574
- "data-visual-aid": d(H)(v.visualAid),
1575
- "data-size": v.size,
1576
- "data-hide-label": d(K)(v.showLabel),
1577
- "data-emphasis": v.emphasis,
1573
+ return (c, _) => (p(), g("label", {
1574
+ "data-visual-aid": d(H)(c.visualAid),
1575
+ "data-size": c.size,
1576
+ "data-hide-label": d(K)(c.showLabel),
1577
+ "data-emphasis": c.emphasis,
1578
1578
  for: t.value,
1579
- class: z(d(q)("db-switch", e.class))
1579
+ class: P(d(z)("db-switch", e.class))
1580
1580
  }, [
1581
- _("input", {
1581
+ I("input", {
1582
1582
  type: "checkbox",
1583
1583
  role: "switch",
1584
1584
  id: t.value,
1585
- "aria-checked": d(H)(c.value),
1585
+ "aria-checked": d(H)(v.value),
1586
1586
  ref_key: "_ref",
1587
- ref: r,
1588
- checked: d(M)(v.checked, "checked"),
1589
- value: v.value,
1590
- disabled: d(M)(v.disabled, "disabled"),
1591
- "aria-describedby": v.describedbyid,
1592
- "aria-invalid": v.validation === "invalid",
1593
- "data-custom-validity": v.validation,
1594
- name: v.name,
1595
- required: d(M)(v.required, "required"),
1596
- "data-aid-icon": v.icon,
1597
- "data-aid-icon-after": v.iconAfter,
1598
- onChange: I[0] || (I[0] = async (L) => m(L)),
1599
- onBlur: I[1] || (I[1] = async (L) => s(L)),
1600
- onFocus: I[2] || (I[2] = async (L) => u(L))
1601
- }, null, 40, Et),
1602
- v.label ? (f(), h(G, { key: 0 }, [
1603
- C(S(v.label), 1)
1604
- ], 64)) : T(v.$slots, "default", { key: 1 })
1605
- ], 10, Ct));
1587
+ ref: u,
1588
+ checked: d(M)(c.checked, "checked"),
1589
+ value: c.value,
1590
+ disabled: d(M)(c.disabled, "disabled"),
1591
+ "aria-describedby": c.describedbyid,
1592
+ "aria-invalid": c.validation === "invalid",
1593
+ "data-custom-validity": c.validation,
1594
+ name: c.name,
1595
+ required: d(M)(c.required, "required"),
1596
+ "data-aid-icon": c.icon,
1597
+ "data-aid-icon-after": c.iconAfter,
1598
+ onChange: _[0] || (_[0] = async (L) => h(L)),
1599
+ onBlur: _[1] || (_[1] = async (L) => s(L)),
1600
+ onFocus: _[2] || (_[2] = async (L) => r(L))
1601
+ }, null, 40, Nt),
1602
+ c.label ? (p(), g(U, { key: 0 }, [
1603
+ C(S(c.label), 1)
1604
+ ], 64)) : T(c.$slots, "default", { key: 1 })
1605
+ ], 10, Et));
1606
1606
  }
1607
- }), Nt = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Dt = ["disabled", "aria-selected", "aria-controls", "checked", "name", "id"], Ft = /* @__PURE__ */ U({
1607
+ }), Dt = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Ft = ["disabled", "aria-selected", "aria-controls", "checked", "name", "id"], Mt = /* @__PURE__ */ q({
1608
1608
  __name: "tab-item",
1609
1609
  props: {
1610
1610
  children: { default: void 0 },
@@ -1628,13 +1628,13 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1628
1628
  },
1629
1629
  emits: ["update:checked"],
1630
1630
  setup(l, { emit: a }) {
1631
- const i = a, e = l, t = n(!1), c = n(void 0), r = n(!1), m = n(null);
1631
+ const i = a, e = l, t = n(!1), v = n(void 0), u = n(!1), h = n(null);
1632
1632
  Y(() => {
1633
- r.value = !0;
1633
+ u.value = !0;
1634
1634
  }), A(
1635
- () => [m.value, r.value],
1635
+ () => [h.value, u.value],
1636
1636
  () => {
1637
- r.value && m.value && (e.active && m.value.click(), r.value = !1);
1637
+ u.value && h.value && (e.active && h.value.click(), u.value = !1);
1638
1638
  },
1639
1639
  {
1640
1640
  immediate: !0,
@@ -1643,50 +1643,50 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1643
1643
  ), A(
1644
1644
  () => [e.name],
1645
1645
  () => {
1646
- e.name && (c.value = e.name);
1646
+ e.name && (v.value = e.name);
1647
1647
  },
1648
1648
  {
1649
1649
  immediate: !0,
1650
1650
  flush: "post"
1651
1651
  }
1652
1652
  );
1653
- function s(u) {
1654
- var v;
1655
- e.onChange && e.onChange(u), t.value = (v = u.target) == null ? void 0 : v.checked, oe(i, u, "checked");
1653
+ function s(r) {
1654
+ var c;
1655
+ r.stopPropagation(), e.onChange && e.onChange(r), t.value = (c = r.target) == null ? void 0 : c.checked, oe(i, r, "checked");
1656
1656
  }
1657
- return (u, v) => (f(), h("li", {
1657
+ return (r, c) => (p(), g("li", {
1658
1658
  role: "none",
1659
- class: z(d(q)("db-tab-item", e.class))
1659
+ class: P(d(z)("db-tab-item", e.class))
1660
1660
  }, [
1661
- _("label", {
1662
- for: u.id,
1663
- "data-icon": u.icon,
1664
- "data-icon-after": u.iconAfter,
1665
- "data-hide-icon": d(K)(u.showIcon),
1666
- "data-hide-icon-after": d(K)(u.showIcon),
1667
- "data-no-text": d(H)(u.noText)
1661
+ I("label", {
1662
+ for: r.id,
1663
+ "data-icon": r.icon,
1664
+ "data-icon-after": r.iconAfter,
1665
+ "data-hide-icon": d(K)(r.showIcon),
1666
+ "data-hide-icon-after": d(K)(r.showIcon),
1667
+ "data-no-text": d(H)(r.noText)
1668
1668
  }, [
1669
- _("input", {
1669
+ I("input", {
1670
1670
  type: "radio",
1671
1671
  role: "tab",
1672
- disabled: d(M)(u.disabled, "disabled"),
1672
+ disabled: d(M)(r.disabled, "disabled"),
1673
1673
  "aria-selected": t.value,
1674
- "aria-controls": u.controls,
1675
- checked: d(M)(u.checked, "checked"),
1674
+ "aria-controls": r.controls,
1675
+ checked: d(M)(r.checked, "checked"),
1676
1676
  ref_key: "_ref",
1677
- ref: m,
1678
- name: c.value,
1679
- id: u.id,
1680
- onInput: v[0] || (v[0] = async (I) => s(I))
1681
- }, null, 40, Dt),
1682
- u.label ? (f(), h(G, { key: 0 }, [
1683
- C(S(u.label), 1)
1677
+ ref: h,
1678
+ name: v.value,
1679
+ id: r.id,
1680
+ onInput: c[0] || (c[0] = async (_) => s(_))
1681
+ }, null, 40, Ft),
1682
+ r.label ? (p(), g(U, { key: 0 }, [
1683
+ C(S(r.label), 1)
1684
1684
  ], 64)) : F("", !0),
1685
- T(u.$slots, "default")
1686
- ], 8, Nt)
1685
+ T(r.$slots, "default")
1686
+ ], 8, Dt)
1687
1687
  ], 2));
1688
1688
  }
1689
- }), Mt = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], Rt = ["title"], zt = /* @__PURE__ */ U({
1689
+ }), Rt = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], Pt = ["title"], zt = /* @__PURE__ */ q({
1690
1690
  __name: "tag",
1691
1691
  props: {
1692
1692
  behavior: { default: void 0 },
@@ -1716,13 +1716,13 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1716
1716
  i.value = !0, A(
1717
1717
  () => [i.value, a.disabled, e.value],
1718
1718
  () => {
1719
- var r, m;
1719
+ var u, h;
1720
1720
  if (i.value && e.value && a.disabled !== void 0) {
1721
- const s = (r = e.value) == null ? void 0 : r.querySelector(
1721
+ const s = (u = e.value) == null ? void 0 : u.querySelector(
1722
1722
  "button:not(.db-tab-remove-button)"
1723
- ), u = (m = e.value) == null ? void 0 : m.querySelector("input");
1724
- for (const v of [s, u])
1725
- v && (v.disabled = !!a.disabled);
1723
+ ), r = (h = e.value) == null ? void 0 : h.querySelector("input");
1724
+ for (const c of [s, r])
1725
+ c && (c.disabled = !!a.disabled);
1726
1726
  }
1727
1727
  },
1728
1728
  {
@@ -1730,47 +1730,47 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1730
1730
  flush: "post"
1731
1731
  }
1732
1732
  );
1733
- function t(r) {
1734
- a.onRemove && a.onRemove(r);
1733
+ function t(u) {
1734
+ u == null || u.stopPropagation(), a.onRemove && a.onRemove(u);
1735
1735
  }
1736
- function c() {
1737
- return a.removeButton ? a.removeButton : Je;
1736
+ function v() {
1737
+ return a.removeButton ? a.removeButton : Qe;
1738
1738
  }
1739
- return (r, m) => (f(), h("div", {
1739
+ return (u, h) => (p(), g("div", {
1740
1740
  ref_key: "_ref",
1741
1741
  ref: e,
1742
- id: r.id,
1743
- class: z(d(q)("db-tag", a.class)),
1744
- "data-disabled": d(H)(r.disabled),
1745
- "data-semantic": r.semantic,
1746
- "data-emphasis": r.emphasis,
1747
- "data-icon": r.icon,
1748
- "data-show-check-state": d(H)(r.showCheckState ?? !0),
1749
- "data-hide-icon": d(K)(r.showIcon),
1750
- "data-no-text": d(H)(r.noText),
1751
- "data-overflow": d(H)(r.overflow)
1742
+ id: u.id,
1743
+ class: P(d(z)("db-tag", a.class)),
1744
+ "data-disabled": d(H)(u.disabled),
1745
+ "data-semantic": u.semantic,
1746
+ "data-emphasis": u.emphasis,
1747
+ "data-icon": u.icon,
1748
+ "data-show-check-state": d(H)(u.showCheckState ?? !0),
1749
+ "data-hide-icon": d(K)(u.showIcon),
1750
+ "data-no-text": d(H)(u.noText),
1751
+ "data-overflow": d(H)(u.overflow)
1752
1752
  }, [
1753
- T(r.$slots, "content"),
1754
- T(r.$slots, "default"),
1755
- r.text ? (f(), h(G, { key: 0 }, [
1756
- C(S(r.text), 1)
1753
+ T(u.$slots, "content"),
1754
+ T(u.$slots, "default"),
1755
+ u.text ? (p(), g(U, { key: 0 }, [
1756
+ C(S(u.text), 1)
1757
1757
  ], 64)) : F("", !0),
1758
- r.behavior === "removable" ? (f(), h("button", {
1758
+ u.behavior === "removable" ? (p(), g("button", {
1759
1759
  key: 1,
1760
1760
  class: "db-button db-tab-remove-button",
1761
1761
  "data-icon": "cross",
1762
1762
  "data-size": "small",
1763
1763
  "data-no-text": "true",
1764
1764
  "data-variant": "ghost",
1765
- onClick: m[0] || (m[0] = async (s) => t(s)),
1766
- title: c()
1767
- }, S(c()), 9, Rt)) : F("", !0)
1768
- ], 10, Mt));
1765
+ onClick: h[0] || (h[0] = async (s) => t(s)),
1766
+ title: v()
1767
+ }, S(v()), 9, Pt)) : F("", !0)
1768
+ ], 10, Rt));
1769
1769
  }
1770
- }), qt = ["data-variant", "data-hide-label"], Ut = ["for"], Gt = ["aria-invalid", "data-custom-validity", "id", "data-resize", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Pt = {
1770
+ }), qt = ["data-variant", "data-hide-label"], Ut = ["for"], Gt = ["aria-invalid", "data-custom-validity", "id", "data-resize", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Vt = {
1771
1771
  "data-visually-hidden": "true",
1772
1772
  role: "status"
1773
- }, nl = /* @__PURE__ */ U({
1773
+ }, sl = /* @__PURE__ */ q({
1774
1774
  __name: "textarea",
1775
1775
  props: {
1776
1776
  cols: { default: void 0 },
@@ -1818,10 +1818,10 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1818
1818
  },
1819
1819
  emits: ["update:value"],
1820
1820
  setup(l, { emit: a }) {
1821
- const i = a, e = l, t = n(void 0), c = n(void 0), r = n(void 0), m = n(void 0), s = n(void 0), u = n(""), v = n(""), I = n(""), L = n(null);
1821
+ const i = a, e = l, t = n(void 0), v = n(void 0), u = n(void 0), h = n(void 0), s = n(void 0), r = n(""), c = n(""), _ = n(""), L = n(null);
1822
1822
  Y(() => {
1823
1823
  const b = e.id ?? `textarea-${Q()}`;
1824
- t.value = b, c.value = b + re, r.value = b + ve, m.value = b + ce, s.value = e.invalidMessage || ie;
1824
+ t.value = b, v.value = b + re, u.value = b + ce, h.value = b + ve, s.value = e.invalidMessage || ie;
1825
1825
  }), A(
1826
1826
  () => [L.value, e.invalidMessage],
1827
1827
  () => {
@@ -1837,7 +1837,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1837
1837
  () => {
1838
1838
  if (t.value) {
1839
1839
  const b = t.value + re;
1840
- c.value = b, r.value = t.value + ve, m.value = t.value + ce, Z(e.message, e.showMessage) && (u.value = b);
1840
+ v.value = b, u.value = t.value + ce, h.value = t.value + ve, Z(e.message, e.showMessage) && (r.value = b);
1841
1841
  }
1842
1842
  },
1843
1843
  {
@@ -1847,7 +1847,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1847
1847
  ), A(
1848
1848
  () => [e.value],
1849
1849
  () => {
1850
- v.value = e.value;
1850
+ c.value = e.value;
1851
1851
  },
1852
1852
  {
1853
1853
  immediate: !0,
@@ -1858,29 +1858,29 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1858
1858
  return !!(e.validMessage ?? e.validation === "valid");
1859
1859
  }
1860
1860
  function N() {
1861
- var b, O, p;
1862
- !((b = L.value) != null && b.validity.valid) || e.validation === "invalid" ? (u.value = m.value, s.value = e.invalidMessage || ((O = L.value) == null ? void 0 : O.validationMessage) || ie, ue() && (I.value = s.value, ee(() => I.value = "", 1e3))) : B() && ((p = L.value) != null && p.validity.valid) && (e.required || e.minLength || e.maxLength) ? (u.value = r.value, ue() && (I.value = e.validMessage ?? fe, ee(() => I.value = "", 1e3))) : Z(e.message, e.showMessage) ? u.value = c.value : u.value = "";
1861
+ var b, O, f;
1862
+ !((b = L.value) != null && b.validity.valid) || e.validation === "invalid" ? (r.value = h.value, s.value = e.invalidMessage || ((O = L.value) == null ? void 0 : O.validationMessage) || ie, ue() && (_.value = s.value, ee(() => _.value = "", 1e3))) : B() && ((f = L.value) != null && f.validity.valid) && (e.required || e.minLength || e.maxLength) ? (r.value = u.value, ue() && (_.value = e.validMessage ?? fe, ee(() => _.value = "", 1e3))) : Z(e.message, e.showMessage) ? r.value = v.value : r.value = "";
1863
1863
  }
1864
1864
  function w(b) {
1865
- e.input && e.input(b), v.value = b.target.value, e.onInput && e.onInput(b), oe(i, b), N();
1865
+ b.stopPropagation(), e.input && e.input(b), c.value = b.target.value, e.onInput && e.onInput(b), oe(i, b), N();
1866
1866
  }
1867
1867
  function $(b) {
1868
- e.onChange && e.onChange(b), oe(() => {
1868
+ b.stopPropagation(), e.onChange && e.onChange(b), oe(() => {
1869
1869
  }, b), N();
1870
1870
  }
1871
1871
  function R(b) {
1872
- e.onBlur && e.onBlur(b);
1872
+ b.stopPropagation(), e.onBlur && e.onBlur(b);
1873
1873
  }
1874
1874
  function y(b) {
1875
- e.onFocus && e.onFocus(b);
1875
+ b.stopPropagation(), e.onFocus && e.onFocus(b);
1876
1876
  }
1877
- return (b, O) => (f(), h("div", {
1878
- class: z(d(q)("db-textarea", e.class)),
1877
+ return (b, O) => (p(), g("div", {
1878
+ class: P(d(z)("db-textarea", e.class)),
1879
1879
  "data-variant": b.variant,
1880
1880
  "data-hide-label": d(K)(b.showLabel)
1881
1881
  }, [
1882
- _("label", { for: t.value }, S(b.label ?? d(ke)), 9, Ut),
1883
- _("textarea", {
1882
+ I("label", { for: t.value }, S(b.label ?? d(ke)), 9, Ut),
1883
+ I("textarea", {
1884
1884
  "aria-invalid": b.validation === "invalid",
1885
1885
  "data-custom-validity": b.validation,
1886
1886
  ref_key: "_ref",
@@ -1891,38 +1891,38 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1891
1891
  required: d(M)(b.required, "required"),
1892
1892
  readOnly: d(M)(b.readOnly, "readOnly") || d(M)(b.readonly, "readonly"),
1893
1893
  form: b.form,
1894
- maxLength: d(he)(b.maxLength, b.maxlength),
1895
- minLength: d(he)(b.minLength, b.minlength),
1894
+ maxLength: d(ye)(b.maxLength, b.maxlength),
1895
+ minLength: d(ye)(b.minLength, b.minlength),
1896
1896
  name: b.name,
1897
1897
  wrap: b.wrap,
1898
1898
  spellcheck: b.spellCheck,
1899
1899
  autocomplete: b.autocomplete,
1900
- onInput: O[0] || (O[0] = async (p) => w(p)),
1901
- onChange: O[1] || (O[1] = async (p) => $(p)),
1902
- onBlur: O[2] || (O[2] = async (p) => R(p)),
1903
- onFocus: O[3] || (O[3] = async (p) => y(p)),
1904
- value: b.value ?? v.value,
1905
- "aria-describedby": u.value,
1906
- placeholder: b.placeholder ?? d(Ke),
1907
- rows: d(he)(b.rows, d($a)),
1908
- cols: d(he)(b.cols)
1900
+ onInput: O[0] || (O[0] = async (f) => w(f)),
1901
+ onChange: O[1] || (O[1] = async (f) => $(f)),
1902
+ onBlur: O[2] || (O[2] = async (f) => R(f)),
1903
+ onFocus: O[3] || (O[3] = async (f) => y(f)),
1904
+ value: b.value ?? c.value,
1905
+ "aria-describedby": r.value,
1906
+ placeholder: b.placeholder ?? d(Je),
1907
+ rows: d(ye)(b.rows, d(Aa)),
1908
+ cols: d(ye)(b.cols)
1909
1909
  }, null, 40, Gt),
1910
- d(Z)(b.message, b.showMessage) ? (f(), J(ae, {
1910
+ d(Z)(b.message, b.showMessage) ? (p(), J(ae, {
1911
1911
  key: 0,
1912
1912
  size: "small",
1913
1913
  icon: b.messageIcon,
1914
- id: c.value
1914
+ id: v.value
1915
1915
  }, {
1916
1916
  default: V(() => [
1917
1917
  C(S(b.message), 1)
1918
1918
  ]),
1919
1919
  _: 1
1920
1920
  }, 8, ["icon", "id"])) : F("", !0),
1921
- B() ? (f(), J(ae, {
1921
+ B() ? (p(), J(ae, {
1922
1922
  key: 1,
1923
1923
  size: "small",
1924
1924
  semantic: "successful",
1925
- id: r.value
1925
+ id: u.value
1926
1926
  }, {
1927
1927
  default: V(() => [
1928
1928
  C(S(b.validMessage || d(fe)), 1)
@@ -1932,20 +1932,20 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1932
1932
  te(ae, {
1933
1933
  size: "small",
1934
1934
  semantic: "critical",
1935
- id: m.value
1935
+ id: h.value
1936
1936
  }, {
1937
1937
  default: V(() => [
1938
1938
  C(S(s.value), 1)
1939
1939
  ]),
1940
1940
  _: 1
1941
1941
  }, 8, ["id"]),
1942
- _("span", Pt, S(I.value), 1)
1942
+ I("span", Vt, S(_.value), 1)
1943
1943
  ], 10, qt));
1944
1944
  }
1945
- }), Vt = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "data-wrap", "aria-disabled"], Ot = ["aria-haspopup", "aria-expanded", "disabled"], Wt = ["data-auto-close", "id"], Xt = {
1945
+ }), Ot = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "data-wrap", "aria-disabled"], Wt = ["aria-haspopup", "aria-expanded", "disabled"], Xt = ["data-auto-close", "id"], Ht = {
1946
1946
  key: 0,
1947
1947
  class: "db-mobile-navigation-back"
1948
- }, sl = /* @__PURE__ */ U({
1948
+ }, ul = /* @__PURE__ */ q({
1949
1949
  __name: "navigation-item",
1950
1950
  props: {
1951
1951
  active: { type: Boolean, default: void 0 },
@@ -1968,15 +1968,15 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1968
1968
  text: { default: void 0 }
1969
1969
  },
1970
1970
  setup(l) {
1971
- const a = l, i = n(!1), e = n(!1), t = n(!0), c = n(!1), r = n(!1), m = n(
1971
+ const a = l, i = n(!1), e = n(!1), t = n(!0), v = n(!1), u = n(!1), h = n(
1972
1972
  "sub-navigation-" + Q()
1973
- ), s = n(void 0), u = n(null);
1973
+ ), s = n(void 0), r = n(null);
1974
1974
  Y(() => {
1975
1975
  i.value = !0;
1976
1976
  }), A(
1977
1977
  () => [a.subNavigationExpanded],
1978
1978
  () => {
1979
- a.subNavigationExpanded !== void 0 && (c.value = !!M(
1979
+ a.subNavigationExpanded !== void 0 && (v.value = !!M(
1980
1980
  a.subNavigationExpanded,
1981
1981
  "subNavigationExpanded"
1982
1982
  ));
@@ -1986,13 +1986,13 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
1986
1986
  flush: "post"
1987
1987
  }
1988
1988
  ), A(
1989
- () => [i.value, u.value],
1989
+ () => [i.value, r.value],
1990
1990
  () => {
1991
1991
  var B;
1992
- if (i.value && u.value) {
1993
- const N = u.value.querySelector("menu");
1994
- N && (((B = N.children) == null ? void 0 : B.length) > 0 ? (e.value = !0, s.value || (s.value = new Ka(
1995
- u.value,
1992
+ if (i.value && r.value) {
1993
+ const N = r.value.querySelector("menu");
1994
+ N && (((B = N.children) == null ? void 0 : B.length) > 0 ? (e.value = !0, s.value || (s.value = new Ja(
1995
+ r.value,
1996
1996
  N
1997
1997
  ))) : t.value = !1);
1998
1998
  }
@@ -2002,20 +2002,20 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2002
2002
  flush: "post"
2003
2003
  }
2004
2004
  );
2005
- function v(B) {
2006
- aa(B) && (r.value = !0, ee(() => {
2007
- r.value = !1;
2005
+ function c(B) {
2006
+ ta(B) && (u.value = !0, ee(() => {
2007
+ u.value = !1;
2008
2008
  }, 300));
2009
2009
  }
2010
- function I(B) {
2011
- a.onClick && a.onClick(B), e.value && (c.value = !0);
2010
+ function _(B) {
2011
+ B.stopPropagation(), a.onClick && a.onClick(B), e.value && (v.value = !0);
2012
2012
  }
2013
2013
  function L(B) {
2014
- B.stopPropagation(), c.value = !1;
2014
+ B.stopPropagation(), v.value = !1;
2015
2015
  }
2016
- return (B, N) => (f(), h("li", {
2016
+ return (B, N) => (p(), g("li", {
2017
2017
  ref_key: "_ref",
2018
- ref: u,
2018
+ ref: r,
2019
2019
  id: B.id,
2020
2020
  onMouseover: N[2] || (N[2] = async (w) => {
2021
2021
  var $;
@@ -2029,7 +2029,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2029
2029
  var $;
2030
2030
  return ($ = s.value) == null ? void 0 : $.followByMouseEvent(w);
2031
2031
  }),
2032
- class: z(d(q)("db-navigation-item", a.class)),
2032
+ class: P(d(z)("db-navigation-item", a.class)),
2033
2033
  "data-width": B.width,
2034
2034
  "data-icon": B.icon,
2035
2035
  "data-hide-icon": d(K)(B.showIcon),
@@ -2037,30 +2037,30 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2037
2037
  "data-wrap": d(H)(B.wrap),
2038
2038
  "aria-disabled": d(H)(B.disabled)
2039
2039
  }, [
2040
- t.value ? F("", !0) : (f(), h(G, { key: 0 }, [
2041
- B.text ? (f(), h(G, { key: 0 }, [
2040
+ t.value ? F("", !0) : (p(), g(U, { key: 0 }, [
2041
+ B.text ? (p(), g(U, { key: 0 }, [
2042
2042
  C(S(B.text), 1)
2043
2043
  ], 64)) : T(B.$slots, "default", { key: 1 })
2044
2044
  ], 64)),
2045
- t.value ? (f(), h(G, { key: 1 }, [
2046
- _("button", {
2045
+ t.value ? (p(), g(U, { key: 1 }, [
2046
+ I("button", {
2047
2047
  class: "db-navigation-item-expand-button",
2048
2048
  "aria-haspopup": e.value,
2049
- "aria-expanded": c.value,
2049
+ "aria-expanded": v.value,
2050
2050
  disabled: d(M)(B.disabled, "disabled"),
2051
- onClick: N[0] || (N[0] = async (w) => I(w))
2051
+ onClick: N[0] || (N[0] = async (w) => _(w))
2052
2052
  }, [
2053
- B.text ? (f(), h(G, { key: 0 }, [
2053
+ B.text ? (p(), g(U, { key: 0 }, [
2054
2054
  C(S(B.text), 1)
2055
2055
  ], 64)) : T(B.$slots, "default", { key: 1 })
2056
- ], 8, Ot),
2057
- _("menu", {
2056
+ ], 8, Wt),
2057
+ I("menu", {
2058
2058
  class: "db-sub-navigation",
2059
- "data-auto-close": r.value,
2060
- id: m.value,
2061
- onClick: N[1] || (N[1] = async (w) => v(w))
2059
+ "data-auto-close": u.value,
2060
+ id: h.value,
2061
+ onClick: N[1] || (N[1] = async (w) => c(w))
2062
2062
  }, [
2063
- e.value ? (f(), h("div", Xt, [
2063
+ e.value ? (p(), g("div", Ht, [
2064
2064
  te(Be, {
2065
2065
  icon: "arrow_left",
2066
2066
  variant: "ghost",
@@ -2074,11 +2074,11 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2074
2074
  }, 8, ["id", "onClick"])
2075
2075
  ])) : F("", !0),
2076
2076
  T(B.$slots, "sub-navigation")
2077
- ], 8, Wt)
2077
+ ], 8, Xt)
2078
2078
  ], 64)) : F("", !0)
2079
- ], 42, Vt));
2079
+ ], 42, Ot));
2080
2080
  }
2081
- }), Ht = ["id"], jt = ["aria-disabled", "name", "open"], Yt = /* @__PURE__ */ U({
2081
+ }), jt = ["id"], Yt = ["aria-disabled", "name", "open"], Kt = /* @__PURE__ */ q({
2082
2082
  __name: "accordion-item",
2083
2083
  props: {
2084
2084
  defaultOpen: { type: Boolean, default: void 0 },
@@ -2097,13 +2097,13 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2097
2097
  name: { default: void 0 }
2098
2098
  },
2099
2099
  setup(l) {
2100
- const a = l, i = n(we), e = n(!1), t = n(void 0), c = n(!1), r = n(null);
2100
+ const a = l, i = n(we), e = n(!1), t = n(void 0), v = n(!1), u = n(null);
2101
2101
  Y(() => {
2102
- i.value = a.id || "accordion-item-" + Q(), a.defaultOpen && (e.value = a.defaultOpen), c.value = !0;
2102
+ i.value = a.id || "accordion-item-" + Q(), a.defaultOpen && (e.value = a.defaultOpen), v.value = !0;
2103
2103
  }), A(
2104
- () => [r.value, c.value],
2104
+ () => [u.value, v.value],
2105
2105
  () => {
2106
- r.value && c.value;
2106
+ u.value && v.value;
2107
2107
  },
2108
2108
  {
2109
2109
  immediate: !0,
@@ -2119,39 +2119,39 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2119
2119
  flush: "post"
2120
2120
  }
2121
2121
  );
2122
- function m(s) {
2122
+ function h(s) {
2123
2123
  s == null || s.preventDefault();
2124
- const u = !e.value;
2125
- a.onToggle && a.onToggle(u), e.value = u;
2124
+ const r = !e.value;
2125
+ a.onToggle && a.onToggle(r), e.value = r;
2126
2126
  }
2127
- return (s, u) => (f(), h("li", {
2127
+ return (s, r) => (p(), g("li", {
2128
2128
  id: i.value,
2129
- class: z(d(q)("db-accordion-item", a.class))
2129
+ class: P(d(z)("db-accordion-item", a.class))
2130
2130
  }, [
2131
- _("details", {
2131
+ I("details", {
2132
2132
  "aria-disabled": d(H)(s.disabled),
2133
2133
  ref_key: "_ref",
2134
- ref: r,
2134
+ ref: u,
2135
2135
  name: t.value,
2136
2136
  open: e.value
2137
2137
  }, [
2138
- _("summary", {
2139
- onClick: u[0] || (u[0] = async (v) => m(v))
2138
+ I("summary", {
2139
+ onClick: r[0] || (r[0] = async (c) => h(c))
2140
2140
  }, [
2141
- s.headlinePlain ? (f(), h(G, { key: 0 }, [
2141
+ s.headlinePlain ? (p(), g(U, { key: 0 }, [
2142
2142
  C(S(s.headlinePlain), 1)
2143
2143
  ], 64)) : F("", !0),
2144
2144
  s.headlinePlain ? F("", !0) : T(s.$slots, "headline", { key: 1 })
2145
2145
  ]),
2146
- _("div", null, [
2147
- s.text ? (f(), h(G, { key: 0 }, [
2146
+ I("div", null, [
2147
+ s.text ? (p(), g(U, { key: 0 }, [
2148
2148
  C(S(s.text), 1)
2149
2149
  ], 64)) : T(s.$slots, "default", { key: 1 })
2150
2150
  ])
2151
- ], 8, jt)
2152
- ], 10, Ht));
2151
+ ], 8, Yt)
2152
+ ], 10, jt));
2153
2153
  }
2154
- }), Kt = ["id", "data-variant"], ul = /* @__PURE__ */ U({
2154
+ }), Jt = ["id", "data-variant"], rl = /* @__PURE__ */ q({
2155
2155
  __name: "accordion",
2156
2156
  props: {
2157
2157
  behavior: { default: void 0 },
@@ -2168,9 +2168,9 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2168
2168
  autofocus: { type: [Boolean, String] }
2169
2169
  },
2170
2170
  setup(l) {
2171
- const a = l, i = n(we), e = n(""), t = n(!1), c = n(!1), r = n(null);
2171
+ const a = l, i = n(we), e = n(""), t = n(!1), v = n(!1), u = n(null);
2172
2172
  Y(() => {
2173
- i.value = a.id || "accordion-" + Q(), t.value = !0, c.value = !0;
2173
+ i.value = a.id || "accordion-" + Q(), t.value = !0, v.value = !0;
2174
2174
  }), A(
2175
2175
  () => [t.value, a.name, a.behavior, i.value],
2176
2176
  () => {
@@ -2181,13 +2181,13 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2181
2181
  flush: "post"
2182
2182
  }
2183
2183
  ), A(
2184
- () => [r.value, e.value],
2184
+ () => [u.value, e.value],
2185
2185
  () => {
2186
- if (r.value) {
2187
- const s = r.value.getElementsByTagName("details");
2186
+ if (u.value) {
2187
+ const s = u.value.getElementsByTagName("details");
2188
2188
  if (s)
2189
- for (const u of Array.from(s))
2190
- e.value === "" ? u.removeAttribute("name") : u.name = e.value ?? "";
2189
+ for (const r of Array.from(s))
2190
+ e.value === "" ? r.removeAttribute("name") : r.name = e.value ?? "";
2191
2191
  }
2192
2192
  },
2193
2193
  {
@@ -2195,21 +2195,21 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2195
2195
  flush: "post"
2196
2196
  }
2197
2197
  ), A(
2198
- () => [r.value, c.value, a.initOpenIndex],
2198
+ () => [u.value, v.value, a.initOpenIndex],
2199
2199
  () => {
2200
- if (r.value && c.value) {
2200
+ if (u.value && v.value) {
2201
2201
  if (a.initOpenIndex && a.initOpenIndex.length > 0) {
2202
- const s = r.value.getElementsByTagName("details");
2202
+ const s = u.value.getElementsByTagName("details");
2203
2203
  if (s) {
2204
- const u = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
2204
+ const r = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
2205
2205
  Array.from(s).forEach(
2206
- (v, I) => {
2207
- u != null && u.includes(I) && (v.open = !0);
2206
+ (c, _) => {
2207
+ r != null && r.includes(_) && (c.open = !0);
2208
2208
  }
2209
2209
  );
2210
2210
  }
2211
2211
  }
2212
- c.value = !1;
2212
+ v.value = !1;
2213
2213
  }
2214
2214
  },
2215
2215
  {
@@ -2217,7 +2217,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2217
2217
  flush: "post"
2218
2218
  }
2219
2219
  );
2220
- function m() {
2220
+ function h() {
2221
2221
  try {
2222
2222
  return typeof a.items == "string" ? JSON.parse(a.items) : a.items;
2223
2223
  } catch (s) {
@@ -2225,23 +2225,23 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2225
2225
  }
2226
2226
  return [];
2227
2227
  }
2228
- return (s, u) => (f(), h("ul", {
2228
+ return (s, r) => (p(), g("ul", {
2229
2229
  ref_key: "_ref",
2230
- ref: r,
2230
+ ref: u,
2231
2231
  id: i.value,
2232
- class: z(d(q)("db-accordion", a.class)),
2232
+ class: P(d(z)("db-accordion", a.class)),
2233
2233
  "data-variant": s.variant
2234
2234
  }, [
2235
2235
  s.items ? F("", !0) : T(s.$slots, "default", { key: 0 }),
2236
- s.items ? (f(!0), h(G, { key: 1 }, ge(m(), (v, I) => (f(), J(Yt, {
2237
- key: `accordion-item-${I}`,
2238
- headlinePlain: v.headlinePlain,
2239
- disabled: v.disabled,
2240
- text: v.text
2236
+ s.items ? (p(!0), g(U, { key: 1 }, he(h(), (c, _) => (p(), J(Kt, {
2237
+ key: `accordion-item-${_}`,
2238
+ headlinePlain: c.headlinePlain,
2239
+ disabled: c.disabled,
2240
+ text: c.text
2241
2241
  }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : F("", !0)
2242
- ], 10, Kt));
2242
+ ], 10, Jt));
2243
2243
  }
2244
- }), Jt = ["id", "aria-labelledby"], rl = /* @__PURE__ */ U({
2244
+ }), Qt = ["id", "aria-labelledby"], cl = /* @__PURE__ */ q({
2245
2245
  __name: "navigation",
2246
2246
  props: {
2247
2247
  children: { default: void 0 },
@@ -2256,19 +2256,19 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2256
2256
  const a = l, i = n(we), e = n(null);
2257
2257
  return Y(() => {
2258
2258
  i.value = a.id || "navigation-" + Q();
2259
- }), (t, c) => (f(), h("nav", {
2259
+ }), (t, v) => (p(), g("nav", {
2260
2260
  ref_key: "_ref",
2261
2261
  ref: e,
2262
2262
  id: i.value,
2263
2263
  "aria-labelledby": t.labelledBy,
2264
- class: z(d(q)("db-navigation", a.class))
2264
+ class: P(d(z)("db-navigation", a.class))
2265
2265
  }, [
2266
- _("menu", null, [
2266
+ I("menu", null, [
2267
2267
  T(t.$slots, "default")
2268
2268
  ])
2269
- ], 10, Jt));
2269
+ ], 10, Qt));
2270
2270
  }
2271
- }), Qt = ["id"], Zt = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], vl = /* @__PURE__ */ U({
2271
+ }), Zt = ["id"], xt = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], vl = /* @__PURE__ */ q({
2272
2272
  __name: "popover",
2273
2273
  props: {
2274
2274
  open: { type: [Boolean, String], default: void 0 },
@@ -2294,7 +2294,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2294
2294
  () => [t.value, i.value],
2295
2295
  () => {
2296
2296
  if (t.value && i.value) {
2297
- const s = m();
2297
+ const s = h();
2298
2298
  s && (s.ariaHasPopup = "true"), i.value = !1;
2299
2299
  }
2300
2300
  },
@@ -2306,7 +2306,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2306
2306
  () => [t.value, e.value],
2307
2307
  () => {
2308
2308
  if (t.value) {
2309
- const s = m();
2309
+ const s = h();
2310
2310
  s && (s.ariaExpanded = (!!e.value).toString());
2311
2311
  }
2312
2312
  },
@@ -2315,38 +2315,38 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2315
2315
  flush: "post"
2316
2316
  }
2317
2317
  );
2318
- function c() {
2318
+ function v() {
2319
2319
  if (e.value = !0, !t.value) return;
2320
2320
  const s = t.value.querySelector("article");
2321
2321
  s && Fe(s);
2322
2322
  }
2323
- function r(s) {
2324
- const u = s.target;
2325
- (!u.parentNode || u.parentNode.querySelector(":focus") !== u && u.parentNode.querySelector(":focus-within") !== u && u.parentNode.querySelector(":hover") !== u) && (e.value = !1);
2323
+ function u(s) {
2324
+ const r = s.target;
2325
+ (!r.parentNode || r.parentNode.querySelector(":focus") !== r && r.parentNode.querySelector(":focus-within") !== r && r.parentNode.querySelector(":hover") !== r) && (e.value = !1);
2326
2326
  }
2327
- function m() {
2327
+ function h() {
2328
2328
  var s;
2329
2329
  if (t.value) {
2330
- const u = Array.from(t.value.children);
2331
- if (u.length >= 2) {
2332
- const v = u[0];
2333
- return v.tagName.includes("-") ? ((s = v.children) == null ? void 0 : s.length) > 0 ? v.children[0] : null : v;
2330
+ const r = Array.from(t.value.children);
2331
+ if (r.length >= 2) {
2332
+ const c = r[0];
2333
+ return c.tagName.includes("-") ? ((s = c.children) == null ? void 0 : s.length) > 0 ? c.children[0] : null : c;
2334
2334
  }
2335
2335
  }
2336
2336
  return null;
2337
2337
  }
2338
- return (s, u) => (f(), h("div", {
2338
+ return (s, r) => (p(), g("div", {
2339
2339
  ref_key: "_ref",
2340
2340
  ref: t,
2341
2341
  id: s.id,
2342
- class: z(d(q)("db-popover", a.class)),
2343
- onFocus: u[0] || (u[0] = async (v) => c()),
2344
- onBlur: u[1] || (u[1] = async (v) => r(v)),
2345
- onMouseenter: u[2] || (u[2] = async (v) => c()),
2346
- onMouseleave: u[3] || (u[3] = async (v) => r(v))
2342
+ class: P(d(z)("db-popover", a.class)),
2343
+ onFocus: r[0] || (r[0] = async (c) => v()),
2344
+ onBlur: r[1] || (r[1] = async (c) => u(c)),
2345
+ onMouseenter: r[2] || (r[2] = async (c) => v()),
2346
+ onMouseleave: r[3] || (r[3] = async (c) => u(c))
2347
2347
  }, [
2348
2348
  T(s.$slots, "trigger"),
2349
- _("article", {
2349
+ I("article", {
2350
2350
  class: "db-popover-content",
2351
2351
  "data-spacing": s.spacing,
2352
2352
  "data-gap": d(H)(s.gap),
@@ -2357,10 +2357,10 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2357
2357
  "data-placement": s.placement
2358
2358
  }, [
2359
2359
  T(s.$slots, "default")
2360
- ], 8, Zt)
2361
- ], 42, Qt));
2360
+ ], 8, xt)
2361
+ ], 42, Zt));
2362
2362
  }
2363
- }), xt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ei = /* @__PURE__ */ U({
2363
+ }), ei = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ai = /* @__PURE__ */ q({
2364
2364
  __name: "tooltip",
2365
2365
  props: {
2366
2366
  showArrow: { type: [Boolean, String], default: void 0 },
@@ -2384,10 +2384,10 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2384
2384
  () => [t.value, e.value],
2385
2385
  () => {
2386
2386
  if (t.value && e.value && i.value) {
2387
- let m = t.value.parentElement;
2388
- m && m.localName.includes("tooltip") && (m = m.parentElement), m && (["mouseenter", "focus"].forEach((s) => {
2389
- m.addEventListener(s, () => r());
2390
- }), m.setAttribute("data-has-tooltip", "true"), m.setAttribute("aria-describedby", i.value)), e.value = !1;
2387
+ let h = t.value.parentElement;
2388
+ h && h.localName.includes("tooltip") && (h = h.parentElement), h && (["mouseenter", "focus"].forEach((s) => {
2389
+ h.addEventListener(s, () => u());
2390
+ }), h.setAttribute("data-has-tooltip", "true"), h.setAttribute("aria-describedby", i.value)), e.value = !1;
2391
2391
  }
2392
2392
  },
2393
2393
  {
@@ -2395,32 +2395,32 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2395
2395
  flush: "post"
2396
2396
  }
2397
2397
  );
2398
- function c(m) {
2399
- m.stopPropagation();
2398
+ function v(h) {
2399
+ h.stopPropagation();
2400
2400
  }
2401
- function r() {
2401
+ function u() {
2402
2402
  t.value && Fe(t.value);
2403
2403
  }
2404
- return (m, s) => (f(), h("i", {
2404
+ return (h, s) => (p(), g("i", {
2405
2405
  role: "tooltip",
2406
2406
  "aria-hidden": "true",
2407
2407
  "data-gap": "true",
2408
2408
  ref_key: "_ref",
2409
2409
  ref: t,
2410
- class: z(d(q)("db-tooltip", a.class)),
2410
+ class: P(d(z)("db-tooltip", a.class)),
2411
2411
  id: i.value,
2412
- "data-emphasis": m.emphasis,
2413
- "data-animation": d(H)(m.animation ?? !0),
2414
- "data-delay": m.delay,
2415
- "data-width": m.width,
2416
- "data-show-arrow": d(H)(m.showArrow ?? !0),
2417
- "data-placement": m.placement,
2418
- onClick: s[0] || (s[0] = async (u) => c(u))
2412
+ "data-emphasis": h.emphasis,
2413
+ "data-animation": d(H)(h.animation ?? !0),
2414
+ "data-delay": h.delay,
2415
+ "data-width": h.width,
2416
+ "data-show-arrow": d(H)(h.showArrow ?? !0),
2417
+ "data-placement": h.placement,
2418
+ onClick: s[0] || (s[0] = async (r) => v(r))
2419
2419
  }, [
2420
- T(m.$slots, "default")
2421
- ], 10, xt));
2420
+ T(h.$slots, "default")
2421
+ ], 10, ei));
2422
2422
  }
2423
- }), ai = ["id"], ti = { role: "tablist" }, ii = /* @__PURE__ */ U({
2423
+ }), ti = ["id"], ii = { role: "tablist" }, li = /* @__PURE__ */ q({
2424
2424
  __name: "tab-list",
2425
2425
  props: {
2426
2426
  children: { default: void 0 },
@@ -2434,18 +2434,18 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2434
2434
  const a = l, i = n(we), e = n(null);
2435
2435
  return Y(() => {
2436
2436
  i.value = a.id || "tab-list-" + Q();
2437
- }), (t, c) => (f(), h("div", {
2437
+ }), (t, v) => (p(), g("div", {
2438
2438
  ref_key: "_ref",
2439
2439
  ref: e,
2440
2440
  id: i.value,
2441
- class: z(d(q)("db-tab-list", a.class))
2441
+ class: P(d(z)("db-tab-list", a.class))
2442
2442
  }, [
2443
- _("ul", ti, [
2443
+ I("ul", ii, [
2444
2444
  T(t.$slots, "default")
2445
2445
  ])
2446
- ], 10, ai));
2446
+ ], 10, ti));
2447
2447
  }
2448
- }), li = ["id", "aria-labelledby"], oi = /* @__PURE__ */ U({
2448
+ }), oi = ["id", "aria-labelledby"], di = /* @__PURE__ */ q({
2449
2449
  __name: "tab-panel",
2450
2450
  props: {
2451
2451
  content: { default: void 0 },
@@ -2460,21 +2460,21 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2460
2460
  setup(l) {
2461
2461
  const a = l, i = n(null);
2462
2462
  return Y(() => {
2463
- }), (e, t) => (f(), h("section", {
2463
+ }), (e, t) => (p(), g("section", {
2464
2464
  role: "tabpanel",
2465
2465
  ref_key: "_ref",
2466
2466
  ref: i,
2467
- class: z(d(q)("db-tab-panel", a.class)),
2467
+ class: P(d(z)("db-tab-panel", a.class)),
2468
2468
  id: e.id,
2469
2469
  "aria-labelledby": e.labelledBy
2470
2470
  }, [
2471
- e.content ? (f(), h(G, { key: 0 }, [
2471
+ e.content ? (p(), g(U, { key: 0 }, [
2472
2472
  C(S(e.content), 1)
2473
2473
  ], 64)) : F("", !0),
2474
2474
  T(e.$slots, "default")
2475
- ], 10, li));
2475
+ ], 10, oi));
2476
2476
  }
2477
- }), di = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], cl = /* @__PURE__ */ U({
2477
+ }), ni = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], fl = /* @__PURE__ */ q({
2478
2478
  __name: "tabs",
2479
2479
  props: {
2480
2480
  arrowScrollDistance: { default: void 0 },
@@ -2498,7 +2498,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2498
2498
  alignment: { default: void 0 }
2499
2499
  },
2500
2500
  setup(l) {
2501
- const a = l, i = n("tabs-" + Q()), e = n(""), t = n(!1), c = n(!1), r = n(!1), m = n(null), s = n(null);
2501
+ const a = l, i = n("tabs-" + Q()), e = n(""), t = n(!1), v = n(!1), u = n(!1), h = n(null), s = n(null);
2502
2502
  Y(() => {
2503
2503
  i.value = a.id || i.value, e.value = `tabs-${a.name || Q()}`, t.value = !0;
2504
2504
  }), A(
@@ -2522,7 +2522,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2522
2522
  flush: "post"
2523
2523
  }
2524
2524
  );
2525
- function u() {
2525
+ function r() {
2526
2526
  try {
2527
2527
  return typeof a.tabs == "string" ? JSON.parse(a.tabs) : a.tabs;
2528
2528
  } catch (w) {
@@ -2530,14 +2530,14 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2530
2530
  }
2531
2531
  return [];
2532
2532
  }
2533
- function v(w) {
2533
+ function c(w) {
2534
2534
  const $ = w.scrollWidth > w.clientWidth;
2535
- c.value = $ && w.scrollLeft > 1, r.value = $ && w.scrollLeft < w.scrollWidth - w.clientWidth;
2535
+ v.value = $ && w.scrollLeft > 1, u.value = $ && w.scrollLeft < w.scrollWidth - w.clientWidth;
2536
2536
  }
2537
- function I(w) {
2537
+ function _(w) {
2538
2538
  var R;
2539
2539
  let $ = Number(a.arrowScrollDistance) || 100;
2540
- w && ($ *= -1), (R = m.value) == null || R.scrollBy({
2540
+ w && ($ *= -1), (R = h.value) == null || R.scrollBy({
2541
2541
  top: 0,
2542
2542
  left: $,
2543
2543
  behavior: "smooth"
@@ -2551,8 +2551,8 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2551
2551
  $ && ($.setAttribute(
2552
2552
  "aria-orientation",
2553
2553
  a.orientation || "horizontal"
2554
- ), a.behavior === "arrows" && (m.value = $, v($), $.addEventListener("scroll", () => {
2555
- v($);
2554
+ ), a.behavior === "arrows" && (h.value = $, c($), $.addEventListener("scroll", () => {
2555
+ c($);
2556
2556
  })));
2557
2557
  }
2558
2558
  }
@@ -2563,18 +2563,18 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2563
2563
  s.value.getElementsByClassName("db-tab-item")
2564
2564
  );
2565
2565
  for (const y of $) {
2566
- const b = $.indexOf(y), O = y.querySelector("label"), p = y.querySelector("input");
2567
- if (p && O) {
2568
- if (!p.id) {
2566
+ const b = $.indexOf(y), O = y.querySelector("label"), f = y.querySelector("input");
2567
+ if (f && O) {
2568
+ if (!f.id) {
2569
2569
  const E = `${e.value}-tab-${b}`;
2570
- O.setAttribute("for", E), p.setAttribute(
2570
+ O.setAttribute("for", E), f.setAttribute(
2571
2571
  "aria-controls",
2572
2572
  `${e.value}-tab-panel-${b}`
2573
- ), p.id = E, p.setAttribute("name", e.value);
2573
+ ), f.id = E, f.setAttribute("name", e.value);
2574
2574
  }
2575
2575
  if (w) {
2576
- const E = !a.initialSelectedMode || a.initialSelectedMode === "auto", g = a.initialSelectedIndex == null && b === 0 || Number(a.initialSelectedIndex) === b;
2577
- E && g && p.click();
2576
+ const E = !a.initialSelectedMode || a.initialSelectedMode === "auto", m = a.initialSelectedIndex == null && b === 0 || Number(a.initialSelectedIndex) === b;
2577
+ E && m && f.click();
2578
2578
  }
2579
2579
  }
2580
2580
  }
@@ -2592,6 +2592,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2592
2592
  }
2593
2593
  function N(w) {
2594
2594
  var y;
2595
+ w.stopPropagation();
2595
2596
  const $ = (y = w.target) == null ? void 0 : y.closest("ul"), R = (
2596
2597
  // db-tab-item for angular and stencil wrapping elements
2597
2598
  w.target.closest("db-tab-item") ?? w.target.closest("li")
@@ -2602,35 +2603,35 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2602
2603
  }
2603
2604
  a.onTabSelect && a.onTabSelect(w);
2604
2605
  }
2605
- return (w, $) => (f(), h("div", {
2606
+ return (w, $) => (p(), g("div", {
2606
2607
  ref_key: "_ref",
2607
2608
  ref: s,
2608
2609
  id: i.value,
2609
- class: z(d(q)("db-tabs", a.class)),
2610
+ class: P(d(z)("db-tabs", a.class)),
2610
2611
  "data-orientation": w.orientation,
2611
2612
  "data-scroll-behavior": w.behavior,
2612
2613
  "data-alignment": w.alignment ?? "start",
2613
2614
  "data-width": w.width ?? "auto",
2614
2615
  onInput: $[0] || ($[0] = async (R) => N(R))
2615
2616
  }, [
2616
- c.value ? (f(), J(Be, {
2617
+ v.value ? (p(), J(Be, {
2617
2618
  key: 0,
2618
2619
  class: "tabs-scroll-left",
2619
2620
  variant: "ghost",
2620
2621
  icon: "chevron_left",
2621
2622
  type: "button",
2622
2623
  noText: !0,
2623
- onClick: (R) => I(!0)
2624
+ onClick: (R) => _(!0)
2624
2625
  }, {
2625
2626
  default: V(() => $[1] || ($[1] = [
2626
2627
  C(" Scroll left ")
2627
2628
  ])),
2628
2629
  _: 1
2629
2630
  }, 8, ["onClick"])) : F("", !0),
2630
- w.tabs ? (f(), h(G, { key: 1 }, [
2631
- te(ii, null, {
2631
+ w.tabs ? (p(), g(U, { key: 1 }, [
2632
+ te(li, null, {
2632
2633
  default: V(() => [
2633
- (f(!0), h(G, null, ge(u(), (R, y) => (f(), J(Ft, {
2634
+ (p(!0), g(U, null, he(r(), (R, y) => (p(), J(Mt, {
2634
2635
  key: w.name + "tab-item" + y,
2635
2636
  active: R.active,
2636
2637
  label: R.label,
@@ -2641,7 +2642,7 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2641
2642
  ]),
2642
2643
  _: 1
2643
2644
  }),
2644
- (f(!0), h(G, null, ge(u(), (R, y) => (f(), J(oi, {
2645
+ (p(!0), g(U, null, he(r(), (R, y) => (p(), J(di, {
2645
2646
  key: w.name + "tab-panel" + y,
2646
2647
  content: R.content
2647
2648
  }, {
@@ -2651,14 +2652,14 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2651
2652
  _: 2
2652
2653
  }, 1032, ["content"]))), 128))
2653
2654
  ], 64)) : F("", !0),
2654
- r.value ? (f(), J(Be, {
2655
+ u.value ? (p(), J(Be, {
2655
2656
  key: 2,
2656
2657
  class: "tabs-scroll-right",
2657
2658
  variant: "ghost",
2658
2659
  icon: "chevron_right",
2659
2660
  type: "button",
2660
2661
  noText: !0,
2661
- onClick: (R) => I()
2662
+ onClick: (R) => _()
2662
2663
  }, {
2663
2664
  default: V(() => $[2] || ($[2] = [
2664
2665
  C(" Scroll right ")
@@ -2666,9 +2667,9 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2666
2667
  _: 1
2667
2668
  }, 8, ["onClick"])) : F("", !0),
2668
2669
  T(w.$slots, "default")
2669
- ], 42, di));
2670
+ ], 42, ni));
2670
2671
  }
2671
- }), fl = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], pl = ["medium", "small", "large", "none"], ml = ["medium", "small", "large", "none"], ni = ["left", "right", "left-start", "left-end", "right-start", "right-end"], si = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], hl = [...ni, ...si], gl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], bl = ["horizontal", "vertical"], yl = ["full", "auto"], kl = ["full", "medium", "large", "small"], Bl = ["none", "slow", "fast"], Sl = ["auto", "fixed"], wl = ["small", "medium"], _l = ["weak", "strong"], Il = ["invalid", "valid", "no-validation"], Ll = ["above", "floating"], Tl = ["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"], $l = ["time", "true", "false", "date", "page", "step", "location"], Al = ["_self", "_blank", "_parent", "_top"], Cl = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], El = ["start", "center"], ui = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], Nl = /* @__PURE__ */ U({
2672
+ }), pl = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], ml = ["medium", "small", "large", "none"], hl = ["medium", "small", "large", "none"], si = ["left", "right", "left-start", "left-end", "right-start", "right-end"], ui = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], gl = [...si, ...ui], bl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], yl = ["horizontal", "vertical"], kl = ["full", "auto"], Bl = ["full", "medium", "large", "small"], Sl = ["none", "slow", "fast"], wl = ["auto", "fixed"], Il = ["small", "medium"], _l = ["weak", "strong"], Ll = ["invalid", "valid", "no-validation"], Tl = ["above", "floating"], $l = ["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"], Al = ["time", "true", "false", "date", "page", "step", "location"], Cl = ["_self", "_blank", "_parent", "_top"], El = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], Nl = ["start", "center"], ri = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], Dl = /* @__PURE__ */ q({
2672
2673
  __name: "stack",
2673
2674
  props: {
2674
2675
  variant: { default: void 0 },
@@ -2686,11 +2687,11 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2686
2687
  },
2687
2688
  setup(l) {
2688
2689
  const a = l, i = n(null);
2689
- return (e, t) => (f(), h("div", {
2690
+ return (e, t) => (p(), g("div", {
2690
2691
  ref_key: "_ref",
2691
2692
  ref: i,
2692
2693
  id: e.id,
2693
- class: z(d(q)("db-stack", a.class)),
2694
+ class: P(d(z)("db-stack", a.class)),
2694
2695
  "data-gap": e.gap,
2695
2696
  "data-variant": e.variant,
2696
2697
  "data-direction": e.direction,
@@ -2699,9 +2700,9 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2699
2700
  "data-wrap": d(H)(e.wrap)
2700
2701
  }, [
2701
2702
  T(e.$slots, "default")
2702
- ], 10, ui));
2703
+ ], 10, ri));
2703
2704
  }
2704
- }), ri = ["role", "aria-label", "id"], vi = /* @__PURE__ */ U({
2705
+ }), ci = ["role", "aria-label", "id"], vi = /* @__PURE__ */ q({
2705
2706
  __name: "custom-select-list",
2706
2707
  props: {
2707
2708
  label: { default: void 0 },
@@ -2715,20 +2716,20 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2715
2716
  },
2716
2717
  setup(l) {
2717
2718
  const a = l, i = n(null);
2718
- return (e, t) => (f(), h("div", {
2719
+ return (e, t) => (p(), g("div", {
2719
2720
  role: e.multiple ? "group" : "radiogroup",
2720
2721
  "aria-label": e.label,
2721
2722
  ref_key: "_ref",
2722
2723
  ref: i,
2723
2724
  id: e.id,
2724
- class: z(d(q)("db-custom-select-list", a.class))
2725
+ class: P(d(z)("db-custom-select-list", a.class))
2725
2726
  }, [
2726
- _("ul", null, [
2727
+ I("ul", null, [
2727
2728
  T(e.$slots, "default")
2728
2729
  ])
2729
- ], 10, ri));
2730
+ ], 10, ci));
2730
2731
  }
2731
- }), ci = ["id", "data-divider"], fi = ["data-icon", "data-hide-icon", "data-icon-after"], pi = ["type", "name", "form", "checked", "disabled", "value"], mi = { key: 1 }, hi = /* @__PURE__ */ U({
2732
+ }), fi = ["id", "data-divider"], pi = ["data-icon", "data-hide-icon", "data-icon-after"], mi = ["type", "name", "form", "checked", "disabled", "value"], hi = { key: 1 }, gi = /* @__PURE__ */ q({
2732
2733
  __name: "custom-select-list-item",
2733
2734
  props: {
2734
2735
  groupTitle: { default: void 0 },
@@ -2753,62 +2754,62 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2753
2754
  },
2754
2755
  emits: ["update:checked"],
2755
2756
  setup(l, { emit: a }) {
2756
- const i = a, e = l, t = n(void 0), c = n(!1), r = n(null);
2757
+ const i = a, e = l, t = n(void 0), v = n(!1), u = n(null);
2757
2758
  Y(() => {
2758
2759
  t.value = e.id ?? `custom-select-list-item-${Q()}`;
2759
2760
  }), A(
2760
2761
  () => [e.isGroupTitle, e.showDivider],
2761
2762
  () => {
2762
- c.value = !!(e.isGroupTitle || e.showDivider);
2763
+ v.value = !!(e.isGroupTitle || e.showDivider);
2763
2764
  },
2764
2765
  {
2765
2766
  immediate: !0,
2766
2767
  flush: "post"
2767
2768
  }
2768
2769
  );
2769
- function m(u) {
2770
- u.stopPropagation(), e.onChange && e.onChange(u), oe(i, u, "checked");
2770
+ function h(r) {
2771
+ r.stopPropagation(), e.onChange && e.onChange(r), oe(i, r, "checked");
2771
2772
  }
2772
2773
  function s() {
2773
2774
  if (!(e.isGroupTitle || e.type === "checkbox"))
2774
2775
  return M(e.checked, "checked") ? "check" : "x_placeholder";
2775
2776
  }
2776
- return (u, v) => (f(), h("li", {
2777
+ return (r, c) => (p(), g("li", {
2777
2778
  ref_key: "_ref",
2778
- ref: r,
2779
+ ref: u,
2779
2780
  id: t.value,
2780
- class: z(
2781
- d(q)("db-custom-select-list-item", e.class, {
2782
- "db-checkbox": u.type === "checkbox" && !u.isGroupTitle,
2783
- "db-radio": u.type !== "checkbox" && !u.isGroupTitle
2781
+ class: P(
2782
+ d(z)("db-custom-select-list-item", e.class, {
2783
+ "db-checkbox": r.type === "checkbox" && !r.isGroupTitle,
2784
+ "db-radio": r.type !== "checkbox" && !r.isGroupTitle
2784
2785
  })
2785
2786
  ),
2786
- "data-divider": d(H)(c.value)
2787
+ "data-divider": d(H)(v.value)
2787
2788
  }, [
2788
- u.isGroupTitle ? (f(), h("span", mi, S(u.groupTitle), 1)) : (f(), h("label", {
2789
+ r.isGroupTitle ? (p(), g("span", hi, S(r.groupTitle), 1)) : (p(), g("label", {
2789
2790
  key: 0,
2790
- "data-icon": u.type !== "checkbox" && u.icon ? u.icon : void 0,
2791
- "data-hide-icon": d(K)(u.showIcon),
2791
+ "data-icon": r.type !== "checkbox" && r.icon ? r.icon : void 0,
2792
+ "data-hide-icon": d(K)(r.showIcon),
2792
2793
  "data-icon-after": s()
2793
2794
  }, [
2794
- _("input", {
2795
+ I("input", {
2795
2796
  class: "db-custom-select-list-item-checkbox",
2796
2797
  "data-disable-focus": "true",
2797
- type: u.type,
2798
- name: u.name,
2799
- form: u.name,
2800
- checked: d(M)(u.checked, "checked"),
2801
- disabled: d(M)(u.disabled, "disabled"),
2802
- value: u.value,
2803
- onChange: v[0] || (v[0] = async (I) => m(I))
2804
- }, null, 40, pi),
2805
- u.label ? (f(), h(G, { key: 0 }, [
2806
- C(S(u.label), 1)
2807
- ], 64)) : T(u.$slots, "default", { key: 1 })
2808
- ], 8, fi))
2809
- ], 10, ci));
2798
+ type: r.type,
2799
+ name: r.name,
2800
+ form: r.name,
2801
+ checked: d(M)(r.checked, "checked"),
2802
+ disabled: d(M)(r.disabled, "disabled"),
2803
+ value: r.value,
2804
+ onChange: c[0] || (c[0] = async (_) => h(_))
2805
+ }, null, 40, mi),
2806
+ r.label ? (p(), g(U, { key: 0 }, [
2807
+ C(S(r.label), 1)
2808
+ ], 64)) : T(r.$slots, "default", { key: 1 })
2809
+ ], 8, pi))
2810
+ ], 10, fi));
2810
2811
  }
2811
- }), gi = ["id", "data-width"], bi = /* @__PURE__ */ U({
2812
+ }), bi = ["id", "data-width"], yi = /* @__PURE__ */ q({
2812
2813
  __name: "custom-select-dropdown",
2813
2814
  props: {
2814
2815
  width: { default: "fixed" },
@@ -2821,16 +2822,16 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2821
2822
  },
2822
2823
  setup(l) {
2823
2824
  const a = l, i = n(null);
2824
- return (e, t) => (f(), h("article", {
2825
+ return (e, t) => (p(), g("article", {
2825
2826
  "data-spacing": "none",
2826
2827
  ref_key: "_ref",
2827
2828
  ref: i,
2828
2829
  id: e.id,
2829
- class: z(d(q)("db-custom-select-dropdown db-card", a.class)),
2830
+ class: P(d(z)("db-custom-select-dropdown db-card", a.class)),
2830
2831
  "data-width": e.width
2831
2832
  }, [
2832
2833
  T(e.$slots, "default")
2833
- ], 10, gi));
2834
+ ], 10, bi));
2834
2835
  }
2835
2836
  }), ne = class ne {
2836
2837
  static runCallbacks(a) {
@@ -2853,10 +2854,10 @@ const Ja = ["id", "data-width", "data-on-forcing-mobile"], Qa = { class: "db-hea
2853
2854
  };
2854
2855
  se(ne, "callbacks", {}), se(ne, "_instance", null);
2855
2856
  let De = ne;
2856
- const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-variant", "data-required", "data-placement", "data-selected-type", "data-hide-label", "data-icon", "data-hide-icon"], ki = ["id"], Bi = ["id", "form", "name", "multiple", "disabled", "required"], Si = ["disabled", "value"], wi = ["open"], _i = ["id", "aria-disabled", "aria-labelledby"], Ii = ["data-visually-hidden", "id"], Li = { key: 1 }, Ti = { key: 0 }, $i = { key: 0 }, Ai = { class: "db-checkbox db-custom-select-list-item" }, Ci = ["form", "checked"], Ei = ["aria-hidden", "id"], Ni = {
2857
+ const ki = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-variant", "data-required", "data-placement", "data-selected-type", "data-hide-label", "data-icon", "data-hide-icon"], Bi = ["id"], Si = ["id", "form", "name", "multiple", "disabled", "required"], wi = ["disabled", "value"], Ii = ["open"], _i = ["id", "aria-disabled", "aria-labelledby"], Li = ["data-visually-hidden", "id"], Ti = { key: 1 }, $i = { key: 0 }, Ai = { key: 0 }, Ci = { class: "db-checkbox db-custom-select-list-item" }, Ei = ["form", "checked"], Ni = ["aria-hidden", "id"], Di = {
2857
2858
  "data-visually-hidden": "true",
2858
2859
  role: "status"
2859
- }, Dl = /* @__PURE__ */ U({
2860
+ }, Fl = /* @__PURE__ */ q({
2860
2861
  __name: "custom-select",
2861
2862
  props: {
2862
2863
  children: { default: void 0 },
@@ -2915,21 +2916,21 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
2915
2916
  },
2916
2917
  emits: ["update:values"],
2917
2918
  setup(l, { emit: a }) {
2918
- const i = l, e = n(void 0), t = n(void 0), c = n(void 0), r = n(void 0), m = n(void 0), s = n(void 0), u = n(void 0), v = n(void 0), I = n(void 0), L = n(void 0), B = n("no-validation"), N = n(""), w = n(""), $ = n(void 0), R = n(""), y = n([]), b = n(!1), O = n(!1), p = n(0), E = n([]), g = n([]), X = n(!1), j = n(void 0), Ae = n(0), pe = n(!1), _e = n(!1), ta = n(null), P = n(null), be = n(null), Ce = n(null), Me = n(null);
2919
+ const i = l, e = n(void 0), t = n(void 0), v = n(void 0), u = n(void 0), h = n(void 0), s = n(void 0), r = n(void 0), c = n(void 0), _ = n(void 0), L = n(void 0), B = n("no-validation"), N = n(""), w = n(""), $ = n(void 0), R = n(""), y = n([]), b = n(!1), O = n(!1), f = n(0), E = n([]), m = n([]), X = n(!1), j = n(void 0), Ae = n(0), pe = n(!1), Ie = n(!1), ia = n(null), G = n(null), ge = n(null), Ce = n(null), Me = n(null);
2919
2920
  Y(() => {
2920
2921
  const o = i.id ?? `custom-select-${Q()}`;
2921
- e.value = o, t.value = o + re, c.value = o + ve, r.value = o + ce, s.value = o + He, u.value = o + Xe, v.value = o + "-summary", I.value = o + Ne, $.value = o + "-selected-labels", L.value = o + "-info", m.value = i.invalidMessage || ie;
2922
+ e.value = o, t.value = o + re, v.value = o + ce, u.value = o + ve, s.value = o + je, r.value = o + He, c.value = o + "-summary", _.value = o + Ne, $.value = o + "-selected-labels", L.value = o + "-info", h.value = i.invalidMessage || ie;
2922
2923
  }), A(
2923
- () => [P.value],
2924
+ () => [G.value],
2924
2925
  () => {
2925
- if (P.value) {
2926
- const o = P.value.querySelector("summary");
2926
+ if (G.value) {
2927
+ const o = G.value.querySelector("summary");
2927
2928
  o && (o.addEventListener("click", () => {
2928
- Ge(), Re(!0);
2929
+ Ue(), Re(!0);
2929
2930
  }), o.addEventListener("keydown", (k) => {
2930
2931
  var D;
2931
- k.code === "Space" && !((D = P.value) != null && D.open) && Re();
2932
- })), P.value.addEventListener(
2932
+ k.code === "Space" && !((D = G.value) != null && D.open) && Re();
2933
+ })), G.value.addEventListener(
2933
2934
  "focusout",
2934
2935
  (k) => Le(k)
2935
2936
  );
@@ -2944,7 +2945,7 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
2944
2945
  () => {
2945
2946
  if (e.value) {
2946
2947
  const o = e.value + re;
2947
- u.value = e.value + Xe, s.value = e.value + He, c.value = e.value + ve, r.value = e.value + ce, I.value = e.value + Ne, Z(i.message, i.showMessage) ? Ue(o) : Ue();
2948
+ r.value = e.value + He, s.value = e.value + je, v.value = e.value + ce, u.value = e.value + ve, _.value = e.value + Ne, Z(i.message, i.showMessage) ? qe(o) : qe();
2948
2949
  }
2949
2950
  },
2950
2951
  {
@@ -2952,10 +2953,10 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
2952
2953
  flush: "post"
2953
2954
  }
2954
2955
  ), A(
2955
- () => [P.value, N.value],
2956
+ () => [G.value, N.value],
2956
2957
  () => {
2957
- if (P.value) {
2958
- const o = P.value.querySelector("summary");
2958
+ if (G.value) {
2959
+ const o = G.value.querySelector("summary");
2959
2960
  o && o.setAttribute("aria-describedby", N.value || "");
2960
2961
  }
2961
2962
  },
@@ -2964,27 +2965,27 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
2964
2965
  flush: "post"
2965
2966
  }
2966
2967
  ), A(
2967
- () => [i.showNoResults, g.value],
2968
+ () => [i.showNoResults, m.value],
2968
2969
  () => {
2969
- i.showNoResults !== void 0 ? X.value = i.showNoResults : g.value && (X.value = g.value.length === 0);
2970
+ i.showNoResults !== void 0 ? X.value = i.showNoResults : m.value && (X.value = m.value.length === 0);
2970
2971
  },
2971
2972
  {
2972
2973
  immediate: !0,
2973
2974
  flush: "post"
2974
2975
  }
2975
2976
  ), A(
2976
- () => [i.showSelectAll, p.value, i.multiple],
2977
+ () => [i.showSelectAll, f.value, i.multiple],
2977
2978
  () => {
2978
- b.value = !!(i.multiple && (i.showSelectAll || p.value > 5));
2979
+ b.value = !!(i.multiple && (i.showSelectAll || f.value > 5));
2979
2980
  },
2980
2981
  {
2981
2982
  immediate: !0,
2982
2983
  flush: "post"
2983
2984
  }
2984
2985
  ), A(
2985
- () => [i.showSearch, p.value],
2986
+ () => [i.showSearch, f.value],
2986
2987
  () => {
2987
- O.value = i.showSearch || p.value > 9;
2988
+ O.value = i.showSearch || f.value > 9;
2988
2989
  },
2989
2990
  {
2990
2991
  immediate: !0,
@@ -3002,7 +3003,7 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3002
3003
  ), A(
3003
3004
  () => [E.value],
3004
3005
  () => {
3005
- ia();
3006
+ la();
3006
3007
  },
3007
3008
  {
3008
3009
  immediate: !0,
@@ -3018,10 +3019,10 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3018
3019
  flush: "post"
3019
3020
  }
3020
3021
  ), A(
3021
- () => [E.value, p.value],
3022
+ () => [E.value, f.value],
3022
3023
  () => {
3023
3024
  var o, k;
3024
- ((o = E.value) == null ? void 0 : o.length) === 0 ? (pe.value = !1, _e.value = !1) : ((k = E.value) == null ? void 0 : k.length) === p.value ? (_e.value = !1, pe.value = !0) : E.value && (_e.value = !0);
3025
+ ((o = E.value) == null ? void 0 : o.length) === 0 ? (pe.value = !1, Ie.value = !1) : ((k = E.value) == null ? void 0 : k.length) === f.value ? (Ie.value = !1, pe.value = !0) : E.value && (Ie.value = !0);
3025
3026
  },
3026
3027
  {
3027
3028
  immediate: !0,
@@ -3031,20 +3032,20 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3031
3032
  () => [i.options],
3032
3033
  () => {
3033
3034
  var o;
3034
- g.value = i.options, p.value = ((o = i.options) == null ? void 0 : o.filter((k) => !k.isGroupTitle).length) ?? 0;
3035
+ m.value = i.options, f.value = ((o = i.options) == null ? void 0 : o.filter((k) => !k.isGroupTitle).length) ?? 0;
3035
3036
  },
3036
3037
  {
3037
3038
  immediate: !0,
3038
3039
  flush: "post"
3039
3040
  }
3040
3041
  ), A(
3041
- () => [g.value, E.value],
3042
+ () => [m.value, E.value],
3042
3043
  () => {
3043
3044
  var o, k;
3044
- (o = g.value) != null && o.length && (y.value = (k = g.value) == null ? void 0 : k.filter(
3045
+ (o = m.value) != null && o.length && (y.value = (k = m.value) == null ? void 0 : k.filter(
3045
3046
  (D) => {
3046
- var x, ye;
3047
- return !D.value || !((x = E.value) != null && x.includes) ? !1 : !D.isGroupTitle && ((ye = E.value) == null ? void 0 : ye.includes(D.value));
3047
+ var x, be;
3048
+ return !D.value || !((x = E.value) != null && x.includes) ? !1 : !D.isGroupTitle && ((be = E.value) == null ? void 0 : be.includes(D.value));
3048
3049
  }
3049
3050
  ));
3050
3051
  },
@@ -3056,7 +3057,7 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3056
3057
  () => [y.value, i.selectedType, i.amountText],
3057
3058
  () => {
3058
3059
  var o, k, D;
3059
- (o = y.value) != null && o.length ? i.selectedType === "amount" ? w.value = i.amountText ? i.amountText : `${(k = y.value) == null ? void 0 : k.length} ${Ia}` : w.value = (D = y.value) == null ? void 0 : D.map((x) => Se(x)).join(", ") : w.value = "";
3060
+ (o = y.value) != null && o.length ? i.selectedType === "amount" ? w.value = i.amountText ? i.amountText : `${(k = y.value) == null ? void 0 : k.length} ${La}` : w.value = (D = y.value) == null ? void 0 : D.map((x) => Se(x)).join(", ") : w.value = "";
3060
3061
  },
3061
3062
  {
3062
3063
  immediate: !0,
@@ -3073,76 +3074,76 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3073
3074
  flush: "post"
3074
3075
  }
3075
3076
  ), A(
3076
- () => [_e.value, Ce.value],
3077
+ () => [Ie.value, Ce.value],
3077
3078
  () => {
3078
- Ce.value && (Ce.value.indeterminate = !!_e.value);
3079
+ Ce.value && (Ce.value.indeterminate = !!Ie.value);
3079
3080
  },
3080
3081
  {
3081
3082
  immediate: !0,
3082
3083
  flush: "post"
3083
3084
  }
3084
3085
  ), A(
3085
- () => [be.value, i.invalidMessage],
3086
+ () => [ge.value, i.invalidMessage],
3086
3087
  () => {
3087
3088
  var o;
3088
- m.value = i.invalidMessage || ((o = be.value) == null ? void 0 : o.validationMessage) || ie;
3089
+ h.value = i.invalidMessage || ((o = ge.value) == null ? void 0 : o.validationMessage) || ie;
3089
3090
  },
3090
3091
  {
3091
3092
  immediate: !0,
3092
3093
  flush: "post"
3093
3094
  }
3094
3095
  );
3095
- function qe() {
3096
+ function ze() {
3096
3097
  return !!(i.validMessage ?? i.validation === "valid");
3097
3098
  }
3098
- function ia() {
3099
+ function la() {
3099
3100
  var o, k, D;
3100
- be.value && (be.value.value = oa()), !((o = be.value) != null && o.validity.valid) || i.validation === "invalid" ? (N.value = r.value, m.value = i.invalidMessage || ((k = be.value) == null ? void 0 : k.validationMessage) || ie, ue() && (R.value = m.value, ee(() => R.value = "", 1e3)), B.value = i.validation ?? "invalid") : qe() && ((D = be.value) != null && D.validity.valid) && i.required ? (N.value = c.value, ue() && (R.value = i.validMessage ?? fe, ee(() => R.value = "", 1e3)), B.value = i.validation ?? "valid") : Z(i.message, i.showMessage) ? (N.value = t.value, B.value = i.validation ?? "no-validation") : (N.value = I.value, B.value = i.validation ?? "no-validation");
3101
+ ge.value && (ge.value.value = da()), !((o = ge.value) != null && o.validity.valid) || i.validation === "invalid" ? (N.value = u.value, h.value = i.invalidMessage || ((k = ge.value) == null ? void 0 : k.validationMessage) || ie, ue() && (R.value = h.value, ee(() => R.value = "", 1e3)), B.value = i.validation ?? "invalid") : ze() && ((D = ge.value) != null && D.validity.valid) && i.required ? (N.value = v.value, ue() && (R.value = i.validMessage ?? fe, ee(() => R.value = "", 1e3)), B.value = i.validation ?? "valid") : Z(i.message, i.showMessage) ? (N.value = t.value, B.value = i.validation ?? "no-validation") : (N.value = _.value, B.value = i.validation ?? "no-validation");
3101
3102
  }
3102
- function la(o) {
3103
+ function oa(o) {
3103
3104
  i.onDropdownToggle && i.onDropdownToggle(o), o.target.open ? j.value = new De().addCallback(
3104
- (k) => ca(k)
3105
+ (k) => fa(k)
3105
3106
  ) : j.value && new De().removeCallback(
3106
3107
  j.value
3107
3108
  );
3108
3109
  }
3109
- function oa() {
3110
+ function da() {
3110
3111
  var o;
3111
3112
  return (o = E.value) != null && o.length ? E.value.at(0) ?? "" : "";
3112
3113
  }
3113
- function Ue(o) {
3114
+ function qe(o) {
3114
3115
  var D;
3115
3116
  const k = [];
3116
3117
  o && k.push(o), $.value && ((D = w.value) != null && D.length) && k.push($.value), N.value = k.join(" ");
3117
3118
  }
3118
- function da() {
3119
+ function na() {
3119
3120
  return i.selectAllLabel ?? ke;
3120
3121
  }
3121
3122
  function Se(o) {
3122
3123
  var k;
3123
3124
  return o.label ?? ((k = o.value) == null ? void 0 : k.toString()) ?? "";
3124
3125
  }
3125
- function na(o) {
3126
+ function sa(o) {
3126
3127
  var k, D;
3127
3128
  return o && ((k = E.value) != null && k.includes) ? (D = E.value) == null ? void 0 : D.includes(o) : !1;
3128
3129
  }
3129
- function sa(o) {
3130
- return i.removeTagsTexts && i.removeTagsTexts.length > o ? i.removeTagsTexts.at(o) : `${Je} ${y.value ? Se(y.value[o]) : ""}`;
3130
+ function ua(o) {
3131
+ return i.removeTagsTexts && i.removeTagsTexts.length > o ? i.removeTagsTexts.at(o) : `${Qe} ${y.value ? Se(y.value[o]) : ""}`;
3131
3132
  }
3132
- function ua(o, k) {
3133
- k.stopPropagation(), Pe(o.value), Te();
3133
+ function ra(o, k) {
3134
+ k.stopPropagation(), Ge(o.value), Te();
3134
3135
  }
3135
- function Ge() {
3136
- if (P.value) {
3137
- const o = P.value.querySelector("article");
3136
+ function Ue() {
3137
+ if (G.value) {
3138
+ const o = G.value.querySelector("article");
3138
3139
  o && ee(() => {
3139
3140
  Fe(o);
3140
3141
  }, 100);
3141
3142
  }
3142
3143
  }
3143
- function ra(o) {
3144
- var k, D, x, ye, W, me, $e;
3145
- if ((k = P.value) != null && k.open) {
3144
+ function ca(o) {
3145
+ var k, D, x, be, W, me, $e;
3146
+ if ((k = G.value) != null && k.open) {
3146
3147
  if (document) {
3147
3148
  const de = document.activeElement;
3148
3149
  if (de)
@@ -3151,18 +3152,18 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3151
3152
  if (o.key === "ArrowDown" || o.key === "ArrowRight")
3152
3153
  le != null && le.nextElementSibling ? (x = (D = le == null ? void 0 : le.nextElementSibling) == null ? void 0 : D.querySelector("input")) == null || x.focus() : Ee(de);
3153
3154
  else if (le != null && le.previousElementSibling)
3154
- (W = (ye = le == null ? void 0 : le.previousElementSibling) == null ? void 0 : ye.querySelector("input")) == null || W.focus();
3155
- else if (P.value.querySelector('input[type="checkbox"]') !== de)
3155
+ (W = (be = le == null ? void 0 : le.previousElementSibling) == null ? void 0 : be.querySelector("input")) == null || W.focus();
3156
+ else if (G.value.querySelector('input[type="checkbox"]') !== de)
3156
3157
  Ee(de);
3157
3158
  else {
3158
- const Ve = We(P.value);
3159
+ const Ve = Xe(G.value);
3159
3160
  if (Ve)
3160
3161
  ee(() => {
3161
3162
  Ve.focus();
3162
3163
  }, 100);
3163
3164
  else {
3164
3165
  const Oe = Array.from(
3165
- (me = P.value) == null ? void 0 : me.querySelectorAll(
3166
+ (me = G.value) == null ? void 0 : me.querySelectorAll(
3166
3167
  'input[type="checkbox"],input[type="radio"]'
3167
3168
  )
3168
3169
  );
@@ -3173,28 +3174,28 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3173
3174
  de.getAttribute("type") === "search" && (o.key === "ArrowUp" || o.key === "ArrowLeft") ? (Le("close"), Te()) : Ee(de);
3174
3175
  }
3175
3176
  o.stopPropagation(), o.preventDefault();
3176
- } else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ge(), P.value && (P.value.open = !0), Re(), o.stopPropagation(), o.preventDefault());
3177
+ } else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ue(), G.value && (G.value.open = !0), Re(), o.stopPropagation(), o.preventDefault());
3177
3178
  }
3178
3179
  function va(o) {
3179
3180
  var k;
3180
- o.key === "Escape" && P.value && ((k = P.value) != null && k.open) ? (Le("close"), Te()) : (o.key === "ArrowDown" || o.key === "ArrowUp" || o.key === "ArrowLeft" || o.key === "ArrowRight") && ra(o);
3181
+ o.key === "Escape" && G.value && ((k = G.value) != null && k.open) ? (Le("close"), Te()) : (o.key === "ArrowDown" || o.key === "ArrowUp" || o.key === "ArrowLeft" || o.key === "ArrowRight") && ca(o);
3181
3182
  }
3182
3183
  function Le(o) {
3183
- if (P.value) {
3184
+ if (G.value) {
3184
3185
  if (o === "close")
3185
- P.value.open = !1, Te();
3186
- else if (P.value.open && (o != null && o.relatedTarget)) {
3186
+ G.value.open = !1, Te();
3187
+ else if (G.value.open && (o != null && o.relatedTarget)) {
3187
3188
  const k = o.relatedTarget;
3188
- P.value.contains(k) || (P.value.open = !1);
3189
+ G.value.contains(k) || (G.value.open = !1);
3189
3190
  }
3190
3191
  }
3191
3192
  }
3192
- function ca(o) {
3193
+ function fa(o) {
3193
3194
  var D;
3194
3195
  const k = o.target;
3195
- (D = P.value) != null && D.open && !P.value.contains(k) && (P.value.open = !1);
3196
+ (D = G.value) != null && D.open && !G.value.contains(k) && (G.value.open = !1);
3196
3197
  }
3197
- function Ie(o) {
3198
+ function _e(o) {
3198
3199
  (/* @__PURE__ */ new Date()).getTime() - Ae.value < 200 || (i.onOptionSelected && (E.value = o, i.onOptionSelected(o ?? [])), oe(
3199
3200
  () => {
3200
3201
  },
@@ -3206,17 +3207,17 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3206
3207
  "values"
3207
3208
  ), Ae.value = (/* @__PURE__ */ new Date()).getTime());
3208
3209
  }
3209
- function Pe(o) {
3210
+ function Ge(o) {
3210
3211
  var k;
3211
- o && (i.multiple ? (k = E.value) != null && k.includes(o) ? Ie(E.value.filter((D) => D !== o)) : Ie([...E.value || [], o]) : (Ie([o]), Le("close")));
3212
+ o && (i.multiple ? (k = E.value) != null && k.includes(o) ? _e(E.value.filter((D) => D !== o)) : _e([...E.value || [], o]) : (_e([o]), Le("close")));
3212
3213
  }
3213
- function fa() {
3214
+ function pa() {
3214
3215
  var o;
3215
- if (((o = E.value) == null ? void 0 : o.length) === p.value)
3216
- Ie([]);
3216
+ if (((o = E.value) == null ? void 0 : o.length) === f.value)
3217
+ _e([]);
3217
3218
  else {
3218
3219
  const k = O.value && Me.value ? Me.value.value : void 0;
3219
- Ie(
3220
+ _e(
3220
3221
  i.options ? i.options.filter(
3221
3222
  (D) => {
3222
3223
  var x;
@@ -3227,9 +3228,9 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3227
3228
  }
3228
3229
  }
3229
3230
  function Ee(o) {
3230
- if (P.value) {
3231
+ if (G.value) {
3231
3232
  const k = Array.from(
3232
- P.value.querySelectorAll(
3233
+ G.value.querySelectorAll(
3233
3234
  'input[type="checkbox"],input[type="radio"]'
3234
3235
  )
3235
3236
  );
@@ -3242,36 +3243,36 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3242
3243
  }
3243
3244
  }
3244
3245
  function Re(o) {
3245
- if (P.value) {
3246
- const k = We(P.value);
3246
+ if (G.value) {
3247
+ const k = Xe(G.value);
3247
3248
  k ? ee(() => {
3248
3249
  k.focus();
3249
3250
  }, 100) : o || Ee();
3250
3251
  }
3251
3252
  }
3252
- function pa(o) {
3253
+ function ma(o) {
3253
3254
  o.stopPropagation();
3254
3255
  const k = o.target.value;
3255
- g.value = !i.options || !k || k.length === 0 ? i.options : i.options.filter(
3256
+ m.value = !i.options || !k || k.length === 0 ? i.options : i.options.filter(
3256
3257
  (D) => !D.isGroupTitle && Se(D).toLowerCase().includes(k.toLowerCase())
3257
3258
  );
3258
3259
  }
3259
- function ma() {
3260
- Ie([]), Te();
3260
+ function ha() {
3261
+ _e([]), Te();
3261
3262
  }
3262
3263
  function Te() {
3263
3264
  var o, k;
3264
- (k = (o = P.value) == null ? void 0 : o.querySelector("summary")) == null || k.focus();
3265
+ (k = (o = G.value) == null ? void 0 : o.querySelector("summary")) == null || k.focus();
3265
3266
  }
3266
- function Fi() {
3267
+ function Mi() {
3267
3268
  }
3268
3269
  return (o, k) => {
3269
- var D, x, ye;
3270
- return f(), h("div", {
3270
+ var D, x, be;
3271
+ return p(), g("div", {
3271
3272
  id: e.value,
3272
3273
  ref_key: "_ref",
3273
- ref: ta,
3274
- class: z(d(q)("db-custom-select", i.class)),
3274
+ ref: ia,
3275
+ class: P(d(z)("db-custom-select", i.class)),
3275
3276
  "aria-invalid": B.value === "invalid",
3276
3277
  "data-custom-validity": B.value,
3277
3278
  "data-width": o.formFieldWidth,
@@ -3283,15 +3284,15 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3283
3284
  "data-icon": o.icon,
3284
3285
  "data-hide-icon": d(K)(o.showIcon)
3285
3286
  }, [
3286
- _("label", { id: u.value }, [
3287
+ I("label", { id: r.value }, [
3287
3288
  C(S(o.label ?? d(ke)), 1),
3288
- _("select", {
3289
+ I("select", {
3289
3290
  role: "none",
3290
3291
  hidden: !0,
3291
3292
  id: s.value,
3292
3293
  tabIndex: -1,
3293
3294
  ref_key: "selectRef",
3294
- ref: be,
3295
+ ref: ge,
3295
3296
  form: o.form,
3296
3297
  name: o.name,
3297
3298
  multiple: d(M)(o.multiple, "multiple"),
@@ -3299,40 +3300,40 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3299
3300
  required: d(M)(o.required, "required"),
3300
3301
  onChange: k[0] || (k[0] = async (W) => void 0)
3301
3302
  }, [
3302
- (D = g.value) != null && D.length ? (f(!0), h(G, { key: 0 }, ge(g.value, (W, me) => (f(), h("option", {
3303
+ (D = m.value) != null && D.length ? (p(!0), g(U, { key: 0 }, he(m.value, (W, me) => (p(), g("option", {
3303
3304
  key: me,
3304
3305
  disabled: W.disabled,
3305
3306
  value: W.value
3306
- }, S(Se(W)), 9, Si))), 128)) : F("", !0)
3307
- ], 40, Bi)
3308
- ], 8, ki),
3309
- _("details", {
3307
+ }, S(Se(W)), 9, wi))), 128)) : F("", !0)
3308
+ ], 40, Si)
3309
+ ], 8, Bi),
3310
+ I("details", {
3310
3311
  ref_key: "detailsRef",
3311
- ref: P,
3312
+ ref: G,
3312
3313
  open: o.open,
3313
- onToggle: k[2] || (k[2] = async (W) => la(W)),
3314
+ onToggle: k[2] || (k[2] = async (W) => oa(W)),
3314
3315
  onKeydown: k[3] || (k[3] = async (W) => va(W))
3315
3316
  }, [
3316
3317
  T(o.$slots, "default"),
3317
- o.options ? (f(), h(G, { key: 0 }, [
3318
- _("summary", {
3318
+ o.options ? (p(), g(U, { key: 0 }, [
3319
+ I("summary", {
3319
3320
  class: "db-custom-select-form-field",
3320
- id: v.value,
3321
+ id: c.value,
3321
3322
  "aria-disabled": d(H)(o.disabled),
3322
- "aria-labelledby": u.value
3323
+ "aria-labelledby": r.value
3323
3324
  }, [
3324
- (x = w.value) != null && x.length ? (f(), h("span", {
3325
+ (x = w.value) != null && x.length ? (p(), g("span", {
3325
3326
  key: 0,
3326
3327
  "data-visually-hidden": d(H)(o.selectedType === "tag"),
3327
3328
  id: $.value
3328
- }, S(w.value), 9, Ii)) : F("", !0),
3329
- o.selectedType === "tag" ? (f(), h("div", Li, [
3330
- (f(!0), h(G, null, ge(y.value, (W, me) => (f(), J(zt, {
3329
+ }, S(w.value), 9, Li)) : F("", !0),
3330
+ o.selectedType === "tag" ? (p(), g("div", Ti, [
3331
+ (p(!0), g(U, null, he(y.value, (W, me) => (p(), J(zt, {
3331
3332
  key: me,
3332
3333
  emphasis: "strong",
3333
3334
  behavior: "removable",
3334
- removeButton: sa(me),
3335
- onRemove: ($e) => ua(W, $e)
3335
+ removeButton: ua(me),
3336
+ onRemove: ($e) => ra(W, $e)
3336
3337
  }, {
3337
3338
  default: V(() => [
3338
3339
  C(S(Se(W)), 1)
@@ -3341,10 +3342,10 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3341
3342
  }, 1032, ["removeButton", "onRemove"]))), 128))
3342
3343
  ])) : F("", !0)
3343
3344
  ], 8, _i),
3344
- te(bi, { width: o.dropdownWidth }, {
3345
+ te(yi, { width: o.dropdownWidth }, {
3345
3346
  default: V(() => [
3346
- O.value ? (f(), h("div", Ti, [
3347
- te(ht, {
3347
+ O.value ? (p(), g("div", $i, [
3348
+ te(gt, {
3348
3349
  type: "search",
3349
3350
  ref_key: "searchInputRef",
3350
3351
  ref: Me,
@@ -3354,33 +3355,33 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3354
3355
  label: o.searchLabel ?? d(ke),
3355
3356
  placeholder: o.searchPlaceholder ?? o.searchLabel,
3356
3357
  ariaDescribedBy: X.value || o.showLoading ? L.value : void 0,
3357
- onInput: (W) => pa(W)
3358
+ onInput: (W) => ma(W)
3358
3359
  }, null, 8, ["name", "form", "label", "placeholder", "ariaDescribedBy", "onInput"])
3359
3360
  ])) : F("", !0),
3360
- X.value || o.showLoading ? (f(), J(ae, {
3361
+ X.value || o.showLoading ? (p(), J(ae, {
3361
3362
  key: 1,
3362
3363
  id: L.value,
3363
3364
  icon: X.value ? void 0 : "circular_arrows",
3364
3365
  semantic: X.value ? "warning" : "informational"
3365
3366
  }, {
3366
3367
  default: V(() => [
3367
- C(S((X.value ? o.noResultsText : o.loadingText) ?? d(wa)), 1)
3368
+ C(S((X.value ? o.noResultsText : o.loadingText) ?? d(Ia)), 1)
3368
3369
  ]),
3369
3370
  _: 1
3370
- }, 8, ["id", "icon", "semantic"])) : (f(), h(G, { key: 2 }, [
3371
- b.value ? (f(), h("div", $i, [
3372
- _("div", Ai, [
3373
- _("label", null, [
3374
- _("input", {
3371
+ }, 8, ["id", "icon", "semantic"])) : (p(), g(U, { key: 2 }, [
3372
+ b.value ? (p(), g("div", Ai, [
3373
+ I("div", Ci, [
3374
+ I("label", null, [
3375
+ I("input", {
3375
3376
  type: "checkbox",
3376
3377
  value: "select-all",
3377
3378
  ref_key: "selectAllRef",
3378
3379
  ref: Ce,
3379
3380
  form: e.value,
3380
3381
  checked: pe.value,
3381
- onChange: k[1] || (k[1] = async (W) => fa())
3382
- }, null, 40, Ci),
3383
- C(S(da()), 1)
3382
+ onChange: k[1] || (k[1] = async (W) => pa())
3383
+ }, null, 40, Ei),
3384
+ C(S(na()), 1)
3384
3385
  ])
3385
3386
  ])
3386
3387
  ])) : F("", !0),
@@ -3389,7 +3390,7 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3389
3390
  label: o.ariaListLabel ?? o.label ?? d(ke)
3390
3391
  }, {
3391
3392
  default: V(() => [
3392
- (f(!0), h(G, null, ge(g.value, (W, me) => (f(), J(hi, {
3393
+ (p(!0), g(U, null, he(m.value, (W, me) => (p(), J(gi, {
3393
3394
  key: me,
3394
3395
  type: o.multiple ? "checkbox" : "radio",
3395
3396
  showDivider: W.showDivider,
@@ -3397,13 +3398,13 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3397
3398
  isGroupTitle: W.isGroupTitle,
3398
3399
  groupTitle: Se(W),
3399
3400
  name: e.value,
3400
- checked: na(W.value),
3401
+ checked: sa(W.value),
3401
3402
  disabled: W.disabled,
3402
3403
  value: W.value,
3403
- onChange: ($e) => Pe(W.value)
3404
+ onChange: ($e) => Ge(W.value)
3404
3405
  }, {
3405
3406
  default: V(() => [
3406
- W.isGroupTitle ? F("", !0) : (f(), h(G, { key: 0 }, [
3407
+ W.isGroupTitle ? F("", !0) : (p(), g(U, { key: 0 }, [
3407
3408
  C(S(Se(W)), 1)
3408
3409
  ], 64))
3409
3410
  ]),
@@ -3413,7 +3414,7 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3413
3414
  _: 1
3414
3415
  }, 8, ["multiple", "label"])
3415
3416
  ], 64)),
3416
- _("div", null, [
3417
+ I("div", null, [
3417
3418
  te(Be, {
3418
3419
  variant: "ghost",
3419
3420
  width: "full",
@@ -3424,7 +3425,7 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3424
3425
  onClick: (W) => Le("close")
3425
3426
  }, {
3426
3427
  default: V(() => [
3427
- C(S(o.mobileCloseButtonText ?? d(ze)), 1)
3428
+ C(S(o.mobileCloseButtonText ?? d(Pe)), 1)
3428
3429
  ]),
3429
3430
  _: 1
3430
3431
  }, 8, ["name", "form", "onClick"])
@@ -3433,8 +3434,8 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3433
3434
  _: 1
3434
3435
  }, 8, ["width"])
3435
3436
  ], 64)) : F("", !0)
3436
- ], 40, wi),
3437
- (o.showClearSelection ?? !0) && ((ye = E.value) != null && ye.length) ? (f(), J(Be, {
3437
+ ], 40, Ii),
3438
+ (o.showClearSelection ?? !0) && ((be = E.value) != null && be.length) ? (p(), J(Be, {
3438
3439
  key: 0,
3439
3440
  icon: "cross",
3440
3441
  variant: "ghost",
@@ -3442,11 +3443,11 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3442
3443
  noText: !0,
3443
3444
  name: e.value,
3444
3445
  form: e.value,
3445
- onClick: (W) => ma()
3446
+ onClick: (W) => ha()
3446
3447
  }, {
3447
3448
  default: V(() => [
3448
3449
  C(S(o.clearSelectionText), 1),
3449
- te(ei, { placement: "top" }, {
3450
+ te(ai, { placement: "top" }, {
3450
3451
  default: V(() => [
3451
3452
  C(S(o.clearSelectionText), 1)
3452
3453
  ]),
@@ -3455,11 +3456,11 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3455
3456
  ]),
3456
3457
  _: 1
3457
3458
  }, 8, ["name", "form", "onClick"])) : F("", !0),
3458
- _("span", {
3459
+ I("span", {
3459
3460
  "aria-hidden": d(H)(!0),
3460
- id: I.value
3461
- }, S(o.placeholder ?? o.label), 9, Ei),
3462
- d(Z)(o.message, o.showMessage) ? (f(), J(ae, {
3461
+ id: _.value
3462
+ }, S(o.placeholder ?? o.label), 9, Ni),
3463
+ d(Z)(o.message, o.showMessage) ? (p(), J(ae, {
3463
3464
  key: 1,
3464
3465
  size: "small",
3465
3466
  icon: o.messageIcon,
@@ -3470,11 +3471,11 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3470
3471
  ]),
3471
3472
  _: 1
3472
3473
  }, 8, ["icon", "id"])) : F("", !0),
3473
- qe() ? (f(), J(ae, {
3474
+ ze() ? (p(), J(ae, {
3474
3475
  key: 2,
3475
3476
  size: "small",
3476
3477
  semantic: "successful",
3477
- id: c.value
3478
+ id: v.value
3478
3479
  }, {
3479
3480
  default: V(() => [
3480
3481
  C(S(o.validMessage || d(fe)), 1)
@@ -3484,18 +3485,18 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3484
3485
  te(ae, {
3485
3486
  size: "small",
3486
3487
  semantic: "critical",
3487
- id: r.value
3488
+ id: u.value
3488
3489
  }, {
3489
3490
  default: V(() => [
3490
- C(S(m.value), 1)
3491
+ C(S(h.value), 1)
3491
3492
  ]),
3492
3493
  _: 1
3493
3494
  }, 8, ["id"]),
3494
- _("span", Ni, S(R.value), 1)
3495
- ], 10, yi);
3495
+ I("span", Di, S(R.value), 1)
3496
+ ], 10, ki);
3496
3497
  };
3497
3498
  }
3498
- }), Di = ["id"], Fl = /* @__PURE__ */ U({
3499
+ }), Fi = ["id"], Ml = /* @__PURE__ */ q({
3499
3500
  __name: "custom-select-form-field",
3500
3501
  props: {
3501
3502
  children: { default: void 0 },
@@ -3507,121 +3508,122 @@ const yi = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-va
3507
3508
  },
3508
3509
  setup(l) {
3509
3510
  const a = l, i = n(null);
3510
- return (e, t) => (f(), h("summary", {
3511
+ return (e, t) => (p(), g("summary", {
3511
3512
  ref_key: "_ref",
3512
3513
  ref: i,
3513
3514
  id: e.id,
3514
- class: z(d(q)("db-custom-select-form-field", a.class))
3515
+ class: P(d(z)("db-custom-select-form-field", a.class))
3515
3516
  }, [
3516
3517
  T(e.$slots, "default")
3517
- ], 10, Di));
3518
+ ], 10, Fi));
3518
3519
  }
3519
3520
  });
3520
3521
  export {
3521
- El as AlignmentList,
3522
- Tl as AutoCompleteList,
3523
- xe as COLOR,
3524
- Oi as COLORS,
3525
- Wi as COLORS_SIMPLE,
3526
- Pi as COLOR_CONST,
3527
- Ze as COLOR_SIMPLE,
3528
- ul as DBAccordion,
3529
- Yt as DBAccordionItem,
3530
- Yi as DBBadge,
3531
- Ki as DBBrand,
3522
+ Nl as AlignmentList,
3523
+ $l as AutoCompleteList,
3524
+ ea as COLOR,
3525
+ Wi as COLORS,
3526
+ Xi as COLORS_SIMPLE,
3527
+ Vi as COLOR_CONST,
3528
+ xe as COLOR_SIMPLE,
3529
+ rl as DBAccordion,
3530
+ Kt as DBAccordionItem,
3531
+ Ki as DBBadge,
3532
+ Ji as DBBrand,
3532
3533
  Be as DBButton,
3533
- Ji as DBCard,
3534
- Qi as DBCheckbox,
3535
- Dl as DBCustomSelect,
3536
- bi as DBCustomSelectDropdown,
3537
- Fl as DBCustomSelectFormField,
3534
+ Qi as DBCard,
3535
+ Zi as DBCheckbox,
3536
+ Fl as DBCustomSelect,
3537
+ yi as DBCustomSelectDropdown,
3538
+ Ml as DBCustomSelectFormField,
3538
3539
  vi as DBCustomSelectList,
3539
- hi as DBCustomSelectListItem,
3540
- Zi as DBDivider,
3541
- Ya as DBDrawer,
3542
- xi as DBHeader,
3543
- el as DBIcon,
3540
+ gi as DBCustomSelectListItem,
3541
+ xi as DBDivider,
3542
+ Ka as DBDrawer,
3543
+ el as DBHeader,
3544
+ al as DBIcon,
3544
3545
  ae as DBInfotext,
3545
- ht as DBInput,
3546
- al as DBLink,
3547
- rl as DBNavigation,
3548
- sl as DBNavigationItem,
3549
- ji as DBNotification,
3550
- tl as DBPage,
3546
+ gt as DBInput,
3547
+ tl as DBLink,
3548
+ cl as DBNavigation,
3549
+ ul as DBNavigationItem,
3550
+ Yi as DBNotification,
3551
+ il as DBPage,
3551
3552
  vl as DBPopover,
3552
- il as DBRadio,
3553
- ll as DBSection,
3554
- ol as DBSelect,
3555
- Nl as DBStack,
3556
- dl as DBSwitch,
3557
- Ft as DBTabItem,
3558
- ii as DBTabList,
3559
- oi as DBTabPanel,
3560
- cl as DBTabs,
3553
+ ll as DBRadio,
3554
+ ol as DBSection,
3555
+ dl as DBSelect,
3556
+ Dl as DBStack,
3557
+ nl as DBSwitch,
3558
+ Mt as DBTabItem,
3559
+ li as DBTabList,
3560
+ di as DBTabPanel,
3561
+ fl as DBTabs,
3561
3562
  zt as DBTag,
3562
- nl as DBTextarea,
3563
- ei as DBTooltip,
3563
+ sl as DBTextarea,
3564
+ ai as DBTooltip,
3564
3565
  _a as DEFAULT_BACK,
3565
- La as DEFAULT_BURGER_MENU,
3566
- ze as DEFAULT_CLOSE_BUTTON,
3567
- je as DEFAULT_DATALIST_ID_SUFFIX,
3568
- Ta as DEFAULT_ICON,
3566
+ Ta as DEFAULT_BURGER_MENU,
3567
+ Pe as DEFAULT_CLOSE_BUTTON,
3568
+ Ye as DEFAULT_DATALIST_ID_SUFFIX,
3569
+ $a as DEFAULT_ICON,
3569
3570
  we as DEFAULT_ID,
3570
3571
  ie as DEFAULT_INVALID_MESSAGE,
3571
- ce as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
3572
+ ve as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
3572
3573
  ke as DEFAULT_LABEL,
3573
- Xe as DEFAULT_LABEL_ID_SUFFIX,
3574
- wa as DEFAULT_MESSAGE,
3574
+ He as DEFAULT_LABEL_ID_SUFFIX,
3575
+ Ia as DEFAULT_MESSAGE,
3575
3576
  re as DEFAULT_MESSAGE_ID_SUFFIX,
3576
- Ke as DEFAULT_PLACEHOLDER,
3577
+ Je as DEFAULT_PLACEHOLDER,
3577
3578
  Ne as DEFAULT_PLACEHOLDER_ID_SUFFIX,
3578
- Je as DEFAULT_REMOVE,
3579
- $a as DEFAULT_ROWS,
3580
- Ia as DEFAULT_SELECTED,
3581
- He as DEFAULT_SELECT_ID_SUFFIX,
3579
+ Qe as DEFAULT_REMOVE,
3580
+ Aa as DEFAULT_ROWS,
3581
+ La as DEFAULT_SELECTED,
3582
+ je as DEFAULT_SELECT_ID_SUFFIX,
3582
3583
  fe as DEFAULT_VALID_MESSAGE,
3583
- ve as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
3584
- Aa as DEFAULT_VIEWPORT,
3585
- Vi as DENSITIES,
3586
- Qe as DENSITY,
3584
+ ce as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
3585
+ Ca as DEFAULT_VIEWPORT,
3586
+ Oi as DENSITIES,
3587
+ Ze as DENSITY,
3587
3588
  Gi as DENSITY_CONST,
3588
- Ca as DESKTOP_VIEWPORT,
3589
+ Ea as DESKTOP_VIEWPORT,
3589
3590
  _l as EmphasisList,
3590
- gl as GapSpacingList,
3591
- Ll as LabelVariantList,
3592
- $l as LinkCurrentList,
3593
- Cl as LinkReferrerPolicyList,
3594
- Al as LinkTargetList,
3595
- ml as MarginList,
3596
- kl as MaxWidthList,
3597
- Ka as NavigationItemSafeTriangle,
3598
- bl as OrientationList,
3599
- ni as PlacementHorizontalList,
3600
- hl as PlacementList,
3601
- si as PlacementVerticalList,
3602
- Bl as PopoverDelayList,
3603
- Sl as PopoverWidthList,
3604
- ea as SEMANTIC,
3605
- Xi as SEMANTICS,
3606
- fl as SemanticList,
3607
- wl as SizeList,
3608
- pl as SpacingList,
3609
- Hi as TESTING_VIEWPORTS,
3610
- Il as ValidationList,
3611
- yl as WidthList,
3612
- Ye as addAttributeToChildren,
3613
- q as cls,
3591
+ bl as GapSpacingList,
3592
+ Tl as LabelVariantList,
3593
+ Al as LinkCurrentList,
3594
+ El as LinkReferrerPolicyList,
3595
+ Cl as LinkTargetList,
3596
+ hl as MarginList,
3597
+ Bl as MaxWidthList,
3598
+ Ja as NavigationItemSafeTriangle,
3599
+ yl as OrientationList,
3600
+ si as PlacementHorizontalList,
3601
+ gl as PlacementList,
3602
+ ui as PlacementVerticalList,
3603
+ Sl as PopoverDelayList,
3604
+ wl as PopoverWidthList,
3605
+ aa as SEMANTIC,
3606
+ Hi as SEMANTICS,
3607
+ pl as SemanticList,
3608
+ Il as SizeList,
3609
+ ml as SpacingList,
3610
+ ji as TESTING_VIEWPORTS,
3611
+ Ll as ValidationList,
3612
+ kl as WidthList,
3613
+ Ke as addAttributeToChildren,
3614
+ z as cls,
3614
3615
  ee as delay,
3615
3616
  M as getBoolean,
3616
3617
  H as getBooleanAsString,
3617
3618
  K as getHideProp,
3618
- he as getNumber,
3619
- We as getSearchInput,
3619
+ We as getInputValue,
3620
+ ye as getNumber,
3621
+ Xe as getSearchInput,
3620
3622
  Fe as handleDataOutside,
3621
3623
  ue as hasVoiceOver,
3622
- ka as isArrayOfStrings,
3623
- aa as isEventTargetNavigationItem,
3624
- ya as isInView,
3624
+ Ba as isArrayOfStrings,
3625
+ ta as isEventTargetNavigationItem,
3626
+ ka as isInView,
3625
3627
  Z as stringPropVisible,
3626
3628
  Q as uuid,
3627
3629
  qi as visibleInVX,