@db-ux/v-core-components 4.4.0 → 4.4.1-floating-components-066d296

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,27 +1,27 @@
1
- import { defineComponent as G, ref as o, onMounted as Q, watch as C, createElementBlock as y, openBlock as v, normalizeClass as q, unref as n, createElementVNode as E, createCommentVNode as z, renderSlot as M, Fragment as W, createTextVNode as D, toDisplayString as S, renderList as ge, createBlock as J, onUnmounted as me, createVNode as ie, withCtx as U } from "vue";
2
- const Ee = "OVERWRITE_DEFAULT_ID", ke = "LABEL SHOULD BE SET", ea = " ", Ia = "MESSAGE SHOULD BE SET", Ye = "-label", Je = "-select", re = "-message", ve = "-valid-message", fe = "-invalid-message", Fe = "-placeholder", Qe = "-datalist", ue = "TODO: Add a validMessage", te = "TODO: Add an invalidMessage", aa = "Remove", xa = "Back", $a = "Selected", Ta = "BurgerMenu", Ca = "brand", Ea = 4, Oe = "Close", Ji = "density", Qi = "color";
3
- var ta = /* @__PURE__ */ ((e) => (e.FUNCTIONAL = "functional", e.REGULAR = "regular", e.EXPRESSIVE = "expressive", e))(ta || {});
4
- const Zi = Object.entries(ta).map(([, e]) => e);
5
- var ia = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e))(ia || {}), la = /* @__PURE__ */ ((e) => (e.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", e.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", e.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", e.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", e.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", e.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", e.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", e.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", e.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", e.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", e.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", e.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", e.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", e.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", e.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", e.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", e.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", e.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", e.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", e.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", e.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", e.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", e.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", e.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", e.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", e.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", e.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", e.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", e.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", e.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", e))(la || {});
6
- const _i = Object.entries(la).map(([, e]) => e), el = Object.entries(ia).map(([, e]) => e);
7
- var na = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.INFORMATIONAL = "informational", e.WARNING = "warning", e.SUCCESSFUL = "successful", e))(na || {});
8
- const al = Object.entries(na).map(([, e]) => e), Aa = {
1
+ import { defineComponent as G, ref as o, onMounted as Q, watch as C, createElementBlock as b, openBlock as h, normalizeClass as q, unref as n, createElementVNode as E, createCommentVNode as z, renderSlot as F, Fragment as W, createTextVNode as D, toDisplayString as L, renderList as ge, createBlock as J, onUnmounted as me, createVNode as ie, withCtx as U } from "vue";
2
+ const Ee = "OVERWRITE_DEFAULT_ID", ke = "LABEL SHOULD BE SET", tt = " ", xt = "MESSAGE SHOULD BE SET", Je = "-label", Qe = "-select", re = "-message", ve = "-valid-message", fe = "-invalid-message", Fe = "-placeholder", Ze = "-datalist", ue = "TODO: Add a validMessage", ae = "TODO: Add an invalidMessage", at = "Remove", Tt = "Back", $t = "Selected", Ct = "BurgerMenu", Et = "brand", At = 4, Ue = "Close", _i = "density", el = "color";
3
+ var it = /* @__PURE__ */ ((e) => (e.FUNCTIONAL = "functional", e.REGULAR = "regular", e.EXPRESSIVE = "expressive", e))(it || {});
4
+ const tl = Object.entries(it).map(([, e]) => e);
5
+ var lt = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e))(lt || {}), nt = /* @__PURE__ */ ((e) => (e.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", e.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", e.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", e.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", e.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", e.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", e.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", e.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", e.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", e.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", e.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", e.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", e.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", e.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", e.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", e.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", e.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", e.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", e.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", e.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", e.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", e.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", e.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", e.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", e.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", e.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", e.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", e.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", e.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", e.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", e))(nt || {});
6
+ const al = Object.entries(nt).map(([, e]) => e), il = Object.entries(lt).map(([, e]) => e);
7
+ var ot = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.INFORMATIONAL = "informational", e.WARNING = "warning", e.SUCCESSFUL = "successful", e))(ot || {});
8
+ const ll = Object.entries(ot).map(([, e]) => e), Dt = {
9
9
  width: 390,
10
10
  height: 884
11
- }, Da = {
11
+ }, Mt = {
12
12
  width: 1920,
13
13
  height: 1280
14
- }, tl = [{
14
+ }, nl = [{
15
15
  name: "desktop",
16
- ...Da
16
+ ...Mt
17
17
  }, {
18
18
  name: "tablet",
19
19
  width: 768,
20
20
  height: 1024
21
21
  }, {
22
22
  name: "mobile",
23
- ...Aa
24
- }], il = "db-ux-framework", ll = "db-ux-mode", ae = () => {
23
+ ...Dt
24
+ }], ol = "db-ux-framework", dl = "db-ux-mode", te = () => {
25
25
  if (typeof window < "u") {
26
26
  if (window.crypto?.randomUUID)
27
27
  return window.crypto.randomUUID();
@@ -29,50 +29,50 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
29
29
  return window.crypto.getRandomValues(new Uint32Array(3)).join("-");
30
30
  }
31
31
  return Math.random().toString().substring(2);
32
- }, oa = (e, t) => {
32
+ }, dt = (e, a) => {
33
33
  const l = e.children;
34
- Object.values(l).forEach((a) => {
35
- a.setAttribute(t.key, t.value), a.children.length > 0 && oa(a, t);
34
+ Object.values(l).forEach((t) => {
35
+ t.setAttribute(a.key, a.value), t.children.length > 0 && dt(t, a);
36
36
  });
37
37
  }, O = (...e) => {
38
- let t = "";
38
+ let a = "";
39
39
  for (const l of e)
40
40
  if (l)
41
41
  if (typeof l == "string")
42
- t += `${l} `;
42
+ a += `${l} `;
43
43
  else
44
- for (const a in l)
45
- l[a] && (t += `${a} `);
46
- return t.trim();
47
- }, Fa = (e) => Array.isArray(e) && e.every((t) => typeof t == "string"), Ma = ["Mac", "iPhone", "iPad", "iPod"], ce = () => typeof window < "u" && Ma.some((e) => window.navigator.userAgent.includes(e)), Na = () => {
44
+ for (const t in l)
45
+ l[t] && (a += `${t} `);
46
+ return a.trim();
47
+ }, Ft = (e) => Array.isArray(e) && e.every((a) => typeof a == "string"), Nt = ["Mac", "iPhone", "iPad", "iPod"], ce = () => typeof window < "u" && Nt.some((e) => window.navigator.userAgent.includes(e)), Rt = () => {
48
48
  if (typeof window > "u" || typeof navigator > "u") return !1;
49
- const e = navigator.userAgent, t = /iP(ad|hone|od)/.test(e), l = !!e.match(/Safari/) && !e.match(/CriOS|FxiOS|OPiOS|EdgiOS/);
50
- return t && l;
51
- }, Y = (e, t) => new Promise(() => setTimeout(e, t)), R = (e) => {
49
+ const e = navigator.userAgent, a = /iP(ad|hone|od)/.test(e), l = !!e.match(/Safari/) && !e.match(/CriOS|FxiOS|OPiOS|EdgiOS/);
50
+ return a && l;
51
+ }, Y = (e, a) => new Promise(() => setTimeout(e, a)), R = (e) => {
52
52
  if (e != null)
53
53
  return String(typeof e == "string" ? !!e : e);
54
- }, V = (e, t) => {
54
+ }, V = (e, a) => {
55
55
  if (e != null)
56
- return typeof e == "string" && t ? !!(t === e || e) : !!e;
57
- }, Le = (e, t) => {
58
- if (!(e == null && t == null))
59
- return Number(e ?? t);
60
- }, Ra = (e) => {
56
+ return typeof e == "string" && a ? !!(a === e || e) : !!e;
57
+ }, Le = (e, a) => {
58
+ if (!(e == null && a == null))
59
+ return Number(e ?? a);
60
+ }, zt = (e) => {
61
61
  if (e != null)
62
62
  return e === "any" ? "any" : Number(e);
63
- }, Ze = (e, t) => t && ["number", "range"].includes(t) ? Le(e) : e, oe = (e) => {
63
+ }, _e = (e, a) => a && ["number", "range"].includes(a) ? Le(e) : e, oe = (e) => {
64
64
  if (e != null)
65
65
  return R(!e);
66
- }, ee = (e, t) => (t === void 0 || !!t) && !!e, _e = (e) => e.querySelector('input[type="search"]'), nl = (e, t) => {
67
- const l = e.id ?? e.value ?? ae();
68
- return `${t}${l}`;
69
- }, za = (e) => e.key !== void 0, Pa = ({
66
+ }, ee = (e, a) => (a === void 0 || !!a) && !!e, et = (e) => e.querySelector('input[type="search"]'), sl = (e, a) => {
67
+ const l = e.id ?? e.value ?? te();
68
+ return `${a}${l}`;
69
+ }, Pt = (e) => e.key !== void 0, Vt = ({
70
70
  semantic: e,
71
- role: t,
71
+ role: a,
72
72
  ariaLive: l
73
73
  }) => {
74
- if (t)
75
- return t;
74
+ if (a)
75
+ return a;
76
76
  if (l)
77
77
  return "article";
78
78
  switch (e) {
@@ -85,7 +85,7 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
85
85
  default:
86
86
  return "article";
87
87
  }
88
- }, Va = ["id"], qa = ["aria-disabled", "name", "open"], Oa = /* @__PURE__ */ G({
88
+ }, qt = ["id"], Ot = ["aria-disabled", "name", "open"], Ut = /* @__PURE__ */ G({
89
89
  name: "DBAccordionItem",
90
90
  __name: "accordion-item",
91
91
  props: {
@@ -104,9 +104,9 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
104
104
  name: { default: void 0 }
105
105
  },
106
106
  setup(e) {
107
- const t = e, l = o(Ee), a = o(!1), i = o(void 0), c = o(!1), u = o(null);
107
+ const a = e, l = o(Ee), t = o(!1), i = o(void 0), c = o(!1), u = o(null);
108
108
  Q(() => {
109
- l.value = t.id || "accordion-item-" + ae(), t.defaultOpen && (a.value = t.defaultOpen), c.value = !0;
109
+ l.value = a.id || "accordion-item-" + te(), a.defaultOpen && (t.value = a.defaultOpen), c.value = !0;
110
110
  }), C(
111
111
  () => [u.value, c.value],
112
112
  () => {
@@ -117,48 +117,48 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
117
117
  flush: "post"
118
118
  }
119
119
  ), C(
120
- () => [t.name],
120
+ () => [a.name],
121
121
  () => {
122
- t.name && (i.value = t.name);
122
+ a.name && (i.value = a.name);
123
123
  },
124
124
  {
125
125
  immediate: !0,
126
126
  flush: "post"
127
127
  }
128
128
  );
129
- function f(m) {
129
+ function v(m) {
130
130
  m?.preventDefault();
131
- const h = !a.value;
132
- t.onToggle && t.onToggle(h), a.value = h;
131
+ const f = !t.value;
132
+ a.onToggle && a.onToggle(f), t.value = f;
133
133
  }
134
- return (m, h) => (v(), y("li", {
134
+ return (m, f) => (h(), b("li", {
135
135
  id: l.value,
136
- class: q(n(O)("db-accordion-item", t.class))
136
+ class: q(n(O)("db-accordion-item", a.class))
137
137
  }, [
138
138
  E("details", {
139
139
  "aria-disabled": n(R)(e.disabled),
140
140
  ref_key: "_ref",
141
141
  ref: u,
142
142
  name: i.value,
143
- open: a.value
143
+ open: t.value
144
144
  }, [
145
145
  E("summary", {
146
- onClick: h[0] || (h[0] = async (k) => f(k))
146
+ onClick: f[0] || (f[0] = async (k) => v(k))
147
147
  }, [
148
- e.headlinePlain ? (v(), y(W, { key: 0 }, [
149
- D(S(e.headlinePlain), 1)
148
+ e.headlinePlain ? (h(), b(W, { key: 0 }, [
149
+ D(L(e.headlinePlain), 1)
150
150
  ], 64)) : z("", !0),
151
- e.headlinePlain ? z("", !0) : M(m.$slots, "headline", { key: 1 })
151
+ e.headlinePlain ? z("", !0) : F(m.$slots, "headline", { key: 1 })
152
152
  ]),
153
153
  E("div", null, [
154
- e.text ? (v(), y(W, { key: 0 }, [
155
- D(S(e.text), 1)
156
- ], 64)) : M(m.$slots, "default", { key: 1 })
154
+ e.text ? (h(), b(W, { key: 0 }, [
155
+ D(L(e.text), 1)
156
+ ], 64)) : F(m.$slots, "default", { key: 1 })
157
157
  ])
158
- ], 8, qa)
159
- ], 10, Va));
158
+ ], 8, Ot)
159
+ ], 10, qt));
160
160
  }
161
- }), Ua = ["id", "data-variant"], ol = /* @__PURE__ */ G({
161
+ }), Gt = ["id", "data-variant"], ul = /* @__PURE__ */ G({
162
162
  name: "DBAccordion",
163
163
  __name: "accordion",
164
164
  props: {
@@ -175,26 +175,26 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
175
175
  autofocus: { type: [Boolean, String] }
176
176
  },
177
177
  setup(e) {
178
- const t = e, l = o(Ee), a = o(""), i = o(!1), c = o(!1), u = o(null);
178
+ const a = e, l = o(Ee), t = o(""), i = o(!1), c = o(!1), u = o(null);
179
179
  Q(() => {
180
- l.value = t.id || "accordion-" + ae(), i.value = !0, c.value = !0;
180
+ l.value = a.id || "accordion-" + te(), i.value = !0, c.value = !0;
181
181
  }), C(
182
- () => [i.value, t.name, t.behavior, l.value],
182
+ () => [i.value, a.name, a.behavior, l.value],
183
183
  () => {
184
- i.value && (t.behavior === "single" ? t.name ? a.value !== t.name && (a.value = t.name) : a.value !== l.value && l.value && (a.value = l.value) : a.value = "");
184
+ i.value && (a.behavior === "single" ? a.name ? t.value !== a.name && (t.value = a.name) : t.value !== l.value && l.value && (t.value = l.value) : t.value = "");
185
185
  },
186
186
  {
187
187
  immediate: !0,
188
188
  flush: "post"
189
189
  }
190
190
  ), C(
191
- () => [u.value, a.value],
191
+ () => [u.value, t.value],
192
192
  () => {
193
193
  if (u.value) {
194
194
  const m = u.value.getElementsByTagName("details");
195
195
  if (m)
196
- for (const h of Array.from(m))
197
- a.value === "" ? h.removeAttribute("name") : h.name = a.value ?? "";
196
+ for (const f of Array.from(m))
197
+ t.value === "" ? f.removeAttribute("name") : f.name = t.value ?? "";
198
198
  }
199
199
  },
200
200
  {
@@ -202,16 +202,16 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
202
202
  flush: "post"
203
203
  }
204
204
  ), C(
205
- () => [u.value, c.value, t.initOpenIndex],
205
+ () => [u.value, c.value, a.initOpenIndex],
206
206
  () => {
207
207
  if (u.value && c.value) {
208
- if (t.initOpenIndex && t.initOpenIndex.length > 0) {
208
+ if (a.initOpenIndex && a.initOpenIndex.length > 0) {
209
209
  const m = u.value.getElementsByTagName("details");
210
210
  if (m) {
211
- const h = t.behavior === "single" && t.initOpenIndex.length > 1 ? [t.initOpenIndex[0]] : t.initOpenIndex;
211
+ const f = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
212
212
  Array.from(m).forEach(
213
213
  (k, $) => {
214
- h?.includes($) && (k.open = !0);
214
+ f?.includes($) && (k.open = !0);
215
215
  }
216
216
  );
217
217
  }
@@ -224,31 +224,31 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
224
224
  flush: "post"
225
225
  }
226
226
  );
227
- function f() {
227
+ function v() {
228
228
  try {
229
- return typeof t.items == "string" ? JSON.parse(t.items) : t.items;
229
+ return typeof a.items == "string" ? JSON.parse(a.items) : a.items;
230
230
  } catch (m) {
231
231
  console.error(m);
232
232
  }
233
233
  return [];
234
234
  }
235
- return (m, h) => (v(), y("ul", {
235
+ return (m, f) => (h(), b("ul", {
236
236
  ref_key: "_ref",
237
237
  ref: u,
238
238
  id: l.value,
239
- class: q(n(O)("db-accordion", t.class)),
239
+ class: q(n(O)("db-accordion", a.class)),
240
240
  "data-variant": e.variant
241
241
  }, [
242
- e.items ? z("", !0) : M(m.$slots, "default", { key: 0 }),
243
- e.items ? (v(!0), y(W, { key: 1 }, ge(f(), (k, $) => (v(), J(Oa, {
242
+ e.items ? z("", !0) : F(m.$slots, "default", { key: 0 }),
243
+ e.items ? (h(!0), b(W, { key: 1 }, ge(v(), (k, $) => (h(), J(Ut, {
244
244
  key: `accordion-item-${$}`,
245
245
  headlinePlain: k.headlinePlain,
246
246
  disabled: k.disabled,
247
247
  text: k.text
248
248
  }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : z("", !0)
249
- ], 10, Ua));
249
+ ], 10, Gt));
250
250
  }
251
- }), dl = ["divider", "card"], sl = ["multiple", "single"], Ga = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], ul = /* @__PURE__ */ G({
251
+ }), cl = ["divider", "card"], rl = ["multiple", "single"], Wt = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], vl = /* @__PURE__ */ G({
252
252
  name: "DBBadge",
253
253
  __name: "badge",
254
254
  props: {
@@ -265,14 +265,14 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
265
265
  text: { default: void 0 }
266
266
  },
267
267
  setup(e) {
268
- const t = e, l = o(!1), a = o(null);
268
+ const a = e, l = o(!1), t = o(null);
269
269
  return Q(() => {
270
270
  l.value = !0;
271
271
  }), C(
272
- () => [a.value, l.value],
272
+ () => [t.value, l.value],
273
273
  () => {
274
- if (a.value && l.value && t.placement?.startsWith("corner")) {
275
- let i = a.value.parentElement;
274
+ if (t.value && l.value && a.placement?.startsWith("corner")) {
275
+ let i = t.value.parentElement;
276
276
  i && i.localName.includes("badge") && (i = i.parentElement), i && (i.dataset.hasBadge = "true");
277
277
  }
278
278
  },
@@ -280,23 +280,23 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
280
280
  immediate: !0,
281
281
  flush: "post"
282
282
  }
283
- ), (i, c) => (v(), y("span", {
283
+ ), (i, c) => (h(), b("span", {
284
284
  ref_key: "_ref",
285
- ref: a,
285
+ ref: t,
286
286
  id: e.id,
287
- class: q(n(O)("db-badge", t.class)),
287
+ class: q(n(O)("db-badge", a.class)),
288
288
  "data-semantic": e.semantic,
289
289
  "data-size": e.size,
290
290
  "data-emphasis": e.emphasis,
291
291
  "data-placement": e.placement,
292
292
  "data-label": e.placement?.startsWith("corner") && (e.label ?? n(ke))
293
293
  }, [
294
- e.text ? (v(), y(W, { key: 0 }, [
295
- D(S(e.text), 1)
296
- ], 64)) : M(i.$slots, "default", { key: 1 })
297
- ], 10, Ga));
294
+ e.text ? (h(), b(W, { key: 0 }, [
295
+ D(L(e.text), 1)
296
+ ], 64)) : F(i.$slots, "default", { key: 1 })
297
+ ], 10, Wt));
298
298
  }
299
- }), cl = ["inline", "corner-top-left", "corner-top-right", "corner-center-left", "corner-center-right", "corner-bottom-left", "corner-bottom-right"], Wa = ["data-icon", "data-show-icon", "id"], rl = /* @__PURE__ */ G({
299
+ }), fl = ["inline", "corner-top-left", "corner-top-right", "corner-center-left", "corner-center-right", "corner-bottom-left", "corner-bottom-right"], Ht = ["data-icon", "data-show-icon", "id"], hl = /* @__PURE__ */ G({
300
300
  name: "DBBrand",
301
301
  __name: "brand",
302
302
  props: {
@@ -311,21 +311,21 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
311
311
  text: { default: void 0 }
312
312
  },
313
313
  setup(e) {
314
- const t = e, l = o(null);
315
- return (a, i) => (v(), y("div", {
314
+ const a = e, l = o(null);
315
+ return (t, i) => (h(), b("div", {
316
316
  ref_key: "_ref",
317
317
  ref: l,
318
- "data-icon": e.hideLogo ? "none" : e.icon ?? n(Ca),
318
+ "data-icon": e.hideLogo ? "none" : e.icon ?? n(Et),
319
319
  "data-show-icon": n(R)(e.showIcon),
320
320
  id: e.id,
321
- class: q(n(O)("db-brand", t.class))
321
+ class: q(n(O)("db-brand", a.class))
322
322
  }, [
323
- e.text ? (v(), y(W, { key: 0 }, [
324
- D(S(e.text), 1)
325
- ], 64)) : M(a.$slots, "default", { key: 1 })
326
- ], 10, Wa));
323
+ e.text ? (h(), b(W, { key: 0 }, [
324
+ D(L(e.text), 1)
325
+ ], 64)) : F(t.$slots, "default", { key: 1 })
326
+ ], 10, Ht));
327
327
  }
328
- }), Ha = ["id", "type", "disabled", "data-icon", "data-show-icon", "data-icon-trailing", "data-show-icon-trailing", "data-size", "data-width", "data-variant", "data-no-text", "name", "form", "value"], we = /* @__PURE__ */ G({
328
+ }), Xt = ["id", "type", "disabled", "data-icon", "data-show-icon", "data-icon-trailing", "data-show-icon-trailing", "data-size", "data-width", "data-variant", "data-no-text", "name", "form", "value"], we = /* @__PURE__ */ G({
329
329
  name: "DBButton",
330
330
  __name: "button",
331
331
  props: {
@@ -354,19 +354,19 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
354
354
  iconTrailing: { default: void 0 }
355
355
  },
356
356
  setup(e) {
357
- const t = e, l = o(null);
358
- function a() {
359
- return t.type ? t.type : t.onClick ? "button" : "submit";
357
+ const a = e, l = o(null);
358
+ function t() {
359
+ return a.type ? a.type : a.onClick ? "button" : "submit";
360
360
  }
361
361
  function i(c) {
362
- t.onClick && t.onClick(c);
362
+ a.onClick && a.onClick(c);
363
363
  }
364
- return (c, u) => (v(), y("button", {
364
+ return (c, u) => (h(), b("button", {
365
365
  ref_key: "_ref",
366
366
  ref: l,
367
367
  id: e.id,
368
- class: q(n(O)("db-button", t.class)),
369
- type: a(),
368
+ class: q(n(O)("db-button", a.class)),
369
+ type: t(),
370
370
  disabled: n(V)(e.disabled, "disabled"),
371
371
  "data-icon": e.iconLeading ?? e.icon,
372
372
  "data-show-icon": n(R)(e.showIconLeading ?? e.showIcon),
@@ -379,14 +379,14 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
379
379
  name: e.name,
380
380
  form: e.form,
381
381
  value: e.value,
382
- onClick: u[0] || (u[0] = async (f) => i(f))
382
+ onClick: u[0] || (u[0] = async (v) => i(v))
383
383
  }, [
384
- e.text ? (v(), y(W, { key: 0 }, [
385
- D(S(e.text), 1)
386
- ], 64)) : M(c.$slots, "default", { key: 1 })
387
- ], 10, Ha));
384
+ e.text ? (h(), b(W, { key: 0 }, [
385
+ D(L(e.text), 1)
386
+ ], 64)) : F(c.$slots, "default", { key: 1 })
387
+ ], 10, Xt));
388
388
  }
389
- }), vl = ["outlined", "brand", "filled", "ghost"], fl = ["button", "reset", "submit"], Xa = ["id", "data-behavior", "data-elevation-level", "data-spacing"], hl = /* @__PURE__ */ G({
389
+ }), ml = ["outlined", "brand", "filled", "ghost"], gl = ["button", "reset", "submit"], jt = ["id", "data-behavior", "data-elevation-level", "data-spacing"], bl = /* @__PURE__ */ G({
390
390
  name: "DBCard",
391
391
  __name: "card",
392
392
  props: {
@@ -402,35 +402,35 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
402
402
  spacing: { default: void 0 }
403
403
  },
404
404
  setup(e) {
405
- const t = e, l = o(null);
406
- function a(i) {
407
- t.onClick && t.onClick(i);
405
+ const a = e, l = o(null);
406
+ function t(i) {
407
+ a.onClick && a.onClick(i);
408
408
  }
409
- return (i, c) => (v(), y("div", {
409
+ return (i, c) => (h(), b("div", {
410
410
  ref_key: "_ref",
411
411
  ref: l,
412
412
  id: e.id,
413
- class: q(n(O)("db-card", t.class)),
413
+ class: q(n(O)("db-card", a.class)),
414
414
  "data-behavior": e.behavior,
415
415
  "data-elevation-level": e.elevationLevel,
416
416
  "data-spacing": e.spacing,
417
- onClick: c[0] || (c[0] = async (u) => a(u))
417
+ onClick: c[0] || (c[0] = async (u) => t(u))
418
418
  }, [
419
- M(i.$slots, "default")
420
- ], 10, Xa));
419
+ F(i.$slots, "default")
420
+ ], 10, jt));
421
421
  }
422
- }), ml = ["static", "interactive"], gl = ["1", "2", "3"], se = (e, t, l = "value") => {
423
- e(`update:${l}`, t.target[l]);
424
- }, Me = (e, t, l) => {
425
- e.form && !e._dbFormResetListenerAdded && (e.form.addEventListener("reset", (a) => {
426
- t(a);
422
+ }), yl = ["static", "interactive"], kl = ["1", "2", "3"], se = (e, a, l = "value") => {
423
+ e(`update:${l}`, a.target[l]);
424
+ }, Ne = (e, a, l) => {
425
+ e.form && !e._dbFormResetListenerAdded && (e.form.addEventListener("reset", (t) => {
426
+ a(t);
427
427
  }, {
428
428
  signal: l
429
429
  }), e._dbFormResetListenerAdded = !0);
430
- }, da = (e, t, l, a) => {
431
- Me(e, (i) => {
430
+ }, st = (e, a, l, t) => {
431
+ Ne(e, (i) => {
432
432
  Y(() => {
433
- const c = t.checked ? t.checked : t.defaultChecked ? t.defaultChecked : e.checked, u = {
433
+ const c = a.checked ? a.checked : a.defaultChecked ? a.defaultChecked : e.checked, u = {
434
434
  ...i,
435
435
  target: {
436
436
  ...i.target,
@@ -439,11 +439,11 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
439
439
  };
440
440
  l(u);
441
441
  }, 1);
442
- }, a);
443
- }, Ue = (e, t, l, a) => {
444
- Me(e, (i) => {
442
+ }, t);
443
+ }, Ge = (e, a, l, t) => {
444
+ Ne(e, (i) => {
445
445
  Y(() => {
446
- const c = t.value ? t.value : t.defaultValue ? t.defaultValue : e.value, u = {
446
+ const c = a.value ? a.value : a.defaultValue ? a.defaultValue : e.value, u = {
447
447
  ...i,
448
448
  target: {
449
449
  ...i.target,
@@ -452,8 +452,8 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
452
452
  };
453
453
  l(u);
454
454
  }, 1);
455
- }, a);
456
- }, ja = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], _ = /* @__PURE__ */ G({
455
+ }, t);
456
+ }, Kt = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], _ = /* @__PURE__ */ G({
457
457
  name: "DBInfotext",
458
458
  __name: "infotext",
459
459
  props: {
@@ -469,26 +469,26 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
469
469
  text: { default: void 0 }
470
470
  },
471
471
  setup(e) {
472
- const t = e, l = o(null);
473
- return (a, i) => (v(), y("span", {
472
+ const a = e, l = o(null);
473
+ return (t, i) => (h(), b("span", {
474
474
  ref_key: "_ref",
475
475
  ref: l,
476
476
  id: e.id,
477
- class: q(n(O)("db-infotext", t.class)),
477
+ class: q(n(O)("db-infotext", a.class)),
478
478
  "data-icon": e.icon,
479
479
  "data-semantic": e.semantic,
480
480
  "data-size": e.size,
481
481
  "data-show-icon-leading": n(R)(e.showIcon ?? !0)
482
482
  }, [
483
- e.text ? (v(), y(W, { key: 0 }, [
484
- D(S(e.text), 1)
485
- ], 64)) : M(a.$slots, "default", { key: 1 })
486
- ], 10, ja));
483
+ e.text ? (h(), b(W, { key: 0 }, [
484
+ D(L(e.text), 1)
485
+ ], 64)) : F(t.$slots, "default", { key: 1 })
486
+ ], 10, Kt));
487
487
  }
488
- }), Ka = ["data-size", "data-hide-asterisk", "data-hide-label"], Ya = ["for"], Ja = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Qa = {
488
+ }), Yt = ["data-size", "data-hide-asterisk", "data-hide-label"], Jt = ["for"], Qt = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Zt = {
489
489
  "data-visually-hidden": "true",
490
490
  role: "status"
491
- }, bl = /* @__PURE__ */ G({
491
+ }, wl = /* @__PURE__ */ G({
492
492
  name: "DBCheckbox",
493
493
  __name: "checkbox",
494
494
  props: {
@@ -526,18 +526,18 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
526
526
  size: { default: void 0 }
527
527
  },
528
528
  emits: ["update:checked"],
529
- setup(e, { emit: t }) {
530
- const l = t, a = e, i = o(!1), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(void 0), $ = o(""), g = o(void 0), s = o(null);
529
+ setup(e, { emit: a }) {
530
+ const l = a, t = e, i = o(!1), c = o(void 0), u = o(void 0), v = o(void 0), m = o(void 0), f = o(void 0), k = o(void 0), $ = o(""), w = o(void 0), s = o(null);
531
531
  Q(() => {
532
532
  i.value = !0;
533
- const L = a.id ?? `checkbox-${ae()}`;
534
- c.value = L, u.value = L + re, f.value = L + ve, m.value = L + fe, h.value = a.invalidMessage || te;
533
+ const g = t.id ?? `checkbox-${te()}`;
534
+ c.value = g, u.value = g + re, v.value = g + ve, m.value = g + fe, f.value = t.invalidMessage || ae;
535
535
  }), me(() => {
536
- g.value?.abort();
536
+ w.value?.abort();
537
537
  }), C(
538
- () => [s.value, a.invalidMessage],
538
+ () => [s.value, t.invalidMessage],
539
539
  () => {
540
- h.value = a.invalidMessage || s.value?.validationMessage || te;
540
+ f.value = t.invalidMessage || s.value?.validationMessage || ae;
541
541
  },
542
542
  {
543
543
  immediate: !0,
@@ -547,8 +547,8 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
547
547
  () => [c.value],
548
548
  () => {
549
549
  if (c.value) {
550
- const L = c.value + re;
551
- u.value = L, f.value = c.value + ve, m.value = c.value + fe, ee(a.message, a.showMessage) && (k.value = L), b();
550
+ const g = c.value + re;
551
+ u.value = g, v.value = c.value + ve, m.value = c.value + fe, ee(t.message, t.showMessage) && (k.value = g), S();
552
552
  }
553
553
  },
554
554
  {
@@ -556,18 +556,18 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
556
556
  flush: "post"
557
557
  }
558
558
  ), C(
559
- () => [i.value, s.value, a.indeterminate],
559
+ () => [i.value, s.value, t.indeterminate],
560
560
  () => {
561
- s.value && a.indeterminate !== void 0 && (s.value.indeterminate = !!V(a.indeterminate));
561
+ s.value && t.indeterminate !== void 0 && (s.value.indeterminate = !!V(t.indeterminate));
562
562
  },
563
563
  {
564
564
  immediate: !0,
565
565
  flush: "post"
566
566
  }
567
567
  ), C(
568
- () => [i.value, s.value, a.checked],
568
+ () => [i.value, s.value, t.checked],
569
569
  () => {
570
- i.value && s.value && (a.checked != null && (s.value.checked = !!V(a.checked)), i.value = !1);
570
+ i.value && s.value && (t.checked != null && (s.value.checked = !!V(t.checked)), i.value = !1);
571
571
  },
572
572
  {
573
573
  immediate: !0,
@@ -577,17 +577,17 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
577
577
  () => [s.value],
578
578
  () => {
579
579
  if (s.value) {
580
- let B = g.value;
581
- B || (B = new AbortController(), g.value = B), da(
580
+ let p = w.value;
581
+ p || (p = new AbortController(), w.value = p), st(
582
582
  s.value,
583
583
  {
584
- checked: a.checked,
584
+ checked: t.checked,
585
585
  defaultChecked: void 0
586
586
  },
587
587
  (N) => {
588
- x(N);
588
+ y(N);
589
589
  },
590
- B.signal
590
+ p.signal
591
591
  );
592
592
  }
593
593
  },
@@ -597,22 +597,22 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
597
597
  }
598
598
  );
599
599
  function d() {
600
- return !!(a.validMessage ?? a.validation === "valid");
600
+ return !!(t.validMessage ?? t.validation === "valid");
601
601
  }
602
- function b() {
603
- !s.value?.validity.valid || a.validation === "invalid" ? (k.value = m.value, h.value = a.invalidMessage || s.value?.validationMessage || te, ce() && ($.value = h.value, Y(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && a.required ? (k.value = f.value, ce() && ($.value = a.validMessage ?? ue, Y(() => $.value = "", 1e3))) : ee(a.message, a.showMessage) ? k.value = u.value : k.value = void 0;
602
+ function S() {
603
+ !s.value?.validity.valid || t.validation === "invalid" ? (k.value = m.value, f.value = t.invalidMessage || s.value?.validationMessage || ae, ce() && ($.value = f.value, Y(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && t.required ? (k.value = v.value, ce() && ($.value = t.validMessage ?? ue, Y(() => $.value = "", 1e3))) : ee(t.message, t.showMessage) ? k.value = u.value : k.value = void 0;
604
604
  }
605
- function x(L, B) {
606
- a.onChange && a.onChange(L), se(l, L, "checked"), b();
605
+ function y(g, p) {
606
+ t.onChange && t.onChange(g), se(l, g, "checked"), S();
607
607
  }
608
- function T(L) {
609
- a.onBlur && a.onBlur(L);
608
+ function x(g) {
609
+ t.onBlur && t.onBlur(g);
610
610
  }
611
- function w(L) {
612
- a.onFocus && a.onFocus(L);
611
+ function B(g) {
612
+ t.onFocus && t.onFocus(g);
613
613
  }
614
- return (L, B) => (v(), y("div", {
615
- class: q(n(O)("db-checkbox", a.class)),
614
+ return (g, p) => (h(), b("div", {
615
+ class: q(n(O)("db-checkbox", t.class)),
616
616
  "data-size": e.size,
617
617
  "data-hide-asterisk": n(oe)(e.showRequiredAsterisk),
618
618
  "data-hide-label": n(oe)(e.showLabel)
@@ -630,34 +630,34 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
630
630
  disabled: n(V)(e.disabled, "disabled"),
631
631
  value: e.value,
632
632
  required: n(V)(e.required, "required"),
633
- onChange: B[0] || (B[0] = async (N) => x(N)),
634
- onBlur: B[1] || (B[1] = async (N) => T(N)),
635
- onFocus: B[2] || (B[2] = async (N) => w(N)),
633
+ onChange: p[0] || (p[0] = async (N) => y(N)),
634
+ onBlur: p[1] || (p[1] = async (N) => x(N)),
635
+ onFocus: p[2] || (p[2] = async (N) => B(N)),
636
636
  "aria-describedby": e.ariaDescribedBy ?? k.value
637
- }, null, 40, Ja),
638
- e.label ? (v(), y(W, { key: 0 }, [
639
- D(S(e.label), 1)
640
- ], 64)) : M(L.$slots, "default", { key: 1 })
641
- ], 8, Ya),
642
- n(ee)(e.message, e.showMessage) ? (v(), J(_, {
637
+ }, null, 40, Qt),
638
+ e.label ? (h(), b(W, { key: 0 }, [
639
+ D(L(e.label), 1)
640
+ ], 64)) : F(g.$slots, "default", { key: 1 })
641
+ ], 8, Jt),
642
+ n(ee)(e.message, e.showMessage) ? (h(), J(_, {
643
643
  key: 0,
644
644
  size: "small",
645
645
  icon: e.messageIcon,
646
646
  id: u.value
647
647
  }, {
648
648
  default: U(() => [
649
- D(S(e.message), 1)
649
+ D(L(e.message), 1)
650
650
  ]),
651
651
  _: 1
652
652
  }, 8, ["icon", "id"])) : z("", !0),
653
- d() ? (v(), J(_, {
653
+ d() ? (h(), J(_, {
654
654
  key: 1,
655
655
  size: "small",
656
656
  semantic: "successful",
657
- id: f.value
657
+ id: v.value
658
658
  }, {
659
659
  default: U(() => [
660
- D(S(e.validMessage || n(ue)), 1)
660
+ D(L(e.validMessage || n(ue)), 1)
661
661
  ]),
662
662
  _: 1
663
663
  }, 8, ["id"])) : z("", !0),
@@ -667,106 +667,106 @@ const al = Object.entries(na).map(([, e]) => e), Aa = {
667
667
  id: m.value
668
668
  }, {
669
669
  default: U(() => [
670
- D(S(h.value), 1)
670
+ D(L(f.value), 1)
671
671
  ]),
672
672
  _: 1
673
673
  }, 8, ["id"]),
674
- E("span", Qa, S($.value), 1)
675
- ], 10, Ka));
674
+ E("span", Zt, L($.value), 1)
675
+ ], 10, Yt));
676
676
  }
677
677
  });
678
678
  class he {
679
679
  static callbacks = {};
680
680
  static _instance = null;
681
- static runCallbacks(t) {
681
+ static runCallbacks(a) {
682
682
  for (const l of Object.values(he.callbacks))
683
- typeof l == "function" && l(t);
683
+ typeof l == "function" && l(a);
684
684
  }
685
685
  constructor() {
686
686
  if (he._instance)
687
687
  return he._instance;
688
- he._instance = this, self.document && self.document.addEventListener("click", (t) => he.runCallbacks(t));
688
+ he._instance = this, self.document && self.document.addEventListener("click", (a) => he.runCallbacks(a));
689
689
  }
690
- addCallback(t) {
691
- const l = ae();
692
- return he.callbacks[l] = t, l;
690
+ addCallback(a) {
691
+ const l = te();
692
+ return he.callbacks[l] = a, l;
693
693
  }
694
- removeCallback(t) {
695
- delete he.callbacks[t];
694
+ removeCallback(a) {
695
+ delete he.callbacks[a];
696
696
  }
697
697
  }
698
698
  class de {
699
699
  static callbacks = {};
700
700
  static _instance = null;
701
- static runCallbacks(t) {
701
+ static runCallbacks(a) {
702
702
  for (const l of Object.values(de.callbacks))
703
- typeof l == "function" && l(t);
703
+ typeof l == "function" && l(a);
704
704
  }
705
705
  ticking = !1;
706
706
  constructor() {
707
707
  if (de._instance)
708
708
  return de._instance;
709
- de._instance = this, self.document && self.document.addEventListener("scroll", (t) => {
709
+ de._instance = this, self.document && self.document.addEventListener("scroll", (a) => {
710
710
  this.ticking || (window.requestAnimationFrame(() => {
711
- de.runCallbacks(t), this.ticking = !1;
711
+ de.runCallbacks(a), this.ticking = !1;
712
712
  }), this.ticking = !0);
713
713
  }, !0);
714
714
  }
715
- addCallback(t) {
716
- const l = ae();
717
- return de.callbacks[l] = t, l;
715
+ addCallback(a) {
716
+ const l = te();
717
+ return de.callbacks[l] = a, l;
718
718
  }
719
- removeCallback(t) {
720
- delete de.callbacks[t];
719
+ removeCallback(a) {
720
+ delete de.callbacks[a];
721
721
  }
722
722
  }
723
- const Za = (e) => {
723
+ const _t = (e) => {
724
724
  const {
725
- top: t,
725
+ top: a,
726
726
  bottom: l,
727
- left: a,
727
+ left: t,
728
728
  right: i
729
729
  } = e.getBoundingClientRect(), {
730
730
  innerHeight: c,
731
731
  innerWidth: u
732
732
  } = window;
733
- let f = t < 0, m = l > c, h = a < 0, k = i > u;
734
- const $ = e.dataset.outsideVy, g = e.dataset.outsideVx, s = e?.parentElement?.getBoundingClientRect();
735
- return s && ($ && (e.dataset.outsideVy === "top" ? f = s.top - (l - s.bottom) < 0 : m = s.bottom + (s.top - t) > c), g && (e.dataset.outsideVx === "left" ? h = s.left - (i - s.right) < 0 : k = s.right + (s.left - a) > u)), {
736
- outTop: f,
733
+ let v = a < 0, m = l > c, f = t < 0, k = i > u;
734
+ const $ = e.dataset.outsideVy, w = e.dataset.outsideVx, s = e?.parentElement?.getBoundingClientRect();
735
+ return s && ($ && (e.dataset.outsideVy === "top" ? v = s.top - (l - s.bottom) < 0 : m = s.bottom + (s.top - a) > c), w && (e.dataset.outsideVx === "left" ? f = s.left - (i - s.right) < 0 : k = s.right + (s.left - t) > u)), {
736
+ outTop: v,
737
737
  outBottom: m,
738
- outLeft: h,
738
+ outLeft: f,
739
739
  outRight: k
740
740
  };
741
- }, _a = (e) => {
741
+ }, ea = (e) => {
742
742
  const {
743
- outTop: t,
743
+ outTop: a,
744
744
  outBottom: l,
745
- outLeft: a,
745
+ outLeft: t,
746
746
  outRight: i
747
- } = Za(e);
747
+ } = _t(e);
748
748
  let c = {};
749
- return t || l ? (c = {
750
- vy: t ? "top" : "bottom"
751
- }, e.dataset.outsideVy = c.vy) : delete e.dataset.outsideVy, a || i ? (c = {
749
+ return a || l ? (c = {
750
+ vy: a ? "top" : "bottom"
751
+ }, e.dataset.outsideVy = c.vy) : delete e.dataset.outsideVy, t || i ? (c = {
752
752
  ...c,
753
753
  vx: i ? "right" : "left"
754
754
  }, e.dataset.outsideVx = c.vx) : delete e.dataset.outsideVx, c;
755
- }, et = (e, t, l) => {
755
+ }, ta = (e, a, l) => {
756
756
  if (getComputedStyle(e).zIndex === "9999") return;
757
757
  const {
758
- top: a,
758
+ top: t,
759
759
  bottom: i,
760
760
  childHeight: c,
761
761
  childWidth: u,
762
- width: f,
762
+ width: v,
763
763
  right: m,
764
- left: h,
764
+ left: f,
765
765
  correctedPlacement: k
766
- } = sa(e, t, l);
767
- e.dataset.width === "full" && (e.style.inlineSize = `${f}px`), k === "top" || k === "bottom" || k === "top-start" || k === "bottom-start" ? e.style.insetInlineStart = `${h}px` : (k === "top-end" || k === "bottom-end") && (e.style.insetInlineStart = `${m - u}px`), k?.startsWith("top") ? e.style.insetBlockStart = `${a - c}px` : k?.startsWith("bottom") && (e.style.insetBlockStart = `${i}px`), e.style.position = "fixed";
768
- }, sa = (e, t, l) => {
769
- if (!e || !t)
766
+ } = ut(e, a, l);
767
+ e.dataset.width === "full" && (e.style.inlineSize = `${v}px`), k === "top" || k === "bottom" || k === "top-start" || k === "bottom-start" ? e.style.insetInlineStart = `${f}px` : (k === "top-end" || k === "bottom-end") && (e.style.insetInlineStart = `${m - u}px`), k?.startsWith("top") ? e.style.insetBlockStart = `${t - c}px` : k?.startsWith("bottom") && (e.style.insetBlockStart = `${i}px`), e.style.position = "fixed";
768
+ }, ut = (e, a, l) => {
769
+ if (!e || !a)
770
770
  return {
771
771
  top: 0,
772
772
  bottom: 0,
@@ -780,88 +780,103 @@ const Za = (e) => {
780
780
  innerWidth: window.innerWidth,
781
781
  innerHeight: window.innerHeight
782
782
  };
783
- const a = e.getBoundingClientRect(), {
783
+ const t = e.getBoundingClientRect(), {
784
784
  top: i,
785
785
  height: c,
786
786
  bottom: u,
787
- right: f,
787
+ right: v,
788
788
  left: m,
789
- width: h
790
- } = t.getBoundingClientRect(), {
789
+ width: f
790
+ } = a.getBoundingClientRect(), {
791
791
  innerHeight: k,
792
792
  innerWidth: $
793
793
  } = window;
794
- let g = a.height, s = a.width;
795
- (l === "bottom" || l === "top") && (s = s / 2), (l === "left" || l === "right") && (g = g / 2);
796
- const d = u + g > k, b = i - g < 0, x = m - s < 0, T = f + s > $;
797
- let w = l;
798
- return l.startsWith("bottom") ? d ? (w = l?.replace("bottom", "top"), x && T ? w = "top" : x ? w = "top-start" : T && (w = "top-end")) : x && T ? w = "bottom" : x ? w = "bottom-start" : T && (w = "bottom-end") : l.startsWith("top") ? b ? (w = l?.replace("top", "bottom"), x && T ? w = "bottom" : x ? w = "bottom-start" : T && (w = "bottom-end")) : x && T ? w = "top" : x ? w = "top-start" : T && (w = "top-end") : l.startsWith("left") ? x ? (w = l?.replace("left", "right"), d && b ? w = "right" : d ? w = "right-end" : b && (w = "right-start")) : d && b ? w = "left" : d ? w = "left-end" : b && (w = "left-start") : w.startsWith("right") && (T ? (w = l?.replace("right", "left"), d && b ? w = "left" : d ? w = "left-end" : b && (w = "left-start")) : d && b ? w = "right" : d ? w = "right-end" : b && (w = "right-start")), {
794
+ let w = t.height, s = t.width;
795
+ (l === "bottom" || l === "top") && (s = s / 2), (l === "left" || l === "right") && (w = w / 2);
796
+ const d = u + w > k, S = i - w < 0, y = m - s < 0, x = v + s > $;
797
+ let B = l;
798
+ return l.startsWith("bottom") ? d ? (B = l?.replace("bottom", "top"), y && x ? B = "top" : y ? B = "top-start" : x && (B = "top-end")) : y && x ? B = "bottom" : y ? B = "bottom-start" : x && (B = "bottom-end") : l.startsWith("top") ? S ? (B = l?.replace("top", "bottom"), y && x ? B = "bottom" : y ? B = "bottom-start" : x && (B = "bottom-end")) : y && x ? B = "top" : y ? B = "top-start" : x && (B = "top-end") : l.startsWith("left") ? y ? (B = l?.replace("left", "right"), d && S ? B = "right" : d ? B = "right-end" : S && (B = "right-start")) : d && S ? B = "left" : d ? B = "left-end" : S && (B = "left-start") : B.startsWith("right") && (x ? (B = l?.replace("right", "left"), d && S ? B = "left" : d ? B = "left-end" : S && (B = "left-start")) : d && S ? B = "right" : d ? B = "right-end" : S && (B = "right-start")), {
799
799
  top: i,
800
800
  bottom: u,
801
- right: f,
801
+ right: v,
802
802
  height: c,
803
- width: h,
803
+ width: f,
804
804
  left: m,
805
- childHeight: a.height,
806
- childWidth: a.width,
807
- correctedPlacement: w,
805
+ childHeight: t.height,
806
+ childWidth: t.width,
807
+ correctedPlacement: B,
808
808
  innerWidth: $,
809
809
  innerHeight: k
810
810
  };
811
- }, ua = (e, t, l) => {
812
- const a = getComputedStyle(e).getPropertyValue("--db-popover-distance") ?? "0px", {
813
- top: i,
814
- height: c,
815
- width: u,
816
- childHeight: f,
817
- childWidth: m,
818
- right: h,
819
- left: k,
820
- bottom: $,
821
- correctedPlacement: g,
822
- innerWidth: s,
823
- innerHeight: d
824
- } = sa(e, t, l);
825
- if (m > u && (g.startsWith("bottom") || g.startsWith("top"))) {
826
- const b = u / 2 / m * 100;
827
- g.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-inline-start", `${b}%`) : g.endsWith("end") && e.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - b}%`);
811
+ }, aa = 10, Me = /* @__PURE__ */ new WeakMap(), ia = (e) => {
812
+ if (Me.has(e))
813
+ return Me.get(e);
814
+ let a = e.parentElement, l = 0;
815
+ for (; a && l < aa; ) {
816
+ if (a.dataset.correctedPlacement)
817
+ return Me.set(e, a), a;
818
+ a = a.parentElement, l += 1;
828
819
  }
829
- if (f > c && (g.startsWith("left") || g.startsWith("bottom"))) {
830
- const b = c / 2 / f * 100;
831
- g.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-block-start", `${b}%`) : g.endsWith("end") && e.style.setProperty("--db-tooltip-arrow-block-start", `${100 - b}%`);
820
+ return Me.set(e, null), null;
821
+ }, ct = (e, a, l) => {
822
+ const t = getComputedStyle(a), i = ["absolute", "fixed"].includes(t.position), c = ia(e), u = !c && !i, v = getComputedStyle(e)?.getPropertyValue("--db-popover-distance") ?? "0px";
823
+ let {
824
+ top: m,
825
+ height: f,
826
+ width: k,
827
+ childHeight: $,
828
+ childWidth: w,
829
+ right: s,
830
+ left: d,
831
+ bottom: S,
832
+ correctedPlacement: y,
833
+ innerWidth: x,
834
+ innerHeight: B
835
+ } = ut(e, a, l);
836
+ if (c) {
837
+ const g = c.getBoundingClientRect();
838
+ d = Math.abs(d - g.left), s = (k + Math.abs(s - g.right)) * 1.5, m = Math.abs(m - g.top), S = (f + Math.abs(S - g.bottom)) * 1.5;
832
839
  }
833
- if (g === "right" || g === "left")
834
- e.style.insetBlockStart = `${i + c / 2}px`;
835
- else if (g === "right-start" || g === "left-start") {
836
- const b = i + f;
837
- e.style.insetBlockStart = `${i}px`, e.style.insetBlockEnd = `${b > d ? d : b}px`;
838
- } else if (g === "right-end" || g === "left-end") {
839
- const b = $ - f;
840
- e.style.insetBlockStart = `${b < 0 ? 0 : b}px`, e.style.insetBlockEnd = `${$}px`;
841
- } else if (g === "top" || g === "bottom")
842
- e.style.insetInlineStart = `${k + u / 2}px`;
843
- else if (g === "top-start" || g === "bottom-start") {
844
- const b = k + m;
845
- e.style.insetInlineStart = `${k}px`, e.style.insetInlineEnd = `${b > s ? s : b}px`;
846
- } else if (g === "top-end" || g === "bottom-end") {
847
- const b = k - m;
848
- e.style.insetInlineStart = `${h - m}px`, e.style.insetInlineEnd = `${b < 0 ? 0 : b}px`;
840
+ if (i && (d = 0, s = k, m = 0, S = f, ["auto", "inherit", "0"].includes(t.zIndex) && (a.style.zIndex = "1")), w > k && (y.startsWith("bottom") || y.startsWith("top"))) {
841
+ const g = k / 2 / w * 100;
842
+ y.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-inline-start", `${g}%`) : y.endsWith("end") ? e.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - g}%`) : e.style.setProperty("--db-tooltip-arrow-inline-start", "50%");
849
843
  }
850
- if (g?.startsWith("right")) {
851
- const b = h + m;
852
- e.style.insetInlineStart = `calc(${h}px + ${a})`, e.style.insetInlineEnd = `calc(${b > s ? s : b}px + ${a})`;
853
- } else if (g?.startsWith("left")) {
854
- const b = k - m;
855
- e.style.insetInlineStart = `calc(${b < 0 ? 0 : b}px - ${a})`, e.style.insetInlineEnd = `calc(${h}px - ${a})`;
856
- } else if (g?.startsWith("top")) {
857
- const b = i - f;
858
- e.style.insetBlockStart = `calc(${b < 0 ? 0 : b}px - ${a})`, e.style.insetBlockEnd = `calc(${$}px - ${a})`;
859
- } else if (g?.startsWith("bottom")) {
860
- const b = $ + f;
861
- e.style.insetBlockStart = `calc(${$}px + ${a})`, e.style.insetBlockEnd = `calc(${b > d ? d : b}px + ${a})`;
844
+ if ($ > f && (y.startsWith("left") || y.startsWith("bottom"))) {
845
+ const g = f / 2 / $ * 100;
846
+ y.endsWith("start") ? e.style.setProperty("--db-tooltip-arrow-block-start", `${g}%`) : y.endsWith("end") ? e.style.setProperty("--db-tooltip-arrow-block-start", `${100 - g}%`) : e.style.setProperty("--db-tooltip-arrow-block-start", "50%");
862
847
  }
863
- e.style.position = "fixed", e.dataset.correctedPlacement = g;
864
- }, at = ["id", "data-width"], tt = /* @__PURE__ */ G({
848
+ if (y === "right" || y === "left")
849
+ e.style.insetBlockStart = `${m + f / 2}px`;
850
+ else if (y === "right-start" || y === "left-start") {
851
+ const g = m + $;
852
+ e.style.insetBlockStart = `${m}px`, e.style.insetBlockEnd = `${!i && g > B ? B : g}px`;
853
+ } else if (y === "right-end" || y === "left-end") {
854
+ const g = S - $;
855
+ e.style.insetBlockStart = `${!i && g < 0 ? 0 : g}px`, e.style.insetBlockEnd = `${S}px`;
856
+ } else if (y === "top" || y === "bottom")
857
+ e.style.insetInlineStart = `${d + k / 2}px`;
858
+ else if (y === "top-start" || y === "bottom-start") {
859
+ const g = d + w;
860
+ e.style.insetInlineStart = `${d}px`, e.style.insetInlineEnd = `${!i && g > x ? x : g}px`;
861
+ } else if (y === "top-end" || y === "bottom-end") {
862
+ const g = s - w;
863
+ e.style.insetInlineStart = `${!i && g < 0 ? 0 : g}px`, e.style.insetInlineEnd = `${s}px`;
864
+ }
865
+ if (y?.startsWith("right")) {
866
+ const g = s + w;
867
+ e.style.insetInlineStart = `calc(${s}px + ${v})`, e.style.insetInlineEnd = `calc(${u && g > x ? x : g}px + ${v})`;
868
+ } else if (y?.startsWith("left")) {
869
+ const g = d - w;
870
+ e.style.insetInlineStart = `calc(${u && g < 0 ? 0 : g}px - ${v})`, e.style.insetInlineEnd = `calc(${s}px - ${v})`;
871
+ } else if (y?.startsWith("top")) {
872
+ const g = m - $;
873
+ e.style.insetBlockStart = `calc(${u && g < 0 ? 0 : g}px - ${v})`, e.style.insetBlockEnd = `calc(${i ? g : S}px - ${v})`;
874
+ } else if (y?.startsWith("bottom")) {
875
+ const g = S + $;
876
+ e.style.insetBlockStart = `calc(${i ? g : S}px + ${v})`, e.style.insetBlockEnd = `calc(${u && g > B ? B : g}px + ${v})`;
877
+ }
878
+ e.style.position = "fixed", e.dataset.correctedPlacement = y;
879
+ }, la = ["id", "data-width"], na = /* @__PURE__ */ G({
865
880
  name: "DBCustomSelectDropdown",
866
881
  __name: "custom-select-dropdown",
867
882
  props: {
@@ -873,19 +888,19 @@ const Za = (e) => {
873
888
  autofocus: { type: [Boolean, String] }
874
889
  },
875
890
  setup(e) {
876
- const t = e, l = o(null);
877
- return (a, i) => (v(), y("article", {
891
+ const a = e, l = o(null);
892
+ return (t, i) => (h(), b("article", {
878
893
  "data-spacing": "none",
879
894
  ref_key: "_ref",
880
895
  ref: l,
881
896
  id: e.id,
882
- class: q(n(O)("db-custom-select-dropdown db-card", t.class)),
897
+ class: q(n(O)("db-custom-select-dropdown db-card", a.class)),
883
898
  "data-width": e.width
884
899
  }, [
885
- M(a.$slots, "default")
886
- ], 10, at));
900
+ F(t.$slots, "default")
901
+ ], 10, la));
887
902
  }
888
- }), it = ["id", "data-divider"], lt = ["data-icon", "data-show-icon", "data-icon-trailing"], nt = ["type", "name", "form", "checked", "disabled", "value"], ot = { key: 1 }, dt = /* @__PURE__ */ G({
903
+ }), oa = ["id", "data-divider"], da = ["data-icon", "data-show-icon", "data-icon-trailing"], sa = ["type", "name", "form", "checked", "disabled", "value"], ua = { key: 1 }, ca = /* @__PURE__ */ G({
889
904
  name: "DBCustomSelectListItem",
890
905
  __name: "custom-select-list-item",
891
906
  props: {
@@ -909,40 +924,40 @@ const Za = (e) => {
909
924
  showIcon: { type: [Boolean, String], default: void 0 }
910
925
  },
911
926
  emits: ["update:checked"],
912
- setup(e, { emit: t }) {
913
- const l = t, a = e, i = o(void 0), c = o(!1), u = o(null);
927
+ setup(e, { emit: a }) {
928
+ const l = a, t = e, i = o(void 0), c = o(!1), u = o(null);
914
929
  Q(() => {
915
- i.value = a.id ?? `custom-select-list-item-${ae()}`;
930
+ i.value = t.id ?? `custom-select-list-item-${te()}`;
916
931
  }), C(
917
- () => [a.isGroupTitle, a.showDivider],
932
+ () => [t.isGroupTitle, t.showDivider],
918
933
  () => {
919
- c.value = !!(a.isGroupTitle || a.showDivider);
934
+ c.value = !!(t.isGroupTitle || t.showDivider);
920
935
  },
921
936
  {
922
937
  immediate: !0,
923
938
  flush: "post"
924
939
  }
925
940
  );
926
- function f(h) {
927
- h.stopPropagation(), a.onChange && a.onChange(h), se(l, h, "checked");
941
+ function v(f) {
942
+ f.stopPropagation(), t.onChange && t.onChange(f), se(l, f, "checked");
928
943
  }
929
944
  function m() {
930
- if (!(a.isGroupTitle || a.type === "checkbox"))
931
- return V(a.checked, "checked") ? "check" : "x_placeholder";
945
+ if (!(t.isGroupTitle || t.type === "checkbox"))
946
+ return V(t.checked, "checked") ? "check" : "x_placeholder";
932
947
  }
933
- return (h, k) => (v(), y("li", {
948
+ return (f, k) => (h(), b("li", {
934
949
  ref_key: "_ref",
935
950
  ref: u,
936
951
  id: i.value,
937
952
  class: q(
938
- n(O)("db-custom-select-list-item", a.class, {
953
+ n(O)("db-custom-select-list-item", t.class, {
939
954
  "db-checkbox": e.type === "checkbox" && !e.isGroupTitle,
940
955
  "db-radio": e.type !== "checkbox" && !e.isGroupTitle
941
956
  })
942
957
  ),
943
958
  "data-divider": n(R)(c.value)
944
959
  }, [
945
- e.isGroupTitle ? (v(), y("span", ot, S(e.groupTitle), 1)) : (v(), y("label", {
960
+ e.isGroupTitle ? (h(), b("span", ua, L(e.groupTitle), 1)) : (h(), b("label", {
946
961
  key: 0,
947
962
  "data-icon": e.type !== "checkbox" && e.icon ? e.icon : void 0,
948
963
  "data-show-icon": n(R)(e.showIcon),
@@ -957,15 +972,15 @@ const Za = (e) => {
957
972
  checked: n(V)(e.checked, "checked"),
958
973
  disabled: n(V)(e.disabled, "disabled"),
959
974
  value: e.value,
960
- onChange: k[0] || (k[0] = async ($) => f($))
961
- }, null, 40, nt),
962
- e.label ? (v(), y(W, { key: 0 }, [
963
- D(S(e.label), 1)
964
- ], 64)) : M(h.$slots, "default", { key: 1 })
965
- ], 8, lt))
966
- ], 10, it));
975
+ onChange: k[0] || (k[0] = async ($) => v($))
976
+ }, null, 40, sa),
977
+ e.label ? (h(), b(W, { key: 0 }, [
978
+ D(L(e.label), 1)
979
+ ], 64)) : F(f.$slots, "default", { key: 1 })
980
+ ], 8, da))
981
+ ], 10, oa));
967
982
  }
968
- }), st = ["role", "aria-label", "id"], ut = /* @__PURE__ */ G({
983
+ }), ra = ["role", "aria-label", "id"], va = /* @__PURE__ */ G({
969
984
  name: "DBCustomSelectList",
970
985
  __name: "custom-select-list",
971
986
  props: {
@@ -978,24 +993,24 @@ const Za = (e) => {
978
993
  autofocus: { type: [Boolean, String] }
979
994
  },
980
995
  setup(e) {
981
- const t = e, l = o(null);
982
- return (a, i) => (v(), y("div", {
996
+ const a = e, l = o(null);
997
+ return (t, i) => (h(), b("div", {
983
998
  role: e.multiple ? "group" : "radiogroup",
984
999
  "aria-label": e.label,
985
1000
  ref_key: "_ref",
986
1001
  ref: l,
987
1002
  id: e.id,
988
- class: q(n(O)("db-custom-select-list", t.class))
1003
+ class: q(n(O)("db-custom-select-list", a.class))
989
1004
  }, [
990
1005
  E("ul", null, [
991
- M(a.$slots, "default")
1006
+ F(t.$slots, "default")
992
1007
  ])
993
- ], 10, st));
1008
+ ], 10, ra));
994
1009
  }
995
- }), ct = ["data-variant", "data-hide-label", "data-show-icon", "data-icon", "data-icon-trailing", "data-hide-asterisk", "data-show-icon-trailing"], rt = ["for"], vt = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "name", "type", "multiple", "accept", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "enterKeyHint", "inputMode", "list", "aria-describedby", "role"], ft = ["id"], ht = ["value"], mt = {
1010
+ }), fa = ["data-variant", "data-hide-label", "data-show-icon", "data-icon", "data-icon-trailing", "data-hide-asterisk", "data-show-icon-trailing"], ha = ["for"], ma = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "name", "type", "multiple", "accept", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "enterKeyHint", "inputMode", "list", "aria-describedby", "role"], ga = ["id"], ba = ["value"], ya = {
996
1011
  "data-visually-hidden": "true",
997
1012
  role: "status"
998
- }, gt = /* @__PURE__ */ G({
1013
+ }, ka = /* @__PURE__ */ G({
999
1014
  name: "DBInput",
1000
1015
  __name: "input",
1001
1016
  props: {
@@ -1060,17 +1075,17 @@ const Za = (e) => {
1060
1075
  size: { default: void 0 }
1061
1076
  },
1062
1077
  emits: ["update:value"],
1063
- setup(e, { emit: t }) {
1064
- const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(void 0), $ = o(""), g = o(""), s = o(void 0), d = o(null);
1078
+ setup(e, { emit: a }) {
1079
+ const l = a, t = e, i = o(void 0), c = o(void 0), u = o(void 0), v = o(void 0), m = o(void 0), f = o(void 0), k = o(void 0), $ = o(""), w = o(""), s = o(void 0), d = o(null);
1065
1080
  Q(() => {
1066
- const F = a.id ?? `input-${ae()}`;
1067
- i.value = F, c.value = F + re, u.value = F + ve, f.value = F + fe, h.value = F + Qe, m.value = a.invalidMessage || te;
1081
+ const M = t.id ?? `input-${te()}`;
1082
+ i.value = M, c.value = M + re, u.value = M + ve, v.value = M + fe, f.value = M + Ze, m.value = t.invalidMessage || ae;
1068
1083
  }), me(() => {
1069
1084
  s.value?.abort();
1070
1085
  }), C(
1071
- () => [d.value, a.invalidMessage],
1086
+ () => [d.value, t.invalidMessage],
1072
1087
  () => {
1073
- m.value = a.invalidMessage || d.value?.validationMessage || te;
1088
+ m.value = t.invalidMessage || d.value?.validationMessage || ae;
1074
1089
  },
1075
1090
  {
1076
1091
  immediate: !0,
@@ -1080,8 +1095,8 @@ const Za = (e) => {
1080
1095
  () => [i.value],
1081
1096
  () => {
1082
1097
  if (i.value) {
1083
- const F = i.value + re;
1084
- c.value = F, u.value = i.value + ve, f.value = i.value + fe, h.value = a.dataListId ?? i.value + Qe, ee(a.message, a.showMessage) && (k.value = F), x();
1098
+ const M = i.value + re;
1099
+ c.value = M, u.value = i.value + ve, v.value = i.value + fe, f.value = t.dataListId ?? i.value + Ze, ee(t.message, t.showMessage) && (k.value = M), y();
1085
1100
  }
1086
1101
  },
1087
1102
  {
@@ -1089,9 +1104,9 @@ const Za = (e) => {
1089
1104
  flush: "post"
1090
1105
  }
1091
1106
  ), C(
1092
- () => [a.value],
1107
+ () => [t.value],
1093
1108
  () => {
1094
- a.value !== void 0 && ($.value = a.value);
1109
+ t.value !== void 0 && ($.value = t.value);
1095
1110
  },
1096
1111
  {
1097
1112
  immediate: !0,
@@ -1102,14 +1117,14 @@ const Za = (e) => {
1102
1117
  () => {
1103
1118
  if (d.value) {
1104
1119
  let X = s.value;
1105
- X || (X = new AbortController(), s.value = X), Ue(
1120
+ X || (X = new AbortController(), s.value = X), Ge(
1106
1121
  d.value,
1107
1122
  {
1108
- value: a.value,
1123
+ value: t.value,
1109
1124
  defaultValue: void 0
1110
1125
  },
1111
1126
  (A) => {
1112
- w(A), T(A);
1127
+ B(A), x(A);
1113
1128
  },
1114
1129
  X.signal
1115
1130
  );
@@ -1120,35 +1135,35 @@ const Za = (e) => {
1120
1135
  flush: "post"
1121
1136
  }
1122
1137
  );
1123
- function b() {
1124
- return !!(a.validMessage ?? a.validation === "valid");
1138
+ function S() {
1139
+ return !!(t.validMessage ?? t.validation === "valid");
1125
1140
  }
1126
- function x() {
1127
- !d.value?.validity.valid || a.validation === "invalid" ? (k.value = f.value, m.value = a.invalidMessage || d.value?.validationMessage || te, ce() && (g.value = m.value, Y(() => g.value = "", 1e3))) : b() && d.value?.validity.valid && (a.required || a.minLength || a.maxLength || a.pattern) ? (k.value = u.value, ce() && (g.value = a.validMessage ?? ue, Y(() => g.value = "", 1e3))) : ee(a.message, a.showMessage) ? k.value = c.value : k.value = void 0;
1141
+ function y() {
1142
+ !d.value?.validity.valid || t.validation === "invalid" ? (k.value = v.value, m.value = t.invalidMessage || d.value?.validationMessage || ae, ce() && (w.value = m.value, Y(() => w.value = "", 1e3))) : S() && d.value?.validity.valid && (t.required || t.minLength || t.maxLength || t.pattern) ? (k.value = u.value, ce() && (w.value = t.validMessage ?? ue, Y(() => w.value = "", 1e3))) : ee(t.message, t.showMessage) ? k.value = c.value : k.value = void 0;
1128
1143
  }
1129
- function T(F, H) {
1130
- a.input && a.input(F), $.value = F.target.value, a.onInput && a.onInput(F), se(l, F), x();
1144
+ function x(M, H) {
1145
+ t.input && t.input(M), $.value = M.target.value, t.onInput && t.onInput(M), se(l, M), y();
1131
1146
  }
1132
- function w(F, H) {
1133
- a.onChange && a.onChange(F), se(l, F), x();
1147
+ function B(M, H) {
1148
+ t.onChange && t.onChange(M), se(l, M), y();
1134
1149
  }
1135
- function L(F) {
1136
- a.onBlur && a.onBlur(F);
1150
+ function g(M) {
1151
+ t.onBlur && t.onBlur(M);
1137
1152
  }
1138
- function B(F) {
1139
- a.onFocus && a.onFocus(F);
1153
+ function p(M) {
1154
+ t.onFocus && t.onFocus(M);
1140
1155
  }
1141
1156
  function N() {
1142
- const F = a.dataList;
1157
+ const M = t.dataList;
1143
1158
  return Array.from(
1144
- (Fa(F) ? F?.map((H) => ({
1159
+ (Ft(M) ? M?.map((H) => ({
1145
1160
  value: H,
1146
1161
  label: void 0
1147
- })) : F) || []
1162
+ })) : M) || []
1148
1163
  );
1149
1164
  }
1150
- return (F, H) => (v(), y("div", {
1151
- class: q(n(O)("db-input", a.class)),
1165
+ return (M, H) => (h(), b("div", {
1166
+ class: q(n(O)("db-input", t.class)),
1152
1167
  "data-variant": e.variant,
1153
1168
  "data-hide-label": n(oe)(e.showLabel),
1154
1169
  "data-show-icon": n(R)(e.showIconLeading ?? e.showIcon),
@@ -1157,7 +1172,7 @@ const Za = (e) => {
1157
1172
  "data-hide-asterisk": n(oe)(e.showRequiredAsterisk),
1158
1173
  "data-show-icon-trailing": n(R)(e.showIconTrailing)
1159
1174
  }, [
1160
- E("label", { for: i.value }, S(e.label ?? n(ke)), 9, rt),
1175
+ E("label", { for: i.value }, L(e.label ?? n(ke)), 9, ha),
1161
1176
  E("input", {
1162
1177
  "aria-invalid": e.validation === "invalid",
1163
1178
  "data-custom-validity": e.validation,
@@ -1169,15 +1184,15 @@ const Za = (e) => {
1169
1184
  type: e.type || "text",
1170
1185
  multiple: n(V)(e.multiple, "multiple"),
1171
1186
  accept: e.accept,
1172
- placeholder: e.placeholder ?? n(ea),
1187
+ placeholder: e.placeholder ?? n(tt),
1173
1188
  disabled: n(V)(e.disabled, "disabled"),
1174
1189
  required: n(V)(e.required, "required"),
1175
- step: n(Ra)(e.step),
1190
+ step: n(zt)(e.step),
1176
1191
  value: e.value ?? $.value,
1177
1192
  maxLength: n(Le)(e.maxLength, e.maxlength),
1178
1193
  minLength: n(Le)(e.minLength, e.minlength),
1179
- max: n(Ze)(e.max, e.type),
1180
- min: n(Ze)(e.min, e.type),
1194
+ max: n(_e)(e.max, e.type),
1195
+ min: n(_e)(e.min, e.type),
1181
1196
  readOnly: n(V)(e.readOnly, "readOnly") || n(V)(e.readonly, "readonly"),
1182
1197
  form: e.form,
1183
1198
  pattern: e.pattern,
@@ -1186,62 +1201,62 @@ const Za = (e) => {
1186
1201
  autoFocus: n(V)(e.autofocus, "autofocus"),
1187
1202
  enterKeyHint: e.enterkeyhint,
1188
1203
  inputMode: e.inputmode,
1189
- onInput: H[0] || (H[0] = async (X) => T(X)),
1190
- onChange: H[1] || (H[1] = async (X) => w(X)),
1191
- onBlur: H[2] || (H[2] = async (X) => L(X)),
1192
- onFocus: H[3] || (H[3] = async (X) => B(X)),
1193
- list: e.dataList && h.value,
1204
+ onInput: H[0] || (H[0] = async (X) => x(X)),
1205
+ onChange: H[1] || (H[1] = async (X) => B(X)),
1206
+ onBlur: H[2] || (H[2] = async (X) => g(X)),
1207
+ onFocus: H[3] || (H[3] = async (X) => p(X)),
1208
+ list: e.dataList && f.value,
1194
1209
  "aria-describedby": e.ariaDescribedBy ?? k.value,
1195
1210
  role: ["datetime-local", "date", "time", "week", "month", "color"].includes(
1196
1211
  e.type ?? ""
1197
- ) && n(Na)() ? "textbox" : void 0
1198
- }, null, 40, vt),
1199
- e.dataList ? (v(), y("datalist", {
1212
+ ) && n(Rt)() ? "textbox" : void 0
1213
+ }, null, 40, ma),
1214
+ e.dataList ? (h(), b("datalist", {
1200
1215
  key: 0,
1201
- id: h.value
1216
+ id: f.value
1202
1217
  }, [
1203
- (v(!0), y(W, null, ge(N(), (X) => (v(), y("option", {
1204
- key: h.value + "-option-" + X.value,
1218
+ (h(!0), b(W, null, ge(N(), (X) => (h(), b("option", {
1219
+ key: f.value + "-option-" + X.value,
1205
1220
  value: X.value
1206
- }, S(X.label), 9, ht))), 128))
1207
- ], 8, ft)) : z("", !0),
1208
- M(F.$slots, "default"),
1209
- n(ee)(e.message, e.showMessage) ? (v(), J(_, {
1221
+ }, L(X.label), 9, ba))), 128))
1222
+ ], 8, ga)) : z("", !0),
1223
+ F(M.$slots, "default"),
1224
+ n(ee)(e.message, e.showMessage) ? (h(), J(_, {
1210
1225
  key: 1,
1211
1226
  size: e.messageSize || "small",
1212
1227
  icon: e.messageIcon,
1213
1228
  id: c.value
1214
1229
  }, {
1215
1230
  default: U(() => [
1216
- D(S(e.message), 1)
1231
+ D(L(e.message), 1)
1217
1232
  ]),
1218
1233
  _: 1
1219
1234
  }, 8, ["size", "icon", "id"])) : z("", !0),
1220
- b() ? (v(), J(_, {
1235
+ S() ? (h(), J(_, {
1221
1236
  key: 2,
1222
1237
  semantic: "successful",
1223
1238
  id: u.value,
1224
1239
  size: e.validMessageSize || "small"
1225
1240
  }, {
1226
1241
  default: U(() => [
1227
- D(S(e.validMessage || n(ue)), 1)
1242
+ D(L(e.validMessage || n(ue)), 1)
1228
1243
  ]),
1229
1244
  _: 1
1230
1245
  }, 8, ["id", "size"])) : z("", !0),
1231
1246
  ie(_, {
1232
1247
  semantic: "critical",
1233
- id: f.value,
1248
+ id: v.value,
1234
1249
  size: e.invalidMessageSize || "small"
1235
1250
  }, {
1236
1251
  default: U(() => [
1237
- D(S(m.value), 1)
1252
+ D(L(m.value), 1)
1238
1253
  ]),
1239
1254
  _: 1
1240
1255
  }, 8, ["id", "size"]),
1241
- E("span", mt, S(g.value), 1)
1242
- ], 10, ct));
1256
+ E("span", ya, L(w.value), 1)
1257
+ ], 10, fa));
1243
1258
  }
1244
- }), bt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ca = /* @__PURE__ */ G({
1259
+ }), wa = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], rt = /* @__PURE__ */ G({
1245
1260
  name: "DBTooltip",
1246
1261
  __name: "tooltip",
1247
1262
  props: {
@@ -1259,22 +1274,22 @@ const Za = (e) => {
1259
1274
  width: { default: void 0 }
1260
1275
  },
1261
1276
  setup(e) {
1262
- const t = e, l = o(Ee), a = o(!1), i = o(void 0), c = o(void 0), u = o(null);
1277
+ const a = e, l = o(Ee), t = o(!1), i = o(void 0), c = o(void 0), u = o(null);
1263
1278
  Q(() => {
1264
- l.value = t.id || "tooltip-" + ae(), a.value = !0;
1279
+ l.value = a.id || "tooltip-" + te(), t.value = !0;
1265
1280
  }), C(
1266
- () => [u.value, a.value],
1281
+ () => [u.value, t.value],
1267
1282
  () => {
1268
- if (u.value && a.value && l.value) {
1269
- const d = h();
1270
- d && (["mouseenter", "focusin"].forEach((b) => {
1271
- d.addEventListener(b, () => s(d));
1272
- }), d.addEventListener("keydown", (b) => m(b)), ["mouseleave", "focusout"].forEach((b) => {
1273
- d.addEventListener(b, () => g());
1274
- }), d.dataset.hasTooltip = "true", t.variant === "label" ? d.setAttribute("aria-labelledby", l.value) : d.setAttribute("aria-describedby", l.value)), typeof window < "u" && "IntersectionObserver" in window && (c.value = new IntersectionObserver((b) => {
1275
- const x = b.find(({ target: T }) => T === h());
1276
- x && !x.isIntersecting && m(!1);
1277
- })), a.value = !1;
1283
+ if (u.value && t.value && l.value) {
1284
+ const d = f();
1285
+ d && (k(d), ["mouseenter", "focusin"].forEach((S) => {
1286
+ d.addEventListener(S, () => s(d));
1287
+ }), d.addEventListener("keydown", (S) => m(S)), ["mouseleave", "focusout"].forEach((S) => {
1288
+ d.addEventListener(S, () => w());
1289
+ }), d.dataset.hasTooltip = "true", a.variant === "label" ? d.setAttribute("aria-labelledby", l.value) : d.setAttribute("aria-describedby", l.value)), typeof window < "u" && "IntersectionObserver" in window && (c.value = new IntersectionObserver((S) => {
1290
+ const y = S.find(({ target: x }) => x === f());
1291
+ y && !y.isIntersecting && m(!1);
1292
+ })), t.value = !1;
1278
1293
  }
1279
1294
  },
1280
1295
  {
@@ -1282,45 +1297,45 @@ const Za = (e) => {
1282
1297
  flush: "post"
1283
1298
  }
1284
1299
  );
1285
- function f(d) {
1300
+ function v(d) {
1286
1301
  d.stopPropagation();
1287
1302
  }
1288
1303
  function m(d) {
1289
- (!d || d.key === "Escape") && u.value && getComputedStyle(u.value).visibility === "visible" && h().blur();
1304
+ (!d || d.key === "Escape") && u.value && getComputedStyle(u.value).visibility === "visible" && f().blur();
1290
1305
  }
1291
- function h() {
1306
+ function f() {
1292
1307
  let d = u.value.parentElement;
1293
1308
  return d && d.localName.includes("tooltip") && (d = d.parentElement), d;
1294
1309
  }
1295
1310
  function k(d) {
1296
1311
  d && u.value && Y(() => {
1297
- u.value && ua(
1312
+ u.value && ct(
1298
1313
  u.value,
1299
1314
  d,
1300
- t.placement ?? "bottom"
1315
+ a.placement ?? "bottom"
1301
1316
  );
1302
1317
  }, 1);
1303
1318
  }
1304
- function $(d, b) {
1305
- d?.target?.contains && d?.target?.contains(u.value) && k(b);
1319
+ function $(d, S) {
1320
+ d?.target?.contains && d?.target?.contains(u.value) && k(S);
1306
1321
  }
1307
- function g() {
1322
+ function w() {
1308
1323
  i.value && new de().removeCallback(
1309
1324
  i.value
1310
- ), c.value?.unobserve(h());
1325
+ ), c.value?.unobserve(f());
1311
1326
  }
1312
1327
  function s(d) {
1313
1328
  i.value = new de().addCallback(
1314
- (b) => $(b, d)
1315
- ), k(d), c.value?.observe(h());
1329
+ (S) => $(S, d)
1330
+ ), k(d), c.value?.observe(f());
1316
1331
  }
1317
- return (d, b) => (v(), y("i", {
1332
+ return (d, S) => (h(), b("i", {
1318
1333
  role: "tooltip",
1319
1334
  "aria-hidden": "true",
1320
1335
  "data-gap": "true",
1321
1336
  ref_key: "_ref",
1322
1337
  ref: u,
1323
- class: q(n(O)("db-tooltip", t.class)),
1338
+ class: q(n(O)("db-tooltip", a.class)),
1324
1339
  id: l.value,
1325
1340
  "data-emphasis": e.emphasis,
1326
1341
  "data-animation": n(R)(e.animation ?? !0),
@@ -1328,12 +1343,12 @@ const Za = (e) => {
1328
1343
  "data-width": e.width,
1329
1344
  "data-show-arrow": n(R)(e.showArrow ?? !0),
1330
1345
  "data-placement": e.placement,
1331
- onClick: b[0] || (b[0] = async (x) => f(x))
1346
+ onClick: S[0] || (S[0] = async (y) => v(y))
1332
1347
  }, [
1333
- M(d.$slots, "default")
1334
- ], 10, bt));
1348
+ F(d.$slots, "default")
1349
+ ], 10, wa));
1335
1350
  }
1336
- }), yt = ["id", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-show-icon", "data-no-text", "data-overflow"], kt = /* @__PURE__ */ G({
1351
+ }), Ba = ["id", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-show-icon", "data-no-text", "data-overflow"], Sa = /* @__PURE__ */ G({
1337
1352
  name: "DBTag",
1338
1353
  __name: "tag",
1339
1354
  props: {
@@ -1358,18 +1373,18 @@ const Za = (e) => {
1358
1373
  remove: {}
1359
1374
  },
1360
1375
  setup(e) {
1361
- const t = e, l = o(null);
1362
- function a(c) {
1363
- c && (c.stopPropagation(), t.onRemove && t.onRemove(c));
1376
+ const a = e, l = o(null);
1377
+ function t(c) {
1378
+ c && (c.stopPropagation(), a.onRemove && a.onRemove(c));
1364
1379
  }
1365
1380
  function i() {
1366
- return t.removeButton ? t.removeButton : aa;
1381
+ return a.removeButton ? a.removeButton : at;
1367
1382
  }
1368
- return (c, u) => (v(), y("div", {
1383
+ return (c, u) => (h(), b("div", {
1369
1384
  ref_key: "_ref",
1370
1385
  ref: l,
1371
1386
  id: e.id,
1372
- class: q(n(O)("db-tag", t.class)),
1387
+ class: q(n(O)("db-tag", a.class)),
1373
1388
  "data-semantic": e.semantic,
1374
1389
  "data-emphasis": e.emphasis,
1375
1390
  "data-icon": e.icon,
@@ -1378,12 +1393,12 @@ const Za = (e) => {
1378
1393
  "data-no-text": n(R)(e.noText),
1379
1394
  "data-overflow": n(R)(e.overflow)
1380
1395
  }, [
1381
- M(c.$slots, "content"),
1382
- M(c.$slots, "default"),
1383
- e.text ? (v(), y(W, { key: 0 }, [
1384
- D(S(e.text), 1)
1396
+ F(c.$slots, "content"),
1397
+ F(c.$slots, "default"),
1398
+ e.text ? (h(), b(W, { key: 0 }, [
1399
+ D(L(e.text), 1)
1385
1400
  ], 64)) : z("", !0),
1386
- e.behavior === "removable" ? (v(), y("button", {
1401
+ e.behavior === "removable" ? (h(), b("button", {
1387
1402
  key: 1,
1388
1403
  class: "db-button db-tab-remove-button",
1389
1404
  "data-icon": "cross",
@@ -1391,24 +1406,24 @@ const Za = (e) => {
1391
1406
  "data-no-text": "true",
1392
1407
  "data-variant": "ghost",
1393
1408
  type: "button",
1394
- onClick: u[0] || (u[0] = async (f) => a(f))
1409
+ onClick: u[0] || (u[0] = async (v) => t(v))
1395
1410
  }, [
1396
- ie(ca, { variant: "label" }, {
1411
+ ie(rt, { variant: "label" }, {
1397
1412
  default: U(() => [
1398
- D(S(i()), 1)
1413
+ D(L(i()), 1)
1399
1414
  ]),
1400
1415
  _: 1
1401
1416
  })
1402
1417
  ])) : z("", !0)
1403
- ], 10, yt));
1418
+ ], 10, Ba));
1404
1419
  }
1405
- }), 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-show-icon"], Bt = ["id"], St = ["id", "form", "name", "multiple", "disabled", "required"], pt = ["disabled", "value"], Lt = ["open"], It = ["id", "aria-disabled", "aria-labelledby"], xt = ["data-visually-hidden", "id"], $t = {
1420
+ }), pa = ["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-show-icon"], La = ["id"], Ia = ["id", "form", "name", "multiple", "disabled", "required"], xa = ["disabled", "value"], Ta = ["open"], $a = ["id", "aria-disabled", "aria-labelledby"], Ca = ["data-visually-hidden", "id"], Ea = {
1406
1421
  key: 0,
1407
1422
  "data-visually-hidden": "true"
1408
- }, Tt = { key: 1 }, Ct = { key: 0 }, Et = { key: 0 }, At = { class: "db-checkbox db-custom-select-list-item" }, Dt = ["form", "checked"], Ft = ["aria-hidden", "id"], Mt = {
1423
+ }, Aa = { key: 1 }, Da = { key: 0 }, Ma = { key: 0 }, Fa = { class: "db-checkbox db-custom-select-list-item" }, Na = ["form", "checked"], Ra = ["aria-hidden", "id"], za = {
1409
1424
  "data-visually-hidden": "true",
1410
1425
  role: "status"
1411
- }, yl = /* @__PURE__ */ G({
1426
+ }, Bl = /* @__PURE__ */ G({
1412
1427
  name: "DBCustomSelect",
1413
1428
  __name: "custom-select",
1414
1429
  props: {
@@ -1474,24 +1489,24 @@ const Za = (e) => {
1474
1489
  showLabel: { type: [Boolean, String], default: void 0 }
1475
1490
  },
1476
1491
  emits: ["update:values"],
1477
- setup(e, { emit: t }) {
1478
- const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(void 0), $ = o(void 0), g = o(void 0), s = o(void 0), d = o("no-validation"), b = o(!1), x = o(void 0), T = o(void 0), w = o(""), L = o(void 0), B = o(""), N = o([]), F = o(!1), H = o(!1), X = o(0), A = o([]), K = o([]), j = o(!1), be = o(void 0), Be = o(0), xe = o(void 0), Ne = o(void 0), Re = o(void 0), ze = o(!1), $e = o(!1), ra = o(null), P = o(null), ne = o(null), Ae = o(null), Pe = o(null);
1492
+ setup(e, { emit: a }) {
1493
+ const l = a, t = e, i = o(void 0), c = o(void 0), u = o(void 0), v = o(void 0), m = o(void 0), f = o(void 0), k = o(void 0), $ = o(void 0), w = o(void 0), s = o(void 0), d = o("no-validation"), S = o(!1), y = o(void 0), x = o(void 0), B = o(""), g = o(void 0), p = o(""), N = o([]), M = o(!1), H = o(!1), X = o(0), A = o([]), K = o([]), j = o(!1), be = o(void 0), Be = o(0), xe = o(void 0), Re = o(void 0), ze = o(void 0), Pe = o(!1), Te = o(!1), vt = o(null), P = o(null), ne = o(null), Ae = o(null), Ve = o(null);
1479
1494
  Q(() => {
1480
- const r = a.id ?? `custom-select-${ae()}`;
1481
- i.value = r, c.value = r + re, u.value = r + ve, f.value = r + fe, h.value = r + Je, k.value = r + Ye, $.value = r + "-summary", g.value = r + Fe, L.value = r + "-selected-labels", s.value = r + "-info", m.value = a.invalidMessage || te, typeof window < "u" && "IntersectionObserver" in window && (Ne.value = new IntersectionObserver((p) => {
1495
+ const r = t.id ?? `custom-select-${te()}`;
1496
+ i.value = r, c.value = r + re, u.value = r + ve, v.value = r + fe, f.value = r + Qe, k.value = r + Je, $.value = r + "-summary", w.value = r + Fe, g.value = r + "-selected-labels", s.value = r + "-info", m.value = t.invalidMessage || ae, typeof window < "u" && "IntersectionObserver" in window && (Re.value = new IntersectionObserver((I) => {
1482
1497
  if (P.value) {
1483
- const I = p.find(({ target: Z }) => Z === P.value);
1484
- I && !I.isIntersecting && P.value.open && (P.value.open = !1);
1498
+ const T = I.find(({ target: Z }) => Z === P.value);
1499
+ T && !T.isIntersecting && P.value.open && (P.value.open = !1);
1485
1500
  }
1486
1501
  }));
1487
1502
  }), me(() => {
1488
- x.value?.abort();
1503
+ y.value?.abort();
1489
1504
  }), C(
1490
1505
  () => [P.value],
1491
1506
  () => {
1492
1507
  P.value && P.value.addEventListener(
1493
1508
  "focusout",
1494
- (r) => Te(r)
1509
+ (r) => $e(r)
1495
1510
  );
1496
1511
  },
1497
1512
  {
@@ -1503,7 +1518,7 @@ const Za = (e) => {
1503
1518
  () => {
1504
1519
  if (i.value) {
1505
1520
  const r = i.value + re;
1506
- k.value = i.value + Ye, h.value = i.value + Je, u.value = i.value + ve, f.value = i.value + fe, g.value = i.value + Fe, ee(a.message, a.showMessage) ? Ie(r) : Ie();
1521
+ k.value = i.value + Je, f.value = i.value + Qe, u.value = i.value + ve, v.value = i.value + fe, w.value = i.value + Fe, ee(t.message, t.showMessage) ? Ie(r) : Ie();
1507
1522
  }
1508
1523
  },
1509
1524
  {
@@ -1511,13 +1526,13 @@ const Za = (e) => {
1511
1526
  flush: "post"
1512
1527
  }
1513
1528
  ), C(
1514
- () => [P.value, T.value],
1529
+ () => [P.value, x.value],
1515
1530
  () => {
1516
1531
  if (P.value) {
1517
1532
  const r = P.value.querySelector("summary");
1518
1533
  r && r.setAttribute(
1519
1534
  "aria-describedby",
1520
- a.ariaDescribedBy ?? (T.value || "")
1535
+ t.ariaDescribedBy ?? (x.value || "")
1521
1536
  );
1522
1537
  }
1523
1538
  },
@@ -1526,36 +1541,36 @@ const Za = (e) => {
1526
1541
  flush: "post"
1527
1542
  }
1528
1543
  ), C(
1529
- () => [a.showNoResults, a.showLoading, K.value],
1544
+ () => [t.showNoResults, t.showLoading, K.value],
1530
1545
  () => {
1531
- a.showNoResults !== void 0 ? j.value = a.showNoResults : K.value && (j.value = K.value.length === 0);
1546
+ t.showNoResults !== void 0 ? j.value = t.showNoResults : K.value && (j.value = K.value.length === 0);
1532
1547
  },
1533
1548
  {
1534
1549
  immediate: !0,
1535
1550
  flush: "post"
1536
1551
  }
1537
1552
  ), C(
1538
- () => [a.showSelectAll, X.value, a.multiple],
1553
+ () => [t.showSelectAll, X.value, t.multiple],
1539
1554
  () => {
1540
- F.value = !!(a.multiple && (a.showSelectAll ?? X.value > 5));
1555
+ M.value = !!(t.multiple && (t.showSelectAll ?? X.value > 5));
1541
1556
  },
1542
1557
  {
1543
1558
  immediate: !0,
1544
1559
  flush: "post"
1545
1560
  }
1546
1561
  ), C(
1547
- () => [a.showSearch, X.value],
1562
+ () => [t.showSearch, X.value],
1548
1563
  () => {
1549
- H.value = a.showSearch ?? X.value > 9;
1564
+ H.value = t.showSearch ?? X.value > 9;
1550
1565
  },
1551
1566
  {
1552
1567
  immediate: !0,
1553
1568
  flush: "post"
1554
1569
  }
1555
1570
  ), C(
1556
- () => [a.values],
1571
+ () => [t.values],
1557
1572
  () => {
1558
- const r = a.values;
1573
+ const r = t.values;
1559
1574
  Array.isArray(r) ? A.value !== r && (A.value = r) : r == null && A.value?.length !== 0 && (A.value = []);
1560
1575
  },
1561
1576
  {
@@ -1565,7 +1580,7 @@ const Za = (e) => {
1565
1580
  ), C(
1566
1581
  () => [A.value, ne.value],
1567
1582
  () => {
1568
- ne.value && We();
1583
+ ne.value && He();
1569
1584
  },
1570
1585
  {
1571
1586
  immediate: !0,
@@ -1575,14 +1590,14 @@ const Za = (e) => {
1575
1590
  () => [ne.value],
1576
1591
  () => {
1577
1592
  if (ne.value) {
1578
- let r = x.value;
1579
- r || (r = new AbortController(), x.value = r);
1580
- const p = a.values;
1581
- Me(
1593
+ let r = y.value;
1594
+ r || (r = new AbortController(), y.value = r);
1595
+ const I = t.values;
1596
+ Ne(
1582
1597
  ne.value,
1583
1598
  () => {
1584
- const I = p || (ne.value.value ? [ne.value.value] : []);
1585
- pe(I), We();
1599
+ const T = I || (ne.value.value ? [ne.value.value] : []);
1600
+ pe(T), He();
1586
1601
  },
1587
1602
  r.signal
1588
1603
  );
@@ -1593,9 +1608,9 @@ const Za = (e) => {
1593
1608
  flush: "post"
1594
1609
  }
1595
1610
  ), C(
1596
- () => [a.validation],
1611
+ () => [t.validation],
1597
1612
  () => {
1598
- d.value = a.validation;
1613
+ d.value = t.validation;
1599
1614
  },
1600
1615
  {
1601
1616
  immediate: !0,
@@ -1604,27 +1619,27 @@ const Za = (e) => {
1604
1619
  ), C(
1605
1620
  () => [A.value, X.value],
1606
1621
  () => {
1607
- A.value?.length === 0 ? (ze.value = !1, $e.value = !1) : A.value?.length === X.value ? ($e.value = !1, ze.value = !0) : A.value && ($e.value = !0);
1622
+ A.value?.length === 0 ? (Pe.value = !1, Te.value = !1) : A.value?.length === X.value ? (Te.value = !1, Pe.value = !0) : A.value && (Te.value = !0);
1608
1623
  },
1609
1624
  {
1610
1625
  immediate: !0,
1611
1626
  flush: "post"
1612
1627
  }
1613
1628
  ), C(
1614
- () => [a.options],
1629
+ () => [t.options],
1615
1630
  () => {
1616
- K.value = a.options, X.value = a.options?.filter((r) => !r.isGroupTitle).length ?? 0;
1631
+ K.value = t.options, X.value = t.options?.filter((r) => !r.isGroupTitle).length ?? 0;
1617
1632
  },
1618
1633
  {
1619
1634
  immediate: !0,
1620
1635
  flush: "post"
1621
1636
  }
1622
1637
  ), C(
1623
- () => [a.searchValue],
1638
+ () => [t.searchValue],
1624
1639
  () => {
1625
- if (Re.value = a.searchValue, a.searchValue) {
1626
- const r = a.searchValue;
1627
- Xe(r);
1640
+ if (ze.value = t.searchValue, t.searchValue) {
1641
+ const r = t.searchValue;
1642
+ je(r);
1628
1643
  }
1629
1644
  },
1630
1645
  {
@@ -1632,9 +1647,9 @@ const Za = (e) => {
1632
1647
  flush: "post"
1633
1648
  }
1634
1649
  ), C(
1635
- () => [a.options, A.value],
1650
+ () => [t.options, A.value],
1636
1651
  () => {
1637
- a.options?.length && (N.value = a.options?.filter(
1652
+ t.options?.length && (N.value = t.options?.filter(
1638
1653
  (r) => !r.value || !A.value?.includes ? !1 : !r.isGroupTitle && A.value?.includes(r.value)
1639
1654
  ));
1640
1655
  },
@@ -1645,25 +1660,25 @@ const Za = (e) => {
1645
1660
  ), C(
1646
1661
  () => [
1647
1662
  N.value,
1648
- a.selectedType,
1649
- a.amountText,
1650
- a.selectedLabels,
1651
- a.transformSelectedLabels
1663
+ t.selectedType,
1664
+ t.amountText,
1665
+ t.selectedLabels,
1666
+ t.transformSelectedLabels
1652
1667
  ],
1653
1668
  () => {
1654
- if (a.selectedLabels) {
1655
- w.value = a.selectedLabels;
1669
+ if (t.selectedLabels) {
1670
+ B.value = t.selectedLabels;
1656
1671
  return;
1657
1672
  }
1658
1673
  if (N.value?.length) {
1659
- if (a.transformSelectedLabels) {
1660
- const r = N.value, p = a.transformSelectedLabels;
1661
- w.value = p(r);
1674
+ if (t.transformSelectedLabels) {
1675
+ const r = N.value, I = t.transformSelectedLabels;
1676
+ B.value = I(r);
1662
1677
  return;
1663
1678
  }
1664
- a.selectedType === "amount" ? w.value = a.amountText ? a.amountText : `${N.value?.length} ${$a}` : w.value = N.value?.map((r) => Se(r)).join(", ");
1679
+ t.selectedType === "amount" ? B.value = t.amountText ? t.amountText : `${N.value?.length} ${$t}` : B.value = N.value?.map((r) => Se(r)).join(", ");
1665
1680
  } else
1666
- w.value = "";
1681
+ B.value = "";
1667
1682
  },
1668
1683
  {
1669
1684
  immediate: !0,
@@ -1672,98 +1687,98 @@ const Za = (e) => {
1672
1687
  ), C(
1673
1688
  () => [N.value],
1674
1689
  () => {
1675
- a.onAmountChange && a.onAmountChange(N.value?.length ?? 0);
1690
+ t.onAmountChange && t.onAmountChange(N.value?.length ?? 0);
1676
1691
  },
1677
1692
  {
1678
1693
  immediate: !0,
1679
1694
  flush: "post"
1680
1695
  }
1681
1696
  ), C(
1682
- () => [$e.value, Ae.value],
1697
+ () => [Te.value, Ae.value],
1683
1698
  () => {
1684
- Ae.value && (Ae.value.indeterminate = !!$e.value);
1699
+ Ae.value && (Ae.value.indeterminate = !!Te.value);
1685
1700
  },
1686
1701
  {
1687
1702
  immediate: !0,
1688
1703
  flush: "post"
1689
1704
  }
1690
1705
  ), C(
1691
- () => [ne.value, a.invalidMessage],
1706
+ () => [ne.value, t.invalidMessage],
1692
1707
  () => {
1693
- m.value = a.invalidMessage || ne.value?.validationMessage || te;
1708
+ m.value = t.invalidMessage || ne.value?.validationMessage || ae;
1694
1709
  },
1695
1710
  {
1696
1711
  immediate: !0,
1697
1712
  flush: "post"
1698
1713
  }
1699
1714
  );
1700
- function va(r) {
1701
- r?.target?.contains && r?.target?.contains(P.value) && Ve();
1702
- }
1703
- function Ge() {
1704
- return !!(a.validMessage ?? a.validation === "valid");
1715
+ function ft(r) {
1716
+ r?.target?.contains && r?.target?.contains(P.value) && qe();
1705
1717
  }
1706
1718
  function We() {
1707
- ne.value && (ne.value.value = ha()), !ne.value?.validity.valid || a.validation === "invalid" ? (Ie(f.value), m.value = a.invalidMessage || ne.value?.validationMessage || te, ce() && (B.value = m.value, Y(() => B.value = "", 1e3)), b.value && (d.value = a.validation ?? "invalid")) : Ge() && ne.value?.validity.valid && a.required ? (Ie(u.value), ce() && (B.value = a.validMessage ?? ue, Y(() => B.value = "", 1e3)), d.value = a.validation ?? "valid") : ee(a.message, a.showMessage) ? (Ie(c.value), d.value = a.validation ?? "no-validation") : (Ie(g.value), d.value = a.validation ?? "no-validation");
1719
+ return !!(t.validMessage ?? t.validation === "valid");
1708
1720
  }
1709
- function fa(r) {
1710
- a.onDropdownToggle && (r.stopPropagation(), a.onDropdownToggle(r)), r.target instanceof HTMLDetailsElement && r.target.open ? (be.value = new he().addCallback(
1711
- (p) => Ba(p)
1721
+ function He() {
1722
+ ne.value && (ne.value.value = mt()), !ne.value?.validity.valid || t.validation === "invalid" ? (Ie(v.value), m.value = t.invalidMessage || ne.value?.validationMessage || ae, ce() && (p.value = m.value, Y(() => p.value = "", 1e3)), S.value && (d.value = t.validation ?? "invalid")) : We() && ne.value?.validity.valid && t.required ? (Ie(u.value), ce() && (p.value = t.validMessage ?? ue, Y(() => p.value = "", 1e3)), d.value = t.validation ?? "valid") : ee(t.message, t.showMessage) ? (Ie(c.value), d.value = t.validation ?? "no-validation") : (Ie(w.value), d.value = t.validation ?? "no-validation");
1723
+ }
1724
+ function ht(r) {
1725
+ t.onDropdownToggle && (r.stopPropagation(), t.onDropdownToggle(r)), r.target instanceof HTMLDetailsElement && r.target.open ? (be.value = new he().addCallback(
1726
+ (I) => St(I)
1712
1727
  ), xe.value = new de().addCallback(
1713
- (p) => va(p)
1714
- ), Ve(), Ne.value?.observe(P.value), r.target.dataset.test || He()) : (be.value && new he().removeCallback(
1728
+ (I) => ft(I)
1729
+ ), qe(), Re.value?.observe(P.value), r.target.dataset.test || Xe()) : (be.value && new he().removeCallback(
1715
1730
  be.value
1716
1731
  ), xe.value && new de().removeCallback(
1717
1732
  xe.value
1718
- ), Ne.value?.unobserve(P.value));
1733
+ ), Re.value?.unobserve(P.value));
1719
1734
  }
1720
- function ha() {
1735
+ function mt() {
1721
1736
  return A.value?.length ? A.value.at(0) ?? "" : "";
1722
1737
  }
1723
1738
  function Ie(r) {
1724
- const p = [];
1725
- r && p.push(r), L.value && w.value?.length && p.push(L.value), T.value = p.join(" ");
1739
+ const I = [];
1740
+ r && I.push(r), g.value && B.value?.length && I.push(g.value), x.value = I.join(" ");
1726
1741
  }
1727
- function ma() {
1728
- return a.selectAllLabel ?? ke;
1742
+ function gt() {
1743
+ return t.selectAllLabel ?? ke;
1729
1744
  }
1730
1745
  function Se(r) {
1731
1746
  return r.label ?? r.value?.toString() ?? "";
1732
1747
  }
1733
- function ga(r) {
1748
+ function bt(r) {
1734
1749
  return r && A.value?.includes ? A.value?.includes(r) : !1;
1735
1750
  }
1736
- function ba(r) {
1737
- const p = a.removeTagsTexts, I = a.options;
1738
- if (p && I) {
1739
- const Z = I.findIndex((le) => le.value === r.value);
1740
- if (Z >= 0 && Z < p.length)
1741
- return p[Z];
1751
+ function yt(r) {
1752
+ const I = t.removeTagsTexts, T = t.options;
1753
+ if (I && T) {
1754
+ const Z = T.findIndex((le) => le.value === r.value);
1755
+ if (Z >= 0 && Z < I.length)
1756
+ return I[Z];
1742
1757
  }
1743
- return `${aa} ${Se(r)}`;
1758
+ return `${at} ${Se(r)}`;
1744
1759
  }
1745
- function ya(r, p) {
1746
- p && p.stopPropagation(), qe(r.value), Ce();
1760
+ function kt(r, I) {
1761
+ I && I.stopPropagation(), Oe(r.value), Ce();
1747
1762
  }
1748
- function Ve() {
1763
+ function qe() {
1749
1764
  if (P.value) {
1750
1765
  const r = P.value.querySelector("article");
1751
1766
  r && Y(() => {
1752
- et(
1767
+ ta(
1753
1768
  r,
1754
1769
  P.value,
1755
- a.placement ?? "bottom"
1770
+ t.placement ?? "bottom"
1756
1771
  );
1757
1772
  }, 1);
1758
1773
  }
1759
1774
  }
1760
- function ka(r) {
1775
+ function wt(r) {
1761
1776
  if (P.value?.open) {
1762
1777
  if (self.document) {
1763
- const p = self.document.activeElement;
1764
- if (p)
1765
- if (p.getAttribute("type") === "checkbox" || p.getAttribute("type") === "radio") {
1766
- const Z = p?.closest("li");
1778
+ const I = self.document.activeElement;
1779
+ if (I)
1780
+ if (I.getAttribute("type") === "checkbox" || I.getAttribute("type") === "radio") {
1781
+ const Z = I?.closest("li");
1767
1782
  if (r.key === "ArrowDown" || r.key === "ArrowRight") {
1768
1783
  let le = Z?.nextElementSibling;
1769
1784
  for (; le; ) {
@@ -1774,7 +1789,7 @@ const Za = (e) => {
1774
1789
  }
1775
1790
  le = le.nextElementSibling;
1776
1791
  }
1777
- le || De(p);
1792
+ le || De(I);
1778
1793
  } else {
1779
1794
  let le = Z?.previousElementSibling;
1780
1795
  for (; le; ) {
@@ -1789,66 +1804,66 @@ const Za = (e) => {
1789
1804
  const ye = P.value.querySelector(
1790
1805
  'input[type="checkbox"]'
1791
1806
  );
1792
- if (ye && ye !== p)
1793
- De(p);
1807
+ if (ye && ye !== I)
1808
+ De(I);
1794
1809
  else {
1795
- const je = _e(P.value);
1796
- if (je)
1810
+ const Ke = et(P.value);
1811
+ if (Ke)
1797
1812
  Y(() => {
1798
- je.focus();
1813
+ Ke.focus();
1799
1814
  }, 100);
1800
1815
  else {
1801
- const Ke = Array.from(
1816
+ const Ye = Array.from(
1802
1817
  P.value?.querySelectorAll(
1803
1818
  'input[type="checkbox"],input[type="radio"]'
1804
1819
  )
1805
1820
  );
1806
- Ke.length && Ke.at(-1)?.focus();
1821
+ Ye.length && Ye.at(-1)?.focus();
1807
1822
  }
1808
1823
  }
1809
1824
  }
1810
1825
  }
1811
1826
  } else
1812
- p.getAttribute("type") === "search" && (r.key === "ArrowUp" || r.key === "ArrowLeft") ? (Te(void 0, !0), Ce()) : De(p);
1827
+ I.getAttribute("type") === "search" && (r.key === "ArrowUp" || r.key === "ArrowLeft") ? ($e(void 0, !0), Ce()) : De(I);
1813
1828
  }
1814
- } else (r.key === "ArrowDown" || r.key === "ArrowRight") && (Ve(), P.value && (P.value.open = !0), He());
1829
+ } else (r.key === "ArrowDown" || r.key === "ArrowRight") && (qe(), P.value && (P.value.open = !0), Xe());
1815
1830
  r.stopPropagation(), r.preventDefault();
1816
1831
  }
1817
- function wa(r) {
1832
+ function Bt(r) {
1818
1833
  if (r.stopPropagation(), r.key === "Escape" && P.value?.open)
1819
- Te(void 0, !0), Ce();
1834
+ $e(void 0, !0), Ce();
1820
1835
  else if (r.key === "Enter" && P.value?.open) {
1821
1836
  if (self.document) {
1822
- const p = self.document.activeElement;
1823
- if (["checkbox", "radio"].includes(p.getAttribute("type") || ""))
1824
- p.click(), r.preventDefault();
1825
- else if (p.getAttribute("type") === "search") {
1826
- const I = K.value?.find(
1837
+ const I = self.document.activeElement;
1838
+ if (["checkbox", "radio"].includes(I.getAttribute("type") || ""))
1839
+ I.click(), r.preventDefault();
1840
+ else if (I.getAttribute("type") === "search") {
1841
+ const T = K.value?.find(
1827
1842
  (Z) => !Z.isGroupTitle && !Z.disabled
1828
1843
  );
1829
- I?.value && (qe(I.value), r.preventDefault());
1844
+ T?.value && (Oe(T.value), r.preventDefault());
1830
1845
  }
1831
1846
  }
1832
- } else (r.key === "ArrowDown" || r.key === "ArrowUp" || r.key === "ArrowLeft" || r.key === "ArrowRight") && ka(r);
1847
+ } else (r.key === "ArrowDown" || r.key === "ArrowUp" || r.key === "ArrowLeft" || r.key === "ArrowRight") && wt(r);
1833
1848
  }
1834
- function Te(r, p) {
1849
+ function $e(r, I) {
1835
1850
  if (P.value) {
1836
- if (p)
1851
+ if (I)
1837
1852
  P.value.open = !1, Ce();
1838
1853
  else if (P.value.open && r && r.relatedTarget) {
1839
- const I = r.relatedTarget;
1840
- P.value.contains(I) || Y(() => P.value.open = !1, 1);
1854
+ const T = r.relatedTarget;
1855
+ P.value.contains(T) || Y(() => P.value.open = !1, 1);
1841
1856
  }
1842
1857
  }
1843
1858
  }
1844
- function Ba(r) {
1859
+ function St(r) {
1845
1860
  if (r) {
1846
- const p = r.target;
1847
- P.value?.open && !P.value.contains(p) && (P.value.open = !1);
1861
+ const I = r.target;
1862
+ P.value?.open && !P.value.contains(I) && (P.value.open = !1);
1848
1863
  }
1849
1864
  }
1850
1865
  function pe(r) {
1851
- (/* @__PURE__ */ new Date()).getTime() - Be.value < 200 || (A.value = r, b.value = !0, a.onOptionSelected && a.onOptionSelected(r ?? []), se(
1866
+ (/* @__PURE__ */ new Date()).getTime() - Be.value < 200 || (A.value = r, S.value = !0, t.onOptionSelected && t.onOptionSelected(r ?? []), se(
1852
1867
  l,
1853
1868
  {
1854
1869
  target: {
@@ -1858,74 +1873,74 @@ const Za = (e) => {
1858
1873
  "values"
1859
1874
  ), Be.value = (/* @__PURE__ */ new Date()).getTime());
1860
1875
  }
1861
- function qe(r) {
1862
- r && (a.multiple ? A.value?.includes(r) ? pe(A.value.filter((p) => p !== r)) : pe([...A.value || [], r]) : (pe([r]), Te(void 0, !0)));
1876
+ function Oe(r) {
1877
+ r && (t.multiple ? A.value?.includes(r) ? pe(A.value.filter((I) => I !== r)) : pe([...A.value || [], r]) : (pe([r]), $e(void 0, !0)));
1863
1878
  }
1864
- function Sa(r) {
1879
+ function pt(r) {
1865
1880
  if (r.stopPropagation(), A.value?.length === X.value)
1866
1881
  pe([]);
1867
1882
  else {
1868
- const p = H.value && Pe.value ? Pe.value.value : void 0;
1883
+ const I = H.value && Ve.value ? Ve.value.value : void 0;
1869
1884
  pe(
1870
- a.options ? a.options.filter(
1871
- (I) => !I.isGroupTitle && (!p || I.value?.toLowerCase().includes(p.toLowerCase()))
1872
- ).map((I) => I.value ?? "") : []
1885
+ t.options ? t.options.filter(
1886
+ (T) => !T.isGroupTitle && (!I || T.value?.toLowerCase().includes(I.toLowerCase()))
1887
+ ).map((T) => T.value ?? "") : []
1873
1888
  );
1874
1889
  }
1875
1890
  }
1876
1891
  function De(r) {
1877
1892
  if (P.value) {
1878
- const p = Array.from(
1893
+ const I = Array.from(
1879
1894
  P.value.querySelectorAll(
1880
1895
  'input[type="checkbox"],input[type="radio"]'
1881
1896
  )
1882
1897
  );
1883
- if (p.length) {
1884
- const I = p.at(0), Z = I === r && p.length > 1 ? p.at(1) : I;
1898
+ if (I.length) {
1899
+ const T = I.at(0), Z = T === r && I.length > 1 ? I.at(1) : T;
1885
1900
  Z && Y(() => {
1886
1901
  Z.focus();
1887
1902
  }, 1);
1888
1903
  }
1889
1904
  }
1890
1905
  }
1891
- function He() {
1906
+ function Xe() {
1892
1907
  if (P.value) {
1893
- const r = _e(P.value);
1908
+ const r = et(P.value);
1894
1909
  r ? Y(() => {
1895
1910
  r.focus();
1896
1911
  }, 1) : De();
1897
1912
  }
1898
1913
  }
1899
- function Xe(r) {
1914
+ function je(r) {
1900
1915
  if (r === void 0)
1901
1916
  return;
1902
- let p;
1917
+ let I;
1903
1918
  if (typeof r == "string")
1904
- p = r;
1919
+ I = r;
1905
1920
  else {
1906
- const I = r;
1907
- I.stopPropagation(), a.onSearch && a.onSearch(I), p = I.target.value, Re.value = p;
1921
+ const T = r;
1922
+ T.stopPropagation(), t.onSearch && t.onSearch(T), I = T.target.value, ze.value = I;
1908
1923
  }
1909
- !a.options || !p || p.length === 0 ? K.value = a.options : a.searchFilter ? K.value = a.options.filter(
1910
- (I) => a.searchFilter(I, p)
1911
- ) : K.value = a.options.filter(
1912
- (I) => !I.isGroupTitle && Se(I).toLowerCase().includes(p.toLowerCase())
1924
+ !t.options || !I || I.length === 0 ? K.value = t.options : t.searchFilter ? K.value = t.options.filter(
1925
+ (T) => t.searchFilter(T, I)
1926
+ ) : K.value = t.options.filter(
1927
+ (T) => !T.isGroupTitle && Se(T).toLowerCase().includes(I.toLowerCase())
1913
1928
  );
1914
1929
  }
1915
- function pa(r) {
1930
+ function Lt(r) {
1916
1931
  r.stopPropagation(), pe([]), Ce();
1917
1932
  }
1918
1933
  function Ce() {
1919
1934
  P.value && P.value.querySelector("summary")?.focus();
1920
1935
  }
1921
- function La(r) {
1936
+ function It(r) {
1922
1937
  r.stopPropagation();
1923
1938
  }
1924
- return (r, p) => (v(), y("div", {
1939
+ return (r, I) => (h(), b("div", {
1925
1940
  id: i.value,
1926
1941
  ref_key: "_ref",
1927
- ref: ra,
1928
- class: q(n(O)("db-custom-select", a.class)),
1942
+ ref: vt,
1943
+ class: q(n(O)("db-custom-select", t.class)),
1929
1944
  "aria-invalid": d.value === "invalid",
1930
1945
  "data-custom-validity": d.value,
1931
1946
  "data-width": e.formFieldWidth,
@@ -1939,11 +1954,11 @@ const Za = (e) => {
1939
1954
  "data-show-icon": n(R)(e.showIcon)
1940
1955
  }, [
1941
1956
  E("label", { id: k.value }, [
1942
- D(S(e.label ?? n(ke)), 1),
1957
+ D(L(e.label ?? n(ke)), 1),
1943
1958
  E("select", {
1944
1959
  role: "none",
1945
1960
  hidden: !0,
1946
- id: h.value,
1961
+ id: f.value,
1947
1962
  tabIndex: -1,
1948
1963
  ref_key: "selectRef",
1949
1964
  ref: ne,
@@ -1952,83 +1967,83 @@ const Za = (e) => {
1952
1967
  multiple: n(V)(e.multiple, "multiple"),
1953
1968
  disabled: n(V)(e.disabled, "disabled"),
1954
1969
  required: n(V)(e.required, "required"),
1955
- onChange: p[0] || (p[0] = async (I) => La(I))
1970
+ onChange: I[0] || (I[0] = async (T) => It(T))
1956
1971
  }, [
1957
- e.options?.length ? (v(!0), y(W, { key: 0 }, ge(e.options, (I, Z) => (v(), y("option", {
1972
+ e.options?.length ? (h(!0), b(W, { key: 0 }, ge(e.options, (T, Z) => (h(), b("option", {
1958
1973
  key: Z,
1959
- disabled: I.disabled,
1960
- value: I.value
1961
- }, S(Se(I)), 9, pt))), 128)) : z("", !0)
1962
- ], 40, St)
1963
- ], 8, Bt),
1974
+ disabled: T.disabled,
1975
+ value: T.value
1976
+ }, L(Se(T)), 9, xa))), 128)) : z("", !0)
1977
+ ], 40, Ia)
1978
+ ], 8, La),
1964
1979
  E("details", {
1965
1980
  ref_key: "detailsRef",
1966
1981
  ref: P,
1967
1982
  open: e.open,
1968
- onToggle: p[2] || (p[2] = async (I) => fa(I)),
1969
- onKeydown: p[3] || (p[3] = async (I) => wa(I))
1983
+ onToggle: I[2] || (I[2] = async (T) => ht(T)),
1984
+ onKeydown: I[3] || (I[3] = async (T) => Bt(T))
1970
1985
  }, [
1971
- M(r.$slots, "default"),
1972
- e.options ? (v(), y(W, { key: 0 }, [
1986
+ F(r.$slots, "default"),
1987
+ e.options ? (h(), b(W, { key: 0 }, [
1973
1988
  E("summary", {
1974
1989
  class: "db-custom-select-form-field",
1975
1990
  id: $.value,
1976
1991
  "aria-disabled": n(R)(e.disabled),
1977
1992
  "aria-labelledby": k.value
1978
1993
  }, [
1979
- w.value?.length ? (v(), y("span", {
1994
+ B.value?.length ? (h(), b("span", {
1980
1995
  key: 0,
1981
1996
  "data-visually-hidden": n(R)(e.selectedType === "tag"),
1982
- id: L.value
1997
+ id: g.value
1983
1998
  }, [
1984
- e.selectedPrefix ? (v(), y("span", $t, S(e.selectedPrefix), 1)) : z("", !0),
1985
- D(" " + S(w.value), 1)
1986
- ], 8, xt)) : z("", !0),
1987
- e.selectedType === "tag" ? (v(), y("div", Tt, [
1988
- (v(!0), y(W, null, ge(N.value, (I, Z) => (v(), J(kt, {
1999
+ e.selectedPrefix ? (h(), b("span", Ea, L(e.selectedPrefix), 1)) : z("", !0),
2000
+ D(" " + L(B.value), 1)
2001
+ ], 8, Ca)) : z("", !0),
2002
+ e.selectedType === "tag" ? (h(), b("div", Aa, [
2003
+ (h(!0), b(W, null, ge(N.value, (T, Z) => (h(), J(Sa, {
1989
2004
  key: Z,
1990
2005
  emphasis: "strong",
1991
2006
  behavior: "removable",
1992
- removeButton: ba(I),
1993
- onRemove: (le) => ya(I, le)
2007
+ removeButton: yt(T),
2008
+ onRemove: (le) => kt(T, le)
1994
2009
  }, {
1995
2010
  default: U(() => [
1996
- D(S(Se(I)), 1)
2011
+ D(L(Se(T)), 1)
1997
2012
  ]),
1998
2013
  _: 2
1999
2014
  }, 1032, ["removeButton", "onRemove"]))), 128))
2000
2015
  ])) : z("", !0)
2001
- ], 8, It),
2002
- ie(tt, { width: e.dropdownWidth }, {
2016
+ ], 8, $a),
2017
+ ie(na, { width: e.dropdownWidth }, {
2003
2018
  default: U(() => [
2004
- H.value ? (v(), y("div", Ct, [
2005
- ie(gt, {
2019
+ H.value ? (h(), b("div", Da, [
2020
+ ie(ka, {
2006
2021
  type: "search",
2007
2022
  ref_key: "searchInputRef",
2008
- ref: Pe,
2023
+ ref: Ve,
2009
2024
  name: i.value,
2010
2025
  form: i.value,
2011
2026
  showLabel: !1,
2012
- value: Re.value,
2027
+ value: ze.value,
2013
2028
  label: e.searchLabel ?? n(ke),
2014
2029
  placeholder: e.searchPlaceholder ?? e.searchLabel,
2015
2030
  ariaDescribedBy: j.value || e.showLoading ? s.value : void 0,
2016
- onInput: (I) => Xe(I)
2031
+ onInput: (T) => je(T)
2017
2032
  }, null, 8, ["name", "form", "value", "label", "placeholder", "ariaDescribedBy", "onInput"])
2018
2033
  ])) : z("", !0),
2019
- j.value || e.showLoading ? (v(), J(_, {
2034
+ j.value || e.showLoading ? (h(), J(_, {
2020
2035
  key: 1,
2021
2036
  id: s.value,
2022
2037
  icon: e.showLoading ? "circular_arrows" : void 0,
2023
2038
  semantic: e.showLoading ? "informational" : "warning"
2024
2039
  }, {
2025
2040
  default: U(() => [
2026
- D(S((e.showLoading ? e.loadingText : e.noResultsText) ?? n(Ia)), 1)
2041
+ D(L((e.showLoading ? e.loadingText : e.noResultsText) ?? n(xt)), 1)
2027
2042
  ]),
2028
2043
  _: 1
2029
- }, 8, ["id", "icon", "semantic"])) : (v(), y(W, { key: 2 }, [
2030
- F.value ? (v(), y("div", Et, [
2031
- E("div", At, [
2044
+ }, 8, ["id", "icon", "semantic"])) : (h(), b(W, { key: 2 }, [
2045
+ M.value ? (h(), b("div", Ma, [
2046
+ E("div", Fa, [
2032
2047
  E("label", null, [
2033
2048
  E("input", {
2034
2049
  type: "checkbox",
@@ -2036,34 +2051,34 @@ const Za = (e) => {
2036
2051
  ref_key: "selectAllRef",
2037
2052
  ref: Ae,
2038
2053
  form: i.value,
2039
- checked: ze.value,
2040
- onChange: p[1] || (p[1] = async (I) => Sa(I))
2041
- }, null, 40, Dt),
2042
- D(S(ma()), 1)
2054
+ checked: Pe.value,
2055
+ onChange: I[1] || (I[1] = async (T) => pt(T))
2056
+ }, null, 40, Na),
2057
+ D(L(gt()), 1)
2043
2058
  ])
2044
2059
  ])
2045
2060
  ])) : z("", !0),
2046
- ie(ut, {
2061
+ ie(va, {
2047
2062
  multiple: n(V)(e.multiple, "multiple"),
2048
2063
  label: e.listLabel ?? e.label ?? n(ke)
2049
2064
  }, {
2050
2065
  default: U(() => [
2051
- (v(!0), y(W, null, ge(K.value, (I, Z) => (v(), J(dt, {
2066
+ (h(!0), b(W, null, ge(K.value, (T, Z) => (h(), J(ca, {
2052
2067
  key: Z,
2053
2068
  type: e.multiple ? "checkbox" : "radio",
2054
- showDivider: I.showDivider,
2055
- icon: I.icon,
2056
- isGroupTitle: I.isGroupTitle,
2057
- groupTitle: Se(I),
2069
+ showDivider: T.showDivider,
2070
+ icon: T.icon,
2071
+ isGroupTitle: T.isGroupTitle,
2072
+ groupTitle: Se(T),
2058
2073
  name: i.value,
2059
- checked: ga(I.value),
2060
- disabled: I.disabled,
2061
- value: I.value,
2062
- onChange: (le) => qe(I.value)
2074
+ checked: bt(T.value),
2075
+ disabled: T.disabled,
2076
+ value: T.value,
2077
+ onChange: (le) => Oe(T.value)
2063
2078
  }, {
2064
2079
  default: U(() => [
2065
- I.isGroupTitle ? z("", !0) : (v(), y(W, { key: 0 }, [
2066
- D(S(Se(I)), 1)
2080
+ T.isGroupTitle ? z("", !0) : (h(), b(W, { key: 0 }, [
2081
+ D(L(Se(T)), 1)
2067
2082
  ], 64))
2068
2083
  ]),
2069
2084
  _: 2
@@ -2080,10 +2095,10 @@ const Za = (e) => {
2080
2095
  size: "small",
2081
2096
  name: i.value,
2082
2097
  form: i.value,
2083
- onClick: (I) => Te(void 0, !0)
2098
+ onClick: (T) => $e(void 0, !0)
2084
2099
  }, {
2085
2100
  default: U(() => [
2086
- D(S(e.mobileCloseButtonText ?? n(Oe)), 1)
2101
+ D(L(e.mobileCloseButtonText ?? n(Ue)), 1)
2087
2102
  ]),
2088
2103
  _: 1
2089
2104
  }, 8, ["name", "form", "onClick"])
@@ -2092,8 +2107,8 @@ const Za = (e) => {
2092
2107
  _: 1
2093
2108
  }, 8, ["width"])
2094
2109
  ], 64)) : z("", !0)
2095
- ], 40, Lt),
2096
- (e.showClearSelection ?? !0) && A.value?.length ? (v(), J(we, {
2110
+ ], 40, Ta),
2111
+ (e.showClearSelection ?? !0) && A.value?.length ? (h(), J(we, {
2097
2112
  key: 0,
2098
2113
  icon: "cross",
2099
2114
  variant: "ghost",
@@ -2101,13 +2116,13 @@ const Za = (e) => {
2101
2116
  noText: !0,
2102
2117
  name: i.value,
2103
2118
  form: i.value,
2104
- onClick: (I) => pa(I)
2119
+ onClick: (T) => Lt(T)
2105
2120
  }, {
2106
2121
  default: U(() => [
2107
- D(S(e.clearSelectionText), 1),
2108
- ie(ca, { placement: "top" }, {
2122
+ D(L(e.clearSelectionText), 1),
2123
+ ie(rt, { placement: "top" }, {
2109
2124
  default: U(() => [
2110
- D(S(e.clearSelectionText), 1)
2125
+ D(L(e.clearSelectionText), 1)
2111
2126
  ]),
2112
2127
  _: 1
2113
2128
  })
@@ -2117,44 +2132,44 @@ const Za = (e) => {
2117
2132
  E("span", {
2118
2133
  class: "db-custom-select-placeholder",
2119
2134
  "aria-hidden": n(R)(!0),
2120
- id: g.value
2121
- }, S(e.placeholder ?? e.label), 9, Ft),
2122
- n(ee)(e.message, e.showMessage) ? (v(), J(_, {
2135
+ id: w.value
2136
+ }, L(e.placeholder ?? e.label), 9, Ra),
2137
+ n(ee)(e.message, e.showMessage) ? (h(), J(_, {
2123
2138
  key: 1,
2124
2139
  size: "small",
2125
2140
  icon: e.messageIcon,
2126
2141
  id: c.value
2127
2142
  }, {
2128
2143
  default: U(() => [
2129
- D(S(e.message), 1)
2144
+ D(L(e.message), 1)
2130
2145
  ]),
2131
2146
  _: 1
2132
2147
  }, 8, ["icon", "id"])) : z("", !0),
2133
- Ge() ? (v(), J(_, {
2148
+ We() ? (h(), J(_, {
2134
2149
  key: 2,
2135
2150
  size: "small",
2136
2151
  semantic: "successful",
2137
2152
  id: u.value
2138
2153
  }, {
2139
2154
  default: U(() => [
2140
- D(S(e.validMessage || n(ue)), 1)
2155
+ D(L(e.validMessage || n(ue)), 1)
2141
2156
  ]),
2142
2157
  _: 1
2143
2158
  }, 8, ["id"])) : z("", !0),
2144
2159
  ie(_, {
2145
2160
  size: "small",
2146
2161
  semantic: "critical",
2147
- id: f.value
2162
+ id: v.value
2148
2163
  }, {
2149
2164
  default: U(() => [
2150
- D(S(m.value), 1)
2165
+ D(L(m.value), 1)
2151
2166
  ]),
2152
2167
  _: 1
2153
2168
  }, 8, ["id"]),
2154
- E("span", Mt, S(B.value), 1)
2155
- ], 10, wt));
2169
+ E("span", za, L(p.value), 1)
2170
+ ], 10, pa));
2156
2171
  }
2157
- }), kl = ["fixed", "auto", "full"], Nt = ["id"], wl = /* @__PURE__ */ G({
2172
+ }), Sl = ["fixed", "auto", "full"], Pa = ["id"], pl = /* @__PURE__ */ G({
2158
2173
  name: "DBCustomSelectFormField",
2159
2174
  __name: "custom-select-form-field",
2160
2175
  props: {
@@ -2165,17 +2180,17 @@ const Za = (e) => {
2165
2180
  autofocus: { type: [Boolean, String] }
2166
2181
  },
2167
2182
  setup(e) {
2168
- const t = e, l = o(null);
2169
- return (a, i) => (v(), y("summary", {
2183
+ const a = e, l = o(null);
2184
+ return (t, i) => (h(), b("summary", {
2170
2185
  ref_key: "_ref",
2171
2186
  ref: l,
2172
2187
  id: e.id,
2173
- class: q(n(O)("db-custom-select-form-field", t.class))
2188
+ class: q(n(O)("db-custom-select-form-field", a.class))
2174
2189
  }, [
2175
- M(a.$slots, "default")
2176
- ], 10, Nt));
2190
+ F(t.$slots, "default")
2191
+ ], 10, Pa));
2177
2192
  }
2178
- }), Bl = ["checkbox", "radio"], Sl = ["amount", "text", "tag"], Rt = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], pl = /* @__PURE__ */ G({
2193
+ }), Ll = ["checkbox", "radio"], Il = ["amount", "text", "tag"], Va = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], xl = /* @__PURE__ */ G({
2179
2194
  name: "DBDivider",
2180
2195
  __name: "divider",
2181
2196
  props: {
@@ -2190,8 +2205,8 @@ const Za = (e) => {
2190
2205
  width: { default: void 0 }
2191
2206
  },
2192
2207
  setup(e) {
2193
- const t = e, l = o(null);
2194
- return (a, i) => (v(), y("div", {
2208
+ const a = e, l = o(null);
2209
+ return (t, i) => (h(), b("div", {
2195
2210
  ref_key: "_ref",
2196
2211
  ref: l,
2197
2212
  id: e.id,
@@ -2199,10 +2214,10 @@ const Za = (e) => {
2199
2214
  "data-variant": e.variant,
2200
2215
  "data-emphasis": e.emphasis,
2201
2216
  "data-width": e.width,
2202
- class: q(n(O)("db-divider", t.class))
2203
- }, null, 10, Rt));
2217
+ class: q(n(O)("db-divider", a.class))
2218
+ }, null, 10, Va));
2204
2219
  }
2205
- }), Ll = ["none", "_"], Il = ["horizontal", "vertical"], zt = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], Pt = ["data-spacing", "data-width", "data-direction", "data-rounded"], Vt = { class: "db-drawer-header" }, qt = { class: "db-drawer-header-text" }, Ot = { class: "db-drawer-content" }, Ut = /* @__PURE__ */ G({
2220
+ }), Tl = ["none", "_"], $l = ["horizontal", "vertical"], qa = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], Oa = ["data-spacing", "data-width", "data-direction", "data-rounded"], Ua = { class: "db-drawer-header" }, Ga = { class: "db-drawer-header-text" }, Wa = { class: "db-drawer-content" }, Ha = /* @__PURE__ */ G({
2206
2221
  name: "DBDrawer",
2207
2222
  __name: "drawer",
2208
2223
  props: {
@@ -2226,11 +2241,11 @@ const Za = (e) => {
2226
2241
  spacing: { default: void 0 }
2227
2242
  },
2228
2243
  setup(e) {
2229
- const t = e, l = o(!1), a = o(null), i = o(null);
2244
+ const a = e, l = o(!1), t = o(null), i = o(null);
2230
2245
  Q(() => {
2231
2246
  u(), l.value = !0;
2232
2247
  }), C(
2233
- () => [t.open],
2248
+ () => [a.open],
2234
2249
  () => {
2235
2250
  u();
2236
2251
  },
@@ -2239,10 +2254,10 @@ const Za = (e) => {
2239
2254
  flush: "post"
2240
2255
  }
2241
2256
  ), C(
2242
- () => [a.value, l.value, t.position],
2257
+ () => [t.value, l.value, a.position],
2243
2258
  () => {
2244
- if (a.value && l.value && t.position === "absolute") {
2245
- const m = a.value.parentElement;
2259
+ if (t.value && l.value && a.position === "absolute") {
2260
+ const m = t.value.parentElement;
2246
2261
  m && (m.style.position = "relative");
2247
2262
  }
2248
2263
  },
@@ -2251,28 +2266,28 @@ const Za = (e) => {
2251
2266
  flush: "post"
2252
2267
  }
2253
2268
  );
2254
- function c(f, m) {
2255
- f && (za(f) ? f.key === "Escape" && (f.preventDefault(), t.onClose && t.onClose(f)) : (m && (f.stopPropagation(), t.onClose && t.onClose(f)), f.target?.nodeName === "DIALOG" && f.type === "click" && t.backdrop !== "none" && t.onClose && t.onClose(f)));
2269
+ function c(v, m) {
2270
+ v && (Pt(v) ? v.key === "Escape" && (v.preventDefault(), a.onClose && a.onClose(v)) : (m && (v.stopPropagation(), a.onClose && a.onClose(v)), v.target?.nodeName === "DIALOG" && v.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(v)));
2256
2271
  }
2257
2272
  function u() {
2258
- if (a.value) {
2259
- const f = !!t.open;
2260
- f && !a.value.open && (i.value && i.value.removeAttribute(
2273
+ if (t.value) {
2274
+ const v = !!a.open;
2275
+ v && !t.value.open && (i.value && i.value.removeAttribute(
2261
2276
  "data-transition"
2262
- ), t.position === "absolute" || t.backdrop === "none" || t.variant === "inside" ? a.value.show() : a.value.showModal(), Y(() => {
2277
+ ), a.position === "absolute" || a.backdrop === "none" || a.variant === "inside" ? t.value.show() : t.value.showModal(), Y(() => {
2263
2278
  i.value && (i.value.dataset.transition = "open");
2264
- }, 1)), !f && a.value.open && (i.value && (i.value.dataset.transition = "close"), Y(() => {
2265
- a.value?.close();
2279
+ }, 1)), !v && t.value.open && (i.value && (i.value.dataset.transition = "close"), Y(() => {
2280
+ t.value?.close();
2266
2281
  }, 401));
2267
2282
  }
2268
2283
  }
2269
- return (f, m) => (v(), y("dialog", {
2284
+ return (v, m) => (h(), b("dialog", {
2270
2285
  class: "db-drawer",
2271
2286
  id: e.id,
2272
2287
  ref_key: "_ref",
2273
- ref: a,
2274
- onClick: m[0] || (m[0] = async (h) => c(h)),
2275
- onKeydown: m[1] || (m[1] = async (h) => c(h)),
2288
+ ref: t,
2289
+ onClick: m[0] || (m[0] = async (f) => c(f)),
2290
+ onKeydown: m[1] || (m[1] = async (f) => c(f)),
2276
2291
  "data-position": e.position,
2277
2292
  "data-backdrop": e.backdrop,
2278
2293
  "data-direction": e.direction,
@@ -2281,15 +2296,15 @@ const Za = (e) => {
2281
2296
  E("article", {
2282
2297
  ref_key: "dialogContainerRef",
2283
2298
  ref: i,
2284
- class: q(n(O)("db-drawer-container", t.class)),
2299
+ class: q(n(O)("db-drawer-container", a.class)),
2285
2300
  "data-spacing": e.spacing,
2286
2301
  "data-width": e.width,
2287
2302
  "data-direction": e.direction,
2288
2303
  "data-rounded": n(R)(e.rounded)
2289
2304
  }, [
2290
- E("header", Vt, [
2291
- E("div", qt, [
2292
- M(f.$slots, "drawer-header")
2305
+ E("header", Ua, [
2306
+ E("div", Ga, [
2307
+ F(v.$slots, "drawer-header")
2293
2308
  ]),
2294
2309
  ie(we, {
2295
2310
  class: "button-close-drawer",
@@ -2297,27 +2312,27 @@ const Za = (e) => {
2297
2312
  variant: "ghost",
2298
2313
  id: e.closeButtonId,
2299
2314
  noText: !0,
2300
- onClick: (h) => c(h, !0)
2315
+ onClick: (f) => c(f, !0)
2301
2316
  }, {
2302
2317
  default: U(() => [
2303
- D(S(e.closeButtonText ?? n(Oe)), 1)
2318
+ D(L(e.closeButtonText ?? n(Ue)), 1)
2304
2319
  ]),
2305
2320
  _: 1
2306
2321
  }, 8, ["id", "onClick"])
2307
2322
  ]),
2308
- E("div", Ot, [
2309
- M(f.$slots, "default")
2323
+ E("div", Wa, [
2324
+ F(v.$slots, "default")
2310
2325
  ])
2311
- ], 10, Pt)
2312
- ], 40, zt));
2326
+ ], 10, Oa)
2327
+ ], 40, qa));
2313
2328
  }
2314
- }), xl = ["none", "strong", "weak", "invisible"], $l = ["left", "right", "up", "down"], Tl = ["modal", "inside"], Cl = ["fixed", "absolute"], Gt = (e) => {
2329
+ }), Cl = ["none", "strong", "weak", "invisible"], El = ["left", "right", "up", "down"], Al = ["modal", "inside"], Dl = ["fixed", "absolute"], Xa = (e) => {
2315
2330
  const {
2316
- target: t
2331
+ target: a
2317
2332
  } = e;
2318
- return !!(!t?.classList?.contains("db-navigation-item-expand-button") && t?.parentElement?.classList.contains("db-navigation-item"));
2333
+ return !!(!a?.classList?.contains("db-navigation-item-expand-button") && a?.parentElement?.classList.contains("db-navigation-item"));
2319
2334
  };
2320
- class Wt {
2335
+ class ja {
2321
2336
  element;
2322
2337
  subNavigation;
2323
2338
  parentSubNavigation = null;
@@ -2325,24 +2340,24 @@ class Wt {
2325
2340
  initialized = !1;
2326
2341
  mouseX = 0;
2327
2342
  mouseY = 0;
2328
- constructor(t, l) {
2329
- this.element = t, this.subNavigation = l, !(!this.element || !this.subNavigation) && (this.parentSubNavigation = this.element?.closest(".db-sub-navigation"), this.parentSubNavigation && !this.element.closest(".db-drawer") && this.init());
2343
+ constructor(a, l) {
2344
+ this.element = a, this.subNavigation = l, !(!this.element || !this.subNavigation) && (this.parentSubNavigation = this.element?.closest(".db-sub-navigation"), this.parentSubNavigation && !this.element.closest(".db-drawer") && this.init());
2330
2345
  }
2331
2346
  init() {
2332
- const t = this.parentSubNavigation?.getBoundingClientRect().width ?? 0;
2333
- this.element?.style.setProperty("--db-navigation-item-inline-size", `${t}px`), this.initialized = !0;
2347
+ const a = this.parentSubNavigation?.getBoundingClientRect().width ?? 0;
2348
+ this.element?.style.setProperty("--db-navigation-item-inline-size", `${a}px`), this.initialized = !0;
2334
2349
  }
2335
2350
  enableFollow() {
2336
2351
  if (!this.initialized || this.triangleData || !this.element || !this.subNavigation)
2337
2352
  return;
2338
- const t = _a(this.subNavigation), l = this.element.getBoundingClientRect(), a = this.parentSubNavigation?.getBoundingClientRect().width ?? 0;
2353
+ const a = ea(this.subNavigation), l = this.element.getBoundingClientRect(), t = this.parentSubNavigation?.getBoundingClientRect().width ?? 0;
2339
2354
  this.triangleData = {
2340
2355
  itemRect: l,
2341
- parentElementWidth: a,
2356
+ parentElementWidth: t,
2342
2357
  subNavigationHeight: this.subNavigation.getBoundingClientRect().height,
2343
- padding: (a - l.width) / 2,
2344
- outsideVX: t.vx,
2345
- outsideVY: t.vy
2358
+ padding: (t - l.width) / 2,
2359
+ outsideVX: a.vx,
2360
+ outsideVY: a.vy
2346
2361
  };
2347
2362
  }
2348
2363
  disableFollow() {
@@ -2353,28 +2368,28 @@ class Wt {
2353
2368
  }
2354
2369
  getTriangleTipY() {
2355
2370
  if (!this.triangleData) return 0;
2356
- const t = Math.max(Math.min(this.mouseY, this.triangleData.itemRect.height), 0) + this.triangleData.padding;
2357
- return this.triangleData.outsideVY === "bottom" ? t + (this.triangleData.subNavigationHeight - this.triangleData.padding * 2 - this.triangleData.itemRect.height) : t;
2371
+ const a = Math.max(Math.min(this.mouseY, this.triangleData.itemRect.height), 0) + this.triangleData.padding;
2372
+ return this.triangleData.outsideVY === "bottom" ? a + (this.triangleData.subNavigationHeight - this.triangleData.padding * 2 - this.triangleData.itemRect.height) : a;
2358
2373
  }
2359
2374
  hasMouseEnteredSubNavigation() {
2360
2375
  if (!this.triangleData)
2361
2376
  return !1;
2362
- const t = this.triangleData.outsideVX === "right";
2363
- return !!(t && this.mouseX < -1 * this.triangleData.padding || !t && this.mouseX > this.triangleData.parentElementWidth - this.triangleData.padding);
2377
+ const a = this.triangleData.outsideVX === "right";
2378
+ return !!(a && this.mouseX < -1 * this.triangleData.padding || !a && this.mouseX > this.triangleData.parentElementWidth - this.triangleData.padding);
2364
2379
  }
2365
- getTriangleCoordinates(t) {
2380
+ getTriangleCoordinates(a) {
2366
2381
  if (!this.triangleData)
2367
2382
  return;
2368
- if (t === "fill-gap") {
2369
- const u = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, f = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
2383
+ if (a === "fill-gap") {
2384
+ const u = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, v = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
2370
2385
  return {
2371
- lb: `${f} ${u}`,
2372
- lt: `${f} 0`,
2386
+ lb: `${v} ${u}`,
2387
+ lt: `${v} 0`,
2373
2388
  rt: "100% 0",
2374
2389
  rb: `100% ${u}`
2375
2390
  };
2376
2391
  }
2377
- const l = this.getTriangleTipX(), a = this.getTriangleTipY(), i = `${l}px ${a}px`, c = `${l}px ${a}px`;
2392
+ const l = this.getTriangleTipX(), t = this.getTriangleTipY(), i = `${l}px ${t}px`, c = `${l}px ${t}px`;
2378
2393
  return {
2379
2394
  lb: i,
2380
2395
  lt: c,
@@ -2382,15 +2397,15 @@ class Wt {
2382
2397
  rb: "100% 100%"
2383
2398
  };
2384
2399
  }
2385
- followByMouseEvent(t) {
2400
+ followByMouseEvent(a) {
2386
2401
  if (!this.initialized || !this.triangleData || !this.element || !this.subNavigation)
2387
2402
  return;
2388
- this.mouseX = t.clientX - this.triangleData.itemRect.left, this.mouseY = t.clientY - this.triangleData.itemRect.top;
2389
- const l = this.hasMouseEnteredSubNavigation(), a = this.getTriangleCoordinates(l ? "fill-gap" : "safe-triangle");
2390
- a && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${a.lb}, ${a.lt}, ${a.rt}, ${a.rb})`), l && (this.triangleData = void 0));
2403
+ this.mouseX = a.clientX - this.triangleData.itemRect.left, this.mouseY = a.clientY - this.triangleData.itemRect.top;
2404
+ const l = this.hasMouseEnteredSubNavigation(), t = this.getTriangleCoordinates(l ? "fill-gap" : "safe-triangle");
2405
+ t && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${t.lb}, ${t.lt}, ${t.rt}, ${t.rb})`), l && (this.triangleData = void 0));
2391
2406
  }
2392
2407
  }
2393
- const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-header-drawer-navigation" }, jt = { class: "db-header-meta-navigation" }, Kt = { class: "db-header-secondary-action" }, Yt = { class: "db-header-meta-navigation" }, Jt = { class: "db-header-navigation-bar" }, Qt = { class: "db-header-brand-container" }, Zt = { class: "db-header-navigation-container" }, _t = { class: "db-header-navigation" }, ei = { class: "db-header-primary-action" }, ai = { class: "db-header-action-container" }, ti = { class: "db-header-burger-menu-container" }, ii = { class: "db-header-secondary-action" }, El = /* @__PURE__ */ G({
2408
+ const Ka = ["id", "data-width", "data-on-forcing-mobile"], Ya = { class: "db-header-drawer-navigation" }, Ja = { class: "db-header-meta-navigation" }, Qa = { class: "db-header-secondary-action" }, Za = { class: "db-header-meta-navigation" }, _a = { class: "db-header-navigation-bar" }, ei = { class: "db-header-brand-container" }, ti = { class: "db-header-navigation-container" }, ai = { class: "db-header-navigation" }, ii = { class: "db-header-primary-action" }, li = { class: "db-header-action-container" }, ni = { class: "db-header-burger-menu-container" }, oi = { class: "db-header-secondary-action" }, Ml = /* @__PURE__ */ G({
2394
2409
  name: "DBHeader",
2395
2410
  __name: "header",
2396
2411
  props: {
@@ -2413,101 +2428,101 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2413
2428
  width: { default: void 0 }
2414
2429
  },
2415
2430
  setup(e) {
2416
- const t = e, l = o(!1), a = o(!1), i = o(null);
2431
+ const a = e, l = o(!1), t = o(!1), i = o(null);
2417
2432
  Q(() => {
2418
2433
  l.value = !0;
2419
2434
  }), C(
2420
2435
  () => [l.value, i.value],
2421
2436
  () => {
2422
- l.value && i.value && t.forceMobile && (oa(i.value, {
2437
+ l.value && i.value && a.forceMobile && (dt(i.value, {
2423
2438
  key: "data-force-mobile",
2424
2439
  value: "true"
2425
- }), a.value = !0);
2440
+ }), t.value = !0);
2426
2441
  },
2427
2442
  {
2428
2443
  immediate: !0,
2429
2444
  flush: "post"
2430
2445
  }
2431
2446
  );
2432
- function c(f) {
2433
- const m = !V(t.drawerOpen, "drawerOpen");
2434
- t.onToggle && t.onToggle(m);
2447
+ function c(v) {
2448
+ const m = !V(a.drawerOpen, "drawerOpen");
2449
+ a.onToggle && a.onToggle(m);
2435
2450
  }
2436
- function u(f) {
2437
- Gt(f) && c();
2451
+ function u(v) {
2452
+ Xa(v) && c();
2438
2453
  }
2439
- return (f, m) => (v(), y("header", {
2454
+ return (v, m) => (h(), b("header", {
2440
2455
  ref_key: "_ref",
2441
2456
  ref: i,
2442
- class: q(n(O)("db-header", t.class)),
2457
+ class: q(n(O)("db-header", a.class)),
2443
2458
  id: e.id,
2444
2459
  "data-width": e.width,
2445
- "data-on-forcing-mobile": e.forceMobile && !a.value
2460
+ "data-on-forcing-mobile": e.forceMobile && !t.value
2446
2461
  }, [
2447
- ie(Ut, {
2462
+ ie(Ha, {
2448
2463
  class: "db-header-drawer",
2449
2464
  spacing: "small",
2450
2465
  rounded: !0,
2451
2466
  closeButtonId: e.closeButtonId,
2452
2467
  closeButtonText: e.closeButtonText,
2453
2468
  open: n(V)(e.drawerOpen),
2454
- onClose: (h) => c()
2469
+ onClose: (f) => c()
2455
2470
  }, {
2456
2471
  default: U(() => [
2457
- E("div", Xt, [
2472
+ E("div", Ya, [
2458
2473
  E("div", {
2459
2474
  class: "db-header-navigation",
2460
- onClick: m[0] || (m[0] = async (h) => u(h))
2475
+ onClick: m[0] || (m[0] = async (f) => u(f))
2461
2476
  }, [
2462
- M(f.$slots, "default")
2477
+ F(v.$slots, "default")
2463
2478
  ]),
2464
- E("div", jt, [
2465
- M(f.$slots, "meta-navigation")
2479
+ E("div", Ja, [
2480
+ F(v.$slots, "meta-navigation")
2466
2481
  ])
2467
2482
  ]),
2468
- E("div", Kt, [
2469
- M(f.$slots, "secondary-action")
2483
+ E("div", Qa, [
2484
+ F(v.$slots, "secondary-action")
2470
2485
  ])
2471
2486
  ]),
2472
2487
  _: 3
2473
2488
  }, 8, ["closeButtonId", "closeButtonText", "open", "onClose"]),
2474
- E("div", Yt, [
2475
- M(f.$slots, "meta-navigation")
2489
+ E("div", Za, [
2490
+ F(v.$slots, "meta-navigation")
2476
2491
  ]),
2477
- E("div", Jt, [
2478
- E("div", Qt, [
2479
- M(f.$slots, "brand")
2492
+ E("div", _a, [
2493
+ E("div", ei, [
2494
+ F(v.$slots, "brand")
2480
2495
  ]),
2481
- E("div", Zt, [
2482
- E("div", _t, [
2483
- M(f.$slots, "default")
2496
+ E("div", ti, [
2497
+ E("div", ai, [
2498
+ F(v.$slots, "default")
2484
2499
  ]),
2485
- E("div", ei, [
2486
- M(f.$slots, "primary-action")
2500
+ E("div", ii, [
2501
+ F(v.$slots, "primary-action")
2487
2502
  ])
2488
2503
  ]),
2489
- E("div", ai, [
2490
- E("div", ti, [
2504
+ E("div", li, [
2505
+ E("div", ni, [
2491
2506
  ie(we, {
2492
2507
  icon: "menu",
2493
2508
  variant: "ghost",
2494
2509
  noText: !0,
2495
- onClick: (h) => c()
2510
+ onClick: (f) => c()
2496
2511
  }, {
2497
2512
  default: U(() => [
2498
- D(S(e.burgerMenuLabel ?? n(Ta)), 1)
2513
+ D(L(e.burgerMenuLabel ?? n(Ct)), 1)
2499
2514
  ]),
2500
2515
  _: 1
2501
2516
  }, 8, ["onClick"])
2502
2517
  ]),
2503
- E("div", ii, [
2504
- M(f.$slots, "secondary-action")
2518
+ E("div", oi, [
2519
+ F(v.$slots, "secondary-action")
2505
2520
  ])
2506
2521
  ])
2507
2522
  ])
2508
- ], 10, Ht));
2523
+ ], 10, Ka));
2509
2524
  }
2510
- }), li = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], Al = /* @__PURE__ */ G({
2525
+ }), di = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], Fl = /* @__PURE__ */ G({
2511
2526
  name: "DBIcon",
2512
2527
  __name: "icon",
2513
2528
  props: {
@@ -2522,23 +2537,23 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2522
2537
  text: { default: void 0 }
2523
2538
  },
2524
2539
  setup(e) {
2525
- const t = e, l = o(null);
2526
- return (a, i) => (v(), y("span", {
2540
+ const a = e, l = o(null);
2541
+ return (t, i) => (h(), b("span", {
2527
2542
  "aria-hidden": "true",
2528
2543
  ref_key: "_ref",
2529
2544
  ref: l,
2530
2545
  id: e.id,
2531
- class: q(n(O)("db-icon", t.class)),
2546
+ class: q(n(O)("db-icon", a.class)),
2532
2547
  "data-icon": e.icon,
2533
2548
  "data-icon-weight": e.weight,
2534
2549
  "data-icon-variant": e.variant
2535
2550
  }, [
2536
- e.text ? (v(), y(W, { key: 0 }, [
2537
- D(S(e.text), 1)
2538
- ], 64)) : M(a.$slots, "default", { key: 1 })
2539
- ], 10, li));
2551
+ e.text ? (h(), b(W, { key: 0 }, [
2552
+ D(L(e.text), 1)
2553
+ ], 64)) : F(t.$slots, "default", { key: 1 })
2554
+ ], 10, di));
2540
2555
  }
2541
- }), Dl = ["16", "20", "24", "32", "48", "64"], Fl = [
2556
+ }), Nl = ["16", "20", "24", "32", "48", "64"], Rl = [
2542
2557
  "color",
2543
2558
  "date",
2544
2559
  "datetime-local",
@@ -2557,7 +2572,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2557
2572
  "time",
2558
2573
  "url",
2559
2574
  "week"
2560
- ], ni = ["id", "href", "target", "rel", "role", "referrerPolicy", "hrefLang", "aria-disabled", "tabIndex", "data-size", "data-show-icon-trailing", "data-variant", "data-content", "data-wrap"], Ml = /* @__PURE__ */ G({
2575
+ ], si = ["id", "href", "target", "rel", "role", "referrerPolicy", "hrefLang", "aria-disabled", "tabIndex", "data-size", "data-show-icon-trailing", "data-variant", "data-content", "data-wrap"], zl = /* @__PURE__ */ G({
2561
2576
  name: "DBLink",
2562
2577
  __name: "link",
2563
2578
  props: {
@@ -2584,15 +2599,15 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2584
2599
  wrap: { type: [Boolean, String], default: void 0 }
2585
2600
  },
2586
2601
  setup(e) {
2587
- const t = e, l = o(null);
2588
- function a(i) {
2589
- t.onClick && t.onClick(i);
2602
+ const a = e, l = o(null);
2603
+ function t(i) {
2604
+ a.onClick && a.onClick(i);
2590
2605
  }
2591
- return (i, c) => (v(), y("a", {
2606
+ return (i, c) => (h(), b("a", {
2592
2607
  ref_key: "_ref",
2593
2608
  ref: l,
2594
2609
  id: e.id,
2595
- class: q(n(O)("db-link", t.class)),
2610
+ class: q(n(O)("db-link", a.class)),
2596
2611
  href: e.href,
2597
2612
  target: e.target,
2598
2613
  rel: e.rel,
@@ -2606,14 +2621,14 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2606
2621
  "data-variant": e.variant,
2607
2622
  "data-content": e.content || "internal",
2608
2623
  "data-wrap": n(R)(e.wrap),
2609
- onClick: c[0] || (c[0] = async (u) => a(u))
2624
+ onClick: c[0] || (c[0] = async (u) => t(u))
2610
2625
  }, [
2611
- e.text ? (v(), y(W, { key: 0 }, [
2612
- D(S(e.text), 1)
2613
- ], 64)) : M(i.$slots, "default", { key: 1 })
2614
- ], 10, ni));
2626
+ e.text ? (h(), b(W, { key: 0 }, [
2627
+ D(L(e.text), 1)
2628
+ ], 64)) : F(i.$slots, "default", { key: 1 })
2629
+ ], 10, si));
2615
2630
  }
2616
- }), Nl = ["adaptive", "brand", "inline"], Rl = ["medium", "small"], zl = ["external", "internal"], oi = ["id"], Pl = /* @__PURE__ */ G({
2631
+ }), Pl = ["adaptive", "brand", "inline"], Vl = ["medium", "small"], ql = ["external", "internal"], ui = ["id"], Ol = /* @__PURE__ */ G({
2617
2632
  name: "DBNavigation",
2618
2633
  __name: "navigation",
2619
2634
  props: {
@@ -2624,24 +2639,24 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2624
2639
  autofocus: { type: [Boolean, String] }
2625
2640
  },
2626
2641
  setup(e) {
2627
- const t = e, l = o(Ee), a = o(null);
2642
+ const a = e, l = o(Ee), t = o(null);
2628
2643
  return Q(() => {
2629
- l.value = t.id || "navigation-" + ae();
2630
- }), (i, c) => (v(), y("nav", {
2644
+ l.value = a.id || "navigation-" + te();
2645
+ }), (i, c) => (h(), b("nav", {
2631
2646
  ref_key: "_ref",
2632
- ref: a,
2647
+ ref: t,
2633
2648
  id: l.value,
2634
- class: q(n(O)("db-navigation", t.class))
2649
+ class: q(n(O)("db-navigation", a.class))
2635
2650
  }, [
2636
2651
  E("menu", null, [
2637
- M(i.$slots, "default")
2652
+ F(i.$slots, "default")
2638
2653
  ])
2639
- ], 10, oi));
2654
+ ], 10, ui));
2640
2655
  }
2641
- }), di = ["id", "data-width", "data-icon", "data-show-icon", "data-active", "data-wrap", "aria-disabled"], si = ["aria-haspopup", "aria-expanded", "disabled"], ui = ["data-force-close", "id"], ci = {
2656
+ }), ci = ["id", "data-width", "data-icon", "data-show-icon", "data-active", "data-wrap", "aria-disabled"], ri = ["aria-haspopup", "aria-expanded", "disabled"], vi = ["data-force-close", "id"], fi = {
2642
2657
  key: 0,
2643
2658
  class: "db-mobile-navigation-back"
2644
- }, Vl = /* @__PURE__ */ G({
2659
+ }, Ul = /* @__PURE__ */ G({
2645
2660
  name: "DBNavigationItem",
2646
2661
  __name: "navigation-item",
2647
2662
  props: {
@@ -2665,16 +2680,16 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2665
2680
  text: { default: void 0 }
2666
2681
  },
2667
2682
  setup(e) {
2668
- const t = e, l = o(!1), a = o(!1), i = o(!0), c = o(!1), u = o(!1), f = o(
2669
- "sub-navigation-" + ae()
2670
- ), m = o(void 0), h = o(null);
2683
+ const a = e, l = o(!1), t = o(!1), i = o(!0), c = o(!1), u = o(!1), v = o(
2684
+ "sub-navigation-" + te()
2685
+ ), m = o(void 0), f = o(null);
2671
2686
  Q(() => {
2672
2687
  l.value = !0;
2673
2688
  }), C(
2674
- () => [t.subNavigationExpanded],
2689
+ () => [a.subNavigationExpanded],
2675
2690
  () => {
2676
- t.subNavigationExpanded !== void 0 && (c.value = !!V(
2677
- t.subNavigationExpanded,
2691
+ a.subNavigationExpanded !== void 0 && (c.value = !!V(
2692
+ a.subNavigationExpanded,
2678
2693
  "subNavigationExpanded"
2679
2694
  ));
2680
2695
  },
@@ -2683,12 +2698,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2683
2698
  flush: "post"
2684
2699
  }
2685
2700
  ), C(
2686
- () => [l.value, h.value],
2701
+ () => [l.value, f.value],
2687
2702
  () => {
2688
- if (l.value && h.value) {
2689
- const s = h.value.querySelector("menu");
2690
- s && (s.children?.length > 0 ? (a.value = !0, m.value || (m.value = new Wt(
2691
- h.value,
2703
+ if (l.value && f.value) {
2704
+ const s = f.value.querySelector("menu");
2705
+ s && (s.children?.length > 0 ? (t.value = !0, m.value || (m.value = new ja(
2706
+ f.value,
2692
2707
  s
2693
2708
  ))) : i.value = !1);
2694
2709
  }
@@ -2704,19 +2719,19 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2704
2719
  }, 1e3));
2705
2720
  }
2706
2721
  function $(s) {
2707
- t.onClick && (s.stopPropagation(), t.onClick(s)), a.value && (c.value = !0);
2722
+ a.onClick && (s.stopPropagation(), a.onClick(s)), t.value && (c.value = !0);
2708
2723
  }
2709
- function g(s) {
2724
+ function w(s) {
2710
2725
  s.stopPropagation(), c.value = !1;
2711
2726
  }
2712
- return (s, d) => (v(), y("li", {
2727
+ return (s, d) => (h(), b("li", {
2713
2728
  ref_key: "_ref",
2714
- ref: h,
2729
+ ref: f,
2715
2730
  id: e.id,
2716
- onMouseover: d[2] || (d[2] = async (b) => m.value?.enableFollow()),
2717
- onMouseleave: d[3] || (d[3] = async (b) => m.value?.disableFollow()),
2718
- onMousemove: d[4] || (d[4] = async (b) => m.value?.followByMouseEvent(b)),
2719
- class: q(n(O)("db-navigation-item", t.class)),
2731
+ onMouseover: d[2] || (d[2] = async (S) => m.value?.enableFollow()),
2732
+ onMouseleave: d[3] || (d[3] = async (S) => m.value?.disableFollow()),
2733
+ onMousemove: d[4] || (d[4] = async (S) => m.value?.followByMouseEvent(S)),
2734
+ class: q(n(O)("db-navigation-item", a.class)),
2720
2735
  "data-width": e.width,
2721
2736
  "data-icon": e.icon,
2722
2737
  "data-show-icon": n(R)(e.showIcon),
@@ -2724,48 +2739,48 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2724
2739
  "data-wrap": n(R)(e.wrap),
2725
2740
  "aria-disabled": n(R)(e.disabled)
2726
2741
  }, [
2727
- i.value ? z("", !0) : (v(), y(W, { key: 0 }, [
2728
- e.text ? (v(), y(W, { key: 0 }, [
2729
- D(S(e.text), 1)
2730
- ], 64)) : M(s.$slots, "default", { key: 1 })
2742
+ i.value ? z("", !0) : (h(), b(W, { key: 0 }, [
2743
+ e.text ? (h(), b(W, { key: 0 }, [
2744
+ D(L(e.text), 1)
2745
+ ], 64)) : F(s.$slots, "default", { key: 1 })
2731
2746
  ], 64)),
2732
- i.value ? (v(), y(W, { key: 1 }, [
2747
+ i.value ? (h(), b(W, { key: 1 }, [
2733
2748
  E("button", {
2734
2749
  class: "db-navigation-item-expand-button",
2735
- "aria-haspopup": a.value,
2750
+ "aria-haspopup": t.value,
2736
2751
  "aria-expanded": c.value,
2737
2752
  disabled: n(V)(e.disabled, "disabled"),
2738
- onClick: d[0] || (d[0] = async (b) => $(b))
2753
+ onClick: d[0] || (d[0] = async (S) => $(S))
2739
2754
  }, [
2740
- e.text ? (v(), y(W, { key: 0 }, [
2741
- D(S(e.text), 1)
2742
- ], 64)) : M(s.$slots, "default", { key: 1 })
2743
- ], 8, si),
2755
+ e.text ? (h(), b(W, { key: 0 }, [
2756
+ D(L(e.text), 1)
2757
+ ], 64)) : F(s.$slots, "default", { key: 1 })
2758
+ ], 8, ri),
2744
2759
  E("menu", {
2745
2760
  class: "db-sub-navigation",
2746
2761
  "data-force-close": u.value,
2747
- id: f.value,
2748
- onClick: d[1] || (d[1] = async (b) => k(b))
2762
+ id: v.value,
2763
+ onClick: d[1] || (d[1] = async (S) => k(S))
2749
2764
  }, [
2750
- a.value ? (v(), y("div", ci, [
2765
+ t.value ? (h(), b("div", fi, [
2751
2766
  ie(we, {
2752
2767
  icon: "arrow_left",
2753
2768
  variant: "ghost",
2754
2769
  id: e.backButtonId,
2755
- onClick: (b) => g(b)
2770
+ onClick: (S) => w(S)
2756
2771
  }, {
2757
2772
  default: U(() => [
2758
- D(S(e.backButtonText ?? n(xa)), 1)
2773
+ D(L(e.backButtonText ?? n(Tt)), 1)
2759
2774
  ]),
2760
2775
  _: 1
2761
2776
  }, 8, ["id", "onClick"])
2762
2777
  ])) : z("", !0),
2763
- M(s.$slots, "sub-navigation")
2764
- ], 8, ui)
2778
+ F(s.$slots, "sub-navigation")
2779
+ ], 8, vi)
2765
2780
  ], 64)) : z("", !0)
2766
- ], 42, di));
2781
+ ], 42, ci));
2767
2782
  }
2768
- }), ri = ["id", "role", "aria-live", "data-semantic", "data-variant", "data-icon", "data-show-icon", "data-link-variant"], vi = { key: 0 }, fi = { key: 1 }, ql = /* @__PURE__ */ G({
2783
+ }), hi = ["id", "role", "aria-live", "data-semantic", "data-variant", "data-icon", "data-show-icon", "data-link-variant"], mi = { key: 0 }, gi = { key: 1 }, Gl = /* @__PURE__ */ G({
2769
2784
  name: "DBNotification",
2770
2785
  __name: "notification",
2771
2786
  props: {
@@ -2798,16 +2813,16 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2798
2813
  text: { default: void 0 }
2799
2814
  },
2800
2815
  setup(e) {
2801
- const t = e, l = o(null);
2802
- function a(i) {
2803
- i && (i.stopPropagation(), t.onClose && t.onClose(i));
2816
+ const a = e, l = o(null);
2817
+ function t(i) {
2818
+ i && (i.stopPropagation(), a.onClose && a.onClose(i));
2804
2819
  }
2805
- return (i, c) => (v(), y("div", {
2820
+ return (i, c) => (h(), b("div", {
2806
2821
  ref_key: "_ref",
2807
2822
  ref: l,
2808
2823
  id: e.id,
2809
- class: q(n(O)("db-notification", t.class)),
2810
- role: n(Pa)({
2824
+ class: q(n(O)("db-notification", a.class)),
2825
+ role: n(Vt)({
2811
2826
  semantic: e.semantic,
2812
2827
  role: e.role,
2813
2828
  ariaLive: e.ariaLive
@@ -2819,32 +2834,32 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2819
2834
  "data-show-icon": n(R)(e.showIcon),
2820
2835
  "data-link-variant": e.linkVariant
2821
2836
  }, [
2822
- M(i.$slots, "image"),
2823
- n(ee)(e.headline, e.showHeadline) ? (v(), y("header", vi, S(e.headline), 1)) : z("", !0),
2837
+ F(i.$slots, "image"),
2838
+ n(ee)(e.headline, e.showHeadline) ? (h(), b("header", mi, L(e.headline), 1)) : z("", !0),
2824
2839
  E("p", null, [
2825
- e.text ? (v(), y(W, { key: 0 }, [
2826
- D(S(e.text), 1)
2827
- ], 64)) : M(i.$slots, "default", { key: 1 })
2840
+ e.text ? (h(), b(W, { key: 0 }, [
2841
+ D(L(e.text), 1)
2842
+ ], 64)) : F(i.$slots, "default", { key: 1 })
2828
2843
  ]),
2829
- n(ee)(e.timestamp, e.showTimestamp) ? (v(), y("span", fi, S(e.timestamp), 1)) : z("", !0),
2830
- M(i.$slots, "link"),
2831
- n(V)(e.closeable, "closeable") ? (v(), J(we, {
2844
+ n(ee)(e.timestamp, e.showTimestamp) ? (h(), b("span", gi, L(e.timestamp), 1)) : z("", !0),
2845
+ F(i.$slots, "link"),
2846
+ n(V)(e.closeable, "closeable") ? (h(), J(we, {
2832
2847
  key: 2,
2833
2848
  icon: "cross",
2834
2849
  variant: "ghost",
2835
2850
  size: "small",
2836
2851
  id: e.closeButtonId,
2837
2852
  noText: !0,
2838
- onClick: (u) => a(u)
2853
+ onClick: (u) => t(u)
2839
2854
  }, {
2840
2855
  default: U(() => [
2841
- D(S(e.closeButtonText ?? n(Oe)), 1)
2856
+ D(L(e.closeButtonText ?? n(Ue)), 1)
2842
2857
  ]),
2843
2858
  _: 1
2844
2859
  }, 8, ["id", "onClick"])) : z("", !0)
2845
- ], 10, ri));
2860
+ ], 10, hi));
2846
2861
  }
2847
- }), Ol = ["docked", "standalone", "overlay"], Ul = ["block", "inline"], Gl = ["assertive", "polite", "off"], hi = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], Wl = /* @__PURE__ */ G({
2862
+ }), Wl = ["docked", "standalone", "overlay"], Hl = ["block", "inline"], Xl = ["assertive", "polite", "off"], bi = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], jl = /* @__PURE__ */ G({
2848
2863
  name: "DBPage",
2849
2864
  __name: "page",
2850
2865
  props: {
@@ -2861,32 +2876,32 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2861
2876
  autofocus: { type: [Boolean, String] }
2862
2877
  },
2863
2878
  setup(e) {
2864
- const t = e, l = o(!1), a = o(null);
2865
- return typeof window < "u" && document && (t.documentOverflow === "hidden" || t.variant === "fixed" && t.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), Q(() => {
2866
- l.value = !t.fadeIn, document && t.fadeIn ? document.fonts.ready.then(() => {
2879
+ const a = e, l = o(!1), t = o(null);
2880
+ return typeof window < "u" && document && (a.documentOverflow === "hidden" || a.variant === "fixed" && a.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), Q(() => {
2881
+ l.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
2867
2882
  l.value = !0;
2868
2883
  }) : l.value = !0;
2869
2884
  }), me(() => {
2870
2885
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
2871
- }), (i, c) => (v(), y("div", {
2886
+ }), (i, c) => (h(), b("div", {
2872
2887
  ref_key: "_ref",
2873
- ref: a,
2888
+ ref: t,
2874
2889
  id: e.id,
2875
- class: q(n(O)("db-page", t.class)),
2890
+ class: q(n(O)("db-page", a.class)),
2876
2891
  "data-variant": e.variant,
2877
2892
  "data-fade-in": n(R)(e.fadeIn),
2878
2893
  "data-fonts-loaded": n(R)(l.value)
2879
2894
  }, [
2880
- M(i.$slots, "header"),
2895
+ F(i.$slots, "header"),
2881
2896
  E("main", {
2882
2897
  class: q(n(O)("db-main", e.mainClass))
2883
2898
  }, [
2884
- M(i.$slots, "default")
2899
+ F(i.$slots, "default")
2885
2900
  ], 2),
2886
- M(i.$slots, "footer")
2887
- ], 10, hi));
2901
+ F(i.$slots, "footer")
2902
+ ], 10, bi));
2888
2903
  }
2889
- }), Hl = ["auto", "fixed"], Xl = ["hidden", "auto"], mi = ["id"], gi = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], jl = /* @__PURE__ */ G({
2904
+ }), Kl = ["auto", "fixed"], Yl = ["hidden", "auto"], yi = ["id"], ki = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Jl = /* @__PURE__ */ G({
2890
2905
  name: "DBPopover",
2891
2906
  __name: "popover",
2892
2907
  props: {
@@ -2905,7 +2920,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2905
2920
  width: { default: void 0 }
2906
2921
  },
2907
2922
  setup(e) {
2908
- const t = e, l = o(!1), a = o(!1), i = o(void 0), c = o(void 0), u = o(null);
2923
+ const a = e, l = o(!1), t = o(!1), i = o(void 0), c = o(void 0), u = o(null);
2909
2924
  Q(() => {
2910
2925
  l.value = !0;
2911
2926
  }), C(
@@ -2913,17 +2928,17 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2913
2928
  () => {
2914
2929
  if (u.value && l.value) {
2915
2930
  l.value = !1;
2916
- const s = g();
2931
+ const s = w();
2917
2932
  s && (s.ariaHasPopup = "true"), m(), u.value.addEventListener(
2918
2933
  "keydown",
2919
- (d) => f(d)
2934
+ (d) => v(d)
2920
2935
  ), ["mouseenter", "focusin"].forEach((d) => {
2921
2936
  u.value.addEventListener(d, () => k());
2922
2937
  }), ["mouseleave", "focusout"].forEach((d) => {
2923
2938
  u.value.addEventListener(d, () => $());
2924
2939
  }), typeof window < "u" && "IntersectionObserver" in window && (c.value = new IntersectionObserver((d) => {
2925
- const b = d.find(({ target: x }) => x === g());
2926
- b && !b.isIntersecting && f(!1);
2940
+ const S = d.find(({ target: y }) => y === w());
2941
+ S && !S.isIntersecting && v(!1);
2927
2942
  }));
2928
2943
  }
2929
2944
  },
@@ -2932,11 +2947,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2932
2947
  flush: "post"
2933
2948
  }
2934
2949
  ), C(
2935
- () => [u.value, a.value],
2950
+ () => [u.value, t.value],
2936
2951
  () => {
2937
2952
  if (u.value) {
2938
- const s = g();
2939
- s && (s.ariaExpanded = (!!a.value).toString());
2953
+ const s = w();
2954
+ s && (s.ariaExpanded = (!!t.value).toString());
2940
2955
  }
2941
2956
  },
2942
2957
  {
@@ -2944,7 +2959,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2944
2959
  flush: "post"
2945
2960
  }
2946
2961
  );
2947
- function f(s) {
2962
+ function v(s) {
2948
2963
  if (!s || s.key === "Escape")
2949
2964
  for (const d of Array.from(u.value.children))
2950
2965
  d.blur();
@@ -2953,33 +2968,33 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2953
2968
  if (!u.value) return;
2954
2969
  const s = u.value.querySelector("article");
2955
2970
  s && Y(() => {
2956
- ua(
2971
+ ct(
2957
2972
  s,
2958
2973
  u.value,
2959
- t.placement ?? "bottom"
2974
+ a.placement ?? "bottom"
2960
2975
  );
2961
2976
  }, 1);
2962
2977
  }
2963
- function h(s) {
2978
+ function f(s) {
2964
2979
  s?.target?.contains && s?.target?.contains(u.value) && m();
2965
2980
  }
2966
2981
  function k() {
2967
- a.value = !0, i.value = new de().addCallback(
2968
- (d) => h(d)
2982
+ t.value = !0, i.value = new de().addCallback(
2983
+ (d) => f(d)
2969
2984
  ), m();
2970
- const s = g();
2985
+ const s = w();
2971
2986
  s && c.value?.observe(s);
2972
2987
  }
2973
2988
  function $(s) {
2974
2989
  {
2975
- a.value = !1, i.value && new de().removeCallback(
2990
+ t.value = !1, i.value && new de().removeCallback(
2976
2991
  i.value
2977
2992
  );
2978
- const d = g();
2993
+ const d = w();
2979
2994
  d && c.value?.unobserve(d);
2980
2995
  }
2981
2996
  }
2982
- function g() {
2997
+ function w() {
2983
2998
  if (u.value) {
2984
2999
  const s = Array.from(u.value.children);
2985
3000
  if (s.length >= 2) {
@@ -2989,13 +3004,13 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2989
3004
  }
2990
3005
  return null;
2991
3006
  }
2992
- return (s, d) => (v(), y("div", {
3007
+ return (s, d) => (h(), b("div", {
2993
3008
  ref_key: "_ref",
2994
3009
  ref: u,
2995
3010
  id: e.id,
2996
- class: q(n(O)("db-popover", t.class))
3011
+ class: q(n(O)("db-popover", a.class))
2997
3012
  }, [
2998
- M(s.$slots, "trigger"),
3013
+ F(s.$slots, "trigger"),
2999
3014
  E("article", {
3000
3015
  class: "db-popover-content",
3001
3016
  "data-spacing": e.spacing,
@@ -3006,11 +3021,11 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3006
3021
  "data-width": e.width,
3007
3022
  "data-placement": e.placement
3008
3023
  }, [
3009
- M(s.$slots, "default")
3010
- ], 8, gi)
3011
- ], 10, mi));
3024
+ F(s.$slots, "default")
3025
+ ], 8, ki)
3026
+ ], 10, yi));
3012
3027
  }
3013
- }), bi = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], yi = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required"], Kl = /* @__PURE__ */ G({
3028
+ }), wi = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], Bi = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required"], Ql = /* @__PURE__ */ G({
3014
3029
  name: "DBRadio",
3015
3030
  __name: "radio",
3016
3031
  props: {
@@ -3041,31 +3056,31 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3041
3056
  size: { default: void 0 }
3042
3057
  },
3043
3058
  emits: ["update:value"],
3044
- setup(e, { emit: t }) {
3045
- const l = t, a = e, i = o(!1), c = o(void 0), u = o(void 0), f = o(null);
3059
+ setup(e, { emit: a }) {
3060
+ const l = a, t = e, i = o(!1), c = o(void 0), u = o(void 0), v = o(null);
3046
3061
  Q(() => {
3047
- i.value = !0, c.value = a.id ?? `radio-${ae()}`;
3062
+ i.value = !0, c.value = t.id ?? `radio-${te()}`;
3048
3063
  }), me(() => {
3049
3064
  u.value?.abort();
3050
3065
  }), C(
3051
- () => [i.value, f.value, a.checked],
3066
+ () => [i.value, v.value, t.checked],
3052
3067
  () => {
3053
- a.checked && i.value && f.value && (f.value.checked = !0);
3068
+ t.checked && i.value && v.value && (v.value.checked = !0);
3054
3069
  },
3055
3070
  {
3056
3071
  immediate: !0,
3057
3072
  flush: "post"
3058
3073
  }
3059
3074
  ), C(
3060
- () => [f.value],
3075
+ () => [v.value],
3061
3076
  () => {
3062
- if (f.value) {
3063
- let g = u.value;
3064
- g || (g = new AbortController(), u.value = g), Me(
3065
- f.value,
3077
+ if (v.value) {
3078
+ let w = u.value;
3079
+ w || (w = new AbortController(), u.value = w), Ne(
3080
+ v.value,
3066
3081
  (s) => {
3067
3082
  Y(() => {
3068
- const d = a.checked ? a.checked : f.value.checked, b = {
3083
+ const d = t.checked ? t.checked : v.value.checked, S = {
3069
3084
  ...s,
3070
3085
  target: {
3071
3086
  ...s.target,
@@ -3073,10 +3088,10 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3073
3088
  checked: d
3074
3089
  }
3075
3090
  };
3076
- h(b), m(b);
3091
+ f(S), m(S);
3077
3092
  }, 1);
3078
3093
  },
3079
- g.signal
3094
+ w.signal
3080
3095
  );
3081
3096
  }
3082
3097
  },
@@ -3085,23 +3100,23 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3085
3100
  flush: "post"
3086
3101
  }
3087
3102
  );
3088
- function m(g, s) {
3089
- a.input && a.input(g), a.onInput && a.onInput(g), se(l, g);
3103
+ function m(w, s) {
3104
+ t.input && t.input(w), t.onInput && t.onInput(w), se(l, w);
3090
3105
  }
3091
- function h(g, s) {
3092
- a.onChange && a.onChange(g), se(l, g);
3106
+ function f(w, s) {
3107
+ t.onChange && t.onChange(w), se(l, w);
3093
3108
  }
3094
- function k(g) {
3095
- a.onBlur && a.onBlur(g);
3109
+ function k(w) {
3110
+ t.onBlur && t.onBlur(w);
3096
3111
  }
3097
- function $(g) {
3098
- a.onFocus && a.onFocus(g);
3112
+ function $(w) {
3113
+ t.onFocus && t.onFocus(w);
3099
3114
  }
3100
- return (g, s) => (v(), y("label", {
3115
+ return (w, s) => (h(), b("label", {
3101
3116
  "data-size": e.size,
3102
3117
  "data-hide-label": n(oe)(e.showLabel),
3103
3118
  "data-hide-asterisk": n(oe)(e.showRequiredAsterisk),
3104
- class: q(n(O)("db-radio", a.class)),
3119
+ class: q(n(O)("db-radio", t.class)),
3105
3120
  for: c.value
3106
3121
  }, [
3107
3122
  E("input", {
@@ -3109,7 +3124,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3109
3124
  "aria-invalid": e.validation === "invalid",
3110
3125
  "data-custom-validity": e.validation,
3111
3126
  ref_key: "_ref",
3112
- ref: f,
3127
+ ref: v,
3113
3128
  id: c.value,
3114
3129
  name: e.name,
3115
3130
  checked: n(V)(e.checked, "checked"),
@@ -3117,16 +3132,16 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3117
3132
  value: e.value,
3118
3133
  required: n(V)(e.required, "required"),
3119
3134
  onInput: s[0] || (s[0] = async (d) => m(d)),
3120
- onChange: s[1] || (s[1] = async (d) => h(d)),
3135
+ onChange: s[1] || (s[1] = async (d) => f(d)),
3121
3136
  onBlur: s[2] || (s[2] = async (d) => k(d)),
3122
3137
  onFocus: s[3] || (s[3] = async (d) => $(d))
3123
- }, null, 40, yi),
3124
- e.label ? (v(), y(W, { key: 0 }, [
3125
- D(S(e.label), 1)
3126
- ], 64)) : M(g.$slots, "default", { key: 1 })
3127
- ], 10, bi));
3138
+ }, null, 40, Bi),
3139
+ e.label ? (h(), b(W, { key: 0 }, [
3140
+ D(L(e.label), 1)
3141
+ ], 64)) : F(w.$slots, "default", { key: 1 })
3142
+ ], 10, wi));
3128
3143
  }
3129
- }), ki = ["id", "data-spacing", "data-width"], Yl = /* @__PURE__ */ G({
3144
+ }), Si = ["id", "data-spacing", "data-width"], Zl = /* @__PURE__ */ G({
3130
3145
  name: "DBSection",
3131
3146
  __name: "section",
3132
3147
  props: {
@@ -3139,22 +3154,22 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3139
3154
  width: { default: void 0 }
3140
3155
  },
3141
3156
  setup(e) {
3142
- const t = e, l = o(null);
3143
- return (a, i) => (v(), y("section", {
3157
+ const a = e, l = o(null);
3158
+ return (t, i) => (h(), b("section", {
3144
3159
  ref_key: "_ref",
3145
3160
  ref: l,
3146
3161
  id: e.id,
3147
- class: q(n(O)("db-section", t.class)),
3162
+ class: q(n(O)("db-section", a.class)),
3148
3163
  "data-spacing": e.spacing || "medium",
3149
3164
  "data-width": e.width
3150
3165
  }, [
3151
- M(a.$slots, "default")
3152
- ], 10, ki));
3166
+ F(t.$slots, "default")
3167
+ ], 10, Si));
3153
3168
  }
3154
- }), wi = ["data-variant", "data-hide-label", "data-hide-asterisk", "data-icon", "data-show-icon"], Bi = ["for"], Si = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], pi = ["data-show-empty-option"], Li = ["label"], Ii = ["value", "selected", "disabled"], xi = ["value", "disabled", "selected"], $i = ["id"], Ti = {
3169
+ }), pi = ["data-variant", "data-hide-label", "data-hide-asterisk", "data-icon", "data-show-icon"], Li = ["for"], Ii = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], xi = ["data-show-empty-option"], Ti = ["label"], $i = ["value", "selected", "disabled"], Ci = ["value", "disabled", "selected"], Ei = ["id"], Ai = {
3155
3170
  "data-visually-hidden": "true",
3156
3171
  role: "status"
3157
- }, Jl = /* @__PURE__ */ G({
3172
+ }, _l = /* @__PURE__ */ G({
3158
3173
  name: "DBSelect",
3159
3174
  __name: "select",
3160
3175
  props: {
@@ -3199,29 +3214,29 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3199
3214
  size: { default: void 0 }
3200
3215
  },
3201
3216
  emits: ["update:value"],
3202
- setup(e, { emit: t }) {
3203
- const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(""), k = o(void 0), $ = o(""), g = o(!1), s = o(""), d = o(void 0), b = o(null);
3217
+ setup(e, { emit: a }) {
3218
+ const l = a, t = e, i = o(void 0), c = o(void 0), u = o(void 0), v = o(void 0), m = o(void 0), f = o(""), k = o(void 0), $ = o(""), w = o(!1), s = o(""), d = o(void 0), S = o(null);
3204
3219
  Q(() => {
3205
- g.value = !0;
3206
- const A = a.id ?? `select-${ae()}`;
3207
- i.value = A, c.value = A + re, u.value = A + ve, f.value = A + fe, h.value = A + Fe, m.value = a.invalidMessage || te;
3220
+ w.value = !0;
3221
+ const A = t.id ?? `select-${te()}`;
3222
+ i.value = A, c.value = A + re, u.value = A + ve, v.value = A + fe, f.value = A + Fe, m.value = t.invalidMessage || ae;
3208
3223
  }), me(() => {
3209
3224
  d.value?.abort();
3210
3225
  }), C(
3211
- () => [b.value, a.invalidMessage],
3226
+ () => [S.value, t.invalidMessage],
3212
3227
  () => {
3213
- m.value = a.invalidMessage || b.value?.validationMessage || te;
3228
+ m.value = t.invalidMessage || S.value?.validationMessage || ae;
3214
3229
  },
3215
3230
  {
3216
3231
  immediate: !0,
3217
3232
  flush: "post"
3218
3233
  }
3219
3234
  ), C(
3220
- () => [i.value, g.value],
3235
+ () => [i.value, w.value],
3221
3236
  () => {
3222
- if (i.value && g.value) {
3237
+ if (i.value && w.value) {
3223
3238
  const A = i.value + re, K = i.value + Fe;
3224
- c.value = A, u.value = i.value + ve, f.value = i.value + fe, h.value = K, ee(a.message, a.showMessage) ? k.value = A : a.placeholder ? k.value = K : k.value = void 0, T(), g.value = !1;
3239
+ c.value = A, u.value = i.value + ve, v.value = i.value + fe, f.value = K, ee(t.message, t.showMessage) ? k.value = A : t.placeholder ? k.value = K : k.value = void 0, x(), w.value = !1;
3225
3240
  }
3226
3241
  },
3227
3242
  {
@@ -3229,27 +3244,27 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3229
3244
  flush: "post"
3230
3245
  }
3231
3246
  ), C(
3232
- () => [a.value],
3247
+ () => [t.value],
3233
3248
  () => {
3234
- $.value = a.value;
3249
+ $.value = t.value;
3235
3250
  },
3236
3251
  {
3237
3252
  immediate: !0,
3238
3253
  flush: "post"
3239
3254
  }
3240
3255
  ), C(
3241
- () => [b.value],
3256
+ () => [S.value],
3242
3257
  () => {
3243
- if (b.value) {
3258
+ if (S.value) {
3244
3259
  let j = d.value;
3245
- j || (j = new AbortController(), d.value = j), Ue(
3246
- b.value,
3260
+ j || (j = new AbortController(), d.value = j), Ge(
3261
+ S.value,
3247
3262
  {
3248
- value: a.value,
3263
+ value: t.value,
3249
3264
  defaultValue: void 0
3250
3265
  },
3251
3266
  (be) => {
3252
- B(be), L(be);
3267
+ p(be), g(be);
3253
3268
  },
3254
3269
  j.signal
3255
3270
  );
@@ -3260,47 +3275,47 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3260
3275
  flush: "post"
3261
3276
  }
3262
3277
  );
3263
- function x() {
3264
- return !!(a.validMessage ?? a.validation === "valid");
3278
+ function y() {
3279
+ return !!(t.validMessage ?? t.validation === "valid");
3265
3280
  }
3266
- function T() {
3267
- !b.value?.validity.valid || a.validation === "invalid" ? (k.value = f.value, m.value = a.invalidMessage || b.value?.validationMessage || te, ce() && (s.value = m.value, Y(() => s.value = "", 1e3))) : x() && b.value?.validity.valid && a.required ? (k.value = u.value, ce() && (s.value = a.validMessage ?? ue, Y(() => s.value = "", 1e3))) : ee(a.message, a.showMessage) ? k.value = c.value : a.placeholder ? k.value = h.value : k.value = void 0;
3281
+ function x() {
3282
+ !S.value?.validity.valid || t.validation === "invalid" ? (k.value = v.value, m.value = t.invalidMessage || S.value?.validationMessage || ae, ce() && (s.value = m.value, Y(() => s.value = "", 1e3))) : y() && S.value?.validity.valid && t.required ? (k.value = u.value, ce() && (s.value = t.validMessage ?? ue, Y(() => s.value = "", 1e3))) : ee(t.message, t.showMessage) ? k.value = c.value : t.placeholder ? k.value = f.value : k.value = void 0;
3268
3283
  }
3269
- function w(A) {
3270
- a.onClick && a.onClick(A);
3284
+ function B(A) {
3285
+ t.onClick && t.onClick(A);
3271
3286
  }
3272
- function L(A, K) {
3273
- a.input && a.input(A), $.value = A.target.value, a.onInput && a.onInput(A), se(l, A), T();
3287
+ function g(A, K) {
3288
+ t.input && t.input(A), $.value = A.target.value, t.onInput && t.onInput(A), se(l, A), x();
3274
3289
  }
3275
- function B(A, K) {
3276
- a.onChange && a.onChange(A), se(l, A), T();
3290
+ function p(A, K) {
3291
+ t.onChange && t.onChange(A), se(l, A), x();
3277
3292
  }
3278
3293
  function N(A) {
3279
- a.onBlur && a.onBlur(A);
3294
+ t.onBlur && t.onBlur(A);
3280
3295
  }
3281
- function F(A) {
3282
- a.onFocus && a.onFocus(A);
3296
+ function M(A) {
3297
+ t.onFocus && t.onFocus(A);
3283
3298
  }
3284
3299
  function H(A) {
3285
3300
  return A.label ?? A.value?.toString();
3286
3301
  }
3287
3302
  function X() {
3288
- return a.variant === "floating" || !!a.placeholder ? a.showEmptyOption !== void 0 ? a.showEmptyOption : !a.required : !1;
3303
+ return t.variant === "floating" || !!t.placeholder ? t.showEmptyOption !== void 0 ? t.showEmptyOption : !t.required : !1;
3289
3304
  }
3290
- return (A, K) => (v(), y("div", {
3291
- class: q(n(O)("db-select", a.class)),
3305
+ return (A, K) => (h(), b("div", {
3306
+ class: q(n(O)("db-select", t.class)),
3292
3307
  "data-variant": e.variant,
3293
3308
  "data-hide-label": n(oe)(e.showLabel),
3294
3309
  "data-hide-asterisk": n(oe)(e.showRequiredAsterisk),
3295
3310
  "data-icon": e.icon,
3296
3311
  "data-show-icon": n(R)(e.showIcon)
3297
3312
  }, [
3298
- E("label", { for: i.value }, S(e.label ?? n(ke)), 9, Bi),
3313
+ E("label", { for: i.value }, L(e.label ?? n(ke)), 9, Li),
3299
3314
  E("select", {
3300
3315
  "aria-invalid": e.validation === "invalid",
3301
3316
  "data-custom-validity": e.validation,
3302
3317
  ref_key: "_ref",
3303
- ref: b,
3318
+ ref: S,
3304
3319
  required: n(V)(e.required, "required"),
3305
3320
  disabled: n(V)(e.disabled, "disabled"),
3306
3321
  id: i.value,
@@ -3309,79 +3324,79 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3309
3324
  value: e.value ?? $.value,
3310
3325
  autocomplete: e.autocomplete,
3311
3326
  multiple: e.multiple,
3312
- onInput: K[0] || (K[0] = async (j) => L(j)),
3313
- onClick: K[1] || (K[1] = async (j) => w(j)),
3314
- onChange: K[2] || (K[2] = async (j) => B(j)),
3327
+ onInput: K[0] || (K[0] = async (j) => g(j)),
3328
+ onClick: K[1] || (K[1] = async (j) => B(j)),
3329
+ onChange: K[2] || (K[2] = async (j) => p(j)),
3315
3330
  onBlur: K[3] || (K[3] = async (j) => N(j)),
3316
- onFocus: K[4] || (K[4] = async (j) => F(j)),
3331
+ onFocus: K[4] || (K[4] = async (j) => M(j)),
3317
3332
  "aria-describedby": e.ariaDescribedBy ?? k.value
3318
3333
  }, [
3319
- e.variant === "floating" || e.placeholder ? (v(), y("option", {
3334
+ e.variant === "floating" || e.placeholder ? (h(), b("option", {
3320
3335
  key: 0,
3321
3336
  class: "placeholder",
3322
3337
  value: "",
3323
3338
  "data-show-empty-option": n(R)(X())
3324
- }, null, 8, pi)) : z("", !0),
3325
- e.options?.length ? (v(!0), y(W, { key: 1 }, ge(e.options, (j, be) => (v(), y(W, { key: be }, [
3326
- j.options ? (v(), y("optgroup", {
3339
+ }, null, 8, xi)) : z("", !0),
3340
+ e.options?.length ? (h(!0), b(W, { key: 1 }, ge(e.options, (j, be) => (h(), b(W, { key: be }, [
3341
+ j.options ? (h(), b("optgroup", {
3327
3342
  key: 0,
3328
3343
  label: H(j)
3329
3344
  }, [
3330
- (v(!0), y(W, null, ge(j.options, (Be, xe) => (v(), y("option", {
3345
+ (h(!0), b(W, null, ge(j.options, (Be, xe) => (h(), b("option", {
3331
3346
  key: xe,
3332
3347
  value: Be.value,
3333
3348
  selected: Be.selected,
3334
3349
  disabled: Be.disabled
3335
- }, S(H(Be)), 9, Ii))), 128))
3336
- ], 8, Li)) : (v(), y("option", {
3350
+ }, L(H(Be)), 9, $i))), 128))
3351
+ ], 8, Ti)) : (h(), b("option", {
3337
3352
  key: 1,
3338
3353
  value: j.value,
3339
3354
  disabled: j.disabled,
3340
3355
  selected: j.selected
3341
- }, S(H(j)), 9, xi))
3342
- ], 64))), 128)) : M(A.$slots, "default", { key: 2 })
3343
- ], 40, Si),
3344
- e.placeholder ? (v(), y("span", {
3356
+ }, L(H(j)), 9, Ci))
3357
+ ], 64))), 128)) : F(A.$slots, "default", { key: 2 })
3358
+ ], 40, Ii),
3359
+ e.placeholder ? (h(), b("span", {
3345
3360
  key: 0,
3346
3361
  class: "db-select-placeholder",
3347
- id: h.value
3348
- }, S(e.placeholder), 9, $i)) : z("", !0),
3349
- n(ee)(e.message, e.showMessage) ? (v(), J(_, {
3362
+ id: f.value
3363
+ }, L(e.placeholder), 9, Ei)) : z("", !0),
3364
+ n(ee)(e.message, e.showMessage) ? (h(), J(_, {
3350
3365
  key: 1,
3351
3366
  size: "small",
3352
3367
  icon: e.messageIcon,
3353
3368
  id: c.value
3354
3369
  }, {
3355
3370
  default: U(() => [
3356
- D(S(e.message), 1)
3371
+ D(L(e.message), 1)
3357
3372
  ]),
3358
3373
  _: 1
3359
3374
  }, 8, ["icon", "id"])) : z("", !0),
3360
- x() ? (v(), J(_, {
3375
+ y() ? (h(), J(_, {
3361
3376
  key: 2,
3362
3377
  size: "small",
3363
3378
  semantic: "successful",
3364
3379
  id: u.value
3365
3380
  }, {
3366
3381
  default: U(() => [
3367
- D(S(e.validMessage || n(ue)), 1)
3382
+ D(L(e.validMessage || n(ue)), 1)
3368
3383
  ]),
3369
3384
  _: 1
3370
3385
  }, 8, ["id"])) : z("", !0),
3371
3386
  ie(_, {
3372
3387
  size: "small",
3373
3388
  semantic: "critical",
3374
- id: f.value
3389
+ id: v.value
3375
3390
  }, {
3376
3391
  default: U(() => [
3377
- D(S(m.value), 1)
3392
+ D(L(m.value), 1)
3378
3393
  ]),
3379
3394
  _: 1
3380
3395
  }, 8, ["id"]),
3381
- E("span", Ti, S(s.value), 1)
3382
- ], 10, wi));
3396
+ E("span", Ai, L(s.value), 1)
3397
+ ], 10, pi));
3383
3398
  }
3384
- }), Ci = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], Ql = /* @__PURE__ */ G({
3399
+ }), Di = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], en = /* @__PURE__ */ G({
3385
3400
  name: "DBStack",
3386
3401
  __name: "stack",
3387
3402
  props: {
@@ -3398,12 +3413,12 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3398
3413
  gap: { default: void 0 }
3399
3414
  },
3400
3415
  setup(e) {
3401
- const t = e, l = o(null);
3402
- return (a, i) => (v(), y("div", {
3416
+ const a = e, l = o(null);
3417
+ return (t, i) => (h(), b("div", {
3403
3418
  ref_key: "_ref",
3404
3419
  ref: l,
3405
3420
  id: e.id,
3406
- class: q(n(O)("db-stack", t.class)),
3421
+ class: q(n(O)("db-stack", a.class)),
3407
3422
  "data-gap": e.gap,
3408
3423
  "data-variant": e.variant,
3409
3424
  "data-direction": e.direction,
@@ -3411,13 +3426,13 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3411
3426
  "data-justify-content": e.justifyContent,
3412
3427
  "data-wrap": n(R)(e.wrap)
3413
3428
  }, [
3414
- M(a.$slots, "default")
3415
- ], 10, Ci));
3429
+ F(t.$slots, "default")
3430
+ ], 10, Di));
3416
3431
  }
3417
- }), Zl = ["simple", "divider"], _l = ["row", "column"], en = ["stretch", "start", "end", "center"], an = ["space-between", "start", "end", "center"], Ei = ["data-visual-aid", "data-size", "data-hide-label", "data-variant", "data-hide-asterisk", "data-custom-validity"], Ai = ["for"], Di = ["id", "checked", "value", "disabled", "aria-invalid", "aria-describedby", "name", "required", "data-aid-icon", "data-aid-icon-trailing"], Fi = {
3432
+ }), tn = ["simple", "divider"], an = ["row", "column"], ln = ["stretch", "start", "end", "center"], nn = ["space-between", "start", "end", "center"], Mi = ["data-visual-aid", "data-size", "data-hide-label", "data-variant", "data-hide-asterisk", "data-custom-validity"], Fi = ["for"], Ni = ["id", "checked", "value", "disabled", "aria-invalid", "aria-describedby", "name", "required", "data-aid-icon", "data-aid-icon-trailing"], Ri = {
3418
3433
  "data-visually-hidden": "true",
3419
3434
  role: "status"
3420
- }, tn = /* @__PURE__ */ G({
3435
+ }, on = /* @__PURE__ */ G({
3421
3436
  name: "DBSwitch",
3422
3437
  __name: "switch",
3423
3438
  props: {
@@ -3458,21 +3473,21 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3458
3473
  visualAid: { type: [Boolean, String], default: void 0 }
3459
3474
  },
3460
3475
  emits: ["update:checked"],
3461
- setup(e, { emit: t }) {
3462
- const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(""), $ = o(void 0), g = o(null);
3476
+ setup(e, { emit: a }) {
3477
+ const l = a, t = e, i = o(void 0), c = o(void 0), u = o(void 0), v = o(void 0), m = o(void 0), f = o(void 0), k = o(""), $ = o(void 0), w = o(null);
3463
3478
  Q(() => {
3464
- i.value = a.id ?? `switch-${ae()}`, c.value = `${i.value}${re}`, u.value = `${i.value}${ve}`, f.value = `${i.value}${fe}`, d();
3479
+ i.value = t.id ?? `switch-${te()}`, c.value = `${i.value}${re}`, u.value = `${i.value}${ve}`, v.value = `${i.value}${fe}`, d();
3465
3480
  }), me(() => {
3466
3481
  $.value?.abort();
3467
3482
  }), C(
3468
3483
  () => [
3469
- a.validation,
3470
- a.required,
3471
- a.message,
3472
- a.showMessage,
3473
- a.validMessage,
3474
- a.invalidMessage,
3475
- a.checked
3484
+ t.validation,
3485
+ t.required,
3486
+ t.message,
3487
+ t.showMessage,
3488
+ t.validMessage,
3489
+ t.invalidMessage,
3490
+ t.checked
3476
3491
  ],
3477
3492
  () => {
3478
3493
  d();
@@ -3482,20 +3497,20 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3482
3497
  flush: "post"
3483
3498
  }
3484
3499
  ), C(
3485
- () => [g.value],
3500
+ () => [w.value],
3486
3501
  () => {
3487
- if (g.value) {
3488
- let B = $.value;
3489
- B || (B = new AbortController(), $.value = B), da(
3490
- g.value,
3502
+ if (w.value) {
3503
+ let p = $.value;
3504
+ p || (p = new AbortController(), $.value = p), st(
3505
+ w.value,
3491
3506
  {
3492
- checked: a.checked,
3507
+ checked: t.checked,
3493
3508
  defaultChecked: void 0
3494
3509
  },
3495
3510
  (N) => {
3496
- b(N);
3511
+ S(N);
3497
3512
  },
3498
- B.signal
3513
+ p.signal
3499
3514
  );
3500
3515
  }
3501
3516
  },
@@ -3505,47 +3520,47 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3505
3520
  }
3506
3521
  );
3507
3522
  function s() {
3508
- return !!(a.validMessage ?? a.validation === "valid");
3523
+ return !!(t.validMessage ?? t.validation === "valid");
3509
3524
  }
3510
3525
  function d() {
3511
- if (!g.value?.validity?.valid || a.validation === "invalid") {
3512
- h.value = f.value, m.value = a.invalidMessage || g.value?.validationMessage || te, ce() && (k.value = m.value || te, Y(() => {
3526
+ if (!w.value?.validity?.valid || t.validation === "invalid") {
3527
+ f.value = v.value, m.value = t.invalidMessage || w.value?.validationMessage || ae, ce() && (k.value = m.value || ae, Y(() => {
3513
3528
  k.value = "";
3514
3529
  }, 1e3));
3515
3530
  return;
3516
3531
  }
3517
- if (s() && g.value?.validity?.valid && a.required) {
3518
- h.value = u.value, ce() && (k.value = a.validMessage ?? ue, Y(() => {
3532
+ if (s() && w.value?.validity?.valid && t.required) {
3533
+ f.value = u.value, ce() && (k.value = t.validMessage ?? ue, Y(() => {
3519
3534
  k.value = "";
3520
3535
  }, 1e3));
3521
3536
  return;
3522
3537
  }
3523
- if (ee(a.message, a.showMessage)) {
3524
- h.value = c.value;
3538
+ if (ee(t.message, t.showMessage)) {
3539
+ f.value = c.value;
3525
3540
  return;
3526
3541
  }
3527
- h.value = void 0;
3542
+ f.value = void 0;
3528
3543
  }
3529
- function b(L, B) {
3530
- a.onChange && a.onChange(L), d(), se(l, L, "checked");
3544
+ function S(g, p) {
3545
+ t.onChange && t.onChange(g), d(), se(l, g, "checked");
3531
3546
  }
3532
- function x(L) {
3533
- a.onBlur && a.onBlur(L);
3547
+ function y(g) {
3548
+ t.onBlur && t.onBlur(g);
3534
3549
  }
3535
- function T(L) {
3536
- a.onFocus && a.onFocus(L);
3550
+ function x(g) {
3551
+ t.onFocus && t.onFocus(g);
3537
3552
  }
3538
- function w(L) {
3539
- L.key === "Enter" && (L.preventDefault(), a.disabled || g.value?.click());
3553
+ function B(g) {
3554
+ g.key === "Enter" && (g.preventDefault(), t.disabled || w.value?.click());
3540
3555
  }
3541
- return (L, B) => (v(), y("div", {
3556
+ return (g, p) => (h(), b("div", {
3542
3557
  "data-visual-aid": n(R)(e.visualAid),
3543
3558
  "data-size": e.size,
3544
3559
  "data-hide-label": n(oe)(e.showLabel),
3545
3560
  "data-variant": e.variant,
3546
3561
  "data-hide-asterisk": n(oe)(e.showRequiredAsterisk),
3547
3562
  "data-custom-validity": e.validation,
3548
- class: q(n(O)("db-switch", a.class))
3563
+ class: q(n(O)("db-switch", t.class))
3549
3564
  }, [
3550
3565
  E("label", { for: i.value }, [
3551
3566
  E("input", {
@@ -3553,26 +3568,26 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3553
3568
  role: "switch",
3554
3569
  id: i.value,
3555
3570
  ref_key: "_ref",
3556
- ref: g,
3571
+ ref: w,
3557
3572
  checked: n(V)(e.checked, "checked"),
3558
3573
  value: e.value,
3559
3574
  disabled: n(V)(e.disabled, "disabled"),
3560
3575
  "aria-invalid": e.validation === "invalid" ? "true" : void 0,
3561
- "aria-describedby": h.value,
3576
+ "aria-describedby": f.value,
3562
3577
  name: e.name,
3563
3578
  required: n(V)(e.required, "required"),
3564
3579
  "data-aid-icon": e.iconLeading ?? e.icon,
3565
3580
  "data-aid-icon-trailing": e.iconTrailing,
3566
- onChange: B[0] || (B[0] = async (N) => b(N)),
3567
- onBlur: B[1] || (B[1] = async (N) => x(N)),
3568
- onFocus: B[2] || (B[2] = async (N) => T(N)),
3569
- onKeydown: B[3] || (B[3] = async (N) => w(N))
3570
- }, null, 40, Di),
3571
- e.label ? (v(), y(W, { key: 0 }, [
3572
- D(S(e.label), 1)
3573
- ], 64)) : M(L.$slots, "default", { key: 1 })
3574
- ], 8, Ai),
3575
- n(ee)(e.message, e.showMessage) ? (v(), J(_, {
3581
+ onChange: p[0] || (p[0] = async (N) => S(N)),
3582
+ onBlur: p[1] || (p[1] = async (N) => y(N)),
3583
+ onFocus: p[2] || (p[2] = async (N) => x(N)),
3584
+ onKeydown: p[3] || (p[3] = async (N) => B(N))
3585
+ }, null, 40, Ni),
3586
+ e.label ? (h(), b(W, { key: 0 }, [
3587
+ D(L(e.label), 1)
3588
+ ], 64)) : F(g.$slots, "default", { key: 1 })
3589
+ ], 8, Fi),
3590
+ n(ee)(e.message, e.showMessage) ? (h(), J(_, {
3576
3591
  key: 0,
3577
3592
  size: "small",
3578
3593
  semantic: "adaptive",
@@ -3580,35 +3595,35 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3580
3595
  icon: e.messageIcon
3581
3596
  }, {
3582
3597
  default: U(() => [
3583
- D(S(e.message), 1)
3598
+ D(L(e.message), 1)
3584
3599
  ]),
3585
3600
  _: 1
3586
3601
  }, 8, ["id", "icon"])) : z("", !0),
3587
- s() ? (v(), J(_, {
3602
+ s() ? (h(), J(_, {
3588
3603
  key: 1,
3589
3604
  size: "small",
3590
3605
  semantic: "successful",
3591
3606
  id: u.value
3592
3607
  }, {
3593
3608
  default: U(() => [
3594
- D(S(e.validMessage ?? n(ue)), 1)
3609
+ D(L(e.validMessage ?? n(ue)), 1)
3595
3610
  ]),
3596
3611
  _: 1
3597
3612
  }, 8, ["id"])) : z("", !0),
3598
3613
  ie(_, {
3599
3614
  size: "small",
3600
3615
  semantic: "critical",
3601
- id: f.value
3616
+ id: v.value
3602
3617
  }, {
3603
3618
  default: U(() => [
3604
- D(S(m.value ?? e.invalidMessage ?? n(te)), 1)
3619
+ D(L(m.value ?? e.invalidMessage ?? n(ae)), 1)
3605
3620
  ]),
3606
3621
  _: 1
3607
3622
  }, 8, ["id"]),
3608
- E("span", Fi, S(k.value), 1)
3609
- ], 10, Ei));
3623
+ E("span", Ri, L(k.value), 1)
3624
+ ], 10, Mi));
3610
3625
  }
3611
- }), Mi = ["for", "data-icon", "data-icon-trailing", "data-show-icon", "data-show-icon-trailing", "data-no-text"], Ni = ["disabled", "aria-selected", "checked", "name", "id"], Ri = /* @__PURE__ */ G({
3626
+ }), zi = ["for", "data-icon", "data-icon-trailing", "data-show-icon", "data-show-icon-trailing", "data-no-text"], Pi = ["disabled", "aria-selected", "checked", "name", "id"], Vi = /* @__PURE__ */ G({
3612
3627
  name: "DBTabItem",
3613
3628
  __name: "tab-item",
3614
3629
  props: {
@@ -3633,40 +3648,40 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3633
3648
  name: { default: void 0 }
3634
3649
  },
3635
3650
  emits: ["update:checked"],
3636
- setup(e, { emit: t }) {
3637
- const l = t, a = e, i = o(!1), c = o(void 0), u = o(!1), f = o(!1), m = o(void 0), h = o(null);
3651
+ setup(e, { emit: a }) {
3652
+ const l = a, t = e, i = o(!1), c = o(void 0), u = o(!1), v = o(!1), m = o(void 0), f = o(null);
3638
3653
  Q(() => {
3639
3654
  m.value = k, u.value = !0;
3640
3655
  }), me(() => {
3641
- f.value && h.value && m.value && (h.value.closest("[role=tablist]")?.removeEventListener("change", m.value), f.value = !1);
3656
+ v.value && f.value && m.value && (f.value.closest("[role=tablist]")?.removeEventListener("change", m.value), v.value = !1);
3642
3657
  }), C(
3643
- () => [h.value, u.value, m.value],
3658
+ () => [f.value, u.value, m.value],
3644
3659
  () => {
3645
- h.value && u.value && m.value && (u.value = !1, f.value || (h.value.closest("[role=tablist]")?.addEventListener("change", m.value), f.value = !0), (a.active || h.value.checked) && (i.value = !0, h.value.click()));
3660
+ f.value && u.value && m.value && (u.value = !1, v.value || (f.value.closest("[role=tablist]")?.addEventListener("change", m.value), v.value = !0), (t.active || f.value.checked) && (i.value = !0, f.value.click()));
3646
3661
  },
3647
3662
  {
3648
3663
  immediate: !0,
3649
3664
  flush: "post"
3650
3665
  }
3651
3666
  ), C(
3652
- () => [a.name],
3667
+ () => [t.name],
3653
3668
  () => {
3654
- a.name && (c.value = a.name);
3669
+ t.name && (c.value = t.name);
3655
3670
  },
3656
3671
  {
3657
3672
  immediate: !0,
3658
3673
  flush: "post"
3659
3674
  }
3660
3675
  );
3661
- function k(g) {
3662
- g.stopPropagation(), i.value = g.target === h.value;
3676
+ function k(w) {
3677
+ w.stopPropagation(), i.value = w.target === f.value;
3663
3678
  }
3664
- function $(g) {
3665
- a.onChange && a.onChange(g), se(l, g, "checked");
3679
+ function $(w) {
3680
+ t.onChange && t.onChange(w), se(l, w, "checked");
3666
3681
  }
3667
- return (g, s) => (v(), y("li", {
3682
+ return (w, s) => (h(), b("li", {
3668
3683
  role: "none",
3669
- class: q(n(O)("db-tab-item", a.class))
3684
+ class: q(n(O)("db-tab-item", t.class))
3670
3685
  }, [
3671
3686
  E("label", {
3672
3687
  for: e.id,
@@ -3683,19 +3698,19 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3683
3698
  "aria-selected": i.value,
3684
3699
  checked: n(V)(e.checked, "checked"),
3685
3700
  ref_key: "_ref",
3686
- ref: h,
3701
+ ref: f,
3687
3702
  name: c.value,
3688
3703
  id: e.id,
3689
3704
  onInput: s[0] || (s[0] = async (d) => $(d))
3690
- }, null, 40, Ni),
3691
- e.label ? (v(), y(W, { key: 0 }, [
3692
- D(S(e.label), 1)
3705
+ }, null, 40, Pi),
3706
+ e.label ? (h(), b(W, { key: 0 }, [
3707
+ D(L(e.label), 1)
3693
3708
  ], 64)) : z("", !0),
3694
- M(g.$slots, "default")
3695
- ], 8, Mi)
3709
+ F(w.$slots, "default")
3710
+ ], 8, zi)
3696
3711
  ], 2));
3697
3712
  }
3698
- }), zi = ["id"], Pi = { role: "tablist" }, Vi = /* @__PURE__ */ G({
3713
+ }), qi = ["id"], Oi = { role: "tablist" }, Ui = /* @__PURE__ */ G({
3699
3714
  name: "DBTabList",
3700
3715
  __name: "tab-list",
3701
3716
  props: {
@@ -3706,21 +3721,21 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3706
3721
  autofocus: { type: [Boolean, String] }
3707
3722
  },
3708
3723
  setup(e) {
3709
- const t = e, l = o(Ee), a = o(null);
3724
+ const a = e, l = o(Ee), t = o(null);
3710
3725
  return Q(() => {
3711
- l.value = t.id || "tab-list-" + ae();
3712
- }), (i, c) => (v(), y("div", {
3726
+ l.value = a.id || "tab-list-" + te();
3727
+ }), (i, c) => (h(), b("div", {
3713
3728
  ref_key: "_ref",
3714
- ref: a,
3729
+ ref: t,
3715
3730
  id: l.value,
3716
- class: q(n(O)("db-tab-list", t.class))
3731
+ class: q(n(O)("db-tab-list", a.class))
3717
3732
  }, [
3718
- E("ul", Pi, [
3719
- M(i.$slots, "default")
3733
+ E("ul", Oi, [
3734
+ F(i.$slots, "default")
3720
3735
  ])
3721
- ], 10, zi));
3736
+ ], 10, qi));
3722
3737
  }
3723
- }), qi = ["id"], Oi = /* @__PURE__ */ G({
3738
+ }), Gi = ["id"], Wi = /* @__PURE__ */ G({
3724
3739
  name: "DBTabPanel",
3725
3740
  __name: "tab-panel",
3726
3741
  props: {
@@ -3732,22 +3747,22 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3732
3747
  autofocus: { type: [Boolean, String] }
3733
3748
  },
3734
3749
  setup(e) {
3735
- const t = e, l = o(null);
3750
+ const a = e, l = o(null);
3736
3751
  return Q(() => {
3737
- }), (a, i) => (v(), y("section", {
3752
+ }), (t, i) => (h(), b("section", {
3738
3753
  role: "tabpanel",
3739
3754
  ref_key: "_ref",
3740
3755
  ref: l,
3741
- class: q(n(O)("db-tab-panel", t.class)),
3756
+ class: q(n(O)("db-tab-panel", a.class)),
3742
3757
  id: e.id
3743
3758
  }, [
3744
- e.content ? (v(), y(W, { key: 0 }, [
3745
- D(S(e.content), 1)
3759
+ e.content ? (h(), b(W, { key: 0 }, [
3760
+ D(L(e.content), 1)
3746
3761
  ], 64)) : z("", !0),
3747
- M(a.$slots, "default")
3748
- ], 10, qi));
3762
+ F(t.$slots, "default")
3763
+ ], 10, Gi));
3749
3764
  }
3750
- }), Ui = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], ln = /* @__PURE__ */ G({
3765
+ }), Hi = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], dn = /* @__PURE__ */ G({
3751
3766
  name: "DBTabs",
3752
3767
  __name: "tabs",
3753
3768
  props: {
@@ -3771,22 +3786,22 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3771
3786
  tabSelect: {}
3772
3787
  },
3773
3788
  setup(e) {
3774
- const t = e, l = o("tabs-" + ae()), a = o(""), i = o(!1), c = o(!1), u = o(!1), f = o(null), m = o(void 0), h = o(null);
3789
+ const a = e, l = o("tabs-" + te()), t = o(""), i = o(!1), c = o(!1), u = o(!1), v = o(null), m = o(void 0), f = o(null);
3775
3790
  Q(() => {
3776
- l.value = t.id || l.value, a.value = `tabs-${t.name || ae()}`, i.value = !0;
3791
+ l.value = a.id || l.value, t.value = `tabs-${a.name || te()}`, i.value = !0;
3777
3792
  }), me(() => {
3778
3793
  m.value?.disconnect(), m.value = void 0;
3779
3794
  }), C(
3780
- () => [h.value, i.value],
3795
+ () => [f.value, i.value],
3781
3796
  () => {
3782
- if (h.value && i.value) {
3797
+ if (f.value && i.value) {
3783
3798
  s(), d(!0);
3784
- const x = h.value.querySelector(".db-tab-list");
3785
- x && new MutationObserver((w) => {
3786
- w.forEach((L) => {
3787
- (L.removedNodes.length || L.addedNodes.length) && (s(), d());
3799
+ const y = f.value.querySelector(".db-tab-list");
3800
+ y && new MutationObserver((B) => {
3801
+ B.forEach((g) => {
3802
+ (g.removedNodes.length || g.addedNodes.length) && (s(), d());
3788
3803
  });
3789
- }).observe(x, {
3804
+ }).observe(y, {
3790
3805
  childList: !0,
3791
3806
  subtree: !0
3792
3807
  }), i.value = !1;
@@ -3799,161 +3814,161 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3799
3814
  );
3800
3815
  function k() {
3801
3816
  try {
3802
- return typeof t.tabs == "string" ? JSON.parse(t.tabs) : t.tabs;
3803
- } catch (x) {
3804
- console.error(x);
3817
+ return typeof a.tabs == "string" ? JSON.parse(a.tabs) : a.tabs;
3818
+ } catch (y) {
3819
+ console.error(y);
3805
3820
  }
3806
3821
  return [];
3807
3822
  }
3808
- function $(x) {
3809
- const T = x.scrollWidth > x.clientWidth;
3810
- c.value = T && x.scrollLeft > 1, u.value = T && x.scrollLeft < x.scrollWidth - x.clientWidth;
3823
+ function $(y) {
3824
+ const x = y.scrollWidth > y.clientWidth;
3825
+ c.value = x && y.scrollLeft > 1, u.value = x && y.scrollLeft < y.scrollWidth - y.clientWidth;
3811
3826
  }
3812
- function g(x) {
3813
- let T = Number(t.arrowScrollDistance) || 100;
3814
- x && (T *= -1), f.value?.scrollBy({
3827
+ function w(y) {
3828
+ let x = Number(a.arrowScrollDistance) || 100;
3829
+ y && (x *= -1), v.value?.scrollBy({
3815
3830
  top: 0,
3816
- left: T,
3831
+ left: x,
3817
3832
  behavior: "smooth"
3818
3833
  });
3819
3834
  }
3820
3835
  function s() {
3821
- if (h.value) {
3822
- const x = h.value.querySelector(".db-tab-list");
3823
- if (x) {
3824
- const T = x.querySelector('[role="tablist"]');
3825
- if (T && (T.setAttribute(
3836
+ if (f.value) {
3837
+ const y = f.value.querySelector(".db-tab-list");
3838
+ if (y) {
3839
+ const x = y.querySelector('[role="tablist"]');
3840
+ if (x && (x.setAttribute(
3826
3841
  "aria-orientation",
3827
- t.orientation || "horizontal"
3828
- ), t.behavior === "arrows" && (f.value = T, $(T), T.addEventListener("scroll", () => {
3829
- $(T);
3842
+ a.orientation || "horizontal"
3843
+ ), a.behavior === "arrows" && (v.value = x, $(x), x.addEventListener("scroll", () => {
3844
+ $(x);
3830
3845
  }), !m.value))) {
3831
- const w = new ResizeObserver(() => {
3832
- $(T);
3846
+ const B = new ResizeObserver(() => {
3847
+ $(x);
3833
3848
  });
3834
- w.observe(T), m.value = w;
3849
+ B.observe(x), m.value = B;
3835
3850
  }
3836
3851
  }
3837
3852
  }
3838
3853
  }
3839
- function d(x) {
3840
- if (h.value) {
3841
- const T = Array.from(
3842
- h.value.getElementsByClassName("db-tab-item")
3843
- ), w = Array.from(
3844
- h.value.querySelectorAll(
3854
+ function d(y) {
3855
+ if (f.value) {
3856
+ const x = Array.from(
3857
+ f.value.getElementsByClassName("db-tab-item")
3858
+ ), B = Array.from(
3859
+ f.value.querySelectorAll(
3845
3860
  ":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"
3846
3861
  )
3847
3862
  );
3848
- for (const L of T) {
3849
- const B = T.indexOf(L), N = L.querySelector("label"), F = L.querySelector("input");
3850
- if (F && N) {
3851
- if (!F.id) {
3852
- const H = `${a.value}-tab-${B}`;
3853
- N.setAttribute("for", H), F.id = H, F.setAttribute("name", a.value), w.length > B && F.setAttribute(
3863
+ for (const g of x) {
3864
+ const p = x.indexOf(g), N = g.querySelector("label"), M = g.querySelector("input");
3865
+ if (M && N) {
3866
+ if (!M.id) {
3867
+ const H = `${t.value}-tab-${p}`;
3868
+ N.setAttribute("for", H), M.id = H, M.setAttribute("name", t.value), B.length > p && M.setAttribute(
3854
3869
  "aria-controls",
3855
- `${a.value}-tab-panel-${B}`
3870
+ `${t.value}-tab-panel-${p}`
3856
3871
  );
3857
3872
  }
3858
- if (x) {
3859
- const H = !t.initialSelectedMode || t.initialSelectedMode === "auto", X = t.initialSelectedIndex == null && B === 0 || Number(t.initialSelectedIndex) === B;
3860
- H && X && F.click();
3873
+ if (y) {
3874
+ const H = !a.initialSelectedMode || a.initialSelectedMode === "auto", X = a.initialSelectedIndex == null && p === 0 || Number(a.initialSelectedIndex) === p;
3875
+ H && X && M.click();
3861
3876
  }
3862
3877
  }
3863
3878
  }
3864
- for (const L of w) {
3865
- if (L.id) continue;
3866
- const B = w.indexOf(L);
3867
- L.id = `${a.value}-tab-panel-${B}`, L.setAttribute("aria-labelledby", `${a.value}-tab-${B}`);
3879
+ for (const g of B) {
3880
+ if (g.id) continue;
3881
+ const p = B.indexOf(g);
3882
+ g.id = `${t.value}-tab-panel-${p}`, g.setAttribute("aria-labelledby", `${t.value}-tab-${p}`);
3868
3883
  }
3869
3884
  }
3870
3885
  }
3871
- function b(x) {
3872
- if (x.stopPropagation(), x.target) {
3873
- const w = x.target.parentElement;
3874
- if (w && w.parentElement && w.parentElement?.nodeName === "LI") {
3875
- const L = w.parentElement;
3876
- if (L) {
3877
- const B = L.parentElement;
3878
- if (B) {
3879
- const N = Array.from(B.children).indexOf(L);
3880
- t.onIndexChange && t.onIndexChange(N), t.onTabSelect && t.onTabSelect(x);
3886
+ function S(y) {
3887
+ if (y.stopPropagation(), y.target) {
3888
+ const B = y.target.parentElement;
3889
+ if (B && B.parentElement && B.parentElement?.nodeName === "LI") {
3890
+ const g = B.parentElement;
3891
+ if (g) {
3892
+ const p = g.parentElement;
3893
+ if (p) {
3894
+ const N = Array.from(p.children).indexOf(g);
3895
+ a.onIndexChange && a.onIndexChange(N), a.onTabSelect && a.onTabSelect(y);
3881
3896
  }
3882
3897
  }
3883
3898
  }
3884
3899
  }
3885
3900
  }
3886
- return (x, T) => (v(), y("div", {
3901
+ return (y, x) => (h(), b("div", {
3887
3902
  ref_key: "_ref",
3888
- ref: h,
3903
+ ref: f,
3889
3904
  id: l.value,
3890
- class: q(n(O)("db-tabs", t.class)),
3905
+ class: q(n(O)("db-tabs", a.class)),
3891
3906
  "data-orientation": e.orientation,
3892
3907
  "data-scroll-behavior": e.behavior,
3893
3908
  "data-alignment": e.alignment ?? "start",
3894
3909
  "data-width": e.width ?? "auto",
3895
- onInput: T[0] || (T[0] = async (w) => b(w)),
3896
- onChange: T[1] || (T[1] = async (w) => b(w))
3910
+ onInput: x[0] || (x[0] = async (B) => S(B)),
3911
+ onChange: x[1] || (x[1] = async (B) => S(B))
3897
3912
  }, [
3898
- c.value ? (v(), J(we, {
3913
+ c.value ? (h(), J(we, {
3899
3914
  key: 0,
3900
3915
  class: "tabs-scroll-left",
3901
3916
  variant: "ghost",
3902
3917
  icon: "chevron_left",
3903
3918
  type: "button",
3904
3919
  noText: !0,
3905
- onClick: (w) => g(!0)
3920
+ onClick: (B) => w(!0)
3906
3921
  }, {
3907
- default: U(() => [...T[2] || (T[2] = [
3922
+ default: U(() => [...x[2] || (x[2] = [
3908
3923
  D(" Scroll left ", -1)
3909
3924
  ])]),
3910
3925
  _: 1
3911
3926
  }, 8, ["onClick"])) : z("", !0),
3912
- e.tabs ? (v(), y(W, { key: 1 }, [
3913
- ie(Vi, null, {
3927
+ e.tabs ? (h(), b(W, { key: 1 }, [
3928
+ ie(Ui, null, {
3914
3929
  default: U(() => [
3915
- (v(!0), y(W, null, ge(k(), (w, L) => (v(), J(Ri, {
3916
- key: e.name + "tab-item" + L,
3917
- active: w.active,
3918
- label: w.label,
3919
- iconTrailing: w.iconTrailing,
3920
- icon: w.icon,
3921
- noText: w.noText
3930
+ (h(!0), b(W, null, ge(k(), (B, g) => (h(), J(Vi, {
3931
+ key: e.name + "tab-item" + g,
3932
+ active: B.active,
3933
+ label: B.label,
3934
+ iconTrailing: B.iconTrailing,
3935
+ icon: B.icon,
3936
+ noText: B.noText
3922
3937
  }, null, 8, ["active", "label", "iconTrailing", "icon", "noText"]))), 128))
3923
3938
  ]),
3924
3939
  _: 1
3925
3940
  }),
3926
- (v(!0), y(W, null, ge(k(), (w, L) => (v(), J(Oi, {
3927
- key: e.name + "tab-panel" + L,
3928
- content: w.content
3941
+ (h(!0), b(W, null, ge(k(), (B, g) => (h(), J(Wi, {
3942
+ key: e.name + "tab-panel" + g,
3943
+ content: B.content
3929
3944
  }, {
3930
3945
  default: U(() => [
3931
- D(S(w.children), 1)
3946
+ D(L(B.children), 1)
3932
3947
  ]),
3933
3948
  _: 2
3934
3949
  }, 1032, ["content"]))), 128))
3935
3950
  ], 64)) : z("", !0),
3936
- u.value ? (v(), J(we, {
3951
+ u.value ? (h(), J(we, {
3937
3952
  key: 2,
3938
3953
  class: "tabs-scroll-right",
3939
3954
  variant: "ghost",
3940
3955
  icon: "chevron_right",
3941
3956
  type: "button",
3942
3957
  noText: !0,
3943
- onClick: (w) => g()
3958
+ onClick: (B) => w()
3944
3959
  }, {
3945
- default: U(() => [...T[3] || (T[3] = [
3960
+ default: U(() => [...x[3] || (x[3] = [
3946
3961
  D(" Scroll right ", -1)
3947
3962
  ])]),
3948
3963
  _: 1
3949
3964
  }, 8, ["onClick"])) : z("", !0),
3950
- M(x.$slots, "default")
3951
- ], 42, Ui));
3965
+ F(y.$slots, "default")
3966
+ ], 42, Hi));
3952
3967
  }
3953
- }), nn = ["scrollbar", "arrows"], on = ["auto", "manually"], dn = ["static", "removable"], Gi = ["data-variant", "data-hide-asterisk", "data-hide-label"], Wi = ["for"], Hi = ["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"], Xi = {
3968
+ }), sn = ["scrollbar", "arrows"], un = ["auto", "manually"], cn = ["static", "removable"], Xi = ["data-variant", "data-hide-asterisk", "data-hide-label"], ji = ["for"], Ki = ["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"], Yi = {
3954
3969
  "data-visually-hidden": "true",
3955
3970
  role: "status"
3956
- }, sn = /* @__PURE__ */ G({
3971
+ }, rn = /* @__PURE__ */ G({
3957
3972
  name: "DBTextarea",
3958
3973
  __name: "textarea",
3959
3974
  props: {
@@ -4003,17 +4018,17 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
4003
4018
  showMessage: { type: [Boolean, String], default: void 0 }
4004
4019
  },
4005
4020
  emits: ["update:value"],
4006
- setup(e, { emit: t }) {
4007
- const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(""), $ = o(""), g = o(void 0), s = o(null);
4021
+ setup(e, { emit: a }) {
4022
+ const l = a, t = e, i = o(void 0), c = o(void 0), u = o(void 0), v = o(void 0), m = o(void 0), f = o(void 0), k = o(""), $ = o(""), w = o(void 0), s = o(null);
4008
4023
  Q(() => {
4009
- const B = a.id ?? `textarea-${ae()}`;
4010
- i.value = B, c.value = B + re, u.value = B + ve, f.value = B + fe, m.value = a.invalidMessage || te;
4024
+ const p = t.id ?? `textarea-${te()}`;
4025
+ i.value = p, c.value = p + re, u.value = p + ve, v.value = p + fe, m.value = t.invalidMessage || ae;
4011
4026
  }), me(() => {
4012
- g.value?.abort();
4027
+ w.value?.abort();
4013
4028
  }), C(
4014
- () => [s.value, a.invalidMessage],
4029
+ () => [s.value, t.invalidMessage],
4015
4030
  () => {
4016
- m.value = a.invalidMessage || s.value?.validationMessage || te;
4031
+ m.value = t.invalidMessage || s.value?.validationMessage || ae;
4017
4032
  },
4018
4033
  {
4019
4034
  immediate: !0,
@@ -4023,8 +4038,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
4023
4038
  () => [i.value],
4024
4039
  () => {
4025
4040
  if (i.value) {
4026
- const B = i.value + re;
4027
- c.value = B, u.value = i.value + ve, f.value = i.value + fe, ee(a.message, a.showMessage) && (h.value = B), b();
4041
+ const p = i.value + re;
4042
+ c.value = p, u.value = i.value + ve, v.value = i.value + fe, ee(t.message, t.showMessage) && (f.value = p), S();
4028
4043
  }
4029
4044
  },
4030
4045
  {
@@ -4032,9 +4047,9 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
4032
4047
  flush: "post"
4033
4048
  }
4034
4049
  ), C(
4035
- () => [a.value],
4050
+ () => [t.value],
4036
4051
  () => {
4037
- a.value !== void 0 && (k.value = a.value);
4052
+ t.value !== void 0 && (k.value = t.value);
4038
4053
  },
4039
4054
  {
4040
4055
  immediate: !0,
@@ -4044,17 +4059,17 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
4044
4059
  () => [s.value],
4045
4060
  () => {
4046
4061
  if (s.value) {
4047
- let F = g.value;
4048
- F || (F = new AbortController(), g.value = F), Ue(
4062
+ let M = w.value;
4063
+ M || (M = new AbortController(), w.value = M), Ge(
4049
4064
  s.value,
4050
4065
  {
4051
- value: a.value,
4066
+ value: t.value,
4052
4067
  defaultValue: void 0
4053
4068
  },
4054
4069
  (H) => {
4055
- T(H), x(H);
4070
+ x(H), y(H);
4056
4071
  },
4057
- F.signal
4072
+ M.signal
4058
4073
  );
4059
4074
  }
4060
4075
  },
@@ -4064,30 +4079,30 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
4064
4079
  }
4065
4080
  );
4066
4081
  function d() {
4067
- return !!(a.validMessage ?? a.validation === "valid");
4082
+ return !!(t.validMessage ?? t.validation === "valid");
4068
4083
  }
4069
- function b() {
4070
- !s.value?.validity.valid || a.validation === "invalid" ? (h.value = f.value, m.value = a.invalidMessage || s.value?.validationMessage || te, ce() && ($.value = m.value, Y(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && (a.required || a.minLength || a.maxLength) ? (h.value = u.value, ce() && ($.value = a.validMessage ?? ue, Y(() => $.value = "", 1e3))) : ee(a.message, a.showMessage) ? h.value = c.value : h.value = void 0;
4084
+ function S() {
4085
+ !s.value?.validity.valid || t.validation === "invalid" ? (f.value = v.value, m.value = t.invalidMessage || s.value?.validationMessage || ae, ce() && ($.value = m.value, Y(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && (t.required || t.minLength || t.maxLength) ? (f.value = u.value, ce() && ($.value = t.validMessage ?? ue, Y(() => $.value = "", 1e3))) : ee(t.message, t.showMessage) ? f.value = c.value : f.value = void 0;
4071
4086
  }
4072
- function x(B, N) {
4073
- a.input && a.input(B), k.value = B.target.value, a.onInput && a.onInput(B), se(l, B), b();
4087
+ function y(p, N) {
4088
+ t.input && t.input(p), k.value = p.target.value, t.onInput && t.onInput(p), se(l, p), S();
4074
4089
  }
4075
- function T(B, N) {
4076
- a.onChange && a.onChange(B), se(l, B), b();
4090
+ function x(p, N) {
4091
+ t.onChange && t.onChange(p), se(l, p), S();
4077
4092
  }
4078
- function w(B) {
4079
- a.onBlur && a.onBlur(B);
4093
+ function B(p) {
4094
+ t.onBlur && t.onBlur(p);
4080
4095
  }
4081
- function L(B) {
4082
- a.onFocus && a.onFocus(B);
4096
+ function g(p) {
4097
+ t.onFocus && t.onFocus(p);
4083
4098
  }
4084
- return (B, N) => (v(), y("div", {
4085
- class: q(n(O)("db-textarea", a.class)),
4099
+ return (p, N) => (h(), b("div", {
4100
+ class: q(n(O)("db-textarea", t.class)),
4086
4101
  "data-variant": e.variant,
4087
4102
  "data-hide-asterisk": n(oe)(e.showRequiredAsterisk),
4088
4103
  "data-hide-label": n(oe)(e.showLabel)
4089
4104
  }, [
4090
- E("label", { for: i.value }, S(e.label ?? n(ke)), 9, Wi),
4105
+ E("label", { for: i.value }, L(e.label ?? n(ke)), 9, ji),
4091
4106
  E("textarea", {
4092
4107
  "aria-invalid": e.validation === "invalid",
4093
4108
  "data-custom-validity": e.validation,
@@ -4107,206 +4122,206 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
4107
4122
  wrap: e.wrap,
4108
4123
  spellcheck: e.spellCheck,
4109
4124
  autocomplete: e.autocomplete,
4110
- onInput: N[0] || (N[0] = async (F) => x(F)),
4111
- onChange: N[1] || (N[1] = async (F) => T(F)),
4112
- onBlur: N[2] || (N[2] = async (F) => w(F)),
4113
- onFocus: N[3] || (N[3] = async (F) => L(F)),
4125
+ onInput: N[0] || (N[0] = async (M) => y(M)),
4126
+ onChange: N[1] || (N[1] = async (M) => x(M)),
4127
+ onBlur: N[2] || (N[2] = async (M) => B(M)),
4128
+ onFocus: N[3] || (N[3] = async (M) => g(M)),
4114
4129
  value: e.value ?? k.value,
4115
- "aria-describedby": e.ariaDescribedBy ?? h.value,
4116
- placeholder: e.placeholder ?? n(ea),
4117
- rows: n(Le)(e.rows, n(Ea)),
4130
+ "aria-describedby": e.ariaDescribedBy ?? f.value,
4131
+ placeholder: e.placeholder ?? n(tt),
4132
+ rows: n(Le)(e.rows, n(At)),
4118
4133
  cols: n(Le)(e.cols)
4119
- }, S(e.value), 41, Hi),
4120
- n(ee)(e.message, e.showMessage) ? (v(), J(_, {
4134
+ }, L(e.value), 41, Ki),
4135
+ n(ee)(e.message, e.showMessage) ? (h(), J(_, {
4121
4136
  key: 0,
4122
4137
  size: "small",
4123
4138
  icon: e.messageIcon,
4124
4139
  id: c.value
4125
4140
  }, {
4126
4141
  default: U(() => [
4127
- D(S(e.message), 1)
4142
+ D(L(e.message), 1)
4128
4143
  ]),
4129
4144
  _: 1
4130
4145
  }, 8, ["icon", "id"])) : z("", !0),
4131
- d() ? (v(), J(_, {
4146
+ d() ? (h(), J(_, {
4132
4147
  key: 1,
4133
4148
  size: "small",
4134
4149
  semantic: "successful",
4135
4150
  id: u.value
4136
4151
  }, {
4137
4152
  default: U(() => [
4138
- D(S(e.validMessage || n(ue)), 1)
4153
+ D(L(e.validMessage || n(ue)), 1)
4139
4154
  ]),
4140
4155
  _: 1
4141
4156
  }, 8, ["id"])) : z("", !0),
4142
4157
  ie(_, {
4143
4158
  size: "small",
4144
4159
  semantic: "critical",
4145
- id: f.value
4160
+ id: v.value
4146
4161
  }, {
4147
4162
  default: U(() => [
4148
- D(S(m.value), 1)
4163
+ D(L(m.value), 1)
4149
4164
  ]),
4150
4165
  _: 1
4151
4166
  }, 8, ["id"]),
4152
- E("span", Xi, S($.value), 1)
4153
- ], 10, Gi));
4167
+ E("span", Yi, L($.value), 1)
4168
+ ], 10, Xi));
4154
4169
  }
4155
- }), un = ["none", "both", "horizontal", "vertical"], cn = ["hard", "soft", "off"], rn = ["description", "label"], vn = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], fn = ["medium", "small", "large", "none"], hn = ["medium", "small", "large", "none"], ji = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Ki = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], mn = [...ji, ...Ki], gn = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], bn = ["horizontal", "vertical"], yn = ["full", "auto"], kn = ["full", "medium", "large", "small"], wn = ["none", "slow", "fast"], Bn = ["auto", "fixed"], Sn = ["small", "medium"], pn = ["weak", "strong"], Ln = ["invalid", "valid", "no-validation"], In = ["fixed", "content"], xn = ["above", "floating"], $n = ["leading", "trailing"], Tn = ["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"], Cn = ["_self", "_blank", "_parent", "_top"], En = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], An = ["start", "center"];
4170
+ }), vn = ["none", "both", "horizontal", "vertical"], fn = ["hard", "soft", "off"], hn = ["description", "label"], mn = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], gn = ["medium", "small", "large", "none"], bn = ["medium", "small", "large", "none"], Ji = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Qi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], yn = [...Ji, ...Qi], kn = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], wn = ["horizontal", "vertical"], Bn = ["full", "auto"], Sn = ["full", "medium", "large", "small"], pn = ["none", "slow", "fast"], Ln = ["auto", "fixed"], In = ["small", "medium"], xn = ["weak", "strong"], Tn = ["invalid", "valid", "no-validation"], $n = ["fixed", "content"], Cn = ["above", "floating"], En = ["leading", "trailing"], An = ["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"], Dn = ["_self", "_blank", "_parent", "_top"], Mn = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], Fn = ["start", "center"];
4156
4171
  export {
4157
- sl as AccordionBehaviorList,
4158
- dl as AccordionVariantList,
4159
- An as AlignmentList,
4160
- Tn as AutoCompleteList,
4161
- cl as BadgePlacementList,
4162
- fl as ButtonTypeList,
4163
- vl as ButtonVariantList,
4164
- la as COLOR,
4165
- _i as COLORS,
4166
- el as COLORS_SIMPLE,
4167
- Qi as COLOR_CONST,
4168
- ia as COLOR_SIMPLE,
4169
- ml as CardBehaviorList,
4170
- gl as CardElevationLevelList,
4171
- kl as CustomSelectDropdownWidthList,
4172
- Bl as CustomSelectListItemTypeList,
4173
- ol as DBAccordion,
4174
- Oa as DBAccordionItem,
4175
- ul as DBBadge,
4176
- rl as DBBrand,
4172
+ rl as AccordionBehaviorList,
4173
+ cl as AccordionVariantList,
4174
+ Fn as AlignmentList,
4175
+ An as AutoCompleteList,
4176
+ fl as BadgePlacementList,
4177
+ gl as ButtonTypeList,
4178
+ ml as ButtonVariantList,
4179
+ nt as COLOR,
4180
+ al as COLORS,
4181
+ il as COLORS_SIMPLE,
4182
+ el as COLOR_CONST,
4183
+ lt as COLOR_SIMPLE,
4184
+ yl as CardBehaviorList,
4185
+ kl as CardElevationLevelList,
4186
+ Sl as CustomSelectDropdownWidthList,
4187
+ Ll as CustomSelectListItemTypeList,
4188
+ ul as DBAccordion,
4189
+ Ut as DBAccordionItem,
4190
+ vl as DBBadge,
4191
+ hl as DBBrand,
4177
4192
  we as DBButton,
4178
- hl as DBCard,
4179
- bl as DBCheckbox,
4180
- yl as DBCustomSelect,
4181
- tt as DBCustomSelectDropdown,
4182
- wl as DBCustomSelectFormField,
4183
- ut as DBCustomSelectList,
4184
- dt as DBCustomSelectListItem,
4185
- pl as DBDivider,
4186
- Ut as DBDrawer,
4187
- El as DBHeader,
4188
- Al as DBIcon,
4193
+ bl as DBCard,
4194
+ wl as DBCheckbox,
4195
+ Bl as DBCustomSelect,
4196
+ na as DBCustomSelectDropdown,
4197
+ pl as DBCustomSelectFormField,
4198
+ va as DBCustomSelectList,
4199
+ ca as DBCustomSelectListItem,
4200
+ xl as DBDivider,
4201
+ Ha as DBDrawer,
4202
+ Ml as DBHeader,
4203
+ Fl as DBIcon,
4189
4204
  _ as DBInfotext,
4190
- gt as DBInput,
4191
- Ml as DBLink,
4192
- Pl as DBNavigation,
4193
- Vl as DBNavigationItem,
4194
- ql as DBNotification,
4195
- Wl as DBPage,
4196
- jl as DBPopover,
4197
- Kl as DBRadio,
4198
- Yl as DBSection,
4199
- Jl as DBSelect,
4200
- Ql as DBStack,
4201
- tn as DBSwitch,
4202
- Ri as DBTabItem,
4203
- Vi as DBTabList,
4204
- Oi as DBTabPanel,
4205
- ln as DBTabs,
4206
- kt as DBTag,
4207
- sn as DBTextarea,
4208
- ca as DBTooltip,
4209
- il as DB_UX_LOCAL_STORAGE_FRAMEWORK,
4210
- ll as DB_UX_LOCAL_STORAGE_MODE,
4211
- xa as DEFAULT_BACK,
4212
- Ta as DEFAULT_BURGER_MENU,
4213
- Oe as DEFAULT_CLOSE_BUTTON,
4214
- Qe as DEFAULT_DATALIST_ID_SUFFIX,
4215
- Ca as DEFAULT_ICON,
4205
+ ka as DBInput,
4206
+ zl as DBLink,
4207
+ Ol as DBNavigation,
4208
+ Ul as DBNavigationItem,
4209
+ Gl as DBNotification,
4210
+ jl as DBPage,
4211
+ Jl as DBPopover,
4212
+ Ql as DBRadio,
4213
+ Zl as DBSection,
4214
+ _l as DBSelect,
4215
+ en as DBStack,
4216
+ on as DBSwitch,
4217
+ Vi as DBTabItem,
4218
+ Ui as DBTabList,
4219
+ Wi as DBTabPanel,
4220
+ dn as DBTabs,
4221
+ Sa as DBTag,
4222
+ rn as DBTextarea,
4223
+ rt as DBTooltip,
4224
+ ol as DB_UX_LOCAL_STORAGE_FRAMEWORK,
4225
+ dl as DB_UX_LOCAL_STORAGE_MODE,
4226
+ Tt as DEFAULT_BACK,
4227
+ Ct as DEFAULT_BURGER_MENU,
4228
+ Ue as DEFAULT_CLOSE_BUTTON,
4229
+ Ze as DEFAULT_DATALIST_ID_SUFFIX,
4230
+ Et as DEFAULT_ICON,
4216
4231
  Ee as DEFAULT_ID,
4217
- te as DEFAULT_INVALID_MESSAGE,
4232
+ ae as DEFAULT_INVALID_MESSAGE,
4218
4233
  fe as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
4219
4234
  ke as DEFAULT_LABEL,
4220
- Ye as DEFAULT_LABEL_ID_SUFFIX,
4221
- Ia as DEFAULT_MESSAGE,
4235
+ Je as DEFAULT_LABEL_ID_SUFFIX,
4236
+ xt as DEFAULT_MESSAGE,
4222
4237
  re as DEFAULT_MESSAGE_ID_SUFFIX,
4223
- ea as DEFAULT_PLACEHOLDER,
4238
+ tt as DEFAULT_PLACEHOLDER,
4224
4239
  Fe as DEFAULT_PLACEHOLDER_ID_SUFFIX,
4225
- aa as DEFAULT_REMOVE,
4226
- Ea as DEFAULT_ROWS,
4227
- $a as DEFAULT_SELECTED,
4228
- Je as DEFAULT_SELECT_ID_SUFFIX,
4240
+ at as DEFAULT_REMOVE,
4241
+ At as DEFAULT_ROWS,
4242
+ $t as DEFAULT_SELECTED,
4243
+ Qe as DEFAULT_SELECT_ID_SUFFIX,
4229
4244
  ue as DEFAULT_VALID_MESSAGE,
4230
4245
  ve as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
4231
- Aa as DEFAULT_VIEWPORT,
4232
- Zi as DENSITIES,
4233
- ta as DENSITY,
4234
- Ji as DENSITY_CONST,
4235
- Da as DESKTOP_VIEWPORT,
4236
- Ll as DividerMarginList,
4237
- Il as DividerVariantList,
4246
+ Dt as DEFAULT_VIEWPORT,
4247
+ tl as DENSITIES,
4248
+ it as DENSITY,
4249
+ _i as DENSITY_CONST,
4250
+ Mt as DESKTOP_VIEWPORT,
4251
+ Tl as DividerMarginList,
4252
+ $l as DividerVariantList,
4238
4253
  he as DocumentClickListener,
4239
4254
  de as DocumentScrollListener,
4240
- xl as DrawerBackdropList,
4241
- $l as DrawerDirectionList,
4242
- Cl as DrawerPositionList,
4243
- Tl as DrawerVariantList,
4244
- pn as EmphasisList,
4245
- In as FieldSizingList,
4246
- gn as GapSpacingList,
4247
- Dl as IconWeightList,
4248
- Fl as InputTypeList,
4249
- $n as LabelVariantHorizontalList,
4250
- xn as LabelVariantList,
4251
- zl as LinkContentList,
4252
- En as LinkReferrerPolicyList,
4253
- Rl as LinkSizeList,
4254
- Cn as LinkTargetList,
4255
- Nl as LinkVariantList,
4256
- hn as MarginList,
4257
- kn as MaxWidthList,
4258
- Wt as NavigationItemSafeTriangle,
4259
- Gl as NotificationAriaLiveList,
4260
- Ul as NotificationLinkVariantList,
4261
- Ol as NotificationVariantList,
4262
- bn as OrientationList,
4263
- Xl as PageDocumentOverflowList,
4264
- Hl as PageVariantList,
4265
- ji as PlacementHorizontalList,
4266
- mn as PlacementList,
4267
- Ki as PlacementVerticalList,
4268
- wn as PopoverDelayList,
4269
- Bn as PopoverWidthList,
4270
- na as SEMANTIC,
4271
- al as SEMANTICS,
4272
- Sl as SelectedTypeList,
4273
- vn as SemanticList,
4274
- Sn as SizeList,
4275
- fn as SpacingList,
4276
- en as StackAlignmentList,
4277
- _l as StackDirectionList,
4278
- an as StackJustifyContentList,
4279
- Zl as StackVariantList,
4280
- tl as TESTING_VIEWPORTS,
4281
- nn as TabsBehaviorList,
4282
- on as TabsInitialSelectedModeList,
4283
- dn as TagBehaviorList,
4284
- un as TextareaResizeList,
4285
- cn as TextareaWrapList,
4286
- rn as TooltipVariantList,
4287
- Ln as ValidationList,
4288
- yn as WidthList,
4289
- oa as addAttributeToChildren,
4255
+ Cl as DrawerBackdropList,
4256
+ El as DrawerDirectionList,
4257
+ Dl as DrawerPositionList,
4258
+ Al as DrawerVariantList,
4259
+ xn as EmphasisList,
4260
+ $n as FieldSizingList,
4261
+ kn as GapSpacingList,
4262
+ Nl as IconWeightList,
4263
+ Rl as InputTypeList,
4264
+ En as LabelVariantHorizontalList,
4265
+ Cn as LabelVariantList,
4266
+ ql as LinkContentList,
4267
+ Mn as LinkReferrerPolicyList,
4268
+ Vl as LinkSizeList,
4269
+ Dn as LinkTargetList,
4270
+ Pl as LinkVariantList,
4271
+ bn as MarginList,
4272
+ Sn as MaxWidthList,
4273
+ ja as NavigationItemSafeTriangle,
4274
+ Xl as NotificationAriaLiveList,
4275
+ Hl as NotificationLinkVariantList,
4276
+ Wl as NotificationVariantList,
4277
+ wn as OrientationList,
4278
+ Yl as PageDocumentOverflowList,
4279
+ Kl as PageVariantList,
4280
+ Ji as PlacementHorizontalList,
4281
+ yn as PlacementList,
4282
+ Qi as PlacementVerticalList,
4283
+ pn as PopoverDelayList,
4284
+ Ln as PopoverWidthList,
4285
+ ot as SEMANTIC,
4286
+ ll as SEMANTICS,
4287
+ Il as SelectedTypeList,
4288
+ mn as SemanticList,
4289
+ In as SizeList,
4290
+ gn as SpacingList,
4291
+ ln as StackAlignmentList,
4292
+ an as StackDirectionList,
4293
+ nn as StackJustifyContentList,
4294
+ tn as StackVariantList,
4295
+ nl as TESTING_VIEWPORTS,
4296
+ sn as TabsBehaviorList,
4297
+ un as TabsInitialSelectedModeList,
4298
+ cn as TagBehaviorList,
4299
+ vn as TextareaResizeList,
4300
+ fn as TextareaWrapList,
4301
+ hn as TooltipVariantList,
4302
+ Tn as ValidationList,
4303
+ Bn as WidthList,
4304
+ dt as addAttributeToChildren,
4290
4305
  O as cls,
4291
4306
  Y as delay,
4292
4307
  V as getBoolean,
4293
4308
  R as getBooleanAsString,
4294
- sa as getFloatingProps,
4309
+ ut as getFloatingProps,
4295
4310
  oe as getHideProp,
4296
- Ze as getInputValue,
4297
- Pa as getNotificationRole,
4311
+ _e as getInputValue,
4312
+ Vt as getNotificationRole,
4298
4313
  Le as getNumber,
4299
- nl as getOptionKey,
4300
- _e as getSearchInput,
4301
- Ra as getStep,
4302
- _a as handleDataOutside,
4303
- et as handleFixedDropdown,
4304
- ua as handleFixedPopover,
4314
+ sl as getOptionKey,
4315
+ et as getSearchInput,
4316
+ zt as getStep,
4317
+ ea as handleDataOutside,
4318
+ ta as handleFixedDropdown,
4319
+ ct as handleFixedPopover,
4305
4320
  ce as hasVoiceOver,
4306
- Fa as isArrayOfStrings,
4307
- Gt as isEventTargetNavigationItem,
4308
- Na as isIOSSafari,
4309
- za as isKeyboardEvent,
4321
+ Ft as isArrayOfStrings,
4322
+ Xa as isEventTargetNavigationItem,
4323
+ Rt as isIOSSafari,
4324
+ Pt as isKeyboardEvent,
4310
4325
  ee as stringPropVisible,
4311
- ae as uuid
4326
+ te as uuid
4312
4327
  };