@db-ux/v-core-components 2.4.0 → 2.4.2

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,29 +1,29 @@
1
- var _a = Object.defineProperty;
2
- var Ta = (i, a, l) => a in i ? _a(i, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[a] = l;
3
- var de = (i, a, l) => Ta(i, typeof a != "symbol" ? a + "" : a, l);
4
- import { defineComponent as V, ref as n, onMounted as K, watch as E, createElementBlock as B, openBlock as m, normalizeClass as R, unref as d, createElementVNode as T, createCommentVNode as q, renderSlot as D, Fragment as P, createTextVNode as F, toDisplayString as _, renderList as be, createBlock as Z, createVNode as ae, withCtx as G, onUnmounted as Aa } from "vue";
5
- const Le = "OVERWRITE_DEFAULT_ID", we = "LABEL SHOULD BE SET", aa = " ", Ca = "MESSAGE SHOULD BE SET", Je = "-label", Qe = "-select", ve = "-message", fe = "-valid-message", pe = "-invalid-message", Re = "-placeholder", Ze = "-datalist", he = "TODO: Add a validMessage", ie = "TODO: Add an invalidMessage", ta = "Remove", Ea = "Back", Da = "Selected", Fa = "BurgerMenu", Na = "brand", Ma = 4, Ge = "Close", Ki = "density", Ji = "color";
1
+ var La = Object.defineProperty;
2
+ var _a = (i, a, l) => a in i ? La(i, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[a] = l;
3
+ var de = (i, a, l) => _a(i, typeof a != "symbol" ? a + "" : a, l);
4
+ import { defineComponent as V, ref as s, onMounted as K, watch as D, createElementBlock as B, openBlock as m, normalizeClass as R, unref as d, createElementVNode as T, createCommentVNode as q, renderSlot as E, Fragment as P, createTextVNode as N, toDisplayString as L, renderList as be, createBlock as Z, createVNode as ae, withCtx as G, onUnmounted as Ta } from "vue";
5
+ const Le = "OVERWRITE_DEFAULT_ID", we = "LABEL SHOULD BE SET", aa = " ", Aa = "MESSAGE SHOULD BE SET", Je = "-label", Qe = "-select", ve = "-message", fe = "-valid-message", pe = "-invalid-message", Re = "-placeholder", Ze = "-datalist", he = "TODO: Add a validMessage", ie = "TODO: Add an invalidMessage", ta = "Remove", Ca = "Back", Ea = "Selected", Da = "BurgerMenu", Na = "brand", Fa = 4, Ge = "Close", Ki = "density", Ji = "color";
6
6
  var ia = /* @__PURE__ */ ((i) => (i.FUNCTIONAL = "functional", i.REGULAR = "regular", i.EXPRESSIVE = "expressive", i))(ia || {});
7
7
  const Qi = Object.entries(ia).map(([, i]) => i);
8
8
  var la = /* @__PURE__ */ ((i) => (i.PRIMARY = "primary", i))(la || {}), oa = /* @__PURE__ */ ((i) => (i.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", i.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", i.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", i.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", i.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", i.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", i.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", i.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", i.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", i.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", i.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", i.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", i.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", i.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", i.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", i.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", i.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", i.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", i.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", i.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", i.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", i.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", i.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", i.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", i.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", i.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", i.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", i.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", i.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", i.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", i))(oa || {});
9
9
  const Zi = Object.entries(oa).map(([, i]) => i), xi = Object.entries(la).map(([, i]) => i);
10
10
  var da = /* @__PURE__ */ ((i) => (i.CRITICAL = "critical", i.INFORMATIONAL = "informational", i.WARNING = "warning", i.SUCCESSFUL = "successful", i))(da || {});
11
- const el = Object.entries(da).map(([, i]) => i), Ra = {
11
+ const el = Object.entries(da).map(([, i]) => i), Ma = {
12
12
  width: 390,
13
13
  height: 884
14
- }, za = {
14
+ }, Ra = {
15
15
  width: 1920,
16
16
  height: 1280
17
17
  }, al = [{
18
18
  name: "desktop",
19
- ...za
19
+ ...Ra
20
20
  }, {
21
21
  name: "tablet",
22
22
  width: 768,
23
23
  height: 1024
24
24
  }, {
25
25
  name: "mobile",
26
- ...Ra
26
+ ...Ma
27
27
  }], Q = () => {
28
28
  var i, a;
29
29
  if (typeof window < "u") {
@@ -48,7 +48,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
48
48
  for (const e in l)
49
49
  l[e] && (a += `${e} `);
50
50
  return a.trim();
51
- }, qa = (i) => Array.isArray(i) && i.every((a) => typeof a == "string"), Va = ["Mac", "iPhone", "iPad", "iPod"], me = () => typeof window < "u" && Va.some((i) => window.navigator.userAgent.includes(i)), x = (i, a) => new Promise(() => setTimeout(i, a)), j = (i) => {
51
+ }, za = (i) => Array.isArray(i) && i.every((a) => typeof a == "string"), qa = ["Mac", "iPhone", "iPad", "iPod"], me = () => typeof window < "u" && qa.some((i) => window.navigator.userAgent.includes(i)), x = (i, a) => new Promise(() => setTimeout(i, a)), j = (i) => {
52
52
  if (i != null)
53
53
  return String(typeof i == "string" ? !!i : i);
54
54
  }, M = (i, a) => {
@@ -63,7 +63,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
63
63
  }, ee = (i, a) => (a === void 0 || !!a) && !!i, ea = (i) => i.querySelector('input[type="search"]'), tl = (i, a) => {
64
64
  const l = i.id ?? i.value ?? Q();
65
65
  return `${a}${l}`;
66
- }, Pa = (i) => i.key !== void 0, Ua = ["id"], Ga = ["aria-disabled", "name", "open"], Wa = /* @__PURE__ */ V({
66
+ }, Va = (i) => i.key !== void 0, Pa = ["id"], Ua = ["aria-disabled", "name", "open"], Ga = /* @__PURE__ */ V({
67
67
  __name: "accordion-item",
68
68
  props: {
69
69
  defaultOpen: { type: Boolean, default: void 0 },
@@ -82,10 +82,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
82
82
  name: { default: void 0 }
83
83
  },
84
84
  setup(i) {
85
- const a = i, l = n(Le), e = n(!1), t = n(void 0), p = n(!1), u = n(null);
85
+ const a = i, l = s(Le), e = s(!1), t = s(void 0), p = s(!1), u = s(null);
86
86
  K(() => {
87
87
  l.value = a.id || "accordion-item-" + Q(), a.defaultOpen && (e.value = a.defaultOpen), p.value = !0;
88
- }), E(
88
+ }), D(
89
89
  () => [u.value, p.value],
90
90
  () => {
91
91
  u.value && p.value;
@@ -94,7 +94,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
94
94
  immediate: !0,
95
95
  flush: "post"
96
96
  }
97
- ), E(
97
+ ), D(
98
98
  () => [a.name],
99
99
  () => {
100
100
  a.name && (t.value = a.name);
@@ -106,10 +106,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
106
106
  );
107
107
  function g(r) {
108
108
  r == null || r.preventDefault();
109
- const c = !e.value;
110
- a.onToggle && a.onToggle(c), e.value = c;
109
+ const n = !e.value;
110
+ a.onToggle && a.onToggle(n), e.value = n;
111
111
  }
112
- return (r, c) => (m(), B("li", {
112
+ return (r, n) => (m(), B("li", {
113
113
  id: l.value,
114
114
  class: R(d(z)("db-accordion-item", a.class))
115
115
  }, [
@@ -121,22 +121,22 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
121
121
  open: e.value
122
122
  }, [
123
123
  T("summary", {
124
- onClick: c[0] || (c[0] = async (s) => g(s))
124
+ onClick: n[0] || (n[0] = async (f) => g(f))
125
125
  }, [
126
126
  r.headlinePlain ? (m(), B(P, { key: 0 }, [
127
- F(_(r.headlinePlain), 1)
127
+ N(L(r.headlinePlain), 1)
128
128
  ], 64)) : q("", !0),
129
- r.headlinePlain ? q("", !0) : D(r.$slots, "headline", { key: 1 })
129
+ r.headlinePlain ? q("", !0) : E(r.$slots, "headline", { key: 1 })
130
130
  ]),
131
131
  T("div", null, [
132
132
  r.text ? (m(), B(P, { key: 0 }, [
133
- F(_(r.text), 1)
134
- ], 64)) : D(r.$slots, "default", { key: 1 })
133
+ N(L(r.text), 1)
134
+ ], 64)) : E(r.$slots, "default", { key: 1 })
135
135
  ])
136
- ], 8, Ga)
137
- ], 10, Ua));
136
+ ], 8, Ua)
137
+ ], 10, Pa));
138
138
  }
139
- }), Oa = ["id", "data-variant"], il = /* @__PURE__ */ V({
139
+ }), Wa = ["id", "data-variant"], il = /* @__PURE__ */ V({
140
140
  __name: "accordion",
141
141
  props: {
142
142
  behavior: { default: void 0 },
@@ -153,10 +153,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
153
153
  autofocus: { type: [Boolean, String] }
154
154
  },
155
155
  setup(i) {
156
- const a = i, l = n(Le), e = n(""), t = n(!1), p = n(!1), u = n(null);
156
+ const a = i, l = s(Le), e = s(""), t = s(!1), p = s(!1), u = s(null);
157
157
  K(() => {
158
158
  l.value = a.id || "accordion-" + Q(), t.value = !0, p.value = !0;
159
- }), E(
159
+ }), D(
160
160
  () => [t.value, a.name, a.behavior, l.value],
161
161
  () => {
162
162
  t.value && (a.behavior === "single" ? a.name ? e.value !== a.name && (e.value = a.name) : e.value !== l.value && l.value && (e.value = l.value) : e.value = "");
@@ -165,31 +165,31 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
165
165
  immediate: !0,
166
166
  flush: "post"
167
167
  }
168
- ), E(
168
+ ), D(
169
169
  () => [u.value, e.value],
170
170
  () => {
171
171
  if (u.value) {
172
172
  const r = u.value.getElementsByTagName("details");
173
173
  if (r)
174
- for (const c of Array.from(r))
175
- e.value === "" ? c.removeAttribute("name") : c.name = e.value ?? "";
174
+ for (const n of Array.from(r))
175
+ e.value === "" ? n.removeAttribute("name") : n.name = e.value ?? "";
176
176
  }
177
177
  },
178
178
  {
179
179
  immediate: !0,
180
180
  flush: "post"
181
181
  }
182
- ), E(
182
+ ), D(
183
183
  () => [u.value, p.value, a.initOpenIndex],
184
184
  () => {
185
185
  if (u.value && p.value) {
186
186
  if (a.initOpenIndex && a.initOpenIndex.length > 0) {
187
187
  const r = u.value.getElementsByTagName("details");
188
188
  if (r) {
189
- const c = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
189
+ const n = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
190
190
  Array.from(r).forEach(
191
- (s, L) => {
192
- c != null && c.includes(L) && (s.open = !0);
191
+ (f, _) => {
192
+ n != null && n.includes(_) && (f.open = !0);
193
193
  }
194
194
  );
195
195
  }
@@ -210,23 +210,23 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
210
210
  }
211
211
  return [];
212
212
  }
213
- return (r, c) => (m(), B("ul", {
213
+ return (r, n) => (m(), B("ul", {
214
214
  ref_key: "_ref",
215
215
  ref: u,
216
216
  id: l.value,
217
217
  class: R(d(z)("db-accordion", a.class)),
218
218
  "data-variant": r.variant
219
219
  }, [
220
- r.items ? q("", !0) : D(r.$slots, "default", { key: 0 }),
221
- r.items ? (m(!0), B(P, { key: 1 }, be(g(), (s, L) => (m(), Z(Wa, {
222
- key: `accordion-item-${L}`,
223
- headlinePlain: s.headlinePlain,
224
- disabled: s.disabled,
225
- text: s.text
220
+ r.items ? q("", !0) : E(r.$slots, "default", { key: 0 }),
221
+ r.items ? (m(!0), B(P, { key: 1 }, be(g(), (f, _) => (m(), Z(Ga, {
222
+ key: `accordion-item-${_}`,
223
+ headlinePlain: f.headlinePlain,
224
+ disabled: f.disabled,
225
+ text: f.text
226
226
  }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : q("", !0)
227
- ], 10, Oa));
227
+ ], 10, Wa));
228
228
  }
229
- }), Ha = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], ll = /* @__PURE__ */ V({
229
+ }), Oa = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], ll = /* @__PURE__ */ V({
230
230
  __name: "badge",
231
231
  props: {
232
232
  placement: { default: void 0 },
@@ -243,10 +243,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
243
243
  text: { default: void 0 }
244
244
  },
245
245
  setup(i) {
246
- const a = i, l = n(!1), e = n(null);
246
+ const a = i, l = s(!1), e = s(null);
247
247
  return K(() => {
248
248
  l.value = !0;
249
- }), E(
249
+ }), D(
250
250
  () => [e.value, l.value],
251
251
  () => {
252
252
  var t;
@@ -273,12 +273,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
273
273
  "data-label": ((u = t.placement) == null ? void 0 : u.startsWith("corner")) && (t.label ?? d(we))
274
274
  }, [
275
275
  t.text ? (m(), B(P, { key: 0 }, [
276
- F(_(t.text), 1)
277
- ], 64)) : D(t.$slots, "default", { key: 1 })
278
- ], 10, Ha);
276
+ N(L(t.text), 1)
277
+ ], 64)) : E(t.$slots, "default", { key: 1 })
278
+ ], 10, Oa);
279
279
  };
280
280
  }
281
- }), Xa = ["data-icon", "data-hide-icon", "id"], ol = /* @__PURE__ */ V({
281
+ }), Ha = ["data-icon", "data-hide-icon", "id"], ol = /* @__PURE__ */ V({
282
282
  __name: "brand",
283
283
  props: {
284
284
  hideLogo: { type: Boolean, default: void 0 },
@@ -293,7 +293,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
293
293
  text: { default: void 0 }
294
294
  },
295
295
  setup(i) {
296
- const a = i, l = n(null);
296
+ const a = i, l = s(null);
297
297
  return (e, t) => (m(), B("div", {
298
298
  ref_key: "_ref",
299
299
  ref: l,
@@ -303,11 +303,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
303
303
  class: R(d(z)("db-brand", a.class))
304
304
  }, [
305
305
  e.text ? (m(), B(P, { key: 0 }, [
306
- F(_(e.text), 1)
307
- ], 64)) : D(e.$slots, "default", { key: 1 })
308
- ], 10, Xa));
306
+ N(L(e.text), 1)
307
+ ], 64)) : E(e.$slots, "default", { key: 1 })
308
+ ], 10, Ha));
309
309
  }
310
- }), ja = ["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__ */ V({
310
+ }), Xa = ["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__ */ V({
311
311
  __name: "button",
312
312
  props: {
313
313
  ariaexpanded: { type: Boolean, default: void 0 },
@@ -335,7 +335,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
335
335
  text: { default: void 0 }
336
336
  },
337
337
  setup(i) {
338
- const a = i, l = n(null);
338
+ const a = i, l = s(null);
339
339
  function e(t) {
340
340
  a.onClick && a.onClick(t);
341
341
  }
@@ -363,11 +363,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
363
363
  onClick: p[0] || (p[0] = async (u) => e(u))
364
364
  }, [
365
365
  t.text ? (m(), B(P, { key: 0 }, [
366
- F(_(t.text), 1)
367
- ], 64)) : D(t.$slots, "default", { key: 1 })
368
- ], 10, ja));
366
+ N(L(t.text), 1)
367
+ ], 64)) : E(t.$slots, "default", { key: 1 })
368
+ ], 10, Xa));
369
369
  }
370
- }), Ya = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], dl = /* @__PURE__ */ V({
370
+ }), ja = ["id", "data-behavior", "data-elevation-level", "data-spacing", "role", "tabIndex"], dl = /* @__PURE__ */ V({
371
371
  __name: "card",
372
372
  props: {
373
373
  behavior: { default: void 0 },
@@ -382,7 +382,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
382
382
  spacing: { default: void 0 }
383
383
  },
384
384
  setup(i) {
385
- const a = i, l = n(null);
385
+ const a = i, l = s(null);
386
386
  function e(t) {
387
387
  a.onClick && a.onClick(t);
388
388
  }
@@ -398,12 +398,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
398
398
  tabIndex: t.behavior === "interactive" ? 0 : void 0,
399
399
  onClick: p[0] || (p[0] = async (u) => e(u))
400
400
  }, [
401
- D(t.$slots, "default")
402
- ], 10, Ya));
401
+ E(t.$slots, "default")
402
+ ], 10, ja));
403
403
  }
404
404
  }), se = (i, a, l = "value") => {
405
405
  i(`update:${l}`, a.target[l]);
406
- }, Ka = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], te = /* @__PURE__ */ V({
406
+ }, Ya = ["id", "data-icon", "data-semantic", "data-size", "data-hide-icon-before"], te = /* @__PURE__ */ V({
407
407
  __name: "infotext",
408
408
  props: {
409
409
  children: { default: void 0 },
@@ -419,7 +419,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
419
419
  text: { default: void 0 }
420
420
  },
421
421
  setup(i) {
422
- const a = i, l = n(null);
422
+ const a = i, l = s(null);
423
423
  return (e, t) => (m(), B("span", {
424
424
  ref_key: "_ref",
425
425
  ref: l,
@@ -431,11 +431,11 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
431
431
  "data-hide-icon-before": d(X)(e.showIcon ?? !0)
432
432
  }, [
433
433
  e.text ? (m(), B(P, { key: 0 }, [
434
- F(_(e.text), 1)
435
- ], 64)) : D(e.$slots, "default", { key: 1 })
436
- ], 10, Ka));
434
+ N(L(e.text), 1)
435
+ ], 64)) : E(e.$slots, "default", { key: 1 })
436
+ ], 10, Ya));
437
437
  }
438
- }), Ja = ["data-size", "data-hide-label"], Qa = ["for"], Za = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "data-hide-asterisk", "aria-describedby"], xa = {
438
+ }), Ka = ["data-size", "data-hide-asterisk", "data-hide-label"], Ja = ["for"], Qa = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Za = {
439
439
  "data-visually-hidden": "true",
440
440
  role: "status"
441
441
  }, nl = /* @__PURE__ */ V({
@@ -477,46 +477,46 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
477
477
  },
478
478
  emits: ["update:checked"],
479
479
  setup(i, { emit: a }) {
480
- const l = a, e = i, t = n(!1), p = n(void 0), u = n(void 0), g = n(void 0), r = n(void 0), c = n(void 0), s = n(""), L = n(""), y = n(null);
480
+ const l = a, e = i, t = s(!1), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(void 0), f = s(""), _ = s(""), S = s(null);
481
481
  K(() => {
482
482
  t.value = !0;
483
483
  const b = e.id ?? `checkbox-${Q()}`;
484
- p.value = b, u.value = b + ve, g.value = b + fe, r.value = b + pe, c.value = e.invalidMessage || ie;
485
- }), E(
486
- () => [y.value, e.invalidMessage],
484
+ p.value = b, u.value = b + ve, g.value = b + fe, r.value = b + pe, n.value = e.invalidMessage || ie;
485
+ }), D(
486
+ () => [S.value, e.invalidMessage],
487
487
  () => {
488
488
  var b;
489
- c.value = e.invalidMessage || ((b = y.value) == null ? void 0 : b.validationMessage) || ie;
489
+ n.value = e.invalidMessage || ((b = S.value) == null ? void 0 : b.validationMessage) || ie;
490
490
  },
491
491
  {
492
492
  immediate: !0,
493
493
  flush: "post"
494
494
  }
495
- ), E(
495
+ ), D(
496
496
  () => [p.value],
497
497
  () => {
498
498
  if (p.value) {
499
499
  const b = p.value + ve;
500
- u.value = b, g.value = p.value + fe, r.value = p.value + pe, ee(e.message, e.showMessage) && (s.value = b);
500
+ u.value = b, g.value = p.value + fe, r.value = p.value + pe, ee(e.message, e.showMessage) && (f.value = b);
501
501
  }
502
502
  },
503
503
  {
504
504
  immediate: !0,
505
505
  flush: "post"
506
506
  }
507
- ), E(
508
- () => [t.value, y.value, e.indeterminate],
507
+ ), D(
508
+ () => [t.value, S.value, e.indeterminate],
509
509
  () => {
510
- y.value && e.indeterminate !== void 0 && (y.value.indeterminate = !!M(e.indeterminate));
510
+ S.value && e.indeterminate !== void 0 && (S.value.indeterminate = !!M(e.indeterminate));
511
511
  },
512
512
  {
513
513
  immediate: !0,
514
514
  flush: "post"
515
515
  }
516
- ), E(
517
- () => [t.value, y.value, e.checked],
516
+ ), D(
517
+ () => [t.value, S.value, e.checked],
518
518
  () => {
519
- t.value && y.value && (e.checked != null && (y.value.checked = !!M(e.checked)), t.value = !1);
519
+ t.value && S.value && (e.checked != null && (S.value.checked = !!M(e.checked)), t.value = !1);
520
520
  },
521
521
  {
522
522
  immediate: !0,
@@ -526,12 +526,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
526
526
  function h() {
527
527
  return !!(e.validMessage ?? e.validation === "valid");
528
528
  }
529
- function f() {
530
- var b, w, W;
531
- !((b = y.value) != null && b.validity.valid) || e.validation === "invalid" ? (s.value = r.value, c.value = e.invalidMessage || ((w = y.value) == null ? void 0 : w.validationMessage) || ie, me() && (L.value = c.value, x(() => L.value = "", 1e3))) : h() && ((W = y.value) != null && W.validity.valid) && e.required ? (s.value = g.value, me() && (L.value = e.validMessage ?? he, x(() => L.value = "", 1e3))) : ee(e.message, e.showMessage) ? s.value = u.value : s.value = "";
529
+ function v() {
530
+ var b, k, W;
531
+ !((b = S.value) != null && b.validity.valid) || e.validation === "invalid" ? (f.value = r.value, n.value = e.invalidMessage || ((k = S.value) == null ? void 0 : k.validationMessage) || ie, me() && (_.value = n.value, x(() => _.value = "", 1e3))) : h() && ((W = S.value) != null && W.validity.valid) && e.required ? (f.value = g.value, me() && (_.value = e.validMessage ?? he, x(() => _.value = "", 1e3))) : ee(e.message, e.showMessage) ? f.value = u.value : f.value = "";
532
532
  }
533
- function v(b) {
534
- e.onChange && e.onChange(b), se(l, b, "checked"), f();
533
+ function c(b) {
534
+ e.onChange && e.onChange(b), se(l, b, "checked"), v();
535
535
  }
536
536
  function I(b) {
537
537
  e.onBlur && e.onBlur(b);
@@ -539,9 +539,10 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
539
539
  function A(b) {
540
540
  e.onFocus && e.onFocus(b);
541
541
  }
542
- return (b, w) => (m(), B("div", {
542
+ return (b, k) => (m(), B("div", {
543
543
  class: R(d(z)("db-checkbox", e.class)),
544
544
  "data-size": b.size,
545
+ "data-hide-asterisk": d(X)(b.showRequiredAsterisk),
545
546
  "data-hide-label": d(X)(b.showLabel)
546
547
  }, [
547
548
  T("label", { for: p.value }, [
@@ -550,23 +551,22 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
550
551
  "aria-invalid": b.validation === "invalid",
551
552
  "data-custom-validity": b.validation,
552
553
  ref_key: "_ref",
553
- ref: y,
554
+ ref: S,
554
555
  id: p.value,
555
556
  name: b.name,
556
557
  checked: d(M)(b.checked, "checked"),
557
558
  disabled: d(M)(b.disabled, "disabled"),
558
559
  value: b.value,
559
560
  required: d(M)(b.required, "required"),
560
- "data-hide-asterisk": d(X)(b.showRequiredAsterisk),
561
- onChange: w[0] || (w[0] = async (W) => v(W)),
562
- onBlur: w[1] || (w[1] = async (W) => I(W)),
563
- onFocus: w[2] || (w[2] = async (W) => A(W)),
564
- "aria-describedby": b.ariaDescribedBy ?? s.value
565
- }, null, 40, Za),
561
+ onChange: k[0] || (k[0] = async (W) => c(W)),
562
+ onBlur: k[1] || (k[1] = async (W) => I(W)),
563
+ onFocus: k[2] || (k[2] = async (W) => A(W)),
564
+ "aria-describedby": b.ariaDescribedBy ?? f.value
565
+ }, null, 40, Qa),
566
566
  b.label ? (m(), B(P, { key: 0 }, [
567
- F(_(b.label), 1)
568
- ], 64)) : D(b.$slots, "default", { key: 1 })
569
- ], 8, Qa),
567
+ N(L(b.label), 1)
568
+ ], 64)) : E(b.$slots, "default", { key: 1 })
569
+ ], 8, Ja),
570
570
  d(ee)(b.message, b.showMessage) ? (m(), Z(te, {
571
571
  key: 0,
572
572
  size: "small",
@@ -574,7 +574,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
574
574
  id: u.value
575
575
  }, {
576
576
  default: G(() => [
577
- F(_(b.message), 1)
577
+ N(L(b.message), 1)
578
578
  ]),
579
579
  _: 1
580
580
  }, 8, ["icon", "id"])) : q("", !0),
@@ -585,7 +585,7 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
585
585
  id: g.value
586
586
  }, {
587
587
  default: G(() => [
588
- F(_(b.validMessage || d(he)), 1)
588
+ N(L(b.validMessage || d(he)), 1)
589
589
  ]),
590
590
  _: 1
591
591
  }, 8, ["id"])) : q("", !0),
@@ -595,12 +595,12 @@ const el = Object.entries(da).map(([, i]) => i), Ra = {
595
595
  id: r.value
596
596
  }, {
597
597
  default: G(() => [
598
- F(_(c.value), 1)
598
+ N(L(n.value), 1)
599
599
  ]),
600
600
  _: 1
601
601
  }, 8, ["id"]),
602
- T("span", xa, _(L.value), 1)
603
- ], 10, Ja));
602
+ T("span", Za, L(_.value), 1)
603
+ ], 10, Ka));
604
604
  }
605
605
  }), re = class re {
606
606
  static runCallbacks(a) {
@@ -647,8 +647,8 @@ const ce = class ce {
647
647
  };
648
648
  de(ce, "callbacks", {}), de(ce, "_instance", null);
649
649
  let Ie = ce;
650
- const et = (i) => {
651
- var f;
650
+ const xa = (i) => {
651
+ var v;
652
652
  const {
653
653
  top: a,
654
654
  bottom: l,
@@ -658,21 +658,21 @@ const et = (i) => {
658
658
  innerHeight: p,
659
659
  innerWidth: u
660
660
  } = window;
661
- let g = a < 0, r = l > p, c = e < 0, s = t > u;
662
- const L = i.dataset.outsideVy, y = i.dataset.outsideVx, h = (f = i == null ? void 0 : i.parentElement) == null ? void 0 : f.getBoundingClientRect();
663
- return h && (L && (i.dataset.outsideVy === "top" ? g = h.top - (l - h.bottom) < 0 : r = h.bottom + (h.top - a) > p), y && (i.dataset.outsideVx === "left" ? c = h.left - (t - h.right) < 0 : s = h.right + (h.left - e) > u)), {
661
+ let g = a < 0, r = l > p, n = e < 0, f = t > u;
662
+ const _ = i.dataset.outsideVy, S = i.dataset.outsideVx, h = (v = i == null ? void 0 : i.parentElement) == null ? void 0 : v.getBoundingClientRect();
663
+ return h && (_ && (i.dataset.outsideVy === "top" ? g = h.top - (l - h.bottom) < 0 : r = h.bottom + (h.top - a) > p), S && (i.dataset.outsideVx === "left" ? n = h.left - (t - h.right) < 0 : f = h.right + (h.left - e) > u)), {
664
664
  outTop: g,
665
665
  outBottom: r,
666
- outLeft: c,
667
- outRight: s
666
+ outLeft: n,
667
+ outRight: f
668
668
  };
669
- }, at = (i) => {
669
+ }, et = (i) => {
670
670
  const {
671
671
  outTop: a,
672
672
  outBottom: l,
673
673
  outLeft: e,
674
674
  outRight: t
675
- } = et(i);
675
+ } = xa(i);
676
676
  let p = {};
677
677
  return a || l ? (p = {
678
678
  vy: a ? "top" : "bottom"
@@ -680,7 +680,7 @@ const et = (i) => {
680
680
  ...p,
681
681
  vx: t ? "right" : "left"
682
682
  }, i.dataset.outsideVx = p.vx) : delete i.dataset.outsideVx, p;
683
- }, tt = (i, a, l) => {
683
+ }, at = (i, a, l) => {
684
684
  if (getComputedStyle(i).zIndex === "9999") return;
685
685
  const {
686
686
  top: e,
@@ -689,10 +689,10 @@ const et = (i) => {
689
689
  childWidth: u,
690
690
  width: g,
691
691
  right: r,
692
- left: c,
693
- correctedPlacement: s
692
+ left: n,
693
+ correctedPlacement: f
694
694
  } = sa(i, a, l);
695
- i.dataset.width === "full" && (i.style.inlineSize = `${g}px`), s === "top" || s === "bottom" || s === "top-start" || s === "bottom-start" ? i.style.insetInlineStart = `${c}px` : (s === "top-end" || s === "bottom-end") && (i.style.insetInlineStart = `${r - u}px`), s != null && s.startsWith("top") ? i.style.insetBlockStart = `${e - p}px` : s != null && s.startsWith("bottom") && (i.style.insetBlockStart = `${t}px`), i.style.position = "fixed";
695
+ i.dataset.width === "full" && (i.style.inlineSize = `${g}px`), f === "top" || f === "bottom" || f === "top-start" || f === "bottom-start" ? i.style.insetInlineStart = `${n}px` : (f === "top-end" || f === "bottom-end") && (i.style.insetInlineStart = `${r - u}px`), f != null && f.startsWith("top") ? i.style.insetBlockStart = `${e - p}px` : f != null && f.startsWith("bottom") && (i.style.insetBlockStart = `${t}px`), i.style.position = "fixed";
696
696
  }, sa = (i, a, l) => {
697
697
  if (!i || !a)
698
698
  return {
@@ -714,27 +714,27 @@ const et = (i) => {
714
714
  bottom: u,
715
715
  right: g,
716
716
  left: r,
717
- width: c
717
+ width: n
718
718
  } = a.getBoundingClientRect(), {
719
- innerHeight: s,
720
- innerWidth: L
719
+ innerHeight: f,
720
+ innerWidth: _
721
721
  } = window;
722
- let y = e.height, h = e.width;
723
- (l === "bottom" || l === "top") && (h = h / 2), (l === "left" || l === "right") && (y = y / 2);
724
- const f = u + y > s, v = t - y < 0, I = r - h < 0, A = g + h > L;
722
+ let S = e.height, h = e.width;
723
+ (l === "bottom" || l === "top") && (h = h / 2), (l === "left" || l === "right") && (S = S / 2);
724
+ const v = u + S > f, c = t - S < 0, I = r - h < 0, A = g + h > _;
725
725
  let b = l;
726
- return l.startsWith("bottom") ? f ? (b = l == null ? void 0 : l.replace("bottom", "top"), I && A ? b = "top" : I ? b = "top-start" : A && (b = "top-end")) : I && A ? b = "bottom" : I ? b = "bottom-start" : A && (b = "bottom-end") : l.startsWith("top") ? v ? (b = l == null ? void 0 : l.replace("top", "bottom"), I && A ? b = "bottom" : I ? b = "bottom-start" : A && (b = "bottom-end")) : I && A ? b = "top" : I ? b = "top-start" : A && (b = "top-end") : l.startsWith("left") ? I ? (b = l == null ? void 0 : l.replace("left", "right"), f && v ? b = "right" : f ? b = "right-end" : v && (b = "right-start")) : f && v ? b = "left" : f ? b = "left-end" : v && (b = "left-start") : b.startsWith("right") && (A ? (b = l == null ? void 0 : l.replace("right", "left"), f && v ? b = "left" : f ? b = "left-end" : v && (b = "left-start")) : f && v ? b = "right" : f ? b = "right-end" : v && (b = "right-start")), {
726
+ return l.startsWith("bottom") ? v ? (b = l == null ? void 0 : l.replace("bottom", "top"), I && A ? b = "top" : I ? b = "top-start" : A && (b = "top-end")) : I && A ? b = "bottom" : I ? b = "bottom-start" : A && (b = "bottom-end") : l.startsWith("top") ? c ? (b = l == null ? void 0 : l.replace("top", "bottom"), I && A ? b = "bottom" : I ? b = "bottom-start" : A && (b = "bottom-end")) : I && A ? b = "top" : I ? b = "top-start" : A && (b = "top-end") : l.startsWith("left") ? I ? (b = l == null ? void 0 : l.replace("left", "right"), v && c ? b = "right" : v ? b = "right-end" : c && (b = "right-start")) : v && c ? b = "left" : v ? b = "left-end" : c && (b = "left-start") : b.startsWith("right") && (A ? (b = l == null ? void 0 : l.replace("right", "left"), v && c ? b = "left" : v ? b = "left-end" : c && (b = "left-start")) : v && c ? b = "right" : v ? b = "right-end" : c && (b = "right-start")), {
727
727
  top: t,
728
728
  bottom: u,
729
729
  right: g,
730
730
  height: p,
731
- width: c,
731
+ width: n,
732
732
  left: r,
733
733
  childHeight: e.height,
734
734
  childWidth: e.width,
735
735
  correctedPlacement: b,
736
- innerWidth: L,
737
- innerHeight: s
736
+ innerWidth: _,
737
+ innerHeight: f
738
738
  };
739
739
  }, ua = (i, a, l) => {
740
740
  const e = getComputedStyle(i).getPropertyValue("--db-popover-distance") ?? "0px", {
@@ -743,53 +743,53 @@ const et = (i) => {
743
743
  width: u,
744
744
  childHeight: g,
745
745
  childWidth: r,
746
- right: c,
747
- left: s,
748
- bottom: L,
749
- correctedPlacement: y,
746
+ right: n,
747
+ left: f,
748
+ bottom: _,
749
+ correctedPlacement: S,
750
750
  innerWidth: h,
751
- innerHeight: f
751
+ innerHeight: v
752
752
  } = sa(i, a, l);
753
- if (r > u && (y.startsWith("bottom") || y.startsWith("top"))) {
754
- const v = u / 2 / r * 100;
755
- y.endsWith("start") ? i.style.setProperty("--db-tooltip-arrow-inline-start", `${v}%`) : y.endsWith("end") && i.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - v}%`);
753
+ if (r > u && (S.startsWith("bottom") || S.startsWith("top"))) {
754
+ const c = u / 2 / r * 100;
755
+ S.endsWith("start") ? i.style.setProperty("--db-tooltip-arrow-inline-start", `${c}%`) : S.endsWith("end") && i.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - c}%`);
756
756
  }
757
- if (g > p && (y.startsWith("left") || y.startsWith("bottom"))) {
758
- const v = p / 2 / g * 100;
759
- y.endsWith("start") ? i.style.setProperty("--db-tooltip-arrow-block-start", `${v}%`) : y.endsWith("end") && i.style.setProperty("--db-tooltip-arrow-block-start", `${100 - v}%`);
757
+ if (g > p && (S.startsWith("left") || S.startsWith("bottom"))) {
758
+ const c = p / 2 / g * 100;
759
+ S.endsWith("start") ? i.style.setProperty("--db-tooltip-arrow-block-start", `${c}%`) : S.endsWith("end") && i.style.setProperty("--db-tooltip-arrow-block-start", `${100 - c}%`);
760
760
  }
761
- if (y === "right" || y === "left")
761
+ if (S === "right" || S === "left")
762
762
  i.style.insetBlockStart = `${t + p / 2}px`;
763
- else if (y === "right-start" || y === "left-start") {
764
- const v = t + g;
765
- i.style.insetBlockStart = `${t}px`, i.style.insetBlockEnd = `${v > f ? f : v}px`;
766
- } else if (y === "right-end" || y === "left-end") {
767
- const v = L - g;
768
- i.style.insetBlockStart = `${v < 0 ? 0 : v}px`, i.style.insetBlockEnd = `${L}px`;
769
- } else if (y === "top" || y === "bottom")
770
- i.style.insetInlineStart = `${s + u / 2}px`;
771
- else if (y === "top-start" || y === "bottom-start") {
772
- const v = s + r;
773
- i.style.insetInlineStart = `${s}px`, i.style.insetInlineEnd = `${v > h ? h : v}px`;
774
- } else if (y === "top-end" || y === "bottom-end") {
775
- const v = s - r;
776
- i.style.insetInlineStart = `${c - r}px`, i.style.insetInlineEnd = `${v < 0 ? 0 : v}px`;
763
+ else if (S === "right-start" || S === "left-start") {
764
+ const c = t + g;
765
+ i.style.insetBlockStart = `${t}px`, i.style.insetBlockEnd = `${c > v ? v : c}px`;
766
+ } else if (S === "right-end" || S === "left-end") {
767
+ const c = _ - g;
768
+ i.style.insetBlockStart = `${c < 0 ? 0 : c}px`, i.style.insetBlockEnd = `${_}px`;
769
+ } else if (S === "top" || S === "bottom")
770
+ i.style.insetInlineStart = `${f + u / 2}px`;
771
+ else if (S === "top-start" || S === "bottom-start") {
772
+ const c = f + r;
773
+ i.style.insetInlineStart = `${f}px`, i.style.insetInlineEnd = `${c > h ? h : c}px`;
774
+ } else if (S === "top-end" || S === "bottom-end") {
775
+ const c = f - r;
776
+ i.style.insetInlineStart = `${n - r}px`, i.style.insetInlineEnd = `${c < 0 ? 0 : c}px`;
777
777
  }
778
- if (y != null && y.startsWith("right")) {
779
- const v = c + r;
780
- i.style.insetInlineStart = `calc(${c}px + ${e})`, i.style.insetInlineEnd = `calc(${v > h ? h : v}px + ${e})`;
781
- } else if (y != null && y.startsWith("left")) {
782
- const v = s - r;
783
- i.style.insetInlineStart = `calc(${v < 0 ? 0 : v}px - ${e})`, i.style.insetInlineEnd = `calc(${c}px - ${e})`;
784
- } else if (y != null && y.startsWith("top")) {
785
- const v = t - g;
786
- i.style.insetBlockStart = `calc(${v < 0 ? 0 : v}px - ${e})`, i.style.insetBlockEnd = `calc(${L}px - ${e})`;
787
- } else if (y != null && y.startsWith("bottom")) {
788
- const v = L + g;
789
- i.style.insetBlockStart = `calc(${L}px + ${e})`, i.style.insetBlockEnd = `calc(${v > f ? f : v}px + ${e})`;
778
+ if (S != null && S.startsWith("right")) {
779
+ const c = n + r;
780
+ i.style.insetInlineStart = `calc(${n}px + ${e})`, i.style.insetInlineEnd = `calc(${c > h ? h : c}px + ${e})`;
781
+ } else if (S != null && S.startsWith("left")) {
782
+ const c = f - r;
783
+ i.style.insetInlineStart = `calc(${c < 0 ? 0 : c}px - ${e})`, i.style.insetInlineEnd = `calc(${n}px - ${e})`;
784
+ } else if (S != null && S.startsWith("top")) {
785
+ const c = t - g;
786
+ i.style.insetBlockStart = `calc(${c < 0 ? 0 : c}px - ${e})`, i.style.insetBlockEnd = `calc(${_}px - ${e})`;
787
+ } else if (S != null && S.startsWith("bottom")) {
788
+ const c = _ + g;
789
+ i.style.insetBlockStart = `calc(${_}px + ${e})`, i.style.insetBlockEnd = `calc(${c > v ? v : c}px + ${e})`;
790
790
  }
791
- i.style.position = "fixed", i.dataset.correctedPlacement = y;
792
- }, it = ["id", "data-width"], lt = /* @__PURE__ */ V({
791
+ i.style.position = "fixed", i.dataset.correctedPlacement = S;
792
+ }, tt = ["id", "data-width"], it = /* @__PURE__ */ V({
793
793
  __name: "custom-select-dropdown",
794
794
  props: {
795
795
  width: { default: "fixed" },
@@ -801,7 +801,7 @@ const et = (i) => {
801
801
  autofocus: { type: [Boolean, String] }
802
802
  },
803
803
  setup(i) {
804
- const a = i, l = n(null);
804
+ const a = i, l = s(null);
805
805
  return (e, t) => (m(), B("article", {
806
806
  "data-spacing": "none",
807
807
  ref_key: "_ref",
@@ -810,10 +810,10 @@ const et = (i) => {
810
810
  class: R(d(z)("db-custom-select-dropdown db-card", a.class)),
811
811
  "data-width": e.width
812
812
  }, [
813
- D(e.$slots, "default")
814
- ], 10, it));
813
+ E(e.$slots, "default")
814
+ ], 10, tt));
815
815
  }
816
- }), ot = ["id", "data-divider"], dt = ["data-icon", "data-hide-icon", "data-icon-after"], nt = ["type", "name", "form", "checked", "disabled", "value"], st = { key: 1 }, ut = /* @__PURE__ */ V({
816
+ }), lt = ["id", "data-divider"], ot = ["data-icon", "data-hide-icon", "data-icon-after"], dt = ["type", "name", "form", "checked", "disabled", "value"], nt = { key: 1 }, st = /* @__PURE__ */ V({
817
817
  __name: "custom-select-list-item",
818
818
  props: {
819
819
  groupTitle: { default: void 0 },
@@ -838,10 +838,10 @@ const et = (i) => {
838
838
  },
839
839
  emits: ["update:checked"],
840
840
  setup(i, { emit: a }) {
841
- const l = a, e = i, t = n(void 0), p = n(!1), u = n(null);
841
+ const l = a, e = i, t = s(void 0), p = s(!1), u = s(null);
842
842
  K(() => {
843
843
  t.value = e.id ?? `custom-select-list-item-${Q()}`;
844
- }), E(
844
+ }), D(
845
845
  () => [e.isGroupTitle, e.showDivider],
846
846
  () => {
847
847
  p.value = !!(e.isGroupTitle || e.showDivider);
@@ -851,49 +851,49 @@ const et = (i) => {
851
851
  flush: "post"
852
852
  }
853
853
  );
854
- function g(c) {
855
- c.stopPropagation(), e.onChange && e.onChange(c), se(l, c, "checked");
854
+ function g(n) {
855
+ n.stopPropagation(), e.onChange && e.onChange(n), se(l, n, "checked");
856
856
  }
857
857
  function r() {
858
858
  if (!(e.isGroupTitle || e.type === "checkbox"))
859
859
  return M(e.checked, "checked") ? "check" : "x_placeholder";
860
860
  }
861
- return (c, s) => (m(), B("li", {
861
+ return (n, f) => (m(), B("li", {
862
862
  ref_key: "_ref",
863
863
  ref: u,
864
864
  id: t.value,
865
865
  class: R(
866
866
  d(z)("db-custom-select-list-item", e.class, {
867
- "db-checkbox": c.type === "checkbox" && !c.isGroupTitle,
868
- "db-radio": c.type !== "checkbox" && !c.isGroupTitle
867
+ "db-checkbox": n.type === "checkbox" && !n.isGroupTitle,
868
+ "db-radio": n.type !== "checkbox" && !n.isGroupTitle
869
869
  })
870
870
  ),
871
871
  "data-divider": d(j)(p.value)
872
872
  }, [
873
- c.isGroupTitle ? (m(), B("span", st, _(c.groupTitle), 1)) : (m(), B("label", {
873
+ n.isGroupTitle ? (m(), B("span", nt, L(n.groupTitle), 1)) : (m(), B("label", {
874
874
  key: 0,
875
- "data-icon": c.type !== "checkbox" && c.icon ? c.icon : void 0,
876
- "data-hide-icon": d(X)(c.showIcon),
875
+ "data-icon": n.type !== "checkbox" && n.icon ? n.icon : void 0,
876
+ "data-hide-icon": d(X)(n.showIcon),
877
877
  "data-icon-after": r()
878
878
  }, [
879
879
  T("input", {
880
880
  class: "db-custom-select-list-item-checkbox",
881
881
  "data-disable-focus": "true",
882
- type: c.type,
883
- name: c.name,
884
- form: c.name,
885
- checked: d(M)(c.checked, "checked"),
886
- disabled: d(M)(c.disabled, "disabled"),
887
- value: c.value,
888
- onChange: s[0] || (s[0] = async (L) => g(L))
889
- }, null, 40, nt),
890
- c.label ? (m(), B(P, { key: 0 }, [
891
- F(_(c.label), 1)
892
- ], 64)) : D(c.$slots, "default", { key: 1 })
893
- ], 8, dt))
894
- ], 10, ot));
882
+ type: n.type,
883
+ name: n.name,
884
+ form: n.name,
885
+ checked: d(M)(n.checked, "checked"),
886
+ disabled: d(M)(n.disabled, "disabled"),
887
+ value: n.value,
888
+ onChange: f[0] || (f[0] = async (_) => g(_))
889
+ }, null, 40, dt),
890
+ n.label ? (m(), B(P, { key: 0 }, [
891
+ N(L(n.label), 1)
892
+ ], 64)) : E(n.$slots, "default", { key: 1 })
893
+ ], 8, ot))
894
+ ], 10, lt));
895
895
  }
896
- }), rt = ["role", "aria-label", "id"], ct = /* @__PURE__ */ V({
896
+ }), ut = ["role", "aria-label", "id"], rt = /* @__PURE__ */ V({
897
897
  __name: "custom-select-list",
898
898
  props: {
899
899
  label: { default: void 0 },
@@ -906,7 +906,7 @@ const et = (i) => {
906
906
  autofocus: { type: [Boolean, String] }
907
907
  },
908
908
  setup(i) {
909
- const a = i, l = n(null);
909
+ const a = i, l = s(null);
910
910
  return (e, t) => (m(), B("div", {
911
911
  role: e.multiple ? "group" : "radiogroup",
912
912
  "aria-label": e.label,
@@ -916,14 +916,14 @@ const et = (i) => {
916
916
  class: R(d(z)("db-custom-select-list", a.class))
917
917
  }, [
918
918
  T("ul", null, [
919
- D(e.$slots, "default")
919
+ E(e.$slots, "default")
920
920
  ])
921
- ], 10, rt));
921
+ ], 10, ut));
922
922
  }
923
- }), vt = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-icon-after"], ft = ["for"], pt = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "name", "type", "placeholder", "disabled", "required", "data-hide-asterisk", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "list", "aria-describedby"], ht = ["id"], mt = ["value"], gt = {
923
+ }), ct = ["data-variant", "data-hide-label", "data-hide-icon", "data-icon", "data-icon-after", "data-hide-asterisk", "data-hide-icon-after"], vt = ["for"], ft = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "name", "type", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "list", "aria-describedby"], pt = ["id"], ht = ["value"], mt = {
924
924
  "data-visually-hidden": "true",
925
925
  role: "status"
926
- }, bt = /* @__PURE__ */ V({
926
+ }, gt = /* @__PURE__ */ V({
927
927
  __name: "input",
928
928
  props: {
929
929
  dataList: { default: void 0 },
@@ -979,141 +979,141 @@ const et = (i) => {
979
979
  },
980
980
  emits: ["update:value"],
981
981
  setup(i, { emit: a }) {
982
- const l = a, e = i, t = n(void 0), p = n(void 0), u = n(void 0), g = n(void 0), r = n(void 0), c = n(void 0), s = n(""), L = n(""), y = n(""), h = n(null);
982
+ const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(void 0), f = s(""), _ = s(""), S = s(""), h = s(null);
983
983
  K(() => {
984
- const k = e.id ?? `input-${Q()}`;
985
- t.value = k, p.value = k + ve, u.value = k + fe, g.value = k + pe, c.value = k + Ze, r.value = e.invalidMessage || ie;
986
- }), E(
984
+ const y = e.id ?? `input-${Q()}`;
985
+ t.value = y, p.value = y + ve, u.value = y + fe, g.value = y + pe, n.value = y + Ze, r.value = e.invalidMessage || ie;
986
+ }), D(
987
987
  () => [h.value, e.invalidMessage],
988
988
  () => {
989
- var k;
990
- r.value = e.invalidMessage || ((k = h.value) == null ? void 0 : k.validationMessage) || ie;
989
+ var y;
990
+ r.value = e.invalidMessage || ((y = h.value) == null ? void 0 : y.validationMessage) || ie;
991
991
  },
992
992
  {
993
993
  immediate: !0,
994
994
  flush: "post"
995
995
  }
996
- ), E(
996
+ ), D(
997
997
  () => [t.value],
998
998
  () => {
999
999
  if (t.value) {
1000
- const k = t.value + ve;
1001
- p.value = k, u.value = t.value + fe, g.value = t.value + pe, c.value = e.dataListId ?? t.value + Ze, ee(e.message, e.showMessage) && (s.value = k);
1000
+ const y = t.value + ve;
1001
+ p.value = y, u.value = t.value + fe, g.value = t.value + pe, n.value = e.dataListId ?? t.value + Ze, ee(e.message, e.showMessage) && (f.value = y);
1002
1002
  }
1003
1003
  },
1004
1004
  {
1005
1005
  immediate: !0,
1006
1006
  flush: "post"
1007
1007
  }
1008
- ), E(
1008
+ ), D(
1009
1009
  () => [e.value],
1010
1010
  () => {
1011
- L.value = e.value;
1011
+ _.value = e.value;
1012
1012
  },
1013
1013
  {
1014
1014
  immediate: !0,
1015
1015
  flush: "post"
1016
1016
  }
1017
1017
  );
1018
- function f() {
1018
+ function v() {
1019
1019
  return !!(e.validMessage ?? e.validation === "valid");
1020
1020
  }
1021
- function v() {
1022
- var k, O, S;
1023
- !((k = h.value) != null && k.validity.valid) || e.validation === "invalid" ? (s.value = g.value, r.value = e.invalidMessage || ((O = h.value) == null ? void 0 : O.validationMessage) || ie, me() && (y.value = r.value, x(() => y.value = "", 1e3))) : f() && ((S = h.value) != null && S.validity.valid) && (e.required || e.minLength || e.maxLength || e.pattern) ? (s.value = u.value, me() && (y.value = e.validMessage ?? he, x(() => y.value = "", 1e3))) : ee(e.message, e.showMessage) ? s.value = p.value : s.value = "";
1021
+ function c() {
1022
+ var y, O, w;
1023
+ !((y = h.value) != null && y.validity.valid) || e.validation === "invalid" ? (f.value = g.value, r.value = e.invalidMessage || ((O = h.value) == null ? void 0 : O.validationMessage) || ie, me() && (S.value = r.value, x(() => S.value = "", 1e3))) : v() && ((w = h.value) != null && w.validity.valid) && (e.required || e.minLength || e.maxLength || e.pattern) ? (f.value = u.value, me() && (S.value = e.validMessage ?? he, x(() => S.value = "", 1e3))) : ee(e.message, e.showMessage) ? f.value = p.value : f.value = "";
1024
1024
  }
1025
- function I(k) {
1026
- e.input && e.input(k), L.value = k.target.value, e.onInput && e.onInput(k), se(l, k), v();
1025
+ function I(y) {
1026
+ e.input && e.input(y), _.value = y.target.value, e.onInput && e.onInput(y), se(l, y), c();
1027
1027
  }
1028
- function A(k) {
1029
- e.onChange && e.onChange(k), se(l, k), v();
1028
+ function A(y) {
1029
+ e.onChange && e.onChange(y), se(l, y), c();
1030
1030
  }
1031
- function b(k) {
1032
- e.onBlur && e.onBlur(k);
1031
+ function b(y) {
1032
+ e.onBlur && e.onBlur(y);
1033
1033
  }
1034
- function w(k) {
1035
- e.onFocus && e.onFocus(k);
1034
+ function k(y) {
1035
+ e.onFocus && e.onFocus(y);
1036
1036
  }
1037
1037
  function W() {
1038
- const k = e.dataList;
1038
+ const y = e.dataList;
1039
1039
  return Array.from(
1040
- (qa(k) ? k == null ? void 0 : k.map((O) => ({
1040
+ (za(y) ? y == null ? void 0 : y.map((O) => ({
1041
1041
  value: O,
1042
1042
  label: void 0
1043
- })) : k) || []
1043
+ })) : y) || []
1044
1044
  );
1045
1045
  }
1046
- return (k, O) => (m(), B("div", {
1046
+ return (y, O) => (m(), B("div", {
1047
1047
  class: R(d(z)("db-input", e.class)),
1048
- "data-variant": k.variant,
1049
- "data-hide-label": d(X)(k.showLabel),
1050
- "data-hide-icon": d(X)(k.showIcon),
1051
- "data-icon": k.icon,
1052
- "data-icon-after": k.iconAfter,
1053
- "data-hide-icon-after": d(X)(k.showIcon)
1048
+ "data-variant": y.variant,
1049
+ "data-hide-label": d(X)(y.showLabel),
1050
+ "data-hide-icon": d(X)(y.showIcon),
1051
+ "data-icon": y.icon,
1052
+ "data-icon-after": y.iconAfter,
1053
+ "data-hide-asterisk": d(X)(y.showRequiredAsterisk),
1054
+ "data-hide-icon-after": d(X)(y.showIcon)
1054
1055
  }, [
1055
- T("label", { for: t.value }, _(k.label ?? d(we)), 9, ft),
1056
+ T("label", { for: t.value }, L(y.label ?? d(we)), 9, vt),
1056
1057
  T("input", {
1057
- "aria-invalid": k.validation === "invalid",
1058
- "data-custom-validity": k.validation,
1059
- "data-field-sizing": k.fieldSizing,
1058
+ "aria-invalid": y.validation === "invalid",
1059
+ "data-custom-validity": y.validation,
1060
+ "data-field-sizing": y.fieldSizing,
1060
1061
  ref_key: "_ref",
1061
1062
  ref: h,
1062
1063
  id: t.value,
1063
- name: k.name,
1064
- type: k.type || "text",
1065
- placeholder: k.placeholder ?? d(aa),
1066
- disabled: d(M)(k.disabled, "disabled"),
1067
- required: d(M)(k.required, "required"),
1068
- "data-hide-asterisk": d(X)(k.showRequiredAsterisk),
1069
- step: d(Se)(k.step),
1070
- value: k.value ?? L.value,
1071
- maxLength: d(Se)(k.maxLength, k.maxlength),
1072
- minLength: d(Se)(k.minLength, k.minlength),
1073
- max: d(xe)(k.max, k.type),
1074
- min: d(xe)(k.min, k.type),
1075
- readOnly: d(M)(k.readOnly, "readOnly") || d(M)(k.readonly, "readonly"),
1076
- form: k.form,
1077
- pattern: k.pattern,
1078
- size: k.size,
1079
- autoComplete: k.autocomplete,
1080
- autoFocus: d(M)(k.autofocus, "autofocus"),
1081
- onInput: O[0] || (O[0] = async (S) => I(S)),
1082
- onChange: O[1] || (O[1] = async (S) => A(S)),
1083
- onBlur: O[2] || (O[2] = async (S) => b(S)),
1084
- onFocus: O[3] || (O[3] = async (S) => w(S)),
1085
- list: k.dataList && c.value,
1086
- "aria-describedby": k.ariaDescribedBy ?? s.value
1087
- }, null, 40, pt),
1088
- k.dataList ? (m(), B("datalist", {
1064
+ name: y.name,
1065
+ type: y.type || "text",
1066
+ placeholder: y.placeholder ?? d(aa),
1067
+ disabled: d(M)(y.disabled, "disabled"),
1068
+ required: d(M)(y.required, "required"),
1069
+ step: d(Se)(y.step),
1070
+ value: y.value ?? _.value,
1071
+ maxLength: d(Se)(y.maxLength, y.maxlength),
1072
+ minLength: d(Se)(y.minLength, y.minlength),
1073
+ max: d(xe)(y.max, y.type),
1074
+ min: d(xe)(y.min, y.type),
1075
+ readOnly: d(M)(y.readOnly, "readOnly") || d(M)(y.readonly, "readonly"),
1076
+ form: y.form,
1077
+ pattern: y.pattern,
1078
+ size: y.size,
1079
+ autoComplete: y.autocomplete,
1080
+ autoFocus: d(M)(y.autofocus, "autofocus"),
1081
+ onInput: O[0] || (O[0] = async (w) => I(w)),
1082
+ onChange: O[1] || (O[1] = async (w) => A(w)),
1083
+ onBlur: O[2] || (O[2] = async (w) => b(w)),
1084
+ onFocus: O[3] || (O[3] = async (w) => k(w)),
1085
+ list: y.dataList && n.value,
1086
+ "aria-describedby": y.ariaDescribedBy ?? f.value
1087
+ }, null, 40, ft),
1088
+ y.dataList ? (m(), B("datalist", {
1089
1089
  key: 0,
1090
- id: c.value
1090
+ id: n.value
1091
1091
  }, [
1092
- (m(!0), B(P, null, be(W(), (S) => (m(), B("option", {
1093
- key: c.value + "-option-" + S.value,
1094
- value: S.value
1095
- }, _(S.label), 9, mt))), 128))
1096
- ], 8, ht)) : q("", !0),
1097
- D(k.$slots, "default"),
1098
- d(ee)(k.message, k.showMessage) ? (m(), Z(te, {
1092
+ (m(!0), B(P, null, be(W(), (w) => (m(), B("option", {
1093
+ key: n.value + "-option-" + w.value,
1094
+ value: w.value
1095
+ }, L(w.label), 9, ht))), 128))
1096
+ ], 8, pt)) : q("", !0),
1097
+ E(y.$slots, "default"),
1098
+ d(ee)(y.message, y.showMessage) ? (m(), Z(te, {
1099
1099
  key: 1,
1100
1100
  size: "small",
1101
- icon: k.messageIcon,
1101
+ icon: y.messageIcon,
1102
1102
  id: p.value
1103
1103
  }, {
1104
1104
  default: G(() => [
1105
- F(_(k.message), 1)
1105
+ N(L(y.message), 1)
1106
1106
  ]),
1107
1107
  _: 1
1108
1108
  }, 8, ["icon", "id"])) : q("", !0),
1109
- f() ? (m(), Z(te, {
1109
+ v() ? (m(), Z(te, {
1110
1110
  key: 2,
1111
1111
  size: "small",
1112
1112
  semantic: "successful",
1113
1113
  id: u.value
1114
1114
  }, {
1115
1115
  default: G(() => [
1116
- F(_(k.validMessage || d(he)), 1)
1116
+ N(L(y.validMessage || d(he)), 1)
1117
1117
  ]),
1118
1118
  _: 1
1119
1119
  }, 8, ["id"])) : q("", !0),
@@ -1123,14 +1123,14 @@ const et = (i) => {
1123
1123
  id: g.value
1124
1124
  }, {
1125
1125
  default: G(() => [
1126
- F(_(r.value), 1)
1126
+ N(L(r.value), 1)
1127
1127
  ]),
1128
1128
  _: 1
1129
1129
  }, 8, ["id"]),
1130
- T("span", gt, _(y.value), 1)
1131
- ], 10, vt));
1130
+ T("span", mt, L(S.value), 1)
1131
+ ], 10, ct));
1132
1132
  }
1133
- }), yt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ra = /* @__PURE__ */ V({
1133
+ }), bt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ra = /* @__PURE__ */ V({
1134
1134
  __name: "tooltip",
1135
1135
  props: {
1136
1136
  showArrow: { type: [Boolean, String], default: void 0 },
@@ -1148,20 +1148,20 @@ const et = (i) => {
1148
1148
  width: { default: void 0 }
1149
1149
  },
1150
1150
  setup(i) {
1151
- const a = i, l = n(Le), e = n(!1), t = n(void 0), p = n(void 0), u = n(null);
1151
+ const a = i, l = s(Le), e = s(!1), t = s(void 0), p = s(void 0), u = s(null);
1152
1152
  K(() => {
1153
1153
  l.value = a.id || "tooltip-" + Q(), e.value = !0;
1154
- }), E(
1154
+ }), D(
1155
1155
  () => [u.value, e.value],
1156
1156
  () => {
1157
1157
  if (u.value && e.value && l.value) {
1158
- const f = c();
1159
- f && (["mouseenter", "focusin"].forEach((v) => {
1160
- f.addEventListener(v, () => h(f));
1161
- }), f.addEventListener("keydown", (v) => r(v)), ["mouseleave", "focusout"].forEach((v) => {
1162
- f.addEventListener(v, () => y());
1163
- }), f.dataset.hasTooltip = "true", a.variant === "label" ? f.setAttribute("aria-labelledby", l.value) : f.setAttribute("aria-describedby", l.value)), typeof window < "u" && "IntersectionObserver" in window && (p.value = new IntersectionObserver((v) => {
1164
- const I = v.find(({ target: A }) => A === c());
1158
+ const v = n();
1159
+ v && (["mouseenter", "focusin"].forEach((c) => {
1160
+ v.addEventListener(c, () => h(v));
1161
+ }), v.addEventListener("keydown", (c) => r(c)), ["mouseleave", "focusout"].forEach((c) => {
1162
+ v.addEventListener(c, () => S());
1163
+ }), v.dataset.hasTooltip = "true", a.variant === "label" ? v.setAttribute("aria-labelledby", l.value) : v.setAttribute("aria-describedby", l.value)), typeof window < "u" && "IntersectionObserver" in window && (p.value = new IntersectionObserver((c) => {
1164
+ const I = c.find(({ target: A }) => A === n());
1165
1165
  I && !I.isIntersecting && r(!1);
1166
1166
  })), e.value = !1;
1167
1167
  }
@@ -1171,42 +1171,42 @@ const et = (i) => {
1171
1171
  flush: "post"
1172
1172
  }
1173
1173
  );
1174
- function g(f) {
1175
- f.stopPropagation();
1174
+ function g(v) {
1175
+ v.stopPropagation();
1176
1176
  }
1177
- function r(f) {
1178
- (!f || f.key === "Escape") && u.value && getComputedStyle(u.value).visibility === "visible" && c().blur();
1177
+ function r(v) {
1178
+ (!v || v.key === "Escape") && u.value && getComputedStyle(u.value).visibility === "visible" && n().blur();
1179
1179
  }
1180
- function c() {
1181
- let f = u.value.parentElement;
1182
- return f && f.localName.includes("tooltip") && (f = f.parentElement), f;
1180
+ function n() {
1181
+ let v = u.value.parentElement;
1182
+ return v && v.localName.includes("tooltip") && (v = v.parentElement), v;
1183
1183
  }
1184
- function s(f) {
1185
- f && u.value && x(() => {
1184
+ function f(v) {
1185
+ v && u.value && x(() => {
1186
1186
  ua(
1187
1187
  u.value,
1188
- f,
1188
+ v,
1189
1189
  a.placement ?? "bottom"
1190
1190
  );
1191
1191
  }, 1);
1192
1192
  }
1193
- function L(f, v) {
1193
+ function _(v, c) {
1194
1194
  var I, A;
1195
- (I = f == null ? void 0 : f.target) != null && I.contains && ((A = f == null ? void 0 : f.target) != null && A.contains(u.value)) && s(v);
1195
+ (I = v == null ? void 0 : v.target) != null && I.contains && ((A = v == null ? void 0 : v.target) != null && A.contains(u.value)) && f(c);
1196
1196
  }
1197
- function y() {
1198
- var f;
1197
+ function S() {
1198
+ var v;
1199
1199
  t.value && new Ie().removeCallback(
1200
1200
  t.value
1201
- ), (f = p.value) == null || f.unobserve(c());
1201
+ ), (v = p.value) == null || v.unobserve(n());
1202
1202
  }
1203
- function h(f) {
1204
- var v;
1203
+ function h(v) {
1204
+ var c;
1205
1205
  t.value = new Ie().addCallback(
1206
- (I) => L(I, f)
1207
- ), s(f), (v = p.value) == null || v.observe(c());
1206
+ (I) => _(I, v)
1207
+ ), f(v), (c = p.value) == null || c.observe(n());
1208
1208
  }
1209
- return (f, v) => (m(), B("i", {
1209
+ return (v, c) => (m(), B("i", {
1210
1210
  role: "tooltip",
1211
1211
  "aria-hidden": "true",
1212
1212
  "data-gap": "true",
@@ -1214,18 +1214,18 @@ const et = (i) => {
1214
1214
  ref: u,
1215
1215
  class: R(d(z)("db-tooltip", a.class)),
1216
1216
  id: l.value,
1217
- "data-emphasis": f.emphasis,
1218
- "data-animation": d(j)(f.animation ?? !0),
1219
- "data-delay": f.delay,
1220
- "data-width": f.width,
1221
- "data-show-arrow": d(j)(f.showArrow ?? !0),
1222
- "data-placement": f.placement,
1223
- onClick: v[0] || (v[0] = async (I) => g(I))
1217
+ "data-emphasis": v.emphasis,
1218
+ "data-animation": d(j)(v.animation ?? !0),
1219
+ "data-delay": v.delay,
1220
+ "data-width": v.width,
1221
+ "data-show-arrow": d(j)(v.showArrow ?? !0),
1222
+ "data-placement": v.placement,
1223
+ onClick: c[0] || (c[0] = async (I) => g(I))
1224
1224
  }, [
1225
- D(f.$slots, "default")
1226
- ], 10, yt));
1225
+ E(v.$slots, "default")
1226
+ ], 10, bt));
1227
1227
  }
1228
- }), kt = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], wt = /* @__PURE__ */ V({
1228
+ }), yt = ["id", "data-disabled", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-hide-icon", "data-no-text", "data-overflow"], kt = /* @__PURE__ */ V({
1229
1229
  __name: "tag",
1230
1230
  props: {
1231
1231
  behavior: { default: void 0 },
@@ -1251,17 +1251,17 @@ const et = (i) => {
1251
1251
  remove: {}
1252
1252
  },
1253
1253
  setup(i) {
1254
- const a = i, l = n(!1), e = n(null);
1255
- l.value = !0, E(
1254
+ const a = i, l = s(!1), e = s(null);
1255
+ l.value = !0, D(
1256
1256
  () => [l.value, a.disabled, e.value],
1257
1257
  () => {
1258
1258
  var u, g;
1259
1259
  if (l.value && e.value && a.disabled !== void 0) {
1260
1260
  const r = (u = e.value) == null ? void 0 : u.querySelector(
1261
1261
  "button:not(.db-tab-remove-button)"
1262
- ), c = (g = e.value) == null ? void 0 : g.querySelector("input");
1263
- for (const s of [r, c])
1264
- s && (s.disabled = !!a.disabled);
1262
+ ), n = (g = e.value) == null ? void 0 : g.querySelector("input");
1263
+ for (const f of [r, n])
1264
+ f && (f.disabled = !!a.disabled);
1265
1265
  }
1266
1266
  },
1267
1267
  {
@@ -1289,10 +1289,10 @@ const et = (i) => {
1289
1289
  "data-no-text": d(j)(u.noText),
1290
1290
  "data-overflow": d(j)(u.overflow)
1291
1291
  }, [
1292
- D(u.$slots, "content"),
1293
- D(u.$slots, "default"),
1292
+ E(u.$slots, "content"),
1293
+ E(u.$slots, "default"),
1294
1294
  u.text ? (m(), B(P, { key: 0 }, [
1295
- F(_(u.text), 1)
1295
+ N(L(u.text), 1)
1296
1296
  ], 64)) : q("", !0),
1297
1297
  u.behavior === "removable" ? (m(), B("button", {
1298
1298
  key: 1,
@@ -1306,14 +1306,14 @@ const et = (i) => {
1306
1306
  }, [
1307
1307
  ae(ra, { variant: "label" }, {
1308
1308
  default: G(() => [
1309
- F(_(p()), 1)
1309
+ N(L(p()), 1)
1310
1310
  ]),
1311
1311
  _: 1
1312
1312
  })
1313
1313
  ])) : q("", !0)
1314
- ], 10, kt));
1314
+ ], 10, yt));
1315
1315
  }
1316
- }), St = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-variant", "data-required", "data-hide-asterisk", "data-placement", "data-selected-type", "data-hide-label", "data-icon", "data-hide-icon"], Bt = ["id"], It = ["id", "form", "name", "multiple", "disabled", "required"], $t = ["disabled", "value"], Lt = ["open"], _t = ["id", "aria-disabled", "aria-labelledby"], Tt = ["data-visually-hidden", "id"], At = { key: 1 }, Ct = { key: 0 }, Et = { key: 0 }, Dt = { class: "db-checkbox db-custom-select-list-item" }, Ft = ["form", "checked"], Nt = ["aria-hidden", "id"], Mt = {
1316
+ }), wt = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-variant", "data-required", "data-hide-asterisk", "data-placement", "data-selected-type", "data-hide-label", "data-icon", "data-hide-icon"], St = ["id"], Bt = ["id", "form", "name", "multiple", "disabled", "required"], It = ["disabled", "value"], $t = ["open"], Lt = ["id", "aria-disabled", "aria-labelledby"], _t = ["data-visually-hidden", "id"], Tt = { key: 1 }, At = { key: 0 }, Ct = { key: 0 }, Et = { class: "db-checkbox db-custom-select-list-item" }, Dt = ["form", "checked"], Nt = ["aria-hidden", "id"], Ft = {
1317
1317
  "data-visually-hidden": "true",
1318
1318
  role: "status"
1319
1319
  }, sl = /* @__PURE__ */ V({
@@ -1382,19 +1382,19 @@ const et = (i) => {
1382
1382
  },
1383
1383
  emits: ["update:values"],
1384
1384
  setup(i, { emit: a }) {
1385
- const l = a, e = i, t = n(void 0), p = n(void 0), u = n(void 0), g = n(void 0), r = n(void 0), c = n(void 0), s = n(void 0), L = n(void 0), y = n(void 0), h = n(void 0), f = n("no-validation"), v = n(""), I = n(""), A = n(void 0), b = n(""), w = n([]), W = n(!1), k = n(!1), O = n(0), S = n([]), H = n([]), le = n(!1), J = n(void 0), Fe = n(0), ye = n(void 0), Te = n(void 0), qe = n(void 0), Ve = n(!1), Ae = n(!1), va = n(null), N = n(null), ke = n(null), Ne = n(null), Pe = n(null);
1385
+ const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(void 0), f = s(void 0), _ = s(void 0), S = s(void 0), h = s(void 0), v = s("no-validation"), c = s(""), I = s(""), A = s(void 0), b = s(""), k = s([]), W = s(!1), y = s(!1), O = s(0), w = s([]), H = s([]), le = s(!1), J = s(void 0), Ne = s(0), ye = s(void 0), Te = s(void 0), qe = s(void 0), Ve = s(!1), Ae = s(!1), ca = s(null), F = s(null), ke = s(null), Fe = s(null), Pe = s(null);
1386
1386
  K(() => {
1387
1387
  const o = e.id ?? `custom-select-${Q()}`;
1388
- t.value = o, p.value = o + ve, u.value = o + fe, g.value = o + pe, c.value = o + Qe, s.value = o + Je, L.value = o + "-summary", y.value = o + Re, A.value = o + "-selected-labels", h.value = o + "-info", r.value = e.invalidMessage || ie, typeof window < "u" && "IntersectionObserver" in window && (Te.value = new IntersectionObserver(($) => {
1389
- if (N.value) {
1390
- const C = $.find(({ target: Y }) => Y === N.value);
1391
- C && !C.isIntersecting && N.value.open && (N.value.open = !1);
1388
+ t.value = o, p.value = o + ve, u.value = o + fe, g.value = o + pe, n.value = o + Qe, f.value = o + Je, _.value = o + "-summary", S.value = o + Re, A.value = o + "-selected-labels", h.value = o + "-info", r.value = e.invalidMessage || ie, typeof window < "u" && "IntersectionObserver" in window && (Te.value = new IntersectionObserver(($) => {
1389
+ if (F.value) {
1390
+ const C = $.find(({ target: Y }) => Y === F.value);
1391
+ C && !C.isIntersecting && F.value.open && (F.value.open = !1);
1392
1392
  }
1393
1393
  }));
1394
- }), E(
1395
- () => [N.value],
1394
+ }), D(
1395
+ () => [F.value],
1396
1396
  () => {
1397
- N.value && N.value.addEventListener(
1397
+ F.value && F.value.addEventListener(
1398
1398
  "focusout",
1399
1399
  (o) => Ce(o)
1400
1400
  );
@@ -1403,26 +1403,26 @@ const et = (i) => {
1403
1403
  immediate: !0,
1404
1404
  flush: "post"
1405
1405
  }
1406
- ), E(
1406
+ ), D(
1407
1407
  () => [t.value],
1408
1408
  () => {
1409
1409
  if (t.value) {
1410
1410
  const o = t.value + ve;
1411
- s.value = t.value + Je, c.value = t.value + Qe, u.value = t.value + fe, g.value = t.value + pe, y.value = t.value + Re, ee(e.message, e.showMessage) ? Oe(o) : Oe();
1411
+ f.value = t.value + Je, n.value = t.value + Qe, u.value = t.value + fe, g.value = t.value + pe, S.value = t.value + Re, ee(e.message, e.showMessage) ? Oe(o) : Oe();
1412
1412
  }
1413
1413
  },
1414
1414
  {
1415
1415
  immediate: !0,
1416
1416
  flush: "post"
1417
1417
  }
1418
- ), E(
1419
- () => [N.value, v.value],
1418
+ ), D(
1419
+ () => [F.value, c.value],
1420
1420
  () => {
1421
- if (N.value) {
1422
- const o = N.value.querySelector("summary");
1421
+ if (F.value) {
1422
+ const o = F.value.querySelector("summary");
1423
1423
  o && o.setAttribute(
1424
1424
  "aria-describedby",
1425
- e.ariaDescribedBy ?? (v.value || "")
1425
+ e.ariaDescribedBy ?? (c.value || "")
1426
1426
  );
1427
1427
  }
1428
1428
  },
@@ -1430,7 +1430,7 @@ const et = (i) => {
1430
1430
  immediate: !0,
1431
1431
  flush: "post"
1432
1432
  }
1433
- ), E(
1433
+ ), D(
1434
1434
  () => [e.showNoResults, H.value],
1435
1435
  () => {
1436
1436
  e.showNoResults !== void 0 ? le.value = e.showNoResults : H.value && (le.value = H.value.length === 0);
@@ -1439,7 +1439,7 @@ const et = (i) => {
1439
1439
  immediate: !0,
1440
1440
  flush: "post"
1441
1441
  }
1442
- ), E(
1442
+ ), D(
1443
1443
  () => [e.showSelectAll, O.value, e.multiple],
1444
1444
  () => {
1445
1445
  W.value = !!(e.multiple && (e.showSelectAll ?? O.value > 5));
@@ -1448,53 +1448,53 @@ const et = (i) => {
1448
1448
  immediate: !0,
1449
1449
  flush: "post"
1450
1450
  }
1451
- ), E(
1451
+ ), D(
1452
1452
  () => [e.showSearch, O.value],
1453
1453
  () => {
1454
- k.value = e.showSearch ?? O.value > 9;
1454
+ y.value = e.showSearch ?? O.value > 9;
1455
1455
  },
1456
1456
  {
1457
1457
  immediate: !0,
1458
1458
  flush: "post"
1459
1459
  }
1460
- ), E(
1460
+ ), D(
1461
1461
  () => [e.values],
1462
1462
  () => {
1463
- e.values && Array.isArray(e.values) && e.values !== S.value && (S.value = e.values ?? []);
1463
+ e.values && Array.isArray(e.values) && e.values !== w.value && (w.value = e.values ?? []);
1464
1464
  },
1465
1465
  {
1466
1466
  immediate: !0,
1467
1467
  flush: "post"
1468
1468
  }
1469
- ), E(
1470
- () => [S.value],
1469
+ ), D(
1470
+ () => [w.value],
1471
1471
  () => {
1472
- pa();
1472
+ fa();
1473
1473
  },
1474
1474
  {
1475
1475
  immediate: !0,
1476
1476
  flush: "post"
1477
1477
  }
1478
- ), E(
1478
+ ), D(
1479
1479
  () => [e.validation],
1480
1480
  () => {
1481
- f.value = e.validation;
1481
+ v.value = e.validation;
1482
1482
  },
1483
1483
  {
1484
1484
  immediate: !0,
1485
1485
  flush: "post"
1486
1486
  }
1487
- ), E(
1488
- () => [S.value, O.value],
1487
+ ), D(
1488
+ () => [w.value, O.value],
1489
1489
  () => {
1490
1490
  var o, $;
1491
- ((o = S.value) == null ? void 0 : o.length) === 0 ? (Ve.value = !1, Ae.value = !1) : (($ = S.value) == null ? void 0 : $.length) === O.value ? (Ae.value = !1, Ve.value = !0) : S.value && (Ae.value = !0);
1491
+ ((o = w.value) == null ? void 0 : o.length) === 0 ? (Ve.value = !1, Ae.value = !1) : (($ = w.value) == null ? void 0 : $.length) === O.value ? (Ae.value = !1, Ve.value = !0) : w.value && (Ae.value = !0);
1492
1492
  },
1493
1493
  {
1494
1494
  immediate: !0,
1495
1495
  flush: "post"
1496
1496
  }
1497
- ), E(
1497
+ ), D(
1498
1498
  () => [e.options],
1499
1499
  () => {
1500
1500
  var o;
@@ -1504,7 +1504,7 @@ const et = (i) => {
1504
1504
  immediate: !0,
1505
1505
  flush: "post"
1506
1506
  }
1507
- ), E(
1507
+ ), D(
1508
1508
  () => [e.searchValue],
1509
1509
  () => {
1510
1510
  if (qe.value = e.searchValue, e.searchValue) {
@@ -1516,14 +1516,14 @@ const et = (i) => {
1516
1516
  immediate: !0,
1517
1517
  flush: "post"
1518
1518
  }
1519
- ), E(
1520
- () => [e.options, S.value],
1519
+ ), D(
1520
+ () => [e.options, w.value],
1521
1521
  () => {
1522
1522
  var o, $;
1523
- (o = e.options) != null && o.length && (w.value = ($ = e.options) == null ? void 0 : $.filter(
1523
+ (o = e.options) != null && o.length && (k.value = ($ = e.options) == null ? void 0 : $.filter(
1524
1524
  (C) => {
1525
1525
  var Y, oe;
1526
- return !C.value || !((Y = S.value) != null && Y.includes) ? !1 : !C.isGroupTitle && ((oe = S.value) == null ? void 0 : oe.includes(C.value));
1526
+ return !C.value || !((Y = w.value) != null && Y.includes) ? !1 : !C.isGroupTitle && ((oe = w.value) == null ? void 0 : oe.includes(C.value));
1527
1527
  }
1528
1528
  ));
1529
1529
  },
@@ -1531,9 +1531,9 @@ const et = (i) => {
1531
1531
  immediate: !0,
1532
1532
  flush: "post"
1533
1533
  }
1534
- ), E(
1534
+ ), D(
1535
1535
  () => [
1536
- w.value,
1536
+ k.value,
1537
1537
  e.selectedType,
1538
1538
  e.amountText,
1539
1539
  e.selectedLabels,
@@ -1545,13 +1545,13 @@ const et = (i) => {
1545
1545
  I.value = e.selectedLabels;
1546
1546
  return;
1547
1547
  }
1548
- if ((o = w.value) != null && o.length) {
1548
+ if ((o = k.value) != null && o.length) {
1549
1549
  if (e.transformSelectedLabels) {
1550
- const Y = w.value, oe = e.transformSelectedLabels;
1550
+ const Y = k.value, oe = e.transformSelectedLabels;
1551
1551
  I.value = oe(Y);
1552
1552
  return;
1553
1553
  }
1554
- e.selectedType === "amount" ? I.value = e.amountText ? e.amountText : `${($ = w.value) == null ? void 0 : $.length} ${Da}` : I.value = (C = w.value) == null ? void 0 : C.map((Y) => $e(Y)).join(", ");
1554
+ e.selectedType === "amount" ? I.value = e.amountText ? e.amountText : `${($ = k.value) == null ? void 0 : $.length} ${Ea}` : I.value = (C = k.value) == null ? void 0 : C.map((Y) => $e(Y)).join(", ");
1555
1555
  } else
1556
1556
  I.value = "";
1557
1557
  },
@@ -1559,26 +1559,26 @@ const et = (i) => {
1559
1559
  immediate: !0,
1560
1560
  flush: "post"
1561
1561
  }
1562
- ), E(
1563
- () => [w.value],
1562
+ ), D(
1563
+ () => [k.value],
1564
1564
  () => {
1565
1565
  var o;
1566
- e.onAmountChange && e.onAmountChange(((o = w.value) == null ? void 0 : o.length) ?? 0);
1566
+ e.onAmountChange && e.onAmountChange(((o = k.value) == null ? void 0 : o.length) ?? 0);
1567
1567
  },
1568
1568
  {
1569
1569
  immediate: !0,
1570
1570
  flush: "post"
1571
1571
  }
1572
- ), E(
1573
- () => [Ae.value, Ne.value],
1572
+ ), D(
1573
+ () => [Ae.value, Fe.value],
1574
1574
  () => {
1575
- Ne.value && (Ne.value.indeterminate = !!Ae.value);
1575
+ Fe.value && (Fe.value.indeterminate = !!Ae.value);
1576
1576
  },
1577
1577
  {
1578
1578
  immediate: !0,
1579
1579
  flush: "post"
1580
1580
  }
1581
- ), E(
1581
+ ), D(
1582
1582
  () => [ke.value, e.invalidMessage],
1583
1583
  () => {
1584
1584
  var o;
@@ -1589,70 +1589,70 @@ const et = (i) => {
1589
1589
  flush: "post"
1590
1590
  }
1591
1591
  );
1592
- function fa(o) {
1592
+ function va(o) {
1593
1593
  var $, C;
1594
- ($ = o == null ? void 0 : o.target) != null && $.contains && ((C = o == null ? void 0 : o.target) != null && C.contains(N.value)) && Ue();
1594
+ ($ = o == null ? void 0 : o.target) != null && $.contains && ((C = o == null ? void 0 : o.target) != null && C.contains(F.value)) && Ue();
1595
1595
  }
1596
1596
  function We() {
1597
1597
  return !!(e.validMessage ?? e.validation === "valid");
1598
1598
  }
1599
- function pa() {
1599
+ function fa() {
1600
1600
  var o, $, C;
1601
- ke.value && (ke.value.value = ma()), !((o = ke.value) != null && o.validity.valid) || e.validation === "invalid" ? (v.value = g.value, r.value = e.invalidMessage || (($ = ke.value) == null ? void 0 : $.validationMessage) || ie, me() && (b.value = r.value, x(() => b.value = "", 1e3)), f.value = e.validation ?? "invalid") : We() && ((C = ke.value) != null && C.validity.valid) && e.required ? (v.value = u.value, me() && (b.value = e.validMessage ?? he, x(() => b.value = "", 1e3)), f.value = e.validation ?? "valid") : ee(e.message, e.showMessage) ? (v.value = p.value, f.value = e.validation ?? "no-validation") : (v.value = y.value, f.value = e.validation ?? "no-validation");
1601
+ ke.value && (ke.value.value = ha()), !((o = ke.value) != null && o.validity.valid) || e.validation === "invalid" ? (c.value = g.value, r.value = e.invalidMessage || (($ = ke.value) == null ? void 0 : $.validationMessage) || ie, me() && (b.value = r.value, x(() => b.value = "", 1e3)), v.value = e.validation ?? "invalid") : We() && ((C = ke.value) != null && C.validity.valid) && e.required ? (c.value = u.value, me() && (b.value = e.validMessage ?? he, x(() => b.value = "", 1e3)), v.value = e.validation ?? "valid") : ee(e.message, e.showMessage) ? (c.value = p.value, v.value = e.validation ?? "no-validation") : (c.value = S.value, v.value = e.validation ?? "no-validation");
1602
1602
  }
1603
- function ha(o) {
1603
+ function pa(o) {
1604
1604
  var $, C;
1605
1605
  e.onDropdownToggle && (o.stopPropagation(), e.onDropdownToggle(o)), o.target instanceof HTMLDetailsElement && o.target.open ? (J.value = new ze().addCallback(
1606
- (Y) => Ba(Y)
1606
+ (Y) => Sa(Y)
1607
1607
  ), ye.value = new Ie().addCallback(
1608
- (Y) => fa(Y)
1609
- ), Ue(), ($ = Te.value) == null || $.observe(N.value), o.target.dataset.test || Xe()) : (J.value && new ze().removeCallback(
1608
+ (Y) => va(Y)
1609
+ ), Ue(), ($ = Te.value) == null || $.observe(F.value), o.target.dataset.test || Xe()) : (J.value && new ze().removeCallback(
1610
1610
  J.value
1611
1611
  ), ye.value && new Ie().removeCallback(
1612
1612
  ye.value
1613
- ), (C = Te.value) == null || C.unobserve(N.value));
1613
+ ), (C = Te.value) == null || C.unobserve(F.value));
1614
1614
  }
1615
- function ma() {
1615
+ function ha() {
1616
1616
  var o;
1617
- return (o = S.value) != null && o.length ? S.value.at(0) ?? "" : "";
1617
+ return (o = w.value) != null && o.length ? w.value.at(0) ?? "" : "";
1618
1618
  }
1619
1619
  function Oe(o) {
1620
1620
  var C;
1621
1621
  const $ = [];
1622
- o && $.push(o), A.value && ((C = I.value) != null && C.length) && $.push(A.value), v.value = $.join(" ");
1622
+ o && $.push(o), A.value && ((C = I.value) != null && C.length) && $.push(A.value), c.value = $.join(" ");
1623
1623
  }
1624
- function ga() {
1624
+ function ma() {
1625
1625
  return e.selectAllLabel ?? we;
1626
1626
  }
1627
1627
  function $e(o) {
1628
1628
  var $;
1629
1629
  return o.label ?? (($ = o.value) == null ? void 0 : $.toString()) ?? "";
1630
1630
  }
1631
- function ba(o) {
1631
+ function ga(o) {
1632
1632
  var $, C;
1633
- return o && (($ = S.value) != null && $.includes) ? (C = S.value) == null ? void 0 : C.includes(o) : !1;
1633
+ return o && (($ = w.value) != null && $.includes) ? (C = w.value) == null ? void 0 : C.includes(o) : !1;
1634
1634
  }
1635
- function ya(o) {
1636
- return e.removeTagsTexts && e.removeTagsTexts.length > o ? e.removeTagsTexts.at(o) : `${ta} ${w.value ? $e(w.value[o]) : ""}`;
1635
+ function ba(o) {
1636
+ return e.removeTagsTexts && e.removeTagsTexts.length > o ? e.removeTagsTexts.at(o) : `${ta} ${k.value ? $e(k.value[o]) : ""}`;
1637
1637
  }
1638
- function ka(o, $) {
1638
+ function ya(o, $) {
1639
1639
  $ && $.stopPropagation(), He(o.value), Ee();
1640
1640
  }
1641
1641
  function Ue() {
1642
- if (N.value) {
1643
- const o = N.value.querySelector("article");
1642
+ if (F.value) {
1643
+ const o = F.value.querySelector("article");
1644
1644
  o && x(() => {
1645
- tt(
1645
+ at(
1646
1646
  o,
1647
- N.value,
1647
+ F.value,
1648
1648
  e.placement ?? "bottom"
1649
1649
  );
1650
1650
  }, 1);
1651
1651
  }
1652
1652
  }
1653
- function wa(o) {
1653
+ function ka(o) {
1654
1654
  var $, C, Y, oe, U, ge, De;
1655
- if (($ = N.value) != null && $.open) {
1655
+ if (($ = F.value) != null && $.open) {
1656
1656
  if (self.document) {
1657
1657
  const ue = self.document.activeElement;
1658
1658
  if (ue)
@@ -1662,17 +1662,17 @@ const et = (i) => {
1662
1662
  ne != null && ne.nextElementSibling ? (Y = (C = ne == null ? void 0 : ne.nextElementSibling) == null ? void 0 : C.querySelector("input")) == null || Y.focus() : Me(ue);
1663
1663
  else if (ne != null && ne.previousElementSibling)
1664
1664
  (U = (oe = ne == null ? void 0 : ne.previousElementSibling) == null ? void 0 : oe.querySelector("input")) == null || U.focus();
1665
- else if (N.value.querySelector('input[type="checkbox"]') !== ue)
1665
+ else if (F.value.querySelector('input[type="checkbox"]') !== ue)
1666
1666
  Me(ue);
1667
1667
  else {
1668
- const Ye = ea(N.value);
1668
+ const Ye = ea(F.value);
1669
1669
  if (Ye)
1670
1670
  x(() => {
1671
1671
  Ye.focus();
1672
1672
  }, 100);
1673
1673
  else {
1674
1674
  const Ke = Array.from(
1675
- (ge = N.value) == null ? void 0 : ge.querySelectorAll(
1675
+ (ge = F.value) == null ? void 0 : ge.querySelectorAll(
1676
1676
  'input[type="checkbox"],input[type="radio"]'
1677
1677
  )
1678
1678
  );
@@ -1682,32 +1682,32 @@ const et = (i) => {
1682
1682
  } else
1683
1683
  ue.getAttribute("type") === "search" && (o.key === "ArrowUp" || o.key === "ArrowLeft") ? (Ce(void 0, !0), Ee()) : Me(ue);
1684
1684
  }
1685
- } else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ue(), N.value && (N.value.open = !0), Xe());
1685
+ } else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ue(), F.value && (F.value.open = !0), Xe());
1686
1686
  o.stopPropagation(), o.preventDefault();
1687
1687
  }
1688
- function Sa(o) {
1688
+ function wa(o) {
1689
1689
  var $;
1690
- o.stopPropagation(), o.key === "Escape" && (($ = N.value) != null && $.open) ? (Ce(void 0, !0), Ee()) : (o.key === "ArrowDown" || o.key === "ArrowUp" || o.key === "ArrowLeft" || o.key === "ArrowRight") && wa(o);
1690
+ o.stopPropagation(), o.key === "Escape" && (($ = F.value) != null && $.open) ? (Ce(void 0, !0), Ee()) : (o.key === "ArrowDown" || o.key === "ArrowUp" || o.key === "ArrowLeft" || o.key === "ArrowRight") && ka(o);
1691
1691
  }
1692
1692
  function Ce(o, $) {
1693
- if (N.value) {
1693
+ if (F.value) {
1694
1694
  if ($)
1695
- N.value.open = !1, Ee();
1696
- else if (N.value.open && o && o.relatedTarget) {
1695
+ F.value.open = !1, Ee();
1696
+ else if (F.value.open && o && o.relatedTarget) {
1697
1697
  const C = o.relatedTarget;
1698
- N.value.contains(C) || x(() => N.value.open = !1, 1);
1698
+ F.value.contains(C) || x(() => F.value.open = !1, 1);
1699
1699
  }
1700
1700
  }
1701
1701
  }
1702
- function Ba(o) {
1702
+ function Sa(o) {
1703
1703
  var $;
1704
1704
  if (o) {
1705
1705
  const C = o.target;
1706
- ($ = N.value) != null && $.open && !N.value.contains(C) && (N.value.open = !1);
1706
+ ($ = F.value) != null && $.open && !F.value.contains(C) && (F.value.open = !1);
1707
1707
  }
1708
1708
  }
1709
1709
  function _e(o) {
1710
- (/* @__PURE__ */ new Date()).getTime() - Fe.value < 200 || (S.value = o, e.onOptionSelected && e.onOptionSelected(o ?? []), se(
1710
+ (/* @__PURE__ */ new Date()).getTime() - Ne.value < 200 || (w.value = o, e.onOptionSelected && e.onOptionSelected(o ?? []), se(
1711
1711
  l,
1712
1712
  {
1713
1713
  target: {
@@ -1715,18 +1715,18 @@ const et = (i) => {
1715
1715
  }
1716
1716
  },
1717
1717
  "values"
1718
- ), Fe.value = (/* @__PURE__ */ new Date()).getTime());
1718
+ ), Ne.value = (/* @__PURE__ */ new Date()).getTime());
1719
1719
  }
1720
1720
  function He(o) {
1721
1721
  var $;
1722
- o && (e.multiple ? ($ = S.value) != null && $.includes(o) ? _e(S.value.filter((C) => C !== o)) : _e([...S.value || [], o]) : (_e([o]), Ce(void 0, !0)));
1722
+ o && (e.multiple ? ($ = w.value) != null && $.includes(o) ? _e(w.value.filter((C) => C !== o)) : _e([...w.value || [], o]) : (_e([o]), Ce(void 0, !0)));
1723
1723
  }
1724
- function Ia(o) {
1724
+ function Ba(o) {
1725
1725
  var $;
1726
- if (o.stopPropagation(), (($ = S.value) == null ? void 0 : $.length) === O.value)
1726
+ if (o.stopPropagation(), (($ = w.value) == null ? void 0 : $.length) === O.value)
1727
1727
  _e([]);
1728
1728
  else {
1729
- const C = k.value && Pe.value ? Pe.value.value : void 0;
1729
+ const C = y.value && Pe.value ? Pe.value.value : void 0;
1730
1730
  _e(
1731
1731
  e.options ? e.options.filter(
1732
1732
  (Y) => {
@@ -1738,9 +1738,9 @@ const et = (i) => {
1738
1738
  }
1739
1739
  }
1740
1740
  function Me(o) {
1741
- if (N.value) {
1741
+ if (F.value) {
1742
1742
  const $ = Array.from(
1743
- N.value.querySelectorAll(
1743
+ F.value.querySelectorAll(
1744
1744
  'input[type="checkbox"],input[type="radio"]'
1745
1745
  )
1746
1746
  );
@@ -1753,8 +1753,8 @@ const et = (i) => {
1753
1753
  }
1754
1754
  }
1755
1755
  function Xe() {
1756
- if (N.value) {
1757
- const o = ea(N.value);
1756
+ if (F.value) {
1757
+ const o = ea(F.value);
1758
1758
  o ? x(() => {
1759
1759
  o.focus();
1760
1760
  }, 1) : Me();
@@ -1776,14 +1776,14 @@ const et = (i) => {
1776
1776
  (C) => !C.isGroupTitle && $e(C).toLowerCase().includes($.toLowerCase())
1777
1777
  );
1778
1778
  }
1779
- function $a(o) {
1779
+ function Ia(o) {
1780
1780
  o.stopPropagation(), _e([]), Ee();
1781
1781
  }
1782
1782
  function Ee() {
1783
1783
  var o;
1784
- N.value && ((o = N.value.querySelector("summary")) == null || o.focus());
1784
+ F.value && ((o = F.value.querySelector("summary")) == null || o.focus());
1785
1785
  }
1786
- function La(o) {
1786
+ function $a(o) {
1787
1787
  o.stopPropagation();
1788
1788
  }
1789
1789
  return (o, $) => {
@@ -1791,10 +1791,10 @@ const et = (i) => {
1791
1791
  return m(), B("div", {
1792
1792
  id: t.value,
1793
1793
  ref_key: "_ref",
1794
- ref: va,
1794
+ ref: ca,
1795
1795
  class: R(d(z)("db-custom-select", e.class)),
1796
- "aria-invalid": f.value === "invalid",
1797
- "data-custom-validity": f.value,
1796
+ "aria-invalid": v.value === "invalid",
1797
+ "data-custom-validity": v.value,
1798
1798
  "data-width": o.formFieldWidth,
1799
1799
  "data-variant": o.variant === "floating" && o.selectedType === "tag" && o.multiple ? "above" : o.variant,
1800
1800
  "data-required": d(j)(o.required),
@@ -1805,12 +1805,12 @@ const et = (i) => {
1805
1805
  "data-icon": o.icon,
1806
1806
  "data-hide-icon": d(X)(o.showIcon)
1807
1807
  }, [
1808
- T("label", { id: s.value }, [
1809
- F(_(o.label ?? d(we)), 1),
1808
+ T("label", { id: f.value }, [
1809
+ N(L(o.label ?? d(we)), 1),
1810
1810
  T("select", {
1811
1811
  role: "none",
1812
1812
  hidden: !0,
1813
- id: c.value,
1813
+ id: n.value,
1814
1814
  tabIndex: -1,
1815
1815
  ref_key: "selectRef",
1816
1816
  ref: ke,
@@ -1819,54 +1819,54 @@ const et = (i) => {
1819
1819
  multiple: d(M)(o.multiple, "multiple"),
1820
1820
  disabled: d(M)(o.disabled, "disabled"),
1821
1821
  required: d(M)(o.required, "required"),
1822
- onChange: $[0] || ($[0] = async (U) => La(U))
1822
+ onChange: $[0] || ($[0] = async (U) => $a(U))
1823
1823
  }, [
1824
1824
  (C = o.options) != null && C.length ? (m(!0), B(P, { key: 0 }, be(o.options, (U, ge) => (m(), B("option", {
1825
1825
  key: ge,
1826
1826
  disabled: U.disabled,
1827
1827
  value: U.value
1828
- }, _($e(U)), 9, $t))), 128)) : q("", !0)
1829
- ], 40, It)
1830
- ], 8, Bt),
1828
+ }, L($e(U)), 9, It))), 128)) : q("", !0)
1829
+ ], 40, Bt)
1830
+ ], 8, St),
1831
1831
  T("details", {
1832
1832
  ref_key: "detailsRef",
1833
- ref: N,
1833
+ ref: F,
1834
1834
  open: o.open,
1835
- onToggle: $[2] || ($[2] = async (U) => ha(U)),
1836
- onKeydown: $[3] || ($[3] = async (U) => Sa(U))
1835
+ onToggle: $[2] || ($[2] = async (U) => pa(U)),
1836
+ onKeydown: $[3] || ($[3] = async (U) => wa(U))
1837
1837
  }, [
1838
- D(o.$slots, "default"),
1838
+ E(o.$slots, "default"),
1839
1839
  o.options ? (m(), B(P, { key: 0 }, [
1840
1840
  T("summary", {
1841
1841
  class: "db-custom-select-form-field",
1842
- id: L.value,
1842
+ id: _.value,
1843
1843
  "aria-disabled": d(j)(o.disabled),
1844
- "aria-labelledby": s.value
1844
+ "aria-labelledby": f.value
1845
1845
  }, [
1846
1846
  (Y = I.value) != null && Y.length ? (m(), B("span", {
1847
1847
  key: 0,
1848
1848
  "data-visually-hidden": d(j)(o.selectedType === "tag"),
1849
1849
  id: A.value
1850
- }, _(I.value), 9, Tt)) : q("", !0),
1851
- o.selectedType === "tag" ? (m(), B("div", At, [
1852
- (m(!0), B(P, null, be(w.value, (U, ge) => (m(), Z(wt, {
1850
+ }, L(I.value), 9, _t)) : q("", !0),
1851
+ o.selectedType === "tag" ? (m(), B("div", Tt, [
1852
+ (m(!0), B(P, null, be(k.value, (U, ge) => (m(), Z(kt, {
1853
1853
  key: ge,
1854
1854
  emphasis: "strong",
1855
1855
  behavior: "removable",
1856
- removeButton: ya(ge),
1857
- onRemove: (De) => ka(U, De)
1856
+ removeButton: ba(ge),
1857
+ onRemove: (De) => ya(U, De)
1858
1858
  }, {
1859
1859
  default: G(() => [
1860
- F(_($e(U)), 1)
1860
+ N(L($e(U)), 1)
1861
1861
  ]),
1862
1862
  _: 2
1863
1863
  }, 1032, ["removeButton", "onRemove"]))), 128))
1864
1864
  ])) : q("", !0)
1865
- ], 8, _t),
1866
- ae(lt, { width: o.dropdownWidth }, {
1865
+ ], 8, Lt),
1866
+ ae(it, { width: o.dropdownWidth }, {
1867
1867
  default: G(() => [
1868
- k.value ? (m(), B("div", Ct, [
1869
- ae(bt, {
1868
+ y.value ? (m(), B("div", At, [
1869
+ ae(gt, {
1870
1870
  type: "search",
1871
1871
  ref_key: "searchInputRef",
1872
1872
  ref: Pe,
@@ -1887,32 +1887,32 @@ const et = (i) => {
1887
1887
  semantic: le.value ? "warning" : "informational"
1888
1888
  }, {
1889
1889
  default: G(() => [
1890
- F(_((le.value ? o.noResultsText : o.loadingText) ?? d(Ca)), 1)
1890
+ N(L((le.value ? o.noResultsText : o.loadingText) ?? d(Aa)), 1)
1891
1891
  ]),
1892
1892
  _: 1
1893
1893
  }, 8, ["id", "icon", "semantic"])) : (m(), B(P, { key: 2 }, [
1894
- W.value ? (m(), B("div", Et, [
1895
- T("div", Dt, [
1894
+ W.value ? (m(), B("div", Ct, [
1895
+ T("div", Et, [
1896
1896
  T("label", null, [
1897
1897
  T("input", {
1898
1898
  type: "checkbox",
1899
1899
  value: "select-all",
1900
1900
  ref_key: "selectAllRef",
1901
- ref: Ne,
1901
+ ref: Fe,
1902
1902
  form: t.value,
1903
1903
  checked: Ve.value,
1904
- onChange: $[1] || ($[1] = async (U) => Ia(U))
1905
- }, null, 40, Ft),
1906
- F(_(ga()), 1)
1904
+ onChange: $[1] || ($[1] = async (U) => Ba(U))
1905
+ }, null, 40, Dt),
1906
+ N(L(ma()), 1)
1907
1907
  ])
1908
1908
  ])
1909
1909
  ])) : q("", !0),
1910
- ae(ct, {
1910
+ ae(rt, {
1911
1911
  multiple: d(M)(o.multiple, "multiple"),
1912
1912
  label: o.ariaListLabel ?? o.label ?? d(we)
1913
1913
  }, {
1914
1914
  default: G(() => [
1915
- (m(!0), B(P, null, be(H.value, (U, ge) => (m(), Z(ut, {
1915
+ (m(!0), B(P, null, be(H.value, (U, ge) => (m(), Z(st, {
1916
1916
  key: ge,
1917
1917
  type: o.multiple ? "checkbox" : "radio",
1918
1918
  showDivider: U.showDivider,
@@ -1920,14 +1920,14 @@ const et = (i) => {
1920
1920
  isGroupTitle: U.isGroupTitle,
1921
1921
  groupTitle: $e(U),
1922
1922
  name: t.value,
1923
- checked: ba(U.value),
1923
+ checked: ga(U.value),
1924
1924
  disabled: U.disabled,
1925
1925
  value: U.value,
1926
1926
  onChange: (De) => He(U.value)
1927
1927
  }, {
1928
1928
  default: G(() => [
1929
1929
  U.isGroupTitle ? q("", !0) : (m(), B(P, { key: 0 }, [
1930
- F(_($e(U)), 1)
1930
+ N(L($e(U)), 1)
1931
1931
  ], 64))
1932
1932
  ]),
1933
1933
  _: 2
@@ -1947,7 +1947,7 @@ const et = (i) => {
1947
1947
  onClick: (U) => Ce(void 0, !0)
1948
1948
  }, {
1949
1949
  default: G(() => [
1950
- F(_(o.mobileCloseButtonText ?? d(Ge)), 1)
1950
+ N(L(o.mobileCloseButtonText ?? d(Ge)), 1)
1951
1951
  ]),
1952
1952
  _: 1
1953
1953
  }, 8, ["name", "form", "onClick"])
@@ -1956,8 +1956,8 @@ const et = (i) => {
1956
1956
  _: 1
1957
1957
  }, 8, ["width"])
1958
1958
  ], 64)) : q("", !0)
1959
- ], 40, Lt),
1960
- (o.showClearSelection ?? !0) && ((oe = S.value) != null && oe.length) ? (m(), Z(Be, {
1959
+ ], 40, $t),
1960
+ (o.showClearSelection ?? !0) && ((oe = w.value) != null && oe.length) ? (m(), Z(Be, {
1961
1961
  key: 0,
1962
1962
  icon: "cross",
1963
1963
  variant: "ghost",
@@ -1965,13 +1965,13 @@ const et = (i) => {
1965
1965
  noText: !0,
1966
1966
  name: t.value,
1967
1967
  form: t.value,
1968
- onClick: (U) => $a(U)
1968
+ onClick: (U) => Ia(U)
1969
1969
  }, {
1970
1970
  default: G(() => [
1971
- F(_(o.clearSelectionText), 1),
1971
+ N(L(o.clearSelectionText), 1),
1972
1972
  ae(ra, { placement: "top" }, {
1973
1973
  default: G(() => [
1974
- F(_(o.clearSelectionText), 1)
1974
+ N(L(o.clearSelectionText), 1)
1975
1975
  ]),
1976
1976
  _: 1
1977
1977
  })
@@ -1980,8 +1980,8 @@ const et = (i) => {
1980
1980
  }, 8, ["name", "form", "onClick"])) : q("", !0),
1981
1981
  T("span", {
1982
1982
  "aria-hidden": d(j)(!0),
1983
- id: y.value
1984
- }, _(o.placeholder ?? o.label), 9, Nt),
1983
+ id: S.value
1984
+ }, L(o.placeholder ?? o.label), 9, Nt),
1985
1985
  d(ee)(o.message, o.showMessage) ? (m(), Z(te, {
1986
1986
  key: 1,
1987
1987
  size: "small",
@@ -1989,7 +1989,7 @@ const et = (i) => {
1989
1989
  id: p.value
1990
1990
  }, {
1991
1991
  default: G(() => [
1992
- F(_(o.message), 1)
1992
+ N(L(o.message), 1)
1993
1993
  ]),
1994
1994
  _: 1
1995
1995
  }, 8, ["icon", "id"])) : q("", !0),
@@ -2000,7 +2000,7 @@ const et = (i) => {
2000
2000
  id: u.value
2001
2001
  }, {
2002
2002
  default: G(() => [
2003
- F(_(o.validMessage || d(he)), 1)
2003
+ N(L(o.validMessage || d(he)), 1)
2004
2004
  ]),
2005
2005
  _: 1
2006
2006
  }, 8, ["id"])) : q("", !0),
@@ -2010,15 +2010,15 @@ const et = (i) => {
2010
2010
  id: g.value
2011
2011
  }, {
2012
2012
  default: G(() => [
2013
- F(_(r.value), 1)
2013
+ N(L(r.value), 1)
2014
2014
  ]),
2015
2015
  _: 1
2016
2016
  }, 8, ["id"]),
2017
- T("span", Mt, _(b.value), 1)
2018
- ], 10, St);
2017
+ T("span", Ft, L(b.value), 1)
2018
+ ], 10, wt);
2019
2019
  };
2020
2020
  }
2021
- }), Rt = ["id"], ul = /* @__PURE__ */ V({
2021
+ }), Mt = ["id"], ul = /* @__PURE__ */ V({
2022
2022
  __name: "custom-select-form-field",
2023
2023
  props: {
2024
2024
  children: { default: void 0 },
@@ -2029,17 +2029,17 @@ const et = (i) => {
2029
2029
  autofocus: { type: [Boolean, String] }
2030
2030
  },
2031
2031
  setup(i) {
2032
- const a = i, l = n(null);
2032
+ const a = i, l = s(null);
2033
2033
  return (e, t) => (m(), B("summary", {
2034
2034
  ref_key: "_ref",
2035
2035
  ref: l,
2036
2036
  id: e.id,
2037
2037
  class: R(d(z)("db-custom-select-form-field", a.class))
2038
2038
  }, [
2039
- D(e.$slots, "default")
2040
- ], 10, Rt));
2039
+ E(e.$slots, "default")
2040
+ ], 10, Mt));
2041
2041
  }
2042
- }), zt = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], rl = /* @__PURE__ */ V({
2042
+ }), Rt = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], rl = /* @__PURE__ */ V({
2043
2043
  __name: "divider",
2044
2044
  props: {
2045
2045
  margin: { default: void 0 },
@@ -2054,7 +2054,7 @@ const et = (i) => {
2054
2054
  width: { default: void 0 }
2055
2055
  },
2056
2056
  setup(i) {
2057
- const a = i, l = n(null);
2057
+ const a = i, l = s(null);
2058
2058
  return (e, t) => (m(), B("div", {
2059
2059
  ref_key: "_ref",
2060
2060
  ref: l,
@@ -2064,9 +2064,9 @@ const et = (i) => {
2064
2064
  "data-emphasis": e.emphasis,
2065
2065
  "data-width": e.width,
2066
2066
  class: R(d(z)("db-divider", a.class))
2067
- }, null, 10, zt));
2067
+ }, null, 10, Rt));
2068
2068
  }
2069
- }), qt = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], Vt = ["data-spacing", "data-width", "data-direction", "data-rounded"], Pt = { class: "db-drawer-header" }, Ut = { class: "db-drawer-header-text" }, Gt = { class: "db-drawer-content" }, Wt = /* @__PURE__ */ V({
2069
+ }), zt = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], qt = ["data-spacing", "data-width", "data-direction", "data-rounded"], Vt = { class: "db-drawer-header" }, Pt = { class: "db-drawer-header-text" }, Ut = { class: "db-drawer-content" }, Gt = /* @__PURE__ */ V({
2070
2070
  __name: "drawer",
2071
2071
  props: {
2072
2072
  backdrop: { default: void 0 },
@@ -2090,10 +2090,10 @@ const et = (i) => {
2090
2090
  spacing: { default: void 0 }
2091
2091
  },
2092
2092
  setup(i) {
2093
- const a = i, l = n(!1), e = n(null), t = n(null);
2093
+ const a = i, l = s(!1), e = s(null), t = s(null);
2094
2094
  K(() => {
2095
2095
  u(), l.value = !0;
2096
- }), E(
2096
+ }), D(
2097
2097
  () => [a.open],
2098
2098
  () => {
2099
2099
  u();
@@ -2102,7 +2102,7 @@ const et = (i) => {
2102
2102
  immediate: !0,
2103
2103
  flush: "post"
2104
2104
  }
2105
- ), E(
2105
+ ), D(
2106
2106
  () => [e.value, l.value, a.position],
2107
2107
  () => {
2108
2108
  if (e.value && l.value && a.position === "absolute") {
@@ -2116,8 +2116,8 @@ const et = (i) => {
2116
2116
  }
2117
2117
  );
2118
2118
  function p(g, r) {
2119
- var c;
2120
- g && (Pa(g) ? g.key === "Escape" && (g.preventDefault(), a.onClose && a.onClose(g)) : (r && (g.stopPropagation(), a.onClose && a.onClose(g)), ((c = g.target) == null ? void 0 : c.nodeName) === "DIALOG" && g.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(g)));
2119
+ var n;
2120
+ g && (Va(g) ? g.key === "Escape" && (g.preventDefault(), a.onClose && a.onClose(g)) : (r && (g.stopPropagation(), a.onClose && a.onClose(g)), ((n = g.target) == null ? void 0 : n.nodeName) === "DIALOG" && g.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(g)));
2121
2121
  }
2122
2122
  function u() {
2123
2123
  if (e.value) {
@@ -2133,8 +2133,8 @@ const et = (i) => {
2133
2133
  id: g.id,
2134
2134
  ref_key: "_ref",
2135
2135
  ref: e,
2136
- onClick: r[0] || (r[0] = async (c) => p(c)),
2137
- onKeydown: r[1] || (r[1] = async (c) => p(c)),
2136
+ onClick: r[0] || (r[0] = async (n) => p(n)),
2137
+ onKeydown: r[1] || (r[1] = async (n) => p(n)),
2138
2138
  "data-position": g.position,
2139
2139
  "data-backdrop": g.backdrop,
2140
2140
  "data-direction": g.direction,
@@ -2149,9 +2149,9 @@ const et = (i) => {
2149
2149
  "data-direction": g.direction,
2150
2150
  "data-rounded": d(j)(g.rounded)
2151
2151
  }, [
2152
- T("header", Pt, [
2153
- T("div", Ut, [
2154
- D(g.$slots, "drawer-header")
2152
+ T("header", Vt, [
2153
+ T("div", Pt, [
2154
+ E(g.$slots, "drawer-header")
2155
2155
  ]),
2156
2156
  ae(Be, {
2157
2157
  class: "button-close-drawer",
@@ -2159,21 +2159,21 @@ const et = (i) => {
2159
2159
  variant: "ghost",
2160
2160
  id: g.closeButtonId,
2161
2161
  noText: !0,
2162
- onClick: (c) => p(c, !0)
2162
+ onClick: (n) => p(n, !0)
2163
2163
  }, {
2164
2164
  default: G(() => [
2165
- F(_(g.closeButtonText ?? d(Ge)), 1)
2165
+ N(L(g.closeButtonText ?? d(Ge)), 1)
2166
2166
  ]),
2167
2167
  _: 1
2168
2168
  }, 8, ["id", "onClick"])
2169
2169
  ]),
2170
- T("div", Gt, [
2171
- D(g.$slots, "default")
2170
+ T("div", Ut, [
2171
+ E(g.$slots, "default")
2172
2172
  ])
2173
- ], 10, Vt)
2174
- ], 40, qt));
2173
+ ], 10, qt)
2174
+ ], 40, zt));
2175
2175
  }
2176
- }), ca = (i) => {
2176
+ }), Wt = (i) => {
2177
2177
  var l, e;
2178
2178
  const {
2179
2179
  target: a
@@ -2201,7 +2201,7 @@ class Ot {
2201
2201
  var t;
2202
2202
  if (!this.initialized || this.triangleData || !this.element || !this.subNavigation)
2203
2203
  return;
2204
- const a = at(this.subNavigation), l = this.element.getBoundingClientRect(), e = ((t = this.parentSubNavigation) == null ? void 0 : t.getBoundingClientRect().width) ?? 0;
2204
+ const a = et(this.subNavigation), l = this.element.getBoundingClientRect(), e = ((t = this.parentSubNavigation) == null ? void 0 : t.getBoundingClientRect().width) ?? 0;
2205
2205
  this.triangleData = {
2206
2206
  itemRect: l,
2207
2207
  parentElementWidth: e,
@@ -2277,10 +2277,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2277
2277
  width: { default: void 0 }
2278
2278
  },
2279
2279
  setup(i) {
2280
- const a = i, l = n(Le), e = n(!1), t = n(!1), p = n(null);
2280
+ const a = i, l = s(Le), e = s(!1), t = s(!1), p = s(null);
2281
2281
  K(() => {
2282
2282
  e.value = !0, l.value = a.id || "header-" + Q();
2283
- }), E(
2283
+ }), D(
2284
2284
  () => [e.value],
2285
2285
  () => {
2286
2286
  if (e.value && document && l.value && a.forceMobile) {
@@ -2299,13 +2299,13 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2299
2299
  }
2300
2300
  );
2301
2301
  function u(r) {
2302
- const c = !M(a.drawerOpen, "drawerOpen");
2303
- a.onToggle && a.onToggle(c);
2302
+ const n = !M(a.drawerOpen, "drawerOpen");
2303
+ a.onToggle && a.onToggle(n);
2304
2304
  }
2305
2305
  function g(r) {
2306
- ca(r) && u();
2306
+ Wt(r) && u();
2307
2307
  }
2308
- return (r, c) => (m(), B("header", {
2308
+ return (r, n) => (m(), B("header", {
2309
2309
  ref_key: "_ref",
2310
2310
  ref: p,
2311
2311
  class: R(d(z)("db-header", a.class)),
@@ -2313,44 +2313,44 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2313
2313
  "data-width": r.width,
2314
2314
  "data-on-forcing-mobile": r.forceMobile && !t.value
2315
2315
  }, [
2316
- ae(Wt, {
2316
+ ae(Gt, {
2317
2317
  class: "db-header-drawer",
2318
2318
  spacing: "small",
2319
2319
  rounded: !0,
2320
2320
  open: d(M)(r.drawerOpen),
2321
- onClose: (s) => u()
2321
+ onClose: (f) => u()
2322
2322
  }, {
2323
2323
  default: G(() => [
2324
2324
  T("div", Xt, [
2325
2325
  T("div", {
2326
2326
  class: "db-header-navigation",
2327
- onClick: c[0] || (c[0] = async (s) => g(s))
2327
+ onClick: n[0] || (n[0] = async (f) => g(f))
2328
2328
  }, [
2329
- D(r.$slots, "default")
2329
+ E(r.$slots, "default")
2330
2330
  ]),
2331
2331
  T("div", jt, [
2332
- D(r.$slots, "meta-navigation")
2332
+ E(r.$slots, "meta-navigation")
2333
2333
  ])
2334
2334
  ]),
2335
2335
  T("div", Yt, [
2336
- D(r.$slots, "secondary-action")
2336
+ E(r.$slots, "secondary-action")
2337
2337
  ])
2338
2338
  ]),
2339
2339
  _: 3
2340
2340
  }, 8, ["open", "onClose"]),
2341
2341
  T("div", Kt, [
2342
- D(r.$slots, "meta-navigation")
2342
+ E(r.$slots, "meta-navigation")
2343
2343
  ]),
2344
2344
  T("div", Jt, [
2345
2345
  T("div", Qt, [
2346
- D(r.$slots, "brand")
2346
+ E(r.$slots, "brand")
2347
2347
  ]),
2348
2348
  T("div", Zt, [
2349
2349
  T("div", xt, [
2350
- D(r.$slots, "default")
2350
+ E(r.$slots, "default")
2351
2351
  ]),
2352
2352
  T("div", ei, [
2353
- D(r.$slots, "primary-action")
2353
+ E(r.$slots, "primary-action")
2354
2354
  ])
2355
2355
  ]),
2356
2356
  T("div", ai, [
@@ -2360,16 +2360,16 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2360
2360
  variant: "ghost",
2361
2361
  id: l.value + "-burger-menu",
2362
2362
  noText: !0,
2363
- onClick: (s) => u()
2363
+ onClick: (f) => u()
2364
2364
  }, {
2365
2365
  default: G(() => [
2366
- F(_(r.burgerMenuLabel ?? d(Fa)), 1)
2366
+ N(L(r.burgerMenuLabel ?? d(Da)), 1)
2367
2367
  ]),
2368
2368
  _: 1
2369
2369
  }, 8, ["id", "onClick"])
2370
2370
  ]),
2371
2371
  T("div", ii, [
2372
- D(r.$slots, "secondary-action")
2372
+ E(r.$slots, "secondary-action")
2373
2373
  ])
2374
2374
  ])
2375
2375
  ])
@@ -2390,7 +2390,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2390
2390
  text: { default: void 0 }
2391
2391
  },
2392
2392
  setup(i) {
2393
- const a = i, l = n(null);
2393
+ const a = i, l = s(null);
2394
2394
  return (e, t) => (m(), B("span", {
2395
2395
  "aria-hidden": "true",
2396
2396
  ref_key: "_ref",
@@ -2402,8 +2402,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2402
2402
  "data-icon-variant": e.variant
2403
2403
  }, [
2404
2404
  e.text ? (m(), B(P, { key: 0 }, [
2405
- F(_(e.text), 1)
2406
- ], 64)) : D(e.$slots, "default", { key: 1 })
2405
+ N(L(e.text), 1)
2406
+ ], 64)) : E(e.$slots, "default", { key: 1 })
2407
2407
  ], 10, li));
2408
2408
  }
2409
2409
  }), oi = ["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"], fl = /* @__PURE__ */ V({
@@ -2433,7 +2433,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2433
2433
  text: { default: void 0 }
2434
2434
  },
2435
2435
  setup(i) {
2436
- const a = i, l = n(null);
2436
+ const a = i, l = s(null);
2437
2437
  function e(t) {
2438
2438
  a.onClick && a.onClick(t);
2439
2439
  }
@@ -2459,8 +2459,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2459
2459
  onClick: p[0] || (p[0] = async (u) => e(u))
2460
2460
  }, [
2461
2461
  t.text ? (m(), B(P, { key: 0 }, [
2462
- F(_(t.text), 1)
2463
- ], 64)) : D(t.$slots, "default", { key: 1 })
2462
+ N(L(t.text), 1)
2463
+ ], 64)) : E(t.$slots, "default", { key: 1 })
2464
2464
  ], 10, oi));
2465
2465
  }
2466
2466
  }), di = ["id", "aria-labelledby"], pl = /* @__PURE__ */ V({
@@ -2475,7 +2475,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2475
2475
  labelledBy: { default: void 0 }
2476
2476
  },
2477
2477
  setup(i) {
2478
- const a = i, l = n(Le), e = n(null);
2478
+ const a = i, l = s(Le), e = s(null);
2479
2479
  return K(() => {
2480
2480
  l.value = a.id || "navigation-" + Q();
2481
2481
  }), (t, p) => (m(), B("nav", {
@@ -2486,11 +2486,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2486
2486
  class: R(d(z)("db-navigation", a.class))
2487
2487
  }, [
2488
2488
  T("menu", null, [
2489
- D(t.$slots, "default")
2489
+ E(t.$slots, "default")
2490
2490
  ])
2491
2491
  ], 10, di));
2492
2492
  }
2493
- }), ni = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "data-wrap", "aria-disabled"], si = ["aria-haspopup", "aria-expanded", "disabled"], ui = ["data-auto-close", "id"], ri = {
2493
+ }), ni = ["id", "data-width", "data-icon", "data-hide-icon", "data-active", "data-wrap", "aria-disabled"], si = ["aria-haspopup", "aria-expanded", "disabled"], ui = ["data-force-close", "id"], ri = {
2494
2494
  key: 0,
2495
2495
  class: "db-mobile-navigation-back"
2496
2496
  }, hl = /* @__PURE__ */ V({
@@ -2516,12 +2516,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2516
2516
  text: { default: void 0 }
2517
2517
  },
2518
2518
  setup(i) {
2519
- const a = i, l = n(!1), e = n(!1), t = n(!0), p = n(!1), u = n(!1), g = n(
2519
+ const a = i, l = s(!1), e = s(!1), t = s(!0), p = s(!1), u = s(!1), g = s(
2520
2520
  "sub-navigation-" + Q()
2521
- ), r = n(void 0), c = n(null);
2521
+ ), r = s(void 0), n = s(null);
2522
2522
  K(() => {
2523
2523
  l.value = !0;
2524
- }), E(
2524
+ }), D(
2525
2525
  () => [a.subNavigationExpanded],
2526
2526
  () => {
2527
2527
  a.subNavigationExpanded !== void 0 && (p.value = !!M(
@@ -2533,15 +2533,15 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2533
2533
  immediate: !0,
2534
2534
  flush: "post"
2535
2535
  }
2536
- ), E(
2537
- () => [l.value, c.value],
2536
+ ), D(
2537
+ () => [l.value, n.value],
2538
2538
  () => {
2539
2539
  var h;
2540
- if (l.value && c.value) {
2541
- const f = c.value.querySelector("menu");
2542
- f && (((h = f.children) == null ? void 0 : h.length) > 0 ? (e.value = !0, r.value || (r.value = new Ot(
2543
- c.value,
2544
- f
2540
+ if (l.value && n.value) {
2541
+ const v = n.value.querySelector("menu");
2542
+ v && (((h = v.children) == null ? void 0 : h.length) > 0 ? (e.value = !0, r.value || (r.value = new Ot(
2543
+ n.value,
2544
+ v
2545
2545
  ))) : t.value = !1);
2546
2546
  }
2547
2547
  },
@@ -2550,32 +2550,33 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2550
2550
  flush: "post"
2551
2551
  }
2552
2552
  );
2553
- function s(h) {
2554
- ca(h) && (u.value = !0, x(() => {
2553
+ function f(h) {
2554
+ var v;
2555
+ ((v = h == null ? void 0 : h.target) == null ? void 0 : v.nodeName) === "A" && (u.value = !0, x(() => {
2555
2556
  u.value = !1;
2556
- }, 300));
2557
+ }, 1e3));
2557
2558
  }
2558
- function L(h) {
2559
+ function _(h) {
2559
2560
  a.onClick && (h.stopPropagation(), a.onClick(h)), e.value && (p.value = !0);
2560
2561
  }
2561
- function y(h) {
2562
+ function S(h) {
2562
2563
  h.stopPropagation(), p.value = !1;
2563
2564
  }
2564
- return (h, f) => (m(), B("li", {
2565
+ return (h, v) => (m(), B("li", {
2565
2566
  ref_key: "_ref",
2566
- ref: c,
2567
+ ref: n,
2567
2568
  id: h.id,
2568
- onMouseover: f[2] || (f[2] = async (v) => {
2569
+ onMouseover: v[2] || (v[2] = async (c) => {
2569
2570
  var I;
2570
2571
  return (I = r.value) == null ? void 0 : I.enableFollow();
2571
2572
  }),
2572
- onMouseleave: f[3] || (f[3] = async (v) => {
2573
+ onMouseleave: v[3] || (v[3] = async (c) => {
2573
2574
  var I;
2574
2575
  return (I = r.value) == null ? void 0 : I.disableFollow();
2575
2576
  }),
2576
- onMousemove: f[4] || (f[4] = async (v) => {
2577
+ onMousemove: v[4] || (v[4] = async (c) => {
2577
2578
  var I;
2578
- return (I = r.value) == null ? void 0 : I.followByMouseEvent(v);
2579
+ return (I = r.value) == null ? void 0 : I.followByMouseEvent(c);
2579
2580
  }),
2580
2581
  class: R(d(z)("db-navigation-item", a.class)),
2581
2582
  "data-width": h.width,
@@ -2587,8 +2588,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2587
2588
  }, [
2588
2589
  t.value ? q("", !0) : (m(), B(P, { key: 0 }, [
2589
2590
  h.text ? (m(), B(P, { key: 0 }, [
2590
- F(_(h.text), 1)
2591
- ], 64)) : D(h.$slots, "default", { key: 1 })
2591
+ N(L(h.text), 1)
2592
+ ], 64)) : E(h.$slots, "default", { key: 1 })
2592
2593
  ], 64)),
2593
2594
  t.value ? (m(), B(P, { key: 1 }, [
2594
2595
  T("button", {
@@ -2596,32 +2597,32 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2596
2597
  "aria-haspopup": e.value,
2597
2598
  "aria-expanded": p.value,
2598
2599
  disabled: d(M)(h.disabled, "disabled"),
2599
- onClick: f[0] || (f[0] = async (v) => L(v))
2600
+ onClick: v[0] || (v[0] = async (c) => _(c))
2600
2601
  }, [
2601
2602
  h.text ? (m(), B(P, { key: 0 }, [
2602
- F(_(h.text), 1)
2603
- ], 64)) : D(h.$slots, "default", { key: 1 })
2603
+ N(L(h.text), 1)
2604
+ ], 64)) : E(h.$slots, "default", { key: 1 })
2604
2605
  ], 8, si),
2605
2606
  T("menu", {
2606
2607
  class: "db-sub-navigation",
2607
- "data-auto-close": u.value,
2608
+ "data-force-close": u.value,
2608
2609
  id: g.value,
2609
- onClick: f[1] || (f[1] = async (v) => s(v))
2610
+ onClick: v[1] || (v[1] = async (c) => f(c))
2610
2611
  }, [
2611
2612
  e.value ? (m(), B("div", ri, [
2612
2613
  ae(Be, {
2613
2614
  icon: "arrow_left",
2614
2615
  variant: "ghost",
2615
2616
  id: h.backButtonId,
2616
- onClick: (v) => y(v)
2617
+ onClick: (c) => S(c)
2617
2618
  }, {
2618
2619
  default: G(() => [
2619
- F(_(h.backButtonText ?? d(Ea)), 1)
2620
+ N(L(h.backButtonText ?? d(Ca)), 1)
2620
2621
  ]),
2621
2622
  _: 1
2622
2623
  }, 8, ["id", "onClick"])
2623
2624
  ])) : q("", !0),
2624
- D(h.$slots, "sub-navigation")
2625
+ E(h.$slots, "sub-navigation")
2625
2626
  ], 8, ui)
2626
2627
  ], 64)) : q("", !0)
2627
2628
  ], 42, ni));
@@ -2658,7 +2659,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2658
2659
  text: { default: void 0 }
2659
2660
  },
2660
2661
  setup(i) {
2661
- const a = i, l = n(null);
2662
+ const a = i, l = s(null);
2662
2663
  function e(t) {
2663
2664
  t && (t.stopPropagation(), a.onClose && a.onClose(t));
2664
2665
  }
@@ -2674,15 +2675,15 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2674
2675
  "data-hide-icon": d(X)(t.showIcon),
2675
2676
  "data-link-variant": t.linkVariant
2676
2677
  }, [
2677
- D(t.$slots, "image"),
2678
- d(ee)(t.headline, t.showHeadline) ? (m(), B("header", vi, _(t.headline), 1)) : q("", !0),
2678
+ E(t.$slots, "image"),
2679
+ d(ee)(t.headline, t.showHeadline) ? (m(), B("header", vi, L(t.headline), 1)) : q("", !0),
2679
2680
  T("p", null, [
2680
2681
  t.text ? (m(), B(P, { key: 0 }, [
2681
- F(_(t.text), 1)
2682
- ], 64)) : D(t.$slots, "default", { key: 1 })
2682
+ N(L(t.text), 1)
2683
+ ], 64)) : E(t.$slots, "default", { key: 1 })
2683
2684
  ]),
2684
- d(ee)(t.timestamp, t.showTimestamp) ? (m(), B("span", fi, _(t.timestamp), 1)) : q("", !0),
2685
- D(t.$slots, "link"),
2685
+ d(ee)(t.timestamp, t.showTimestamp) ? (m(), B("span", fi, L(t.timestamp), 1)) : q("", !0),
2686
+ E(t.$slots, "link"),
2686
2687
  d(M)(t.closeable, "closeable") ? (m(), Z(Be, {
2687
2688
  key: 2,
2688
2689
  icon: "cross",
@@ -2693,7 +2694,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2693
2694
  onClick: (u) => e(u)
2694
2695
  }, {
2695
2696
  default: G(() => [
2696
- F(_(t.closeButtonText ?? d(Ge)), 1)
2697
+ N(L(t.closeButtonText ?? d(Ge)), 1)
2697
2698
  ]),
2698
2699
  _: 1
2699
2700
  }, 8, ["id", "onClick"])) : q("", !0)
@@ -2716,12 +2717,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2716
2717
  autofocus: { type: [Boolean, String] }
2717
2718
  },
2718
2719
  setup(i) {
2719
- const a = i, l = n(!1), e = n(null);
2720
+ const a = i, l = s(!1), e = s(null);
2720
2721
  return typeof window < "u" && document && (a.documentOverflow === "hidden" || a.variant === "fixed" && a.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), K(() => {
2721
2722
  l.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
2722
2723
  l.value = !0;
2723
2724
  }) : l.value = !0;
2724
- }), Aa(() => {
2725
+ }), Ta(() => {
2725
2726
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
2726
2727
  }), (t, p) => (m(), B("div", {
2727
2728
  ref_key: "_ref",
@@ -2732,13 +2733,13 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2732
2733
  "data-fade-in": d(j)(t.fadeIn),
2733
2734
  "data-fonts-loaded": d(j)(l.value)
2734
2735
  }, [
2735
- D(t.$slots, "header"),
2736
+ E(t.$slots, "header"),
2736
2737
  T("main", {
2737
2738
  class: R(d(z)("db-main", t.mainClass))
2738
2739
  }, [
2739
- D(t.$slots, "default")
2740
+ E(t.$slots, "default")
2740
2741
  ], 2),
2741
- D(t.$slots, "footer")
2742
+ E(t.$slots, "footer")
2742
2743
  ], 10, pi));
2743
2744
  }
2744
2745
  }), hi = ["id"], mi = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], bl = /* @__PURE__ */ V({
@@ -2760,25 +2761,25 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2760
2761
  width: { default: void 0 }
2761
2762
  },
2762
2763
  setup(i) {
2763
- const a = i, l = n(!1), e = n(!1), t = n(void 0), p = n(void 0), u = n(null);
2764
+ const a = i, l = s(!1), e = s(!1), t = s(void 0), p = s(void 0), u = s(null);
2764
2765
  K(() => {
2765
2766
  l.value = !0;
2766
- }), E(
2767
+ }), D(
2767
2768
  () => [u.value, l.value],
2768
2769
  () => {
2769
2770
  if (u.value && l.value) {
2770
2771
  l.value = !1;
2771
- const h = y();
2772
+ const h = S();
2772
2773
  h && (h.ariaHasPopup = "true"), r(), u.value.addEventListener(
2773
2774
  "keydown",
2774
- (f) => g(f)
2775
- ), ["mouseenter", "focusin"].forEach((f) => {
2776
- u.value.addEventListener(f, () => s());
2777
- }), ["mouseleave", "focusout"].forEach((f) => {
2778
- u.value.addEventListener(f, () => L());
2779
- }), typeof window < "u" && "IntersectionObserver" in window && (p.value = new IntersectionObserver((f) => {
2780
- const v = f.find(({ target: I }) => I === y());
2781
- v && !v.isIntersecting && g(!1);
2775
+ (v) => g(v)
2776
+ ), ["mouseenter", "focusin"].forEach((v) => {
2777
+ u.value.addEventListener(v, () => f());
2778
+ }), ["mouseleave", "focusout"].forEach((v) => {
2779
+ u.value.addEventListener(v, () => _());
2780
+ }), typeof window < "u" && "IntersectionObserver" in window && (p.value = new IntersectionObserver((v) => {
2781
+ const c = v.find(({ target: I }) => I === S());
2782
+ c && !c.isIntersecting && g(!1);
2782
2783
  }));
2783
2784
  }
2784
2785
  },
@@ -2786,11 +2787,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2786
2787
  immediate: !0,
2787
2788
  flush: "post"
2788
2789
  }
2789
- ), E(
2790
+ ), D(
2790
2791
  () => [u.value, e.value],
2791
2792
  () => {
2792
2793
  if (u.value) {
2793
- const h = y();
2794
+ const h = S();
2794
2795
  h && (h.ariaExpanded = (!!e.value).toString());
2795
2796
  }
2796
2797
  },
@@ -2801,8 +2802,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2801
2802
  );
2802
2803
  function g(h) {
2803
2804
  if (!h || h.key === "Escape")
2804
- for (const f of Array.from(u.value.children))
2805
- f.blur();
2805
+ for (const v of Array.from(u.value.children))
2806
+ v.blur();
2806
2807
  }
2807
2808
  function r() {
2808
2809
  if (!u.value) return;
@@ -2815,46 +2816,46 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2815
2816
  );
2816
2817
  }, 1);
2817
2818
  }
2818
- function c(h) {
2819
- var f, v;
2820
- (f = h == null ? void 0 : h.target) != null && f.contains && ((v = h == null ? void 0 : h.target) != null && v.contains(u.value)) && r();
2819
+ function n(h) {
2820
+ var v, c;
2821
+ (v = h == null ? void 0 : h.target) != null && v.contains && ((c = h == null ? void 0 : h.target) != null && c.contains(u.value)) && r();
2821
2822
  }
2822
- function s() {
2823
- var f;
2823
+ function f() {
2824
+ var v;
2824
2825
  e.value = !0, t.value = new Ie().addCallback(
2825
- (v) => c(v)
2826
+ (c) => n(c)
2826
2827
  ), r();
2827
- const h = y();
2828
- h && ((f = p.value) == null || f.observe(h));
2828
+ const h = S();
2829
+ h && ((v = p.value) == null || v.observe(h));
2829
2830
  }
2830
- function L(h) {
2831
- var f;
2831
+ function _(h) {
2832
+ var v;
2832
2833
  {
2833
2834
  e.value = !1, t.value && new Ie().removeCallback(
2834
2835
  t.value
2835
2836
  );
2836
- const v = y();
2837
- v && ((f = p.value) == null || f.unobserve(v));
2837
+ const c = S();
2838
+ c && ((v = p.value) == null || v.unobserve(c));
2838
2839
  }
2839
2840
  }
2840
- function y() {
2841
+ function S() {
2841
2842
  var h;
2842
2843
  if (u.value) {
2843
- const f = Array.from(u.value.children);
2844
- if (f.length >= 2) {
2845
- const v = f[0];
2846
- return v.tagName.includes("-") ? ((h = v.children) == null ? void 0 : h.length) > 0 ? v.children[0] : null : v;
2844
+ const v = Array.from(u.value.children);
2845
+ if (v.length >= 2) {
2846
+ const c = v[0];
2847
+ return c.tagName.includes("-") ? ((h = c.children) == null ? void 0 : h.length) > 0 ? c.children[0] : null : c;
2847
2848
  }
2848
2849
  }
2849
2850
  return null;
2850
2851
  }
2851
- return (h, f) => (m(), B("div", {
2852
+ return (h, v) => (m(), B("div", {
2852
2853
  ref_key: "_ref",
2853
2854
  ref: u,
2854
2855
  id: h.id,
2855
2856
  class: R(d(z)("db-popover", a.class))
2856
2857
  }, [
2857
- D(h.$slots, "trigger"),
2858
+ E(h.$slots, "trigger"),
2858
2859
  T("article", {
2859
2860
  class: "db-popover-content",
2860
2861
  "data-spacing": h.spacing,
@@ -2865,11 +2866,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2865
2866
  "data-width": h.width,
2866
2867
  "data-placement": h.placement
2867
2868
  }, [
2868
- D(h.$slots, "default")
2869
+ E(h.$slots, "default")
2869
2870
  ], 8, mi)
2870
2871
  ], 10, hi));
2871
2872
  }
2872
- }), gi = ["data-size", "data-hide-label", "for"], bi = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required", "data-hide-asterisk"], yl = /* @__PURE__ */ V({
2873
+ }), gi = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], bi = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "aria-describedby", "value", "required"], yl = /* @__PURE__ */ V({
2873
2874
  __name: "radio",
2874
2875
  props: {
2875
2876
  children: { default: void 0 },
@@ -2899,10 +2900,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2899
2900
  },
2900
2901
  emits: ["update:value"],
2901
2902
  setup(i, { emit: a }) {
2902
- const l = a, e = i, t = n(!1), p = n(void 0), u = n(null);
2903
+ const l = a, e = i, t = s(!1), p = s(void 0), u = s(null);
2903
2904
  K(() => {
2904
2905
  t.value = !0, p.value = e.id ?? `radio-${Q()}`;
2905
- }), E(
2906
+ }), D(
2906
2907
  () => [t.value, u.value, e.checked],
2907
2908
  () => {
2908
2909
  e.checked && t.value && u.value && (u.value.checked = !0);
@@ -2912,42 +2913,42 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2912
2913
  flush: "post"
2913
2914
  }
2914
2915
  );
2915
- function g(s) {
2916
- e.onChange && e.onChange(s), se(l, s);
2916
+ function g(f) {
2917
+ e.onChange && e.onChange(f), se(l, f);
2917
2918
  }
2918
- function r(s) {
2919
- e.onBlur && e.onBlur(s);
2919
+ function r(f) {
2920
+ e.onBlur && e.onBlur(f);
2920
2921
  }
2921
- function c(s) {
2922
- e.onFocus && e.onFocus(s);
2922
+ function n(f) {
2923
+ e.onFocus && e.onFocus(f);
2923
2924
  }
2924
- return (s, L) => (m(), B("label", {
2925
- "data-size": s.size,
2926
- "data-hide-label": d(X)(s.showLabel),
2925
+ return (f, _) => (m(), B("label", {
2926
+ "data-size": f.size,
2927
+ "data-hide-label": d(X)(f.showLabel),
2928
+ "data-hide-asterisk": d(X)(f.showRequiredAsterisk),
2927
2929
  class: R(d(z)("db-radio", e.class)),
2928
2930
  for: p.value
2929
2931
  }, [
2930
2932
  T("input", {
2931
2933
  type: "radio",
2932
- "aria-invalid": s.validation === "invalid",
2933
- "data-custom-validity": s.validation,
2934
+ "aria-invalid": f.validation === "invalid",
2935
+ "data-custom-validity": f.validation,
2934
2936
  ref_key: "_ref",
2935
2937
  ref: u,
2936
2938
  id: p.value,
2937
- name: s.name,
2938
- checked: d(M)(s.checked, "checked"),
2939
- disabled: d(M)(s.disabled, "disabled"),
2940
- "aria-describedby": s.describedbyid ?? s.ariaDescribedBy,
2941
- value: s.value,
2942
- required: d(M)(s.required, "required"),
2943
- "data-hide-asterisk": d(X)(s.showRequiredAsterisk),
2944
- onChange: L[0] || (L[0] = async (y) => g(y)),
2945
- onBlur: L[1] || (L[1] = async (y) => r(y)),
2946
- onFocus: L[2] || (L[2] = async (y) => c(y))
2939
+ name: f.name,
2940
+ checked: d(M)(f.checked, "checked"),
2941
+ disabled: d(M)(f.disabled, "disabled"),
2942
+ "aria-describedby": f.describedbyid ?? f.ariaDescribedBy,
2943
+ value: f.value,
2944
+ required: d(M)(f.required, "required"),
2945
+ onChange: _[0] || (_[0] = async (S) => g(S)),
2946
+ onBlur: _[1] || (_[1] = async (S) => r(S)),
2947
+ onFocus: _[2] || (_[2] = async (S) => n(S))
2947
2948
  }, null, 40, bi),
2948
- s.label ? (m(), B(P, { key: 0 }, [
2949
- F(_(s.label), 1)
2950
- ], 64)) : D(s.$slots, "default", { key: 1 })
2949
+ f.label ? (m(), B(P, { key: 0 }, [
2950
+ N(L(f.label), 1)
2951
+ ], 64)) : E(f.$slots, "default", { key: 1 })
2951
2952
  ], 10, gi));
2952
2953
  }
2953
2954
  }), yi = ["id", "data-spacing", "data-width"], kl = /* @__PURE__ */ V({
@@ -2963,7 +2964,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2963
2964
  width: { default: void 0 }
2964
2965
  },
2965
2966
  setup(i) {
2966
- const a = i, l = n(Le), e = n(null);
2967
+ const a = i, l = s(Le), e = s(null);
2967
2968
  return K(() => {
2968
2969
  l.value = a.id || "section-" + Q();
2969
2970
  }), (t, p) => (m(), B("section", {
@@ -2974,10 +2975,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2974
2975
  "data-spacing": t.spacing || "medium",
2975
2976
  "data-width": t.width
2976
2977
  }, [
2977
- D(t.$slots, "default")
2978
+ E(t.$slots, "default")
2978
2979
  ], 10, yi));
2979
2980
  }
2980
- }), ki = ["data-variant", "data-hide-label", "data-icon", "data-hide-icon"], wi = ["for"], Si = ["aria-invalid", "data-custom-validity", "required", "data-hide-asterisk", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], Bi = ["label"], Ii = ["value", "selected", "disabled"], $i = ["value", "disabled", "selected"], Li = ["id"], _i = {
2981
+ }), ki = ["data-variant", "data-hide-label", "data-hide-asterisk", "data-icon", "data-hide-icon"], wi = ["for"], Si = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], Bi = ["label"], Ii = ["value", "selected", "disabled"], $i = ["value", "disabled", "selected"], Li = ["id"], _i = {
2981
2982
  "data-visually-hidden": "true",
2982
2983
  role: "status"
2983
2984
  }, wl = /* @__PURE__ */ V({
@@ -3024,102 +3025,102 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3024
3025
  },
3025
3026
  emits: ["update:value"],
3026
3027
  setup(i, { emit: a }) {
3027
- const l = a, e = i, t = n(void 0), p = n(void 0), u = n(void 0), g = n(void 0), r = n(void 0), c = n(""), s = n(""), L = n(""), y = n(!1), h = n(""), f = n(null);
3028
+ const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(""), f = s(""), _ = s(""), S = s(!1), h = s(""), v = s(null);
3028
3029
  K(() => {
3029
- y.value = !0;
3030
- const S = e.id ?? `select-${Q()}`;
3031
- t.value = S, p.value = S + ve, u.value = S + fe, g.value = S + pe, c.value = S + Re, r.value = e.invalidMessage || ie;
3032
- }), E(
3033
- () => [f.value, e.invalidMessage],
3030
+ S.value = !0;
3031
+ const w = e.id ?? `select-${Q()}`;
3032
+ t.value = w, p.value = w + ve, u.value = w + fe, g.value = w + pe, n.value = w + Re, r.value = e.invalidMessage || ie;
3033
+ }), D(
3034
+ () => [v.value, e.invalidMessage],
3034
3035
  () => {
3035
- var S;
3036
- r.value = e.invalidMessage || ((S = f.value) == null ? void 0 : S.validationMessage) || ie;
3036
+ var w;
3037
+ r.value = e.invalidMessage || ((w = v.value) == null ? void 0 : w.validationMessage) || ie;
3037
3038
  },
3038
3039
  {
3039
3040
  immediate: !0,
3040
3041
  flush: "post"
3041
3042
  }
3042
- ), E(
3043
- () => [t.value, y.value],
3043
+ ), D(
3044
+ () => [t.value, S.value],
3044
3045
  () => {
3045
- if (t.value && y.value) {
3046
- const S = t.value + ve, H = t.value + Re;
3047
- p.value = S, u.value = t.value + fe, g.value = t.value + pe, c.value = H, ee(e.message, e.showMessage) ? s.value = S : s.value = H, y.value = !1;
3046
+ if (t.value && S.value) {
3047
+ const w = t.value + ve, H = t.value + Re;
3048
+ p.value = w, u.value = t.value + fe, g.value = t.value + pe, n.value = H, ee(e.message, e.showMessage) ? f.value = w : f.value = H, S.value = !1;
3048
3049
  }
3049
3050
  },
3050
3051
  {
3051
3052
  immediate: !0,
3052
3053
  flush: "post"
3053
3054
  }
3054
- ), E(
3055
+ ), D(
3055
3056
  () => [e.value],
3056
3057
  () => {
3057
- L.value = e.value;
3058
+ _.value = e.value;
3058
3059
  },
3059
3060
  {
3060
3061
  immediate: !0,
3061
3062
  flush: "post"
3062
3063
  }
3063
3064
  );
3064
- function v() {
3065
+ function c() {
3065
3066
  return !!(e.validMessage ?? e.validation === "valid");
3066
3067
  }
3067
3068
  function I() {
3068
- var S, H, le;
3069
- !((S = f.value) != null && S.validity.valid) || e.validation === "invalid" ? (s.value = g.value, r.value = e.invalidMessage || ((H = f.value) == null ? void 0 : H.validationMessage) || ie, me() && (h.value = r.value, x(() => h.value = "", 1e3))) : v() && ((le = f.value) != null && le.validity.valid) && e.required ? (s.value = u.value, me() && (h.value = e.validMessage ?? he, x(() => h.value = "", 1e3))) : ee(e.message, e.showMessage) ? s.value = p.value : s.value = c.value;
3069
+ var w, H, le;
3070
+ !((w = v.value) != null && w.validity.valid) || e.validation === "invalid" ? (f.value = g.value, r.value = e.invalidMessage || ((H = v.value) == null ? void 0 : H.validationMessage) || ie, me() && (h.value = r.value, x(() => h.value = "", 1e3))) : c() && ((le = v.value) != null && le.validity.valid) && e.required ? (f.value = u.value, me() && (h.value = e.validMessage ?? he, x(() => h.value = "", 1e3))) : ee(e.message, e.showMessage) ? f.value = p.value : f.value = n.value;
3070
3071
  }
3071
- function A(S) {
3072
- e.onClick && e.onClick(S);
3072
+ function A(w) {
3073
+ e.onClick && e.onClick(w);
3073
3074
  }
3074
- function b(S) {
3075
- e.input && e.input(S), L.value = S.target.value, e.onInput && e.onInput(S), se(l, S), I();
3075
+ function b(w) {
3076
+ e.input && e.input(w), _.value = w.target.value, e.onInput && e.onInput(w), se(l, w), I();
3076
3077
  }
3077
- function w(S) {
3078
- e.onChange && e.onChange(S), se(l, S), I();
3078
+ function k(w) {
3079
+ e.onChange && e.onChange(w), se(l, w), I();
3079
3080
  }
3080
- function W(S) {
3081
- e.onBlur && e.onBlur(S);
3081
+ function W(w) {
3082
+ e.onBlur && e.onBlur(w);
3082
3083
  }
3083
- function k(S) {
3084
- e.onFocus && e.onFocus(S);
3084
+ function y(w) {
3085
+ e.onFocus && e.onFocus(w);
3085
3086
  }
3086
- function O(S) {
3087
+ function O(w) {
3087
3088
  var H;
3088
- return S.label ?? ((H = S.value) == null ? void 0 : H.toString());
3089
+ return w.label ?? ((H = w.value) == null ? void 0 : H.toString());
3089
3090
  }
3090
- return (S, H) => {
3091
+ return (w, H) => {
3091
3092
  var le;
3092
3093
  return m(), B("div", {
3093
3094
  class: R(d(z)("db-select", e.class)),
3094
- "data-variant": S.variant,
3095
- "data-hide-label": d(X)(S.showLabel),
3096
- "data-icon": S.icon,
3097
- "data-hide-icon": d(X)(S.showIcon)
3095
+ "data-variant": w.variant,
3096
+ "data-hide-label": d(X)(w.showLabel),
3097
+ "data-hide-asterisk": d(X)(w.showRequiredAsterisk),
3098
+ "data-icon": w.icon,
3099
+ "data-hide-icon": d(X)(w.showIcon)
3098
3100
  }, [
3099
- T("label", { for: t.value }, _(S.label ?? d(we)), 9, wi),
3101
+ T("label", { for: t.value }, L(w.label ?? d(we)), 9, wi),
3100
3102
  T("select", {
3101
- "aria-invalid": S.validation === "invalid",
3102
- "data-custom-validity": S.validation,
3103
+ "aria-invalid": w.validation === "invalid",
3104
+ "data-custom-validity": w.validation,
3103
3105
  ref_key: "_ref",
3104
- ref: f,
3105
- required: d(M)(S.required, "required"),
3106
- "data-hide-asterisk": d(X)(S.showRequiredAsterisk),
3107
- disabled: d(M)(S.disabled, "disabled"),
3106
+ ref: v,
3107
+ required: d(M)(w.required, "required"),
3108
+ disabled: d(M)(w.disabled, "disabled"),
3108
3109
  id: t.value,
3109
- name: S.name,
3110
- size: S.size,
3111
- value: S.value ?? L.value,
3112
- autocomplete: S.autocomplete,
3113
- multiple: S.multiple,
3110
+ name: w.name,
3111
+ size: w.size,
3112
+ value: w.value ?? _.value,
3113
+ autocomplete: w.autocomplete,
3114
+ multiple: w.multiple,
3114
3115
  onInput: H[0] || (H[0] = async (J) => b(J)),
3115
3116
  onClick: H[1] || (H[1] = async (J) => A(J)),
3116
- onChange: H[2] || (H[2] = async (J) => w(J)),
3117
+ onChange: H[2] || (H[2] = async (J) => k(J)),
3117
3118
  onBlur: H[3] || (H[3] = async (J) => W(J)),
3118
- onFocus: H[4] || (H[4] = async (J) => k(J)),
3119
- "aria-describedby": S.ariaDescribedBy ?? s.value
3119
+ onFocus: H[4] || (H[4] = async (J) => y(J)),
3120
+ "aria-describedby": w.ariaDescribedBy ?? f.value
3120
3121
  }, [
3121
3122
  H[5] || (H[5] = T("option", { hidden: !0 }, null, -1)),
3122
- (le = S.options) != null && le.length ? (m(!0), B(P, { key: 0 }, be(S.options, (J, Fe) => (m(), B(P, { key: Fe }, [
3123
+ (le = w.options) != null && le.length ? (m(!0), B(P, { key: 0 }, be(w.options, (J, Ne) => (m(), B(P, { key: Ne }, [
3123
3124
  J.options ? (m(), B("optgroup", {
3124
3125
  key: 0,
3125
3126
  label: O(J)
@@ -3129,35 +3130,35 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3129
3130
  value: ye.value,
3130
3131
  selected: ye.selected,
3131
3132
  disabled: ye.disabled
3132
- }, _(O(ye)), 9, Ii))), 128))
3133
+ }, L(O(ye)), 9, Ii))), 128))
3133
3134
  ], 8, Bi)) : (m(), B("option", {
3134
3135
  key: 1,
3135
3136
  value: J.value,
3136
3137
  disabled: J.disabled,
3137
3138
  selected: J.selected
3138
- }, _(O(J)), 9, $i))
3139
- ], 64))), 128)) : D(S.$slots, "default", { key: 1 })
3139
+ }, L(O(J)), 9, $i))
3140
+ ], 64))), 128)) : E(w.$slots, "default", { key: 1 })
3140
3141
  ], 40, Si),
3141
- T("span", { id: c.value }, _(S.placeholder ?? S.label), 9, Li),
3142
- d(ee)(S.message, S.showMessage) ? (m(), Z(te, {
3142
+ T("span", { id: n.value }, L(w.placeholder ?? w.label), 9, Li),
3143
+ d(ee)(w.message, w.showMessage) ? (m(), Z(te, {
3143
3144
  key: 0,
3144
3145
  size: "small",
3145
- icon: S.messageIcon,
3146
+ icon: w.messageIcon,
3146
3147
  id: p.value
3147
3148
  }, {
3148
3149
  default: G(() => [
3149
- F(_(S.message), 1)
3150
+ N(L(w.message), 1)
3150
3151
  ]),
3151
3152
  _: 1
3152
3153
  }, 8, ["icon", "id"])) : q("", !0),
3153
- v() ? (m(), Z(te, {
3154
+ c() ? (m(), Z(te, {
3154
3155
  key: 1,
3155
3156
  size: "small",
3156
3157
  semantic: "successful",
3157
3158
  id: u.value
3158
3159
  }, {
3159
3160
  default: G(() => [
3160
- F(_(S.validMessage || d(he)), 1)
3161
+ N(L(w.validMessage || d(he)), 1)
3161
3162
  ]),
3162
3163
  _: 1
3163
3164
  }, 8, ["id"])) : q("", !0),
@@ -3167,11 +3168,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3167
3168
  id: g.value
3168
3169
  }, {
3169
3170
  default: G(() => [
3170
- F(_(r.value), 1)
3171
+ N(L(r.value), 1)
3171
3172
  ]),
3172
3173
  _: 1
3173
3174
  }, 8, ["id"]),
3174
- T("span", _i, _(h.value), 1)
3175
+ T("span", _i, L(h.value), 1)
3175
3176
  ], 10, ki);
3176
3177
  };
3177
3178
  }
@@ -3192,7 +3193,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3192
3193
  gap: { default: void 0 }
3193
3194
  },
3194
3195
  setup(i) {
3195
- const a = i, l = n(null);
3196
+ const a = i, l = s(null);
3196
3197
  return (e, t) => (m(), B("div", {
3197
3198
  ref_key: "_ref",
3198
3199
  ref: l,
@@ -3205,10 +3206,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3205
3206
  "data-justify-content": e.justifyContent,
3206
3207
  "data-wrap": d(j)(e.wrap)
3207
3208
  }, [
3208
- D(e.$slots, "default")
3209
+ E(e.$slots, "default")
3209
3210
  ], 10, Ti));
3210
3211
  }
3211
- }), Ai = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for"], Ci = ["id", "aria-checked", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-hide-asterisk", "data-aid-icon", "data-aid-icon-after"], Bl = /* @__PURE__ */ V({
3212
+ }), Ai = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for", "data-hide-asterisk"], Ci = ["id", "checked", "value", "disabled", "aria-describedby", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-after"], Bl = /* @__PURE__ */ V({
3212
3213
  __name: "switch",
3213
3214
  props: {
3214
3215
  visualAid: { type: [Boolean, String], default: void 0 },
@@ -3242,65 +3243,54 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3242
3243
  },
3243
3244
  emits: ["update:checked"],
3244
3245
  setup(i, { emit: a }) {
3245
- const l = a, e = i, t = n(void 0), p = n(!1), u = n(null);
3246
+ const l = a, e = i, t = s(void 0), p = s(null);
3246
3247
  K(() => {
3247
3248
  t.value = e.id ?? `switch-${Q()}`;
3248
- }), E(
3249
- () => [e.checked],
3250
- () => {
3251
- e.checked !== void 0 && e.checked !== null && (p.value = M(e.checked));
3252
- },
3253
- {
3254
- immediate: !0,
3255
- flush: "post"
3256
- }
3257
- );
3258
- function g(s) {
3259
- var L;
3260
- e.onChange && e.onChange(s), p.value = (L = s.target) == null ? void 0 : L.checked, se(l, s, "checked");
3249
+ });
3250
+ function u(n) {
3251
+ e.onChange && e.onChange(n), se(l, n, "checked");
3261
3252
  }
3262
- function r(s) {
3263
- e.onBlur && e.onBlur(s);
3253
+ function g(n) {
3254
+ e.onBlur && e.onBlur(n);
3264
3255
  }
3265
- function c(s) {
3266
- e.onFocus && e.onFocus(s);
3256
+ function r(n) {
3257
+ e.onFocus && e.onFocus(n);
3267
3258
  }
3268
- return (s, L) => (m(), B("label", {
3269
- "data-visual-aid": d(j)(s.visualAid),
3270
- "data-size": s.size,
3271
- "data-hide-label": d(X)(s.showLabel),
3272
- "data-emphasis": s.emphasis,
3259
+ return (n, f) => (m(), B("label", {
3260
+ "data-visual-aid": d(j)(n.visualAid),
3261
+ "data-size": n.size,
3262
+ "data-hide-label": d(X)(n.showLabel),
3263
+ "data-emphasis": n.emphasis,
3273
3264
  for: t.value,
3265
+ "data-hide-asterisk": d(X)(n.showRequiredAsterisk),
3274
3266
  class: R(d(z)("db-switch", e.class))
3275
3267
  }, [
3276
3268
  T("input", {
3277
3269
  type: "checkbox",
3278
3270
  role: "switch",
3279
3271
  id: t.value,
3280
- "aria-checked": d(j)(p.value),
3281
3272
  ref_key: "_ref",
3282
- ref: u,
3283
- checked: d(M)(s.checked, "checked"),
3284
- value: s.value,
3285
- disabled: d(M)(s.disabled, "disabled"),
3286
- "aria-describedby": s.describedbyid ?? s.ariaDescribedBy,
3287
- "aria-invalid": s.validation === "invalid",
3288
- "data-custom-validity": s.validation,
3289
- name: s.name,
3290
- required: d(M)(s.required, "required"),
3291
- "data-hide-asterisk": d(X)(s.showRequiredAsterisk),
3292
- "data-aid-icon": s.icon,
3293
- "data-aid-icon-after": s.iconAfter,
3294
- onChange: L[0] || (L[0] = async (y) => g(y)),
3295
- onBlur: L[1] || (L[1] = async (y) => r(y)),
3296
- onFocus: L[2] || (L[2] = async (y) => c(y))
3273
+ ref: p,
3274
+ checked: d(M)(n.checked, "checked"),
3275
+ value: n.value,
3276
+ disabled: d(M)(n.disabled, "disabled"),
3277
+ "aria-describedby": n.describedbyid ?? n.ariaDescribedBy,
3278
+ "aria-invalid": n.validation === "invalid",
3279
+ "data-custom-validity": n.validation,
3280
+ name: n.name,
3281
+ required: d(M)(n.required, "required"),
3282
+ "data-aid-icon": n.icon,
3283
+ "data-aid-icon-after": n.iconAfter,
3284
+ onChange: f[0] || (f[0] = async (_) => u(_)),
3285
+ onBlur: f[1] || (f[1] = async (_) => g(_)),
3286
+ onFocus: f[2] || (f[2] = async (_) => r(_))
3297
3287
  }, null, 40, Ci),
3298
- s.label ? (m(), B(P, { key: 0 }, [
3299
- F(_(s.label), 1)
3300
- ], 64)) : D(s.$slots, "default", { key: 1 })
3288
+ n.label ? (m(), B(P, { key: 0 }, [
3289
+ N(L(n.label), 1)
3290
+ ], 64)) : E(n.$slots, "default", { key: 1 })
3301
3291
  ], 10, Ai));
3302
3292
  }
3303
- }), Ei = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Di = ["disabled", "aria-selected", "aria-controls", "checked", "name", "id"], Fi = /* @__PURE__ */ V({
3293
+ }), Ei = ["for", "data-icon", "data-icon-after", "data-hide-icon", "data-hide-icon-after", "data-no-text"], Di = ["disabled", "aria-selected", "aria-controls", "checked", "name", "id"], Ni = /* @__PURE__ */ V({
3304
3294
  __name: "tab-item",
3305
3295
  props: {
3306
3296
  children: { default: void 0 },
@@ -3324,10 +3314,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3324
3314
  },
3325
3315
  emits: ["update:checked"],
3326
3316
  setup(i, { emit: a }) {
3327
- const l = a, e = i, t = n(!1), p = n(void 0), u = n(!1), g = n(null);
3317
+ const l = a, e = i, t = s(!1), p = s(void 0), u = s(!1), g = s(null);
3328
3318
  K(() => {
3329
3319
  u.value = !0;
3330
- }), E(
3320
+ }), D(
3331
3321
  () => [g.value, u.value],
3332
3322
  () => {
3333
3323
  u.value && g.value && (e.active && g.value.click(), u.value = !1);
@@ -3336,7 +3326,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3336
3326
  immediate: !0,
3337
3327
  flush: "post"
3338
3328
  }
3339
- ), E(
3329
+ ), D(
3340
3330
  () => [e.name],
3341
3331
  () => {
3342
3332
  e.name && (p.value = e.name);
@@ -3346,43 +3336,43 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3346
3336
  flush: "post"
3347
3337
  }
3348
3338
  );
3349
- function r(c) {
3350
- var s;
3351
- c.stopPropagation(), e.onChange && e.onChange(c), t.value = (s = c.target) == null ? void 0 : s.checked, se(l, c, "checked");
3339
+ function r(n) {
3340
+ var f;
3341
+ n.stopPropagation(), e.onChange && e.onChange(n), t.value = (f = n.target) == null ? void 0 : f.checked, se(l, n, "checked");
3352
3342
  }
3353
- return (c, s) => (m(), B("li", {
3343
+ return (n, f) => (m(), B("li", {
3354
3344
  role: "none",
3355
3345
  class: R(d(z)("db-tab-item", e.class))
3356
3346
  }, [
3357
3347
  T("label", {
3358
- for: c.id,
3359
- "data-icon": c.icon,
3360
- "data-icon-after": c.iconAfter,
3361
- "data-hide-icon": d(X)(c.showIcon),
3362
- "data-hide-icon-after": d(X)(c.showIcon),
3363
- "data-no-text": d(j)(c.noText)
3348
+ for: n.id,
3349
+ "data-icon": n.icon,
3350
+ "data-icon-after": n.iconAfter,
3351
+ "data-hide-icon": d(X)(n.showIcon),
3352
+ "data-hide-icon-after": d(X)(n.showIcon),
3353
+ "data-no-text": d(j)(n.noText)
3364
3354
  }, [
3365
3355
  T("input", {
3366
3356
  type: "radio",
3367
3357
  role: "tab",
3368
- disabled: d(M)(c.disabled, "disabled"),
3358
+ disabled: d(M)(n.disabled, "disabled"),
3369
3359
  "aria-selected": t.value,
3370
- "aria-controls": c.controls,
3371
- checked: d(M)(c.checked, "checked"),
3360
+ "aria-controls": n.controls,
3361
+ checked: d(M)(n.checked, "checked"),
3372
3362
  ref_key: "_ref",
3373
3363
  ref: g,
3374
3364
  name: p.value,
3375
- id: c.id,
3376
- onInput: s[0] || (s[0] = async (L) => r(L))
3365
+ id: n.id,
3366
+ onInput: f[0] || (f[0] = async (_) => r(_))
3377
3367
  }, null, 40, Di),
3378
- c.label ? (m(), B(P, { key: 0 }, [
3379
- F(_(c.label), 1)
3368
+ n.label ? (m(), B(P, { key: 0 }, [
3369
+ N(L(n.label), 1)
3380
3370
  ], 64)) : q("", !0),
3381
- D(c.$slots, "default")
3371
+ E(n.$slots, "default")
3382
3372
  ], 8, Ei)
3383
3373
  ], 2));
3384
3374
  }
3385
- }), Ni = ["id"], Mi = { role: "tablist" }, Ri = /* @__PURE__ */ V({
3375
+ }), Fi = ["id"], Mi = { role: "tablist" }, Ri = /* @__PURE__ */ V({
3386
3376
  __name: "tab-list",
3387
3377
  props: {
3388
3378
  children: { default: void 0 },
@@ -3393,7 +3383,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3393
3383
  autofocus: { type: [Boolean, String] }
3394
3384
  },
3395
3385
  setup(i) {
3396
- const a = i, l = n(Le), e = n(null);
3386
+ const a = i, l = s(Le), e = s(null);
3397
3387
  return K(() => {
3398
3388
  l.value = a.id || "tab-list-" + Q();
3399
3389
  }), (t, p) => (m(), B("div", {
@@ -3403,9 +3393,9 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3403
3393
  class: R(d(z)("db-tab-list", a.class))
3404
3394
  }, [
3405
3395
  T("ul", Mi, [
3406
- D(t.$slots, "default")
3396
+ E(t.$slots, "default")
3407
3397
  ])
3408
- ], 10, Ni));
3398
+ ], 10, Fi));
3409
3399
  }
3410
3400
  }), zi = ["id", "aria-labelledby"], qi = /* @__PURE__ */ V({
3411
3401
  __name: "tab-panel",
@@ -3420,7 +3410,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3420
3410
  labelledBy: { default: void 0 }
3421
3411
  },
3422
3412
  setup(i) {
3423
- const a = i, l = n(null);
3413
+ const a = i, l = s(null);
3424
3414
  return K(() => {
3425
3415
  }), (e, t) => (m(), B("section", {
3426
3416
  role: "tabpanel",
@@ -3431,9 +3421,9 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3431
3421
  "aria-labelledby": e.labelledBy
3432
3422
  }, [
3433
3423
  e.content ? (m(), B(P, { key: 0 }, [
3434
- F(_(e.content), 1)
3424
+ N(L(e.content), 1)
3435
3425
  ], 64)) : q("", !0),
3436
- D(e.$slots, "default")
3426
+ E(e.$slots, "default")
3437
3427
  ], 10, zi));
3438
3428
  }
3439
3429
  }), Vi = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], Il = /* @__PURE__ */ V({
@@ -3460,20 +3450,20 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3460
3450
  tabSelect: {}
3461
3451
  },
3462
3452
  setup(i) {
3463
- const a = i, l = n("tabs-" + Q()), e = n(""), t = n(!1), p = n(!1), u = n(!1), g = n(null), r = n(null);
3453
+ const a = i, l = s("tabs-" + Q()), e = s(""), t = s(!1), p = s(!1), u = s(!1), g = s(null), r = s(null);
3464
3454
  K(() => {
3465
3455
  l.value = a.id || l.value, e.value = `tabs-${a.name || Q()}`, t.value = !0;
3466
- }), E(
3456
+ }), D(
3467
3457
  () => [r.value, t.value],
3468
3458
  () => {
3469
3459
  if (r.value && t.value) {
3470
- y(), h(!0);
3471
- const v = r.value.querySelector(".db-tab-list");
3472
- v && new MutationObserver((A) => {
3460
+ S(), h(!0);
3461
+ const c = r.value.querySelector(".db-tab-list");
3462
+ c && new MutationObserver((A) => {
3473
3463
  A.forEach((b) => {
3474
- (b.removedNodes.length || b.addedNodes.length) && (y(), h());
3464
+ (b.removedNodes.length || b.addedNodes.length) && (S(), h());
3475
3465
  });
3476
- }).observe(v, {
3466
+ }).observe(c, {
3477
3467
  childList: !0,
3478
3468
  subtree: !0
3479
3469
  }), t.value = !1;
@@ -3484,42 +3474,42 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3484
3474
  flush: "post"
3485
3475
  }
3486
3476
  );
3487
- function c() {
3477
+ function n() {
3488
3478
  try {
3489
3479
  return typeof a.tabs == "string" ? JSON.parse(a.tabs) : a.tabs;
3490
- } catch (v) {
3491
- console.error(v);
3480
+ } catch (c) {
3481
+ console.error(c);
3492
3482
  }
3493
3483
  return [];
3494
3484
  }
3495
- function s(v) {
3496
- const I = v.scrollWidth > v.clientWidth;
3497
- p.value = I && v.scrollLeft > 1, u.value = I && v.scrollLeft < v.scrollWidth - v.clientWidth;
3485
+ function f(c) {
3486
+ const I = c.scrollWidth > c.clientWidth;
3487
+ p.value = I && c.scrollLeft > 1, u.value = I && c.scrollLeft < c.scrollWidth - c.clientWidth;
3498
3488
  }
3499
- function L(v) {
3489
+ function _(c) {
3500
3490
  var A;
3501
3491
  let I = Number(a.arrowScrollDistance) || 100;
3502
- v && (I *= -1), (A = g.value) == null || A.scrollBy({
3492
+ c && (I *= -1), (A = g.value) == null || A.scrollBy({
3503
3493
  top: 0,
3504
3494
  left: I,
3505
3495
  behavior: "smooth"
3506
3496
  });
3507
3497
  }
3508
- function y() {
3498
+ function S() {
3509
3499
  if (r.value) {
3510
- const v = r.value.querySelector(".db-tab-list");
3511
- if (v) {
3512
- const I = v.querySelector('[role="tablist"]');
3500
+ const c = r.value.querySelector(".db-tab-list");
3501
+ if (c) {
3502
+ const I = c.querySelector('[role="tablist"]');
3513
3503
  I && (I.setAttribute(
3514
3504
  "aria-orientation",
3515
3505
  a.orientation || "horizontal"
3516
- ), a.behavior === "arrows" && (g.value = I, s(I), I.addEventListener("scroll", () => {
3517
- s(I);
3506
+ ), a.behavior === "arrows" && (g.value = I, f(I), I.addEventListener("scroll", () => {
3507
+ f(I);
3518
3508
  })));
3519
3509
  }
3520
3510
  }
3521
3511
  }
3522
- function h(v) {
3512
+ function h(c) {
3523
3513
  if (r.value) {
3524
3514
  const I = Array.from(
3525
3515
  r.value.getElementsByClassName("db-tab-item")
@@ -3529,32 +3519,32 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3529
3519
  )
3530
3520
  );
3531
3521
  for (const b of I) {
3532
- const w = I.indexOf(b), W = b.querySelector("label"), k = b.querySelector("input");
3533
- if (k && W) {
3534
- if (!k.id) {
3535
- const O = `${e.value}-tab-${w}`;
3536
- W.setAttribute("for", O), k.id = O, k.setAttribute("name", e.value), A.length > w && k.setAttribute(
3522
+ const k = I.indexOf(b), W = b.querySelector("label"), y = b.querySelector("input");
3523
+ if (y && W) {
3524
+ if (!y.id) {
3525
+ const O = `${e.value}-tab-${k}`;
3526
+ W.setAttribute("for", O), y.id = O, y.setAttribute("name", e.value), A.length > k && y.setAttribute(
3537
3527
  "aria-controls",
3538
- `${e.value}-tab-panel-${w}`
3528
+ `${e.value}-tab-panel-${k}`
3539
3529
  );
3540
3530
  }
3541
- if (v) {
3542
- const O = !a.initialSelectedMode || a.initialSelectedMode === "auto", S = a.initialSelectedIndex == null && w === 0 || Number(a.initialSelectedIndex) === w;
3543
- O && S && k.click();
3531
+ if (c) {
3532
+ const O = !a.initialSelectedMode || a.initialSelectedMode === "auto", w = a.initialSelectedIndex == null && k === 0 || Number(a.initialSelectedIndex) === k;
3533
+ O && w && y.click();
3544
3534
  }
3545
3535
  }
3546
3536
  }
3547
3537
  for (const b of A) {
3548
3538
  if (b.id) continue;
3549
- const w = A.indexOf(b);
3550
- b.id = `${e.value}-tab-panel-${w}`, b.setAttribute("aria-labelledby", `${e.value}-tab-${w}`);
3539
+ const k = A.indexOf(b);
3540
+ b.id = `${e.value}-tab-panel-${k}`, b.setAttribute("aria-labelledby", `${e.value}-tab-${k}`);
3551
3541
  }
3552
3542
  }
3553
3543
  }
3554
- function f(v) {
3555
- var w;
3556
- v.stopPropagation();
3557
- const I = (w = v.target) == null ? void 0 : w.closest;
3544
+ function v(c) {
3545
+ var k;
3546
+ c.stopPropagation();
3547
+ const I = (k = c.target) == null ? void 0 : k.closest;
3558
3548
  if (!I) return;
3559
3549
  const A = I("ul"), b = (
3560
3550
  // db-tab-item for angular and stencil wrapping elements
@@ -3564,18 +3554,18 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3564
3554
  const W = Array.from(A.childNodes).indexOf(b);
3565
3555
  a.onIndexChange && a.onIndexChange(W);
3566
3556
  }
3567
- a.onTabSelect && a.onTabSelect(v);
3557
+ a.onTabSelect && a.onTabSelect(c);
3568
3558
  }
3569
- return (v, I) => (m(), B("div", {
3559
+ return (c, I) => (m(), B("div", {
3570
3560
  ref_key: "_ref",
3571
3561
  ref: r,
3572
3562
  id: l.value,
3573
3563
  class: R(d(z)("db-tabs", a.class)),
3574
- "data-orientation": v.orientation,
3575
- "data-scroll-behavior": v.behavior,
3576
- "data-alignment": v.alignment ?? "start",
3577
- "data-width": v.width ?? "auto",
3578
- onInput: I[0] || (I[0] = async (A) => f(A))
3564
+ "data-orientation": c.orientation,
3565
+ "data-scroll-behavior": c.behavior,
3566
+ "data-alignment": c.alignment ?? "start",
3567
+ "data-width": c.width ?? "auto",
3568
+ onInput: I[0] || (I[0] = async (A) => v(A))
3579
3569
  }, [
3580
3570
  p.value ? (m(), Z(Be, {
3581
3571
  key: 0,
@@ -3584,19 +3574,19 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3584
3574
  icon: "chevron_left",
3585
3575
  type: "button",
3586
3576
  noText: !0,
3587
- onClick: (A) => L(!0)
3577
+ onClick: (A) => _(!0)
3588
3578
  }, {
3589
3579
  default: G(() => I[1] || (I[1] = [
3590
- F(" Scroll left ")
3580
+ N(" Scroll left ")
3591
3581
  ])),
3592
3582
  _: 1,
3593
3583
  __: [1]
3594
3584
  }, 8, ["onClick"])) : q("", !0),
3595
- v.tabs ? (m(), B(P, { key: 1 }, [
3585
+ c.tabs ? (m(), B(P, { key: 1 }, [
3596
3586
  ae(Ri, null, {
3597
3587
  default: G(() => [
3598
- (m(!0), B(P, null, be(c(), (A, b) => (m(), Z(Fi, {
3599
- key: v.name + "tab-item" + b,
3588
+ (m(!0), B(P, null, be(n(), (A, b) => (m(), Z(Ni, {
3589
+ key: c.name + "tab-item" + b,
3600
3590
  active: A.active,
3601
3591
  label: A.label,
3602
3592
  iconAfter: A.iconAfter,
@@ -3606,12 +3596,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3606
3596
  ]),
3607
3597
  _: 1
3608
3598
  }),
3609
- (m(!0), B(P, null, be(c(), (A, b) => (m(), Z(qi, {
3610
- key: v.name + "tab-panel" + b,
3599
+ (m(!0), B(P, null, be(n(), (A, b) => (m(), Z(qi, {
3600
+ key: c.name + "tab-panel" + b,
3611
3601
  content: A.content
3612
3602
  }, {
3613
3603
  default: G(() => [
3614
- F(_(A.children), 1)
3604
+ N(L(A.children), 1)
3615
3605
  ]),
3616
3606
  _: 2
3617
3607
  }, 1032, ["content"]))), 128))
@@ -3623,18 +3613,18 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3623
3613
  icon: "chevron_right",
3624
3614
  type: "button",
3625
3615
  noText: !0,
3626
- onClick: (A) => L()
3616
+ onClick: (A) => _()
3627
3617
  }, {
3628
3618
  default: G(() => I[2] || (I[2] = [
3629
- F(" Scroll right ")
3619
+ N(" Scroll right ")
3630
3620
  ])),
3631
3621
  _: 1,
3632
3622
  __: [2]
3633
3623
  }, 8, ["onClick"])) : q("", !0),
3634
- D(v.$slots, "default")
3624
+ E(c.$slots, "default")
3635
3625
  ], 42, Vi));
3636
3626
  }
3637
- }), Pi = ["data-variant", "data-hide-label"], Ui = ["for"], Gi = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "data-resize", "data-hide-resizer", "disabled", "required", "data-hide-asterisk", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Wi = {
3627
+ }), Pi = ["data-variant", "data-hide-asterisk", "data-hide-label"], Ui = ["for"], Gi = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "data-resize", "data-hide-resizer", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Wi = {
3638
3628
  "data-visually-hidden": "true",
3639
3629
  role: "status"
3640
3630
  }, $l = /* @__PURE__ */ V({
@@ -3688,36 +3678,36 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3688
3678
  },
3689
3679
  emits: ["update:value"],
3690
3680
  setup(i, { emit: a }) {
3691
- const l = a, e = i, t = n(void 0), p = n(void 0), u = n(void 0), g = n(void 0), r = n(void 0), c = n(""), s = n(""), L = n(""), y = n(null);
3681
+ const l = a, e = i, t = s(void 0), p = s(void 0), u = s(void 0), g = s(void 0), r = s(void 0), n = s(""), f = s(""), _ = s(""), S = s(null);
3692
3682
  K(() => {
3693
- const w = e.id ?? `textarea-${Q()}`;
3694
- t.value = w, p.value = w + ve, u.value = w + fe, g.value = w + pe, r.value = e.invalidMessage || ie;
3695
- }), E(
3696
- () => [y.value, e.invalidMessage],
3683
+ const k = e.id ?? `textarea-${Q()}`;
3684
+ t.value = k, p.value = k + ve, u.value = k + fe, g.value = k + pe, r.value = e.invalidMessage || ie;
3685
+ }), D(
3686
+ () => [S.value, e.invalidMessage],
3697
3687
  () => {
3698
- var w;
3699
- r.value = e.invalidMessage || ((w = y.value) == null ? void 0 : w.validationMessage) || ie;
3688
+ var k;
3689
+ r.value = e.invalidMessage || ((k = S.value) == null ? void 0 : k.validationMessage) || ie;
3700
3690
  },
3701
3691
  {
3702
3692
  immediate: !0,
3703
3693
  flush: "post"
3704
3694
  }
3705
- ), E(
3695
+ ), D(
3706
3696
  () => [t.value],
3707
3697
  () => {
3708
3698
  if (t.value) {
3709
- const w = t.value + ve;
3710
- p.value = w, u.value = t.value + fe, g.value = t.value + pe, ee(e.message, e.showMessage) && (c.value = w);
3699
+ const k = t.value + ve;
3700
+ p.value = k, u.value = t.value + fe, g.value = t.value + pe, ee(e.message, e.showMessage) && (n.value = k);
3711
3701
  }
3712
3702
  },
3713
3703
  {
3714
3704
  immediate: !0,
3715
3705
  flush: "post"
3716
3706
  }
3717
- ), E(
3707
+ ), D(
3718
3708
  () => [e.value],
3719
3709
  () => {
3720
- s.value = e.value;
3710
+ f.value = e.value;
3721
3711
  },
3722
3712
  {
3723
3713
  immediate: !0,
@@ -3727,66 +3717,66 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3727
3717
  function h() {
3728
3718
  return !!(e.validMessage ?? e.validation === "valid");
3729
3719
  }
3730
- function f() {
3731
- var w, W, k;
3732
- !((w = y.value) != null && w.validity.valid) || e.validation === "invalid" ? (c.value = g.value, r.value = e.invalidMessage || ((W = y.value) == null ? void 0 : W.validationMessage) || ie, me() && (L.value = r.value, x(() => L.value = "", 1e3))) : h() && ((k = y.value) != null && k.validity.valid) && (e.required || e.minLength || e.maxLength) ? (c.value = u.value, me() && (L.value = e.validMessage ?? he, x(() => L.value = "", 1e3))) : ee(e.message, e.showMessage) ? c.value = p.value : c.value = "";
3720
+ function v() {
3721
+ var k, W, y;
3722
+ !((k = S.value) != null && k.validity.valid) || e.validation === "invalid" ? (n.value = g.value, r.value = e.invalidMessage || ((W = S.value) == null ? void 0 : W.validationMessage) || ie, me() && (_.value = r.value, x(() => _.value = "", 1e3))) : h() && ((y = S.value) != null && y.validity.valid) && (e.required || e.minLength || e.maxLength) ? (n.value = u.value, me() && (_.value = e.validMessage ?? he, x(() => _.value = "", 1e3))) : ee(e.message, e.showMessage) ? n.value = p.value : n.value = "";
3733
3723
  }
3734
- function v(w) {
3735
- e.input && e.input(w), s.value = w.target.value, e.onInput && e.onInput(w), se(l, w), f();
3724
+ function c(k) {
3725
+ e.input && e.input(k), f.value = k.target.value, e.onInput && e.onInput(k), se(l, k), v();
3736
3726
  }
3737
- function I(w) {
3738
- e.onChange && e.onChange(w), se(l, w), f();
3727
+ function I(k) {
3728
+ e.onChange && e.onChange(k), se(l, k), v();
3739
3729
  }
3740
- function A(w) {
3741
- e.onBlur && e.onBlur(w);
3730
+ function A(k) {
3731
+ e.onBlur && e.onBlur(k);
3742
3732
  }
3743
- function b(w) {
3744
- e.onFocus && e.onFocus(w);
3733
+ function b(k) {
3734
+ e.onFocus && e.onFocus(k);
3745
3735
  }
3746
- return (w, W) => (m(), B("div", {
3736
+ return (k, W) => (m(), B("div", {
3747
3737
  class: R(d(z)("db-textarea", e.class)),
3748
- "data-variant": w.variant,
3749
- "data-hide-label": d(X)(w.showLabel)
3738
+ "data-variant": k.variant,
3739
+ "data-hide-asterisk": d(X)(k.showRequiredAsterisk),
3740
+ "data-hide-label": d(X)(k.showLabel)
3750
3741
  }, [
3751
- T("label", { for: t.value }, _(w.label ?? d(we)), 9, Ui),
3742
+ T("label", { for: t.value }, L(k.label ?? d(we)), 9, Ui),
3752
3743
  T("textarea", {
3753
- "aria-invalid": w.validation === "invalid",
3754
- "data-custom-validity": w.validation,
3755
- "data-field-sizing": w.fieldSizing,
3744
+ "aria-invalid": k.validation === "invalid",
3745
+ "data-custom-validity": k.validation,
3746
+ "data-field-sizing": k.fieldSizing,
3756
3747
  ref_key: "_ref",
3757
- ref: y,
3748
+ ref: S,
3758
3749
  id: t.value,
3759
- "data-resize": w.resize,
3760
- "data-hide-resizer": d(X)(w.showResizer ?? !0),
3761
- disabled: d(M)(w.disabled, "disabled"),
3762
- required: d(M)(w.required, "required"),
3763
- "data-hide-asterisk": d(X)(w.showRequiredAsterisk),
3764
- readOnly: d(M)(w.readOnly, "readOnly") || d(M)(w.readonly, "readonly"),
3765
- form: w.form,
3766
- maxLength: d(Se)(w.maxLength, w.maxlength),
3767
- minLength: d(Se)(w.minLength, w.minlength),
3768
- name: w.name,
3769
- wrap: w.wrap,
3770
- spellcheck: w.spellCheck,
3771
- autocomplete: w.autocomplete,
3772
- onInput: W[0] || (W[0] = async (k) => v(k)),
3773
- onChange: W[1] || (W[1] = async (k) => I(k)),
3774
- onBlur: W[2] || (W[2] = async (k) => A(k)),
3775
- onFocus: W[3] || (W[3] = async (k) => b(k)),
3776
- value: w.value ?? s.value,
3777
- "aria-describedby": w.ariaDescribedBy ?? c.value,
3778
- placeholder: w.placeholder ?? d(aa),
3779
- rows: d(Se)(w.rows, d(Ma)),
3780
- cols: d(Se)(w.cols)
3750
+ "data-resize": k.resize,
3751
+ "data-hide-resizer": d(X)(k.showResizer ?? !0),
3752
+ disabled: d(M)(k.disabled, "disabled"),
3753
+ required: d(M)(k.required, "required"),
3754
+ readOnly: d(M)(k.readOnly, "readOnly") || d(M)(k.readonly, "readonly"),
3755
+ form: k.form,
3756
+ maxLength: d(Se)(k.maxLength, k.maxlength),
3757
+ minLength: d(Se)(k.minLength, k.minlength),
3758
+ name: k.name,
3759
+ wrap: k.wrap,
3760
+ spellcheck: k.spellCheck,
3761
+ autocomplete: k.autocomplete,
3762
+ onInput: W[0] || (W[0] = async (y) => c(y)),
3763
+ onChange: W[1] || (W[1] = async (y) => I(y)),
3764
+ onBlur: W[2] || (W[2] = async (y) => A(y)),
3765
+ onFocus: W[3] || (W[3] = async (y) => b(y)),
3766
+ value: k.value ?? f.value,
3767
+ "aria-describedby": k.ariaDescribedBy ?? n.value,
3768
+ placeholder: k.placeholder ?? d(aa),
3769
+ rows: d(Se)(k.rows, d(Fa)),
3770
+ cols: d(Se)(k.cols)
3781
3771
  }, null, 40, Gi),
3782
- d(ee)(w.message, w.showMessage) ? (m(), Z(te, {
3772
+ d(ee)(k.message, k.showMessage) ? (m(), Z(te, {
3783
3773
  key: 0,
3784
3774
  size: "small",
3785
- icon: w.messageIcon,
3775
+ icon: k.messageIcon,
3786
3776
  id: p.value
3787
3777
  }, {
3788
3778
  default: G(() => [
3789
- F(_(w.message), 1)
3779
+ N(L(k.message), 1)
3790
3780
  ]),
3791
3781
  _: 1
3792
3782
  }, 8, ["icon", "id"])) : q("", !0),
@@ -3797,7 +3787,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3797
3787
  id: u.value
3798
3788
  }, {
3799
3789
  default: G(() => [
3800
- F(_(w.validMessage || d(he)), 1)
3790
+ N(L(k.validMessage || d(he)), 1)
3801
3791
  ]),
3802
3792
  _: 1
3803
3793
  }, 8, ["id"])) : q("", !0),
@@ -3807,14 +3797,14 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3807
3797
  id: g.value
3808
3798
  }, {
3809
3799
  default: G(() => [
3810
- F(_(r.value), 1)
3800
+ N(L(r.value), 1)
3811
3801
  ]),
3812
3802
  _: 1
3813
3803
  }, 8, ["id"]),
3814
- T("span", Wi, _(L.value), 1)
3804
+ T("span", Wi, L(_.value), 1)
3815
3805
  ], 10, Pi));
3816
3806
  }
3817
- }), Ll = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], _l = ["medium", "small", "large", "none"], Tl = ["medium", "small", "large", "none"], Oi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Hi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], Al = [...Oi, ...Hi], Cl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], El = ["horizontal", "vertical"], Dl = ["full", "auto"], Fl = ["full", "medium", "large", "small"], Nl = ["none", "slow", "fast"], Ml = ["auto", "fixed"], Rl = ["small", "medium"], zl = ["weak", "strong"], ql = ["invalid", "valid", "no-validation"], Vl = ["fixed", "content"], Pl = ["above", "floating"], Ul = ["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"], Gl = ["time", "true", "false", "date", "page", "step", "location"], Wl = ["_self", "_blank", "_parent", "_top"], Ol = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], Hl = ["start", "center"];
3807
+ }), Ll = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], _l = ["medium", "small", "large", "none"], Tl = ["medium", "small", "large", "none"], Oi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Hi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], Al = [...Oi, ...Hi], Cl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], El = ["horizontal", "vertical"], Dl = ["full", "auto"], Nl = ["full", "medium", "large", "small"], Fl = ["none", "slow", "fast"], Ml = ["auto", "fixed"], Rl = ["small", "medium"], zl = ["weak", "strong"], ql = ["invalid", "valid", "no-validation"], Vl = ["fixed", "content"], Pl = ["above", "floating"], Ul = ["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"], Gl = ["time", "true", "false", "date", "page", "step", "location"], Wl = ["_self", "_blank", "_parent", "_top"], Ol = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], Hl = ["start", "center"];
3818
3808
  export {
3819
3809
  Hl as AlignmentList,
3820
3810
  Ul as AutoCompleteList,
@@ -3824,23 +3814,23 @@ export {
3824
3814
  Ji as COLOR_CONST,
3825
3815
  la as COLOR_SIMPLE,
3826
3816
  il as DBAccordion,
3827
- Wa as DBAccordionItem,
3817
+ Ga as DBAccordionItem,
3828
3818
  ll as DBBadge,
3829
3819
  ol as DBBrand,
3830
3820
  Be as DBButton,
3831
3821
  dl as DBCard,
3832
3822
  nl as DBCheckbox,
3833
3823
  sl as DBCustomSelect,
3834
- lt as DBCustomSelectDropdown,
3824
+ it as DBCustomSelectDropdown,
3835
3825
  ul as DBCustomSelectFormField,
3836
- ct as DBCustomSelectList,
3837
- ut as DBCustomSelectListItem,
3826
+ rt as DBCustomSelectList,
3827
+ st as DBCustomSelectListItem,
3838
3828
  rl as DBDivider,
3839
- Wt as DBDrawer,
3829
+ Gt as DBDrawer,
3840
3830
  cl as DBHeader,
3841
3831
  vl as DBIcon,
3842
3832
  te as DBInfotext,
3843
- bt as DBInput,
3833
+ gt as DBInput,
3844
3834
  fl as DBLink,
3845
3835
  pl as DBNavigation,
3846
3836
  hl as DBNavigationItem,
@@ -3852,15 +3842,15 @@ export {
3852
3842
  wl as DBSelect,
3853
3843
  Sl as DBStack,
3854
3844
  Bl as DBSwitch,
3855
- Fi as DBTabItem,
3845
+ Ni as DBTabItem,
3856
3846
  Ri as DBTabList,
3857
3847
  qi as DBTabPanel,
3858
3848
  Il as DBTabs,
3859
- wt as DBTag,
3849
+ kt as DBTag,
3860
3850
  $l as DBTextarea,
3861
3851
  ra as DBTooltip,
3862
- Ea as DEFAULT_BACK,
3863
- Fa as DEFAULT_BURGER_MENU,
3852
+ Ca as DEFAULT_BACK,
3853
+ Da as DEFAULT_BURGER_MENU,
3864
3854
  Ge as DEFAULT_CLOSE_BUTTON,
3865
3855
  Ze as DEFAULT_DATALIST_ID_SUFFIX,
3866
3856
  Na as DEFAULT_ICON,
@@ -3869,21 +3859,21 @@ export {
3869
3859
  pe as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
3870
3860
  we as DEFAULT_LABEL,
3871
3861
  Je as DEFAULT_LABEL_ID_SUFFIX,
3872
- Ca as DEFAULT_MESSAGE,
3862
+ Aa as DEFAULT_MESSAGE,
3873
3863
  ve as DEFAULT_MESSAGE_ID_SUFFIX,
3874
3864
  aa as DEFAULT_PLACEHOLDER,
3875
3865
  Re as DEFAULT_PLACEHOLDER_ID_SUFFIX,
3876
3866
  ta as DEFAULT_REMOVE,
3877
- Ma as DEFAULT_ROWS,
3878
- Da as DEFAULT_SELECTED,
3867
+ Fa as DEFAULT_ROWS,
3868
+ Ea as DEFAULT_SELECTED,
3879
3869
  Qe as DEFAULT_SELECT_ID_SUFFIX,
3880
3870
  he as DEFAULT_VALID_MESSAGE,
3881
3871
  fe as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
3882
- Ra as DEFAULT_VIEWPORT,
3872
+ Ma as DEFAULT_VIEWPORT,
3883
3873
  Qi as DENSITIES,
3884
3874
  ia as DENSITY,
3885
3875
  Ki as DENSITY_CONST,
3886
- za as DESKTOP_VIEWPORT,
3876
+ Ra as DESKTOP_VIEWPORT,
3887
3877
  zl as EmphasisList,
3888
3878
  Vl as FieldSizingList,
3889
3879
  Cl as GapSpacingList,
@@ -3892,13 +3882,13 @@ export {
3892
3882
  Ol as LinkReferrerPolicyList,
3893
3883
  Wl as LinkTargetList,
3894
3884
  Tl as MarginList,
3895
- Fl as MaxWidthList,
3885
+ Nl as MaxWidthList,
3896
3886
  Ot as NavigationItemSafeTriangle,
3897
3887
  El as OrientationList,
3898
3888
  Oi as PlacementHorizontalList,
3899
3889
  Al as PlacementList,
3900
3890
  Hi as PlacementVerticalList,
3901
- Nl as PopoverDelayList,
3891
+ Fl as PopoverDelayList,
3902
3892
  Ml as PopoverWidthList,
3903
3893
  da as SEMANTIC,
3904
3894
  el as SEMANTICS,
@@ -3919,9 +3909,9 @@ export {
3919
3909
  tl as getOptionKey,
3920
3910
  ea as getSearchInput,
3921
3911
  me as hasVoiceOver,
3922
- qa as isArrayOfStrings,
3923
- ca as isEventTargetNavigationItem,
3924
- Pa as isKeyboardEvent,
3912
+ za as isArrayOfStrings,
3913
+ Wt as isEventTargetNavigationItem,
3914
+ Va as isKeyboardEvent,
3925
3915
  ee as stringPropVisible,
3926
3916
  Q as uuid
3927
3917
  };