@db-ux/v-core-components 3.1.17 → 3.1.19

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,11 +1,11 @@
1
- import { defineComponent as U, ref as s, onMounted as j, watch as D, createElementBlock as k, openBlock as m, normalizeClass as P, unref as o, createElementVNode as _, createCommentVNode as R, renderSlot as A, Fragment as G, createTextVNode as N, toDisplayString as L, renderList as fe, createBlock as Y, createVNode as ee, withCtx as O, onUnmounted as ka } from "vue";
2
- const Se = "OVERWRITE_DEFAULT_ID", me = "LABEL SHOULD BE SET", Ke = " ", wa = "MESSAGE SHOULD BE SET", Oe = "-label", He = "-select", de = "-message", ue = "-valid-message", re = "-invalid-message", _e = "-placeholder", Xe = "-datalist", ce = "TODO: Add a validMessage", te = "TODO: Add an invalidMessage", Je = "Remove", Sa = "Back", Ba = "Selected", La = "BurgerMenu", Ia = "brand", $a = 4, Re = "Close", qi = "density", Ui = "color";
3
- var Qe = /* @__PURE__ */ ((t) => (t.FUNCTIONAL = "functional", t.REGULAR = "regular", t.EXPRESSIVE = "expressive", t))(Qe || {});
4
- const Gi = Object.entries(Qe).map(([, t]) => t);
5
- var Ze = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t))(Ze || {}), xe = /* @__PURE__ */ ((t) => (t.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", t.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", t.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", t.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", t.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", t.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", t.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", t.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", t.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", t.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", t.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", t.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", t.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", t.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", t.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", t.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", t.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", t.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", t.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", t.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", t.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", t.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", t.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", t.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", t.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", t.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", t.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", t.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", t.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", t.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", t))(xe || {});
6
- const Wi = Object.entries(xe).map(([, t]) => t), Oi = Object.entries(Ze).map(([, t]) => t);
7
- var ea = /* @__PURE__ */ ((t) => (t.CRITICAL = "critical", t.INFORMATIONAL = "informational", t.WARNING = "warning", t.SUCCESSFUL = "successful", t))(ea || {});
8
- const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
1
+ import { defineComponent as G, ref as d, onMounted as j, watch as D, createElementBlock as k, openBlock as h, normalizeClass as q, unref as o, createElementVNode as C, createCommentVNode as P, renderSlot as A, Fragment as W, createTextVNode as N, toDisplayString as $, renderList as fe, createBlock as Y, createVNode as ee, withCtx as O, onUnmounted as Ke } from "vue";
2
+ const Se = "OVERWRITE_DEFAULT_ID", me = "LABEL SHOULD BE SET", Je = " ", wa = "MESSAGE SHOULD BE SET", Oe = "-label", He = "-select", de = "-message", ue = "-valid-message", re = "-invalid-message", _e = "-placeholder", Xe = "-datalist", ce = "TODO: Add a validMessage", te = "TODO: Add an invalidMessage", Qe = "Remove", Sa = "Back", Ba = "Selected", La = "BurgerMenu", Ia = "brand", $a = 4, ze = "Close", qi = "density", Ui = "color";
3
+ var Ze = /* @__PURE__ */ ((t) => (t.FUNCTIONAL = "functional", t.REGULAR = "regular", t.EXPRESSIVE = "expressive", t))(Ze || {});
4
+ const Gi = Object.entries(Ze).map(([, t]) => t);
5
+ var xe = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t))(xe || {}), ea = /* @__PURE__ */ ((t) => (t.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", t.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", t.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", t.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", t.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", t.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", t.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", t.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", t.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", t.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", t.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", t.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", t.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", t.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", t.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", t.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", t.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", t.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", t.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", t.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", t.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", t.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", t.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", t.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", t.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", t.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", t.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", t.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", t.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", t.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", t))(ea || {});
6
+ const Wi = Object.entries(ea).map(([, t]) => t), Oi = Object.entries(xe).map(([, t]) => t);
7
+ var aa = /* @__PURE__ */ ((t) => (t.CRITICAL = "critical", t.INFORMATIONAL = "informational", t.WARNING = "warning", t.SUCCESSFUL = "successful", t))(aa || {});
8
+ const Hi = Object.entries(aa).map(([, t]) => t), Ta = {
9
9
  width: 390,
10
10
  height: 884
11
11
  }, Ea = {
@@ -29,12 +29,12 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
29
29
  return window.crypto.getRandomValues(new Uint32Array(3)).join("-");
30
30
  }
31
31
  return Math.random().toString().substring(2);
32
- }, aa = (t, a) => {
32
+ }, ta = (t, a) => {
33
33
  const n = t.children;
34
34
  Object.values(n).forEach((e) => {
35
- e.setAttribute(a.key, a.value), e.children.length > 0 && aa(e, a);
35
+ e.setAttribute(a.key, a.value), e.children.length > 0 && ta(e, a);
36
36
  });
37
- }, V = (...t) => {
37
+ }, U = (...t) => {
38
38
  let a = "";
39
39
  for (const n of t)
40
40
  if (n)
@@ -47,7 +47,7 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
47
47
  }, _a = (t) => Array.isArray(t) && t.every((a) => typeof a == "string"), Ca = ["Mac", "iPhone", "iPad", "iPod"], ve = () => typeof window < "u" && Ca.some((t) => window.navigator.userAgent.includes(t)), J = (t, a) => new Promise(() => setTimeout(t, a)), F = (t) => {
48
48
  if (t != null)
49
49
  return String(typeof t == "string" ? !!t : t);
50
- }, z = (t, a) => {
50
+ }, V = (t, a) => {
51
51
  if (t != null)
52
52
  return typeof t == "string" && a ? !!(a === t || t) : !!t;
53
53
  }, ge = (t, a) => {
@@ -59,7 +59,7 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
59
59
  }, Z = (t, a) => (a === void 0 || !!a) && !!t, Ye = (t) => t.querySelector('input[type="search"]'), ji = (t, a) => {
60
60
  const n = t.id ?? t.value ?? K();
61
61
  return `${a}${n}`;
62
- }, Aa = (t) => t.key !== void 0, Da = ["id"], Na = ["aria-disabled", "name", "open"], Fa = /* @__PURE__ */ U({
62
+ }, Aa = (t) => t.key !== void 0, Da = ["id"], Na = ["aria-disabled", "name", "open"], Fa = /* @__PURE__ */ G({
63
63
  __name: "accordion-item",
64
64
  props: {
65
65
  defaultOpen: { type: Boolean, default: void 0 },
@@ -77,7 +77,7 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
77
77
  name: { default: void 0 }
78
78
  },
79
79
  setup(t) {
80
- const a = t, n = s(Se), e = s(!1), i = s(void 0), u = s(!1), c = s(null);
80
+ const a = t, n = d(Se), e = d(!1), i = d(void 0), u = d(!1), c = d(null);
81
81
  j(() => {
82
82
  n.value = a.id || "accordion-item-" + K(), a.defaultOpen && (e.value = a.defaultOpen), u.value = !0;
83
83
  }), D(
@@ -99,39 +99,39 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
99
99
  flush: "post"
100
100
  }
101
101
  );
102
- function r(v) {
103
- v?.preventDefault();
104
- const d = !e.value;
105
- a.onToggle && a.onToggle(d), e.value = d;
102
+ function r(f) {
103
+ f?.preventDefault();
104
+ const s = !e.value;
105
+ a.onToggle && a.onToggle(s), e.value = s;
106
106
  }
107
- return (v, d) => (m(), k("li", {
107
+ return (f, s) => (h(), k("li", {
108
108
  id: n.value,
109
- class: P(o(V)("db-accordion-item", a.class))
109
+ class: q(o(U)("db-accordion-item", a.class))
110
110
  }, [
111
- _("details", {
112
- "aria-disabled": o(F)(v.disabled),
111
+ C("details", {
112
+ "aria-disabled": o(F)(f.disabled),
113
113
  ref_key: "_ref",
114
114
  ref: c,
115
115
  name: i.value,
116
116
  open: e.value
117
117
  }, [
118
- _("summary", {
119
- onClick: d[0] || (d[0] = async (g) => r(g))
118
+ C("summary", {
119
+ onClick: s[0] || (s[0] = async (m) => r(m))
120
120
  }, [
121
- v.headlinePlain ? (m(), k(G, { key: 0 }, [
122
- N(L(v.headlinePlain), 1)
123
- ], 64)) : R("", !0),
124
- v.headlinePlain ? R("", !0) : A(v.$slots, "headline", { key: 1 })
121
+ f.headlinePlain ? (h(), k(W, { key: 0 }, [
122
+ N($(f.headlinePlain), 1)
123
+ ], 64)) : P("", !0),
124
+ f.headlinePlain ? P("", !0) : A(f.$slots, "headline", { key: 1 })
125
125
  ]),
126
- _("div", null, [
127
- v.text ? (m(), k(G, { key: 0 }, [
128
- N(L(v.text), 1)
129
- ], 64)) : A(v.$slots, "default", { key: 1 })
126
+ C("div", null, [
127
+ f.text ? (h(), k(W, { key: 0 }, [
128
+ N($(f.text), 1)
129
+ ], 64)) : A(f.$slots, "default", { key: 1 })
130
130
  ])
131
131
  ], 8, Na)
132
132
  ], 10, Da));
133
133
  }
134
- }), Ma = ["id", "data-variant"], Yi = /* @__PURE__ */ U({
134
+ }), Ma = ["id", "data-variant"], Yi = /* @__PURE__ */ G({
135
135
  __name: "accordion",
136
136
  props: {
137
137
  behavior: { default: void 0 },
@@ -147,7 +147,7 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
147
147
  autofocus: { type: [Boolean, String] }
148
148
  },
149
149
  setup(t) {
150
- const a = t, n = s(Se), e = s(""), i = s(!1), u = s(!1), c = s(null);
150
+ const a = t, n = d(Se), e = d(""), i = d(!1), u = d(!1), c = d(null);
151
151
  j(() => {
152
152
  n.value = a.id || "accordion-" + K(), i.value = !0, u.value = !0;
153
153
  }), D(
@@ -163,10 +163,10 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
163
163
  () => [c.value, e.value],
164
164
  () => {
165
165
  if (c.value) {
166
- const v = c.value.getElementsByTagName("details");
167
- if (v)
168
- for (const d of Array.from(v))
169
- e.value === "" ? d.removeAttribute("name") : d.name = e.value ?? "";
166
+ const f = c.value.getElementsByTagName("details");
167
+ if (f)
168
+ for (const s of Array.from(f))
169
+ e.value === "" ? s.removeAttribute("name") : s.name = e.value ?? "";
170
170
  }
171
171
  },
172
172
  {
@@ -178,12 +178,12 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
178
178
  () => {
179
179
  if (c.value && u.value) {
180
180
  if (a.initOpenIndex && a.initOpenIndex.length > 0) {
181
- const v = c.value.getElementsByTagName("details");
182
- if (v) {
183
- const d = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
184
- Array.from(v).forEach(
185
- (g, I) => {
186
- d?.includes(I) && (g.open = !0);
181
+ const f = c.value.getElementsByTagName("details");
182
+ if (f) {
183
+ const s = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
184
+ Array.from(f).forEach(
185
+ (m, I) => {
186
+ s?.includes(I) && (m.open = !0);
187
187
  }
188
188
  );
189
189
  }
@@ -199,28 +199,28 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
199
199
  function r() {
200
200
  try {
201
201
  return typeof a.items == "string" ? JSON.parse(a.items) : a.items;
202
- } catch (v) {
203
- console.error(v);
202
+ } catch (f) {
203
+ console.error(f);
204
204
  }
205
205
  return [];
206
206
  }
207
- return (v, d) => (m(), k("ul", {
207
+ return (f, s) => (h(), k("ul", {
208
208
  ref_key: "_ref",
209
209
  ref: c,
210
210
  id: n.value,
211
- class: P(o(V)("db-accordion", a.class)),
212
- "data-variant": v.variant
211
+ class: q(o(U)("db-accordion", a.class)),
212
+ "data-variant": f.variant
213
213
  }, [
214
- v.items ? R("", !0) : A(v.$slots, "default", { key: 0 }),
215
- v.items ? (m(!0), k(G, { key: 1 }, fe(r(), (g, I) => (m(), Y(Fa, {
214
+ f.items ? P("", !0) : A(f.$slots, "default", { key: 0 }),
215
+ f.items ? (h(!0), k(W, { key: 1 }, fe(r(), (m, I) => (h(), Y(Fa, {
216
216
  key: `accordion-item-${I}`,
217
- headlinePlain: g.headlinePlain,
218
- disabled: g.disabled,
219
- text: g.text
220
- }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : R("", !0)
217
+ headlinePlain: m.headlinePlain,
218
+ disabled: m.disabled,
219
+ text: m.text
220
+ }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : P("", !0)
221
221
  ], 10, Ma));
222
222
  }
223
- }), Ki = ["divider", "card"], Ji = ["multiple", "single"], Ra = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], Qi = /* @__PURE__ */ U({
223
+ }), Ki = ["divider", "card"], Ji = ["multiple", "single"], za = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], Qi = /* @__PURE__ */ G({
224
224
  __name: "badge",
225
225
  props: {
226
226
  placement: { default: void 0 },
@@ -236,7 +236,7 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
236
236
  text: { default: void 0 }
237
237
  },
238
238
  setup(t) {
239
- const a = t, n = s(!1), e = s(null);
239
+ const a = t, n = d(!1), e = d(null);
240
240
  return j(() => {
241
241
  n.value = !0;
242
242
  }), D(
@@ -251,23 +251,23 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
251
251
  immediate: !0,
252
252
  flush: "post"
253
253
  }
254
- ), (i, u) => (m(), k("span", {
254
+ ), (i, u) => (h(), k("span", {
255
255
  ref_key: "_ref",
256
256
  ref: e,
257
257
  id: i.id,
258
- class: P(o(V)("db-badge", a.class)),
258
+ class: q(o(U)("db-badge", a.class)),
259
259
  "data-semantic": i.semantic,
260
260
  "data-size": i.size,
261
261
  "data-emphasis": i.emphasis,
262
262
  "data-placement": i.placement,
263
263
  "data-label": i.placement?.startsWith("corner") && (i.label ?? o(me))
264
264
  }, [
265
- i.text ? (m(), k(G, { key: 0 }, [
266
- N(L(i.text), 1)
265
+ i.text ? (h(), k(W, { key: 0 }, [
266
+ N($(i.text), 1)
267
267
  ], 64)) : A(i.$slots, "default", { key: 1 })
268
- ], 10, Ra));
268
+ ], 10, za));
269
269
  }
270
- }), Zi = ["inline", "corner-top-left", "corner-top-right", "corner-center-left", "corner-center-right", "corner-bottom-left", "corner-bottom-right"], za = ["data-icon", "data-show-icon", "id"], xi = /* @__PURE__ */ U({
270
+ }), Zi = ["inline", "corner-top-left", "corner-top-right", "corner-center-left", "corner-center-right", "corner-bottom-left", "corner-bottom-right"], Ra = ["data-icon", "data-show-icon", "id"], xi = /* @__PURE__ */ G({
271
271
  __name: "brand",
272
272
  props: {
273
273
  hideLogo: { type: Boolean, default: void 0 },
@@ -281,21 +281,21 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
281
281
  text: { default: void 0 }
282
282
  },
283
283
  setup(t) {
284
- const a = t, n = s(null);
285
- return (e, i) => (m(), k("div", {
284
+ const a = t, n = d(null);
285
+ return (e, i) => (h(), k("div", {
286
286
  ref_key: "_ref",
287
287
  ref: n,
288
288
  "data-icon": e.hideLogo ? "none" : e.icon ?? o(Ia),
289
289
  "data-show-icon": o(F)(e.showIcon),
290
290
  id: e.id,
291
- class: P(o(V)("db-brand", a.class))
291
+ class: q(o(U)("db-brand", a.class))
292
292
  }, [
293
- e.text ? (m(), k(G, { key: 0 }, [
294
- N(L(e.text), 1)
293
+ e.text ? (h(), k(W, { key: 0 }, [
294
+ N($(e.text), 1)
295
295
  ], 64)) : A(e.$slots, "default", { key: 1 })
296
- ], 10, za));
296
+ ], 10, Ra));
297
297
  }
298
- }), Pa = ["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"], be = /* @__PURE__ */ U({
298
+ }), Pa = ["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"], be = /* @__PURE__ */ G({
299
299
  __name: "button",
300
300
  props: {
301
301
  disabled: { type: [Boolean, String], default: void 0 },
@@ -322,20 +322,20 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
322
322
  iconTrailing: { default: void 0 }
323
323
  },
324
324
  setup(t) {
325
- const a = t, n = s(null);
325
+ const a = t, n = d(null);
326
326
  function e() {
327
327
  return a.type ? a.type : a.onClick ? "button" : "submit";
328
328
  }
329
329
  function i(u) {
330
330
  a.onClick && a.onClick(u);
331
331
  }
332
- return (u, c) => (m(), k("button", {
332
+ return (u, c) => (h(), k("button", {
333
333
  ref_key: "_ref",
334
334
  ref: n,
335
335
  id: u.id,
336
- class: P(o(V)("db-button", a.class)),
336
+ class: q(o(U)("db-button", a.class)),
337
337
  type: e(),
338
- disabled: o(z)(u.disabled, "disabled"),
338
+ disabled: o(V)(u.disabled, "disabled"),
339
339
  "data-icon": u.iconLeading ?? u.icon,
340
340
  "data-show-icon": o(F)(u.showIconLeading ?? u.showIcon),
341
341
  "data-icon-trailing": u.iconTrailing,
@@ -349,12 +349,12 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
349
349
  value: u.value,
350
350
  onClick: c[0] || (c[0] = async (r) => i(r))
351
351
  }, [
352
- u.text ? (m(), k(G, { key: 0 }, [
353
- N(L(u.text), 1)
352
+ u.text ? (h(), k(W, { key: 0 }, [
353
+ N($(u.text), 1)
354
354
  ], 64)) : A(u.$slots, "default", { key: 1 })
355
355
  ], 10, Pa));
356
356
  }
357
- }), el = ["outlined", "brand", "filled", "ghost"], al = ["button", "reset", "submit"], Va = ["id", "data-behavior", "data-elevation-level", "data-spacing"], tl = /* @__PURE__ */ U({
357
+ }), el = ["outlined", "brand", "filled", "ghost"], al = ["button", "reset", "submit"], Va = ["id", "data-behavior", "data-elevation-level", "data-spacing"], tl = /* @__PURE__ */ G({
358
358
  __name: "card",
359
359
  props: {
360
360
  behavior: { default: void 0 },
@@ -368,15 +368,15 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
368
368
  spacing: { default: void 0 }
369
369
  },
370
370
  setup(t) {
371
- const a = t, n = s(null);
371
+ const a = t, n = d(null);
372
372
  function e(i) {
373
373
  a.onClick && a.onClick(i);
374
374
  }
375
- return (i, u) => (m(), k("div", {
375
+ return (i, u) => (h(), k("div", {
376
376
  ref_key: "_ref",
377
377
  ref: n,
378
378
  id: i.id,
379
- class: P(o(V)("db-card", a.class)),
379
+ class: q(o(U)("db-card", a.class)),
380
380
  "data-behavior": i.behavior,
381
381
  "data-elevation-level": i.elevationLevel,
382
382
  "data-spacing": i.spacing,
@@ -387,7 +387,7 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
387
387
  }
388
388
  }), il = ["static", "interactive"], ll = ["1", "2", "3"], oe = (t, a, n = "value") => {
389
389
  t(`update:${n}`, a.target[n]);
390
- }, qa = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], ae = /* @__PURE__ */ U({
390
+ }, qa = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], ae = /* @__PURE__ */ G({
391
391
  __name: "infotext",
392
392
  props: {
393
393
  children: { default: void 0 },
@@ -402,26 +402,26 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
402
402
  text: { default: void 0 }
403
403
  },
404
404
  setup(t) {
405
- const a = t, n = s(null);
406
- return (e, i) => (m(), k("span", {
405
+ const a = t, n = d(null);
406
+ return (e, i) => (h(), k("span", {
407
407
  ref_key: "_ref",
408
408
  ref: n,
409
409
  id: e.id,
410
- class: P(o(V)("db-infotext", a.class)),
410
+ class: q(o(U)("db-infotext", a.class)),
411
411
  "data-icon": e.icon,
412
412
  "data-semantic": e.semantic,
413
413
  "data-size": e.size,
414
414
  "data-show-icon-leading": o(F)(e.showIcon ?? !0)
415
415
  }, [
416
- e.text ? (m(), k(G, { key: 0 }, [
417
- N(L(e.text), 1)
416
+ e.text ? (h(), k(W, { key: 0 }, [
417
+ N($(e.text), 1)
418
418
  ], 64)) : A(e.$slots, "default", { key: 1 })
419
419
  ], 10, qa));
420
420
  }
421
421
  }), Ua = ["data-size", "data-hide-asterisk", "data-hide-label"], Ga = ["for"], Wa = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Oa = {
422
422
  "data-visually-hidden": "true",
423
423
  role: "status"
424
- }, ol = /* @__PURE__ */ U({
424
+ }, ol = /* @__PURE__ */ G({
425
425
  __name: "checkbox",
426
426
  props: {
427
427
  indeterminate: { type: [Boolean, String], default: void 0 },
@@ -459,15 +459,15 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
459
459
  },
460
460
  emits: ["update:checked"],
461
461
  setup(t, { emit: a }) {
462
- const n = a, e = t, i = s(!1), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(void 0), g = s(void 0), I = s(""), w = s(null);
462
+ const n = a, e = t, i = d(!1), u = d(void 0), c = d(void 0), r = d(void 0), f = d(void 0), s = d(void 0), m = d(void 0), I = d(""), w = d(null);
463
463
  j(() => {
464
464
  i.value = !0;
465
- const b = e.id ?? `checkbox-${K()}`;
466
- u.value = b, c.value = b + de, r.value = b + ue, v.value = b + re, d.value = e.invalidMessage || te;
465
+ const g = e.id ?? `checkbox-${K()}`;
466
+ u.value = g, c.value = g + de, r.value = g + ue, f.value = g + re, s.value = e.invalidMessage || te;
467
467
  }), D(
468
468
  () => [w.value, e.invalidMessage],
469
469
  () => {
470
- d.value = e.invalidMessage || w.value?.validationMessage || te;
470
+ s.value = e.invalidMessage || w.value?.validationMessage || te;
471
471
  },
472
472
  {
473
473
  immediate: !0,
@@ -477,8 +477,8 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
477
477
  () => [u.value],
478
478
  () => {
479
479
  if (u.value) {
480
- const b = u.value + de;
481
- c.value = b, r.value = u.value + ue, v.value = u.value + re, Z(e.message, e.showMessage) && (g.value = b), p();
480
+ const g = u.value + de;
481
+ c.value = g, r.value = u.value + ue, f.value = u.value + re, Z(e.message, e.showMessage) && (m.value = g), v();
482
482
  }
483
483
  },
484
484
  {
@@ -488,7 +488,7 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
488
488
  ), D(
489
489
  () => [i.value, w.value, e.indeterminate],
490
490
  () => {
491
- w.value && e.indeterminate !== void 0 && (w.value.indeterminate = !!z(e.indeterminate));
491
+ w.value && e.indeterminate !== void 0 && (w.value.indeterminate = !!V(e.indeterminate));
492
492
  },
493
493
  {
494
494
  immediate: !0,
@@ -497,89 +497,89 @@ const Hi = Object.entries(ea).map(([, t]) => t), Ta = {
497
497
  ), D(
498
498
  () => [i.value, w.value, e.checked],
499
499
  () => {
500
- i.value && w.value && (e.checked != null && (w.value.checked = !!z(e.checked)), i.value = !1);
500
+ i.value && w.value && (e.checked != null && (w.value.checked = !!V(e.checked)), i.value = !1);
501
501
  },
502
502
  {
503
503
  immediate: !0,
504
504
  flush: "post"
505
505
  }
506
506
  );
507
- function h() {
507
+ function p() {
508
508
  return !!(e.validMessage ?? e.validation === "valid");
509
509
  }
510
- function p() {
511
- !w.value?.validity.valid || e.validation === "invalid" ? (g.value = v.value, d.value = e.invalidMessage || w.value?.validationMessage || te, ve() && (I.value = d.value, J(() => I.value = "", 1e3))) : h() && w.value?.validity.valid && e.required ? (g.value = r.value, ve() && (I.value = e.validMessage ?? ce, J(() => I.value = "", 1e3))) : Z(e.message, e.showMessage) ? g.value = c.value : g.value = void 0;
510
+ function v() {
511
+ !w.value?.validity.valid || e.validation === "invalid" ? (m.value = f.value, s.value = e.invalidMessage || w.value?.validationMessage || te, ve() && (I.value = s.value, J(() => I.value = "", 1e3))) : p() && w.value?.validity.valid && e.required ? (m.value = r.value, ve() && (I.value = e.validMessage ?? ce, J(() => I.value = "", 1e3))) : Z(e.message, e.showMessage) ? m.value = c.value : m.value = void 0;
512
512
  }
513
- function f(b) {
514
- e.onChange && e.onChange(b), oe(n, b, "checked"), p();
513
+ function S(g) {
514
+ e.onChange && e.onChange(g), oe(n, g, "checked"), v();
515
515
  }
516
- function T(b) {
517
- e.onBlur && e.onBlur(b);
516
+ function L(g) {
517
+ e.onBlur && e.onBlur(g);
518
518
  }
519
- function C(b) {
520
- e.onFocus && e.onFocus(b);
519
+ function E(g) {
520
+ e.onFocus && e.onFocus(g);
521
521
  }
522
- return (b, S) => (m(), k("div", {
523
- class: P(o(V)("db-checkbox", e.class)),
524
- "data-size": b.size,
525
- "data-hide-asterisk": o(ie)(b.showRequiredAsterisk),
526
- "data-hide-label": o(ie)(b.showLabel)
522
+ return (g, y) => (h(), k("div", {
523
+ class: q(o(U)("db-checkbox", e.class)),
524
+ "data-size": g.size,
525
+ "data-hide-asterisk": o(ie)(g.showRequiredAsterisk),
526
+ "data-hide-label": o(ie)(g.showLabel)
527
527
  }, [
528
- _("label", { for: u.value }, [
529
- _("input", {
528
+ C("label", { for: u.value }, [
529
+ C("input", {
530
530
  type: "checkbox",
531
- "aria-invalid": b.validation === "invalid",
532
- "data-custom-validity": b.validation,
531
+ "aria-invalid": g.validation === "invalid",
532
+ "data-custom-validity": g.validation,
533
533
  ref_key: "_ref",
534
534
  ref: w,
535
535
  id: u.value,
536
- name: b.name,
537
- checked: o(z)(b.checked, "checked"),
538
- disabled: o(z)(b.disabled, "disabled"),
539
- value: b.value,
540
- required: o(z)(b.required, "required"),
541
- onChange: S[0] || (S[0] = async (W) => f(W)),
542
- onBlur: S[1] || (S[1] = async (W) => T(W)),
543
- onFocus: S[2] || (S[2] = async (W) => C(W)),
544
- "aria-describedby": b.ariaDescribedBy ?? g.value
536
+ name: g.name,
537
+ checked: o(V)(g.checked, "checked"),
538
+ disabled: o(V)(g.disabled, "disabled"),
539
+ value: g.value,
540
+ required: o(V)(g.required, "required"),
541
+ onChange: y[0] || (y[0] = async (M) => S(M)),
542
+ onBlur: y[1] || (y[1] = async (M) => L(M)),
543
+ onFocus: y[2] || (y[2] = async (M) => E(M)),
544
+ "aria-describedby": g.ariaDescribedBy ?? m.value
545
545
  }, null, 40, Wa),
546
- b.label ? (m(), k(G, { key: 0 }, [
547
- N(L(b.label), 1)
548
- ], 64)) : A(b.$slots, "default", { key: 1 })
546
+ g.label ? (h(), k(W, { key: 0 }, [
547
+ N($(g.label), 1)
548
+ ], 64)) : A(g.$slots, "default", { key: 1 })
549
549
  ], 8, Ga),
550
- o(Z)(b.message, b.showMessage) ? (m(), Y(ae, {
550
+ o(Z)(g.message, g.showMessage) ? (h(), Y(ae, {
551
551
  key: 0,
552
552
  size: "small",
553
- icon: b.messageIcon,
553
+ icon: g.messageIcon,
554
554
  id: c.value
555
555
  }, {
556
556
  default: O(() => [
557
- N(L(b.message), 1)
557
+ N($(g.message), 1)
558
558
  ]),
559
559
  _: 1
560
- }, 8, ["icon", "id"])) : R("", !0),
561
- h() ? (m(), Y(ae, {
560
+ }, 8, ["icon", "id"])) : P("", !0),
561
+ p() ? (h(), Y(ae, {
562
562
  key: 1,
563
563
  size: "small",
564
564
  semantic: "successful",
565
565
  id: r.value
566
566
  }, {
567
567
  default: O(() => [
568
- N(L(b.validMessage || o(ce)), 1)
568
+ N($(g.validMessage || o(ce)), 1)
569
569
  ]),
570
570
  _: 1
571
- }, 8, ["id"])) : R("", !0),
571
+ }, 8, ["id"])) : P("", !0),
572
572
  ee(ae, {
573
573
  size: "small",
574
574
  semantic: "critical",
575
- id: v.value
575
+ id: f.value
576
576
  }, {
577
577
  default: O(() => [
578
- N(L(d.value), 1)
578
+ N($(s.value), 1)
579
579
  ]),
580
580
  _: 1
581
581
  }, 8, ["id"]),
582
- _("span", Oa, L(I.value), 1)
582
+ C("span", Oa, $(I.value), 1)
583
583
  ], 10, Ua));
584
584
  }
585
585
  });
@@ -638,13 +638,13 @@ const Ha = (t) => {
638
638
  innerHeight: u,
639
639
  innerWidth: c
640
640
  } = window;
641
- let r = a < 0, v = n > u, d = e < 0, g = i > c;
642
- const I = t.dataset.outsideVy, w = t.dataset.outsideVx, h = t?.parentElement?.getBoundingClientRect();
643
- return h && (I && (t.dataset.outsideVy === "top" ? r = h.top - (n - h.bottom) < 0 : v = h.bottom + (h.top - a) > u), w && (t.dataset.outsideVx === "left" ? d = h.left - (i - h.right) < 0 : g = h.right + (h.left - e) > c)), {
641
+ let r = a < 0, f = n > u, s = e < 0, m = i > c;
642
+ const I = t.dataset.outsideVy, w = t.dataset.outsideVx, p = t?.parentElement?.getBoundingClientRect();
643
+ return p && (I && (t.dataset.outsideVy === "top" ? r = p.top - (n - p.bottom) < 0 : f = p.bottom + (p.top - a) > u), w && (t.dataset.outsideVx === "left" ? s = p.left - (i - p.right) < 0 : m = p.right + (p.left - e) > c)), {
644
644
  outTop: r,
645
- outBottom: v,
646
- outLeft: d,
647
- outRight: g
645
+ outBottom: f,
646
+ outLeft: s,
647
+ outRight: m
648
648
  };
649
649
  }, Xa = (t) => {
650
650
  const {
@@ -668,12 +668,12 @@ const Ha = (t) => {
668
668
  childHeight: u,
669
669
  childWidth: c,
670
670
  width: r,
671
- right: v,
672
- left: d,
673
- correctedPlacement: g
674
- } = ta(t, a, n);
675
- t.dataset.width === "full" && (t.style.inlineSize = `${r}px`), g === "top" || g === "bottom" || g === "top-start" || g === "bottom-start" ? t.style.insetInlineStart = `${d}px` : (g === "top-end" || g === "bottom-end") && (t.style.insetInlineStart = `${v - c}px`), g?.startsWith("top") ? t.style.insetBlockStart = `${e - u}px` : g?.startsWith("bottom") && (t.style.insetBlockStart = `${i}px`), t.style.position = "fixed";
676
- }, ta = (t, a, n) => {
671
+ right: f,
672
+ left: s,
673
+ correctedPlacement: m
674
+ } = ia(t, a, n);
675
+ t.dataset.width === "full" && (t.style.inlineSize = `${r}px`), m === "top" || m === "bottom" || m === "top-start" || m === "bottom-start" ? t.style.insetInlineStart = `${s}px` : (m === "top-end" || m === "bottom-end") && (t.style.insetInlineStart = `${f - c}px`), m?.startsWith("top") ? t.style.insetBlockStart = `${e - u}px` : m?.startsWith("bottom") && (t.style.insetBlockStart = `${i}px`), t.style.position = "fixed";
676
+ }, ia = (t, a, n) => {
677
677
  if (!t || !a)
678
678
  return {
679
679
  top: 0,
@@ -693,83 +693,83 @@ const Ha = (t) => {
693
693
  height: u,
694
694
  bottom: c,
695
695
  right: r,
696
- left: v,
697
- width: d
696
+ left: f,
697
+ width: s
698
698
  } = a.getBoundingClientRect(), {
699
- innerHeight: g,
699
+ innerHeight: m,
700
700
  innerWidth: I
701
701
  } = window;
702
- let w = e.height, h = e.width;
703
- (n === "bottom" || n === "top") && (h = h / 2), (n === "left" || n === "right") && (w = w / 2);
704
- const p = c + w > g, f = i - w < 0, T = v - h < 0, C = r + h > I;
705
- let b = n;
706
- return n.startsWith("bottom") ? p ? (b = n?.replace("bottom", "top"), T && C ? b = "top" : T ? b = "top-start" : C && (b = "top-end")) : T && C ? b = "bottom" : T ? b = "bottom-start" : C && (b = "bottom-end") : n.startsWith("top") ? f ? (b = n?.replace("top", "bottom"), T && C ? b = "bottom" : T ? b = "bottom-start" : C && (b = "bottom-end")) : T && C ? b = "top" : T ? b = "top-start" : C && (b = "top-end") : n.startsWith("left") ? T ? (b = n?.replace("left", "right"), p && f ? b = "right" : p ? b = "right-end" : f && (b = "right-start")) : p && f ? b = "left" : p ? b = "left-end" : f && (b = "left-start") : b.startsWith("right") && (C ? (b = n?.replace("right", "left"), p && f ? b = "left" : p ? b = "left-end" : f && (b = "left-start")) : p && f ? b = "right" : p ? b = "right-end" : f && (b = "right-start")), {
702
+ let w = e.height, p = e.width;
703
+ (n === "bottom" || n === "top") && (p = p / 2), (n === "left" || n === "right") && (w = w / 2);
704
+ const v = c + w > m, S = i - w < 0, L = f - p < 0, E = r + p > I;
705
+ let g = n;
706
+ return n.startsWith("bottom") ? v ? (g = n?.replace("bottom", "top"), L && E ? g = "top" : L ? g = "top-start" : E && (g = "top-end")) : L && E ? g = "bottom" : L ? g = "bottom-start" : E && (g = "bottom-end") : n.startsWith("top") ? S ? (g = n?.replace("top", "bottom"), L && E ? g = "bottom" : L ? g = "bottom-start" : E && (g = "bottom-end")) : L && E ? g = "top" : L ? g = "top-start" : E && (g = "top-end") : n.startsWith("left") ? L ? (g = n?.replace("left", "right"), v && S ? g = "right" : v ? g = "right-end" : S && (g = "right-start")) : v && S ? g = "left" : v ? g = "left-end" : S && (g = "left-start") : g.startsWith("right") && (E ? (g = n?.replace("right", "left"), v && S ? g = "left" : v ? g = "left-end" : S && (g = "left-start")) : v && S ? g = "right" : v ? g = "right-end" : S && (g = "right-start")), {
707
707
  top: i,
708
708
  bottom: c,
709
709
  right: r,
710
710
  height: u,
711
- width: d,
712
- left: v,
711
+ width: s,
712
+ left: f,
713
713
  childHeight: e.height,
714
714
  childWidth: e.width,
715
- correctedPlacement: b,
715
+ correctedPlacement: g,
716
716
  innerWidth: I,
717
- innerHeight: g
717
+ innerHeight: m
718
718
  };
719
- }, ia = (t, a, n) => {
719
+ }, la = (t, a, n) => {
720
720
  const e = getComputedStyle(t).getPropertyValue("--db-popover-distance") ?? "0px", {
721
721
  top: i,
722
722
  height: u,
723
723
  width: c,
724
724
  childHeight: r,
725
- childWidth: v,
726
- right: d,
727
- left: g,
725
+ childWidth: f,
726
+ right: s,
727
+ left: m,
728
728
  bottom: I,
729
729
  correctedPlacement: w,
730
- innerWidth: h,
731
- innerHeight: p
732
- } = ta(t, a, n);
733
- if (v > c && (w.startsWith("bottom") || w.startsWith("top"))) {
734
- const f = c / 2 / v * 100;
735
- w.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-inline-start", `${f}%`) : w.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - f}%`);
730
+ innerWidth: p,
731
+ innerHeight: v
732
+ } = ia(t, a, n);
733
+ if (f > c && (w.startsWith("bottom") || w.startsWith("top"))) {
734
+ const S = c / 2 / f * 100;
735
+ w.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-inline-start", `${S}%`) : w.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - S}%`);
736
736
  }
737
737
  if (r > u && (w.startsWith("left") || w.startsWith("bottom"))) {
738
- const f = u / 2 / r * 100;
739
- w.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-block-start", `${f}%`) : w.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-block-start", `${100 - f}%`);
738
+ const S = u / 2 / r * 100;
739
+ w.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-block-start", `${S}%`) : w.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-block-start", `${100 - S}%`);
740
740
  }
741
741
  if (w === "right" || w === "left")
742
742
  t.style.insetBlockStart = `${i + u / 2}px`;
743
743
  else if (w === "right-start" || w === "left-start") {
744
- const f = i + r;
745
- t.style.insetBlockStart = `${i}px`, t.style.insetBlockEnd = `${f > p ? p : f}px`;
744
+ const S = i + r;
745
+ t.style.insetBlockStart = `${i}px`, t.style.insetBlockEnd = `${S > v ? v : S}px`;
746
746
  } else if (w === "right-end" || w === "left-end") {
747
- const f = I - r;
748
- t.style.insetBlockStart = `${f < 0 ? 0 : f}px`, t.style.insetBlockEnd = `${I}px`;
747
+ const S = I - r;
748
+ t.style.insetBlockStart = `${S < 0 ? 0 : S}px`, t.style.insetBlockEnd = `${I}px`;
749
749
  } else if (w === "top" || w === "bottom")
750
- t.style.insetInlineStart = `${g + c / 2}px`;
750
+ t.style.insetInlineStart = `${m + c / 2}px`;
751
751
  else if (w === "top-start" || w === "bottom-start") {
752
- const f = g + v;
753
- t.style.insetInlineStart = `${g}px`, t.style.insetInlineEnd = `${f > h ? h : f}px`;
752
+ const S = m + f;
753
+ t.style.insetInlineStart = `${m}px`, t.style.insetInlineEnd = `${S > p ? p : S}px`;
754
754
  } else if (w === "top-end" || w === "bottom-end") {
755
- const f = g - v;
756
- t.style.insetInlineStart = `${d - v}px`, t.style.insetInlineEnd = `${f < 0 ? 0 : f}px`;
755
+ const S = m - f;
756
+ t.style.insetInlineStart = `${s - f}px`, t.style.insetInlineEnd = `${S < 0 ? 0 : S}px`;
757
757
  }
758
758
  if (w?.startsWith("right")) {
759
- const f = d + v;
760
- t.style.insetInlineStart = `calc(${d}px + ${e})`, t.style.insetInlineEnd = `calc(${f > h ? h : f}px + ${e})`;
759
+ const S = s + f;
760
+ t.style.insetInlineStart = `calc(${s}px + ${e})`, t.style.insetInlineEnd = `calc(${S > p ? p : S}px + ${e})`;
761
761
  } else if (w?.startsWith("left")) {
762
- const f = g - v;
763
- t.style.insetInlineStart = `calc(${f < 0 ? 0 : f}px - ${e})`, t.style.insetInlineEnd = `calc(${d}px - ${e})`;
762
+ const S = m - f;
763
+ t.style.insetInlineStart = `calc(${S < 0 ? 0 : S}px - ${e})`, t.style.insetInlineEnd = `calc(${s}px - ${e})`;
764
764
  } else if (w?.startsWith("top")) {
765
- const f = i - r;
766
- t.style.insetBlockStart = `calc(${f < 0 ? 0 : f}px - ${e})`, t.style.insetBlockEnd = `calc(${I}px - ${e})`;
765
+ const S = i - r;
766
+ t.style.insetBlockStart = `calc(${S < 0 ? 0 : S}px - ${e})`, t.style.insetBlockEnd = `calc(${I}px - ${e})`;
767
767
  } else if (w?.startsWith("bottom")) {
768
- const f = I + r;
769
- t.style.insetBlockStart = `calc(${I}px + ${e})`, t.style.insetBlockEnd = `calc(${f > p ? p : f}px + ${e})`;
768
+ const S = I + r;
769
+ t.style.insetBlockStart = `calc(${I}px + ${e})`, t.style.insetBlockEnd = `calc(${S > v ? v : S}px + ${e})`;
770
770
  }
771
771
  t.style.position = "fixed", t.dataset.correctedPlacement = w;
772
- }, Ya = ["id", "data-width"], Ka = /* @__PURE__ */ U({
772
+ }, Ya = ["id", "data-width"], Ka = /* @__PURE__ */ G({
773
773
  __name: "custom-select-dropdown",
774
774
  props: {
775
775
  width: { default: "fixed" },
@@ -780,19 +780,19 @@ const Ha = (t) => {
780
780
  autofocus: { type: [Boolean, String] }
781
781
  },
782
782
  setup(t) {
783
- const a = t, n = s(null);
784
- return (e, i) => (m(), k("article", {
783
+ const a = t, n = d(null);
784
+ return (e, i) => (h(), k("article", {
785
785
  "data-spacing": "none",
786
786
  ref_key: "_ref",
787
787
  ref: n,
788
788
  id: e.id,
789
- class: P(o(V)("db-custom-select-dropdown db-card", a.class)),
789
+ class: q(o(U)("db-custom-select-dropdown db-card", a.class)),
790
790
  "data-width": e.width
791
791
  }, [
792
792
  A(e.$slots, "default")
793
793
  ], 10, Ya));
794
794
  }
795
- }), Ja = ["id", "data-divider"], Qa = ["data-icon", "data-show-icon", "data-icon-trailing"], Za = ["type", "name", "form", "checked", "disabled", "value"], xa = { key: 1 }, et = /* @__PURE__ */ U({
795
+ }), Ja = ["id", "data-divider"], Qa = ["data-icon", "data-show-icon", "data-icon-trailing"], Za = ["type", "name", "form", "checked", "disabled", "value"], xa = { key: 1 }, et = /* @__PURE__ */ G({
796
796
  __name: "custom-select-list-item",
797
797
  props: {
798
798
  groupTitle: { default: void 0 },
@@ -816,7 +816,7 @@ const Ha = (t) => {
816
816
  },
817
817
  emits: ["update:checked"],
818
818
  setup(t, { emit: a }) {
819
- const n = a, e = t, i = s(void 0), u = s(!1), c = s(null);
819
+ const n = a, e = t, i = d(void 0), u = d(!1), c = d(null);
820
820
  j(() => {
821
821
  i.value = e.id ?? `custom-select-list-item-${K()}`;
822
822
  }), D(
@@ -829,49 +829,49 @@ const Ha = (t) => {
829
829
  flush: "post"
830
830
  }
831
831
  );
832
- function r(d) {
833
- d.stopPropagation(), e.onChange && e.onChange(d), oe(n, d, "checked");
832
+ function r(s) {
833
+ s.stopPropagation(), e.onChange && e.onChange(s), oe(n, s, "checked");
834
834
  }
835
- function v() {
835
+ function f() {
836
836
  if (!(e.isGroupTitle || e.type === "checkbox"))
837
- return z(e.checked, "checked") ? "check" : "x_placeholder";
837
+ return V(e.checked, "checked") ? "check" : "x_placeholder";
838
838
  }
839
- return (d, g) => (m(), k("li", {
839
+ return (s, m) => (h(), k("li", {
840
840
  ref_key: "_ref",
841
841
  ref: c,
842
842
  id: i.value,
843
- class: P(
844
- o(V)("db-custom-select-list-item", e.class, {
845
- "db-checkbox": d.type === "checkbox" && !d.isGroupTitle,
846
- "db-radio": d.type !== "checkbox" && !d.isGroupTitle
843
+ class: q(
844
+ o(U)("db-custom-select-list-item", e.class, {
845
+ "db-checkbox": s.type === "checkbox" && !s.isGroupTitle,
846
+ "db-radio": s.type !== "checkbox" && !s.isGroupTitle
847
847
  })
848
848
  ),
849
849
  "data-divider": o(F)(u.value)
850
850
  }, [
851
- d.isGroupTitle ? (m(), k("span", xa, L(d.groupTitle), 1)) : (m(), k("label", {
851
+ s.isGroupTitle ? (h(), k("span", xa, $(s.groupTitle), 1)) : (h(), k("label", {
852
852
  key: 0,
853
- "data-icon": d.type !== "checkbox" && d.icon ? d.icon : void 0,
854
- "data-show-icon": o(F)(d.showIcon),
855
- "data-icon-trailing": v()
853
+ "data-icon": s.type !== "checkbox" && s.icon ? s.icon : void 0,
854
+ "data-show-icon": o(F)(s.showIcon),
855
+ "data-icon-trailing": f()
856
856
  }, [
857
- _("input", {
857
+ C("input", {
858
858
  class: "db-custom-select-list-item-checkbox",
859
859
  "data-disable-focus": "true",
860
- type: d.type,
861
- name: d.name,
862
- form: d.name,
863
- checked: o(z)(d.checked, "checked"),
864
- disabled: o(z)(d.disabled, "disabled"),
865
- value: d.value,
866
- onChange: g[0] || (g[0] = async (I) => r(I))
860
+ type: s.type,
861
+ name: s.name,
862
+ form: s.name,
863
+ checked: o(V)(s.checked, "checked"),
864
+ disabled: o(V)(s.disabled, "disabled"),
865
+ value: s.value,
866
+ onChange: m[0] || (m[0] = async (I) => r(I))
867
867
  }, null, 40, Za),
868
- d.label ? (m(), k(G, { key: 0 }, [
869
- N(L(d.label), 1)
870
- ], 64)) : A(d.$slots, "default", { key: 1 })
868
+ s.label ? (h(), k(W, { key: 0 }, [
869
+ N($(s.label), 1)
870
+ ], 64)) : A(s.$slots, "default", { key: 1 })
871
871
  ], 8, Qa))
872
872
  ], 10, Ja));
873
873
  }
874
- }), at = ["role", "aria-label", "id"], tt = /* @__PURE__ */ U({
874
+ }), at = ["role", "aria-label", "id"], tt = /* @__PURE__ */ G({
875
875
  __name: "custom-select-list",
876
876
  props: {
877
877
  label: { default: void 0 },
@@ -883,16 +883,16 @@ const Ha = (t) => {
883
883
  autofocus: { type: [Boolean, String] }
884
884
  },
885
885
  setup(t) {
886
- const a = t, n = s(null);
887
- return (e, i) => (m(), k("div", {
886
+ const a = t, n = d(null);
887
+ return (e, i) => (h(), k("div", {
888
888
  role: e.multiple ? "group" : "radiogroup",
889
889
  "aria-label": e.label,
890
890
  ref_key: "_ref",
891
891
  ref: n,
892
892
  id: e.id,
893
- class: P(o(V)("db-custom-select-list", a.class))
893
+ class: q(o(U)("db-custom-select-list", a.class))
894
894
  }, [
895
- _("ul", null, [
895
+ C("ul", null, [
896
896
  A(e.$slots, "default")
897
897
  ])
898
898
  ], 10, at));
@@ -900,7 +900,7 @@ const Ha = (t) => {
900
900
  }), it = ["data-variant", "data-hide-label", "data-show-icon", "data-icon", "data-icon-trailing", "data-hide-asterisk", "data-show-icon-trailing"], lt = ["for"], ot = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "name", "type", "multiple", "placeholder", "disabled", "required", "step", "value", "maxLength", "minLength", "max", "min", "readOnly", "form", "pattern", "size", "autoComplete", "autoFocus", "enterKeyHint", "inputMode", "list", "aria-describedby"], nt = ["id"], st = ["value"], dt = {
901
901
  "data-visually-hidden": "true",
902
902
  role: "status"
903
- }, ut = /* @__PURE__ */ U({
903
+ }, ut = /* @__PURE__ */ G({
904
904
  __name: "input",
905
905
  props: {
906
906
  dataList: { default: void 0 },
@@ -964,14 +964,14 @@ const Ha = (t) => {
964
964
  },
965
965
  emits: ["update:value"],
966
966
  setup(t, { emit: a }) {
967
- const n = a, e = t, i = s(void 0), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(void 0), g = s(void 0), I = s(void 0), w = s(""), h = s(null);
967
+ const n = a, e = t, i = d(void 0), u = d(void 0), c = d(void 0), r = d(void 0), f = d(void 0), s = d(void 0), m = d(void 0), I = d(void 0), w = d(""), p = d(null);
968
968
  j(() => {
969
- const y = e.id ?? `input-${K()}`;
970
- i.value = y, u.value = y + de, c.value = y + ue, r.value = y + re, d.value = y + Xe, v.value = e.invalidMessage || te;
969
+ const b = e.id ?? `input-${K()}`;
970
+ i.value = b, u.value = b + de, c.value = b + ue, r.value = b + re, s.value = b + Xe, f.value = e.invalidMessage || te;
971
971
  }), D(
972
- () => [h.value, e.invalidMessage],
972
+ () => [p.value, e.invalidMessage],
973
973
  () => {
974
- v.value = e.invalidMessage || h.value?.validationMessage || te;
974
+ f.value = e.invalidMessage || p.value?.validationMessage || te;
975
975
  },
976
976
  {
977
977
  immediate: !0,
@@ -981,8 +981,8 @@ const Ha = (t) => {
981
981
  () => [i.value],
982
982
  () => {
983
983
  if (i.value) {
984
- const y = i.value + de;
985
- u.value = y, c.value = i.value + ue, r.value = i.value + re, d.value = e.dataListId ?? i.value + Xe, Z(e.message, e.showMessage) && (g.value = y), f();
984
+ const b = i.value + de;
985
+ u.value = b, c.value = i.value + ue, r.value = i.value + re, s.value = e.dataListId ?? i.value + Xe, Z(e.message, e.showMessage) && (m.value = b), S();
986
986
  }
987
987
  },
988
988
  {
@@ -999,124 +999,124 @@ const Ha = (t) => {
999
999
  flush: "post"
1000
1000
  }
1001
1001
  );
1002
- function p() {
1002
+ function v() {
1003
1003
  return !!(e.validMessage ?? e.validation === "valid");
1004
1004
  }
1005
- function f() {
1006
- !h.value?.validity.valid || e.validation === "invalid" ? (g.value = r.value, v.value = e.invalidMessage || h.value?.validationMessage || te, ve() && (w.value = v.value, J(() => w.value = "", 1e3))) : p() && h.value?.validity.valid && (e.required || e.minLength || e.maxLength || e.pattern) ? (g.value = c.value, ve() && (w.value = e.validMessage ?? ce, J(() => w.value = "", 1e3))) : Z(e.message, e.showMessage) ? g.value = u.value : g.value = void 0;
1005
+ function S() {
1006
+ !p.value?.validity.valid || e.validation === "invalid" ? (m.value = r.value, f.value = e.invalidMessage || p.value?.validationMessage || te, ve() && (w.value = f.value, J(() => w.value = "", 1e3))) : v() && p.value?.validity.valid && (e.required || e.minLength || e.maxLength || e.pattern) ? (m.value = c.value, ve() && (w.value = e.validMessage ?? ce, J(() => w.value = "", 1e3))) : Z(e.message, e.showMessage) ? m.value = u.value : m.value = void 0;
1007
1007
  }
1008
- function T(y) {
1009
- e.input && e.input(y), I.value = y.target.value, e.onInput && e.onInput(y), oe(n, y), f();
1008
+ function L(b) {
1009
+ e.input && e.input(b), I.value = b.target.value, e.onInput && e.onInput(b), oe(n, b), S();
1010
1010
  }
1011
- function C(y) {
1012
- e.onChange && e.onChange(y), oe(n, y), f();
1011
+ function E(b) {
1012
+ e.onChange && e.onChange(b), oe(n, b), S();
1013
1013
  }
1014
- function b(y) {
1015
- e.onBlur && e.onBlur(y);
1014
+ function g(b) {
1015
+ e.onBlur && e.onBlur(b);
1016
1016
  }
1017
- function S(y) {
1018
- e.onFocus && e.onFocus(y);
1017
+ function y(b) {
1018
+ e.onFocus && e.onFocus(b);
1019
1019
  }
1020
- function W() {
1021
- const y = e.dataList;
1020
+ function M() {
1021
+ const b = e.dataList;
1022
1022
  return Array.from(
1023
- (_a(y) ? y?.map((X) => ({
1023
+ (_a(b) ? b?.map((X) => ({
1024
1024
  value: X,
1025
1025
  label: void 0
1026
- })) : y) || []
1026
+ })) : b) || []
1027
1027
  );
1028
1028
  }
1029
- return (y, X) => (m(), k("div", {
1030
- class: P(o(V)("db-input", e.class)),
1031
- "data-variant": y.variant,
1032
- "data-hide-label": o(ie)(y.showLabel),
1033
- "data-show-icon": o(F)(y.showIconLeading ?? y.showIcon),
1034
- "data-icon": y.iconLeading ?? y.icon,
1035
- "data-icon-trailing": y.iconTrailing,
1036
- "data-hide-asterisk": o(ie)(y.showRequiredAsterisk),
1037
- "data-show-icon-trailing": o(F)(y.showIconTrailing)
1029
+ return (b, X) => (h(), k("div", {
1030
+ class: q(o(U)("db-input", e.class)),
1031
+ "data-variant": b.variant,
1032
+ "data-hide-label": o(ie)(b.showLabel),
1033
+ "data-show-icon": o(F)(b.showIconLeading ?? b.showIcon),
1034
+ "data-icon": b.iconLeading ?? b.icon,
1035
+ "data-icon-trailing": b.iconTrailing,
1036
+ "data-hide-asterisk": o(ie)(b.showRequiredAsterisk),
1037
+ "data-show-icon-trailing": o(F)(b.showIconTrailing)
1038
1038
  }, [
1039
- _("label", { for: i.value }, L(y.label ?? o(me)), 9, lt),
1040
- _("input", {
1041
- "aria-invalid": y.validation === "invalid",
1042
- "data-custom-validity": y.validation,
1043
- "data-field-sizing": y.fieldSizing,
1039
+ C("label", { for: i.value }, $(b.label ?? o(me)), 9, lt),
1040
+ C("input", {
1041
+ "aria-invalid": b.validation === "invalid",
1042
+ "data-custom-validity": b.validation,
1043
+ "data-field-sizing": b.fieldSizing,
1044
1044
  ref_key: "_ref",
1045
- ref: h,
1045
+ ref: p,
1046
1046
  id: i.value,
1047
- name: y.name,
1048
- type: y.type || "text",
1049
- multiple: o(z)(y.multiple, "multiple"),
1050
- placeholder: y.placeholder ?? o(Ke),
1051
- disabled: o(z)(y.disabled, "disabled"),
1052
- required: o(z)(y.required, "required"),
1053
- step: o(ge)(y.step),
1054
- value: y.value ?? I.value,
1055
- maxLength: o(ge)(y.maxLength, y.maxlength),
1056
- minLength: o(ge)(y.minLength, y.minlength),
1057
- max: o(je)(y.max, y.type),
1058
- min: o(je)(y.min, y.type),
1059
- readOnly: o(z)(y.readOnly, "readOnly") || o(z)(y.readonly, "readonly"),
1060
- form: y.form,
1061
- pattern: y.pattern,
1062
- size: y.size,
1063
- autoComplete: y.autocomplete,
1064
- autoFocus: o(z)(y.autofocus, "autofocus"),
1065
- enterKeyHint: y.enterkeyhint,
1066
- inputMode: y.inputmode,
1067
- onInput: X[0] || (X[0] = async (B) => T(B)),
1068
- onChange: X[1] || (X[1] = async (B) => C(B)),
1069
- onBlur: X[2] || (X[2] = async (B) => b(B)),
1070
- onFocus: X[3] || (X[3] = async (B) => S(B)),
1071
- list: y.dataList && d.value,
1072
- "aria-describedby": y.ariaDescribedBy ?? g.value
1047
+ name: b.name,
1048
+ type: b.type || "text",
1049
+ multiple: o(V)(b.multiple, "multiple"),
1050
+ placeholder: b.placeholder ?? o(Je),
1051
+ disabled: o(V)(b.disabled, "disabled"),
1052
+ required: o(V)(b.required, "required"),
1053
+ step: o(ge)(b.step),
1054
+ value: b.value ?? I.value,
1055
+ maxLength: o(ge)(b.maxLength, b.maxlength),
1056
+ minLength: o(ge)(b.minLength, b.minlength),
1057
+ max: o(je)(b.max, b.type),
1058
+ min: o(je)(b.min, b.type),
1059
+ readOnly: o(V)(b.readOnly, "readOnly") || o(V)(b.readonly, "readonly"),
1060
+ form: b.form,
1061
+ pattern: b.pattern,
1062
+ size: b.size,
1063
+ autoComplete: b.autocomplete,
1064
+ autoFocus: o(V)(b.autofocus, "autofocus"),
1065
+ enterKeyHint: b.enterkeyhint,
1066
+ inputMode: b.inputmode,
1067
+ onInput: X[0] || (X[0] = async (B) => L(B)),
1068
+ onChange: X[1] || (X[1] = async (B) => E(B)),
1069
+ onBlur: X[2] || (X[2] = async (B) => g(B)),
1070
+ onFocus: X[3] || (X[3] = async (B) => y(B)),
1071
+ list: b.dataList && s.value,
1072
+ "aria-describedby": b.ariaDescribedBy ?? m.value
1073
1073
  }, null, 40, ot),
1074
- y.dataList ? (m(), k("datalist", {
1074
+ b.dataList ? (h(), k("datalist", {
1075
1075
  key: 0,
1076
- id: d.value
1076
+ id: s.value
1077
1077
  }, [
1078
- (m(!0), k(G, null, fe(W(), (B) => (m(), k("option", {
1079
- key: d.value + "-option-" + B.value,
1078
+ (h(!0), k(W, null, fe(M(), (B) => (h(), k("option", {
1079
+ key: s.value + "-option-" + B.value,
1080
1080
  value: B.value
1081
- }, L(B.label), 9, st))), 128))
1082
- ], 8, nt)) : R("", !0),
1083
- A(y.$slots, "default"),
1084
- o(Z)(y.message, y.showMessage) ? (m(), Y(ae, {
1081
+ }, $(B.label), 9, st))), 128))
1082
+ ], 8, nt)) : P("", !0),
1083
+ A(b.$slots, "default"),
1084
+ o(Z)(b.message, b.showMessage) ? (h(), Y(ae, {
1085
1085
  key: 1,
1086
- size: y.messageSize || "small",
1087
- icon: y.messageIcon,
1086
+ size: b.messageSize || "small",
1087
+ icon: b.messageIcon,
1088
1088
  id: u.value
1089
1089
  }, {
1090
1090
  default: O(() => [
1091
- N(L(y.message), 1)
1091
+ N($(b.message), 1)
1092
1092
  ]),
1093
1093
  _: 1
1094
- }, 8, ["size", "icon", "id"])) : R("", !0),
1095
- p() ? (m(), Y(ae, {
1094
+ }, 8, ["size", "icon", "id"])) : P("", !0),
1095
+ v() ? (h(), Y(ae, {
1096
1096
  key: 2,
1097
1097
  semantic: "successful",
1098
1098
  id: c.value,
1099
- size: y.validMessageSize || "small"
1099
+ size: b.validMessageSize || "small"
1100
1100
  }, {
1101
1101
  default: O(() => [
1102
- N(L(y.validMessage || o(ce)), 1)
1102
+ N($(b.validMessage || o(ce)), 1)
1103
1103
  ]),
1104
1104
  _: 1
1105
- }, 8, ["id", "size"])) : R("", !0),
1105
+ }, 8, ["id", "size"])) : P("", !0),
1106
1106
  ee(ae, {
1107
1107
  semantic: "critical",
1108
1108
  id: r.value,
1109
- size: y.invalidMessageSize || "small"
1109
+ size: b.invalidMessageSize || "small"
1110
1110
  }, {
1111
1111
  default: O(() => [
1112
- N(L(v.value), 1)
1112
+ N($(f.value), 1)
1113
1113
  ]),
1114
1114
  _: 1
1115
1115
  }, 8, ["id", "size"]),
1116
- _("span", dt, L(w.value), 1)
1116
+ C("span", dt, $(w.value), 1)
1117
1117
  ], 10, it));
1118
1118
  }
1119
- }), rt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], la = /* @__PURE__ */ U({
1119
+ }), rt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], oa = /* @__PURE__ */ G({
1120
1120
  __name: "tooltip",
1121
1121
  props: {
1122
1122
  showArrow: { type: [Boolean, String], default: void 0 },
@@ -1133,21 +1133,21 @@ const Ha = (t) => {
1133
1133
  width: { default: void 0 }
1134
1134
  },
1135
1135
  setup(t) {
1136
- const a = t, n = s(Se), e = s(!1), i = s(void 0), u = s(void 0), c = s(null);
1136
+ const a = t, n = d(Se), e = d(!1), i = d(void 0), u = d(void 0), c = d(null);
1137
1137
  j(() => {
1138
1138
  n.value = a.id || "tooltip-" + K(), e.value = !0;
1139
1139
  }), D(
1140
1140
  () => [c.value, e.value],
1141
1141
  () => {
1142
1142
  if (c.value && e.value && n.value) {
1143
- const p = d();
1144
- p && (["mouseenter", "focusin"].forEach((f) => {
1145
- p.addEventListener(f, () => h(p));
1146
- }), p.addEventListener("keydown", (f) => v(f)), ["mouseleave", "focusout"].forEach((f) => {
1147
- p.addEventListener(f, () => w());
1148
- }), p.dataset.hasTooltip = "true", a.variant === "label" ? p.setAttribute("aria-labelledby", n.value) : p.setAttribute("aria-describedby", n.value)), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((f) => {
1149
- const T = f.find(({ target: C }) => C === d());
1150
- T && !T.isIntersecting && v(!1);
1143
+ const v = s();
1144
+ v && (["mouseenter", "focusin"].forEach((S) => {
1145
+ v.addEventListener(S, () => p(v));
1146
+ }), v.addEventListener("keydown", (S) => f(S)), ["mouseleave", "focusout"].forEach((S) => {
1147
+ v.addEventListener(S, () => w());
1148
+ }), v.dataset.hasTooltip = "true", a.variant === "label" ? v.setAttribute("aria-labelledby", n.value) : v.setAttribute("aria-describedby", n.value)), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((S) => {
1149
+ const L = S.find(({ target: E }) => E === s());
1150
+ L && !L.isIntersecting && f(!1);
1151
1151
  })), e.value = !1;
1152
1152
  }
1153
1153
  },
@@ -1156,58 +1156,58 @@ const Ha = (t) => {
1156
1156
  flush: "post"
1157
1157
  }
1158
1158
  );
1159
- function r(p) {
1160
- p.stopPropagation();
1159
+ function r(v) {
1160
+ v.stopPropagation();
1161
1161
  }
1162
- function v(p) {
1163
- (!p || p.key === "Escape") && c.value && getComputedStyle(c.value).visibility === "visible" && d().blur();
1162
+ function f(v) {
1163
+ (!v || v.key === "Escape") && c.value && getComputedStyle(c.value).visibility === "visible" && s().blur();
1164
1164
  }
1165
- function d() {
1166
- let p = c.value.parentElement;
1167
- return p && p.localName.includes("tooltip") && (p = p.parentElement), p;
1165
+ function s() {
1166
+ let v = c.value.parentElement;
1167
+ return v && v.localName.includes("tooltip") && (v = v.parentElement), v;
1168
1168
  }
1169
- function g(p) {
1170
- p && c.value && J(() => {
1171
- c.value && ia(
1169
+ function m(v) {
1170
+ v && c.value && J(() => {
1171
+ c.value && la(
1172
1172
  c.value,
1173
- p,
1173
+ v,
1174
1174
  a.placement ?? "bottom"
1175
1175
  );
1176
1176
  }, 1);
1177
1177
  }
1178
- function I(p, f) {
1179
- p?.target?.contains && p?.target?.contains(c.value) && g(f);
1178
+ function I(v, S) {
1179
+ v?.target?.contains && v?.target?.contains(c.value) && m(S);
1180
1180
  }
1181
1181
  function w() {
1182
1182
  i.value && new le().removeCallback(
1183
1183
  i.value
1184
- ), u.value?.unobserve(d());
1184
+ ), u.value?.unobserve(s());
1185
1185
  }
1186
- function h(p) {
1186
+ function p(v) {
1187
1187
  i.value = new le().addCallback(
1188
- (f) => I(f, p)
1189
- ), g(p), u.value?.observe(d());
1188
+ (S) => I(S, v)
1189
+ ), m(v), u.value?.observe(s());
1190
1190
  }
1191
- return (p, f) => (m(), k("i", {
1191
+ return (v, S) => (h(), k("i", {
1192
1192
  role: "tooltip",
1193
1193
  "aria-hidden": "true",
1194
1194
  "data-gap": "true",
1195
1195
  ref_key: "_ref",
1196
1196
  ref: c,
1197
- class: P(o(V)("db-tooltip", a.class)),
1197
+ class: q(o(U)("db-tooltip", a.class)),
1198
1198
  id: n.value,
1199
- "data-emphasis": p.emphasis,
1200
- "data-animation": o(F)(p.animation ?? !0),
1201
- "data-delay": p.delay,
1202
- "data-width": p.width,
1203
- "data-show-arrow": o(F)(p.showArrow ?? !0),
1204
- "data-placement": p.placement,
1205
- onClick: f[0] || (f[0] = async (T) => r(T))
1199
+ "data-emphasis": v.emphasis,
1200
+ "data-animation": o(F)(v.animation ?? !0),
1201
+ "data-delay": v.delay,
1202
+ "data-width": v.width,
1203
+ "data-show-arrow": o(F)(v.showArrow ?? !0),
1204
+ "data-placement": v.placement,
1205
+ onClick: S[0] || (S[0] = async (L) => r(L))
1206
1206
  }, [
1207
- A(p.$slots, "default")
1207
+ A(v.$slots, "default")
1208
1208
  ], 10, rt));
1209
1209
  }
1210
- }), ct = ["id", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-show-icon", "data-no-text", "data-overflow"], vt = /* @__PURE__ */ U({
1210
+ }), ct = ["id", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-show-icon", "data-no-text", "data-overflow"], vt = /* @__PURE__ */ G({
1211
1211
  __name: "tag",
1212
1212
  props: {
1213
1213
  behavior: { default: void 0 },
@@ -1231,18 +1231,18 @@ const Ha = (t) => {
1231
1231
  remove: {}
1232
1232
  },
1233
1233
  setup(t) {
1234
- const a = t, n = s(null);
1234
+ const a = t, n = d(null);
1235
1235
  function e(u) {
1236
1236
  u && (u.stopPropagation(), a.onRemove && a.onRemove(u));
1237
1237
  }
1238
1238
  function i() {
1239
- return a.removeButton ? a.removeButton : Je;
1239
+ return a.removeButton ? a.removeButton : Qe;
1240
1240
  }
1241
- return (u, c) => (m(), k("div", {
1241
+ return (u, c) => (h(), k("div", {
1242
1242
  ref_key: "_ref",
1243
1243
  ref: n,
1244
1244
  id: u.id,
1245
- class: P(o(V)("db-tag", a.class)),
1245
+ class: q(o(U)("db-tag", a.class)),
1246
1246
  "data-semantic": u.semantic,
1247
1247
  "data-emphasis": u.emphasis,
1248
1248
  "data-icon": u.icon,
@@ -1253,10 +1253,10 @@ const Ha = (t) => {
1253
1253
  }, [
1254
1254
  A(u.$slots, "content"),
1255
1255
  A(u.$slots, "default"),
1256
- u.text ? (m(), k(G, { key: 0 }, [
1257
- N(L(u.text), 1)
1258
- ], 64)) : R("", !0),
1259
- u.behavior === "removable" ? (m(), k("button", {
1256
+ u.text ? (h(), k(W, { key: 0 }, [
1257
+ N($(u.text), 1)
1258
+ ], 64)) : P("", !0),
1259
+ u.behavior === "removable" ? (h(), k("button", {
1260
1260
  key: 1,
1261
1261
  class: "db-button db-tab-remove-button",
1262
1262
  "data-icon": "cross",
@@ -1266,19 +1266,19 @@ const Ha = (t) => {
1266
1266
  type: "button",
1267
1267
  onClick: c[0] || (c[0] = async (r) => e(r))
1268
1268
  }, [
1269
- ee(la, { variant: "label" }, {
1269
+ ee(oa, { variant: "label" }, {
1270
1270
  default: O(() => [
1271
- N(L(i()), 1)
1271
+ N($(i()), 1)
1272
1272
  ]),
1273
1273
  _: 1
1274
1274
  })
1275
- ])) : R("", !0)
1275
+ ])) : P("", !0)
1276
1276
  ], 10, ct));
1277
1277
  }
1278
1278
  }), ft = ["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"], pt = ["id"], ht = ["id", "form", "name", "multiple", "disabled", "required"], mt = ["disabled", "value"], gt = ["open"], bt = ["id", "aria-disabled", "aria-labelledby"], yt = ["data-visually-hidden", "id"], kt = { key: 1 }, wt = { key: 0 }, St = { key: 0 }, Bt = { class: "db-checkbox db-custom-select-list-item" }, Lt = ["form", "checked"], It = ["aria-hidden", "id"], $t = {
1279
1279
  "data-visually-hidden": "true",
1280
1280
  role: "status"
1281
- }, nl = /* @__PURE__ */ U({
1281
+ }, nl = /* @__PURE__ */ G({
1282
1282
  __name: "custom-select",
1283
1283
  props: {
1284
1284
  children: { default: void 0 },
@@ -1343,19 +1343,19 @@ const Ha = (t) => {
1343
1343
  },
1344
1344
  emits: ["update:values"],
1345
1345
  setup(t, { emit: a }) {
1346
- const n = a, e = t, i = s(void 0), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(void 0), g = s(void 0), I = s(void 0), w = s(void 0), h = s(void 0), p = s("no-validation"), f = s(!1), T = s(void 0), C = s(""), b = s(void 0), S = s(""), W = s([]), y = s(!1), X = s(!1), B = s(0), q = s([]), H = s([]), ke = s(!1), pe = s(void 0), $e = s(0), Ce = s(void 0), Ae = s(void 0), De = s(void 0), Ne = s(!1), Be = s(!1), oa = s(null), M = s(null), ne = s(null), Te = s(null), Fe = s(null);
1346
+ const n = a, e = t, i = d(void 0), u = d(void 0), c = d(void 0), r = d(void 0), f = d(void 0), s = d(void 0), m = d(void 0), I = d(void 0), w = d(void 0), p = d(void 0), v = d("no-validation"), S = d(!1), L = d(void 0), E = d(""), g = d(void 0), y = d(""), M = d([]), b = d(!1), X = d(!1), B = d(0), R = d([]), H = d([]), ke = d(!1), pe = d(void 0), $e = d(0), Ce = d(void 0), Ae = d(void 0), De = d(void 0), Ne = d(!1), Be = d(!1), na = d(null), z = d(null), ne = d(null), Te = d(null), Fe = d(null);
1347
1347
  j(() => {
1348
1348
  const l = e.id ?? `custom-select-${K()}`;
1349
- i.value = l, u.value = l + de, c.value = l + ue, r.value = l + re, d.value = l + He, g.value = l + Oe, I.value = l + "-summary", w.value = l + _e, b.value = l + "-selected-labels", h.value = l + "-info", v.value = e.invalidMessage || te, typeof window < "u" && "IntersectionObserver" in window && (Ae.value = new IntersectionObserver(($) => {
1350
- if (M.value) {
1351
- const E = $.find(({ target: Q }) => Q === M.value);
1352
- E && !E.isIntersecting && M.value.open && (M.value.open = !1);
1349
+ i.value = l, u.value = l + de, c.value = l + ue, r.value = l + re, s.value = l + He, m.value = l + Oe, I.value = l + "-summary", w.value = l + _e, g.value = l + "-selected-labels", p.value = l + "-info", f.value = e.invalidMessage || te, typeof window < "u" && "IntersectionObserver" in window && (Ae.value = new IntersectionObserver((T) => {
1350
+ if (z.value) {
1351
+ const _ = T.find(({ target: Q }) => Q === z.value);
1352
+ _ && !_.isIntersecting && z.value.open && (z.value.open = !1);
1353
1353
  }
1354
1354
  }));
1355
1355
  }), D(
1356
- () => [M.value],
1356
+ () => [z.value],
1357
1357
  () => {
1358
- M.value && M.value.addEventListener(
1358
+ z.value && z.value.addEventListener(
1359
1359
  "focusout",
1360
1360
  (l) => Le(l)
1361
1361
  );
@@ -1369,7 +1369,7 @@ const Ha = (t) => {
1369
1369
  () => {
1370
1370
  if (i.value) {
1371
1371
  const l = i.value + de;
1372
- g.value = i.value + Oe, d.value = i.value + He, c.value = i.value + ue, r.value = i.value + re, w.value = i.value + _e, Z(e.message, e.showMessage) ? Pe(l) : Pe();
1372
+ m.value = i.value + Oe, s.value = i.value + He, c.value = i.value + ue, r.value = i.value + re, w.value = i.value + _e, Z(e.message, e.showMessage) ? Pe(l) : Pe();
1373
1373
  }
1374
1374
  },
1375
1375
  {
@@ -1377,13 +1377,13 @@ const Ha = (t) => {
1377
1377
  flush: "post"
1378
1378
  }
1379
1379
  ), D(
1380
- () => [M.value, T.value],
1380
+ () => [z.value, L.value],
1381
1381
  () => {
1382
- if (M.value) {
1383
- const l = M.value.querySelector("summary");
1382
+ if (z.value) {
1383
+ const l = z.value.querySelector("summary");
1384
1384
  l && l.setAttribute(
1385
1385
  "aria-describedby",
1386
- e.ariaDescribedBy ?? (T.value || "")
1386
+ e.ariaDescribedBy ?? (L.value || "")
1387
1387
  );
1388
1388
  }
1389
1389
  },
@@ -1403,7 +1403,7 @@ const Ha = (t) => {
1403
1403
  ), D(
1404
1404
  () => [e.showSelectAll, B.value, e.multiple],
1405
1405
  () => {
1406
- y.value = !!(e.multiple && (e.showSelectAll ?? B.value > 5));
1406
+ b.value = !!(e.multiple && (e.showSelectAll ?? B.value > 5));
1407
1407
  },
1408
1408
  {
1409
1409
  immediate: !0,
@@ -1422,16 +1422,16 @@ const Ha = (t) => {
1422
1422
  () => [e.values],
1423
1423
  () => {
1424
1424
  const l = e.values;
1425
- Array.isArray(l) ? q.value !== l && (q.value = l) : l == null && q.value?.length !== 0 && (q.value = []);
1425
+ Array.isArray(l) ? R.value !== l && (R.value = l) : l == null && R.value?.length !== 0 && (R.value = []);
1426
1426
  },
1427
1427
  {
1428
1428
  immediate: !0,
1429
1429
  flush: "post"
1430
1430
  }
1431
1431
  ), D(
1432
- () => [q.value, ne.value],
1432
+ () => [R.value, ne.value],
1433
1433
  () => {
1434
- ne.value && sa();
1434
+ ne.value && da();
1435
1435
  },
1436
1436
  {
1437
1437
  immediate: !0,
@@ -1440,16 +1440,16 @@ const Ha = (t) => {
1440
1440
  ), D(
1441
1441
  () => [e.validation],
1442
1442
  () => {
1443
- p.value = e.validation;
1443
+ v.value = e.validation;
1444
1444
  },
1445
1445
  {
1446
1446
  immediate: !0,
1447
1447
  flush: "post"
1448
1448
  }
1449
1449
  ), D(
1450
- () => [q.value, B.value],
1450
+ () => [R.value, B.value],
1451
1451
  () => {
1452
- q.value?.length === 0 ? (Ne.value = !1, Be.value = !1) : q.value?.length === B.value ? (Be.value = !1, Ne.value = !0) : q.value && (Be.value = !0);
1452
+ R.value?.length === 0 ? (Ne.value = !1, Be.value = !1) : R.value?.length === B.value ? (Be.value = !1, Ne.value = !0) : R.value && (Be.value = !0);
1453
1453
  },
1454
1454
  {
1455
1455
  immediate: !0,
@@ -1477,10 +1477,10 @@ const Ha = (t) => {
1477
1477
  flush: "post"
1478
1478
  }
1479
1479
  ), D(
1480
- () => [e.options, q.value],
1480
+ () => [e.options, R.value],
1481
1481
  () => {
1482
- e.options?.length && (W.value = e.options?.filter(
1483
- (l) => !l.value || !q.value?.includes ? !1 : !l.isGroupTitle && q.value?.includes(l.value)
1482
+ e.options?.length && (M.value = e.options?.filter(
1483
+ (l) => !l.value || !R.value?.includes ? !1 : !l.isGroupTitle && R.value?.includes(l.value)
1484
1484
  ));
1485
1485
  },
1486
1486
  {
@@ -1489,7 +1489,7 @@ const Ha = (t) => {
1489
1489
  }
1490
1490
  ), D(
1491
1491
  () => [
1492
- W.value,
1492
+ M.value,
1493
1493
  e.selectedType,
1494
1494
  e.amountText,
1495
1495
  e.selectedLabels,
@@ -1497,27 +1497,27 @@ const Ha = (t) => {
1497
1497
  ],
1498
1498
  () => {
1499
1499
  if (e.selectedLabels) {
1500
- C.value = e.selectedLabels;
1500
+ E.value = e.selectedLabels;
1501
1501
  return;
1502
1502
  }
1503
- if (W.value?.length) {
1503
+ if (M.value?.length) {
1504
1504
  if (e.transformSelectedLabels) {
1505
- const l = W.value, $ = e.transformSelectedLabels;
1506
- C.value = $(l);
1505
+ const l = M.value, T = e.transformSelectedLabels;
1506
+ E.value = T(l);
1507
1507
  return;
1508
1508
  }
1509
- e.selectedType === "amount" ? C.value = e.amountText ? e.amountText : `${W.value?.length} ${Ba}` : C.value = W.value?.map((l) => ye(l)).join(", ");
1509
+ e.selectedType === "amount" ? E.value = e.amountText ? e.amountText : `${M.value?.length} ${Ba}` : E.value = M.value?.map((l) => ye(l)).join(", ");
1510
1510
  } else
1511
- C.value = "";
1511
+ E.value = "";
1512
1512
  },
1513
1513
  {
1514
1514
  immediate: !0,
1515
1515
  flush: "post"
1516
1516
  }
1517
1517
  ), D(
1518
- () => [W.value],
1518
+ () => [M.value],
1519
1519
  () => {
1520
- e.onAmountChange && e.onAmountChange(W.value?.length ?? 0);
1520
+ e.onAmountChange && e.onAmountChange(M.value?.length ?? 0);
1521
1521
  },
1522
1522
  {
1523
1523
  immediate: !0,
@@ -1535,80 +1535,80 @@ const Ha = (t) => {
1535
1535
  ), D(
1536
1536
  () => [ne.value, e.invalidMessage],
1537
1537
  () => {
1538
- v.value = e.invalidMessage || ne.value?.validationMessage || te;
1538
+ f.value = e.invalidMessage || ne.value?.validationMessage || te;
1539
1539
  },
1540
1540
  {
1541
1541
  immediate: !0,
1542
1542
  flush: "post"
1543
1543
  }
1544
1544
  );
1545
- function na(l) {
1546
- l?.target?.contains && l?.target?.contains(M.value) && Me();
1545
+ function sa(l) {
1546
+ l?.target?.contains && l?.target?.contains(z.value) && Me();
1547
1547
  }
1548
- function ze() {
1548
+ function Re() {
1549
1549
  return !!(e.validMessage ?? e.validation === "valid");
1550
1550
  }
1551
- function sa() {
1552
- ne.value && (ne.value.value = ua()), !ne.value?.validity.valid || e.validation === "invalid" ? (T.value = r.value, v.value = e.invalidMessage || ne.value?.validationMessage || te, ve() && (S.value = v.value, J(() => S.value = "", 1e3)), f.value && (p.value = e.validation ?? "invalid")) : ze() && ne.value?.validity.valid && e.required ? (T.value = c.value, ve() && (S.value = e.validMessage ?? ce, J(() => S.value = "", 1e3)), p.value = e.validation ?? "valid") : Z(e.message, e.showMessage) ? (T.value = u.value, p.value = e.validation ?? "no-validation") : (T.value = w.value, p.value = e.validation ?? "no-validation");
1551
+ function da() {
1552
+ ne.value && (ne.value.value = ra()), !ne.value?.validity.valid || e.validation === "invalid" ? (L.value = r.value, f.value = e.invalidMessage || ne.value?.validationMessage || te, ve() && (y.value = f.value, J(() => y.value = "", 1e3)), S.value && (v.value = e.validation ?? "invalid")) : Re() && ne.value?.validity.valid && e.required ? (L.value = c.value, ve() && (y.value = e.validMessage ?? ce, J(() => y.value = "", 1e3)), v.value = e.validation ?? "valid") : Z(e.message, e.showMessage) ? (L.value = u.value, v.value = e.validation ?? "no-validation") : (L.value = w.value, v.value = e.validation ?? "no-validation");
1553
1553
  }
1554
- function da(l) {
1554
+ function ua(l) {
1555
1555
  e.onDropdownToggle && (l.stopPropagation(), e.onDropdownToggle(l)), l.target instanceof HTMLDetailsElement && l.target.open ? (pe.value = new se().addCallback(
1556
- ($) => ma($)
1556
+ (T) => ga(T)
1557
1557
  ), Ce.value = new le().addCallback(
1558
- ($) => na($)
1559
- ), Me(), Ae.value?.observe(M.value), l.target.dataset.test || qe()) : (pe.value && new se().removeCallback(
1558
+ (T) => sa(T)
1559
+ ), Me(), Ae.value?.observe(z.value), l.target.dataset.test || qe()) : (pe.value && new se().removeCallback(
1560
1560
  pe.value
1561
1561
  ), Ce.value && new le().removeCallback(
1562
1562
  Ce.value
1563
- ), Ae.value?.unobserve(M.value));
1563
+ ), Ae.value?.unobserve(z.value));
1564
1564
  }
1565
- function ua() {
1566
- return q.value?.length ? q.value.at(0) ?? "" : "";
1565
+ function ra() {
1566
+ return R.value?.length ? R.value.at(0) ?? "" : "";
1567
1567
  }
1568
1568
  function Pe(l) {
1569
- const $ = [];
1570
- l && $.push(l), b.value && C.value?.length && $.push(b.value), T.value = $.join(" ");
1569
+ const T = [];
1570
+ l && T.push(l), g.value && E.value?.length && T.push(g.value), L.value = T.join(" ");
1571
1571
  }
1572
- function ra() {
1572
+ function ca() {
1573
1573
  return e.selectAllLabel ?? me;
1574
1574
  }
1575
1575
  function ye(l) {
1576
1576
  return l.label ?? l.value?.toString() ?? "";
1577
1577
  }
1578
- function ca(l) {
1579
- return l && q.value?.includes ? q.value?.includes(l) : !1;
1580
- }
1581
1578
  function va(l) {
1582
- const $ = e.removeTagsTexts, E = e.options;
1583
- if ($ && E) {
1584
- const Q = E.findIndex((x) => x.value === l.value);
1585
- if (Q >= 0 && Q < $.length)
1586
- return $[Q];
1579
+ return l && R.value?.includes ? R.value?.includes(l) : !1;
1580
+ }
1581
+ function fa(l) {
1582
+ const T = e.removeTagsTexts, _ = e.options;
1583
+ if (T && _) {
1584
+ const Q = _.findIndex((x) => x.value === l.value);
1585
+ if (Q >= 0 && Q < T.length)
1586
+ return T[Q];
1587
1587
  }
1588
- return `${Je} ${ye(l)}`;
1588
+ return `${Qe} ${ye(l)}`;
1589
1589
  }
1590
- function fa(l, $) {
1591
- $ && $.stopPropagation(), Ve(l.value), Ie();
1590
+ function pa(l, T) {
1591
+ T && T.stopPropagation(), Ve(l.value), Ie();
1592
1592
  }
1593
1593
  function Me() {
1594
- if (M.value) {
1595
- const l = M.value.querySelector("article");
1594
+ if (z.value) {
1595
+ const l = z.value.querySelector("article");
1596
1596
  l && J(() => {
1597
1597
  ja(
1598
1598
  l,
1599
- M.value,
1599
+ z.value,
1600
1600
  e.placement ?? "bottom"
1601
1601
  );
1602
1602
  }, 1);
1603
1603
  }
1604
1604
  }
1605
- function pa(l) {
1606
- if (M.value?.open) {
1605
+ function ha(l) {
1606
+ if (z.value?.open) {
1607
1607
  if (self.document) {
1608
- const $ = self.document.activeElement;
1609
- if ($)
1610
- if ($.getAttribute("type") === "checkbox" || $.getAttribute("type") === "radio") {
1611
- const Q = $?.closest("li");
1608
+ const T = self.document.activeElement;
1609
+ if (T)
1610
+ if (T.getAttribute("type") === "checkbox" || T.getAttribute("type") === "radio") {
1611
+ const Q = T?.closest("li");
1612
1612
  if (l.key === "ArrowDown" || l.key === "ArrowRight") {
1613
1613
  let x = Q?.nextElementSibling;
1614
1614
  for (; x; ) {
@@ -1619,7 +1619,7 @@ const Ha = (t) => {
1619
1619
  }
1620
1620
  x = x.nextElementSibling;
1621
1621
  }
1622
- x || Ee($);
1622
+ x || Ee(T);
1623
1623
  } else {
1624
1624
  let x = Q?.previousElementSibling;
1625
1625
  for (; x; ) {
@@ -1631,20 +1631,20 @@ const Ha = (t) => {
1631
1631
  x = x.previousElementSibling;
1632
1632
  }
1633
1633
  if (!x) {
1634
- const he = M.value.querySelector(
1634
+ const he = z.value.querySelector(
1635
1635
  'input[type="checkbox"]'
1636
1636
  );
1637
- if (he && he !== $)
1638
- Ee($);
1637
+ if (he && he !== T)
1638
+ Ee(T);
1639
1639
  else {
1640
- const Ge = Ye(M.value);
1640
+ const Ge = Ye(z.value);
1641
1641
  if (Ge)
1642
1642
  J(() => {
1643
1643
  Ge.focus();
1644
1644
  }, 100);
1645
1645
  else {
1646
1646
  const We = Array.from(
1647
- M.value?.querySelectorAll(
1647
+ z.value?.querySelectorAll(
1648
1648
  'input[type="checkbox"],input[type="radio"]'
1649
1649
  )
1650
1650
  );
@@ -1654,39 +1654,39 @@ const Ha = (t) => {
1654
1654
  }
1655
1655
  }
1656
1656
  } else
1657
- $.getAttribute("type") === "search" && (l.key === "ArrowUp" || l.key === "ArrowLeft") ? (Le(void 0, !0), Ie()) : Ee($);
1657
+ T.getAttribute("type") === "search" && (l.key === "ArrowUp" || l.key === "ArrowLeft") ? (Le(void 0, !0), Ie()) : Ee(T);
1658
1658
  }
1659
- } else (l.key === "ArrowDown" || l.key === "ArrowRight") && (Me(), M.value && (M.value.open = !0), qe());
1659
+ } else (l.key === "ArrowDown" || l.key === "ArrowRight") && (Me(), z.value && (z.value.open = !0), qe());
1660
1660
  l.stopPropagation(), l.preventDefault();
1661
1661
  }
1662
- function ha(l) {
1663
- if (l.stopPropagation(), l.key === "Escape" && M.value?.open)
1662
+ function ma(l) {
1663
+ if (l.stopPropagation(), l.key === "Escape" && z.value?.open)
1664
1664
  Le(void 0, !0), Ie();
1665
- else if (l.key === "Enter" && M.value?.open) {
1665
+ else if (l.key === "Enter" && z.value?.open) {
1666
1666
  if (self.document) {
1667
- const $ = self.document.activeElement;
1668
- ["checkbox", "radio"].includes($.getAttribute("type") || "") && ($.click(), l.preventDefault());
1667
+ const T = self.document.activeElement;
1668
+ ["checkbox", "radio"].includes(T.getAttribute("type") || "") && (T.click(), l.preventDefault());
1669
1669
  }
1670
- } else (l.key === "ArrowDown" || l.key === "ArrowUp" || l.key === "ArrowLeft" || l.key === "ArrowRight") && pa(l);
1671
- }
1672
- function Le(l, $) {
1673
- if (M.value) {
1674
- if ($)
1675
- M.value.open = !1, Ie();
1676
- else if (M.value.open && l && l.relatedTarget) {
1677
- const E = l.relatedTarget;
1678
- M.value.contains(E) || J(() => M.value.open = !1, 1);
1670
+ } else (l.key === "ArrowDown" || l.key === "ArrowUp" || l.key === "ArrowLeft" || l.key === "ArrowRight") && ha(l);
1671
+ }
1672
+ function Le(l, T) {
1673
+ if (z.value) {
1674
+ if (T)
1675
+ z.value.open = !1, Ie();
1676
+ else if (z.value.open && l && l.relatedTarget) {
1677
+ const _ = l.relatedTarget;
1678
+ z.value.contains(_) || J(() => z.value.open = !1, 1);
1679
1679
  }
1680
1680
  }
1681
1681
  }
1682
- function ma(l) {
1682
+ function ga(l) {
1683
1683
  if (l) {
1684
- const $ = l.target;
1685
- M.value?.open && !M.value.contains($) && (M.value.open = !1);
1684
+ const T = l.target;
1685
+ z.value?.open && !z.value.contains(T) && (z.value.open = !1);
1686
1686
  }
1687
1687
  }
1688
1688
  function we(l) {
1689
- (/* @__PURE__ */ new Date()).getTime() - $e.value < 200 || (q.value = l, f.value = !0, e.onOptionSelected && e.onOptionSelected(l ?? []), oe(
1689
+ (/* @__PURE__ */ new Date()).getTime() - $e.value < 200 || (R.value = l, S.value = !0, e.onOptionSelected && e.onOptionSelected(l ?? []), oe(
1690
1690
  n,
1691
1691
  {
1692
1692
  target: {
@@ -1697,29 +1697,29 @@ const Ha = (t) => {
1697
1697
  ), $e.value = (/* @__PURE__ */ new Date()).getTime());
1698
1698
  }
1699
1699
  function Ve(l) {
1700
- l && (e.multiple ? q.value?.includes(l) ? we(q.value.filter(($) => $ !== l)) : we([...q.value || [], l]) : (we([l]), Le(void 0, !0)));
1700
+ l && (e.multiple ? R.value?.includes(l) ? we(R.value.filter((T) => T !== l)) : we([...R.value || [], l]) : (we([l]), Le(void 0, !0)));
1701
1701
  }
1702
- function ga(l) {
1703
- if (l.stopPropagation(), q.value?.length === B.value)
1702
+ function ba(l) {
1703
+ if (l.stopPropagation(), R.value?.length === B.value)
1704
1704
  we([]);
1705
1705
  else {
1706
- const $ = X.value && Fe.value ? Fe.value.value : void 0;
1706
+ const T = X.value && Fe.value ? Fe.value.value : void 0;
1707
1707
  we(
1708
1708
  e.options ? e.options.filter(
1709
- (E) => !E.isGroupTitle && (!$ || E.value?.toLowerCase().includes($.toLowerCase()))
1710
- ).map((E) => E.value ?? "") : []
1709
+ (_) => !_.isGroupTitle && (!T || _.value?.toLowerCase().includes(T.toLowerCase()))
1710
+ ).map((_) => _.value ?? "") : []
1711
1711
  );
1712
1712
  }
1713
1713
  }
1714
1714
  function Ee(l) {
1715
- if (M.value) {
1716
- const $ = Array.from(
1717
- M.value.querySelectorAll(
1715
+ if (z.value) {
1716
+ const T = Array.from(
1717
+ z.value.querySelectorAll(
1718
1718
  'input[type="checkbox"],input[type="radio"]'
1719
1719
  )
1720
1720
  );
1721
- if ($.length) {
1722
- const E = $.at(0), Q = E === l && $.length > 1 ? $.at(1) : E;
1721
+ if (T.length) {
1722
+ const _ = T.at(0), Q = _ === l && T.length > 1 ? T.at(1) : _;
1723
1723
  Q && J(() => {
1724
1724
  Q.focus();
1725
1725
  }, 1);
@@ -1727,8 +1727,8 @@ const Ha = (t) => {
1727
1727
  }
1728
1728
  }
1729
1729
  function qe() {
1730
- if (M.value) {
1731
- const l = Ye(M.value);
1730
+ if (z.value) {
1731
+ const l = Ye(z.value);
1732
1732
  l ? J(() => {
1733
1733
  l.focus();
1734
1734
  }, 1) : Ee();
@@ -1737,35 +1737,35 @@ const Ha = (t) => {
1737
1737
  function Ue(l) {
1738
1738
  if (l === void 0)
1739
1739
  return;
1740
- let $;
1740
+ let T;
1741
1741
  if (typeof l == "string")
1742
- $ = l;
1742
+ T = l;
1743
1743
  else {
1744
- const E = l;
1745
- E.stopPropagation(), e.onSearch && e.onSearch(E), $ = E.target.value, De.value = $;
1744
+ const _ = l;
1745
+ _.stopPropagation(), e.onSearch && e.onSearch(_), T = _.target.value, De.value = T;
1746
1746
  }
1747
- !e.options || !$ || $.length === 0 ? H.value = e.options : e.searchFilter ? H.value = e.options.filter(
1748
- (E) => e.searchFilter(E, $)
1747
+ !e.options || !T || T.length === 0 ? H.value = e.options : e.searchFilter ? H.value = e.options.filter(
1748
+ (_) => e.searchFilter(_, T)
1749
1749
  ) : H.value = e.options.filter(
1750
- (E) => !E.isGroupTitle && ye(E).toLowerCase().includes($.toLowerCase())
1750
+ (_) => !_.isGroupTitle && ye(_).toLowerCase().includes(T.toLowerCase())
1751
1751
  );
1752
1752
  }
1753
- function ba(l) {
1753
+ function ya(l) {
1754
1754
  l.stopPropagation(), we([]), Ie();
1755
1755
  }
1756
1756
  function Ie() {
1757
- M.value && M.value.querySelector("summary")?.focus();
1757
+ z.value && z.value.querySelector("summary")?.focus();
1758
1758
  }
1759
- function ya(l) {
1759
+ function ka(l) {
1760
1760
  l.stopPropagation();
1761
1761
  }
1762
- return (l, $) => (m(), k("div", {
1762
+ return (l, T) => (h(), k("div", {
1763
1763
  id: i.value,
1764
1764
  ref_key: "_ref",
1765
- ref: oa,
1766
- class: P(o(V)("db-custom-select", e.class)),
1767
- "aria-invalid": p.value === "invalid",
1768
- "data-custom-validity": p.value,
1765
+ ref: na,
1766
+ class: q(o(U)("db-custom-select", e.class)),
1767
+ "aria-invalid": v.value === "invalid",
1768
+ "data-custom-validity": v.value,
1769
1769
  "data-width": l.formFieldWidth,
1770
1770
  "data-variant": l.variant === "floating" && l.selectedType === "tag" && l.multiple ? "above" : l.variant,
1771
1771
  "data-required": o(F)(l.required),
@@ -1776,67 +1776,67 @@ const Ha = (t) => {
1776
1776
  "data-icon": l.icon,
1777
1777
  "data-show-icon": o(F)(l.showIcon)
1778
1778
  }, [
1779
- _("label", { id: g.value }, [
1780
- N(L(l.label ?? o(me)), 1),
1781
- _("select", {
1779
+ C("label", { id: m.value }, [
1780
+ N($(l.label ?? o(me)), 1),
1781
+ C("select", {
1782
1782
  role: "none",
1783
1783
  hidden: !0,
1784
- id: d.value,
1784
+ id: s.value,
1785
1785
  tabIndex: -1,
1786
1786
  ref_key: "selectRef",
1787
1787
  ref: ne,
1788
1788
  form: l.form,
1789
1789
  name: l.name,
1790
- multiple: o(z)(l.multiple, "multiple"),
1791
- disabled: o(z)(l.disabled, "disabled"),
1792
- required: o(z)(l.required, "required"),
1793
- onChange: $[0] || ($[0] = async (E) => ya(E))
1790
+ multiple: o(V)(l.multiple, "multiple"),
1791
+ disabled: o(V)(l.disabled, "disabled"),
1792
+ required: o(V)(l.required, "required"),
1793
+ onChange: T[0] || (T[0] = async (_) => ka(_))
1794
1794
  }, [
1795
- l.options?.length ? (m(!0), k(G, { key: 0 }, fe(l.options, (E, Q) => (m(), k("option", {
1795
+ l.options?.length ? (h(!0), k(W, { key: 0 }, fe(l.options, (_, Q) => (h(), k("option", {
1796
1796
  key: Q,
1797
- disabled: E.disabled,
1798
- value: E.value
1799
- }, L(ye(E)), 9, mt))), 128)) : R("", !0)
1797
+ disabled: _.disabled,
1798
+ value: _.value
1799
+ }, $(ye(_)), 9, mt))), 128)) : P("", !0)
1800
1800
  ], 40, ht)
1801
1801
  ], 8, pt),
1802
- _("details", {
1802
+ C("details", {
1803
1803
  ref_key: "detailsRef",
1804
- ref: M,
1804
+ ref: z,
1805
1805
  open: l.open,
1806
- onToggle: $[2] || ($[2] = async (E) => da(E)),
1807
- onKeydown: $[3] || ($[3] = async (E) => ha(E))
1806
+ onToggle: T[2] || (T[2] = async (_) => ua(_)),
1807
+ onKeydown: T[3] || (T[3] = async (_) => ma(_))
1808
1808
  }, [
1809
1809
  A(l.$slots, "default"),
1810
- l.options ? (m(), k(G, { key: 0 }, [
1811
- _("summary", {
1810
+ l.options ? (h(), k(W, { key: 0 }, [
1811
+ C("summary", {
1812
1812
  class: "db-custom-select-form-field",
1813
1813
  id: I.value,
1814
1814
  "aria-disabled": o(F)(l.disabled),
1815
- "aria-labelledby": g.value
1815
+ "aria-labelledby": m.value
1816
1816
  }, [
1817
- C.value?.length ? (m(), k("span", {
1817
+ E.value?.length ? (h(), k("span", {
1818
1818
  key: 0,
1819
1819
  "data-visually-hidden": o(F)(l.selectedType === "tag"),
1820
- id: b.value
1821
- }, L(C.value), 9, yt)) : R("", !0),
1822
- l.selectedType === "tag" ? (m(), k("div", kt, [
1823
- (m(!0), k(G, null, fe(W.value, (E, Q) => (m(), Y(vt, {
1820
+ id: g.value
1821
+ }, $(E.value), 9, yt)) : P("", !0),
1822
+ l.selectedType === "tag" ? (h(), k("div", kt, [
1823
+ (h(!0), k(W, null, fe(M.value, (_, Q) => (h(), Y(vt, {
1824
1824
  key: Q,
1825
1825
  emphasis: "strong",
1826
1826
  behavior: "removable",
1827
- removeButton: va(E),
1828
- onRemove: (x) => fa(E, x)
1827
+ removeButton: fa(_),
1828
+ onRemove: (x) => pa(_, x)
1829
1829
  }, {
1830
1830
  default: O(() => [
1831
- N(L(ye(E)), 1)
1831
+ N($(ye(_)), 1)
1832
1832
  ]),
1833
1833
  _: 2
1834
1834
  }, 1032, ["removeButton", "onRemove"]))), 128))
1835
- ])) : R("", !0)
1835
+ ])) : P("", !0)
1836
1836
  ], 8, bt),
1837
1837
  ee(Ka, { width: l.dropdownWidth }, {
1838
1838
  default: O(() => [
1839
- X.value ? (m(), k("div", wt, [
1839
+ X.value ? (h(), k("div", wt, [
1840
1840
  ee(ut, {
1841
1841
  type: "search",
1842
1842
  ref_key: "searchInputRef",
@@ -1847,58 +1847,58 @@ const Ha = (t) => {
1847
1847
  value: De.value,
1848
1848
  label: l.searchLabel ?? o(me),
1849
1849
  placeholder: l.searchPlaceholder ?? l.searchLabel,
1850
- ariaDescribedBy: ke.value || l.showLoading ? h.value : void 0,
1851
- onInput: (E) => Ue(E)
1850
+ ariaDescribedBy: ke.value || l.showLoading ? p.value : void 0,
1851
+ onInput: (_) => Ue(_)
1852
1852
  }, null, 8, ["name", "form", "value", "label", "placeholder", "ariaDescribedBy", "onInput"])
1853
- ])) : R("", !0),
1854
- ke.value || l.showLoading ? (m(), Y(ae, {
1853
+ ])) : P("", !0),
1854
+ ke.value || l.showLoading ? (h(), Y(ae, {
1855
1855
  key: 1,
1856
- id: h.value,
1856
+ id: p.value,
1857
1857
  icon: l.showLoading ? "circular_arrows" : void 0,
1858
1858
  semantic: l.showLoading ? "informational" : "warning"
1859
1859
  }, {
1860
1860
  default: O(() => [
1861
- N(L((l.showLoading ? l.loadingText : l.noResultsText) ?? o(wa)), 1)
1861
+ N($((l.showLoading ? l.loadingText : l.noResultsText) ?? o(wa)), 1)
1862
1862
  ]),
1863
1863
  _: 1
1864
- }, 8, ["id", "icon", "semantic"])) : (m(), k(G, { key: 2 }, [
1865
- y.value ? (m(), k("div", St, [
1866
- _("div", Bt, [
1867
- _("label", null, [
1868
- _("input", {
1864
+ }, 8, ["id", "icon", "semantic"])) : (h(), k(W, { key: 2 }, [
1865
+ b.value ? (h(), k("div", St, [
1866
+ C("div", Bt, [
1867
+ C("label", null, [
1868
+ C("input", {
1869
1869
  type: "checkbox",
1870
1870
  value: "select-all",
1871
1871
  ref_key: "selectAllRef",
1872
1872
  ref: Te,
1873
1873
  form: i.value,
1874
1874
  checked: Ne.value,
1875
- onChange: $[1] || ($[1] = async (E) => ga(E))
1875
+ onChange: T[1] || (T[1] = async (_) => ba(_))
1876
1876
  }, null, 40, Lt),
1877
- N(L(ra()), 1)
1877
+ N($(ca()), 1)
1878
1878
  ])
1879
1879
  ])
1880
- ])) : R("", !0),
1880
+ ])) : P("", !0),
1881
1881
  ee(tt, {
1882
- multiple: o(z)(l.multiple, "multiple"),
1882
+ multiple: o(V)(l.multiple, "multiple"),
1883
1883
  label: l.ariaListLabel ?? l.label ?? o(me)
1884
1884
  }, {
1885
1885
  default: O(() => [
1886
- (m(!0), k(G, null, fe(H.value, (E, Q) => (m(), Y(et, {
1886
+ (h(!0), k(W, null, fe(H.value, (_, Q) => (h(), Y(et, {
1887
1887
  key: Q,
1888
1888
  type: l.multiple ? "checkbox" : "radio",
1889
- showDivider: E.showDivider,
1890
- icon: E.icon,
1891
- isGroupTitle: E.isGroupTitle,
1892
- groupTitle: ye(E),
1889
+ showDivider: _.showDivider,
1890
+ icon: _.icon,
1891
+ isGroupTitle: _.isGroupTitle,
1892
+ groupTitle: ye(_),
1893
1893
  name: i.value,
1894
- checked: ca(E.value),
1895
- disabled: E.disabled,
1896
- value: E.value,
1897
- onChange: (x) => Ve(E.value)
1894
+ checked: va(_.value),
1895
+ disabled: _.disabled,
1896
+ value: _.value,
1897
+ onChange: (x) => Ve(_.value)
1898
1898
  }, {
1899
1899
  default: O(() => [
1900
- E.isGroupTitle ? R("", !0) : (m(), k(G, { key: 0 }, [
1901
- N(L(ye(E)), 1)
1900
+ _.isGroupTitle ? P("", !0) : (h(), k(W, { key: 0 }, [
1901
+ N($(ye(_)), 1)
1902
1902
  ], 64))
1903
1903
  ]),
1904
1904
  _: 2
@@ -1907,7 +1907,7 @@ const Ha = (t) => {
1907
1907
  _: 1
1908
1908
  }, 8, ["multiple", "label"])
1909
1909
  ], 64)),
1910
- _("div", null, [
1910
+ C("div", null, [
1911
1911
  ee(be, {
1912
1912
  variant: "ghost",
1913
1913
  width: "full",
@@ -1915,10 +1915,10 @@ const Ha = (t) => {
1915
1915
  size: "small",
1916
1916
  name: i.value,
1917
1917
  form: i.value,
1918
- onClick: (E) => Le(void 0, !0)
1918
+ onClick: (_) => Le(void 0, !0)
1919
1919
  }, {
1920
1920
  default: O(() => [
1921
- N(L(l.mobileCloseButtonText ?? o(Re)), 1)
1921
+ N($(l.mobileCloseButtonText ?? o(ze)), 1)
1922
1922
  ]),
1923
1923
  _: 1
1924
1924
  }, 8, ["name", "form", "onClick"])
@@ -1926,9 +1926,9 @@ const Ha = (t) => {
1926
1926
  ]),
1927
1927
  _: 1
1928
1928
  }, 8, ["width"])
1929
- ], 64)) : R("", !0)
1929
+ ], 64)) : P("", !0)
1930
1930
  ], 40, gt),
1931
- (l.showClearSelection ?? !0) && q.value?.length ? (m(), Y(be, {
1931
+ (l.showClearSelection ?? !0) && R.value?.length ? (h(), Y(be, {
1932
1932
  key: 0,
1933
1933
  icon: "cross",
1934
1934
  variant: "ghost",
@@ -1936,60 +1936,60 @@ const Ha = (t) => {
1936
1936
  noText: !0,
1937
1937
  name: i.value,
1938
1938
  form: i.value,
1939
- onClick: (E) => ba(E)
1939
+ onClick: (_) => ya(_)
1940
1940
  }, {
1941
1941
  default: O(() => [
1942
- N(L(l.clearSelectionText), 1),
1943
- ee(la, { placement: "top" }, {
1942
+ N($(l.clearSelectionText), 1),
1943
+ ee(oa, { placement: "top" }, {
1944
1944
  default: O(() => [
1945
- N(L(l.clearSelectionText), 1)
1945
+ N($(l.clearSelectionText), 1)
1946
1946
  ]),
1947
1947
  _: 1
1948
1948
  })
1949
1949
  ]),
1950
1950
  _: 1
1951
- }, 8, ["name", "form", "onClick"])) : R("", !0),
1952
- _("span", {
1951
+ }, 8, ["name", "form", "onClick"])) : P("", !0),
1952
+ C("span", {
1953
1953
  class: "db-custom-select-placeholder",
1954
1954
  "aria-hidden": o(F)(!0),
1955
1955
  id: w.value
1956
- }, L(l.placeholder ?? l.label), 9, It),
1957
- o(Z)(l.message, l.showMessage) ? (m(), Y(ae, {
1956
+ }, $(l.placeholder ?? l.label), 9, It),
1957
+ o(Z)(l.message, l.showMessage) ? (h(), Y(ae, {
1958
1958
  key: 1,
1959
1959
  size: "small",
1960
1960
  icon: l.messageIcon,
1961
1961
  id: u.value
1962
1962
  }, {
1963
1963
  default: O(() => [
1964
- N(L(l.message), 1)
1964
+ N($(l.message), 1)
1965
1965
  ]),
1966
1966
  _: 1
1967
- }, 8, ["icon", "id"])) : R("", !0),
1968
- ze() ? (m(), Y(ae, {
1967
+ }, 8, ["icon", "id"])) : P("", !0),
1968
+ Re() ? (h(), Y(ae, {
1969
1969
  key: 2,
1970
1970
  size: "small",
1971
1971
  semantic: "successful",
1972
1972
  id: c.value
1973
1973
  }, {
1974
1974
  default: O(() => [
1975
- N(L(l.validMessage || o(ce)), 1)
1975
+ N($(l.validMessage || o(ce)), 1)
1976
1976
  ]),
1977
1977
  _: 1
1978
- }, 8, ["id"])) : R("", !0),
1978
+ }, 8, ["id"])) : P("", !0),
1979
1979
  ee(ae, {
1980
1980
  size: "small",
1981
1981
  semantic: "critical",
1982
1982
  id: r.value
1983
1983
  }, {
1984
1984
  default: O(() => [
1985
- N(L(v.value), 1)
1985
+ N($(f.value), 1)
1986
1986
  ]),
1987
1987
  _: 1
1988
1988
  }, 8, ["id"]),
1989
- _("span", $t, L(S.value), 1)
1989
+ C("span", $t, $(y.value), 1)
1990
1990
  ], 10, ft));
1991
1991
  }
1992
- }), sl = ["fixed", "auto", "full"], Tt = ["id"], dl = /* @__PURE__ */ U({
1992
+ }), sl = ["fixed", "auto", "full"], Tt = ["id"], dl = /* @__PURE__ */ G({
1993
1993
  __name: "custom-select-form-field",
1994
1994
  props: {
1995
1995
  children: { default: void 0 },
@@ -1999,17 +1999,17 @@ const Ha = (t) => {
1999
1999
  autofocus: { type: [Boolean, String] }
2000
2000
  },
2001
2001
  setup(t) {
2002
- const a = t, n = s(null);
2003
- return (e, i) => (m(), k("summary", {
2002
+ const a = t, n = d(null);
2003
+ return (e, i) => (h(), k("summary", {
2004
2004
  ref_key: "_ref",
2005
2005
  ref: n,
2006
2006
  id: e.id,
2007
- class: P(o(V)("db-custom-select-form-field", a.class))
2007
+ class: q(o(U)("db-custom-select-form-field", a.class))
2008
2008
  }, [
2009
2009
  A(e.$slots, "default")
2010
2010
  ], 10, Tt));
2011
2011
  }
2012
- }), ul = ["checkbox", "radio"], rl = ["amount", "text", "tag"], Et = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], cl = /* @__PURE__ */ U({
2012
+ }), ul = ["checkbox", "radio"], rl = ["amount", "text", "tag"], Et = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], cl = /* @__PURE__ */ G({
2013
2013
  __name: "divider",
2014
2014
  props: {
2015
2015
  margin: { default: void 0 },
@@ -2023,8 +2023,8 @@ const Ha = (t) => {
2023
2023
  width: { default: void 0 }
2024
2024
  },
2025
2025
  setup(t) {
2026
- const a = t, n = s(null);
2027
- return (e, i) => (m(), k("div", {
2026
+ const a = t, n = d(null);
2027
+ return (e, i) => (h(), k("div", {
2028
2028
  ref_key: "_ref",
2029
2029
  ref: n,
2030
2030
  id: e.id,
@@ -2032,10 +2032,10 @@ const Ha = (t) => {
2032
2032
  "data-variant": e.variant,
2033
2033
  "data-emphasis": e.emphasis,
2034
2034
  "data-width": e.width,
2035
- class: P(o(V)("db-divider", a.class))
2035
+ class: q(o(U)("db-divider", a.class))
2036
2036
  }, null, 10, Et));
2037
2037
  }
2038
- }), vl = ["none", "_"], fl = ["horizontal", "vertical"], _t = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], Ct = ["data-spacing", "data-width", "data-direction", "data-rounded"], At = { class: "db-drawer-header" }, Dt = { class: "db-drawer-header-text" }, Nt = { class: "db-drawer-content" }, Ft = /* @__PURE__ */ U({
2038
+ }), vl = ["none", "_"], fl = ["horizontal", "vertical"], _t = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], Ct = ["data-spacing", "data-width", "data-direction", "data-rounded"], At = { class: "db-drawer-header" }, Dt = { class: "db-drawer-header-text" }, Nt = { class: "db-drawer-content" }, Ft = /* @__PURE__ */ G({
2039
2039
  __name: "drawer",
2040
2040
  props: {
2041
2041
  backdrop: { default: void 0 },
@@ -2058,7 +2058,7 @@ const Ha = (t) => {
2058
2058
  spacing: { default: void 0 }
2059
2059
  },
2060
2060
  setup(t) {
2061
- const a = t, n = s(!1), e = s(null), i = s(null);
2061
+ const a = t, n = d(!1), e = d(null), i = d(null);
2062
2062
  j(() => {
2063
2063
  c(), n.value = !0;
2064
2064
  }), D(
@@ -2074,8 +2074,8 @@ const Ha = (t) => {
2074
2074
  () => [e.value, n.value, a.position],
2075
2075
  () => {
2076
2076
  if (e.value && n.value && a.position === "absolute") {
2077
- const v = e.value.parentElement;
2078
- v && (v.style.position = "relative");
2077
+ const f = e.value.parentElement;
2078
+ f && (f.style.position = "relative");
2079
2079
  }
2080
2080
  },
2081
2081
  {
@@ -2083,8 +2083,8 @@ const Ha = (t) => {
2083
2083
  flush: "post"
2084
2084
  }
2085
2085
  );
2086
- function u(r, v) {
2087
- r && (Aa(r) ? r.key === "Escape" && (r.preventDefault(), a.onClose && a.onClose(r)) : (v && (r.stopPropagation(), a.onClose && a.onClose(r)), r.target?.nodeName === "DIALOG" && r.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(r)));
2086
+ function u(r, f) {
2087
+ r && (Aa(r) ? r.key === "Escape" && (r.preventDefault(), a.onClose && a.onClose(r)) : (f && (r.stopPropagation(), a.onClose && a.onClose(r)), r.target?.nodeName === "DIALOG" && r.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(r)));
2088
2088
  }
2089
2089
  function c() {
2090
2090
  if (e.value) {
@@ -2094,29 +2094,29 @@ const Ha = (t) => {
2094
2094
  }, 401));
2095
2095
  }
2096
2096
  }
2097
- return (r, v) => (m(), k("dialog", {
2097
+ return (r, f) => (h(), k("dialog", {
2098
2098
  class: "db-drawer",
2099
2099
  id: r.id,
2100
2100
  ref_key: "_ref",
2101
2101
  ref: e,
2102
- onClick: v[0] || (v[0] = async (d) => u(d)),
2103
- onKeydown: v[1] || (v[1] = async (d) => u(d)),
2102
+ onClick: f[0] || (f[0] = async (s) => u(s)),
2103
+ onKeydown: f[1] || (f[1] = async (s) => u(s)),
2104
2104
  "data-position": r.position,
2105
2105
  "data-backdrop": r.backdrop,
2106
2106
  "data-direction": r.direction,
2107
2107
  "data-variant": r.variant
2108
2108
  }, [
2109
- _("article", {
2109
+ C("article", {
2110
2110
  ref_key: "dialogContainerRef",
2111
2111
  ref: i,
2112
- class: P(o(V)("db-drawer-container", a.class)),
2112
+ class: q(o(U)("db-drawer-container", a.class)),
2113
2113
  "data-spacing": r.spacing,
2114
2114
  "data-width": r.width,
2115
2115
  "data-direction": r.direction,
2116
2116
  "data-rounded": o(F)(r.rounded)
2117
2117
  }, [
2118
- _("header", At, [
2119
- _("div", Dt, [
2118
+ C("header", At, [
2119
+ C("div", Dt, [
2120
2120
  A(r.$slots, "drawer-header")
2121
2121
  ]),
2122
2122
  ee(be, {
@@ -2125,15 +2125,15 @@ const Ha = (t) => {
2125
2125
  variant: "ghost",
2126
2126
  id: r.closeButtonId,
2127
2127
  noText: !0,
2128
- onClick: (d) => u(d, !0)
2128
+ onClick: (s) => u(s, !0)
2129
2129
  }, {
2130
2130
  default: O(() => [
2131
- N(L(r.closeButtonText ?? o(Re)), 1)
2131
+ N($(r.closeButtonText ?? o(ze)), 1)
2132
2132
  ]),
2133
2133
  _: 1
2134
2134
  }, 8, ["id", "onClick"])
2135
2135
  ]),
2136
- _("div", Nt, [
2136
+ C("div", Nt, [
2137
2137
  A(r.$slots, "default")
2138
2138
  ])
2139
2139
  ], 10, Ct)
@@ -2145,7 +2145,7 @@ const Ha = (t) => {
2145
2145
  } = t;
2146
2146
  return !!(!a?.classList?.contains("db-navigation-item-expand-button") && a?.parentElement?.classList.contains("db-navigation-item"));
2147
2147
  };
2148
- class Rt {
2148
+ class zt {
2149
2149
  element;
2150
2150
  subNavigation;
2151
2151
  parentSubNavigation = null;
@@ -2218,7 +2218,7 @@ class Rt {
2218
2218
  e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), n && (this.triangleData = void 0));
2219
2219
  }
2220
2220
  }
2221
- const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-header-drawer-navigation" }, Vt = { class: "db-header-meta-navigation" }, qt = { class: "db-header-secondary-action" }, Ut = { class: "db-header-meta-navigation" }, Gt = { class: "db-header-navigation-bar" }, Wt = { class: "db-header-brand-container" }, Ot = { class: "db-header-navigation-container" }, Ht = { class: "db-header-navigation" }, Xt = { class: "db-header-primary-action" }, jt = { class: "db-header-action-container" }, Yt = { class: "db-header-burger-menu-container" }, Kt = { class: "db-header-secondary-action" }, bl = /* @__PURE__ */ U({
2221
+ const Rt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-header-drawer-navigation" }, Vt = { class: "db-header-meta-navigation" }, qt = { class: "db-header-secondary-action" }, Ut = { class: "db-header-meta-navigation" }, Gt = { class: "db-header-navigation-bar" }, Wt = { class: "db-header-brand-container" }, Ot = { class: "db-header-navigation-container" }, Ht = { class: "db-header-navigation" }, Xt = { class: "db-header-primary-action" }, jt = { class: "db-header-action-container" }, Yt = { class: "db-header-burger-menu-container" }, Kt = { class: "db-header-secondary-action" }, bl = /* @__PURE__ */ G({
2222
2222
  __name: "header",
2223
2223
  props: {
2224
2224
  brand: {},
@@ -2238,13 +2238,13 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2238
2238
  width: { default: void 0 }
2239
2239
  },
2240
2240
  setup(t) {
2241
- const a = t, n = s(!1), e = s(!1), i = s(null);
2241
+ const a = t, n = d(!1), e = d(!1), i = d(null);
2242
2242
  j(() => {
2243
2243
  n.value = !0;
2244
2244
  }), D(
2245
2245
  () => [n.value, i.value],
2246
2246
  () => {
2247
- n.value && i.value && a.forceMobile && (aa(i.value, {
2247
+ n.value && i.value && a.forceMobile && (ta(i.value, {
2248
2248
  key: "data-force-mobile",
2249
2249
  value: "true"
2250
2250
  }), e.value = !0);
@@ -2255,16 +2255,16 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2255
2255
  }
2256
2256
  );
2257
2257
  function u(r) {
2258
- const v = !z(a.drawerOpen, "drawerOpen");
2259
- a.onToggle && a.onToggle(v);
2258
+ const f = !V(a.drawerOpen, "drawerOpen");
2259
+ a.onToggle && a.onToggle(f);
2260
2260
  }
2261
2261
  function c(r) {
2262
2262
  Mt(r) && u();
2263
2263
  }
2264
- return (r, v) => (m(), k("header", {
2264
+ return (r, f) => (h(), k("header", {
2265
2265
  ref_key: "_ref",
2266
2266
  ref: i,
2267
- class: P(o(V)("db-header", a.class)),
2267
+ class: q(o(U)("db-header", a.class)),
2268
2268
  id: r.id,
2269
2269
  "data-width": r.width,
2270
2270
  "data-on-forcing-mobile": r.forceMobile && !e.value
@@ -2273,64 +2273,64 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2273
2273
  class: "db-header-drawer",
2274
2274
  spacing: "small",
2275
2275
  rounded: !0,
2276
- open: o(z)(r.drawerOpen),
2277
- onClose: (d) => u()
2276
+ open: o(V)(r.drawerOpen),
2277
+ onClose: (s) => u()
2278
2278
  }, {
2279
2279
  default: O(() => [
2280
- _("div", Pt, [
2281
- _("div", {
2280
+ C("div", Pt, [
2281
+ C("div", {
2282
2282
  class: "db-header-navigation",
2283
- onClick: v[0] || (v[0] = async (d) => c(d))
2283
+ onClick: f[0] || (f[0] = async (s) => c(s))
2284
2284
  }, [
2285
2285
  A(r.$slots, "default")
2286
2286
  ]),
2287
- _("div", Vt, [
2287
+ C("div", Vt, [
2288
2288
  A(r.$slots, "meta-navigation")
2289
2289
  ])
2290
2290
  ]),
2291
- _("div", qt, [
2291
+ C("div", qt, [
2292
2292
  A(r.$slots, "secondary-action")
2293
2293
  ])
2294
2294
  ]),
2295
2295
  _: 3
2296
2296
  }, 8, ["open", "onClose"]),
2297
- _("div", Ut, [
2297
+ C("div", Ut, [
2298
2298
  A(r.$slots, "meta-navigation")
2299
2299
  ]),
2300
- _("div", Gt, [
2301
- _("div", Wt, [
2300
+ C("div", Gt, [
2301
+ C("div", Wt, [
2302
2302
  A(r.$slots, "brand")
2303
2303
  ]),
2304
- _("div", Ot, [
2305
- _("div", Ht, [
2304
+ C("div", Ot, [
2305
+ C("div", Ht, [
2306
2306
  A(r.$slots, "default")
2307
2307
  ]),
2308
- _("div", Xt, [
2308
+ C("div", Xt, [
2309
2309
  A(r.$slots, "primary-action")
2310
2310
  ])
2311
2311
  ]),
2312
- _("div", jt, [
2313
- _("div", Yt, [
2312
+ C("div", jt, [
2313
+ C("div", Yt, [
2314
2314
  ee(be, {
2315
2315
  icon: "menu",
2316
2316
  variant: "ghost",
2317
2317
  noText: !0,
2318
- onClick: (d) => u()
2318
+ onClick: (s) => u()
2319
2319
  }, {
2320
2320
  default: O(() => [
2321
- N(L(r.burgerMenuLabel ?? o(La)), 1)
2321
+ N($(r.burgerMenuLabel ?? o(La)), 1)
2322
2322
  ]),
2323
2323
  _: 1
2324
2324
  }, 8, ["onClick"])
2325
2325
  ]),
2326
- _("div", Kt, [
2326
+ C("div", Kt, [
2327
2327
  A(r.$slots, "secondary-action")
2328
2328
  ])
2329
2329
  ])
2330
2330
  ])
2331
- ], 10, zt));
2331
+ ], 10, Rt));
2332
2332
  }
2333
- }), Jt = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], yl = /* @__PURE__ */ U({
2333
+ }), Jt = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], yl = /* @__PURE__ */ G({
2334
2334
  __name: "icon",
2335
2335
  props: {
2336
2336
  variant: { default: void 0 },
@@ -2344,19 +2344,19 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2344
2344
  text: { default: void 0 }
2345
2345
  },
2346
2346
  setup(t) {
2347
- const a = t, n = s(null);
2348
- return (e, i) => (m(), k("span", {
2347
+ const a = t, n = d(null);
2348
+ return (e, i) => (h(), k("span", {
2349
2349
  "aria-hidden": "true",
2350
2350
  ref_key: "_ref",
2351
2351
  ref: n,
2352
2352
  id: e.id,
2353
- class: P(o(V)("db-icon", a.class)),
2353
+ class: q(o(U)("db-icon", a.class)),
2354
2354
  "data-icon": e.icon,
2355
2355
  "data-icon-weight": e.weight,
2356
2356
  "data-icon-variant": e.variant
2357
2357
  }, [
2358
- e.text ? (m(), k(G, { key: 0 }, [
2359
- N(L(e.text), 1)
2358
+ e.text ? (h(), k(W, { key: 0 }, [
2359
+ N($(e.text), 1)
2360
2360
  ], 64)) : A(e.$slots, "default", { key: 1 })
2361
2361
  ], 10, Jt));
2362
2362
  }
@@ -2379,7 +2379,7 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2379
2379
  "time",
2380
2380
  "url",
2381
2381
  "week"
2382
- ], Qt = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "data-size", "data-show-icon-trailing", "data-variant", "data-content", "data-wrap"], Sl = /* @__PURE__ */ U({
2382
+ ], Qt = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "data-size", "data-show-icon-trailing", "data-variant", "data-content", "data-wrap"], Sl = /* @__PURE__ */ G({
2383
2383
  __name: "link",
2384
2384
  props: {
2385
2385
  content: { default: void 0 },
@@ -2403,15 +2403,15 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2403
2403
  wrap: { type: [Boolean, String], default: void 0 }
2404
2404
  },
2405
2405
  setup(t) {
2406
- const a = t, n = s(null);
2406
+ const a = t, n = d(null);
2407
2407
  function e(i) {
2408
2408
  a.onClick && a.onClick(i);
2409
2409
  }
2410
- return (i, u) => (m(), k("a", {
2410
+ return (i, u) => (h(), k("a", {
2411
2411
  ref_key: "_ref",
2412
2412
  ref: n,
2413
2413
  id: i.id,
2414
- class: P(o(V)("db-link", a.class)),
2414
+ class: q(o(U)("db-link", a.class)),
2415
2415
  href: i.href,
2416
2416
  target: i.target,
2417
2417
  rel: i.rel,
@@ -2426,12 +2426,12 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2426
2426
  "data-wrap": o(F)(i.wrap),
2427
2427
  onClick: u[0] || (u[0] = async (c) => e(c))
2428
2428
  }, [
2429
- i.text ? (m(), k(G, { key: 0 }, [
2430
- N(L(i.text), 1)
2429
+ i.text ? (h(), k(W, { key: 0 }, [
2430
+ N($(i.text), 1)
2431
2431
  ], 64)) : A(i.$slots, "default", { key: 1 })
2432
2432
  ], 10, Qt));
2433
2433
  }
2434
- }), Bl = ["adaptive", "brand", "inline"], Ll = ["medium", "small"], Il = ["external", "internal"], Zt = ["id"], $l = /* @__PURE__ */ U({
2434
+ }), Bl = ["adaptive", "brand", "inline"], Ll = ["medium", "small"], Il = ["external", "internal"], Zt = ["id"], $l = /* @__PURE__ */ G({
2435
2435
  __name: "navigation",
2436
2436
  props: {
2437
2437
  children: { default: void 0 },
@@ -2441,16 +2441,16 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2441
2441
  autofocus: { type: [Boolean, String] }
2442
2442
  },
2443
2443
  setup(t) {
2444
- const a = t, n = s(Se), e = s(null);
2444
+ const a = t, n = d(Se), e = d(null);
2445
2445
  return j(() => {
2446
2446
  n.value = a.id || "navigation-" + K();
2447
- }), (i, u) => (m(), k("nav", {
2447
+ }), (i, u) => (h(), k("nav", {
2448
2448
  ref_key: "_ref",
2449
2449
  ref: e,
2450
2450
  id: n.value,
2451
- class: P(o(V)("db-navigation", a.class))
2451
+ class: q(o(U)("db-navigation", a.class))
2452
2452
  }, [
2453
- _("menu", null, [
2453
+ C("menu", null, [
2454
2454
  A(i.$slots, "default")
2455
2455
  ])
2456
2456
  ], 10, Zt));
@@ -2458,7 +2458,7 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2458
2458
  }), xt = ["id", "data-width", "data-icon", "data-show-icon", "data-active", "data-wrap", "aria-disabled"], ei = ["aria-haspopup", "aria-expanded", "disabled"], ai = ["data-force-close", "id"], ti = {
2459
2459
  key: 0,
2460
2460
  class: "db-mobile-navigation-back"
2461
- }, Tl = /* @__PURE__ */ U({
2461
+ }, Tl = /* @__PURE__ */ G({
2462
2462
  __name: "navigation-item",
2463
2463
  props: {
2464
2464
  active: { type: Boolean, default: void 0 },
@@ -2480,15 +2480,15 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2480
2480
  text: { default: void 0 }
2481
2481
  },
2482
2482
  setup(t) {
2483
- const a = t, n = s(!1), e = s(!1), i = s(!0), u = s(!1), c = s(!1), r = s(
2483
+ const a = t, n = d(!1), e = d(!1), i = d(!0), u = d(!1), c = d(!1), r = d(
2484
2484
  "sub-navigation-" + K()
2485
- ), v = s(void 0), d = s(null);
2485
+ ), f = d(void 0), s = d(null);
2486
2486
  j(() => {
2487
2487
  n.value = !0;
2488
2488
  }), D(
2489
2489
  () => [a.subNavigationExpanded],
2490
2490
  () => {
2491
- a.subNavigationExpanded !== void 0 && (u.value = !!z(
2491
+ a.subNavigationExpanded !== void 0 && (u.value = !!V(
2492
2492
  a.subNavigationExpanded,
2493
2493
  "subNavigationExpanded"
2494
2494
  ));
@@ -2498,13 +2498,13 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2498
2498
  flush: "post"
2499
2499
  }
2500
2500
  ), D(
2501
- () => [n.value, d.value],
2501
+ () => [n.value, s.value],
2502
2502
  () => {
2503
- if (n.value && d.value) {
2504
- const h = d.value.querySelector("menu");
2505
- h && (h.children?.length > 0 ? (e.value = !0, v.value || (v.value = new Rt(
2506
- d.value,
2507
- h
2503
+ if (n.value && s.value) {
2504
+ const p = s.value.querySelector("menu");
2505
+ p && (p.children?.length > 0 ? (e.value = !0, f.value || (f.value = new zt(
2506
+ s.value,
2507
+ p
2508
2508
  ))) : i.value = !1);
2509
2509
  }
2510
2510
  },
@@ -2513,74 +2513,74 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2513
2513
  flush: "post"
2514
2514
  }
2515
2515
  );
2516
- function g(h) {
2517
- h?.target?.nodeName === "A" && (c.value = !0, J(() => {
2516
+ function m(p) {
2517
+ p?.target?.nodeName === "A" && (c.value = !0, J(() => {
2518
2518
  c.value = !1;
2519
2519
  }, 1e3));
2520
2520
  }
2521
- function I(h) {
2522
- a.onClick && (h.stopPropagation(), a.onClick(h)), e.value && (u.value = !0);
2521
+ function I(p) {
2522
+ a.onClick && (p.stopPropagation(), a.onClick(p)), e.value && (u.value = !0);
2523
2523
  }
2524
- function w(h) {
2525
- h.stopPropagation(), u.value = !1;
2524
+ function w(p) {
2525
+ p.stopPropagation(), u.value = !1;
2526
2526
  }
2527
- return (h, p) => (m(), k("li", {
2527
+ return (p, v) => (h(), k("li", {
2528
2528
  ref_key: "_ref",
2529
- ref: d,
2530
- id: h.id,
2531
- onMouseover: p[2] || (p[2] = async (f) => v.value?.enableFollow()),
2532
- onMouseleave: p[3] || (p[3] = async (f) => v.value?.disableFollow()),
2533
- onMousemove: p[4] || (p[4] = async (f) => v.value?.followByMouseEvent(f)),
2534
- class: P(o(V)("db-navigation-item", a.class)),
2535
- "data-width": h.width,
2536
- "data-icon": h.icon,
2537
- "data-show-icon": o(F)(h.showIcon),
2538
- "data-active": h.active,
2539
- "data-wrap": o(F)(h.wrap),
2540
- "aria-disabled": o(F)(h.disabled)
2529
+ ref: s,
2530
+ id: p.id,
2531
+ onMouseover: v[2] || (v[2] = async (S) => f.value?.enableFollow()),
2532
+ onMouseleave: v[3] || (v[3] = async (S) => f.value?.disableFollow()),
2533
+ onMousemove: v[4] || (v[4] = async (S) => f.value?.followByMouseEvent(S)),
2534
+ class: q(o(U)("db-navigation-item", a.class)),
2535
+ "data-width": p.width,
2536
+ "data-icon": p.icon,
2537
+ "data-show-icon": o(F)(p.showIcon),
2538
+ "data-active": p.active,
2539
+ "data-wrap": o(F)(p.wrap),
2540
+ "aria-disabled": o(F)(p.disabled)
2541
2541
  }, [
2542
- i.value ? R("", !0) : (m(), k(G, { key: 0 }, [
2543
- h.text ? (m(), k(G, { key: 0 }, [
2544
- N(L(h.text), 1)
2545
- ], 64)) : A(h.$slots, "default", { key: 1 })
2542
+ i.value ? P("", !0) : (h(), k(W, { key: 0 }, [
2543
+ p.text ? (h(), k(W, { key: 0 }, [
2544
+ N($(p.text), 1)
2545
+ ], 64)) : A(p.$slots, "default", { key: 1 })
2546
2546
  ], 64)),
2547
- i.value ? (m(), k(G, { key: 1 }, [
2548
- _("button", {
2547
+ i.value ? (h(), k(W, { key: 1 }, [
2548
+ C("button", {
2549
2549
  class: "db-navigation-item-expand-button",
2550
2550
  "aria-haspopup": e.value,
2551
2551
  "aria-expanded": u.value,
2552
- disabled: o(z)(h.disabled, "disabled"),
2553
- onClick: p[0] || (p[0] = async (f) => I(f))
2552
+ disabled: o(V)(p.disabled, "disabled"),
2553
+ onClick: v[0] || (v[0] = async (S) => I(S))
2554
2554
  }, [
2555
- h.text ? (m(), k(G, { key: 0 }, [
2556
- N(L(h.text), 1)
2557
- ], 64)) : A(h.$slots, "default", { key: 1 })
2555
+ p.text ? (h(), k(W, { key: 0 }, [
2556
+ N($(p.text), 1)
2557
+ ], 64)) : A(p.$slots, "default", { key: 1 })
2558
2558
  ], 8, ei),
2559
- _("menu", {
2559
+ C("menu", {
2560
2560
  class: "db-sub-navigation",
2561
2561
  "data-force-close": c.value,
2562
2562
  id: r.value,
2563
- onClick: p[1] || (p[1] = async (f) => g(f))
2563
+ onClick: v[1] || (v[1] = async (S) => m(S))
2564
2564
  }, [
2565
- e.value ? (m(), k("div", ti, [
2565
+ e.value ? (h(), k("div", ti, [
2566
2566
  ee(be, {
2567
2567
  icon: "arrow_left",
2568
2568
  variant: "ghost",
2569
- id: h.backButtonId,
2570
- onClick: (f) => w(f)
2569
+ id: p.backButtonId,
2570
+ onClick: (S) => w(S)
2571
2571
  }, {
2572
2572
  default: O(() => [
2573
- N(L(h.backButtonText ?? o(Sa)), 1)
2573
+ N($(p.backButtonText ?? o(Sa)), 1)
2574
2574
  ]),
2575
2575
  _: 1
2576
2576
  }, 8, ["id", "onClick"])
2577
- ])) : R("", !0),
2578
- A(h.$slots, "sub-navigation")
2577
+ ])) : P("", !0),
2578
+ A(p.$slots, "sub-navigation")
2579
2579
  ], 8, ai)
2580
- ], 64)) : R("", !0)
2580
+ ], 64)) : P("", !0)
2581
2581
  ], 42, xt));
2582
2582
  }
2583
- }), ii = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-show-icon", "data-link-variant"], li = { key: 0 }, oi = { key: 1 }, El = /* @__PURE__ */ U({
2583
+ }), ii = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-show-icon", "data-link-variant"], li = { key: 0 }, oi = { key: 1 }, El = /* @__PURE__ */ G({
2584
2584
  __name: "notification",
2585
2585
  props: {
2586
2586
  ariaLive: { default: void 0 },
@@ -2611,15 +2611,15 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2611
2611
  text: { default: void 0 }
2612
2612
  },
2613
2613
  setup(t) {
2614
- const a = t, n = s(null);
2614
+ const a = t, n = d(null);
2615
2615
  function e(i) {
2616
2616
  i && (i.stopPropagation(), a.onClose && a.onClose(i));
2617
2617
  }
2618
- return (i, u) => (m(), k("article", {
2618
+ return (i, u) => (h(), k("article", {
2619
2619
  ref_key: "_ref",
2620
2620
  ref: n,
2621
2621
  id: i.id,
2622
- class: P(o(V)("db-notification", a.class)),
2622
+ class: q(o(U)("db-notification", a.class)),
2623
2623
  "aria-live": i.ariaLive,
2624
2624
  "data-semantic": i.semantic,
2625
2625
  "data-variant": i.variant,
@@ -2628,15 +2628,15 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2628
2628
  "data-link-variant": i.linkVariant
2629
2629
  }, [
2630
2630
  A(i.$slots, "image"),
2631
- o(Z)(i.headline, i.showHeadline) ? (m(), k("header", li, L(i.headline), 1)) : R("", !0),
2632
- _("p", null, [
2633
- i.text ? (m(), k(G, { key: 0 }, [
2634
- N(L(i.text), 1)
2631
+ o(Z)(i.headline, i.showHeadline) ? (h(), k("header", li, $(i.headline), 1)) : P("", !0),
2632
+ C("p", null, [
2633
+ i.text ? (h(), k(W, { key: 0 }, [
2634
+ N($(i.text), 1)
2635
2635
  ], 64)) : A(i.$slots, "default", { key: 1 })
2636
2636
  ]),
2637
- o(Z)(i.timestamp, i.showTimestamp) ? (m(), k("span", oi, L(i.timestamp), 1)) : R("", !0),
2637
+ o(Z)(i.timestamp, i.showTimestamp) ? (h(), k("span", oi, $(i.timestamp), 1)) : P("", !0),
2638
2638
  A(i.$slots, "link"),
2639
- o(z)(i.closeable, "closeable") ? (m(), Y(be, {
2639
+ o(V)(i.closeable, "closeable") ? (h(), Y(be, {
2640
2640
  key: 2,
2641
2641
  icon: "cross",
2642
2642
  variant: "ghost",
@@ -2646,13 +2646,13 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2646
2646
  onClick: (c) => e(c)
2647
2647
  }, {
2648
2648
  default: O(() => [
2649
- N(L(i.closeButtonText ?? o(Re)), 1)
2649
+ N($(i.closeButtonText ?? o(ze)), 1)
2650
2650
  ]),
2651
2651
  _: 1
2652
- }, 8, ["id", "onClick"])) : R("", !0)
2652
+ }, 8, ["id", "onClick"])) : P("", !0)
2653
2653
  ], 10, ii));
2654
2654
  }
2655
- }), _l = ["docked", "standalone", "overlay"], Cl = ["block", "inline"], Al = ["assertive", "polite", "off"], ni = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], Dl = /* @__PURE__ */ U({
2655
+ }), _l = ["docked", "standalone", "overlay"], Cl = ["block", "inline"], Al = ["assertive", "polite", "off"], ni = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], Dl = /* @__PURE__ */ G({
2656
2656
  __name: "page",
2657
2657
  props: {
2658
2658
  documentOverflow: { default: void 0 },
@@ -2668,32 +2668,32 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2668
2668
  autofocus: { type: [Boolean, String] }
2669
2669
  },
2670
2670
  setup(t) {
2671
- const a = t, n = s(!1), e = s(null);
2671
+ const a = t, n = d(!1), e = d(null);
2672
2672
  return typeof window < "u" && document && (a.documentOverflow === "hidden" || a.variant === "fixed" && a.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), j(() => {
2673
2673
  n.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
2674
2674
  n.value = !0;
2675
2675
  }) : n.value = !0;
2676
- }), ka(() => {
2676
+ }), Ke(() => {
2677
2677
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
2678
- }), (i, u) => (m(), k("div", {
2678
+ }), (i, u) => (h(), k("div", {
2679
2679
  ref_key: "_ref",
2680
2680
  ref: e,
2681
2681
  id: i.id,
2682
- class: P(o(V)("db-page", a.class)),
2682
+ class: q(o(U)("db-page", a.class)),
2683
2683
  "data-variant": i.variant,
2684
2684
  "data-fade-in": o(F)(i.fadeIn),
2685
2685
  "data-fonts-loaded": o(F)(n.value)
2686
2686
  }, [
2687
2687
  A(i.$slots, "header"),
2688
- _("main", {
2689
- class: P(o(V)("db-main", i.mainClass))
2688
+ C("main", {
2689
+ class: q(o(U)("db-main", i.mainClass))
2690
2690
  }, [
2691
2691
  A(i.$slots, "default")
2692
2692
  ], 2),
2693
2693
  A(i.$slots, "footer")
2694
2694
  ], 10, ni));
2695
2695
  }
2696
- }), Nl = ["auto", "fixed"], Fl = ["hidden", "auto"], si = ["id"], di = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Ml = /* @__PURE__ */ U({
2696
+ }), Nl = ["auto", "fixed"], Fl = ["hidden", "auto"], si = ["id"], di = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Ml = /* @__PURE__ */ G({
2697
2697
  __name: "popover",
2698
2698
  props: {
2699
2699
  open: { type: [Boolean, String], default: void 0 },
@@ -2711,7 +2711,7 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2711
2711
  width: { default: void 0 }
2712
2712
  },
2713
2713
  setup(t) {
2714
- const a = t, n = s(!1), e = s(!1), i = s(void 0), u = s(void 0), c = s(null);
2714
+ const a = t, n = d(!1), e = d(!1), i = d(void 0), u = d(void 0), c = d(null);
2715
2715
  j(() => {
2716
2716
  n.value = !0;
2717
2717
  }), D(
@@ -2719,17 +2719,17 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2719
2719
  () => {
2720
2720
  if (c.value && n.value) {
2721
2721
  n.value = !1;
2722
- const h = w();
2723
- h && (h.ariaHasPopup = "true"), v(), c.value.addEventListener(
2722
+ const p = w();
2723
+ p && (p.ariaHasPopup = "true"), f(), c.value.addEventListener(
2724
2724
  "keydown",
2725
- (p) => r(p)
2726
- ), ["mouseenter", "focusin"].forEach((p) => {
2727
- c.value.addEventListener(p, () => g());
2728
- }), ["mouseleave", "focusout"].forEach((p) => {
2729
- c.value.addEventListener(p, () => I());
2730
- }), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((p) => {
2731
- const f = p.find(({ target: T }) => T === w());
2732
- f && !f.isIntersecting && r(!1);
2725
+ (v) => r(v)
2726
+ ), ["mouseenter", "focusin"].forEach((v) => {
2727
+ c.value.addEventListener(v, () => m());
2728
+ }), ["mouseleave", "focusout"].forEach((v) => {
2729
+ c.value.addEventListener(v, () => I());
2730
+ }), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((v) => {
2731
+ const S = v.find(({ target: L }) => L === w());
2732
+ S && !S.isIntersecting && r(!1);
2733
2733
  }));
2734
2734
  }
2735
2735
  },
@@ -2741,8 +2741,8 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2741
2741
  () => [c.value, e.value],
2742
2742
  () => {
2743
2743
  if (c.value) {
2744
- const h = w();
2745
- h && (h.ariaExpanded = (!!e.value).toString());
2744
+ const p = w();
2745
+ p && (p.ariaExpanded = (!!e.value).toString());
2746
2746
  }
2747
2747
  },
2748
2748
  {
@@ -2750,73 +2750,73 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2750
2750
  flush: "post"
2751
2751
  }
2752
2752
  );
2753
- function r(h) {
2754
- if (!h || h.key === "Escape")
2755
- for (const p of Array.from(c.value.children))
2756
- p.blur();
2753
+ function r(p) {
2754
+ if (!p || p.key === "Escape")
2755
+ for (const v of Array.from(c.value.children))
2756
+ v.blur();
2757
2757
  }
2758
- function v() {
2758
+ function f() {
2759
2759
  if (!c.value) return;
2760
- const h = c.value.querySelector("article");
2761
- h && J(() => {
2762
- ia(
2763
- h,
2760
+ const p = c.value.querySelector("article");
2761
+ p && J(() => {
2762
+ la(
2763
+ p,
2764
2764
  c.value,
2765
2765
  a.placement ?? "bottom"
2766
2766
  );
2767
2767
  }, 1);
2768
2768
  }
2769
- function d(h) {
2770
- h?.target?.contains && h?.target?.contains(c.value) && v();
2769
+ function s(p) {
2770
+ p?.target?.contains && p?.target?.contains(c.value) && f();
2771
2771
  }
2772
- function g() {
2772
+ function m() {
2773
2773
  e.value = !0, i.value = new le().addCallback(
2774
- (p) => d(p)
2775
- ), v();
2776
- const h = w();
2777
- h && u.value?.observe(h);
2774
+ (v) => s(v)
2775
+ ), f();
2776
+ const p = w();
2777
+ p && u.value?.observe(p);
2778
2778
  }
2779
- function I(h) {
2779
+ function I(p) {
2780
2780
  {
2781
2781
  e.value = !1, i.value && new le().removeCallback(
2782
2782
  i.value
2783
2783
  );
2784
- const p = w();
2785
- p && u.value?.unobserve(p);
2784
+ const v = w();
2785
+ v && u.value?.unobserve(v);
2786
2786
  }
2787
2787
  }
2788
2788
  function w() {
2789
2789
  if (c.value) {
2790
- const h = Array.from(c.value.children);
2791
- if (h.length >= 2) {
2792
- const p = h[0];
2793
- return p.tagName.includes("-") ? p.children?.length > 0 ? p.children[0] : null : p;
2790
+ const p = Array.from(c.value.children);
2791
+ if (p.length >= 2) {
2792
+ const v = p[0];
2793
+ return v.tagName.includes("-") ? v.children?.length > 0 ? v.children[0] : null : v;
2794
2794
  }
2795
2795
  }
2796
2796
  return null;
2797
2797
  }
2798
- return (h, p) => (m(), k("div", {
2798
+ return (p, v) => (h(), k("div", {
2799
2799
  ref_key: "_ref",
2800
2800
  ref: c,
2801
- id: h.id,
2802
- class: P(o(V)("db-popover", a.class))
2801
+ id: p.id,
2802
+ class: q(o(U)("db-popover", a.class))
2803
2803
  }, [
2804
- A(h.$slots, "trigger"),
2805
- _("article", {
2804
+ A(p.$slots, "trigger"),
2805
+ C("article", {
2806
2806
  class: "db-popover-content",
2807
- "data-spacing": h.spacing,
2808
- "data-gap": o(F)(h.gap),
2809
- "data-animation": o(F)(h.animation ?? !0),
2810
- "data-open": o(F)(h.open),
2811
- "data-delay": h.delay,
2812
- "data-width": h.width,
2813
- "data-placement": h.placement
2807
+ "data-spacing": p.spacing,
2808
+ "data-gap": o(F)(p.gap),
2809
+ "data-animation": o(F)(p.animation ?? !0),
2810
+ "data-open": o(F)(p.open),
2811
+ "data-delay": p.delay,
2812
+ "data-width": p.width,
2813
+ "data-placement": p.placement
2814
2814
  }, [
2815
- A(h.$slots, "default")
2815
+ A(p.$slots, "default")
2816
2816
  ], 8, di)
2817
2817
  ], 10, si));
2818
2818
  }
2819
- }), ui = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], ri = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required"], Rl = /* @__PURE__ */ U({
2819
+ }), ui = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], ri = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required"], zl = /* @__PURE__ */ G({
2820
2820
  __name: "radio",
2821
2821
  props: {
2822
2822
  children: { default: void 0 },
@@ -2845,7 +2845,7 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2845
2845
  },
2846
2846
  emits: ["update:value"],
2847
2847
  setup(t, { emit: a }) {
2848
- const n = a, e = t, i = s(!1), u = s(void 0), c = s(null);
2848
+ const n = a, e = t, i = d(!1), u = d(void 0), c = d(null);
2849
2849
  j(() => {
2850
2850
  i.value = !0, u.value = e.id ?? `radio-${K()}`;
2851
2851
  }), D(
@@ -2858,44 +2858,44 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2858
2858
  flush: "post"
2859
2859
  }
2860
2860
  );
2861
- function r(g) {
2862
- e.onChange && e.onChange(g), oe(n, g);
2861
+ function r(m) {
2862
+ e.onChange && e.onChange(m), oe(n, m);
2863
2863
  }
2864
- function v(g) {
2865
- e.onBlur && e.onBlur(g);
2864
+ function f(m) {
2865
+ e.onBlur && e.onBlur(m);
2866
2866
  }
2867
- function d(g) {
2868
- e.onFocus && e.onFocus(g);
2867
+ function s(m) {
2868
+ e.onFocus && e.onFocus(m);
2869
2869
  }
2870
- return (g, I) => (m(), k("label", {
2871
- "data-size": g.size,
2872
- "data-hide-label": o(ie)(g.showLabel),
2873
- "data-hide-asterisk": o(ie)(g.showRequiredAsterisk),
2874
- class: P(o(V)("db-radio", e.class)),
2870
+ return (m, I) => (h(), k("label", {
2871
+ "data-size": m.size,
2872
+ "data-hide-label": o(ie)(m.showLabel),
2873
+ "data-hide-asterisk": o(ie)(m.showRequiredAsterisk),
2874
+ class: q(o(U)("db-radio", e.class)),
2875
2875
  for: u.value
2876
2876
  }, [
2877
- _("input", {
2877
+ C("input", {
2878
2878
  type: "radio",
2879
- "aria-invalid": g.validation === "invalid",
2880
- "data-custom-validity": g.validation,
2879
+ "aria-invalid": m.validation === "invalid",
2880
+ "data-custom-validity": m.validation,
2881
2881
  ref_key: "_ref",
2882
2882
  ref: c,
2883
2883
  id: u.value,
2884
- name: g.name,
2885
- checked: o(z)(g.checked, "checked"),
2886
- disabled: o(z)(g.disabled, "disabled"),
2887
- value: g.value,
2888
- required: o(z)(g.required, "required"),
2884
+ name: m.name,
2885
+ checked: o(V)(m.checked, "checked"),
2886
+ disabled: o(V)(m.disabled, "disabled"),
2887
+ value: m.value,
2888
+ required: o(V)(m.required, "required"),
2889
2889
  onChange: I[0] || (I[0] = async (w) => r(w)),
2890
- onBlur: I[1] || (I[1] = async (w) => v(w)),
2891
- onFocus: I[2] || (I[2] = async (w) => d(w))
2890
+ onBlur: I[1] || (I[1] = async (w) => f(w)),
2891
+ onFocus: I[2] || (I[2] = async (w) => s(w))
2892
2892
  }, null, 40, ri),
2893
- g.label ? (m(), k(G, { key: 0 }, [
2894
- N(L(g.label), 1)
2895
- ], 64)) : A(g.$slots, "default", { key: 1 })
2893
+ m.label ? (h(), k(W, { key: 0 }, [
2894
+ N($(m.label), 1)
2895
+ ], 64)) : A(m.$slots, "default", { key: 1 })
2896
2896
  ], 10, ui));
2897
2897
  }
2898
- }), ci = ["id", "data-spacing", "data-width"], zl = /* @__PURE__ */ U({
2898
+ }), ci = ["id", "data-spacing", "data-width"], Rl = /* @__PURE__ */ G({
2899
2899
  __name: "section",
2900
2900
  props: {
2901
2901
  children: { default: void 0 },
@@ -2907,14 +2907,14 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2907
2907
  width: { default: void 0 }
2908
2908
  },
2909
2909
  setup(t) {
2910
- const a = t, n = s(Se), e = s(null);
2910
+ const a = t, n = d(Se), e = d(null);
2911
2911
  return j(() => {
2912
2912
  n.value = a.id || "section-" + K();
2913
- }), (i, u) => (m(), k("section", {
2913
+ }), (i, u) => (h(), k("section", {
2914
2914
  ref_key: "_ref",
2915
2915
  ref: e,
2916
2916
  id: n.value,
2917
- class: P(o(V)("db-section", a.class)),
2917
+ class: q(o(U)("db-section", a.class)),
2918
2918
  "data-spacing": i.spacing || "medium",
2919
2919
  "data-width": i.width
2920
2920
  }, [
@@ -2928,7 +2928,7 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2928
2928
  }, mi = ["label"], gi = ["value", "selected", "disabled"], bi = ["value", "disabled", "selected"], yi = ["id"], ki = {
2929
2929
  "data-visually-hidden": "true",
2930
2930
  role: "status"
2931
- }, Pl = /* @__PURE__ */ U({
2931
+ }, Pl = /* @__PURE__ */ G({
2932
2932
  __name: "select",
2933
2933
  props: {
2934
2934
  children: { default: void 0 },
@@ -2971,15 +2971,15 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2971
2971
  },
2972
2972
  emits: ["update:value"],
2973
2973
  setup(t, { emit: a }) {
2974
- const n = a, e = t, i = s(void 0), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(""), g = s(void 0), I = s(""), w = s(!1), h = s(""), p = s(null);
2974
+ const n = a, e = t, i = d(void 0), u = d(void 0), c = d(void 0), r = d(void 0), f = d(void 0), s = d(""), m = d(void 0), I = d(""), w = d(!1), p = d(""), v = d(null);
2975
2975
  j(() => {
2976
2976
  w.value = !0;
2977
2977
  const B = e.id ?? `select-${K()}`;
2978
- i.value = B, u.value = B + de, c.value = B + ue, r.value = B + re, d.value = B + _e, v.value = e.invalidMessage || te;
2978
+ i.value = B, u.value = B + de, c.value = B + ue, r.value = B + re, s.value = B + _e, f.value = e.invalidMessage || te;
2979
2979
  }), D(
2980
- () => [p.value, e.invalidMessage],
2980
+ () => [v.value, e.invalidMessage],
2981
2981
  () => {
2982
- v.value = e.invalidMessage || p.value?.validationMessage || te;
2982
+ f.value = e.invalidMessage || v.value?.validationMessage || te;
2983
2983
  },
2984
2984
  {
2985
2985
  immediate: !0,
@@ -2989,8 +2989,8 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
2989
2989
  () => [i.value, w.value],
2990
2990
  () => {
2991
2991
  if (i.value && w.value) {
2992
- const B = i.value + de, q = i.value + _e;
2993
- u.value = B, c.value = i.value + ue, r.value = i.value + re, d.value = q, Z(e.message, e.showMessage) ? g.value = B : e.placeholder ? g.value = q : g.value = void 0, T(), w.value = !1;
2992
+ const B = i.value + de, R = i.value + _e;
2993
+ u.value = B, c.value = i.value + ue, r.value = i.value + re, s.value = R, Z(e.message, e.showMessage) ? m.value = B : e.placeholder ? m.value = R : m.value = void 0, L(), w.value = !1;
2994
2994
  }
2995
2995
  },
2996
2996
  {
@@ -3007,120 +3007,120 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3007
3007
  flush: "post"
3008
3008
  }
3009
3009
  );
3010
- function f() {
3010
+ function S() {
3011
3011
  return !!(e.validMessage ?? e.validation === "valid");
3012
3012
  }
3013
- function T() {
3014
- !p.value?.validity.valid || e.validation === "invalid" ? (g.value = r.value, v.value = e.invalidMessage || p.value?.validationMessage || te, ve() && (h.value = v.value, J(() => h.value = "", 1e3))) : f() && p.value?.validity.valid && e.required ? (g.value = c.value, ve() && (h.value = e.validMessage ?? ce, J(() => h.value = "", 1e3))) : Z(e.message, e.showMessage) ? g.value = u.value : e.placeholder ? g.value = d.value : g.value = void 0;
3013
+ function L() {
3014
+ !v.value?.validity.valid || e.validation === "invalid" ? (m.value = r.value, f.value = e.invalidMessage || v.value?.validationMessage || te, ve() && (p.value = f.value, J(() => p.value = "", 1e3))) : S() && v.value?.validity.valid && e.required ? (m.value = c.value, ve() && (p.value = e.validMessage ?? ce, J(() => p.value = "", 1e3))) : Z(e.message, e.showMessage) ? m.value = u.value : e.placeholder ? m.value = s.value : m.value = void 0;
3015
3015
  }
3016
- function C(B) {
3016
+ function E(B) {
3017
3017
  e.onClick && e.onClick(B);
3018
3018
  }
3019
- function b(B) {
3020
- e.input && e.input(B), I.value = B.target.value, e.onInput && e.onInput(B), oe(n, B), T();
3019
+ function g(B) {
3020
+ e.input && e.input(B), I.value = B.target.value, e.onInput && e.onInput(B), oe(n, B), L();
3021
3021
  }
3022
- function S(B) {
3023
- e.onChange && e.onChange(B), oe(n, B), T();
3022
+ function y(B) {
3023
+ e.onChange && e.onChange(B), oe(n, B), L();
3024
3024
  }
3025
- function W(B) {
3025
+ function M(B) {
3026
3026
  e.onBlur && e.onBlur(B);
3027
3027
  }
3028
- function y(B) {
3028
+ function b(B) {
3029
3029
  e.onFocus && e.onFocus(B);
3030
3030
  }
3031
3031
  function X(B) {
3032
3032
  return B.label ?? B.value?.toString();
3033
3033
  }
3034
- return (B, q) => (m(), k("div", {
3035
- class: P(o(V)("db-select", e.class)),
3034
+ return (B, R) => (h(), k("div", {
3035
+ class: q(o(U)("db-select", e.class)),
3036
3036
  "data-variant": B.variant,
3037
3037
  "data-hide-label": o(ie)(B.showLabel),
3038
3038
  "data-hide-asterisk": o(ie)(B.showRequiredAsterisk),
3039
3039
  "data-icon": B.icon,
3040
3040
  "data-show-icon": o(F)(B.showIcon)
3041
3041
  }, [
3042
- _("label", { for: i.value }, L(B.label ?? o(me)), 9, fi),
3043
- _("select", {
3042
+ C("label", { for: i.value }, $(B.label ?? o(me)), 9, fi),
3043
+ C("select", {
3044
3044
  "aria-invalid": B.validation === "invalid",
3045
3045
  "data-custom-validity": B.validation,
3046
3046
  ref_key: "_ref",
3047
- ref: p,
3048
- required: o(z)(B.required, "required"),
3049
- disabled: o(z)(B.disabled, "disabled"),
3047
+ ref: v,
3048
+ required: o(V)(B.required, "required"),
3049
+ disabled: o(V)(B.disabled, "disabled"),
3050
3050
  id: i.value,
3051
3051
  name: B.name,
3052
3052
  size: B.size,
3053
3053
  value: B.value ?? I.value,
3054
3054
  autocomplete: B.autocomplete,
3055
3055
  multiple: B.multiple,
3056
- onInput: q[0] || (q[0] = async (H) => b(H)),
3057
- onClick: q[1] || (q[1] = async (H) => C(H)),
3058
- onChange: q[2] || (q[2] = async (H) => S(H)),
3059
- onBlur: q[3] || (q[3] = async (H) => W(H)),
3060
- onFocus: q[4] || (q[4] = async (H) => y(H)),
3061
- "aria-describedby": B.ariaDescribedBy ?? g.value
3056
+ onInput: R[0] || (R[0] = async (H) => g(H)),
3057
+ onClick: R[1] || (R[1] = async (H) => E(H)),
3058
+ onChange: R[2] || (R[2] = async (H) => y(H)),
3059
+ onBlur: R[3] || (R[3] = async (H) => M(H)),
3060
+ onFocus: R[4] || (R[4] = async (H) => b(H)),
3061
+ "aria-describedby": B.ariaDescribedBy ?? m.value
3062
3062
  }, [
3063
- B.variant === "floating" || B.placeholder ? (m(), k("option", hi)) : R("", !0),
3064
- B.options?.length ? (m(!0), k(G, { key: 1 }, fe(B.options, (H, ke) => (m(), k(G, { key: ke }, [
3065
- H.options ? (m(), k("optgroup", {
3063
+ B.variant === "floating" || B.placeholder ? (h(), k("option", hi)) : P("", !0),
3064
+ B.options?.length ? (h(!0), k(W, { key: 1 }, fe(B.options, (H, ke) => (h(), k(W, { key: ke }, [
3065
+ H.options ? (h(), k("optgroup", {
3066
3066
  key: 0,
3067
3067
  label: X(H)
3068
3068
  }, [
3069
- (m(!0), k(G, null, fe(H.options, (pe, $e) => (m(), k("option", {
3069
+ (h(!0), k(W, null, fe(H.options, (pe, $e) => (h(), k("option", {
3070
3070
  key: $e,
3071
3071
  value: pe.value,
3072
3072
  selected: pe.selected,
3073
3073
  disabled: pe.disabled
3074
- }, L(X(pe)), 9, gi))), 128))
3075
- ], 8, mi)) : (m(), k("option", {
3074
+ }, $(X(pe)), 9, gi))), 128))
3075
+ ], 8, mi)) : (h(), k("option", {
3076
3076
  key: 1,
3077
3077
  value: H.value,
3078
3078
  disabled: H.disabled,
3079
3079
  selected: H.selected
3080
- }, L(X(H)), 9, bi))
3080
+ }, $(X(H)), 9, bi))
3081
3081
  ], 64))), 128)) : A(B.$slots, "default", { key: 2 })
3082
3082
  ], 40, pi),
3083
- B.placeholder ? (m(), k("span", {
3083
+ B.placeholder ? (h(), k("span", {
3084
3084
  key: 0,
3085
3085
  class: "db-select-placeholder",
3086
- id: d.value
3087
- }, L(B.placeholder), 9, yi)) : R("", !0),
3088
- o(Z)(B.message, B.showMessage) ? (m(), Y(ae, {
3086
+ id: s.value
3087
+ }, $(B.placeholder), 9, yi)) : P("", !0),
3088
+ o(Z)(B.message, B.showMessage) ? (h(), Y(ae, {
3089
3089
  key: 1,
3090
3090
  size: "small",
3091
3091
  icon: B.messageIcon,
3092
3092
  id: u.value
3093
3093
  }, {
3094
3094
  default: O(() => [
3095
- N(L(B.message), 1)
3095
+ N($(B.message), 1)
3096
3096
  ]),
3097
3097
  _: 1
3098
- }, 8, ["icon", "id"])) : R("", !0),
3099
- f() ? (m(), Y(ae, {
3098
+ }, 8, ["icon", "id"])) : P("", !0),
3099
+ S() ? (h(), Y(ae, {
3100
3100
  key: 2,
3101
3101
  size: "small",
3102
3102
  semantic: "successful",
3103
3103
  id: c.value
3104
3104
  }, {
3105
3105
  default: O(() => [
3106
- N(L(B.validMessage || o(ce)), 1)
3106
+ N($(B.validMessage || o(ce)), 1)
3107
3107
  ]),
3108
3108
  _: 1
3109
- }, 8, ["id"])) : R("", !0),
3109
+ }, 8, ["id"])) : P("", !0),
3110
3110
  ee(ae, {
3111
3111
  size: "small",
3112
3112
  semantic: "critical",
3113
3113
  id: r.value
3114
3114
  }, {
3115
3115
  default: O(() => [
3116
- N(L(v.value), 1)
3116
+ N($(f.value), 1)
3117
3117
  ]),
3118
3118
  _: 1
3119
3119
  }, 8, ["id"]),
3120
- _("span", ki, L(h.value), 1)
3120
+ C("span", ki, $(p.value), 1)
3121
3121
  ], 10, vi));
3122
3122
  }
3123
- }), wi = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], Vl = /* @__PURE__ */ U({
3123
+ }), wi = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], Vl = /* @__PURE__ */ G({
3124
3124
  __name: "stack",
3125
3125
  props: {
3126
3126
  variant: { default: void 0 },
@@ -3136,12 +3136,12 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3136
3136
  gap: { default: void 0 }
3137
3137
  },
3138
3138
  setup(t) {
3139
- const a = t, n = s(null);
3140
- return (e, i) => (m(), k("div", {
3139
+ const a = t, n = d(null);
3140
+ return (e, i) => (h(), k("div", {
3141
3141
  ref_key: "_ref",
3142
3142
  ref: n,
3143
3143
  id: e.id,
3144
- class: P(o(V)("db-stack", a.class)),
3144
+ class: q(o(U)("db-stack", a.class)),
3145
3145
  "data-gap": e.gap,
3146
3146
  "data-variant": e.variant,
3147
3147
  "data-direction": e.direction,
@@ -3152,7 +3152,7 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3152
3152
  A(e.$slots, "default")
3153
3153
  ], 10, wi));
3154
3154
  }
3155
- }), ql = ["simple", "divider"], Ul = ["row", "column"], Gl = ["stretch", "start", "end", "center"], Wl = ["space-between", "start", "end", "center"], Si = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for", "data-hide-asterisk"], Bi = ["id", "checked", "value", "disabled", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-trailing"], Ol = /* @__PURE__ */ U({
3155
+ }), ql = ["simple", "divider"], Ul = ["row", "column"], Gl = ["stretch", "start", "end", "center"], Wl = ["space-between", "start", "end", "center"], Si = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for", "data-hide-asterisk"], Bi = ["id", "checked", "value", "disabled", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-trailing"], Ol = /* @__PURE__ */ G({
3156
3156
  __name: "switch",
3157
3157
  props: {
3158
3158
  visualAid: { type: [Boolean, String], default: void 0 },
@@ -3186,53 +3186,53 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3186
3186
  },
3187
3187
  emits: ["update:checked"],
3188
3188
  setup(t, { emit: a }) {
3189
- const n = a, e = t, i = s(void 0), u = s(null);
3189
+ const n = a, e = t, i = d(void 0), u = d(null);
3190
3190
  j(() => {
3191
3191
  i.value = e.id ?? `switch-${K()}`;
3192
3192
  });
3193
- function c(d) {
3194
- oe(n, d, "checked");
3193
+ function c(s) {
3194
+ oe(n, s, "checked");
3195
3195
  }
3196
- function r(d) {
3197
- e.onBlur && e.onBlur(d);
3196
+ function r(s) {
3197
+ e.onBlur && e.onBlur(s);
3198
3198
  }
3199
- function v(d) {
3200
- e.onFocus && e.onFocus(d);
3199
+ function f(s) {
3200
+ e.onFocus && e.onFocus(s);
3201
3201
  }
3202
- return (d, g) => (m(), k("label", {
3203
- "data-visual-aid": o(F)(d.visualAid),
3204
- "data-size": d.size,
3205
- "data-hide-label": o(ie)(d.showLabel),
3206
- "data-emphasis": d.emphasis,
3202
+ return (s, m) => (h(), k("label", {
3203
+ "data-visual-aid": o(F)(s.visualAid),
3204
+ "data-size": s.size,
3205
+ "data-hide-label": o(ie)(s.showLabel),
3206
+ "data-emphasis": s.emphasis,
3207
3207
  for: i.value,
3208
- "data-hide-asterisk": o(ie)(d.showRequiredAsterisk),
3209
- class: P(o(V)("db-switch", e.class))
3208
+ "data-hide-asterisk": o(ie)(s.showRequiredAsterisk),
3209
+ class: q(o(U)("db-switch", e.class))
3210
3210
  }, [
3211
- _("input", {
3211
+ C("input", {
3212
3212
  type: "checkbox",
3213
3213
  role: "switch",
3214
3214
  id: i.value,
3215
3215
  ref_key: "_ref",
3216
3216
  ref: u,
3217
- checked: o(z)(d.checked, "checked"),
3218
- value: d.value,
3219
- disabled: o(z)(d.disabled, "disabled"),
3220
- "aria-invalid": d.validation === "invalid",
3221
- "data-custom-validity": d.validation,
3222
- name: d.name,
3223
- required: o(z)(d.required, "required"),
3224
- "data-aid-icon": d.iconLeading ?? d.icon,
3225
- "data-aid-icon-trailing": d.iconTrailing,
3226
- onChange: g[0] || (g[0] = async (I) => c(I)),
3227
- onBlur: g[1] || (g[1] = async (I) => r(I)),
3228
- onFocus: g[2] || (g[2] = async (I) => v(I))
3217
+ checked: o(V)(s.checked, "checked"),
3218
+ value: s.value,
3219
+ disabled: o(V)(s.disabled, "disabled"),
3220
+ "aria-invalid": s.validation === "invalid",
3221
+ "data-custom-validity": s.validation,
3222
+ name: s.name,
3223
+ required: o(V)(s.required, "required"),
3224
+ "data-aid-icon": s.iconLeading ?? s.icon,
3225
+ "data-aid-icon-trailing": s.iconTrailing,
3226
+ onChange: m[0] || (m[0] = async (I) => c(I)),
3227
+ onBlur: m[1] || (m[1] = async (I) => r(I)),
3228
+ onFocus: m[2] || (m[2] = async (I) => f(I))
3229
3229
  }, null, 40, Bi),
3230
- d.label ? (m(), k(G, { key: 0 }, [
3231
- N(L(d.label), 1)
3232
- ], 64)) : A(d.$slots, "default", { key: 1 })
3230
+ s.label ? (h(), k(W, { key: 0 }, [
3231
+ N($(s.label), 1)
3232
+ ], 64)) : A(s.$slots, "default", { key: 1 })
3233
3233
  ], 10, Si));
3234
3234
  }
3235
- }), Li = ["for", "data-icon", "data-icon-trailing", "data-show-icon", "data-show-icon-trailing", "data-no-text"], Ii = ["disabled", "aria-selected", "checked", "name", "id"], $i = /* @__PURE__ */ U({
3235
+ }), Li = ["for", "data-icon", "data-icon-trailing", "data-show-icon", "data-show-icon-trailing", "data-no-text"], Ii = ["disabled", "aria-selected", "checked", "name", "id"], $i = /* @__PURE__ */ G({
3236
3236
  __name: "tab-item",
3237
3237
  props: {
3238
3238
  children: { default: void 0 },
@@ -3257,7 +3257,7 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3257
3257
  },
3258
3258
  emits: ["update:checked"],
3259
3259
  setup(t, { emit: a }) {
3260
- const n = a, e = t, i = s(!1), u = s(void 0), c = s(!1), r = s(null);
3260
+ const n = a, e = t, i = d(!1), u = d(void 0), c = d(!1), r = d(null);
3261
3261
  j(() => {
3262
3262
  c.value = !0;
3263
3263
  }), D(
@@ -3279,41 +3279,41 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3279
3279
  flush: "post"
3280
3280
  }
3281
3281
  );
3282
- function v(d) {
3283
- d.stopPropagation(), e.onChange && e.onChange(d), i.value = d.target?.checked, oe(n, d, "checked");
3282
+ function f(s) {
3283
+ s.stopPropagation(), e.onChange && e.onChange(s), i.value = s.target?.checked, oe(n, s, "checked");
3284
3284
  }
3285
- return (d, g) => (m(), k("li", {
3285
+ return (s, m) => (h(), k("li", {
3286
3286
  role: "none",
3287
- class: P(o(V)("db-tab-item", e.class))
3287
+ class: q(o(U)("db-tab-item", e.class))
3288
3288
  }, [
3289
- _("label", {
3290
- for: d.id,
3291
- "data-icon": d.iconLeading ?? d.icon,
3292
- "data-icon-trailing": d.iconTrailing,
3293
- "data-show-icon": o(F)(d.showIconLeading ?? d.showIcon),
3294
- "data-show-icon-trailing": o(F)(d.showIconTrailing),
3295
- "data-no-text": o(F)(d.noText)
3289
+ C("label", {
3290
+ for: s.id,
3291
+ "data-icon": s.iconLeading ?? s.icon,
3292
+ "data-icon-trailing": s.iconTrailing,
3293
+ "data-show-icon": o(F)(s.showIconLeading ?? s.showIcon),
3294
+ "data-show-icon-trailing": o(F)(s.showIconTrailing),
3295
+ "data-no-text": o(F)(s.noText)
3296
3296
  }, [
3297
- _("input", {
3297
+ C("input", {
3298
3298
  type: "radio",
3299
3299
  role: "tab",
3300
- disabled: o(z)(d.disabled, "disabled"),
3300
+ disabled: o(V)(s.disabled, "disabled"),
3301
3301
  "aria-selected": i.value,
3302
- checked: o(z)(d.checked, "checked"),
3302
+ checked: o(V)(s.checked, "checked"),
3303
3303
  ref_key: "_ref",
3304
3304
  ref: r,
3305
3305
  name: u.value,
3306
- id: d.id,
3307
- onInput: g[0] || (g[0] = async (I) => v(I))
3306
+ id: s.id,
3307
+ onInput: m[0] || (m[0] = async (I) => f(I))
3308
3308
  }, null, 40, Ii),
3309
- d.label ? (m(), k(G, { key: 0 }, [
3310
- N(L(d.label), 1)
3311
- ], 64)) : R("", !0),
3312
- A(d.$slots, "default")
3309
+ s.label ? (h(), k(W, { key: 0 }, [
3310
+ N($(s.label), 1)
3311
+ ], 64)) : P("", !0),
3312
+ A(s.$slots, "default")
3313
3313
  ], 8, Li)
3314
3314
  ], 2));
3315
3315
  }
3316
- }), Ti = ["id"], Ei = { role: "tablist" }, _i = /* @__PURE__ */ U({
3316
+ }), Ti = ["id"], Ei = { role: "tablist" }, _i = /* @__PURE__ */ G({
3317
3317
  __name: "tab-list",
3318
3318
  props: {
3319
3319
  children: { default: void 0 },
@@ -3323,21 +3323,21 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3323
3323
  autofocus: { type: [Boolean, String] }
3324
3324
  },
3325
3325
  setup(t) {
3326
- const a = t, n = s(Se), e = s(null);
3326
+ const a = t, n = d(Se), e = d(null);
3327
3327
  return j(() => {
3328
3328
  n.value = a.id || "tab-list-" + K();
3329
- }), (i, u) => (m(), k("div", {
3329
+ }), (i, u) => (h(), k("div", {
3330
3330
  ref_key: "_ref",
3331
3331
  ref: e,
3332
3332
  id: n.value,
3333
- class: P(o(V)("db-tab-list", a.class))
3333
+ class: q(o(U)("db-tab-list", a.class))
3334
3334
  }, [
3335
- _("ul", Ei, [
3335
+ C("ul", Ei, [
3336
3336
  A(i.$slots, "default")
3337
3337
  ])
3338
3338
  ], 10, Ti));
3339
3339
  }
3340
- }), Ci = ["id"], Ai = /* @__PURE__ */ U({
3340
+ }), Ci = ["id"], Ai = /* @__PURE__ */ G({
3341
3341
  __name: "tab-panel",
3342
3342
  props: {
3343
3343
  content: { default: void 0 },
@@ -3348,22 +3348,22 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3348
3348
  autofocus: { type: [Boolean, String] }
3349
3349
  },
3350
3350
  setup(t) {
3351
- const a = t, n = s(null);
3351
+ const a = t, n = d(null);
3352
3352
  return j(() => {
3353
- }), (e, i) => (m(), k("section", {
3353
+ }), (e, i) => (h(), k("section", {
3354
3354
  role: "tabpanel",
3355
3355
  ref_key: "_ref",
3356
3356
  ref: n,
3357
- class: P(o(V)("db-tab-panel", a.class)),
3357
+ class: q(o(U)("db-tab-panel", a.class)),
3358
3358
  id: e.id
3359
3359
  }, [
3360
- e.content ? (m(), k(G, { key: 0 }, [
3361
- N(L(e.content), 1)
3362
- ], 64)) : R("", !0),
3360
+ e.content ? (h(), k(W, { key: 0 }, [
3361
+ N($(e.content), 1)
3362
+ ], 64)) : P("", !0),
3363
3363
  A(e.$slots, "default")
3364
3364
  ], 10, Ci));
3365
3365
  }
3366
- }), Di = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], Hl = /* @__PURE__ */ U({
3366
+ }), Di = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], Hl = /* @__PURE__ */ G({
3367
3367
  __name: "tabs",
3368
3368
  props: {
3369
3369
  arrowScrollDistance: { default: void 0 },
@@ -3386,20 +3386,22 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3386
3386
  tabSelect: {}
3387
3387
  },
3388
3388
  setup(t) {
3389
- const a = t, n = s("tabs-" + K()), e = s(""), i = s(!1), u = s(!1), c = s(!1), r = s(null), v = s(null);
3389
+ const a = t, n = d("tabs-" + K()), e = d(""), i = d(!1), u = d(!1), c = d(!1), r = d(null), f = d(void 0), s = d(null);
3390
3390
  j(() => {
3391
3391
  n.value = a.id || n.value, e.value = `tabs-${a.name || K()}`, i.value = !0;
3392
+ }), Ke(() => {
3393
+ f.value?.disconnect(), f.value = void 0;
3392
3394
  }), D(
3393
- () => [v.value, i.value],
3395
+ () => [s.value, i.value],
3394
3396
  () => {
3395
- if (v.value && i.value) {
3396
- w(), h(!0);
3397
- const f = v.value.querySelector(".db-tab-list");
3398
- f && new MutationObserver((C) => {
3399
- C.forEach((b) => {
3400
- (b.removedNodes.length || b.addedNodes.length) && (w(), h());
3397
+ if (s.value && i.value) {
3398
+ p(), v(!0);
3399
+ const L = s.value.querySelector(".db-tab-list");
3400
+ L && new MutationObserver((g) => {
3401
+ g.forEach((y) => {
3402
+ (y.removedNodes.length || y.addedNodes.length) && (p(), v());
3401
3403
  });
3402
- }).observe(f, {
3404
+ }).observe(L, {
3403
3405
  childList: !0,
3404
3406
  subtree: !0
3405
3407
  }), i.value = !1;
@@ -3410,158 +3412,163 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3410
3412
  flush: "post"
3411
3413
  }
3412
3414
  );
3413
- function d() {
3415
+ function m() {
3414
3416
  try {
3415
3417
  return typeof a.tabs == "string" ? JSON.parse(a.tabs) : a.tabs;
3416
- } catch (f) {
3417
- console.error(f);
3418
+ } catch (L) {
3419
+ console.error(L);
3418
3420
  }
3419
3421
  return [];
3420
3422
  }
3421
- function g(f) {
3422
- const T = f.scrollWidth > f.clientWidth;
3423
- u.value = T && f.scrollLeft > 1, c.value = T && f.scrollLeft < f.scrollWidth - f.clientWidth;
3423
+ function I(L) {
3424
+ const E = L.scrollWidth > L.clientWidth;
3425
+ u.value = E && L.scrollLeft > 1, c.value = E && L.scrollLeft < L.scrollWidth - L.clientWidth;
3424
3426
  }
3425
- function I(f) {
3426
- let T = Number(a.arrowScrollDistance) || 100;
3427
- f && (T *= -1), r.value?.scrollBy({
3427
+ function w(L) {
3428
+ let E = Number(a.arrowScrollDistance) || 100;
3429
+ L && (E *= -1), r.value?.scrollBy({
3428
3430
  top: 0,
3429
- left: T,
3431
+ left: E,
3430
3432
  behavior: "smooth"
3431
3433
  });
3432
3434
  }
3433
- function w() {
3434
- if (v.value) {
3435
- const f = v.value.querySelector(".db-tab-list");
3436
- if (f) {
3437
- const T = f.querySelector('[role="tablist"]');
3438
- T && (T.setAttribute(
3435
+ function p() {
3436
+ if (s.value) {
3437
+ const L = s.value.querySelector(".db-tab-list");
3438
+ if (L) {
3439
+ const E = L.querySelector('[role="tablist"]');
3440
+ if (E && (E.setAttribute(
3439
3441
  "aria-orientation",
3440
3442
  a.orientation || "horizontal"
3441
- ), a.behavior === "arrows" && (r.value = T, g(T), T.addEventListener("scroll", () => {
3442
- g(T);
3443
- })));
3443
+ ), a.behavior === "arrows" && (r.value = E, I(E), E.addEventListener("scroll", () => {
3444
+ I(E);
3445
+ }), !f.value))) {
3446
+ const g = new ResizeObserver(() => {
3447
+ I(E);
3448
+ });
3449
+ g.observe(E), f.value = g;
3450
+ }
3444
3451
  }
3445
3452
  }
3446
3453
  }
3447
- function h(f) {
3448
- if (v.value) {
3449
- const T = Array.from(
3450
- v.value.getElementsByClassName("db-tab-item")
3451
- ), C = Array.from(
3452
- v.value.querySelectorAll(
3454
+ function v(L) {
3455
+ if (s.value) {
3456
+ const E = Array.from(
3457
+ s.value.getElementsByClassName("db-tab-item")
3458
+ ), g = Array.from(
3459
+ s.value.querySelectorAll(
3453
3460
  ":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"
3454
3461
  )
3455
3462
  );
3456
- for (const b of T) {
3457
- const S = T.indexOf(b), W = b.querySelector("label"), y = b.querySelector("input");
3458
- if (y && W) {
3459
- if (!y.id) {
3460
- const X = `${e.value}-tab-${S}`;
3461
- W.setAttribute("for", X), y.id = X, y.setAttribute("name", e.value), C.length > S && y.setAttribute(
3463
+ for (const y of E) {
3464
+ const M = E.indexOf(y), b = y.querySelector("label"), X = y.querySelector("input");
3465
+ if (X && b) {
3466
+ if (!X.id) {
3467
+ const B = `${e.value}-tab-${M}`;
3468
+ b.setAttribute("for", B), X.id = B, X.setAttribute("name", e.value), g.length > M && X.setAttribute(
3462
3469
  "aria-controls",
3463
- `${e.value}-tab-panel-${S}`
3470
+ `${e.value}-tab-panel-${M}`
3464
3471
  );
3465
3472
  }
3466
- if (f) {
3467
- const X = !a.initialSelectedMode || a.initialSelectedMode === "auto", B = a.initialSelectedIndex == null && S === 0 || Number(a.initialSelectedIndex) === S;
3468
- X && B && y.click();
3473
+ if (L) {
3474
+ const B = !a.initialSelectedMode || a.initialSelectedMode === "auto", R = a.initialSelectedIndex == null && M === 0 || Number(a.initialSelectedIndex) === M;
3475
+ B && R && X.click();
3469
3476
  }
3470
3477
  }
3471
3478
  }
3472
- for (const b of C) {
3473
- if (b.id) continue;
3474
- const S = C.indexOf(b);
3475
- b.id = `${e.value}-tab-panel-${S}`, b.setAttribute("aria-labelledby", `${e.value}-tab-${S}`);
3479
+ for (const y of g) {
3480
+ if (y.id) continue;
3481
+ const M = g.indexOf(y);
3482
+ y.id = `${e.value}-tab-panel-${M}`, y.setAttribute("aria-labelledby", `${e.value}-tab-${M}`);
3476
3483
  }
3477
3484
  }
3478
3485
  }
3479
- function p(f) {
3480
- if (f.stopPropagation(), f.target) {
3481
- const C = f.target.parentElement;
3482
- if (C && C.parentElement && C.parentElement?.nodeName === "LI") {
3483
- const b = C.parentElement;
3484
- if (b) {
3485
- const S = b.parentElement;
3486
- if (S) {
3487
- const W = Array.from(S.childNodes).indexOf(b);
3488
- a.onIndexChange && a.onIndexChange(W), a.onTabSelect && a.onTabSelect(f);
3486
+ function S(L) {
3487
+ if (L.stopPropagation(), L.target) {
3488
+ const g = L.target.parentElement;
3489
+ if (g && g.parentElement && g.parentElement?.nodeName === "LI") {
3490
+ const y = g.parentElement;
3491
+ if (y) {
3492
+ const M = y.parentElement;
3493
+ if (M) {
3494
+ const b = Array.from(M.childNodes).indexOf(y);
3495
+ a.onIndexChange && a.onIndexChange(b), a.onTabSelect && a.onTabSelect(L);
3489
3496
  }
3490
3497
  }
3491
3498
  }
3492
3499
  }
3493
3500
  }
3494
- return (f, T) => (m(), k("div", {
3501
+ return (L, E) => (h(), k("div", {
3495
3502
  ref_key: "_ref",
3496
- ref: v,
3503
+ ref: s,
3497
3504
  id: n.value,
3498
- class: P(o(V)("db-tabs", a.class)),
3499
- "data-orientation": f.orientation,
3500
- "data-scroll-behavior": f.behavior,
3501
- "data-alignment": f.alignment ?? "start",
3502
- "data-width": f.width ?? "auto",
3503
- onInput: T[0] || (T[0] = async (C) => p(C)),
3504
- onChange: T[1] || (T[1] = async (C) => p(C))
3505
+ class: q(o(U)("db-tabs", a.class)),
3506
+ "data-orientation": L.orientation,
3507
+ "data-scroll-behavior": L.behavior,
3508
+ "data-alignment": L.alignment ?? "start",
3509
+ "data-width": L.width ?? "auto",
3510
+ onInput: E[0] || (E[0] = async (g) => S(g)),
3511
+ onChange: E[1] || (E[1] = async (g) => S(g))
3505
3512
  }, [
3506
- u.value ? (m(), Y(be, {
3513
+ u.value ? (h(), Y(be, {
3507
3514
  key: 0,
3508
3515
  class: "tabs-scroll-left",
3509
3516
  variant: "ghost",
3510
3517
  icon: "chevron_left",
3511
3518
  type: "button",
3512
3519
  noText: !0,
3513
- onClick: (C) => I(!0)
3520
+ onClick: (g) => w(!0)
3514
3521
  }, {
3515
- default: O(() => [...T[2] || (T[2] = [
3522
+ default: O(() => [...E[2] || (E[2] = [
3516
3523
  N(" Scroll left ", -1)
3517
3524
  ])]),
3518
3525
  _: 1
3519
- }, 8, ["onClick"])) : R("", !0),
3520
- f.tabs ? (m(), k(G, { key: 1 }, [
3526
+ }, 8, ["onClick"])) : P("", !0),
3527
+ L.tabs ? (h(), k(W, { key: 1 }, [
3521
3528
  ee(_i, null, {
3522
3529
  default: O(() => [
3523
- (m(!0), k(G, null, fe(d(), (C, b) => (m(), Y($i, {
3524
- key: f.name + "tab-item" + b,
3525
- active: C.active,
3526
- label: C.label,
3527
- iconTrailing: C.iconTrailing,
3528
- icon: C.icon,
3529
- noText: C.noText
3530
+ (h(!0), k(W, null, fe(m(), (g, y) => (h(), Y($i, {
3531
+ key: L.name + "tab-item" + y,
3532
+ active: g.active,
3533
+ label: g.label,
3534
+ iconTrailing: g.iconTrailing,
3535
+ icon: g.icon,
3536
+ noText: g.noText
3530
3537
  }, null, 8, ["active", "label", "iconTrailing", "icon", "noText"]))), 128))
3531
3538
  ]),
3532
3539
  _: 1
3533
3540
  }),
3534
- (m(!0), k(G, null, fe(d(), (C, b) => (m(), Y(Ai, {
3535
- key: f.name + "tab-panel" + b,
3536
- content: C.content
3541
+ (h(!0), k(W, null, fe(m(), (g, y) => (h(), Y(Ai, {
3542
+ key: L.name + "tab-panel" + y,
3543
+ content: g.content
3537
3544
  }, {
3538
3545
  default: O(() => [
3539
- N(L(C.children), 1)
3546
+ N($(g.children), 1)
3540
3547
  ]),
3541
3548
  _: 2
3542
3549
  }, 1032, ["content"]))), 128))
3543
- ], 64)) : R("", !0),
3544
- c.value ? (m(), Y(be, {
3550
+ ], 64)) : P("", !0),
3551
+ c.value ? (h(), Y(be, {
3545
3552
  key: 2,
3546
3553
  class: "tabs-scroll-right",
3547
3554
  variant: "ghost",
3548
3555
  icon: "chevron_right",
3549
3556
  type: "button",
3550
3557
  noText: !0,
3551
- onClick: (C) => I()
3558
+ onClick: (g) => w()
3552
3559
  }, {
3553
- default: O(() => [...T[3] || (T[3] = [
3560
+ default: O(() => [...E[3] || (E[3] = [
3554
3561
  N(" Scroll right ", -1)
3555
3562
  ])]),
3556
3563
  _: 1
3557
- }, 8, ["onClick"])) : R("", !0),
3558
- A(f.$slots, "default")
3564
+ }, 8, ["onClick"])) : P("", !0),
3565
+ A(L.$slots, "default")
3559
3566
  ], 42, Di));
3560
3567
  }
3561
- }), Xl = ["scrollbar", "arrows"], jl = ["auto", "manually"], Yl = ["static", "removable"], Ni = ["data-variant", "data-hide-asterisk", "data-hide-label"], Fi = ["for"], Mi = ["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"], Ri = {
3568
+ }), Xl = ["scrollbar", "arrows"], jl = ["auto", "manually"], Yl = ["static", "removable"], Ni = ["data-variant", "data-hide-asterisk", "data-hide-label"], Fi = ["for"], Mi = ["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"], zi = {
3562
3569
  "data-visually-hidden": "true",
3563
3570
  role: "status"
3564
- }, Kl = /* @__PURE__ */ U({
3571
+ }, Kl = /* @__PURE__ */ G({
3565
3572
  __name: "textarea",
3566
3573
  props: {
3567
3574
  cols: { default: void 0 },
@@ -3611,14 +3618,14 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3611
3618
  },
3612
3619
  emits: ["update:value"],
3613
3620
  setup(t, { emit: a }) {
3614
- const n = a, e = t, i = s(void 0), u = s(void 0), c = s(void 0), r = s(void 0), v = s(void 0), d = s(void 0), g = s(""), I = s(""), w = s(null);
3621
+ const n = a, e = t, i = d(void 0), u = d(void 0), c = d(void 0), r = d(void 0), f = d(void 0), s = d(void 0), m = d(""), I = d(""), w = d(null);
3615
3622
  j(() => {
3616
- const S = e.id ?? `textarea-${K()}`;
3617
- i.value = S, u.value = S + de, c.value = S + ue, r.value = S + re, v.value = e.invalidMessage || te;
3623
+ const y = e.id ?? `textarea-${K()}`;
3624
+ i.value = y, u.value = y + de, c.value = y + ue, r.value = y + re, f.value = e.invalidMessage || te;
3618
3625
  }), D(
3619
3626
  () => [w.value, e.invalidMessage],
3620
3627
  () => {
3621
- v.value = e.invalidMessage || w.value?.validationMessage || te;
3628
+ f.value = e.invalidMessage || w.value?.validationMessage || te;
3622
3629
  },
3623
3630
  {
3624
3631
  immediate: !0,
@@ -3628,8 +3635,8 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3628
3635
  () => [i.value],
3629
3636
  () => {
3630
3637
  if (i.value) {
3631
- const S = i.value + de;
3632
- u.value = S, c.value = i.value + ue, r.value = i.value + re, Z(e.message, e.showMessage) && (d.value = S), p();
3638
+ const y = i.value + de;
3639
+ u.value = y, c.value = i.value + ue, r.value = i.value + re, Z(e.message, e.showMessage) && (s.value = y), v();
3633
3640
  }
3634
3641
  },
3635
3642
  {
@@ -3639,103 +3646,103 @@ const zt = ["id", "data-width", "data-on-forcing-mobile"], Pt = { class: "db-hea
3639
3646
  ), D(
3640
3647
  () => [e.value],
3641
3648
  () => {
3642
- g.value = e.value;
3649
+ m.value = e.value;
3643
3650
  },
3644
3651
  {
3645
3652
  immediate: !0,
3646
3653
  flush: "post"
3647
3654
  }
3648
3655
  );
3649
- function h() {
3656
+ function p() {
3650
3657
  return !!(e.validMessage ?? e.validation === "valid");
3651
3658
  }
3652
- function p() {
3653
- !w.value?.validity.valid || e.validation === "invalid" ? (d.value = r.value, v.value = e.invalidMessage || w.value?.validationMessage || te, ve() && (I.value = v.value, J(() => I.value = "", 1e3))) : h() && w.value?.validity.valid && (e.required || e.minLength || e.maxLength) ? (d.value = c.value, ve() && (I.value = e.validMessage ?? ce, J(() => I.value = "", 1e3))) : Z(e.message, e.showMessage) ? d.value = u.value : d.value = void 0;
3659
+ function v() {
3660
+ !w.value?.validity.valid || e.validation === "invalid" ? (s.value = r.value, f.value = e.invalidMessage || w.value?.validationMessage || te, ve() && (I.value = f.value, J(() => I.value = "", 1e3))) : p() && w.value?.validity.valid && (e.required || e.minLength || e.maxLength) ? (s.value = c.value, ve() && (I.value = e.validMessage ?? ce, J(() => I.value = "", 1e3))) : Z(e.message, e.showMessage) ? s.value = u.value : s.value = void 0;
3654
3661
  }
3655
- function f(S) {
3656
- e.input && e.input(S), g.value = S.target.value, e.onInput && e.onInput(S), oe(n, S), p();
3662
+ function S(y) {
3663
+ e.input && e.input(y), m.value = y.target.value, e.onInput && e.onInput(y), oe(n, y), v();
3657
3664
  }
3658
- function T(S) {
3659
- e.onChange && e.onChange(S), oe(n, S), p();
3665
+ function L(y) {
3666
+ e.onChange && e.onChange(y), oe(n, y), v();
3660
3667
  }
3661
- function C(S) {
3662
- e.onBlur && e.onBlur(S);
3668
+ function E(y) {
3669
+ e.onBlur && e.onBlur(y);
3663
3670
  }
3664
- function b(S) {
3665
- e.onFocus && e.onFocus(S);
3671
+ function g(y) {
3672
+ e.onFocus && e.onFocus(y);
3666
3673
  }
3667
- return (S, W) => (m(), k("div", {
3668
- class: P(o(V)("db-textarea", e.class)),
3669
- "data-variant": S.variant,
3670
- "data-hide-asterisk": o(ie)(S.showRequiredAsterisk),
3671
- "data-hide-label": o(ie)(S.showLabel)
3674
+ return (y, M) => (h(), k("div", {
3675
+ class: q(o(U)("db-textarea", e.class)),
3676
+ "data-variant": y.variant,
3677
+ "data-hide-asterisk": o(ie)(y.showRequiredAsterisk),
3678
+ "data-hide-label": o(ie)(y.showLabel)
3672
3679
  }, [
3673
- _("label", { for: i.value }, L(S.label ?? o(me)), 9, Fi),
3674
- _("textarea", {
3675
- "aria-invalid": S.validation === "invalid",
3676
- "data-custom-validity": S.validation,
3677
- "data-field-sizing": S.fieldSizing,
3680
+ C("label", { for: i.value }, $(y.label ?? o(me)), 9, Fi),
3681
+ C("textarea", {
3682
+ "aria-invalid": y.validation === "invalid",
3683
+ "data-custom-validity": y.validation,
3684
+ "data-field-sizing": y.fieldSizing,
3678
3685
  ref_key: "_ref",
3679
3686
  ref: w,
3680
3687
  id: i.value,
3681
- "data-resize": S.resize,
3682
- "data-hide-resizer": o(ie)(S.showResizer ?? !0),
3683
- disabled: o(z)(S.disabled, "disabled"),
3684
- required: o(z)(S.required, "required"),
3685
- readOnly: o(z)(S.readOnly, "readOnly") || o(z)(S.readonly, "readonly"),
3686
- form: S.form,
3687
- maxLength: o(ge)(S.maxLength, S.maxlength),
3688
- minLength: o(ge)(S.minLength, S.minlength),
3689
- name: S.name,
3690
- wrap: S.wrap,
3691
- spellcheck: S.spellCheck,
3692
- autocomplete: S.autocomplete,
3693
- onInput: W[0] || (W[0] = async (y) => f(y)),
3694
- onChange: W[1] || (W[1] = async (y) => T(y)),
3695
- onBlur: W[2] || (W[2] = async (y) => C(y)),
3696
- onFocus: W[3] || (W[3] = async (y) => b(y)),
3697
- value: S.value ?? g.value,
3698
- "aria-describedby": S.ariaDescribedBy ?? d.value,
3699
- placeholder: S.placeholder ?? o(Ke),
3700
- rows: o(ge)(S.rows, o($a)),
3701
- cols: o(ge)(S.cols)
3688
+ "data-resize": y.resize,
3689
+ "data-hide-resizer": o(ie)(y.showResizer ?? !0),
3690
+ disabled: o(V)(y.disabled, "disabled"),
3691
+ required: o(V)(y.required, "required"),
3692
+ readOnly: o(V)(y.readOnly, "readOnly") || o(V)(y.readonly, "readonly"),
3693
+ form: y.form,
3694
+ maxLength: o(ge)(y.maxLength, y.maxlength),
3695
+ minLength: o(ge)(y.minLength, y.minlength),
3696
+ name: y.name,
3697
+ wrap: y.wrap,
3698
+ spellcheck: y.spellCheck,
3699
+ autocomplete: y.autocomplete,
3700
+ onInput: M[0] || (M[0] = async (b) => S(b)),
3701
+ onChange: M[1] || (M[1] = async (b) => L(b)),
3702
+ onBlur: M[2] || (M[2] = async (b) => E(b)),
3703
+ onFocus: M[3] || (M[3] = async (b) => g(b)),
3704
+ value: y.value ?? m.value,
3705
+ "aria-describedby": y.ariaDescribedBy ?? s.value,
3706
+ placeholder: y.placeholder ?? o(Je),
3707
+ rows: o(ge)(y.rows, o($a)),
3708
+ cols: o(ge)(y.cols)
3702
3709
  }, null, 40, Mi),
3703
- o(Z)(S.message, S.showMessage) ? (m(), Y(ae, {
3710
+ o(Z)(y.message, y.showMessage) ? (h(), Y(ae, {
3704
3711
  key: 0,
3705
3712
  size: "small",
3706
- icon: S.messageIcon,
3713
+ icon: y.messageIcon,
3707
3714
  id: u.value
3708
3715
  }, {
3709
3716
  default: O(() => [
3710
- N(L(S.message), 1)
3717
+ N($(y.message), 1)
3711
3718
  ]),
3712
3719
  _: 1
3713
- }, 8, ["icon", "id"])) : R("", !0),
3714
- h() ? (m(), Y(ae, {
3720
+ }, 8, ["icon", "id"])) : P("", !0),
3721
+ p() ? (h(), Y(ae, {
3715
3722
  key: 1,
3716
3723
  size: "small",
3717
3724
  semantic: "successful",
3718
3725
  id: c.value
3719
3726
  }, {
3720
3727
  default: O(() => [
3721
- N(L(S.validMessage || o(ce)), 1)
3728
+ N($(y.validMessage || o(ce)), 1)
3722
3729
  ]),
3723
3730
  _: 1
3724
- }, 8, ["id"])) : R("", !0),
3731
+ }, 8, ["id"])) : P("", !0),
3725
3732
  ee(ae, {
3726
3733
  size: "small",
3727
3734
  semantic: "critical",
3728
3735
  id: r.value
3729
3736
  }, {
3730
3737
  default: O(() => [
3731
- N(L(v.value), 1)
3738
+ N($(f.value), 1)
3732
3739
  ]),
3733
3740
  _: 1
3734
3741
  }, 8, ["id"]),
3735
- _("span", Ri, L(I.value), 1)
3742
+ C("span", zi, $(I.value), 1)
3736
3743
  ], 10, Ni));
3737
3744
  }
3738
- }), Jl = ["none", "both", "horizontal", "vertical"], Ql = ["hard", "soft", "off"], Zl = ["description", "label"], xl = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], eo = ["medium", "small", "large", "none"], ao = ["medium", "small", "large", "none"], zi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Pi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], to = [...zi, ...Pi], io = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], lo = ["horizontal", "vertical"], oo = ["full", "auto"], no = ["full", "medium", "large", "small"], so = ["none", "slow", "fast"], uo = ["auto", "fixed"], ro = ["small", "medium"], co = ["weak", "strong"], vo = ["invalid", "valid", "no-validation"], fo = ["fixed", "content"], po = ["above", "floating"], ho = ["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"], mo = ["_self", "_blank", "_parent", "_top"], go = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], bo = ["start", "center"];
3745
+ }), Jl = ["none", "both", "horizontal", "vertical"], Ql = ["hard", "soft", "off"], Zl = ["description", "label"], xl = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], eo = ["medium", "small", "large", "none"], ao = ["medium", "small", "large", "none"], Ri = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Pi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], to = [...Ri, ...Pi], io = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], lo = ["horizontal", "vertical"], oo = ["full", "auto"], no = ["full", "medium", "large", "small"], so = ["none", "slow", "fast"], uo = ["auto", "fixed"], ro = ["small", "medium"], co = ["weak", "strong"], vo = ["invalid", "valid", "no-validation"], fo = ["fixed", "content"], po = ["above", "floating"], ho = ["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"], mo = ["_self", "_blank", "_parent", "_top"], go = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], bo = ["start", "center"];
3739
3746
  export {
3740
3747
  Ji as AccordionBehaviorList,
3741
3748
  Ki as AccordionVariantList,
@@ -3744,11 +3751,11 @@ export {
3744
3751
  Zi as BadgePlacementList,
3745
3752
  al as ButtonTypeList,
3746
3753
  el as ButtonVariantList,
3747
- xe as COLOR,
3754
+ ea as COLOR,
3748
3755
  Wi as COLORS,
3749
3756
  Oi as COLORS_SIMPLE,
3750
3757
  Ui as COLOR_CONST,
3751
- Ze as COLOR_SIMPLE,
3758
+ xe as COLOR_SIMPLE,
3752
3759
  il as CardBehaviorList,
3753
3760
  ll as CardElevationLevelList,
3754
3761
  sl as CustomSelectDropdownWidthList,
@@ -3777,8 +3784,8 @@ export {
3777
3784
  El as DBNotification,
3778
3785
  Dl as DBPage,
3779
3786
  Ml as DBPopover,
3780
- Rl as DBRadio,
3781
- zl as DBSection,
3787
+ zl as DBRadio,
3788
+ Rl as DBSection,
3782
3789
  Pl as DBSelect,
3783
3790
  Vl as DBStack,
3784
3791
  Ol as DBSwitch,
@@ -3788,10 +3795,10 @@ export {
3788
3795
  Hl as DBTabs,
3789
3796
  vt as DBTag,
3790
3797
  Kl as DBTextarea,
3791
- la as DBTooltip,
3798
+ oa as DBTooltip,
3792
3799
  Sa as DEFAULT_BACK,
3793
3800
  La as DEFAULT_BURGER_MENU,
3794
- Re as DEFAULT_CLOSE_BUTTON,
3801
+ ze as DEFAULT_CLOSE_BUTTON,
3795
3802
  Xe as DEFAULT_DATALIST_ID_SUFFIX,
3796
3803
  Ia as DEFAULT_ICON,
3797
3804
  Se as DEFAULT_ID,
@@ -3801,9 +3808,9 @@ export {
3801
3808
  Oe as DEFAULT_LABEL_ID_SUFFIX,
3802
3809
  wa as DEFAULT_MESSAGE,
3803
3810
  de as DEFAULT_MESSAGE_ID_SUFFIX,
3804
- Ke as DEFAULT_PLACEHOLDER,
3811
+ Je as DEFAULT_PLACEHOLDER,
3805
3812
  _e as DEFAULT_PLACEHOLDER_ID_SUFFIX,
3806
- Je as DEFAULT_REMOVE,
3813
+ Qe as DEFAULT_REMOVE,
3807
3814
  $a as DEFAULT_ROWS,
3808
3815
  Ba as DEFAULT_SELECTED,
3809
3816
  He as DEFAULT_SELECT_ID_SUFFIX,
@@ -3811,7 +3818,7 @@ export {
3811
3818
  ue as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
3812
3819
  Ta as DEFAULT_VIEWPORT,
3813
3820
  Gi as DENSITIES,
3814
- Qe as DENSITY,
3821
+ Ze as DENSITY,
3815
3822
  qi as DENSITY_CONST,
3816
3823
  Ea as DESKTOP_VIEWPORT,
3817
3824
  vl as DividerMarginList,
@@ -3835,19 +3842,19 @@ export {
3835
3842
  Bl as LinkVariantList,
3836
3843
  ao as MarginList,
3837
3844
  no as MaxWidthList,
3838
- Rt as NavigationItemSafeTriangle,
3845
+ zt as NavigationItemSafeTriangle,
3839
3846
  Al as NotificationAriaLiveList,
3840
3847
  Cl as NotificationLinkVariantList,
3841
3848
  _l as NotificationVariantList,
3842
3849
  lo as OrientationList,
3843
3850
  Fl as PageDocumentOverflowList,
3844
3851
  Nl as PageVariantList,
3845
- zi as PlacementHorizontalList,
3852
+ Ri as PlacementHorizontalList,
3846
3853
  to as PlacementList,
3847
3854
  Pi as PlacementVerticalList,
3848
3855
  so as PopoverDelayList,
3849
3856
  uo as PopoverWidthList,
3850
- ea as SEMANTIC,
3857
+ aa as SEMANTIC,
3851
3858
  Hi as SEMANTICS,
3852
3859
  rl as SelectedTypeList,
3853
3860
  xl as SemanticList,
@@ -3866,12 +3873,12 @@ export {
3866
3873
  Zl as TooltipVariantList,
3867
3874
  vo as ValidationList,
3868
3875
  oo as WidthList,
3869
- aa as addAttributeToChildren,
3870
- V as cls,
3876
+ ta as addAttributeToChildren,
3877
+ U as cls,
3871
3878
  J as delay,
3872
- z as getBoolean,
3879
+ V as getBoolean,
3873
3880
  F as getBooleanAsString,
3874
- ta as getFloatingProps,
3881
+ ia as getFloatingProps,
3875
3882
  ie as getHideProp,
3876
3883
  je as getInputValue,
3877
3884
  ge as getNumber,
@@ -3879,7 +3886,7 @@ export {
3879
3886
  Ye as getSearchInput,
3880
3887
  Xa as handleDataOutside,
3881
3888
  ja as handleFixedDropdown,
3882
- ia as handleFixedPopover,
3889
+ la as handleFixedPopover,
3883
3890
  ve as hasVoiceOver,
3884
3891
  _a as isArrayOfStrings,
3885
3892
  Mt as isEventTargetNavigationItem,