@db-ux/v-core-components 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/db-ux.es.js CHANGED
@@ -1,30 +1,30 @@
1
- var La = Object.defineProperty;
2
- var Ta = (t, a, l) => a in t ? La(t, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[a] = l;
3
- var ne = (t, a, l) => Ta(t, typeof a != "symbol" ? a + "" : a, l);
4
- import { defineComponent as P, ref as d, onMounted as Y, watch as D, createElementBlock as B, openBlock as g, normalizeClass as z, unref as n, createElementVNode as _, createCommentVNode as V, renderSlot as A, Fragment as U, createTextVNode as N, toDisplayString as L, renderList as be, createBlock as Q, createVNode as ee, withCtx as W, onUnmounted as _a } from "vue";
5
- const Le = "OVERWRITE_DEFAULT_ID", ke = "LABEL SHOULD BE SET", aa = " ", Ca = "MESSAGE SHOULD BE SET", Je = "-label", Qe = "-select", ve = "-message", fe = "-valid-message", pe = "-invalid-message", Re = "-placeholder", Ze = "-datalist", he = "TODO: Add a validMessage", te = "TODO: Add an invalidMessage", ta = "Remove", Ea = "Back", Aa = "Selected", Da = "BurgerMenu", Na = "brand", Fa = 4, Ge = "Close", Ki = "density", Ji = "color";
6
- var ia = /* @__PURE__ */ ((t) => (t.FUNCTIONAL = "functional", t.REGULAR = "regular", t.EXPRESSIVE = "expressive", t))(ia || {});
7
- const Qi = Object.entries(ia).map(([, t]) => t);
8
- var la = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t))(la || {}), oa = /* @__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))(oa || {});
9
- const Zi = Object.entries(oa).map(([, t]) => t), xi = Object.entries(la).map(([, t]) => t);
10
- var na = /* @__PURE__ */ ((t) => (t.CRITICAL = "critical", t.INFORMATIONAL = "informational", t.WARNING = "warning", t.SUCCESSFUL = "successful", t))(na || {});
11
- const el = Object.entries(na).map(([, t]) => t), Ma = {
1
+ var Ta = Object.defineProperty;
2
+ var _a = (t, a, o) => a in t ? Ta(t, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[a] = o;
3
+ var ne = (t, a, o) => _a(t, typeof a != "symbol" ? a + "" : a, o);
4
+ import { defineComponent as G, ref as d, onMounted as Y, watch as D, createElementBlock as S, openBlock as m, normalizeClass as P, unref as n, createElementVNode as _, createCommentVNode as U, renderSlot as A, Fragment as W, createTextVNode as N, toDisplayString as $, renderList as ye, createBlock as J, createVNode as ee, withCtx as H, onUnmounted as Ca } from "vue";
5
+ const Te = "OVERWRITE_DEFAULT_ID", we = "LABEL SHOULD BE SET", ta = " ", Ea = "MESSAGE SHOULD BE SET", Qe = "-label", Ze = "-select", fe = "-message", pe = "-valid-message", he = "-invalid-message", Re = "-placeholder", xe = "-datalist", ge = "TODO: Add a validMessage", te = "TODO: Add an invalidMessage", ia = "Remove", Aa = "Back", Da = "Selected", Na = "BurgerMenu", Fa = "brand", Ma = 4, We = "Close", Ji = "density", Qi = "color";
6
+ var oa = /* @__PURE__ */ ((t) => (t.FUNCTIONAL = "functional", t.REGULAR = "regular", t.EXPRESSIVE = "expressive", t))(oa || {});
7
+ const Zi = Object.entries(oa).map(([, t]) => t);
8
+ var la = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t))(la || {}), na = /* @__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))(na || {});
9
+ const xi = Object.entries(na).map(([, t]) => t), eo = Object.entries(la).map(([, t]) => t);
10
+ var sa = /* @__PURE__ */ ((t) => (t.CRITICAL = "critical", t.INFORMATIONAL = "informational", t.WARNING = "warning", t.SUCCESSFUL = "successful", t))(sa || {});
11
+ const ao = Object.entries(sa).map(([, t]) => t), Ra = {
12
12
  width: 390,
13
13
  height: 884
14
- }, Ra = {
14
+ }, za = {
15
15
  width: 1920,
16
16
  height: 1280
17
- }, al = [{
17
+ }, to = [{
18
18
  name: "desktop",
19
- ...Ra
19
+ ...za
20
20
  }, {
21
21
  name: "tablet",
22
22
  width: 768,
23
23
  height: 1024
24
24
  }, {
25
25
  name: "mobile",
26
- ...Ma
27
- }], J = () => {
26
+ ...Ra
27
+ }], Q = () => {
28
28
  var t, a;
29
29
  if (typeof window < "u") {
30
30
  if ((t = window.crypto) != null && t.randomUUID)
@@ -33,37 +33,37 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
33
33
  return window.crypto.getRandomValues(new Uint32Array(3)).join("-");
34
34
  }
35
35
  return Math.random().toString().substring(2);
36
- }, sa = (t, a) => {
37
- const l = t.children;
38
- Object.values(l).forEach((e) => {
39
- e.setAttribute(a.key, a.value), e.children.length > 0 && sa(e, a);
36
+ }, da = (t, a) => {
37
+ const o = t.children;
38
+ Object.values(o).forEach((e) => {
39
+ e.setAttribute(a.key, a.value), e.children.length > 0 && da(e, a);
40
40
  });
41
41
  }, q = (...t) => {
42
42
  let a = "";
43
- for (const l of t)
44
- if (l)
45
- if (typeof l == "string")
46
- a += `${l} `;
43
+ for (const o of t)
44
+ if (o)
45
+ if (typeof o == "string")
46
+ a += `${o} `;
47
47
  else
48
- for (const e in l)
49
- l[e] && (a += `${e} `);
48
+ for (const e in o)
49
+ o[e] && (a += `${e} `);
50
50
  return a.trim();
51
- }, za = (t) => Array.isArray(t) && t.every((a) => typeof a == "string"), qa = ["Mac", "iPhone", "iPad", "iPod"], ge = () => typeof window < "u" && qa.some((t) => window.navigator.userAgent.includes(t)), Z = (t, a) => new Promise(() => setTimeout(t, a)), F = (t) => {
51
+ }, Va = (t) => Array.isArray(t) && t.every((a) => typeof a == "string"), Pa = ["Mac", "iPhone", "iPad", "iPod"], me = () => typeof window < "u" && Pa.some((t) => window.navigator.userAgent.includes(t)), Z = (t, a) => new Promise(() => setTimeout(t, a)), R = (t) => {
52
52
  if (t != null)
53
53
  return String(typeof t == "string" ? !!t : t);
54
- }, R = (t, a) => {
54
+ }, V = (t, a) => {
55
55
  if (t != null)
56
56
  return typeof t == "string" && a ? !!(a === t || t) : !!t;
57
- }, Se = (t, a) => {
57
+ }, ke = (t, a) => {
58
58
  if (!(t == null && a == null))
59
59
  return Number(t ?? a);
60
- }, xe = (t, a) => a && ["number", "range"].includes(a) ? Se(t) : t, ie = (t) => {
60
+ }, ea = (t, a) => a && ["number", "range"].includes(a) ? ke(t) : t, ie = (t) => {
61
61
  if (t != null)
62
- return F(!t);
63
- }, x = (t, a) => (a === void 0 || !!a) && !!t, ea = (t) => t.querySelector('input[type="search"]'), tl = (t, a) => {
64
- const l = t.id ?? t.value ?? J();
65
- return `${a}${l}`;
66
- }, Va = (t) => t.key !== void 0, Pa = ["id"], Ua = ["aria-disabled", "name", "open"], Ga = /* @__PURE__ */ P({
62
+ return R(!t);
63
+ }, x = (t, a) => (a === void 0 || !!a) && !!t, aa = (t) => t.querySelector('input[type="search"]'), io = (t, a) => {
64
+ const o = t.id ?? t.value ?? Q();
65
+ return `${a}${o}`;
66
+ }, qa = (t) => t.key !== void 0, Ua = ["id"], Ga = ["aria-disabled", "name", "open"], Wa = /* @__PURE__ */ G({
67
67
  __name: "accordion-item",
68
68
  props: {
69
69
  defaultOpen: { type: Boolean, default: void 0 },
@@ -81,9 +81,9 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
81
81
  name: { default: void 0 }
82
82
  },
83
83
  setup(t) {
84
- const a = t, l = d(Le), e = d(!1), i = d(void 0), u = d(!1), f = d(null);
84
+ const a = t, o = d(Te), e = d(!1), i = d(void 0), u = d(!1), f = d(null);
85
85
  Y(() => {
86
- l.value = a.id || "accordion-item-" + J(), a.defaultOpen && (e.value = a.defaultOpen), u.value = !0;
86
+ o.value = a.id || "accordion-item-" + Q(), a.defaultOpen && (e.value = a.defaultOpen), u.value = !0;
87
87
  }), D(
88
88
  () => [f.value, u.value],
89
89
  () => {
@@ -103,39 +103,39 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
103
103
  flush: "post"
104
104
  }
105
105
  );
106
- function m(r) {
107
- r == null || r.preventDefault();
106
+ function p(v) {
107
+ v == null || v.preventDefault();
108
108
  const s = !e.value;
109
109
  a.onToggle && a.onToggle(s), e.value = s;
110
110
  }
111
- return (r, s) => (g(), B("li", {
112
- id: l.value,
113
- class: z(n(q)("db-accordion-item", a.class))
111
+ return (v, s) => (m(), S("li", {
112
+ id: o.value,
113
+ class: P(n(q)("db-accordion-item", a.class))
114
114
  }, [
115
115
  _("details", {
116
- "aria-disabled": n(F)(r.disabled),
116
+ "aria-disabled": n(R)(v.disabled),
117
117
  ref_key: "_ref",
118
118
  ref: f,
119
119
  name: i.value,
120
120
  open: e.value
121
121
  }, [
122
122
  _("summary", {
123
- onClick: s[0] || (s[0] = async (p) => m(p))
123
+ onClick: s[0] || (s[0] = async (g) => p(g))
124
124
  }, [
125
- r.headlinePlain ? (g(), B(U, { key: 0 }, [
126
- N(L(r.headlinePlain), 1)
127
- ], 64)) : V("", !0),
128
- r.headlinePlain ? V("", !0) : A(r.$slots, "headline", { key: 1 })
125
+ v.headlinePlain ? (m(), S(W, { key: 0 }, [
126
+ N($(v.headlinePlain), 1)
127
+ ], 64)) : U("", !0),
128
+ v.headlinePlain ? U("", !0) : A(v.$slots, "headline", { key: 1 })
129
129
  ]),
130
130
  _("div", null, [
131
- r.text ? (g(), B(U, { key: 0 }, [
132
- N(L(r.text), 1)
133
- ], 64)) : A(r.$slots, "default", { key: 1 })
131
+ v.text ? (m(), S(W, { key: 0 }, [
132
+ N($(v.text), 1)
133
+ ], 64)) : A(v.$slots, "default", { key: 1 })
134
134
  ])
135
- ], 8, Ua)
136
- ], 10, Pa));
135
+ ], 8, Ga)
136
+ ], 10, Ua));
137
137
  }
138
- }), Wa = ["id", "data-variant"], il = /* @__PURE__ */ P({
138
+ }), Oa = ["id", "data-variant"], oo = /* @__PURE__ */ G({
139
139
  __name: "accordion",
140
140
  props: {
141
141
  behavior: { default: void 0 },
@@ -151,13 +151,13 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
151
151
  autofocus: { type: [Boolean, String] }
152
152
  },
153
153
  setup(t) {
154
- const a = t, l = d(Le), e = d(""), i = d(!1), u = d(!1), f = d(null);
154
+ const a = t, o = d(Te), e = d(""), i = d(!1), u = d(!1), f = d(null);
155
155
  Y(() => {
156
- l.value = a.id || "accordion-" + J(), i.value = !0, u.value = !0;
156
+ o.value = a.id || "accordion-" + Q(), i.value = !0, u.value = !0;
157
157
  }), D(
158
- () => [i.value, a.name, a.behavior, l.value],
158
+ () => [i.value, a.name, a.behavior, o.value],
159
159
  () => {
160
- i.value && (a.behavior === "single" ? a.name ? e.value !== a.name && (e.value = a.name) : e.value !== l.value && l.value && (e.value = l.value) : e.value = "");
160
+ i.value && (a.behavior === "single" ? a.name ? e.value !== a.name && (e.value = a.name) : e.value !== o.value && o.value && (e.value = o.value) : e.value = "");
161
161
  },
162
162
  {
163
163
  immediate: !0,
@@ -167,9 +167,9 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
167
167
  () => [f.value, e.value],
168
168
  () => {
169
169
  if (f.value) {
170
- const r = f.value.getElementsByTagName("details");
171
- if (r)
172
- for (const s of Array.from(r))
170
+ const v = f.value.getElementsByTagName("details");
171
+ if (v)
172
+ for (const s of Array.from(v))
173
173
  e.value === "" ? s.removeAttribute("name") : s.name = e.value ?? "";
174
174
  }
175
175
  },
@@ -182,12 +182,12 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
182
182
  () => {
183
183
  if (f.value && u.value) {
184
184
  if (a.initOpenIndex && a.initOpenIndex.length > 0) {
185
- const r = f.value.getElementsByTagName("details");
186
- if (r) {
185
+ const v = f.value.getElementsByTagName("details");
186
+ if (v) {
187
187
  const s = a.behavior === "single" && a.initOpenIndex.length > 1 ? [a.initOpenIndex[0]] : a.initOpenIndex;
188
- Array.from(r).forEach(
189
- (p, T) => {
190
- s != null && s.includes(T) && (p.open = !0);
188
+ Array.from(v).forEach(
189
+ (g, T) => {
190
+ s != null && s.includes(T) && (g.open = !0);
191
191
  }
192
192
  );
193
193
  }
@@ -200,31 +200,31 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
200
200
  flush: "post"
201
201
  }
202
202
  );
203
- function m() {
203
+ function p() {
204
204
  try {
205
205
  return typeof a.items == "string" ? JSON.parse(a.items) : a.items;
206
- } catch (r) {
207
- console.error(r);
206
+ } catch (v) {
207
+ console.error(v);
208
208
  }
209
209
  return [];
210
210
  }
211
- return (r, s) => (g(), B("ul", {
211
+ return (v, s) => (m(), S("ul", {
212
212
  ref_key: "_ref",
213
213
  ref: f,
214
- id: l.value,
215
- class: z(n(q)("db-accordion", a.class)),
216
- "data-variant": r.variant
214
+ id: o.value,
215
+ class: P(n(q)("db-accordion", a.class)),
216
+ "data-variant": v.variant
217
217
  }, [
218
- r.items ? V("", !0) : A(r.$slots, "default", { key: 0 }),
219
- r.items ? (g(!0), B(U, { key: 1 }, be(m(), (p, T) => (g(), Q(Ga, {
218
+ v.items ? U("", !0) : A(v.$slots, "default", { key: 0 }),
219
+ v.items ? (m(!0), S(W, { key: 1 }, ye(p(), (g, T) => (m(), J(Wa, {
220
220
  key: `accordion-item-${T}`,
221
- headlinePlain: p.headlinePlain,
222
- disabled: p.disabled,
223
- text: p.text
224
- }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : V("", !0)
225
- ], 10, Wa));
221
+ headlinePlain: g.headlinePlain,
222
+ disabled: g.disabled,
223
+ text: g.text
224
+ }, null, 8, ["headlinePlain", "disabled", "text"]))), 128)) : U("", !0)
225
+ ], 10, Oa));
226
226
  }
227
- }), Oa = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], ll = /* @__PURE__ */ P({
227
+ }), lo = ["divider", "card"], no = ["multiple", "single"], Ha = ["id", "data-semantic", "data-size", "data-emphasis", "data-placement", "data-label"], so = /* @__PURE__ */ G({
228
228
  __name: "badge",
229
229
  props: {
230
230
  placement: { default: void 0 },
@@ -240,14 +240,14 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
240
240
  text: { default: void 0 }
241
241
  },
242
242
  setup(t) {
243
- const a = t, l = d(!1), e = d(null);
243
+ const a = t, o = d(!1), e = d(null);
244
244
  return Y(() => {
245
- l.value = !0;
245
+ o.value = !0;
246
246
  }), D(
247
- () => [e.value, l.value],
247
+ () => [e.value, o.value],
248
248
  () => {
249
249
  var i;
250
- if (e.value && l.value && (i = a.placement) != null && i.startsWith("corner")) {
250
+ if (e.value && o.value && (i = a.placement) != null && i.startsWith("corner")) {
251
251
  let u = e.value.parentElement;
252
252
  u && u.localName.includes("badge") && (u = u.parentElement), u && (u.dataset.hasBadge = "true");
253
253
  }
@@ -258,24 +258,24 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
258
258
  }
259
259
  ), (i, u) => {
260
260
  var f;
261
- return g(), B("span", {
261
+ return m(), S("span", {
262
262
  ref_key: "_ref",
263
263
  ref: e,
264
264
  id: i.id,
265
- class: z(n(q)("db-badge", a.class)),
265
+ class: P(n(q)("db-badge", a.class)),
266
266
  "data-semantic": i.semantic,
267
267
  "data-size": i.size,
268
268
  "data-emphasis": i.emphasis,
269
269
  "data-placement": i.placement,
270
- "data-label": ((f = i.placement) == null ? void 0 : f.startsWith("corner")) && (i.label ?? n(ke))
270
+ "data-label": ((f = i.placement) == null ? void 0 : f.startsWith("corner")) && (i.label ?? n(we))
271
271
  }, [
272
- i.text ? (g(), B(U, { key: 0 }, [
273
- N(L(i.text), 1)
272
+ i.text ? (m(), S(W, { key: 0 }, [
273
+ N($(i.text), 1)
274
274
  ], 64)) : A(i.$slots, "default", { key: 1 })
275
- ], 10, Oa);
275
+ ], 10, Ha);
276
276
  };
277
277
  }
278
- }), Ha = ["data-icon", "data-show-icon", "id"], ol = /* @__PURE__ */ P({
278
+ }), uo = ["inline", "corner-top-left", "corner-top-right", "corner-center-left", "corner-center-right", "corner-bottom-left", "corner-bottom-right"], Xa = ["data-icon", "data-show-icon", "id"], ro = /* @__PURE__ */ G({
279
279
  __name: "brand",
280
280
  props: {
281
281
  hideLogo: { type: Boolean, default: void 0 },
@@ -289,21 +289,21 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
289
289
  text: { default: void 0 }
290
290
  },
291
291
  setup(t) {
292
- const a = t, l = d(null);
293
- return (e, i) => (g(), B("div", {
292
+ const a = t, o = d(null);
293
+ return (e, i) => (m(), S("div", {
294
294
  ref_key: "_ref",
295
- ref: l,
296
- "data-icon": e.hideLogo ? "none" : e.icon ?? n(Na),
297
- "data-show-icon": n(F)(e.showIcon),
295
+ ref: o,
296
+ "data-icon": e.hideLogo ? "none" : e.icon ?? n(Fa),
297
+ "data-show-icon": n(R)(e.showIcon),
298
298
  id: e.id,
299
- class: z(n(q)("db-brand", a.class))
299
+ class: P(n(q)("db-brand", a.class))
300
300
  }, [
301
- e.text ? (g(), B(U, { key: 0 }, [
302
- N(L(e.text), 1)
301
+ e.text ? (m(), S(W, { key: 0 }, [
302
+ N($(e.text), 1)
303
303
  ], 64)) : A(e.$slots, "default", { key: 1 })
304
- ], 10, Ha));
304
+ ], 10, Xa));
305
305
  }
306
- }), Xa = ["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__ */ P({
306
+ }), ja = ["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"], Se = /* @__PURE__ */ G({
307
307
  __name: "button",
308
308
  props: {
309
309
  disabled: { type: [Boolean, String], default: void 0 },
@@ -330,39 +330,39 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
330
330
  iconTrailing: { default: void 0 }
331
331
  },
332
332
  setup(t) {
333
- const a = t, l = d(null);
333
+ const a = t, o = d(null);
334
334
  function e() {
335
335
  return a.type ? a.type : a.onClick ? "button" : "submit";
336
336
  }
337
337
  function i(u) {
338
338
  a.onClick && a.onClick(u);
339
339
  }
340
- return (u, f) => (g(), B("button", {
340
+ return (u, f) => (m(), S("button", {
341
341
  ref_key: "_ref",
342
- ref: l,
342
+ ref: o,
343
343
  id: u.id,
344
- class: z(n(q)("db-button", a.class)),
344
+ class: P(n(q)("db-button", a.class)),
345
345
  type: e(),
346
- disabled: n(R)(u.disabled, "disabled"),
346
+ disabled: n(V)(u.disabled, "disabled"),
347
347
  "data-icon": u.iconLeading ?? u.icon,
348
- "data-show-icon": n(F)(u.showIconLeading ?? u.showIcon),
348
+ "data-show-icon": n(R)(u.showIconLeading ?? u.showIcon),
349
349
  "data-icon-trailing": u.iconTrailing,
350
- "data-show-icon-trailing": n(F)(u.showIconTrailing),
350
+ "data-show-icon-trailing": n(R)(u.showIconTrailing),
351
351
  "data-size": u.size,
352
352
  "data-width": u.width,
353
353
  "data-variant": u.variant,
354
- "data-no-text": n(F)(u.noText),
354
+ "data-no-text": n(R)(u.noText),
355
355
  name: u.name,
356
356
  form: u.form,
357
357
  value: u.value,
358
- onClick: f[0] || (f[0] = async (m) => i(m))
358
+ onClick: f[0] || (f[0] = async (p) => i(p))
359
359
  }, [
360
- u.text ? (g(), B(U, { key: 0 }, [
361
- N(L(u.text), 1)
360
+ u.text ? (m(), S(W, { key: 0 }, [
361
+ N($(u.text), 1)
362
362
  ], 64)) : A(u.$slots, "default", { key: 1 })
363
- ], 10, Xa));
363
+ ], 10, ja));
364
364
  }
365
- }), ja = ["id", "data-behavior", "data-elevation-level", "data-spacing"], nl = /* @__PURE__ */ P({
365
+ }), co = ["outlined", "brand", "filled", "ghost"], vo = ["button", "reset", "submit"], Ya = ["id", "data-behavior", "data-elevation-level", "data-spacing"], fo = /* @__PURE__ */ G({
366
366
  __name: "card",
367
367
  props: {
368
368
  behavior: { default: void 0 },
@@ -376,26 +376,26 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
376
376
  spacing: { default: void 0 }
377
377
  },
378
378
  setup(t) {
379
- const a = t, l = d(null);
379
+ const a = t, o = d(null);
380
380
  function e(i) {
381
381
  a.onClick && a.onClick(i);
382
382
  }
383
- return (i, u) => (g(), B("div", {
383
+ return (i, u) => (m(), S("div", {
384
384
  ref_key: "_ref",
385
- ref: l,
385
+ ref: o,
386
386
  id: i.id,
387
- class: z(n(q)("db-card", a.class)),
387
+ class: P(n(q)("db-card", a.class)),
388
388
  "data-behavior": i.behavior,
389
389
  "data-elevation-level": i.elevationLevel,
390
390
  "data-spacing": i.spacing,
391
391
  onClick: u[0] || (u[0] = async (f) => e(f))
392
392
  }, [
393
393
  A(i.$slots, "default")
394
- ], 10, ja));
394
+ ], 10, Ya));
395
395
  }
396
- }), de = (t, a, l = "value") => {
397
- t(`update:${l}`, a.target[l]);
398
- }, Ya = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], ae = /* @__PURE__ */ P({
396
+ }), po = ["static", "interactive"], ho = ["1", "2", "3"], de = (t, a, o = "value") => {
397
+ t(`update:${o}`, a.target[o]);
398
+ }, Ka = ["id", "data-icon", "data-semantic", "data-size", "data-show-icon-leading"], ae = /* @__PURE__ */ G({
399
399
  __name: "infotext",
400
400
  props: {
401
401
  children: { default: void 0 },
@@ -410,26 +410,26 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
410
410
  text: { default: void 0 }
411
411
  },
412
412
  setup(t) {
413
- const a = t, l = d(null);
414
- return (e, i) => (g(), B("span", {
413
+ const a = t, o = d(null);
414
+ return (e, i) => (m(), S("span", {
415
415
  ref_key: "_ref",
416
- ref: l,
416
+ ref: o,
417
417
  id: e.id,
418
- class: z(n(q)("db-infotext", a.class)),
418
+ class: P(n(q)("db-infotext", a.class)),
419
419
  "data-icon": e.icon,
420
420
  "data-semantic": e.semantic,
421
421
  "data-size": e.size,
422
- "data-show-icon-leading": n(F)(e.showIcon ?? !0)
422
+ "data-show-icon-leading": n(R)(e.showIcon ?? !0)
423
423
  }, [
424
- e.text ? (g(), B(U, { key: 0 }, [
425
- N(L(e.text), 1)
424
+ e.text ? (m(), S(W, { key: 0 }, [
425
+ N($(e.text), 1)
426
426
  ], 64)) : A(e.$slots, "default", { key: 1 })
427
- ], 10, Ya));
427
+ ], 10, Ka));
428
428
  }
429
- }), Ka = ["data-size", "data-hide-asterisk", "data-hide-label"], Ja = ["for"], Qa = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], Za = {
429
+ }), Ja = ["data-size", "data-hide-asterisk", "data-hide-label"], Qa = ["for"], Za = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required", "aria-describedby"], xa = {
430
430
  "data-visually-hidden": "true",
431
431
  role: "status"
432
- }, sl = /* @__PURE__ */ P({
432
+ }, go = /* @__PURE__ */ G({
433
433
  __name: "checkbox",
434
434
  props: {
435
435
  indeterminate: { type: [Boolean, String], default: void 0 },
@@ -467,16 +467,16 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
467
467
  },
468
468
  emits: ["update:checked"],
469
469
  setup(t, { emit: a }) {
470
- const l = a, e = t, i = d(!1), u = d(void 0), f = d(void 0), m = d(void 0), r = d(void 0), s = d(void 0), p = d(""), T = d(""), S = d(null);
470
+ const o = a, e = t, i = d(!1), u = d(void 0), f = d(void 0), p = d(void 0), v = d(void 0), s = d(void 0), g = d(void 0), T = d(""), w = d(null);
471
471
  Y(() => {
472
472
  i.value = !0;
473
- const b = e.id ?? `checkbox-${J()}`;
474
- u.value = b, f.value = b + ve, m.value = b + fe, r.value = b + pe, s.value = e.invalidMessage || te;
473
+ const b = e.id ?? `checkbox-${Q()}`;
474
+ u.value = b, f.value = b + fe, p.value = b + pe, v.value = b + he, s.value = e.invalidMessage || te;
475
475
  }), D(
476
- () => [S.value, e.invalidMessage],
476
+ () => [w.value, e.invalidMessage],
477
477
  () => {
478
478
  var b;
479
- s.value = e.invalidMessage || ((b = S.value) == null ? void 0 : b.validationMessage) || te;
479
+ s.value = e.invalidMessage || ((b = w.value) == null ? void 0 : b.validationMessage) || te;
480
480
  },
481
481
  {
482
482
  immediate: !0,
@@ -486,8 +486,8 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
486
486
  () => [u.value],
487
487
  () => {
488
488
  if (u.value) {
489
- const b = u.value + ve;
490
- f.value = b, m.value = u.value + fe, r.value = u.value + pe, x(e.message, e.showMessage) && (p.value = b);
489
+ const b = u.value + fe;
490
+ f.value = b, p.value = u.value + pe, v.value = u.value + he, x(e.message, e.showMessage) && (g.value = b), r();
491
491
  }
492
492
  },
493
493
  {
@@ -495,18 +495,18 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
495
495
  flush: "post"
496
496
  }
497
497
  ), D(
498
- () => [i.value, S.value, e.indeterminate],
498
+ () => [i.value, w.value, e.indeterminate],
499
499
  () => {
500
- S.value && e.indeterminate !== void 0 && (S.value.indeterminate = !!R(e.indeterminate));
500
+ w.value && e.indeterminate !== void 0 && (w.value.indeterminate = !!V(e.indeterminate));
501
501
  },
502
502
  {
503
503
  immediate: !0,
504
504
  flush: "post"
505
505
  }
506
506
  ), D(
507
- () => [i.value, S.value, e.checked],
507
+ () => [i.value, w.value, e.checked],
508
508
  () => {
509
- i.value && S.value && (e.checked != null && (S.value.checked = !!R(e.checked)), i.value = !1);
509
+ i.value && w.value && (e.checked != null && (w.value.checked = !!V(e.checked)), i.value = !1);
510
510
  },
511
511
  {
512
512
  immediate: !0,
@@ -516,21 +516,21 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
516
516
  function h() {
517
517
  return !!(e.validMessage ?? e.validation === "valid");
518
518
  }
519
- function v() {
520
- var b, w, O;
521
- !((b = S.value) != null && b.validity.valid) || e.validation === "invalid" ? (p.value = r.value, s.value = e.invalidMessage || ((w = S.value) == null ? void 0 : w.validationMessage) || te, ge() && (T.value = s.value, Z(() => T.value = "", 1e3))) : h() && ((O = S.value) != null && O.validity.valid) && e.required ? (p.value = m.value, ge() && (T.value = e.validMessage ?? he, Z(() => T.value = "", 1e3))) : x(e.message, e.showMessage) ? p.value = f.value : p.value = "";
519
+ function r() {
520
+ var b, k, F;
521
+ !((b = w.value) != null && b.validity.valid) || e.validation === "invalid" ? (g.value = v.value, s.value = e.invalidMessage || ((k = w.value) == null ? void 0 : k.validationMessage) || te, me() && (T.value = s.value, Z(() => T.value = "", 1e3))) : h() && ((F = w.value) != null && F.validity.valid) && e.required ? (g.value = p.value, me() && (T.value = e.validMessage ?? ge, Z(() => T.value = "", 1e3))) : x(e.message, e.showMessage) ? g.value = f.value : g.value = void 0;
522
522
  }
523
523
  function c(b) {
524
- e.onChange && e.onChange(b), de(l, b, "checked"), v();
524
+ e.onChange && e.onChange(b), de(o, b, "checked"), r();
525
525
  }
526
- function I(b) {
526
+ function L(b) {
527
527
  e.onBlur && e.onBlur(b);
528
528
  }
529
529
  function C(b) {
530
530
  e.onFocus && e.onFocus(b);
531
531
  }
532
- return (b, w) => (g(), B("div", {
533
- class: z(n(q)("db-checkbox", e.class)),
532
+ return (b, k) => (m(), S("div", {
533
+ class: P(n(q)("db-checkbox", e.class)),
534
534
  "data-size": b.size,
535
535
  "data-hide-asterisk": n(ie)(b.showRequiredAsterisk),
536
536
  "data-hide-label": n(ie)(b.showLabel)
@@ -541,61 +541,61 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
541
541
  "aria-invalid": b.validation === "invalid",
542
542
  "data-custom-validity": b.validation,
543
543
  ref_key: "_ref",
544
- ref: S,
544
+ ref: w,
545
545
  id: u.value,
546
546
  name: b.name,
547
- checked: n(R)(b.checked, "checked"),
548
- disabled: n(R)(b.disabled, "disabled"),
547
+ checked: n(V)(b.checked, "checked"),
548
+ disabled: n(V)(b.disabled, "disabled"),
549
549
  value: b.value,
550
- required: n(R)(b.required, "required"),
551
- onChange: w[0] || (w[0] = async (O) => c(O)),
552
- onBlur: w[1] || (w[1] = async (O) => I(O)),
553
- onFocus: w[2] || (w[2] = async (O) => C(O)),
554
- "aria-describedby": b.ariaDescribedBy ?? p.value
555
- }, null, 40, Qa),
556
- b.label ? (g(), B(U, { key: 0 }, [
557
- N(L(b.label), 1)
550
+ required: n(V)(b.required, "required"),
551
+ onChange: k[0] || (k[0] = async (F) => c(F)),
552
+ onBlur: k[1] || (k[1] = async (F) => L(F)),
553
+ onFocus: k[2] || (k[2] = async (F) => C(F)),
554
+ "aria-describedby": b.ariaDescribedBy ?? g.value
555
+ }, null, 40, Za),
556
+ b.label ? (m(), S(W, { key: 0 }, [
557
+ N($(b.label), 1)
558
558
  ], 64)) : A(b.$slots, "default", { key: 1 })
559
- ], 8, Ja),
560
- n(x)(b.message, b.showMessage) ? (g(), Q(ae, {
559
+ ], 8, Qa),
560
+ n(x)(b.message, b.showMessage) ? (m(), J(ae, {
561
561
  key: 0,
562
562
  size: "small",
563
563
  icon: b.messageIcon,
564
564
  id: f.value
565
565
  }, {
566
- default: W(() => [
567
- N(L(b.message), 1)
566
+ default: H(() => [
567
+ N($(b.message), 1)
568
568
  ]),
569
569
  _: 1
570
- }, 8, ["icon", "id"])) : V("", !0),
571
- h() ? (g(), Q(ae, {
570
+ }, 8, ["icon", "id"])) : U("", !0),
571
+ h() ? (m(), J(ae, {
572
572
  key: 1,
573
573
  size: "small",
574
574
  semantic: "successful",
575
- id: m.value
575
+ id: p.value
576
576
  }, {
577
- default: W(() => [
578
- N(L(b.validMessage || n(he)), 1)
577
+ default: H(() => [
578
+ N($(b.validMessage || n(ge)), 1)
579
579
  ]),
580
580
  _: 1
581
- }, 8, ["id"])) : V("", !0),
581
+ }, 8, ["id"])) : U("", !0),
582
582
  ee(ae, {
583
583
  size: "small",
584
584
  semantic: "critical",
585
- id: r.value
585
+ id: v.value
586
586
  }, {
587
- default: W(() => [
588
- N(L(s.value), 1)
587
+ default: H(() => [
588
+ N($(s.value), 1)
589
589
  ]),
590
590
  _: 1
591
591
  }, 8, ["id"]),
592
- _("span", Za, L(T.value), 1)
593
- ], 10, Ka));
592
+ _("span", xa, $(T.value), 1)
593
+ ], 10, Ja));
594
594
  }
595
595
  }), re = class re {
596
596
  static runCallbacks(a) {
597
- for (const l of Object.values(re.callbacks))
598
- typeof l == "function" && l(a);
597
+ for (const o of Object.values(re.callbacks))
598
+ typeof o == "function" && o(a);
599
599
  }
600
600
  constructor() {
601
601
  if (re._instance)
@@ -603,8 +603,8 @@ const el = Object.entries(na).map(([, t]) => t), Ma = {
603
603
  re._instance = this, self.document && self.document.addEventListener("click", (a) => re.runCallbacks(a));
604
604
  }
605
605
  addCallback(a) {
606
- const l = J();
607
- return re.callbacks[l] = a, l;
606
+ const o = Q();
607
+ return re.callbacks[o] = a, o;
608
608
  }
609
609
  removeCallback(a) {
610
610
  delete re.callbacks[a];
@@ -624,66 +624,66 @@ const ce = class ce {
624
624
  }, !0);
625
625
  }
626
626
  static runCallbacks(a) {
627
- for (const l of Object.values(ce.callbacks))
628
- typeof l == "function" && l(a);
627
+ for (const o of Object.values(ce.callbacks))
628
+ typeof o == "function" && o(a);
629
629
  }
630
630
  addCallback(a) {
631
- const l = J();
632
- return ce.callbacks[l] = a, l;
631
+ const o = Q();
632
+ return ce.callbacks[o] = a, o;
633
633
  }
634
634
  removeCallback(a) {
635
635
  delete ce.callbacks[a];
636
636
  }
637
637
  };
638
638
  ne(ce, "callbacks", {}), ne(ce, "_instance", null);
639
- let Ie = ce;
640
- const xa = (t) => {
641
- var v;
639
+ let Be = ce;
640
+ const et = (t) => {
641
+ var r;
642
642
  const {
643
643
  top: a,
644
- bottom: l,
644
+ bottom: o,
645
645
  left: e,
646
646
  right: i
647
647
  } = t.getBoundingClientRect(), {
648
648
  innerHeight: u,
649
649
  innerWidth: f
650
650
  } = window;
651
- let m = a < 0, r = l > u, s = e < 0, p = i > f;
652
- const T = t.dataset.outsideVy, S = t.dataset.outsideVx, h = (v = t == null ? void 0 : t.parentElement) == null ? void 0 : v.getBoundingClientRect();
653
- return h && (T && (t.dataset.outsideVy === "top" ? m = h.top - (l - h.bottom) < 0 : r = h.bottom + (h.top - a) > u), S && (t.dataset.outsideVx === "left" ? s = h.left - (i - h.right) < 0 : p = h.right + (h.left - e) > f)), {
654
- outTop: m,
655
- outBottom: r,
651
+ let p = a < 0, v = o > u, s = e < 0, g = i > f;
652
+ const T = t.dataset.outsideVy, w = t.dataset.outsideVx, h = (r = t == null ? void 0 : t.parentElement) == null ? void 0 : r.getBoundingClientRect();
653
+ return h && (T && (t.dataset.outsideVy === "top" ? p = h.top - (o - h.bottom) < 0 : v = h.bottom + (h.top - a) > u), w && (t.dataset.outsideVx === "left" ? s = h.left - (i - h.right) < 0 : g = h.right + (h.left - e) > f)), {
654
+ outTop: p,
655
+ outBottom: v,
656
656
  outLeft: s,
657
- outRight: p
657
+ outRight: g
658
658
  };
659
- }, et = (t) => {
659
+ }, at = (t) => {
660
660
  const {
661
661
  outTop: a,
662
- outBottom: l,
662
+ outBottom: o,
663
663
  outLeft: e,
664
664
  outRight: i
665
- } = xa(t);
665
+ } = et(t);
666
666
  let u = {};
667
- return a || l ? (u = {
667
+ return a || o ? (u = {
668
668
  vy: a ? "top" : "bottom"
669
669
  }, t.dataset.outsideVy = u.vy) : delete t.dataset.outsideVy, e || i ? (u = {
670
670
  ...u,
671
671
  vx: i ? "right" : "left"
672
672
  }, t.dataset.outsideVx = u.vx) : delete t.dataset.outsideVx, u;
673
- }, at = (t, a, l) => {
673
+ }, tt = (t, a, o) => {
674
674
  if (getComputedStyle(t).zIndex === "9999") return;
675
675
  const {
676
676
  top: e,
677
677
  bottom: i,
678
678
  childHeight: u,
679
679
  childWidth: f,
680
- width: m,
681
- right: r,
680
+ width: p,
681
+ right: v,
682
682
  left: s,
683
- correctedPlacement: p
684
- } = da(t, a, l);
685
- t.dataset.width === "full" && (t.style.inlineSize = `${m}px`), p === "top" || p === "bottom" || p === "top-start" || p === "bottom-start" ? t.style.insetInlineStart = `${s}px` : (p === "top-end" || p === "bottom-end") && (t.style.insetInlineStart = `${r - f}px`), p != null && p.startsWith("top") ? t.style.insetBlockStart = `${e - u}px` : p != null && p.startsWith("bottom") && (t.style.insetBlockStart = `${i}px`), t.style.position = "fixed";
686
- }, da = (t, a, l) => {
683
+ correctedPlacement: g
684
+ } = ua(t, a, o);
685
+ t.dataset.width === "full" && (t.style.inlineSize = `${p}px`), g === "top" || g === "bottom" || g === "top-start" || g === "bottom-start" ? t.style.insetInlineStart = `${s}px` : (g === "top-end" || g === "bottom-end") && (t.style.insetInlineStart = `${v - f}px`), g != null && g.startsWith("top") ? t.style.insetBlockStart = `${e - u}px` : g != null && g.startsWith("bottom") && (t.style.insetBlockStart = `${i}px`), t.style.position = "fixed";
686
+ }, ua = (t, a, o) => {
687
687
  if (!t || !a)
688
688
  return {
689
689
  top: 0,
@@ -694,7 +694,7 @@ const xa = (t) => {
694
694
  left: 0,
695
695
  childHeight: 0,
696
696
  childWidth: 0,
697
- correctedPlacement: l,
697
+ correctedPlacement: o,
698
698
  innerWidth: window.innerWidth,
699
699
  innerHeight: window.innerHeight
700
700
  };
@@ -702,84 +702,84 @@ const xa = (t) => {
702
702
  top: i,
703
703
  height: u,
704
704
  bottom: f,
705
- right: m,
706
- left: r,
705
+ right: p,
706
+ left: v,
707
707
  width: s
708
708
  } = a.getBoundingClientRect(), {
709
- innerHeight: p,
709
+ innerHeight: g,
710
710
  innerWidth: T
711
711
  } = window;
712
- let S = e.height, h = e.width;
713
- (l === "bottom" || l === "top") && (h = h / 2), (l === "left" || l === "right") && (S = S / 2);
714
- const v = f + S > p, c = i - S < 0, I = r - h < 0, C = m + h > T;
715
- let b = l;
716
- return l.startsWith("bottom") ? v ? (b = l == null ? void 0 : l.replace("bottom", "top"), I && C ? b = "top" : I ? b = "top-start" : C && (b = "top-end")) : I && C ? b = "bottom" : I ? b = "bottom-start" : C && (b = "bottom-end") : l.startsWith("top") ? c ? (b = l == null ? void 0 : l.replace("top", "bottom"), I && C ? b = "bottom" : I ? b = "bottom-start" : C && (b = "bottom-end")) : I && C ? b = "top" : I ? b = "top-start" : C && (b = "top-end") : l.startsWith("left") ? I ? (b = l == null ? void 0 : l.replace("left", "right"), v && c ? b = "right" : v ? b = "right-end" : c && (b = "right-start")) : v && c ? b = "left" : v ? b = "left-end" : c && (b = "left-start") : b.startsWith("right") && (C ? (b = l == null ? void 0 : l.replace("right", "left"), v && c ? b = "left" : v ? b = "left-end" : c && (b = "left-start")) : v && c ? b = "right" : v ? b = "right-end" : c && (b = "right-start")), {
712
+ let w = e.height, h = e.width;
713
+ (o === "bottom" || o === "top") && (h = h / 2), (o === "left" || o === "right") && (w = w / 2);
714
+ const r = f + w > g, c = i - w < 0, L = v - h < 0, C = p + h > T;
715
+ let b = o;
716
+ return o.startsWith("bottom") ? r ? (b = o == null ? void 0 : o.replace("bottom", "top"), L && C ? b = "top" : L ? b = "top-start" : C && (b = "top-end")) : L && C ? b = "bottom" : L ? b = "bottom-start" : C && (b = "bottom-end") : o.startsWith("top") ? c ? (b = o == null ? void 0 : o.replace("top", "bottom"), L && C ? b = "bottom" : L ? b = "bottom-start" : C && (b = "bottom-end")) : L && C ? b = "top" : L ? b = "top-start" : C && (b = "top-end") : o.startsWith("left") ? L ? (b = o == null ? void 0 : o.replace("left", "right"), r && c ? b = "right" : r ? b = "right-end" : c && (b = "right-start")) : r && c ? b = "left" : r ? b = "left-end" : c && (b = "left-start") : b.startsWith("right") && (C ? (b = o == null ? void 0 : o.replace("right", "left"), r && c ? b = "left" : r ? b = "left-end" : c && (b = "left-start")) : r && c ? b = "right" : r ? b = "right-end" : c && (b = "right-start")), {
717
717
  top: i,
718
718
  bottom: f,
719
- right: m,
719
+ right: p,
720
720
  height: u,
721
721
  width: s,
722
- left: r,
722
+ left: v,
723
723
  childHeight: e.height,
724
724
  childWidth: e.width,
725
725
  correctedPlacement: b,
726
726
  innerWidth: T,
727
- innerHeight: p
727
+ innerHeight: g
728
728
  };
729
- }, ua = (t, a, l) => {
729
+ }, ra = (t, a, o) => {
730
730
  const e = getComputedStyle(t).getPropertyValue("--db-popover-distance") ?? "0px", {
731
731
  top: i,
732
732
  height: u,
733
733
  width: f,
734
- childHeight: m,
735
- childWidth: r,
734
+ childHeight: p,
735
+ childWidth: v,
736
736
  right: s,
737
- left: p,
737
+ left: g,
738
738
  bottom: T,
739
- correctedPlacement: S,
739
+ correctedPlacement: w,
740
740
  innerWidth: h,
741
- innerHeight: v
742
- } = da(t, a, l);
743
- if (r > f && (S.startsWith("bottom") || S.startsWith("top"))) {
744
- const c = f / 2 / r * 100;
745
- S.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-inline-start", `${c}%`) : S.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - c}%`);
741
+ innerHeight: r
742
+ } = ua(t, a, o);
743
+ if (v > f && (w.startsWith("bottom") || w.startsWith("top"))) {
744
+ const c = f / 2 / v * 100;
745
+ w.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-inline-start", `${c}%`) : w.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-inline-start", `${100 - c}%`);
746
746
  }
747
- if (m > u && (S.startsWith("left") || S.startsWith("bottom"))) {
748
- const c = u / 2 / m * 100;
749
- S.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-block-start", `${c}%`) : S.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-block-start", `${100 - c}%`);
747
+ if (p > u && (w.startsWith("left") || w.startsWith("bottom"))) {
748
+ const c = u / 2 / p * 100;
749
+ w.endsWith("start") ? t.style.setProperty("--db-tooltip-arrow-block-start", `${c}%`) : w.endsWith("end") && t.style.setProperty("--db-tooltip-arrow-block-start", `${100 - c}%`);
750
750
  }
751
- if (S === "right" || S === "left")
751
+ if (w === "right" || w === "left")
752
752
  t.style.insetBlockStart = `${i + u / 2}px`;
753
- else if (S === "right-start" || S === "left-start") {
754
- const c = i + m;
755
- t.style.insetBlockStart = `${i}px`, t.style.insetBlockEnd = `${c > v ? v : c}px`;
756
- } else if (S === "right-end" || S === "left-end") {
757
- const c = T - m;
753
+ else if (w === "right-start" || w === "left-start") {
754
+ const c = i + p;
755
+ t.style.insetBlockStart = `${i}px`, t.style.insetBlockEnd = `${c > r ? r : c}px`;
756
+ } else if (w === "right-end" || w === "left-end") {
757
+ const c = T - p;
758
758
  t.style.insetBlockStart = `${c < 0 ? 0 : c}px`, t.style.insetBlockEnd = `${T}px`;
759
- } else if (S === "top" || S === "bottom")
760
- t.style.insetInlineStart = `${p + f / 2}px`;
761
- else if (S === "top-start" || S === "bottom-start") {
762
- const c = p + r;
763
- t.style.insetInlineStart = `${p}px`, t.style.insetInlineEnd = `${c > h ? h : c}px`;
764
- } else if (S === "top-end" || S === "bottom-end") {
765
- const c = p - r;
766
- t.style.insetInlineStart = `${s - r}px`, t.style.insetInlineEnd = `${c < 0 ? 0 : c}px`;
759
+ } else if (w === "top" || w === "bottom")
760
+ t.style.insetInlineStart = `${g + f / 2}px`;
761
+ else if (w === "top-start" || w === "bottom-start") {
762
+ const c = g + v;
763
+ t.style.insetInlineStart = `${g}px`, t.style.insetInlineEnd = `${c > h ? h : c}px`;
764
+ } else if (w === "top-end" || w === "bottom-end") {
765
+ const c = g - v;
766
+ t.style.insetInlineStart = `${s - v}px`, t.style.insetInlineEnd = `${c < 0 ? 0 : c}px`;
767
767
  }
768
- if (S != null && S.startsWith("right")) {
769
- const c = s + r;
768
+ if (w != null && w.startsWith("right")) {
769
+ const c = s + v;
770
770
  t.style.insetInlineStart = `calc(${s}px + ${e})`, t.style.insetInlineEnd = `calc(${c > h ? h : c}px + ${e})`;
771
- } else if (S != null && S.startsWith("left")) {
772
- const c = p - r;
771
+ } else if (w != null && w.startsWith("left")) {
772
+ const c = g - v;
773
773
  t.style.insetInlineStart = `calc(${c < 0 ? 0 : c}px - ${e})`, t.style.insetInlineEnd = `calc(${s}px - ${e})`;
774
- } else if (S != null && S.startsWith("top")) {
775
- const c = i - m;
774
+ } else if (w != null && w.startsWith("top")) {
775
+ const c = i - p;
776
776
  t.style.insetBlockStart = `calc(${c < 0 ? 0 : c}px - ${e})`, t.style.insetBlockEnd = `calc(${T}px - ${e})`;
777
- } else if (S != null && S.startsWith("bottom")) {
778
- const c = T + m;
779
- t.style.insetBlockStart = `calc(${T}px + ${e})`, t.style.insetBlockEnd = `calc(${c > v ? v : c}px + ${e})`;
777
+ } else if (w != null && w.startsWith("bottom")) {
778
+ const c = T + p;
779
+ t.style.insetBlockStart = `calc(${T}px + ${e})`, t.style.insetBlockEnd = `calc(${c > r ? r : c}px + ${e})`;
780
780
  }
781
- t.style.position = "fixed", t.dataset.correctedPlacement = S;
782
- }, tt = ["id", "data-width"], it = /* @__PURE__ */ P({
781
+ t.style.position = "fixed", t.dataset.correctedPlacement = w;
782
+ }, it = ["id", "data-width"], ot = /* @__PURE__ */ G({
783
783
  __name: "custom-select-dropdown",
784
784
  props: {
785
785
  width: { default: "fixed" },
@@ -790,19 +790,19 @@ const xa = (t) => {
790
790
  autofocus: { type: [Boolean, String] }
791
791
  },
792
792
  setup(t) {
793
- const a = t, l = d(null);
794
- return (e, i) => (g(), B("article", {
793
+ const a = t, o = d(null);
794
+ return (e, i) => (m(), S("article", {
795
795
  "data-spacing": "none",
796
796
  ref_key: "_ref",
797
- ref: l,
797
+ ref: o,
798
798
  id: e.id,
799
- class: z(n(q)("db-custom-select-dropdown db-card", a.class)),
799
+ class: P(n(q)("db-custom-select-dropdown db-card", a.class)),
800
800
  "data-width": e.width
801
801
  }, [
802
802
  A(e.$slots, "default")
803
- ], 10, tt));
803
+ ], 10, it));
804
804
  }
805
- }), lt = ["id", "data-divider"], ot = ["data-icon", "data-show-icon", "data-icon-trailing"], nt = ["type", "name", "form", "checked", "disabled", "value"], st = { key: 1 }, dt = /* @__PURE__ */ P({
805
+ }), lt = ["id", "data-divider"], nt = ["data-icon", "data-show-icon", "data-icon-trailing"], st = ["type", "name", "form", "checked", "disabled", "value"], dt = { key: 1 }, ut = /* @__PURE__ */ G({
806
806
  __name: "custom-select-list-item",
807
807
  props: {
808
808
  groupTitle: { default: void 0 },
@@ -826,9 +826,9 @@ const xa = (t) => {
826
826
  },
827
827
  emits: ["update:checked"],
828
828
  setup(t, { emit: a }) {
829
- const l = a, e = t, i = d(void 0), u = d(!1), f = d(null);
829
+ const o = a, e = t, i = d(void 0), u = d(!1), f = d(null);
830
830
  Y(() => {
831
- i.value = e.id ?? `custom-select-list-item-${J()}`;
831
+ i.value = e.id ?? `custom-select-list-item-${Q()}`;
832
832
  }), D(
833
833
  () => [e.isGroupTitle, e.showDivider],
834
834
  () => {
@@ -839,30 +839,30 @@ const xa = (t) => {
839
839
  flush: "post"
840
840
  }
841
841
  );
842
- function m(s) {
843
- s.stopPropagation(), e.onChange && e.onChange(s), de(l, s, "checked");
842
+ function p(s) {
843
+ s.stopPropagation(), e.onChange && e.onChange(s), de(o, s, "checked");
844
844
  }
845
- function r() {
845
+ function v() {
846
846
  if (!(e.isGroupTitle || e.type === "checkbox"))
847
- return R(e.checked, "checked") ? "check" : "x_placeholder";
847
+ return V(e.checked, "checked") ? "check" : "x_placeholder";
848
848
  }
849
- return (s, p) => (g(), B("li", {
849
+ return (s, g) => (m(), S("li", {
850
850
  ref_key: "_ref",
851
851
  ref: f,
852
852
  id: i.value,
853
- class: z(
853
+ class: P(
854
854
  n(q)("db-custom-select-list-item", e.class, {
855
855
  "db-checkbox": s.type === "checkbox" && !s.isGroupTitle,
856
856
  "db-radio": s.type !== "checkbox" && !s.isGroupTitle
857
857
  })
858
858
  ),
859
- "data-divider": n(F)(u.value)
859
+ "data-divider": n(R)(u.value)
860
860
  }, [
861
- s.isGroupTitle ? (g(), B("span", st, L(s.groupTitle), 1)) : (g(), B("label", {
861
+ s.isGroupTitle ? (m(), S("span", dt, $(s.groupTitle), 1)) : (m(), S("label", {
862
862
  key: 0,
863
863
  "data-icon": s.type !== "checkbox" && s.icon ? s.icon : void 0,
864
- "data-show-icon": n(F)(s.showIcon),
865
- "data-icon-trailing": r()
864
+ "data-show-icon": n(R)(s.showIcon),
865
+ "data-icon-trailing": v()
866
866
  }, [
867
867
  _("input", {
868
868
  class: "db-custom-select-list-item-checkbox",
@@ -870,18 +870,18 @@ const xa = (t) => {
870
870
  type: s.type,
871
871
  name: s.name,
872
872
  form: s.name,
873
- checked: n(R)(s.checked, "checked"),
874
- disabled: n(R)(s.disabled, "disabled"),
873
+ checked: n(V)(s.checked, "checked"),
874
+ disabled: n(V)(s.disabled, "disabled"),
875
875
  value: s.value,
876
- onChange: p[0] || (p[0] = async (T) => m(T))
877
- }, null, 40, nt),
878
- s.label ? (g(), B(U, { key: 0 }, [
879
- N(L(s.label), 1)
876
+ onChange: g[0] || (g[0] = async (T) => p(T))
877
+ }, null, 40, st),
878
+ s.label ? (m(), S(W, { key: 0 }, [
879
+ N($(s.label), 1)
880
880
  ], 64)) : A(s.$slots, "default", { key: 1 })
881
- ], 8, ot))
881
+ ], 8, nt))
882
882
  ], 10, lt));
883
883
  }
884
- }), ut = ["role", "aria-label", "id"], rt = /* @__PURE__ */ P({
884
+ }), rt = ["role", "aria-label", "id"], ct = /* @__PURE__ */ G({
885
885
  __name: "custom-select-list",
886
886
  props: {
887
887
  label: { default: void 0 },
@@ -893,24 +893,24 @@ const xa = (t) => {
893
893
  autofocus: { type: [Boolean, String] }
894
894
  },
895
895
  setup(t) {
896
- const a = t, l = d(null);
897
- return (e, i) => (g(), B("div", {
896
+ const a = t, o = d(null);
897
+ return (e, i) => (m(), S("div", {
898
898
  role: e.multiple ? "group" : "radiogroup",
899
899
  "aria-label": e.label,
900
900
  ref_key: "_ref",
901
- ref: l,
901
+ ref: o,
902
902
  id: e.id,
903
- class: z(n(q)("db-custom-select-list", a.class))
903
+ class: P(n(q)("db-custom-select-list", a.class))
904
904
  }, [
905
905
  _("ul", null, [
906
906
  A(e.$slots, "default")
907
907
  ])
908
- ], 10, ut));
908
+ ], 10, rt));
909
909
  }
910
- }), ct = ["data-variant", "data-hide-label", "data-show-icon", "data-icon", "data-icon-trailing", "data-hide-asterisk", "data-show-icon-trailing"], vt = ["for"], ft = ["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", "list", "aria-describedby"], pt = ["id"], ht = ["value"], gt = {
910
+ }), vt = ["data-variant", "data-hide-label", "data-show-icon", "data-icon", "data-icon-trailing", "data-hide-asterisk", "data-show-icon-trailing"], ft = ["for"], pt = ["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", "list", "aria-describedby"], ht = ["id"], gt = ["value"], mt = {
911
911
  "data-visually-hidden": "true",
912
912
  role: "status"
913
- }, mt = /* @__PURE__ */ P({
913
+ }, bt = /* @__PURE__ */ G({
914
914
  __name: "input",
915
915
  props: {
916
916
  dataList: { default: void 0 },
@@ -969,15 +969,15 @@ const xa = (t) => {
969
969
  },
970
970
  emits: ["update:value"],
971
971
  setup(t, { emit: a }) {
972
- const l = a, e = t, i = d(void 0), u = d(void 0), f = d(void 0), m = d(void 0), r = d(void 0), s = d(void 0), p = d(""), T = d(""), S = d(""), h = d(null);
972
+ const o = a, e = t, i = d(void 0), u = d(void 0), f = d(void 0), p = d(void 0), v = d(void 0), s = d(void 0), g = d(void 0), T = d(void 0), w = d(""), h = d(null);
973
973
  Y(() => {
974
- const y = e.id ?? `input-${J()}`;
975
- i.value = y, u.value = y + ve, f.value = y + fe, m.value = y + pe, s.value = y + Ze, r.value = e.invalidMessage || te;
974
+ const y = e.id ?? `input-${Q()}`;
975
+ i.value = y, u.value = y + fe, f.value = y + pe, p.value = y + he, s.value = y + xe, v.value = e.invalidMessage || te;
976
976
  }), D(
977
977
  () => [h.value, e.invalidMessage],
978
978
  () => {
979
979
  var y;
980
- r.value = e.invalidMessage || ((y = h.value) == null ? void 0 : y.validationMessage) || te;
980
+ v.value = e.invalidMessage || ((y = h.value) == null ? void 0 : y.validationMessage) || te;
981
981
  },
982
982
  {
983
983
  immediate: !0,
@@ -987,8 +987,8 @@ const xa = (t) => {
987
987
  () => [i.value],
988
988
  () => {
989
989
  if (i.value) {
990
- const y = i.value + ve;
991
- u.value = y, f.value = i.value + fe, m.value = i.value + pe, s.value = e.dataListId ?? i.value + Ze, x(e.message, e.showMessage) && (p.value = y);
990
+ const y = i.value + fe;
991
+ u.value = y, f.value = i.value + pe, p.value = i.value + he, s.value = e.dataListId ?? i.value + xe, x(e.message, e.showMessage) && (g.value = y), c();
992
992
  }
993
993
  },
994
994
  {
@@ -1005,45 +1005,45 @@ const xa = (t) => {
1005
1005
  flush: "post"
1006
1006
  }
1007
1007
  );
1008
- function v() {
1008
+ function r() {
1009
1009
  return !!(e.validMessage ?? e.validation === "valid");
1010
1010
  }
1011
1011
  function c() {
1012
- var y, H, k;
1013
- !((y = h.value) != null && y.validity.valid) || e.validation === "invalid" ? (p.value = m.value, r.value = e.invalidMessage || ((H = h.value) == null ? void 0 : H.validationMessage) || te, ge() && (S.value = r.value, Z(() => S.value = "", 1e3))) : v() && ((k = h.value) != null && k.validity.valid) && (e.required || e.minLength || e.maxLength || e.pattern) ? (p.value = f.value, ge() && (S.value = e.validMessage ?? he, Z(() => S.value = "", 1e3))) : x(e.message, e.showMessage) ? p.value = u.value : p.value = "";
1012
+ var y, X, B;
1013
+ !((y = h.value) != null && y.validity.valid) || e.validation === "invalid" ? (g.value = p.value, v.value = e.invalidMessage || ((X = h.value) == null ? void 0 : X.validationMessage) || te, me() && (w.value = v.value, Z(() => w.value = "", 1e3))) : r() && ((B = h.value) != null && B.validity.valid) && (e.required || e.minLength || e.maxLength || e.pattern) ? (g.value = f.value, me() && (w.value = e.validMessage ?? ge, Z(() => w.value = "", 1e3))) : x(e.message, e.showMessage) ? g.value = u.value : g.value = void 0;
1014
1014
  }
1015
- function I(y) {
1016
- e.input && e.input(y), T.value = y.target.value, e.onInput && e.onInput(y), de(l, y), c();
1015
+ function L(y) {
1016
+ e.input && e.input(y), T.value = y.target.value, e.onInput && e.onInput(y), de(o, y), c();
1017
1017
  }
1018
1018
  function C(y) {
1019
- e.onChange && e.onChange(y), de(l, y), c();
1019
+ e.onChange && e.onChange(y), de(o, y), c();
1020
1020
  }
1021
1021
  function b(y) {
1022
1022
  e.onBlur && e.onBlur(y);
1023
1023
  }
1024
- function w(y) {
1024
+ function k(y) {
1025
1025
  e.onFocus && e.onFocus(y);
1026
1026
  }
1027
- function O() {
1027
+ function F() {
1028
1028
  const y = e.dataList;
1029
1029
  return Array.from(
1030
- (za(y) ? y == null ? void 0 : y.map((H) => ({
1031
- value: H,
1030
+ (Va(y) ? y == null ? void 0 : y.map((X) => ({
1031
+ value: X,
1032
1032
  label: void 0
1033
1033
  })) : y) || []
1034
1034
  );
1035
1035
  }
1036
- return (y, H) => (g(), B("div", {
1037
- class: z(n(q)("db-input", e.class)),
1036
+ return (y, X) => (m(), S("div", {
1037
+ class: P(n(q)("db-input", e.class)),
1038
1038
  "data-variant": y.variant,
1039
1039
  "data-hide-label": n(ie)(y.showLabel),
1040
- "data-show-icon": n(F)(y.showIconLeading ?? y.showIcon),
1040
+ "data-show-icon": n(R)(y.showIconLeading ?? y.showIcon),
1041
1041
  "data-icon": y.iconLeading ?? y.icon,
1042
1042
  "data-icon-trailing": y.iconTrailing,
1043
1043
  "data-hide-asterisk": n(ie)(y.showRequiredAsterisk),
1044
- "data-show-icon-trailing": n(F)(y.showIconTrailing)
1044
+ "data-show-icon-trailing": n(R)(y.showIconTrailing)
1045
1045
  }, [
1046
- _("label", { for: i.value }, L(y.label ?? n(ke)), 9, vt),
1046
+ _("label", { for: i.value }, $(y.label ?? n(we)), 9, ft),
1047
1047
  _("input", {
1048
1048
  "aria-invalid": y.validation === "invalid",
1049
1049
  "data-custom-validity": y.validation,
@@ -1053,75 +1053,75 @@ const xa = (t) => {
1053
1053
  id: i.value,
1054
1054
  name: y.name,
1055
1055
  type: y.type || "text",
1056
- multiple: n(R)(y.multiple, "multiple"),
1057
- placeholder: y.placeholder ?? n(aa),
1058
- disabled: n(R)(y.disabled, "disabled"),
1059
- required: n(R)(y.required, "required"),
1060
- step: n(Se)(y.step),
1056
+ multiple: n(V)(y.multiple, "multiple"),
1057
+ placeholder: y.placeholder ?? n(ta),
1058
+ disabled: n(V)(y.disabled, "disabled"),
1059
+ required: n(V)(y.required, "required"),
1060
+ step: n(ke)(y.step),
1061
1061
  value: y.value ?? T.value,
1062
- maxLength: n(Se)(y.maxLength, y.maxlength),
1063
- minLength: n(Se)(y.minLength, y.minlength),
1064
- max: n(xe)(y.max, y.type),
1065
- min: n(xe)(y.min, y.type),
1066
- readOnly: n(R)(y.readOnly, "readOnly") || n(R)(y.readonly, "readonly"),
1062
+ maxLength: n(ke)(y.maxLength, y.maxlength),
1063
+ minLength: n(ke)(y.minLength, y.minlength),
1064
+ max: n(ea)(y.max, y.type),
1065
+ min: n(ea)(y.min, y.type),
1066
+ readOnly: n(V)(y.readOnly, "readOnly") || n(V)(y.readonly, "readonly"),
1067
1067
  form: y.form,
1068
1068
  pattern: y.pattern,
1069
1069
  size: y.size,
1070
1070
  autoComplete: y.autocomplete,
1071
- autoFocus: n(R)(y.autofocus, "autofocus"),
1072
- onInput: H[0] || (H[0] = async (k) => I(k)),
1073
- onChange: H[1] || (H[1] = async (k) => C(k)),
1074
- onBlur: H[2] || (H[2] = async (k) => b(k)),
1075
- onFocus: H[3] || (H[3] = async (k) => w(k)),
1071
+ autoFocus: n(V)(y.autofocus, "autofocus"),
1072
+ onInput: X[0] || (X[0] = async (B) => L(B)),
1073
+ onChange: X[1] || (X[1] = async (B) => C(B)),
1074
+ onBlur: X[2] || (X[2] = async (B) => b(B)),
1075
+ onFocus: X[3] || (X[3] = async (B) => k(B)),
1076
1076
  list: y.dataList && s.value,
1077
- "aria-describedby": y.ariaDescribedBy ?? p.value
1078
- }, null, 40, ft),
1079
- y.dataList ? (g(), B("datalist", {
1077
+ "aria-describedby": y.ariaDescribedBy ?? g.value
1078
+ }, null, 40, pt),
1079
+ y.dataList ? (m(), S("datalist", {
1080
1080
  key: 0,
1081
1081
  id: s.value
1082
1082
  }, [
1083
- (g(!0), B(U, null, be(O(), (k) => (g(), B("option", {
1084
- key: s.value + "-option-" + k.value,
1085
- value: k.value
1086
- }, L(k.label), 9, ht))), 128))
1087
- ], 8, pt)) : V("", !0),
1083
+ (m(!0), S(W, null, ye(F(), (B) => (m(), S("option", {
1084
+ key: s.value + "-option-" + B.value,
1085
+ value: B.value
1086
+ }, $(B.label), 9, gt))), 128))
1087
+ ], 8, ht)) : U("", !0),
1088
1088
  A(y.$slots, "default"),
1089
- n(x)(y.message, y.showMessage) ? (g(), Q(ae, {
1089
+ n(x)(y.message, y.showMessage) ? (m(), J(ae, {
1090
1090
  key: 1,
1091
1091
  size: "small",
1092
1092
  icon: y.messageIcon,
1093
1093
  id: u.value
1094
1094
  }, {
1095
- default: W(() => [
1096
- N(L(y.message), 1)
1095
+ default: H(() => [
1096
+ N($(y.message), 1)
1097
1097
  ]),
1098
1098
  _: 1
1099
- }, 8, ["icon", "id"])) : V("", !0),
1100
- v() ? (g(), Q(ae, {
1099
+ }, 8, ["icon", "id"])) : U("", !0),
1100
+ r() ? (m(), J(ae, {
1101
1101
  key: 2,
1102
1102
  size: "small",
1103
1103
  semantic: "successful",
1104
1104
  id: f.value
1105
1105
  }, {
1106
- default: W(() => [
1107
- N(L(y.validMessage || n(he)), 1)
1106
+ default: H(() => [
1107
+ N($(y.validMessage || n(ge)), 1)
1108
1108
  ]),
1109
1109
  _: 1
1110
- }, 8, ["id"])) : V("", !0),
1110
+ }, 8, ["id"])) : U("", !0),
1111
1111
  ee(ae, {
1112
1112
  size: "small",
1113
1113
  semantic: "critical",
1114
- id: m.value
1114
+ id: p.value
1115
1115
  }, {
1116
- default: W(() => [
1117
- N(L(r.value), 1)
1116
+ default: H(() => [
1117
+ N($(v.value), 1)
1118
1118
  ]),
1119
1119
  _: 1
1120
1120
  }, 8, ["id"]),
1121
- _("span", gt, L(S.value), 1)
1122
- ], 10, ct));
1121
+ _("span", mt, $(w.value), 1)
1122
+ ], 10, vt));
1123
1123
  }
1124
- }), bt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ra = /* @__PURE__ */ P({
1124
+ }), yt = ["id", "data-emphasis", "data-animation", "data-delay", "data-width", "data-show-arrow", "data-placement"], ca = /* @__PURE__ */ G({
1125
1125
  __name: "tooltip",
1126
1126
  props: {
1127
1127
  showArrow: { type: [Boolean, String], default: void 0 },
@@ -1138,21 +1138,21 @@ const xa = (t) => {
1138
1138
  width: { default: void 0 }
1139
1139
  },
1140
1140
  setup(t) {
1141
- const a = t, l = d(Le), e = d(!1), i = d(void 0), u = d(void 0), f = d(null);
1141
+ const a = t, o = d(Te), e = d(!1), i = d(void 0), u = d(void 0), f = d(null);
1142
1142
  Y(() => {
1143
- l.value = a.id || "tooltip-" + J(), e.value = !0;
1143
+ o.value = a.id || "tooltip-" + Q(), e.value = !0;
1144
1144
  }), D(
1145
1145
  () => [f.value, e.value],
1146
1146
  () => {
1147
- if (f.value && e.value && l.value) {
1148
- const v = s();
1149
- v && (["mouseenter", "focusin"].forEach((c) => {
1150
- v.addEventListener(c, () => h(v));
1151
- }), v.addEventListener("keydown", (c) => r(c)), ["mouseleave", "focusout"].forEach((c) => {
1152
- v.addEventListener(c, () => S());
1153
- }), v.dataset.hasTooltip = "true", a.variant === "label" ? v.setAttribute("aria-labelledby", l.value) : v.setAttribute("aria-describedby", l.value)), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((c) => {
1154
- const I = c.find(({ target: C }) => C === s());
1155
- I && !I.isIntersecting && r(!1);
1147
+ if (f.value && e.value && o.value) {
1148
+ const r = s();
1149
+ r && (["mouseenter", "focusin"].forEach((c) => {
1150
+ r.addEventListener(c, () => h(r));
1151
+ }), r.addEventListener("keydown", (c) => v(c)), ["mouseleave", "focusout"].forEach((c) => {
1152
+ r.addEventListener(c, () => w());
1153
+ }), r.dataset.hasTooltip = "true", a.variant === "label" ? r.setAttribute("aria-labelledby", o.value) : r.setAttribute("aria-describedby", o.value)), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((c) => {
1154
+ const L = c.find(({ target: C }) => C === s());
1155
+ L && !L.isIntersecting && v(!1);
1156
1156
  })), e.value = !1;
1157
1157
  }
1158
1158
  },
@@ -1161,61 +1161,61 @@ const xa = (t) => {
1161
1161
  flush: "post"
1162
1162
  }
1163
1163
  );
1164
- function m(v) {
1165
- v.stopPropagation();
1164
+ function p(r) {
1165
+ r.stopPropagation();
1166
1166
  }
1167
- function r(v) {
1168
- (!v || v.key === "Escape") && f.value && getComputedStyle(f.value).visibility === "visible" && s().blur();
1167
+ function v(r) {
1168
+ (!r || r.key === "Escape") && f.value && getComputedStyle(f.value).visibility === "visible" && s().blur();
1169
1169
  }
1170
1170
  function s() {
1171
- let v = f.value.parentElement;
1172
- return v && v.localName.includes("tooltip") && (v = v.parentElement), v;
1171
+ let r = f.value.parentElement;
1172
+ return r && r.localName.includes("tooltip") && (r = r.parentElement), r;
1173
1173
  }
1174
- function p(v) {
1175
- v && f.value && Z(() => {
1176
- ua(
1174
+ function g(r) {
1175
+ r && f.value && Z(() => {
1176
+ ra(
1177
1177
  f.value,
1178
- v,
1178
+ r,
1179
1179
  a.placement ?? "bottom"
1180
1180
  );
1181
1181
  }, 1);
1182
1182
  }
1183
- function T(v, c) {
1184
- var I, C;
1185
- (I = v == null ? void 0 : v.target) != null && I.contains && ((C = v == null ? void 0 : v.target) != null && C.contains(f.value)) && p(c);
1183
+ function T(r, c) {
1184
+ var L, C;
1185
+ (L = r == null ? void 0 : r.target) != null && L.contains && ((C = r == null ? void 0 : r.target) != null && C.contains(f.value)) && g(c);
1186
1186
  }
1187
- function S() {
1188
- var v;
1189
- i.value && new Ie().removeCallback(
1187
+ function w() {
1188
+ var r;
1189
+ i.value && new Be().removeCallback(
1190
1190
  i.value
1191
- ), (v = u.value) == null || v.unobserve(s());
1191
+ ), (r = u.value) == null || r.unobserve(s());
1192
1192
  }
1193
- function h(v) {
1193
+ function h(r) {
1194
1194
  var c;
1195
- i.value = new Ie().addCallback(
1196
- (I) => T(I, v)
1197
- ), p(v), (c = u.value) == null || c.observe(s());
1195
+ i.value = new Be().addCallback(
1196
+ (L) => T(L, r)
1197
+ ), g(r), (c = u.value) == null || c.observe(s());
1198
1198
  }
1199
- return (v, c) => (g(), B("i", {
1199
+ return (r, c) => (m(), S("i", {
1200
1200
  role: "tooltip",
1201
1201
  "aria-hidden": "true",
1202
1202
  "data-gap": "true",
1203
1203
  ref_key: "_ref",
1204
1204
  ref: f,
1205
- class: z(n(q)("db-tooltip", a.class)),
1206
- id: l.value,
1207
- "data-emphasis": v.emphasis,
1208
- "data-animation": n(F)(v.animation ?? !0),
1209
- "data-delay": v.delay,
1210
- "data-width": v.width,
1211
- "data-show-arrow": n(F)(v.showArrow ?? !0),
1212
- "data-placement": v.placement,
1213
- onClick: c[0] || (c[0] = async (I) => m(I))
1205
+ class: P(n(q)("db-tooltip", a.class)),
1206
+ id: o.value,
1207
+ "data-emphasis": r.emphasis,
1208
+ "data-animation": n(R)(r.animation ?? !0),
1209
+ "data-delay": r.delay,
1210
+ "data-width": r.width,
1211
+ "data-show-arrow": n(R)(r.showArrow ?? !0),
1212
+ "data-placement": r.placement,
1213
+ onClick: c[0] || (c[0] = async (L) => p(L))
1214
1214
  }, [
1215
- A(v.$slots, "default")
1216
- ], 10, bt));
1215
+ A(r.$slots, "default")
1216
+ ], 10, yt));
1217
1217
  }
1218
- }), yt = ["id", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-show-icon", "data-no-text", "data-overflow"], wt = /* @__PURE__ */ P({
1218
+ }), wt = ["id", "data-semantic", "data-emphasis", "data-icon", "data-show-check-state", "data-show-icon", "data-no-text", "data-overflow"], kt = /* @__PURE__ */ G({
1219
1219
  __name: "tag",
1220
1220
  props: {
1221
1221
  behavior: { default: void 0 },
@@ -1239,32 +1239,32 @@ const xa = (t) => {
1239
1239
  remove: {}
1240
1240
  },
1241
1241
  setup(t) {
1242
- const a = t, l = d(null);
1242
+ const a = t, o = d(null);
1243
1243
  function e(u) {
1244
1244
  u && (u.stopPropagation(), a.onRemove && a.onRemove(u));
1245
1245
  }
1246
1246
  function i() {
1247
- return a.removeButton ? a.removeButton : ta;
1247
+ return a.removeButton ? a.removeButton : ia;
1248
1248
  }
1249
- return (u, f) => (g(), B("div", {
1249
+ return (u, f) => (m(), S("div", {
1250
1250
  ref_key: "_ref",
1251
- ref: l,
1251
+ ref: o,
1252
1252
  id: u.id,
1253
- class: z(n(q)("db-tag", a.class)),
1253
+ class: P(n(q)("db-tag", a.class)),
1254
1254
  "data-semantic": u.semantic,
1255
1255
  "data-emphasis": u.emphasis,
1256
1256
  "data-icon": u.icon,
1257
- "data-show-check-state": n(F)(u.showCheckState ?? !0),
1258
- "data-show-icon": n(F)(u.showIcon),
1259
- "data-no-text": n(F)(u.noText),
1260
- "data-overflow": n(F)(u.overflow)
1257
+ "data-show-check-state": n(R)(u.showCheckState ?? !0),
1258
+ "data-show-icon": n(R)(u.showIcon),
1259
+ "data-no-text": n(R)(u.noText),
1260
+ "data-overflow": n(R)(u.overflow)
1261
1261
  }, [
1262
1262
  A(u.$slots, "content"),
1263
1263
  A(u.$slots, "default"),
1264
- u.text ? (g(), B(U, { key: 0 }, [
1265
- N(L(u.text), 1)
1266
- ], 64)) : V("", !0),
1267
- u.behavior === "removable" ? (g(), B("button", {
1264
+ u.text ? (m(), S(W, { key: 0 }, [
1265
+ N($(u.text), 1)
1266
+ ], 64)) : U("", !0),
1267
+ u.behavior === "removable" ? (m(), S("button", {
1268
1268
  key: 1,
1269
1269
  class: "db-button db-tab-remove-button",
1270
1270
  "data-icon": "cross",
@@ -1272,21 +1272,21 @@ const xa = (t) => {
1272
1272
  "data-no-text": "true",
1273
1273
  "data-variant": "ghost",
1274
1274
  type: "button",
1275
- onClick: f[0] || (f[0] = async (m) => e(m))
1275
+ onClick: f[0] || (f[0] = async (p) => e(p))
1276
1276
  }, [
1277
- ee(ra, { variant: "label" }, {
1278
- default: W(() => [
1279
- N(L(i()), 1)
1277
+ ee(ca, { variant: "label" }, {
1278
+ default: H(() => [
1279
+ N($(i()), 1)
1280
1280
  ]),
1281
1281
  _: 1
1282
1282
  })
1283
- ])) : V("", !0)
1284
- ], 10, yt));
1283
+ ])) : U("", !0)
1284
+ ], 10, wt));
1285
1285
  }
1286
- }), kt = ["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"], St = ["id"], Bt = ["id", "form", "name", "multiple", "disabled", "required"], It = ["disabled", "value"], $t = ["open"], Lt = ["id", "aria-disabled", "aria-labelledby"], Tt = ["data-visually-hidden", "id"], _t = { key: 1 }, Ct = { key: 0 }, Et = { key: 0 }, At = { class: "db-checkbox db-custom-select-list-item" }, Dt = ["form", "checked"], Nt = ["aria-hidden", "id"], Ft = {
1286
+ }), St = ["id", "aria-invalid", "data-custom-validity", "data-width", "data-variant", "data-required", "data-hide-asterisk", "data-placement", "data-selected-type", "data-hide-label", "data-icon", "data-show-icon"], Bt = ["id"], Lt = ["id", "form", "name", "multiple", "disabled", "required"], It = ["disabled", "value"], $t = ["open"], Tt = ["id", "aria-disabled", "aria-labelledby"], _t = ["data-visually-hidden", "id"], Ct = { key: 1 }, Et = { key: 0 }, At = { key: 0 }, Dt = { class: "db-checkbox db-custom-select-list-item" }, Nt = ["form", "checked"], Ft = ["aria-hidden", "id"], Mt = {
1287
1287
  "data-visually-hidden": "true",
1288
1288
  role: "status"
1289
- }, dl = /* @__PURE__ */ P({
1289
+ }, mo = /* @__PURE__ */ G({
1290
1290
  __name: "custom-select",
1291
1291
  props: {
1292
1292
  children: { default: void 0 },
@@ -1351,21 +1351,21 @@ const xa = (t) => {
1351
1351
  },
1352
1352
  emits: ["update:values"],
1353
1353
  setup(t, { emit: a }) {
1354
- const l = a, e = t, i = d(void 0), u = d(void 0), f = d(void 0), m = d(void 0), r = d(void 0), s = d(void 0), p = d(void 0), T = d(void 0), S = d(void 0), h = d(void 0), v = d("no-validation"), c = d(""), I = d(""), C = d(void 0), b = d(""), w = d([]), O = d(!1), y = d(!1), H = d(0), k = d([]), X = d([]), le = d(!1), K = d(void 0), Ne = d(0), ye = d(void 0), _e = d(void 0), qe = d(void 0), Ve = d(!1), Ce = d(!1), ca = d(null), M = d(null), we = d(null), Fe = d(null), Pe = d(null);
1354
+ const o = a, e = t, i = d(void 0), u = d(void 0), f = d(void 0), p = d(void 0), v = d(void 0), s = d(void 0), g = d(void 0), T = d(void 0), w = d(void 0), h = d(void 0), r = d("no-validation"), c = d(!1), L = d(void 0), C = d(""), b = d(void 0), k = d(""), F = d([]), y = d(!1), X = d(!1), B = d(0), M = d([]), oe = d([]), K = d(!1), _e = d(void 0), Le = d(0), Ce = d(void 0), Ve = d(void 0), Pe = d(void 0), qe = d(!1), Ee = d(!1), va = d(null), z = d(null), ve = d(null), Fe = d(null), Ue = d(null);
1355
1355
  Y(() => {
1356
- const o = e.id ?? `custom-select-${J()}`;
1357
- i.value = o, u.value = o + ve, f.value = o + fe, m.value = o + pe, s.value = o + Qe, p.value = o + Je, T.value = o + "-summary", S.value = o + Re, C.value = o + "-selected-labels", h.value = o + "-info", r.value = e.invalidMessage || te, typeof window < "u" && "IntersectionObserver" in window && (_e.value = new IntersectionObserver(($) => {
1358
- if (M.value) {
1359
- const E = $.find(({ target: j }) => j === M.value);
1360
- E && !E.isIntersecting && M.value.open && (M.value.open = !1);
1356
+ const l = e.id ?? `custom-select-${Q()}`;
1357
+ i.value = l, u.value = l + fe, f.value = l + pe, p.value = l + he, s.value = l + Ze, g.value = l + Qe, T.value = l + "-summary", w.value = l + Re, b.value = l + "-selected-labels", h.value = l + "-info", v.value = e.invalidMessage || te, typeof window < "u" && "IntersectionObserver" in window && (Ve.value = new IntersectionObserver((I) => {
1358
+ if (z.value) {
1359
+ const E = I.find(({ target: j }) => j === z.value);
1360
+ E && !E.isIntersecting && z.value.open && (z.value.open = !1);
1361
1361
  }
1362
1362
  }));
1363
1363
  }), D(
1364
- () => [M.value],
1364
+ () => [z.value],
1365
1365
  () => {
1366
- M.value && M.value.addEventListener(
1366
+ z.value && z.value.addEventListener(
1367
1367
  "focusout",
1368
- (o) => Ee(o)
1368
+ (l) => Ae(l)
1369
1369
  );
1370
1370
  },
1371
1371
  {
@@ -1376,8 +1376,8 @@ const xa = (t) => {
1376
1376
  () => [i.value],
1377
1377
  () => {
1378
1378
  if (i.value) {
1379
- const o = i.value + ve;
1380
- p.value = i.value + Je, s.value = i.value + Qe, f.value = i.value + fe, m.value = i.value + pe, S.value = i.value + Re, x(e.message, e.showMessage) ? Oe(o) : Oe();
1379
+ const l = i.value + fe;
1380
+ g.value = i.value + Qe, s.value = i.value + Ze, f.value = i.value + pe, p.value = i.value + he, w.value = i.value + Re, x(e.message, e.showMessage) ? He(l) : He();
1381
1381
  }
1382
1382
  },
1383
1383
  {
@@ -1385,13 +1385,13 @@ const xa = (t) => {
1385
1385
  flush: "post"
1386
1386
  }
1387
1387
  ), D(
1388
- () => [M.value, c.value],
1388
+ () => [z.value, L.value],
1389
1389
  () => {
1390
- if (M.value) {
1391
- const o = M.value.querySelector("summary");
1392
- o && o.setAttribute(
1390
+ if (z.value) {
1391
+ const l = z.value.querySelector("summary");
1392
+ l && l.setAttribute(
1393
1393
  "aria-describedby",
1394
- e.ariaDescribedBy ?? (c.value || "")
1394
+ e.ariaDescribedBy ?? (L.value || "")
1395
1395
  );
1396
1396
  }
1397
1397
  },
@@ -1400,27 +1400,27 @@ const xa = (t) => {
1400
1400
  flush: "post"
1401
1401
  }
1402
1402
  ), D(
1403
- () => [e.showNoResults, X.value],
1403
+ () => [e.showNoResults, e.showLoading, oe.value],
1404
1404
  () => {
1405
- e.showNoResults !== void 0 ? le.value = e.showNoResults : X.value && (le.value = X.value.length === 0);
1405
+ e.showNoResults !== void 0 ? K.value = e.showNoResults : oe.value && (K.value = oe.value.length === 0);
1406
1406
  },
1407
1407
  {
1408
1408
  immediate: !0,
1409
1409
  flush: "post"
1410
1410
  }
1411
1411
  ), D(
1412
- () => [e.showSelectAll, H.value, e.multiple],
1412
+ () => [e.showSelectAll, B.value, e.multiple],
1413
1413
  () => {
1414
- O.value = !!(e.multiple && (e.showSelectAll ?? H.value > 5));
1414
+ y.value = !!(e.multiple && (e.showSelectAll ?? B.value > 5));
1415
1415
  },
1416
1416
  {
1417
1417
  immediate: !0,
1418
1418
  flush: "post"
1419
1419
  }
1420
1420
  ), D(
1421
- () => [e.showSearch, H.value],
1421
+ () => [e.showSearch, B.value],
1422
1422
  () => {
1423
- y.value = e.showSearch ?? H.value > 9;
1423
+ X.value = e.showSearch ?? B.value > 9;
1424
1424
  },
1425
1425
  {
1426
1426
  immediate: !0,
@@ -1429,16 +1429,16 @@ const xa = (t) => {
1429
1429
  ), D(
1430
1430
  () => [e.values],
1431
1431
  () => {
1432
- e.values && Array.isArray(e.values) && e.values !== k.value && (k.value = e.values ?? []);
1432
+ e.values && Array.isArray(e.values) && e.values !== M.value && (M.value = e.values ?? []);
1433
1433
  },
1434
1434
  {
1435
1435
  immediate: !0,
1436
1436
  flush: "post"
1437
1437
  }
1438
1438
  ), D(
1439
- () => [k.value],
1439
+ () => [M.value, ve.value],
1440
1440
  () => {
1441
- fa();
1441
+ ve.value && pa();
1442
1442
  },
1443
1443
  {
1444
1444
  immediate: !0,
@@ -1447,17 +1447,17 @@ const xa = (t) => {
1447
1447
  ), D(
1448
1448
  () => [e.validation],
1449
1449
  () => {
1450
- v.value = e.validation;
1450
+ r.value = e.validation;
1451
1451
  },
1452
1452
  {
1453
1453
  immediate: !0,
1454
1454
  flush: "post"
1455
1455
  }
1456
1456
  ), D(
1457
- () => [k.value, H.value],
1457
+ () => [M.value, B.value],
1458
1458
  () => {
1459
- var o, $;
1460
- ((o = k.value) == null ? void 0 : o.length) === 0 ? (Ve.value = !1, Ce.value = !1) : (($ = k.value) == null ? void 0 : $.length) === H.value ? (Ce.value = !1, Ve.value = !0) : k.value && (Ce.value = !0);
1459
+ var l, I;
1460
+ ((l = M.value) == null ? void 0 : l.length) === 0 ? (qe.value = !1, Ee.value = !1) : ((I = M.value) == null ? void 0 : I.length) === B.value ? (Ee.value = !1, qe.value = !0) : M.value && (Ee.value = !0);
1461
1461
  },
1462
1462
  {
1463
1463
  immediate: !0,
@@ -1466,8 +1466,8 @@ const xa = (t) => {
1466
1466
  ), D(
1467
1467
  () => [e.options],
1468
1468
  () => {
1469
- var o;
1470
- X.value = e.options, H.value = ((o = e.options) == null ? void 0 : o.filter(($) => !$.isGroupTitle).length) ?? 0;
1469
+ var l;
1470
+ oe.value = e.options, B.value = ((l = e.options) == null ? void 0 : l.filter((I) => !I.isGroupTitle).length) ?? 0;
1471
1471
  },
1472
1472
  {
1473
1473
  immediate: !0,
@@ -1476,9 +1476,9 @@ const xa = (t) => {
1476
1476
  ), D(
1477
1477
  () => [e.searchValue],
1478
1478
  () => {
1479
- if (qe.value = e.searchValue, e.searchValue) {
1480
- const o = e.searchValue;
1481
- je(o);
1479
+ if (Pe.value = e.searchValue, e.searchValue) {
1480
+ const l = e.searchValue;
1481
+ Ye(l);
1482
1482
  }
1483
1483
  },
1484
1484
  {
@@ -1486,13 +1486,13 @@ const xa = (t) => {
1486
1486
  flush: "post"
1487
1487
  }
1488
1488
  ), D(
1489
- () => [e.options, k.value],
1489
+ () => [e.options, M.value],
1490
1490
  () => {
1491
- var o, $;
1492
- (o = e.options) != null && o.length && (w.value = ($ = e.options) == null ? void 0 : $.filter(
1491
+ var l, I;
1492
+ (l = e.options) != null && l.length && (F.value = (I = e.options) == null ? void 0 : I.filter(
1493
1493
  (E) => {
1494
- var j, oe;
1495
- return !E.value || !((j = k.value) != null && j.includes) ? !1 : !E.isGroupTitle && ((oe = k.value) == null ? void 0 : oe.includes(E.value));
1494
+ var j, le;
1495
+ return !E.value || !((j = M.value) != null && j.includes) ? !1 : !E.isGroupTitle && ((le = M.value) == null ? void 0 : le.includes(E.value));
1496
1496
  }
1497
1497
  ));
1498
1498
  },
@@ -1502,366 +1502,366 @@ const xa = (t) => {
1502
1502
  }
1503
1503
  ), D(
1504
1504
  () => [
1505
- w.value,
1505
+ F.value,
1506
1506
  e.selectedType,
1507
1507
  e.amountText,
1508
1508
  e.selectedLabels,
1509
1509
  e.transformSelectedLabels
1510
1510
  ],
1511
1511
  () => {
1512
- var o, $, E;
1512
+ var l, I, E;
1513
1513
  if (e.selectedLabels) {
1514
- I.value = e.selectedLabels;
1514
+ C.value = e.selectedLabels;
1515
1515
  return;
1516
1516
  }
1517
- if ((o = w.value) != null && o.length) {
1517
+ if ((l = F.value) != null && l.length) {
1518
1518
  if (e.transformSelectedLabels) {
1519
- const j = w.value, oe = e.transformSelectedLabels;
1520
- I.value = oe(j);
1519
+ const j = F.value, le = e.transformSelectedLabels;
1520
+ C.value = le(j);
1521
1521
  return;
1522
1522
  }
1523
- e.selectedType === "amount" ? I.value = e.amountText ? e.amountText : `${($ = w.value) == null ? void 0 : $.length} ${Aa}` : I.value = (E = w.value) == null ? void 0 : E.map((j) => $e(j)).join(", ");
1523
+ e.selectedType === "amount" ? C.value = e.amountText ? e.amountText : `${(I = F.value) == null ? void 0 : I.length} ${Da}` : C.value = (E = F.value) == null ? void 0 : E.map((j) => Ie(j)).join(", ");
1524
1524
  } else
1525
- I.value = "";
1525
+ C.value = "";
1526
1526
  },
1527
1527
  {
1528
1528
  immediate: !0,
1529
1529
  flush: "post"
1530
1530
  }
1531
1531
  ), D(
1532
- () => [w.value],
1532
+ () => [F.value],
1533
1533
  () => {
1534
- var o;
1535
- e.onAmountChange && e.onAmountChange(((o = w.value) == null ? void 0 : o.length) ?? 0);
1534
+ var l;
1535
+ e.onAmountChange && e.onAmountChange(((l = F.value) == null ? void 0 : l.length) ?? 0);
1536
1536
  },
1537
1537
  {
1538
1538
  immediate: !0,
1539
1539
  flush: "post"
1540
1540
  }
1541
1541
  ), D(
1542
- () => [Ce.value, Fe.value],
1542
+ () => [Ee.value, Fe.value],
1543
1543
  () => {
1544
- Fe.value && (Fe.value.indeterminate = !!Ce.value);
1544
+ Fe.value && (Fe.value.indeterminate = !!Ee.value);
1545
1545
  },
1546
1546
  {
1547
1547
  immediate: !0,
1548
1548
  flush: "post"
1549
1549
  }
1550
1550
  ), D(
1551
- () => [we.value, e.invalidMessage],
1551
+ () => [ve.value, e.invalidMessage],
1552
1552
  () => {
1553
- var o;
1554
- r.value = e.invalidMessage || ((o = we.value) == null ? void 0 : o.validationMessage) || te;
1553
+ var l;
1554
+ v.value = e.invalidMessage || ((l = ve.value) == null ? void 0 : l.validationMessage) || te;
1555
1555
  },
1556
1556
  {
1557
1557
  immediate: !0,
1558
1558
  flush: "post"
1559
1559
  }
1560
1560
  );
1561
- function va(o) {
1562
- var $, E;
1563
- ($ = o == null ? void 0 : o.target) != null && $.contains && ((E = o == null ? void 0 : o.target) != null && E.contains(M.value)) && Ue();
1561
+ function fa(l) {
1562
+ var I, E;
1563
+ (I = l == null ? void 0 : l.target) != null && I.contains && ((E = l == null ? void 0 : l.target) != null && E.contains(z.value)) && Ge();
1564
1564
  }
1565
- function We() {
1565
+ function Oe() {
1566
1566
  return !!(e.validMessage ?? e.validation === "valid");
1567
1567
  }
1568
- function fa() {
1569
- var o, $, E;
1570
- we.value && (we.value.value = ha()), !((o = we.value) != null && o.validity.valid) || e.validation === "invalid" ? (c.value = m.value, r.value = e.invalidMessage || (($ = we.value) == null ? void 0 : $.validationMessage) || te, ge() && (b.value = r.value, Z(() => b.value = "", 1e3)), v.value = e.validation ?? "invalid") : We() && ((E = we.value) != null && E.validity.valid) && e.required ? (c.value = f.value, ge() && (b.value = e.validMessage ?? he, Z(() => b.value = "", 1e3)), v.value = e.validation ?? "valid") : x(e.message, e.showMessage) ? (c.value = u.value, v.value = e.validation ?? "no-validation") : (c.value = S.value, v.value = e.validation ?? "no-validation");
1571
- }
1572
- function pa(o) {
1573
- var $, E;
1574
- e.onDropdownToggle && (o.stopPropagation(), e.onDropdownToggle(o)), o.target instanceof HTMLDetailsElement && o.target.open ? (K.value = new ze().addCallback(
1575
- (j) => Sa(j)
1576
- ), ye.value = new Ie().addCallback(
1577
- (j) => va(j)
1578
- ), Ue(), ($ = _e.value) == null || $.observe(M.value), o.target.dataset.test || Xe()) : (K.value && new ze().removeCallback(
1579
- K.value
1580
- ), ye.value && new Ie().removeCallback(
1581
- ye.value
1582
- ), (E = _e.value) == null || E.unobserve(M.value));
1583
- }
1584
- function ha() {
1585
- var o;
1586
- return (o = k.value) != null && o.length ? k.value.at(0) ?? "" : "";
1587
- }
1588
- function Oe(o) {
1589
- var E;
1590
- const $ = [];
1591
- o && $.push(o), C.value && ((E = I.value) != null && E.length) && $.push(C.value), c.value = $.join(" ");
1568
+ function pa() {
1569
+ var l, I, E;
1570
+ ve.value && (ve.value.value = ga()), !((l = ve.value) != null && l.validity.valid) || e.validation === "invalid" ? (L.value = p.value, v.value = e.invalidMessage || ((I = ve.value) == null ? void 0 : I.validationMessage) || te, me() && (k.value = v.value, Z(() => k.value = "", 1e3)), c.value && (r.value = e.validation ?? "invalid")) : Oe() && ((E = ve.value) != null && E.validity.valid) && e.required ? (L.value = f.value, me() && (k.value = e.validMessage ?? ge, Z(() => k.value = "", 1e3)), r.value = e.validation ?? "valid") : x(e.message, e.showMessage) ? (L.value = u.value, r.value = e.validation ?? "no-validation") : (L.value = w.value, r.value = e.validation ?? "no-validation");
1571
+ }
1572
+ function ha(l) {
1573
+ var I, E;
1574
+ e.onDropdownToggle && (l.stopPropagation(), e.onDropdownToggle(l)), l.target instanceof HTMLDetailsElement && l.target.open ? (_e.value = new ze().addCallback(
1575
+ (j) => Ba(j)
1576
+ ), Ce.value = new Be().addCallback(
1577
+ (j) => fa(j)
1578
+ ), Ge(), (I = Ve.value) == null || I.observe(z.value), l.target.dataset.test || je()) : (_e.value && new ze().removeCallback(
1579
+ _e.value
1580
+ ), Ce.value && new Be().removeCallback(
1581
+ Ce.value
1582
+ ), (E = Ve.value) == null || E.unobserve(z.value));
1592
1583
  }
1593
1584
  function ga() {
1594
- return e.selectAllLabel ?? ke;
1585
+ var l;
1586
+ return (l = M.value) != null && l.length ? M.value.at(0) ?? "" : "";
1587
+ }
1588
+ function He(l) {
1589
+ var E;
1590
+ const I = [];
1591
+ l && I.push(l), b.value && ((E = C.value) != null && E.length) && I.push(b.value), L.value = I.join(" ");
1595
1592
  }
1596
- function $e(o) {
1597
- var $;
1598
- return o.label ?? (($ = o.value) == null ? void 0 : $.toString()) ?? "";
1593
+ function ma() {
1594
+ return e.selectAllLabel ?? we;
1599
1595
  }
1600
- function ma(o) {
1601
- var $, E;
1602
- return o && (($ = k.value) != null && $.includes) ? (E = k.value) == null ? void 0 : E.includes(o) : !1;
1596
+ function Ie(l) {
1597
+ var I;
1598
+ return l.label ?? ((I = l.value) == null ? void 0 : I.toString()) ?? "";
1603
1599
  }
1604
- function ba(o) {
1605
- return e.removeTagsTexts && e.removeTagsTexts.length > o ? e.removeTagsTexts.at(o) : `${ta} ${w.value ? $e(w.value[o]) : ""}`;
1600
+ function ba(l) {
1601
+ var I, E;
1602
+ return l && ((I = M.value) != null && I.includes) ? (E = M.value) == null ? void 0 : E.includes(l) : !1;
1606
1603
  }
1607
- function ya(o, $) {
1608
- $ && $.stopPropagation(), He(o.value), Ae();
1604
+ function ya(l) {
1605
+ return e.removeTagsTexts && e.removeTagsTexts.length > l ? e.removeTagsTexts.at(l) : `${ia} ${F.value ? Ie(F.value[l]) : ""}`;
1609
1606
  }
1610
- function Ue() {
1611
- if (M.value) {
1612
- const o = M.value.querySelector("article");
1613
- o && Z(() => {
1614
- at(
1615
- o,
1616
- M.value,
1607
+ function wa(l, I) {
1608
+ I && I.stopPropagation(), Xe(l.value), De();
1609
+ }
1610
+ function Ge() {
1611
+ if (z.value) {
1612
+ const l = z.value.querySelector("article");
1613
+ l && Z(() => {
1614
+ tt(
1615
+ l,
1616
+ z.value,
1617
1617
  e.placement ?? "bottom"
1618
1618
  );
1619
1619
  }, 1);
1620
1620
  }
1621
1621
  }
1622
- function wa(o) {
1623
- var $, E, j, oe, G, me, De;
1624
- if (($ = M.value) != null && $.open) {
1622
+ function ka(l) {
1623
+ var I, E, j, le, O, be, Ne;
1624
+ if ((I = z.value) != null && I.open) {
1625
1625
  if (self.document) {
1626
1626
  const ue = self.document.activeElement;
1627
1627
  if (ue)
1628
1628
  if (ue.getAttribute("type") === "checkbox" || ue.getAttribute("type") === "radio") {
1629
1629
  const se = ue == null ? void 0 : ue.closest("li");
1630
- if (o.key === "ArrowDown" || o.key === "ArrowRight")
1630
+ if (l.key === "ArrowDown" || l.key === "ArrowRight")
1631
1631
  se != null && se.nextElementSibling ? (j = (E = se == null ? void 0 : se.nextElementSibling) == null ? void 0 : E.querySelector("input")) == null || j.focus() : Me(ue);
1632
1632
  else if (se != null && se.previousElementSibling)
1633
- (G = (oe = se == null ? void 0 : se.previousElementSibling) == null ? void 0 : oe.querySelector("input")) == null || G.focus();
1634
- else if (M.value.querySelector('input[type="checkbox"]') !== ue)
1633
+ (O = (le = se == null ? void 0 : se.previousElementSibling) == null ? void 0 : le.querySelector("input")) == null || O.focus();
1634
+ else if (z.value.querySelector('input[type="checkbox"]') !== ue)
1635
1635
  Me(ue);
1636
1636
  else {
1637
- const Ye = ea(M.value);
1638
- if (Ye)
1637
+ const Ke = aa(z.value);
1638
+ if (Ke)
1639
1639
  Z(() => {
1640
- Ye.focus();
1640
+ Ke.focus();
1641
1641
  }, 100);
1642
1642
  else {
1643
- const Ke = Array.from(
1644
- (me = M.value) == null ? void 0 : me.querySelectorAll(
1643
+ const Je = Array.from(
1644
+ (be = z.value) == null ? void 0 : be.querySelectorAll(
1645
1645
  'input[type="checkbox"],input[type="radio"]'
1646
1646
  )
1647
1647
  );
1648
- Ke.length && ((De = Ke.at(-1)) == null || De.focus());
1648
+ Je.length && ((Ne = Je.at(-1)) == null || Ne.focus());
1649
1649
  }
1650
1650
  }
1651
1651
  } else
1652
- ue.getAttribute("type") === "search" && (o.key === "ArrowUp" || o.key === "ArrowLeft") ? (Ee(void 0, !0), Ae()) : Me(ue);
1652
+ ue.getAttribute("type") === "search" && (l.key === "ArrowUp" || l.key === "ArrowLeft") ? (Ae(void 0, !0), De()) : Me(ue);
1653
1653
  }
1654
- } else (o.key === "ArrowDown" || o.key === "ArrowRight") && (Ue(), M.value && (M.value.open = !0), Xe());
1655
- o.stopPropagation(), o.preventDefault();
1656
- }
1657
- function ka(o) {
1658
- var $;
1659
- o.stopPropagation(), o.key === "Escape" && (($ = M.value) != null && $.open) ? (Ee(void 0, !0), Ae()) : (o.key === "ArrowDown" || o.key === "ArrowUp" || o.key === "ArrowLeft" || o.key === "ArrowRight") && wa(o);
1660
- }
1661
- function Ee(o, $) {
1662
- if (M.value) {
1663
- if ($)
1664
- M.value.open = !1, Ae();
1665
- else if (M.value.open && o && o.relatedTarget) {
1666
- const E = o.relatedTarget;
1667
- M.value.contains(E) || Z(() => M.value.open = !1, 1);
1654
+ } else (l.key === "ArrowDown" || l.key === "ArrowRight") && (Ge(), z.value && (z.value.open = !0), je());
1655
+ l.stopPropagation(), l.preventDefault();
1656
+ }
1657
+ function Sa(l) {
1658
+ var I;
1659
+ l.stopPropagation(), l.key === "Escape" && ((I = z.value) != null && I.open) ? (Ae(void 0, !0), De()) : (l.key === "ArrowDown" || l.key === "ArrowUp" || l.key === "ArrowLeft" || l.key === "ArrowRight") && ka(l);
1660
+ }
1661
+ function Ae(l, I) {
1662
+ if (z.value) {
1663
+ if (I)
1664
+ z.value.open = !1, De();
1665
+ else if (z.value.open && l && l.relatedTarget) {
1666
+ const E = l.relatedTarget;
1667
+ z.value.contains(E) || Z(() => z.value.open = !1, 1);
1668
1668
  }
1669
1669
  }
1670
1670
  }
1671
- function Sa(o) {
1672
- var $;
1673
- if (o) {
1674
- const E = o.target;
1675
- ($ = M.value) != null && $.open && !M.value.contains(E) && (M.value.open = !1);
1671
+ function Ba(l) {
1672
+ var I;
1673
+ if (l) {
1674
+ const E = l.target;
1675
+ (I = z.value) != null && I.open && !z.value.contains(E) && (z.value.open = !1);
1676
1676
  }
1677
1677
  }
1678
- function Te(o) {
1679
- (/* @__PURE__ */ new Date()).getTime() - Ne.value < 200 || (k.value = o, e.onOptionSelected && e.onOptionSelected(o ?? []), de(
1680
- l,
1678
+ function $e(l) {
1679
+ (/* @__PURE__ */ new Date()).getTime() - Le.value < 200 || (M.value = l, c.value = !0, e.onOptionSelected && e.onOptionSelected(l ?? []), de(
1680
+ o,
1681
1681
  {
1682
1682
  target: {
1683
- values: o
1683
+ values: l
1684
1684
  }
1685
1685
  },
1686
1686
  "values"
1687
- ), Ne.value = (/* @__PURE__ */ new Date()).getTime());
1687
+ ), Le.value = (/* @__PURE__ */ new Date()).getTime());
1688
1688
  }
1689
- function He(o) {
1690
- var $;
1691
- o && (e.multiple ? ($ = k.value) != null && $.includes(o) ? Te(k.value.filter((E) => E !== o)) : Te([...k.value || [], o]) : (Te([o]), Ee(void 0, !0)));
1689
+ function Xe(l) {
1690
+ var I;
1691
+ l && (e.multiple ? (I = M.value) != null && I.includes(l) ? $e(M.value.filter((E) => E !== l)) : $e([...M.value || [], l]) : ($e([l]), Ae(void 0, !0)));
1692
1692
  }
1693
- function Ba(o) {
1694
- var $;
1695
- if (o.stopPropagation(), (($ = k.value) == null ? void 0 : $.length) === H.value)
1696
- Te([]);
1693
+ function La(l) {
1694
+ var I;
1695
+ if (l.stopPropagation(), ((I = M.value) == null ? void 0 : I.length) === B.value)
1696
+ $e([]);
1697
1697
  else {
1698
- const E = y.value && Pe.value ? Pe.value.value : void 0;
1699
- Te(
1698
+ const E = X.value && Ue.value ? Ue.value.value : void 0;
1699
+ $e(
1700
1700
  e.options ? e.options.filter(
1701
1701
  (j) => {
1702
- var oe;
1703
- return !j.isGroupTitle && (!E || ((oe = j.value) == null ? void 0 : oe.toLowerCase().includes(E.toLowerCase())));
1702
+ var le;
1703
+ return !j.isGroupTitle && (!E || ((le = j.value) == null ? void 0 : le.toLowerCase().includes(E.toLowerCase())));
1704
1704
  }
1705
1705
  ).map((j) => j.value ?? "") : []
1706
1706
  );
1707
1707
  }
1708
1708
  }
1709
- function Me(o) {
1710
- if (M.value) {
1711
- const $ = Array.from(
1712
- M.value.querySelectorAll(
1709
+ function Me(l) {
1710
+ if (z.value) {
1711
+ const I = Array.from(
1712
+ z.value.querySelectorAll(
1713
1713
  'input[type="checkbox"],input[type="radio"]'
1714
1714
  )
1715
1715
  );
1716
- if ($.length) {
1717
- const E = $.at(0), j = E === o && $.length > 1 ? $.at(1) : E;
1716
+ if (I.length) {
1717
+ const E = I.at(0), j = E === l && I.length > 1 ? I.at(1) : E;
1718
1718
  j && Z(() => {
1719
1719
  j.focus();
1720
1720
  }, 1);
1721
1721
  }
1722
1722
  }
1723
1723
  }
1724
- function Xe() {
1725
- if (M.value) {
1726
- const o = ea(M.value);
1727
- o ? Z(() => {
1728
- o.focus();
1724
+ function je() {
1725
+ if (z.value) {
1726
+ const l = aa(z.value);
1727
+ l ? Z(() => {
1728
+ l.focus();
1729
1729
  }, 1) : Me();
1730
1730
  }
1731
1731
  }
1732
- function je(o) {
1733
- if (o === void 0)
1732
+ function Ye(l) {
1733
+ if (l === void 0)
1734
1734
  return;
1735
- let $;
1736
- if (typeof o == "string")
1737
- $ = o;
1735
+ let I;
1736
+ if (typeof l == "string")
1737
+ I = l;
1738
1738
  else {
1739
- const E = o;
1740
- E.stopPropagation(), e.onSearch && e.onSearch(E), $ = E.target.value, qe.value = $;
1739
+ const E = l;
1740
+ E.stopPropagation(), e.onSearch && e.onSearch(E), I = E.target.value, Pe.value = I;
1741
1741
  }
1742
- !e.options || !$ || $.length === 0 ? X.value = e.options : e.searchFilter ? X.value = e.options.filter(
1743
- (E) => e.searchFilter(E, $)
1744
- ) : X.value = e.options.filter(
1745
- (E) => !E.isGroupTitle && $e(E).toLowerCase().includes($.toLowerCase())
1742
+ !e.options || !I || I.length === 0 ? oe.value = e.options : e.searchFilter ? oe.value = e.options.filter(
1743
+ (E) => e.searchFilter(E, I)
1744
+ ) : oe.value = e.options.filter(
1745
+ (E) => !E.isGroupTitle && Ie(E).toLowerCase().includes(I.toLowerCase())
1746
1746
  );
1747
1747
  }
1748
- function Ia(o) {
1749
- o.stopPropagation(), Te([]), Ae();
1748
+ function Ia(l) {
1749
+ l.stopPropagation(), $e([]), De();
1750
1750
  }
1751
- function Ae() {
1752
- var o;
1753
- M.value && ((o = M.value.querySelector("summary")) == null || o.focus());
1751
+ function De() {
1752
+ var l;
1753
+ z.value && ((l = z.value.querySelector("summary")) == null || l.focus());
1754
1754
  }
1755
- function $a(o) {
1756
- o.stopPropagation();
1755
+ function $a(l) {
1756
+ l.stopPropagation();
1757
1757
  }
1758
- return (o, $) => {
1759
- var E, j, oe;
1760
- return g(), B("div", {
1758
+ return (l, I) => {
1759
+ var E, j, le;
1760
+ return m(), S("div", {
1761
1761
  id: i.value,
1762
1762
  ref_key: "_ref",
1763
- ref: ca,
1764
- class: z(n(q)("db-custom-select", e.class)),
1765
- "aria-invalid": v.value === "invalid",
1766
- "data-custom-validity": v.value,
1767
- "data-width": o.formFieldWidth,
1768
- "data-variant": o.variant === "floating" && o.selectedType === "tag" && o.multiple ? "above" : o.variant,
1769
- "data-required": n(F)(o.required),
1770
- "data-hide-asterisk": n(ie)(o.showRequiredAsterisk),
1771
- "data-placement": o.placement,
1772
- "data-selected-type": o.multiple ? o.selectedType : "text",
1773
- "data-hide-label": n(ie)(o.showLabel),
1774
- "data-icon": o.icon,
1775
- "data-show-icon": n(F)(o.showIcon)
1763
+ ref: va,
1764
+ class: P(n(q)("db-custom-select", e.class)),
1765
+ "aria-invalid": r.value === "invalid",
1766
+ "data-custom-validity": r.value,
1767
+ "data-width": l.formFieldWidth,
1768
+ "data-variant": l.variant === "floating" && l.selectedType === "tag" && l.multiple ? "above" : l.variant,
1769
+ "data-required": n(R)(l.required),
1770
+ "data-hide-asterisk": n(ie)(l.showRequiredAsterisk),
1771
+ "data-placement": l.placement,
1772
+ "data-selected-type": l.multiple ? l.selectedType : "text",
1773
+ "data-hide-label": n(ie)(l.showLabel),
1774
+ "data-icon": l.icon,
1775
+ "data-show-icon": n(R)(l.showIcon)
1776
1776
  }, [
1777
- _("label", { id: p.value }, [
1778
- N(L(o.label ?? n(ke)), 1),
1777
+ _("label", { id: g.value }, [
1778
+ N($(l.label ?? n(we)), 1),
1779
1779
  _("select", {
1780
1780
  role: "none",
1781
1781
  hidden: !0,
1782
1782
  id: s.value,
1783
1783
  tabIndex: -1,
1784
1784
  ref_key: "selectRef",
1785
- ref: we,
1786
- form: o.form,
1787
- name: o.name,
1788
- multiple: n(R)(o.multiple, "multiple"),
1789
- disabled: n(R)(o.disabled, "disabled"),
1790
- required: n(R)(o.required, "required"),
1791
- onChange: $[0] || ($[0] = async (G) => $a(G))
1785
+ ref: ve,
1786
+ form: l.form,
1787
+ name: l.name,
1788
+ multiple: n(V)(l.multiple, "multiple"),
1789
+ disabled: n(V)(l.disabled, "disabled"),
1790
+ required: n(V)(l.required, "required"),
1791
+ onChange: I[0] || (I[0] = async (O) => $a(O))
1792
1792
  }, [
1793
- (E = o.options) != null && E.length ? (g(!0), B(U, { key: 0 }, be(o.options, (G, me) => (g(), B("option", {
1794
- key: me,
1795
- disabled: G.disabled,
1796
- value: G.value
1797
- }, L($e(G)), 9, It))), 128)) : V("", !0)
1798
- ], 40, Bt)
1799
- ], 8, St),
1793
+ (E = l.options) != null && E.length ? (m(!0), S(W, { key: 0 }, ye(l.options, (O, be) => (m(), S("option", {
1794
+ key: be,
1795
+ disabled: O.disabled,
1796
+ value: O.value
1797
+ }, $(Ie(O)), 9, It))), 128)) : U("", !0)
1798
+ ], 40, Lt)
1799
+ ], 8, Bt),
1800
1800
  _("details", {
1801
1801
  ref_key: "detailsRef",
1802
- ref: M,
1803
- open: o.open,
1804
- onToggle: $[2] || ($[2] = async (G) => pa(G)),
1805
- onKeydown: $[3] || ($[3] = async (G) => ka(G))
1802
+ ref: z,
1803
+ open: l.open,
1804
+ onToggle: I[2] || (I[2] = async (O) => ha(O)),
1805
+ onKeydown: I[3] || (I[3] = async (O) => Sa(O))
1806
1806
  }, [
1807
- A(o.$slots, "default"),
1808
- o.options ? (g(), B(U, { key: 0 }, [
1807
+ A(l.$slots, "default"),
1808
+ l.options ? (m(), S(W, { key: 0 }, [
1809
1809
  _("summary", {
1810
1810
  class: "db-custom-select-form-field",
1811
1811
  id: T.value,
1812
- "aria-disabled": n(F)(o.disabled),
1813
- "aria-labelledby": p.value
1812
+ "aria-disabled": n(R)(l.disabled),
1813
+ "aria-labelledby": g.value
1814
1814
  }, [
1815
- (j = I.value) != null && j.length ? (g(), B("span", {
1815
+ (j = C.value) != null && j.length ? (m(), S("span", {
1816
1816
  key: 0,
1817
- "data-visually-hidden": n(F)(o.selectedType === "tag"),
1818
- id: C.value
1819
- }, L(I.value), 9, Tt)) : V("", !0),
1820
- o.selectedType === "tag" ? (g(), B("div", _t, [
1821
- (g(!0), B(U, null, be(w.value, (G, me) => (g(), Q(wt, {
1822
- key: me,
1817
+ "data-visually-hidden": n(R)(l.selectedType === "tag"),
1818
+ id: b.value
1819
+ }, $(C.value), 9, _t)) : U("", !0),
1820
+ l.selectedType === "tag" ? (m(), S("div", Ct, [
1821
+ (m(!0), S(W, null, ye(F.value, (O, be) => (m(), J(kt, {
1822
+ key: be,
1823
1823
  emphasis: "strong",
1824
1824
  behavior: "removable",
1825
- removeButton: ba(me),
1826
- onRemove: (De) => ya(G, De)
1825
+ removeButton: ya(be),
1826
+ onRemove: (Ne) => wa(O, Ne)
1827
1827
  }, {
1828
- default: W(() => [
1829
- N(L($e(G)), 1)
1828
+ default: H(() => [
1829
+ N($(Ie(O)), 1)
1830
1830
  ]),
1831
1831
  _: 2
1832
1832
  }, 1032, ["removeButton", "onRemove"]))), 128))
1833
- ])) : V("", !0)
1834
- ], 8, Lt),
1835
- ee(it, { width: o.dropdownWidth }, {
1836
- default: W(() => [
1837
- y.value ? (g(), B("div", Ct, [
1838
- ee(mt, {
1833
+ ])) : U("", !0)
1834
+ ], 8, Tt),
1835
+ ee(ot, { width: l.dropdownWidth }, {
1836
+ default: H(() => [
1837
+ X.value ? (m(), S("div", Et, [
1838
+ ee(bt, {
1839
1839
  type: "search",
1840
1840
  ref_key: "searchInputRef",
1841
- ref: Pe,
1841
+ ref: Ue,
1842
1842
  name: i.value,
1843
1843
  form: i.value,
1844
1844
  showLabel: !1,
1845
- value: qe.value,
1846
- label: o.searchLabel ?? n(ke),
1847
- placeholder: o.searchPlaceholder ?? o.searchLabel,
1848
- ariaDescribedBy: le.value || o.showLoading ? h.value : void 0,
1849
- onInput: (G) => je(G)
1845
+ value: Pe.value,
1846
+ label: l.searchLabel ?? n(we),
1847
+ placeholder: l.searchPlaceholder ?? l.searchLabel,
1848
+ ariaDescribedBy: K.value || l.showLoading ? h.value : void 0,
1849
+ onInput: (O) => Ye(O)
1850
1850
  }, null, 8, ["name", "form", "value", "label", "placeholder", "ariaDescribedBy", "onInput"])
1851
- ])) : V("", !0),
1852
- le.value || o.showLoading ? (g(), Q(ae, {
1851
+ ])) : U("", !0),
1852
+ K.value || l.showLoading ? (m(), J(ae, {
1853
1853
  key: 1,
1854
1854
  id: h.value,
1855
- icon: le.value ? void 0 : "circular_arrows",
1856
- semantic: le.value ? "warning" : "informational"
1855
+ icon: l.showLoading ? "circular_arrows" : void 0,
1856
+ semantic: l.showLoading ? "informational" : "warning"
1857
1857
  }, {
1858
- default: W(() => [
1859
- N(L((le.value ? o.noResultsText : o.loadingText) ?? n(Ca)), 1)
1858
+ default: H(() => [
1859
+ N($((l.showLoading ? l.loadingText : l.noResultsText) ?? n(Ea)), 1)
1860
1860
  ]),
1861
1861
  _: 1
1862
- }, 8, ["id", "icon", "semantic"])) : (g(), B(U, { key: 2 }, [
1863
- O.value ? (g(), B("div", Et, [
1864
- _("div", At, [
1862
+ }, 8, ["id", "icon", "semantic"])) : (m(), S(W, { key: 2 }, [
1863
+ y.value ? (m(), S("div", At, [
1864
+ _("div", Dt, [
1865
1865
  _("label", null, [
1866
1866
  _("input", {
1867
1867
  type: "checkbox",
@@ -1869,34 +1869,34 @@ const xa = (t) => {
1869
1869
  ref_key: "selectAllRef",
1870
1870
  ref: Fe,
1871
1871
  form: i.value,
1872
- checked: Ve.value,
1873
- onChange: $[1] || ($[1] = async (G) => Ba(G))
1874
- }, null, 40, Dt),
1875
- N(L(ga()), 1)
1872
+ checked: qe.value,
1873
+ onChange: I[1] || (I[1] = async (O) => La(O))
1874
+ }, null, 40, Nt),
1875
+ N($(ma()), 1)
1876
1876
  ])
1877
1877
  ])
1878
- ])) : V("", !0),
1879
- ee(rt, {
1880
- multiple: n(R)(o.multiple, "multiple"),
1881
- label: o.ariaListLabel ?? o.label ?? n(ke)
1878
+ ])) : U("", !0),
1879
+ ee(ct, {
1880
+ multiple: n(V)(l.multiple, "multiple"),
1881
+ label: l.ariaListLabel ?? l.label ?? n(we)
1882
1882
  }, {
1883
- default: W(() => [
1884
- (g(!0), B(U, null, be(X.value, (G, me) => (g(), Q(dt, {
1885
- key: me,
1886
- type: o.multiple ? "checkbox" : "radio",
1887
- showDivider: G.showDivider,
1888
- icon: G.icon,
1889
- isGroupTitle: G.isGroupTitle,
1890
- groupTitle: $e(G),
1883
+ default: H(() => [
1884
+ (m(!0), S(W, null, ye(oe.value, (O, be) => (m(), J(ut, {
1885
+ key: be,
1886
+ type: l.multiple ? "checkbox" : "radio",
1887
+ showDivider: O.showDivider,
1888
+ icon: O.icon,
1889
+ isGroupTitle: O.isGroupTitle,
1890
+ groupTitle: Ie(O),
1891
1891
  name: i.value,
1892
- checked: ma(G.value),
1893
- disabled: G.disabled,
1894
- value: G.value,
1895
- onChange: (De) => He(G.value)
1892
+ checked: ba(O.value),
1893
+ disabled: O.disabled,
1894
+ value: O.value,
1895
+ onChange: (Ne) => Xe(O.value)
1896
1896
  }, {
1897
- default: W(() => [
1898
- G.isGroupTitle ? V("", !0) : (g(), B(U, { key: 0 }, [
1899
- N(L($e(G)), 1)
1897
+ default: H(() => [
1898
+ O.isGroupTitle ? U("", !0) : (m(), S(W, { key: 0 }, [
1899
+ N($(Ie(O)), 1)
1900
1900
  ], 64))
1901
1901
  ]),
1902
1902
  _: 2
@@ -1906,17 +1906,17 @@ const xa = (t) => {
1906
1906
  }, 8, ["multiple", "label"])
1907
1907
  ], 64)),
1908
1908
  _("div", null, [
1909
- ee(Be, {
1909
+ ee(Se, {
1910
1910
  variant: "ghost",
1911
1911
  width: "full",
1912
1912
  icon: "cross",
1913
1913
  size: "small",
1914
1914
  name: i.value,
1915
1915
  form: i.value,
1916
- onClick: (G) => Ee(void 0, !0)
1916
+ onClick: (O) => Ae(void 0, !0)
1917
1917
  }, {
1918
- default: W(() => [
1919
- N(L(o.mobileCloseButtonText ?? n(Ge)), 1)
1918
+ default: H(() => [
1919
+ N($(l.mobileCloseButtonText ?? n(We)), 1)
1920
1920
  ]),
1921
1921
  _: 1
1922
1922
  }, 8, ["name", "form", "onClick"])
@@ -1924,9 +1924,9 @@ const xa = (t) => {
1924
1924
  ]),
1925
1925
  _: 1
1926
1926
  }, 8, ["width"])
1927
- ], 64)) : V("", !0)
1927
+ ], 64)) : U("", !0)
1928
1928
  ], 40, $t),
1929
- (o.showClearSelection ?? !0) && ((oe = k.value) != null && oe.length) ? (g(), Q(Be, {
1929
+ (l.showClearSelection ?? !0) && ((le = M.value) != null && le.length) ? (m(), J(Se, {
1930
1930
  key: 0,
1931
1931
  icon: "cross",
1932
1932
  variant: "ghost",
@@ -1934,60 +1934,60 @@ const xa = (t) => {
1934
1934
  noText: !0,
1935
1935
  name: i.value,
1936
1936
  form: i.value,
1937
- onClick: (G) => Ia(G)
1937
+ onClick: (O) => Ia(O)
1938
1938
  }, {
1939
- default: W(() => [
1940
- N(L(o.clearSelectionText), 1),
1941
- ee(ra, { placement: "top" }, {
1942
- default: W(() => [
1943
- N(L(o.clearSelectionText), 1)
1939
+ default: H(() => [
1940
+ N($(l.clearSelectionText), 1),
1941
+ ee(ca, { placement: "top" }, {
1942
+ default: H(() => [
1943
+ N($(l.clearSelectionText), 1)
1944
1944
  ]),
1945
1945
  _: 1
1946
1946
  })
1947
1947
  ]),
1948
1948
  _: 1
1949
- }, 8, ["name", "form", "onClick"])) : V("", !0),
1949
+ }, 8, ["name", "form", "onClick"])) : U("", !0),
1950
1950
  _("span", {
1951
- "aria-hidden": n(F)(!0),
1952
- id: S.value
1953
- }, L(o.placeholder ?? o.label), 9, Nt),
1954
- n(x)(o.message, o.showMessage) ? (g(), Q(ae, {
1951
+ "aria-hidden": n(R)(!0),
1952
+ id: w.value
1953
+ }, $(l.placeholder ?? l.label), 9, Ft),
1954
+ n(x)(l.message, l.showMessage) ? (m(), J(ae, {
1955
1955
  key: 1,
1956
1956
  size: "small",
1957
- icon: o.messageIcon,
1957
+ icon: l.messageIcon,
1958
1958
  id: u.value
1959
1959
  }, {
1960
- default: W(() => [
1961
- N(L(o.message), 1)
1960
+ default: H(() => [
1961
+ N($(l.message), 1)
1962
1962
  ]),
1963
1963
  _: 1
1964
- }, 8, ["icon", "id"])) : V("", !0),
1965
- We() ? (g(), Q(ae, {
1964
+ }, 8, ["icon", "id"])) : U("", !0),
1965
+ Oe() ? (m(), J(ae, {
1966
1966
  key: 2,
1967
1967
  size: "small",
1968
1968
  semantic: "successful",
1969
1969
  id: f.value
1970
1970
  }, {
1971
- default: W(() => [
1972
- N(L(o.validMessage || n(he)), 1)
1971
+ default: H(() => [
1972
+ N($(l.validMessage || n(ge)), 1)
1973
1973
  ]),
1974
1974
  _: 1
1975
- }, 8, ["id"])) : V("", !0),
1975
+ }, 8, ["id"])) : U("", !0),
1976
1976
  ee(ae, {
1977
1977
  size: "small",
1978
1978
  semantic: "critical",
1979
- id: m.value
1979
+ id: p.value
1980
1980
  }, {
1981
- default: W(() => [
1982
- N(L(r.value), 1)
1981
+ default: H(() => [
1982
+ N($(v.value), 1)
1983
1983
  ]),
1984
1984
  _: 1
1985
1985
  }, 8, ["id"]),
1986
- _("span", Ft, L(b.value), 1)
1987
- ], 10, kt);
1986
+ _("span", Mt, $(k.value), 1)
1987
+ ], 10, St);
1988
1988
  };
1989
1989
  }
1990
- }), Mt = ["id"], ul = /* @__PURE__ */ P({
1990
+ }), bo = ["fixed", "auto", "full"], Rt = ["id"], yo = /* @__PURE__ */ G({
1991
1991
  __name: "custom-select-form-field",
1992
1992
  props: {
1993
1993
  children: { default: void 0 },
@@ -1997,17 +1997,17 @@ const xa = (t) => {
1997
1997
  autofocus: { type: [Boolean, String] }
1998
1998
  },
1999
1999
  setup(t) {
2000
- const a = t, l = d(null);
2001
- return (e, i) => (g(), B("summary", {
2000
+ const a = t, o = d(null);
2001
+ return (e, i) => (m(), S("summary", {
2002
2002
  ref_key: "_ref",
2003
- ref: l,
2003
+ ref: o,
2004
2004
  id: e.id,
2005
- class: z(n(q)("db-custom-select-form-field", a.class))
2005
+ class: P(n(q)("db-custom-select-form-field", a.class))
2006
2006
  }, [
2007
2007
  A(e.$slots, "default")
2008
- ], 10, Mt));
2008
+ ], 10, Rt));
2009
2009
  }
2010
- }), Rt = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], rl = /* @__PURE__ */ P({
2010
+ }), wo = ["checkbox", "radio"], ko = ["amount", "text", "tag"], zt = ["id", "data-margin", "data-variant", "data-emphasis", "data-width"], So = /* @__PURE__ */ G({
2011
2011
  __name: "divider",
2012
2012
  props: {
2013
2013
  margin: { default: void 0 },
@@ -2021,19 +2021,19 @@ const xa = (t) => {
2021
2021
  width: { default: void 0 }
2022
2022
  },
2023
2023
  setup(t) {
2024
- const a = t, l = d(null);
2025
- return (e, i) => (g(), B("div", {
2024
+ const a = t, o = d(null);
2025
+ return (e, i) => (m(), S("div", {
2026
2026
  ref_key: "_ref",
2027
- ref: l,
2027
+ ref: o,
2028
2028
  id: e.id,
2029
2029
  "data-margin": e.margin,
2030
2030
  "data-variant": e.variant,
2031
2031
  "data-emphasis": e.emphasis,
2032
2032
  "data-width": e.width,
2033
- class: z(n(q)("db-divider", a.class))
2034
- }, null, 10, Rt));
2033
+ class: P(n(q)("db-divider", a.class))
2034
+ }, null, 10, zt));
2035
2035
  }
2036
- }), zt = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], qt = ["data-spacing", "data-width", "data-direction", "data-rounded"], Vt = { class: "db-drawer-header" }, Pt = { class: "db-drawer-header-text" }, Ut = { class: "db-drawer-content" }, Gt = /* @__PURE__ */ P({
2036
+ }), Bo = ["none", "_"], Lo = ["horizontal", "vertical"], Vt = ["id", "data-position", "data-backdrop", "data-direction", "data-variant"], Pt = ["data-spacing", "data-width", "data-direction", "data-rounded"], qt = { class: "db-drawer-header" }, Ut = { class: "db-drawer-header-text" }, Gt = { class: "db-drawer-content" }, Wt = /* @__PURE__ */ G({
2037
2037
  __name: "drawer",
2038
2038
  props: {
2039
2039
  backdrop: { default: void 0 },
@@ -2056,9 +2056,9 @@ const xa = (t) => {
2056
2056
  spacing: { default: void 0 }
2057
2057
  },
2058
2058
  setup(t) {
2059
- const a = t, l = d(!1), e = d(null), i = d(null);
2059
+ const a = t, o = d(!1), e = d(null), i = d(null);
2060
2060
  Y(() => {
2061
- f(), l.value = !0;
2061
+ f(), o.value = !0;
2062
2062
  }), D(
2063
2063
  () => [a.open],
2064
2064
  () => {
@@ -2069,11 +2069,11 @@ const xa = (t) => {
2069
2069
  flush: "post"
2070
2070
  }
2071
2071
  ), D(
2072
- () => [e.value, l.value, a.position],
2072
+ () => [e.value, o.value, a.position],
2073
2073
  () => {
2074
- if (e.value && l.value && a.position === "absolute") {
2075
- const r = e.value.parentElement;
2076
- r && (r.style.position = "relative");
2074
+ if (e.value && o.value && a.position === "absolute") {
2075
+ const v = e.value.parentElement;
2076
+ v && (v.style.position = "relative");
2077
2077
  }
2078
2078
  },
2079
2079
  {
@@ -2081,73 +2081,73 @@ const xa = (t) => {
2081
2081
  flush: "post"
2082
2082
  }
2083
2083
  );
2084
- function u(m, r) {
2084
+ function u(p, v) {
2085
2085
  var s;
2086
- m && (Va(m) ? m.key === "Escape" && (m.preventDefault(), a.onClose && a.onClose(m)) : (r && (m.stopPropagation(), a.onClose && a.onClose(m)), ((s = m.target) == null ? void 0 : s.nodeName) === "DIALOG" && m.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(m)));
2086
+ p && (qa(p) ? p.key === "Escape" && (p.preventDefault(), a.onClose && a.onClose(p)) : (v && (p.stopPropagation(), a.onClose && a.onClose(p)), ((s = p.target) == null ? void 0 : s.nodeName) === "DIALOG" && p.type === "click" && a.backdrop !== "none" && a.onClose && a.onClose(p)));
2087
2087
  }
2088
2088
  function f() {
2089
2089
  if (e.value) {
2090
- const m = !!a.open;
2091
- m && !e.value.open && (i.value && (i.value.hidden = !1), a.position === "absolute" || a.backdrop === "none" || a.variant === "inside" ? e.value.show() : e.value.showModal()), !m && e.value.open && (i.value && (i.value.hidden = !0), Z(() => {
2092
- var r;
2093
- i.value && (i.value.hidden = !1), (r = e.value) == null || r.close();
2090
+ const p = !!a.open;
2091
+ p && !e.value.open && (i.value && (i.value.hidden = !1), a.position === "absolute" || a.backdrop === "none" || a.variant === "inside" ? e.value.show() : e.value.showModal()), !p && e.value.open && (i.value && (i.value.hidden = !0), Z(() => {
2092
+ var v;
2093
+ i.value && (i.value.hidden = !1), (v = e.value) == null || v.close();
2094
2094
  }, 401));
2095
2095
  }
2096
2096
  }
2097
- return (m, r) => (g(), B("dialog", {
2097
+ return (p, v) => (m(), S("dialog", {
2098
2098
  class: "db-drawer",
2099
- id: m.id,
2099
+ id: p.id,
2100
2100
  ref_key: "_ref",
2101
2101
  ref: e,
2102
- onClick: r[0] || (r[0] = async (s) => u(s)),
2103
- onKeydown: r[1] || (r[1] = async (s) => u(s)),
2104
- "data-position": m.position,
2105
- "data-backdrop": m.backdrop,
2106
- "data-direction": m.direction,
2107
- "data-variant": m.variant
2102
+ onClick: v[0] || (v[0] = async (s) => u(s)),
2103
+ onKeydown: v[1] || (v[1] = async (s) => u(s)),
2104
+ "data-position": p.position,
2105
+ "data-backdrop": p.backdrop,
2106
+ "data-direction": p.direction,
2107
+ "data-variant": p.variant
2108
2108
  }, [
2109
2109
  _("article", {
2110
2110
  ref_key: "dialogContainerRef",
2111
2111
  ref: i,
2112
- class: z(n(q)("db-drawer-container", a.class)),
2113
- "data-spacing": m.spacing,
2114
- "data-width": m.width,
2115
- "data-direction": m.direction,
2116
- "data-rounded": n(F)(m.rounded)
2112
+ class: P(n(q)("db-drawer-container", a.class)),
2113
+ "data-spacing": p.spacing,
2114
+ "data-width": p.width,
2115
+ "data-direction": p.direction,
2116
+ "data-rounded": n(R)(p.rounded)
2117
2117
  }, [
2118
- _("header", Vt, [
2119
- _("div", Pt, [
2120
- A(m.$slots, "drawer-header")
2118
+ _("header", qt, [
2119
+ _("div", Ut, [
2120
+ A(p.$slots, "drawer-header")
2121
2121
  ]),
2122
- ee(Be, {
2122
+ ee(Se, {
2123
2123
  class: "button-close-drawer",
2124
2124
  icon: "cross",
2125
2125
  variant: "ghost",
2126
- id: m.closeButtonId,
2126
+ id: p.closeButtonId,
2127
2127
  noText: !0,
2128
2128
  onClick: (s) => u(s, !0)
2129
2129
  }, {
2130
- default: W(() => [
2131
- N(L(m.closeButtonText ?? n(Ge)), 1)
2130
+ default: H(() => [
2131
+ N($(p.closeButtonText ?? n(We)), 1)
2132
2132
  ]),
2133
2133
  _: 1
2134
2134
  }, 8, ["id", "onClick"])
2135
2135
  ]),
2136
- _("div", Ut, [
2137
- A(m.$slots, "default")
2136
+ _("div", Gt, [
2137
+ A(p.$slots, "default")
2138
2138
  ])
2139
- ], 10, qt)
2140
- ], 40, zt));
2139
+ ], 10, Pt)
2140
+ ], 40, Vt));
2141
2141
  }
2142
- }), Wt = (t) => {
2143
- var l, e;
2142
+ }), Io = ["none", "strong", "weak", "invisible"], $o = ["left", "right", "up", "down"], To = ["modal", "inside"], _o = ["fixed", "absolute"], Ot = (t) => {
2143
+ var o, e;
2144
2144
  const {
2145
2145
  target: a
2146
2146
  } = t;
2147
- return !!(!((l = a == null ? void 0 : a.classList) != null && l.contains("db-navigation-item-expand-button")) && ((e = a == null ? void 0 : a.parentElement) != null && e.classList.contains("db-navigation-item")));
2147
+ return !!(!((o = a == null ? void 0 : a.classList) != null && o.contains("db-navigation-item-expand-button")) && ((e = a == null ? void 0 : a.parentElement) != null && e.classList.contains("db-navigation-item")));
2148
2148
  };
2149
- class Ot {
2150
- constructor(a, l) {
2149
+ class Ht {
2150
+ constructor(a, o) {
2151
2151
  ne(this, "element");
2152
2152
  ne(this, "subNavigation");
2153
2153
  ne(this, "parentSubNavigation", null);
@@ -2156,23 +2156,23 @@ class Ot {
2156
2156
  ne(this, "mouseX", 0);
2157
2157
  ne(this, "mouseY", 0);
2158
2158
  var e;
2159
- this.element = a, this.subNavigation = l, !(!this.element || !this.subNavigation) && (this.parentSubNavigation = (e = this.element) == null ? void 0 : e.closest(".db-sub-navigation"), this.parentSubNavigation && !this.element.closest(".db-drawer") && this.init());
2159
+ this.element = a, this.subNavigation = o, !(!this.element || !this.subNavigation) && (this.parentSubNavigation = (e = this.element) == null ? void 0 : e.closest(".db-sub-navigation"), this.parentSubNavigation && !this.element.closest(".db-drawer") && this.init());
2160
2160
  }
2161
2161
  init() {
2162
- var l, e;
2163
- const a = ((l = this.parentSubNavigation) == null ? void 0 : l.getBoundingClientRect().width) ?? 0;
2162
+ var o, e;
2163
+ const a = ((o = this.parentSubNavigation) == null ? void 0 : o.getBoundingClientRect().width) ?? 0;
2164
2164
  (e = this.element) == null || e.style.setProperty("--db-navigation-item-inline-size", `${a}px`), this.initialized = !0;
2165
2165
  }
2166
2166
  enableFollow() {
2167
2167
  var i;
2168
2168
  if (!this.initialized || this.triangleData || !this.element || !this.subNavigation)
2169
2169
  return;
2170
- const a = et(this.subNavigation), l = this.element.getBoundingClientRect(), e = ((i = this.parentSubNavigation) == null ? void 0 : i.getBoundingClientRect().width) ?? 0;
2170
+ const a = at(this.subNavigation), o = this.element.getBoundingClientRect(), e = ((i = this.parentSubNavigation) == null ? void 0 : i.getBoundingClientRect().width) ?? 0;
2171
2171
  this.triangleData = {
2172
- itemRect: l,
2172
+ itemRect: o,
2173
2173
  parentElementWidth: e,
2174
2174
  subNavigationHeight: this.subNavigation.getBoundingClientRect().height,
2175
- padding: (e - l.width) / 2,
2175
+ padding: (e - o.width) / 2,
2176
2176
  outsideVX: a.vx,
2177
2177
  outsideVY: a.vy
2178
2178
  };
@@ -2198,15 +2198,15 @@ class Ot {
2198
2198
  if (!this.triangleData)
2199
2199
  return;
2200
2200
  if (a === "fill-gap") {
2201
- const f = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, m = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
2201
+ const f = `${this.triangleData.itemRect.height + 2 * this.triangleData.padding}px`, p = `${this.triangleData.parentElementWidth - this.triangleData.padding}px`;
2202
2202
  return {
2203
- lb: `${m} ${f}`,
2204
- lt: `${m} 0`,
2203
+ lb: `${p} ${f}`,
2204
+ lt: `${p} 0`,
2205
2205
  rt: "100% 0",
2206
2206
  rb: `100% ${f}`
2207
2207
  };
2208
2208
  }
2209
- const l = this.getTriangleTipX(), e = this.getTriangleTipY(), i = `${l}px ${e}px`, u = `${l}px ${e}px`;
2209
+ const o = this.getTriangleTipX(), e = this.getTriangleTipY(), i = `${o}px ${e}px`, u = `${o}px ${e}px`;
2210
2210
  return {
2211
2211
  lb: i,
2212
2212
  lt: u,
@@ -2218,11 +2218,11 @@ class Ot {
2218
2218
  if (!this.initialized || !this.triangleData || !this.element || !this.subNavigation)
2219
2219
  return;
2220
2220
  this.mouseX = a.clientX - this.triangleData.itemRect.left, this.mouseY = a.clientY - this.triangleData.itemRect.top;
2221
- const l = this.hasMouseEnteredSubNavigation(), e = this.getTriangleCoordinates(l ? "fill-gap" : "safe-triangle");
2222
- e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), l && (this.triangleData = void 0));
2221
+ const o = this.hasMouseEnteredSubNavigation(), e = this.getTriangleCoordinates(o ? "fill-gap" : "safe-triangle");
2222
+ e && (this.element.style.setProperty("--db-navigation-item-clip-path", `polygon(${e.lb}, ${e.lt}, ${e.rt}, ${e.rb})`), o && (this.triangleData = void 0));
2223
2223
  }
2224
2224
  }
2225
- const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-header-drawer-navigation" }, jt = { class: "db-header-meta-navigation" }, Yt = { class: "db-header-secondary-action" }, Kt = { class: "db-header-meta-navigation" }, Jt = { class: "db-header-navigation-bar" }, Qt = { class: "db-header-brand-container" }, Zt = { class: "db-header-navigation-container" }, xt = { class: "db-header-navigation" }, ei = { class: "db-header-primary-action" }, ai = { class: "db-header-action-container" }, ti = { class: "db-header-burger-menu-container" }, ii = { class: "db-header-secondary-action" }, cl = /* @__PURE__ */ P({
2225
+ const Xt = ["id", "data-width", "data-on-forcing-mobile"], jt = { class: "db-header-drawer-navigation" }, Yt = { class: "db-header-meta-navigation" }, Kt = { class: "db-header-secondary-action" }, Jt = { class: "db-header-meta-navigation" }, Qt = { class: "db-header-navigation-bar" }, Zt = { class: "db-header-brand-container" }, xt = { class: "db-header-navigation-container" }, ei = { class: "db-header-navigation" }, ai = { class: "db-header-primary-action" }, ti = { class: "db-header-action-container" }, ii = { class: "db-header-burger-menu-container" }, oi = { class: "db-header-secondary-action" }, Co = /* @__PURE__ */ G({
2226
2226
  __name: "header",
2227
2227
  props: {
2228
2228
  brand: {},
@@ -2242,105 +2242,99 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2242
2242
  width: { default: void 0 }
2243
2243
  },
2244
2244
  setup(t) {
2245
- const a = t, l = d(Le), e = d(!1), i = d(!1), u = d(null);
2245
+ const a = t, o = d(!1), e = d(!1), i = d(null);
2246
2246
  Y(() => {
2247
- e.value = !0, l.value = a.id || "header-" + J();
2247
+ o.value = !0;
2248
2248
  }), D(
2249
- () => [e.value],
2249
+ () => [o.value, i.value],
2250
2250
  () => {
2251
- if (e.value && document && l.value && a.forceMobile) {
2252
- const r = document.getElementById(
2253
- l.value ?? ""
2254
- );
2255
- r && sa(r, {
2256
- key: "data-force-mobile",
2257
- value: "true"
2258
- }), i.value = !0;
2259
- }
2251
+ o.value && i.value && a.forceMobile && (da(i.value, {
2252
+ key: "data-force-mobile",
2253
+ value: "true"
2254
+ }), e.value = !0);
2260
2255
  },
2261
2256
  {
2262
2257
  immediate: !0,
2263
2258
  flush: "post"
2264
2259
  }
2265
2260
  );
2266
- function f(r) {
2267
- const s = !R(a.drawerOpen, "drawerOpen");
2268
- a.onToggle && a.onToggle(s);
2261
+ function u(p) {
2262
+ const v = !V(a.drawerOpen, "drawerOpen");
2263
+ a.onToggle && a.onToggle(v);
2269
2264
  }
2270
- function m(r) {
2271
- Wt(r) && f();
2265
+ function f(p) {
2266
+ Ot(p) && u();
2272
2267
  }
2273
- return (r, s) => (g(), B("header", {
2268
+ return (p, v) => (m(), S("header", {
2274
2269
  ref_key: "_ref",
2275
- ref: u,
2276
- class: z(n(q)("db-header", a.class)),
2277
- id: l.value,
2278
- "data-width": r.width,
2279
- "data-on-forcing-mobile": r.forceMobile && !i.value
2270
+ ref: i,
2271
+ class: P(n(q)("db-header", a.class)),
2272
+ id: p.id,
2273
+ "data-width": p.width,
2274
+ "data-on-forcing-mobile": p.forceMobile && !e.value
2280
2275
  }, [
2281
- ee(Gt, {
2276
+ ee(Wt, {
2282
2277
  class: "db-header-drawer",
2283
2278
  spacing: "small",
2284
2279
  rounded: !0,
2285
- open: n(R)(r.drawerOpen),
2286
- onClose: (p) => f()
2280
+ open: n(V)(p.drawerOpen),
2281
+ onClose: (s) => u()
2287
2282
  }, {
2288
- default: W(() => [
2289
- _("div", Xt, [
2283
+ default: H(() => [
2284
+ _("div", jt, [
2290
2285
  _("div", {
2291
2286
  class: "db-header-navigation",
2292
- onClick: s[0] || (s[0] = async (p) => m(p))
2287
+ onClick: v[0] || (v[0] = async (s) => f(s))
2293
2288
  }, [
2294
- A(r.$slots, "default")
2289
+ A(p.$slots, "default")
2295
2290
  ]),
2296
- _("div", jt, [
2297
- A(r.$slots, "meta-navigation")
2291
+ _("div", Yt, [
2292
+ A(p.$slots, "meta-navigation")
2298
2293
  ])
2299
2294
  ]),
2300
- _("div", Yt, [
2301
- A(r.$slots, "secondary-action")
2295
+ _("div", Kt, [
2296
+ A(p.$slots, "secondary-action")
2302
2297
  ])
2303
2298
  ]),
2304
2299
  _: 3
2305
2300
  }, 8, ["open", "onClose"]),
2306
- _("div", Kt, [
2307
- A(r.$slots, "meta-navigation")
2308
- ]),
2309
2301
  _("div", Jt, [
2310
- _("div", Qt, [
2311
- A(r.$slots, "brand")
2312
- ]),
2302
+ A(p.$slots, "meta-navigation")
2303
+ ]),
2304
+ _("div", Qt, [
2313
2305
  _("div", Zt, [
2314
- _("div", xt, [
2315
- A(r.$slots, "default")
2316
- ]),
2306
+ A(p.$slots, "brand")
2307
+ ]),
2308
+ _("div", xt, [
2317
2309
  _("div", ei, [
2318
- A(r.$slots, "primary-action")
2310
+ A(p.$slots, "default")
2311
+ ]),
2312
+ _("div", ai, [
2313
+ A(p.$slots, "primary-action")
2319
2314
  ])
2320
2315
  ]),
2321
- _("div", ai, [
2322
- _("div", ti, [
2323
- ee(Be, {
2316
+ _("div", ti, [
2317
+ _("div", ii, [
2318
+ ee(Se, {
2324
2319
  icon: "menu",
2325
2320
  variant: "ghost",
2326
- id: l.value + "-burger-menu",
2327
2321
  noText: !0,
2328
- onClick: (p) => f()
2322
+ onClick: (s) => u()
2329
2323
  }, {
2330
- default: W(() => [
2331
- N(L(r.burgerMenuLabel ?? n(Da)), 1)
2324
+ default: H(() => [
2325
+ N($(p.burgerMenuLabel ?? n(Na)), 1)
2332
2326
  ]),
2333
2327
  _: 1
2334
- }, 8, ["id", "onClick"])
2328
+ }, 8, ["onClick"])
2335
2329
  ]),
2336
- _("div", ii, [
2337
- A(r.$slots, "secondary-action")
2330
+ _("div", oi, [
2331
+ A(p.$slots, "secondary-action")
2338
2332
  ])
2339
2333
  ])
2340
2334
  ])
2341
- ], 10, Ht));
2335
+ ], 10, Xt));
2342
2336
  }
2343
- }), li = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], vl = /* @__PURE__ */ P({
2337
+ }), li = ["id", "data-icon", "data-icon-weight", "data-icon-variant"], Eo = /* @__PURE__ */ G({
2344
2338
  __name: "icon",
2345
2339
  props: {
2346
2340
  variant: { default: void 0 },
@@ -2354,23 +2348,42 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2354
2348
  text: { default: void 0 }
2355
2349
  },
2356
2350
  setup(t) {
2357
- const a = t, l = d(null);
2358
- return (e, i) => (g(), B("span", {
2351
+ const a = t, o = d(null);
2352
+ return (e, i) => (m(), S("span", {
2359
2353
  "aria-hidden": "true",
2360
2354
  ref_key: "_ref",
2361
- ref: l,
2355
+ ref: o,
2362
2356
  id: e.id,
2363
- class: z(n(q)("db-icon", a.class)),
2357
+ class: P(n(q)("db-icon", a.class)),
2364
2358
  "data-icon": e.icon,
2365
2359
  "data-icon-weight": e.weight,
2366
2360
  "data-icon-variant": e.variant
2367
2361
  }, [
2368
- e.text ? (g(), B(U, { key: 0 }, [
2369
- N(L(e.text), 1)
2362
+ e.text ? (m(), S(W, { key: 0 }, [
2363
+ N($(e.text), 1)
2370
2364
  ], 64)) : A(e.$slots, "default", { key: 1 })
2371
2365
  ], 10, li));
2372
2366
  }
2373
- }), oi = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "data-size", "data-show-icon-trailing", "data-variant", "data-content", "data-wrap"], fl = /* @__PURE__ */ P({
2367
+ }), Ao = ["16", "20", "24", "32", "48", "64"], Do = [
2368
+ "color",
2369
+ "date",
2370
+ "datetime-local",
2371
+ "email",
2372
+ "file",
2373
+ // TODO: move this to own component
2374
+ "hidden",
2375
+ "month",
2376
+ "number",
2377
+ "password",
2378
+ "range",
2379
+ // TODO: move this to own component
2380
+ "search",
2381
+ "tel",
2382
+ "text",
2383
+ "time",
2384
+ "url",
2385
+ "week"
2386
+ ], ni = ["id", "href", "target", "rel", "role", "hrefLang", "aria-disabled", "tabIndex", "data-size", "data-show-icon-trailing", "data-variant", "data-content", "data-wrap"], No = /* @__PURE__ */ G({
2374
2387
  __name: "link",
2375
2388
  props: {
2376
2389
  content: { default: void 0 },
@@ -2394,35 +2407,35 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2394
2407
  wrap: { type: [Boolean, String], default: void 0 }
2395
2408
  },
2396
2409
  setup(t) {
2397
- const a = t, l = d(null);
2410
+ const a = t, o = d(null);
2398
2411
  function e(i) {
2399
2412
  a.onClick && a.onClick(i);
2400
2413
  }
2401
- return (i, u) => (g(), B("a", {
2414
+ return (i, u) => (m(), S("a", {
2402
2415
  ref_key: "_ref",
2403
- ref: l,
2416
+ ref: o,
2404
2417
  id: i.id,
2405
- class: z(n(q)("db-link", a.class)),
2418
+ class: P(n(q)("db-link", a.class)),
2406
2419
  href: i.href,
2407
2420
  target: i.target,
2408
2421
  rel: i.rel,
2409
2422
  role: i.role,
2410
2423
  hrefLang: i.hreflang,
2411
- "aria-disabled": n(F)(i.disabled),
2424
+ "aria-disabled": n(R)(i.disabled),
2412
2425
  tabIndex: i.disabled ? -1 : 0,
2413
2426
  "data-size": i.size,
2414
- "data-show-icon-trailing": n(F)(i.showIcon ?? !0),
2427
+ "data-show-icon-trailing": n(R)(i.showIcon ?? !0),
2415
2428
  "data-variant": i.variant,
2416
2429
  "data-content": i.content || "internal",
2417
- "data-wrap": n(F)(i.wrap),
2430
+ "data-wrap": n(R)(i.wrap),
2418
2431
  onClick: u[0] || (u[0] = async (f) => e(f))
2419
2432
  }, [
2420
- i.text ? (g(), B(U, { key: 0 }, [
2421
- N(L(i.text), 1)
2433
+ i.text ? (m(), S(W, { key: 0 }, [
2434
+ N($(i.text), 1)
2422
2435
  ], 64)) : A(i.$slots, "default", { key: 1 })
2423
- ], 10, oi));
2436
+ ], 10, ni));
2424
2437
  }
2425
- }), ni = ["id"], pl = /* @__PURE__ */ P({
2438
+ }), Fo = ["adaptive", "brand", "inline"], Mo = ["medium", "small"], Ro = ["external", "internal"], si = ["id"], zo = /* @__PURE__ */ G({
2426
2439
  __name: "navigation",
2427
2440
  props: {
2428
2441
  children: { default: void 0 },
@@ -2432,24 +2445,24 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2432
2445
  autofocus: { type: [Boolean, String] }
2433
2446
  },
2434
2447
  setup(t) {
2435
- const a = t, l = d(Le), e = d(null);
2448
+ const a = t, o = d(Te), e = d(null);
2436
2449
  return Y(() => {
2437
- l.value = a.id || "navigation-" + J();
2438
- }), (i, u) => (g(), B("nav", {
2450
+ o.value = a.id || "navigation-" + Q();
2451
+ }), (i, u) => (m(), S("nav", {
2439
2452
  ref_key: "_ref",
2440
2453
  ref: e,
2441
- id: l.value,
2442
- class: z(n(q)("db-navigation", a.class))
2454
+ id: o.value,
2455
+ class: P(n(q)("db-navigation", a.class))
2443
2456
  }, [
2444
2457
  _("menu", null, [
2445
2458
  A(i.$slots, "default")
2446
2459
  ])
2447
- ], 10, ni));
2460
+ ], 10, si));
2448
2461
  }
2449
- }), si = ["id", "data-width", "data-icon", "data-show-icon", "data-active", "data-wrap", "aria-disabled"], di = ["aria-haspopup", "aria-expanded", "disabled"], ui = ["data-force-close", "id"], ri = {
2462
+ }), di = ["id", "data-width", "data-icon", "data-show-icon", "data-active", "data-wrap", "aria-disabled"], ui = ["aria-haspopup", "aria-expanded", "disabled"], ri = ["data-force-close", "id"], ci = {
2450
2463
  key: 0,
2451
2464
  class: "db-mobile-navigation-back"
2452
- }, hl = /* @__PURE__ */ P({
2465
+ }, Vo = /* @__PURE__ */ G({
2453
2466
  __name: "navigation-item",
2454
2467
  props: {
2455
2468
  active: { type: Boolean, default: void 0 },
@@ -2471,15 +2484,15 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2471
2484
  text: { default: void 0 }
2472
2485
  },
2473
2486
  setup(t) {
2474
- const a = t, l = d(!1), e = d(!1), i = d(!0), u = d(!1), f = d(!1), m = d(
2475
- "sub-navigation-" + J()
2476
- ), r = d(void 0), s = d(null);
2487
+ const a = t, o = d(!1), e = d(!1), i = d(!0), u = d(!1), f = d(!1), p = d(
2488
+ "sub-navigation-" + Q()
2489
+ ), v = d(void 0), s = d(null);
2477
2490
  Y(() => {
2478
- l.value = !0;
2491
+ o.value = !0;
2479
2492
  }), D(
2480
2493
  () => [a.subNavigationExpanded],
2481
2494
  () => {
2482
- a.subNavigationExpanded !== void 0 && (u.value = !!R(
2495
+ a.subNavigationExpanded !== void 0 && (u.value = !!V(
2483
2496
  a.subNavigationExpanded,
2484
2497
  "subNavigationExpanded"
2485
2498
  ));
@@ -2489,14 +2502,14 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2489
2502
  flush: "post"
2490
2503
  }
2491
2504
  ), D(
2492
- () => [l.value, s.value],
2505
+ () => [o.value, s.value],
2493
2506
  () => {
2494
2507
  var h;
2495
- if (l.value && s.value) {
2496
- const v = s.value.querySelector("menu");
2497
- v && (((h = v.children) == null ? void 0 : h.length) > 0 ? (e.value = !0, r.value || (r.value = new Ot(
2508
+ if (o.value && s.value) {
2509
+ const r = s.value.querySelector("menu");
2510
+ r && (((h = r.children) == null ? void 0 : h.length) > 0 ? (e.value = !0, v.value || (v.value = new Ht(
2498
2511
  s.value,
2499
- v
2512
+ r
2500
2513
  ))) : i.value = !1);
2501
2514
  }
2502
2515
  },
@@ -2505,84 +2518,84 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2505
2518
  flush: "post"
2506
2519
  }
2507
2520
  );
2508
- function p(h) {
2509
- var v;
2510
- ((v = h == null ? void 0 : h.target) == null ? void 0 : v.nodeName) === "A" && (f.value = !0, Z(() => {
2521
+ function g(h) {
2522
+ var r;
2523
+ ((r = h == null ? void 0 : h.target) == null ? void 0 : r.nodeName) === "A" && (f.value = !0, Z(() => {
2511
2524
  f.value = !1;
2512
2525
  }, 1e3));
2513
2526
  }
2514
2527
  function T(h) {
2515
2528
  a.onClick && (h.stopPropagation(), a.onClick(h)), e.value && (u.value = !0);
2516
2529
  }
2517
- function S(h) {
2530
+ function w(h) {
2518
2531
  h.stopPropagation(), u.value = !1;
2519
2532
  }
2520
- return (h, v) => (g(), B("li", {
2533
+ return (h, r) => (m(), S("li", {
2521
2534
  ref_key: "_ref",
2522
2535
  ref: s,
2523
2536
  id: h.id,
2524
- onMouseover: v[2] || (v[2] = async (c) => {
2525
- var I;
2526
- return (I = r.value) == null ? void 0 : I.enableFollow();
2537
+ onMouseover: r[2] || (r[2] = async (c) => {
2538
+ var L;
2539
+ return (L = v.value) == null ? void 0 : L.enableFollow();
2527
2540
  }),
2528
- onMouseleave: v[3] || (v[3] = async (c) => {
2529
- var I;
2530
- return (I = r.value) == null ? void 0 : I.disableFollow();
2541
+ onMouseleave: r[3] || (r[3] = async (c) => {
2542
+ var L;
2543
+ return (L = v.value) == null ? void 0 : L.disableFollow();
2531
2544
  }),
2532
- onMousemove: v[4] || (v[4] = async (c) => {
2533
- var I;
2534
- return (I = r.value) == null ? void 0 : I.followByMouseEvent(c);
2545
+ onMousemove: r[4] || (r[4] = async (c) => {
2546
+ var L;
2547
+ return (L = v.value) == null ? void 0 : L.followByMouseEvent(c);
2535
2548
  }),
2536
- class: z(n(q)("db-navigation-item", a.class)),
2549
+ class: P(n(q)("db-navigation-item", a.class)),
2537
2550
  "data-width": h.width,
2538
2551
  "data-icon": h.icon,
2539
- "data-show-icon": n(F)(h.showIcon),
2552
+ "data-show-icon": n(R)(h.showIcon),
2540
2553
  "data-active": h.active,
2541
- "data-wrap": n(F)(h.wrap),
2542
- "aria-disabled": n(F)(h.disabled)
2554
+ "data-wrap": n(R)(h.wrap),
2555
+ "aria-disabled": n(R)(h.disabled)
2543
2556
  }, [
2544
- i.value ? V("", !0) : (g(), B(U, { key: 0 }, [
2545
- h.text ? (g(), B(U, { key: 0 }, [
2546
- N(L(h.text), 1)
2557
+ i.value ? U("", !0) : (m(), S(W, { key: 0 }, [
2558
+ h.text ? (m(), S(W, { key: 0 }, [
2559
+ N($(h.text), 1)
2547
2560
  ], 64)) : A(h.$slots, "default", { key: 1 })
2548
2561
  ], 64)),
2549
- i.value ? (g(), B(U, { key: 1 }, [
2562
+ i.value ? (m(), S(W, { key: 1 }, [
2550
2563
  _("button", {
2551
2564
  class: "db-navigation-item-expand-button",
2552
2565
  "aria-haspopup": e.value,
2553
2566
  "aria-expanded": u.value,
2554
- disabled: n(R)(h.disabled, "disabled"),
2555
- onClick: v[0] || (v[0] = async (c) => T(c))
2567
+ disabled: n(V)(h.disabled, "disabled"),
2568
+ onClick: r[0] || (r[0] = async (c) => T(c))
2556
2569
  }, [
2557
- h.text ? (g(), B(U, { key: 0 }, [
2558
- N(L(h.text), 1)
2570
+ h.text ? (m(), S(W, { key: 0 }, [
2571
+ N($(h.text), 1)
2559
2572
  ], 64)) : A(h.$slots, "default", { key: 1 })
2560
- ], 8, di),
2573
+ ], 8, ui),
2561
2574
  _("menu", {
2562
2575
  class: "db-sub-navigation",
2563
2576
  "data-force-close": f.value,
2564
- id: m.value,
2565
- onClick: v[1] || (v[1] = async (c) => p(c))
2577
+ id: p.value,
2578
+ onClick: r[1] || (r[1] = async (c) => g(c))
2566
2579
  }, [
2567
- e.value ? (g(), B("div", ri, [
2568
- ee(Be, {
2580
+ e.value ? (m(), S("div", ci, [
2581
+ ee(Se, {
2569
2582
  icon: "arrow_left",
2570
2583
  variant: "ghost",
2571
2584
  id: h.backButtonId,
2572
- onClick: (c) => S(c)
2585
+ onClick: (c) => w(c)
2573
2586
  }, {
2574
- default: W(() => [
2575
- N(L(h.backButtonText ?? n(Ea)), 1)
2587
+ default: H(() => [
2588
+ N($(h.backButtonText ?? n(Aa)), 1)
2576
2589
  ]),
2577
2590
  _: 1
2578
2591
  }, 8, ["id", "onClick"])
2579
- ])) : V("", !0),
2592
+ ])) : U("", !0),
2580
2593
  A(h.$slots, "sub-navigation")
2581
- ], 8, ui)
2582
- ], 64)) : V("", !0)
2583
- ], 42, si));
2594
+ ], 8, ri)
2595
+ ], 64)) : U("", !0)
2596
+ ], 42, di));
2584
2597
  }
2585
- }), ci = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-show-icon", "data-link-variant"], vi = { key: 0 }, fi = { key: 1 }, gl = /* @__PURE__ */ P({
2598
+ }), vi = ["id", "aria-live", "data-semantic", "data-variant", "data-icon", "data-show-icon", "data-link-variant"], fi = { key: 0 }, pi = { key: 1 }, Po = /* @__PURE__ */ G({
2586
2599
  __name: "notification",
2587
2600
  props: {
2588
2601
  ariaLive: { default: void 0 },
@@ -2613,32 +2626,32 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2613
2626
  text: { default: void 0 }
2614
2627
  },
2615
2628
  setup(t) {
2616
- const a = t, l = d(null);
2629
+ const a = t, o = d(null);
2617
2630
  function e(i) {
2618
2631
  i && (i.stopPropagation(), a.onClose && a.onClose(i));
2619
2632
  }
2620
- return (i, u) => (g(), B("article", {
2633
+ return (i, u) => (m(), S("article", {
2621
2634
  ref_key: "_ref",
2622
- ref: l,
2635
+ ref: o,
2623
2636
  id: i.id,
2624
- class: z(n(q)("db-notification", a.class)),
2637
+ class: P(n(q)("db-notification", a.class)),
2625
2638
  "aria-live": i.ariaLive,
2626
2639
  "data-semantic": i.semantic,
2627
2640
  "data-variant": i.variant,
2628
2641
  "data-icon": i.icon,
2629
- "data-show-icon": n(F)(i.showIcon),
2642
+ "data-show-icon": n(R)(i.showIcon),
2630
2643
  "data-link-variant": i.linkVariant
2631
2644
  }, [
2632
2645
  A(i.$slots, "image"),
2633
- n(x)(i.headline, i.showHeadline) ? (g(), B("header", vi, L(i.headline), 1)) : V("", !0),
2646
+ n(x)(i.headline, i.showHeadline) ? (m(), S("header", fi, $(i.headline), 1)) : U("", !0),
2634
2647
  _("p", null, [
2635
- i.text ? (g(), B(U, { key: 0 }, [
2636
- N(L(i.text), 1)
2648
+ i.text ? (m(), S(W, { key: 0 }, [
2649
+ N($(i.text), 1)
2637
2650
  ], 64)) : A(i.$slots, "default", { key: 1 })
2638
2651
  ]),
2639
- n(x)(i.timestamp, i.showTimestamp) ? (g(), B("span", fi, L(i.timestamp), 1)) : V("", !0),
2652
+ n(x)(i.timestamp, i.showTimestamp) ? (m(), S("span", pi, $(i.timestamp), 1)) : U("", !0),
2640
2653
  A(i.$slots, "link"),
2641
- n(R)(i.closeable, "closeable") ? (g(), Q(Be, {
2654
+ n(V)(i.closeable, "closeable") ? (m(), J(Se, {
2642
2655
  key: 2,
2643
2656
  icon: "cross",
2644
2657
  variant: "ghost",
@@ -2647,14 +2660,14 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2647
2660
  noText: !0,
2648
2661
  onClick: (f) => e(f)
2649
2662
  }, {
2650
- default: W(() => [
2651
- N(L(i.closeButtonText ?? n(Ge)), 1)
2663
+ default: H(() => [
2664
+ N($(i.closeButtonText ?? n(We)), 1)
2652
2665
  ]),
2653
2666
  _: 1
2654
- }, 8, ["id", "onClick"])) : V("", !0)
2655
- ], 10, ci));
2667
+ }, 8, ["id", "onClick"])) : U("", !0)
2668
+ ], 10, vi));
2656
2669
  }
2657
- }), pi = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], ml = /* @__PURE__ */ P({
2670
+ }), qo = ["docked", "standalone", "overlay"], Uo = ["block", "inline"], Go = ["assertive", "polite", "off"], hi = ["id", "data-variant", "data-fade-in", "data-fonts-loaded"], Wo = /* @__PURE__ */ G({
2658
2671
  __name: "page",
2659
2672
  props: {
2660
2673
  documentOverflow: { default: void 0 },
@@ -2670,32 +2683,32 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2670
2683
  autofocus: { type: [Boolean, String] }
2671
2684
  },
2672
2685
  setup(t) {
2673
- const a = t, l = d(!1), e = d(null);
2686
+ const a = t, o = d(!1), e = d(null);
2674
2687
  return typeof window < "u" && document && (a.documentOverflow === "hidden" || a.variant === "fixed" && a.documentOverflow !== "auto") && document.documentElement.classList.add("db-page-document"), Y(() => {
2675
- l.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
2676
- l.value = !0;
2677
- }) : l.value = !0;
2678
- }), _a(() => {
2688
+ o.value = !a.fadeIn, document && a.fadeIn ? document.fonts.ready.then(() => {
2689
+ o.value = !0;
2690
+ }) : o.value = !0;
2691
+ }), Ca(() => {
2679
2692
  typeof window < "u" && document.documentElement.classList.contains("db-page-document") && document.documentElement.classList.remove("db-page-document");
2680
- }), (i, u) => (g(), B("div", {
2693
+ }), (i, u) => (m(), S("div", {
2681
2694
  ref_key: "_ref",
2682
2695
  ref: e,
2683
2696
  id: i.id,
2684
- class: z(n(q)("db-page", a.class)),
2697
+ class: P(n(q)("db-page", a.class)),
2685
2698
  "data-variant": i.variant,
2686
- "data-fade-in": n(F)(i.fadeIn),
2687
- "data-fonts-loaded": n(F)(l.value)
2699
+ "data-fade-in": n(R)(i.fadeIn),
2700
+ "data-fonts-loaded": n(R)(o.value)
2688
2701
  }, [
2689
2702
  A(i.$slots, "header"),
2690
2703
  _("main", {
2691
- class: z(n(q)("db-main", i.mainClass))
2704
+ class: P(n(q)("db-main", i.mainClass))
2692
2705
  }, [
2693
2706
  A(i.$slots, "default")
2694
2707
  ], 2),
2695
2708
  A(i.$slots, "footer")
2696
- ], 10, pi));
2709
+ ], 10, hi));
2697
2710
  }
2698
- }), hi = ["id"], gi = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], bl = /* @__PURE__ */ P({
2711
+ }), Oo = ["auto", "fixed"], Ho = ["hidden", "auto"], gi = ["id"], mi = ["data-spacing", "data-gap", "data-animation", "data-open", "data-delay", "data-width", "data-placement"], Xo = /* @__PURE__ */ G({
2699
2712
  __name: "popover",
2700
2713
  props: {
2701
2714
  open: { type: [Boolean, String], default: void 0 },
@@ -2713,25 +2726,25 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2713
2726
  width: { default: void 0 }
2714
2727
  },
2715
2728
  setup(t) {
2716
- const a = t, l = d(!1), e = d(!1), i = d(void 0), u = d(void 0), f = d(null);
2729
+ const a = t, o = d(!1), e = d(!1), i = d(void 0), u = d(void 0), f = d(null);
2717
2730
  Y(() => {
2718
- l.value = !0;
2731
+ o.value = !0;
2719
2732
  }), D(
2720
- () => [f.value, l.value],
2733
+ () => [f.value, o.value],
2721
2734
  () => {
2722
- if (f.value && l.value) {
2723
- l.value = !1;
2724
- const h = S();
2725
- h && (h.ariaHasPopup = "true"), r(), f.value.addEventListener(
2735
+ if (f.value && o.value) {
2736
+ o.value = !1;
2737
+ const h = w();
2738
+ h && (h.ariaHasPopup = "true"), v(), f.value.addEventListener(
2726
2739
  "keydown",
2727
- (v) => m(v)
2728
- ), ["mouseenter", "focusin"].forEach((v) => {
2729
- f.value.addEventListener(v, () => p());
2730
- }), ["mouseleave", "focusout"].forEach((v) => {
2731
- f.value.addEventListener(v, () => T());
2732
- }), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((v) => {
2733
- const c = v.find(({ target: I }) => I === S());
2734
- c && !c.isIntersecting && m(!1);
2740
+ (r) => p(r)
2741
+ ), ["mouseenter", "focusin"].forEach((r) => {
2742
+ f.value.addEventListener(r, () => g());
2743
+ }), ["mouseleave", "focusout"].forEach((r) => {
2744
+ f.value.addEventListener(r, () => T());
2745
+ }), typeof window < "u" && "IntersectionObserver" in window && (u.value = new IntersectionObserver((r) => {
2746
+ const c = r.find(({ target: L }) => L === w());
2747
+ c && !c.isIntersecting && p(!1);
2735
2748
  }));
2736
2749
  }
2737
2750
  },
@@ -2743,7 +2756,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2743
2756
  () => [f.value, e.value],
2744
2757
  () => {
2745
2758
  if (f.value) {
2746
- const h = S();
2759
+ const h = w();
2747
2760
  h && (h.ariaExpanded = (!!e.value).toString());
2748
2761
  }
2749
2762
  },
@@ -2752,16 +2765,16 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2752
2765
  flush: "post"
2753
2766
  }
2754
2767
  );
2755
- function m(h) {
2768
+ function p(h) {
2756
2769
  if (!h || h.key === "Escape")
2757
- for (const v of Array.from(f.value.children))
2758
- v.blur();
2770
+ for (const r of Array.from(f.value.children))
2771
+ r.blur();
2759
2772
  }
2760
- function r() {
2773
+ function v() {
2761
2774
  if (!f.value) return;
2762
2775
  const h = f.value.querySelector("article");
2763
2776
  h && Z(() => {
2764
- ua(
2777
+ ra(
2765
2778
  h,
2766
2779
  f.value,
2767
2780
  a.placement ?? "bottom"
@@ -2769,60 +2782,60 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2769
2782
  }, 1);
2770
2783
  }
2771
2784
  function s(h) {
2772
- var v, c;
2773
- (v = h == null ? void 0 : h.target) != null && v.contains && ((c = h == null ? void 0 : h.target) != null && c.contains(f.value)) && r();
2785
+ var r, c;
2786
+ (r = h == null ? void 0 : h.target) != null && r.contains && ((c = h == null ? void 0 : h.target) != null && c.contains(f.value)) && v();
2774
2787
  }
2775
- function p() {
2776
- var v;
2777
- e.value = !0, i.value = new Ie().addCallback(
2788
+ function g() {
2789
+ var r;
2790
+ e.value = !0, i.value = new Be().addCallback(
2778
2791
  (c) => s(c)
2779
- ), r();
2780
- const h = S();
2781
- h && ((v = u.value) == null || v.observe(h));
2792
+ ), v();
2793
+ const h = w();
2794
+ h && ((r = u.value) == null || r.observe(h));
2782
2795
  }
2783
2796
  function T(h) {
2784
- var v;
2797
+ var r;
2785
2798
  {
2786
- e.value = !1, i.value && new Ie().removeCallback(
2799
+ e.value = !1, i.value && new Be().removeCallback(
2787
2800
  i.value
2788
2801
  );
2789
- const c = S();
2790
- c && ((v = u.value) == null || v.unobserve(c));
2802
+ const c = w();
2803
+ c && ((r = u.value) == null || r.unobserve(c));
2791
2804
  }
2792
2805
  }
2793
- function S() {
2806
+ function w() {
2794
2807
  var h;
2795
2808
  if (f.value) {
2796
- const v = Array.from(f.value.children);
2797
- if (v.length >= 2) {
2798
- const c = v[0];
2809
+ const r = Array.from(f.value.children);
2810
+ if (r.length >= 2) {
2811
+ const c = r[0];
2799
2812
  return c.tagName.includes("-") ? ((h = c.children) == null ? void 0 : h.length) > 0 ? c.children[0] : null : c;
2800
2813
  }
2801
2814
  }
2802
2815
  return null;
2803
2816
  }
2804
- return (h, v) => (g(), B("div", {
2817
+ return (h, r) => (m(), S("div", {
2805
2818
  ref_key: "_ref",
2806
2819
  ref: f,
2807
2820
  id: h.id,
2808
- class: z(n(q)("db-popover", a.class))
2821
+ class: P(n(q)("db-popover", a.class))
2809
2822
  }, [
2810
2823
  A(h.$slots, "trigger"),
2811
2824
  _("article", {
2812
2825
  class: "db-popover-content",
2813
2826
  "data-spacing": h.spacing,
2814
- "data-gap": n(F)(h.gap),
2815
- "data-animation": n(F)(h.animation ?? !0),
2816
- "data-open": n(F)(h.open),
2827
+ "data-gap": n(R)(h.gap),
2828
+ "data-animation": n(R)(h.animation ?? !0),
2829
+ "data-open": n(R)(h.open),
2817
2830
  "data-delay": h.delay,
2818
2831
  "data-width": h.width,
2819
2832
  "data-placement": h.placement
2820
2833
  }, [
2821
2834
  A(h.$slots, "default")
2822
- ], 8, gi)
2823
- ], 10, hi));
2835
+ ], 8, mi)
2836
+ ], 10, gi));
2824
2837
  }
2825
- }), mi = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], bi = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required"], yl = /* @__PURE__ */ P({
2838
+ }), bi = ["data-size", "data-hide-label", "data-hide-asterisk", "for"], yi = ["aria-invalid", "data-custom-validity", "id", "name", "checked", "disabled", "value", "required"], jo = /* @__PURE__ */ G({
2826
2839
  __name: "radio",
2827
2840
  props: {
2828
2841
  children: { default: void 0 },
@@ -2851,9 +2864,9 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2851
2864
  },
2852
2865
  emits: ["update:value"],
2853
2866
  setup(t, { emit: a }) {
2854
- const l = a, e = t, i = d(!1), u = d(void 0), f = d(null);
2867
+ const o = a, e = t, i = d(!1), u = d(void 0), f = d(null);
2855
2868
  Y(() => {
2856
- i.value = !0, u.value = e.id ?? `radio-${J()}`;
2869
+ i.value = !0, u.value = e.id ?? `radio-${Q()}`;
2857
2870
  }), D(
2858
2871
  () => [i.value, f.value, e.checked],
2859
2872
  () => {
@@ -2864,44 +2877,44 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2864
2877
  flush: "post"
2865
2878
  }
2866
2879
  );
2867
- function m(p) {
2868
- e.onChange && e.onChange(p), de(l, p);
2880
+ function p(g) {
2881
+ e.onChange && e.onChange(g), de(o, g);
2869
2882
  }
2870
- function r(p) {
2871
- e.onBlur && e.onBlur(p);
2883
+ function v(g) {
2884
+ e.onBlur && e.onBlur(g);
2872
2885
  }
2873
- function s(p) {
2874
- e.onFocus && e.onFocus(p);
2886
+ function s(g) {
2887
+ e.onFocus && e.onFocus(g);
2875
2888
  }
2876
- return (p, T) => (g(), B("label", {
2877
- "data-size": p.size,
2878
- "data-hide-label": n(ie)(p.showLabel),
2879
- "data-hide-asterisk": n(ie)(p.showRequiredAsterisk),
2880
- class: z(n(q)("db-radio", e.class)),
2889
+ return (g, T) => (m(), S("label", {
2890
+ "data-size": g.size,
2891
+ "data-hide-label": n(ie)(g.showLabel),
2892
+ "data-hide-asterisk": n(ie)(g.showRequiredAsterisk),
2893
+ class: P(n(q)("db-radio", e.class)),
2881
2894
  for: u.value
2882
2895
  }, [
2883
2896
  _("input", {
2884
2897
  type: "radio",
2885
- "aria-invalid": p.validation === "invalid",
2886
- "data-custom-validity": p.validation,
2898
+ "aria-invalid": g.validation === "invalid",
2899
+ "data-custom-validity": g.validation,
2887
2900
  ref_key: "_ref",
2888
2901
  ref: f,
2889
2902
  id: u.value,
2890
- name: p.name,
2891
- checked: n(R)(p.checked, "checked"),
2892
- disabled: n(R)(p.disabled, "disabled"),
2893
- value: p.value,
2894
- required: n(R)(p.required, "required"),
2895
- onChange: T[0] || (T[0] = async (S) => m(S)),
2896
- onBlur: T[1] || (T[1] = async (S) => r(S)),
2897
- onFocus: T[2] || (T[2] = async (S) => s(S))
2898
- }, null, 40, bi),
2899
- p.label ? (g(), B(U, { key: 0 }, [
2900
- N(L(p.label), 1)
2901
- ], 64)) : A(p.$slots, "default", { key: 1 })
2902
- ], 10, mi));
2903
+ name: g.name,
2904
+ checked: n(V)(g.checked, "checked"),
2905
+ disabled: n(V)(g.disabled, "disabled"),
2906
+ value: g.value,
2907
+ required: n(V)(g.required, "required"),
2908
+ onChange: T[0] || (T[0] = async (w) => p(w)),
2909
+ onBlur: T[1] || (T[1] = async (w) => v(w)),
2910
+ onFocus: T[2] || (T[2] = async (w) => s(w))
2911
+ }, null, 40, yi),
2912
+ g.label ? (m(), S(W, { key: 0 }, [
2913
+ N($(g.label), 1)
2914
+ ], 64)) : A(g.$slots, "default", { key: 1 })
2915
+ ], 10, bi));
2903
2916
  }
2904
- }), yi = ["id", "data-spacing", "data-width"], wl = /* @__PURE__ */ P({
2917
+ }), wi = ["id", "data-spacing", "data-width"], Yo = /* @__PURE__ */ G({
2905
2918
  __name: "section",
2906
2919
  props: {
2907
2920
  children: { default: void 0 },
@@ -2913,24 +2926,24 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2913
2926
  width: { default: void 0 }
2914
2927
  },
2915
2928
  setup(t) {
2916
- const a = t, l = d(Le), e = d(null);
2929
+ const a = t, o = d(Te), e = d(null);
2917
2930
  return Y(() => {
2918
- l.value = a.id || "section-" + J();
2919
- }), (i, u) => (g(), B("section", {
2931
+ o.value = a.id || "section-" + Q();
2932
+ }), (i, u) => (m(), S("section", {
2920
2933
  ref_key: "_ref",
2921
2934
  ref: e,
2922
- id: l.value,
2923
- class: z(n(q)("db-section", a.class)),
2935
+ id: o.value,
2936
+ class: P(n(q)("db-section", a.class)),
2924
2937
  "data-spacing": i.spacing || "medium",
2925
2938
  "data-width": i.width
2926
2939
  }, [
2927
2940
  A(i.$slots, "default")
2928
- ], 10, yi));
2941
+ ], 10, wi));
2929
2942
  }
2930
- }), wi = ["data-variant", "data-hide-label", "data-hide-asterisk", "data-icon", "data-show-icon"], ki = ["for"], Si = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], Bi = ["label"], Ii = ["value", "selected", "disabled"], $i = ["value", "disabled", "selected"], Li = ["id"], Ti = {
2943
+ }), ki = ["data-variant", "data-hide-label", "data-hide-asterisk", "data-icon", "data-show-icon"], Si = ["for"], Bi = ["aria-invalid", "data-custom-validity", "required", "disabled", "id", "name", "size", "value", "autocomplete", "multiple", "aria-describedby"], Li = ["label"], Ii = ["value", "selected", "disabled"], $i = ["value", "disabled", "selected"], Ti = ["id"], _i = {
2931
2944
  "data-visually-hidden": "true",
2932
2945
  role: "status"
2933
- }, kl = /* @__PURE__ */ P({
2946
+ }, Ko = /* @__PURE__ */ G({
2934
2947
  __name: "select",
2935
2948
  props: {
2936
2949
  children: { default: void 0 },
@@ -2973,27 +2986,27 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
2973
2986
  },
2974
2987
  emits: ["update:value"],
2975
2988
  setup(t, { emit: a }) {
2976
- const l = a, e = t, i = d(void 0), u = d(void 0), f = d(void 0), m = d(void 0), r = d(void 0), s = d(""), p = d(""), T = d(""), S = d(!1), h = d(""), v = d(null);
2989
+ const o = a, e = t, i = d(void 0), u = d(void 0), f = d(void 0), p = d(void 0), v = d(void 0), s = d(""), g = d(void 0), T = d(""), w = d(!1), h = d(""), r = d(null);
2977
2990
  Y(() => {
2978
- S.value = !0;
2979
- const k = e.id ?? `select-${J()}`;
2980
- i.value = k, u.value = k + ve, f.value = k + fe, m.value = k + pe, s.value = k + Re, r.value = e.invalidMessage || te;
2991
+ w.value = !0;
2992
+ const B = e.id ?? `select-${Q()}`;
2993
+ i.value = B, u.value = B + fe, f.value = B + pe, p.value = B + he, s.value = B + Re, v.value = e.invalidMessage || te;
2981
2994
  }), D(
2982
- () => [v.value, e.invalidMessage],
2995
+ () => [r.value, e.invalidMessage],
2983
2996
  () => {
2984
- var k;
2985
- r.value = e.invalidMessage || ((k = v.value) == null ? void 0 : k.validationMessage) || te;
2997
+ var B;
2998
+ v.value = e.invalidMessage || ((B = r.value) == null ? void 0 : B.validationMessage) || te;
2986
2999
  },
2987
3000
  {
2988
3001
  immediate: !0,
2989
3002
  flush: "post"
2990
3003
  }
2991
3004
  ), D(
2992
- () => [i.value, S.value],
3005
+ () => [i.value, w.value],
2993
3006
  () => {
2994
- if (i.value && S.value) {
2995
- const k = i.value + ve, X = i.value + Re;
2996
- u.value = k, f.value = i.value + fe, m.value = i.value + pe, s.value = X, x(e.message, e.showMessage) ? p.value = k : p.value = X, S.value = !1;
3007
+ if (i.value && w.value) {
3008
+ const B = i.value + fe, M = i.value + Re;
3009
+ u.value = B, f.value = i.value + pe, p.value = i.value + he, s.value = M, x(e.message, e.showMessage) ? g.value = B : g.value = M, L(), w.value = !1;
2997
3010
  }
2998
3011
  },
2999
3012
  {
@@ -3013,118 +3026,118 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3013
3026
  function c() {
3014
3027
  return !!(e.validMessage ?? e.validation === "valid");
3015
3028
  }
3016
- function I() {
3017
- var k, X, le;
3018
- !((k = v.value) != null && k.validity.valid) || e.validation === "invalid" ? (p.value = m.value, r.value = e.invalidMessage || ((X = v.value) == null ? void 0 : X.validationMessage) || te, ge() && (h.value = r.value, Z(() => h.value = "", 1e3))) : c() && ((le = v.value) != null && le.validity.valid) && e.required ? (p.value = f.value, ge() && (h.value = e.validMessage ?? he, Z(() => h.value = "", 1e3))) : x(e.message, e.showMessage) ? p.value = u.value : p.value = s.value;
3029
+ function L() {
3030
+ var B, M, oe;
3031
+ !((B = r.value) != null && B.validity.valid) || e.validation === "invalid" ? (g.value = p.value, v.value = e.invalidMessage || ((M = r.value) == null ? void 0 : M.validationMessage) || te, me() && (h.value = v.value, Z(() => h.value = "", 1e3))) : c() && ((oe = r.value) != null && oe.validity.valid) && e.required ? (g.value = f.value, me() && (h.value = e.validMessage ?? ge, Z(() => h.value = "", 1e3))) : x(e.message, e.showMessage) ? g.value = u.value : g.value = s.value;
3019
3032
  }
3020
- function C(k) {
3021
- e.onClick && e.onClick(k);
3033
+ function C(B) {
3034
+ e.onClick && e.onClick(B);
3022
3035
  }
3023
- function b(k) {
3024
- e.input && e.input(k), T.value = k.target.value, e.onInput && e.onInput(k), de(l, k), I();
3036
+ function b(B) {
3037
+ e.input && e.input(B), T.value = B.target.value, e.onInput && e.onInput(B), de(o, B), L();
3025
3038
  }
3026
- function w(k) {
3027
- e.onChange && e.onChange(k), de(l, k), I();
3039
+ function k(B) {
3040
+ e.onChange && e.onChange(B), de(o, B), L();
3028
3041
  }
3029
- function O(k) {
3030
- e.onBlur && e.onBlur(k);
3042
+ function F(B) {
3043
+ e.onBlur && e.onBlur(B);
3031
3044
  }
3032
- function y(k) {
3033
- e.onFocus && e.onFocus(k);
3045
+ function y(B) {
3046
+ e.onFocus && e.onFocus(B);
3047
+ }
3048
+ function X(B) {
3049
+ var M;
3050
+ return B.label ?? ((M = B.value) == null ? void 0 : M.toString());
3034
3051
  }
3035
- function H(k) {
3036
- var X;
3037
- return k.label ?? ((X = k.value) == null ? void 0 : X.toString());
3038
- }
3039
- return (k, X) => {
3040
- var le;
3041
- return g(), B("div", {
3042
- class: z(n(q)("db-select", e.class)),
3043
- "data-variant": k.variant,
3044
- "data-hide-label": n(ie)(k.showLabel),
3045
- "data-hide-asterisk": n(ie)(k.showRequiredAsterisk),
3046
- "data-icon": k.icon,
3047
- "data-show-icon": n(F)(k.showIcon)
3052
+ return (B, M) => {
3053
+ var oe;
3054
+ return m(), S("div", {
3055
+ class: P(n(q)("db-select", e.class)),
3056
+ "data-variant": B.variant,
3057
+ "data-hide-label": n(ie)(B.showLabel),
3058
+ "data-hide-asterisk": n(ie)(B.showRequiredAsterisk),
3059
+ "data-icon": B.icon,
3060
+ "data-show-icon": n(R)(B.showIcon)
3048
3061
  }, [
3049
- _("label", { for: i.value }, L(k.label ?? n(ke)), 9, ki),
3062
+ _("label", { for: i.value }, $(B.label ?? n(we)), 9, Si),
3050
3063
  _("select", {
3051
- "aria-invalid": k.validation === "invalid",
3052
- "data-custom-validity": k.validation,
3064
+ "aria-invalid": B.validation === "invalid",
3065
+ "data-custom-validity": B.validation,
3053
3066
  ref_key: "_ref",
3054
- ref: v,
3055
- required: n(R)(k.required, "required"),
3056
- disabled: n(R)(k.disabled, "disabled"),
3067
+ ref: r,
3068
+ required: n(V)(B.required, "required"),
3069
+ disabled: n(V)(B.disabled, "disabled"),
3057
3070
  id: i.value,
3058
- name: k.name,
3059
- size: k.size,
3060
- value: k.value ?? T.value,
3061
- autocomplete: k.autocomplete,
3062
- multiple: k.multiple,
3063
- onInput: X[0] || (X[0] = async (K) => b(K)),
3064
- onClick: X[1] || (X[1] = async (K) => C(K)),
3065
- onChange: X[2] || (X[2] = async (K) => w(K)),
3066
- onBlur: X[3] || (X[3] = async (K) => O(K)),
3067
- onFocus: X[4] || (X[4] = async (K) => y(K)),
3068
- "aria-describedby": k.ariaDescribedBy ?? p.value
3071
+ name: B.name,
3072
+ size: B.size,
3073
+ value: B.value ?? T.value,
3074
+ autocomplete: B.autocomplete,
3075
+ multiple: B.multiple,
3076
+ onInput: M[0] || (M[0] = async (K) => b(K)),
3077
+ onClick: M[1] || (M[1] = async (K) => C(K)),
3078
+ onChange: M[2] || (M[2] = async (K) => k(K)),
3079
+ onBlur: M[3] || (M[3] = async (K) => F(K)),
3080
+ onFocus: M[4] || (M[4] = async (K) => y(K)),
3081
+ "aria-describedby": B.ariaDescribedBy ?? g.value
3069
3082
  }, [
3070
- X[5] || (X[5] = _("option", { hidden: !0 }, null, -1)),
3071
- (le = k.options) != null && le.length ? (g(!0), B(U, { key: 0 }, be(k.options, (K, Ne) => (g(), B(U, { key: Ne }, [
3072
- K.options ? (g(), B("optgroup", {
3083
+ M[5] || (M[5] = _("option", { hidden: !0 }, null, -1)),
3084
+ (oe = B.options) != null && oe.length ? (m(!0), S(W, { key: 0 }, ye(B.options, (K, _e) => (m(), S(W, { key: _e }, [
3085
+ K.options ? (m(), S("optgroup", {
3073
3086
  key: 0,
3074
- label: H(K)
3087
+ label: X(K)
3075
3088
  }, [
3076
- (g(!0), B(U, null, be(K.options, (ye, _e) => (g(), B("option", {
3077
- key: _e,
3078
- value: ye.value,
3079
- selected: ye.selected,
3080
- disabled: ye.disabled
3081
- }, L(H(ye)), 9, Ii))), 128))
3082
- ], 8, Bi)) : (g(), B("option", {
3089
+ (m(!0), S(W, null, ye(K.options, (Le, Ce) => (m(), S("option", {
3090
+ key: Ce,
3091
+ value: Le.value,
3092
+ selected: Le.selected,
3093
+ disabled: Le.disabled
3094
+ }, $(X(Le)), 9, Ii))), 128))
3095
+ ], 8, Li)) : (m(), S("option", {
3083
3096
  key: 1,
3084
3097
  value: K.value,
3085
3098
  disabled: K.disabled,
3086
3099
  selected: K.selected
3087
- }, L(H(K)), 9, $i))
3088
- ], 64))), 128)) : A(k.$slots, "default", { key: 1 })
3089
- ], 40, Si),
3090
- _("span", { id: s.value }, L(k.placeholder ?? k.label), 9, Li),
3091
- n(x)(k.message, k.showMessage) ? (g(), Q(ae, {
3100
+ }, $(X(K)), 9, $i))
3101
+ ], 64))), 128)) : A(B.$slots, "default", { key: 1 })
3102
+ ], 40, Bi),
3103
+ _("span", { id: s.value }, $(B.placeholder ?? B.label), 9, Ti),
3104
+ n(x)(B.message, B.showMessage) ? (m(), J(ae, {
3092
3105
  key: 0,
3093
3106
  size: "small",
3094
- icon: k.messageIcon,
3107
+ icon: B.messageIcon,
3095
3108
  id: u.value
3096
3109
  }, {
3097
- default: W(() => [
3098
- N(L(k.message), 1)
3110
+ default: H(() => [
3111
+ N($(B.message), 1)
3099
3112
  ]),
3100
3113
  _: 1
3101
- }, 8, ["icon", "id"])) : V("", !0),
3102
- c() ? (g(), Q(ae, {
3114
+ }, 8, ["icon", "id"])) : U("", !0),
3115
+ c() ? (m(), J(ae, {
3103
3116
  key: 1,
3104
3117
  size: "small",
3105
3118
  semantic: "successful",
3106
3119
  id: f.value
3107
3120
  }, {
3108
- default: W(() => [
3109
- N(L(k.validMessage || n(he)), 1)
3121
+ default: H(() => [
3122
+ N($(B.validMessage || n(ge)), 1)
3110
3123
  ]),
3111
3124
  _: 1
3112
- }, 8, ["id"])) : V("", !0),
3125
+ }, 8, ["id"])) : U("", !0),
3113
3126
  ee(ae, {
3114
3127
  size: "small",
3115
3128
  semantic: "critical",
3116
- id: m.value
3129
+ id: p.value
3117
3130
  }, {
3118
- default: W(() => [
3119
- N(L(r.value), 1)
3131
+ default: H(() => [
3132
+ N($(v.value), 1)
3120
3133
  ]),
3121
3134
  _: 1
3122
3135
  }, 8, ["id"]),
3123
- _("span", Ti, L(h.value), 1)
3124
- ], 10, wi);
3136
+ _("span", _i, $(h.value), 1)
3137
+ ], 10, ki);
3125
3138
  };
3126
3139
  }
3127
- }), _i = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], Sl = /* @__PURE__ */ P({
3140
+ }), Ci = ["id", "data-gap", "data-variant", "data-direction", "data-alignment", "data-justify-content", "data-wrap"], Jo = /* @__PURE__ */ G({
3128
3141
  __name: "stack",
3129
3142
  props: {
3130
3143
  variant: { default: void 0 },
@@ -3140,23 +3153,23 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3140
3153
  gap: { default: void 0 }
3141
3154
  },
3142
3155
  setup(t) {
3143
- const a = t, l = d(null);
3144
- return (e, i) => (g(), B("div", {
3156
+ const a = t, o = d(null);
3157
+ return (e, i) => (m(), S("div", {
3145
3158
  ref_key: "_ref",
3146
- ref: l,
3159
+ ref: o,
3147
3160
  id: e.id,
3148
- class: z(n(q)("db-stack", a.class)),
3161
+ class: P(n(q)("db-stack", a.class)),
3149
3162
  "data-gap": e.gap,
3150
3163
  "data-variant": e.variant,
3151
3164
  "data-direction": e.direction,
3152
3165
  "data-alignment": e.alignment,
3153
3166
  "data-justify-content": e.justifyContent,
3154
- "data-wrap": n(F)(e.wrap)
3167
+ "data-wrap": n(R)(e.wrap)
3155
3168
  }, [
3156
3169
  A(e.$slots, "default")
3157
- ], 10, _i));
3170
+ ], 10, Ci));
3158
3171
  }
3159
- }), Ci = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for", "data-hide-asterisk"], Ei = ["id", "checked", "value", "disabled", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-trailing"], Bl = /* @__PURE__ */ P({
3172
+ }), Qo = ["simple", "divider"], Zo = ["row", "column"], xo = ["stretch", "start", "end", "center"], el = ["space-between", "start", "end", "center"], Ei = ["data-visual-aid", "data-size", "data-hide-label", "data-emphasis", "for", "data-hide-asterisk"], Ai = ["id", "checked", "value", "disabled", "aria-invalid", "data-custom-validity", "name", "required", "data-aid-icon", "data-aid-icon-trailing"], al = /* @__PURE__ */ G({
3160
3173
  __name: "switch",
3161
3174
  props: {
3162
3175
  visualAid: { type: [Boolean, String], default: void 0 },
@@ -3190,27 +3203,27 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3190
3203
  },
3191
3204
  emits: ["update:checked"],
3192
3205
  setup(t, { emit: a }) {
3193
- const l = a, e = t, i = d(void 0), u = d(null);
3206
+ const o = a, e = t, i = d(void 0), u = d(null);
3194
3207
  Y(() => {
3195
- i.value = e.id ?? `switch-${J()}`;
3208
+ i.value = e.id ?? `switch-${Q()}`;
3196
3209
  });
3197
3210
  function f(s) {
3198
- e.onChange && e.onChange(s), de(l, s, "checked");
3211
+ e.onChange && e.onChange(s), de(o, s, "checked");
3199
3212
  }
3200
- function m(s) {
3213
+ function p(s) {
3201
3214
  e.onBlur && e.onBlur(s);
3202
3215
  }
3203
- function r(s) {
3216
+ function v(s) {
3204
3217
  e.onFocus && e.onFocus(s);
3205
3218
  }
3206
- return (s, p) => (g(), B("label", {
3207
- "data-visual-aid": n(F)(s.visualAid),
3219
+ return (s, g) => (m(), S("label", {
3220
+ "data-visual-aid": n(R)(s.visualAid),
3208
3221
  "data-size": s.size,
3209
3222
  "data-hide-label": n(ie)(s.showLabel),
3210
3223
  "data-emphasis": s.emphasis,
3211
3224
  for: i.value,
3212
3225
  "data-hide-asterisk": n(ie)(s.showRequiredAsterisk),
3213
- class: z(n(q)("db-switch", e.class))
3226
+ class: P(n(q)("db-switch", e.class))
3214
3227
  }, [
3215
3228
  _("input", {
3216
3229
  type: "checkbox",
@@ -3218,25 +3231,25 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3218
3231
  id: i.value,
3219
3232
  ref_key: "_ref",
3220
3233
  ref: u,
3221
- checked: n(R)(s.checked, "checked"),
3234
+ checked: n(V)(s.checked, "checked"),
3222
3235
  value: s.value,
3223
- disabled: n(R)(s.disabled, "disabled"),
3236
+ disabled: n(V)(s.disabled, "disabled"),
3224
3237
  "aria-invalid": s.validation === "invalid",
3225
3238
  "data-custom-validity": s.validation,
3226
3239
  name: s.name,
3227
- required: n(R)(s.required, "required"),
3240
+ required: n(V)(s.required, "required"),
3228
3241
  "data-aid-icon": s.iconLeading ?? s.icon,
3229
3242
  "data-aid-icon-trailing": s.iconTrailing,
3230
- onChange: p[0] || (p[0] = async (T) => f(T)),
3231
- onBlur: p[1] || (p[1] = async (T) => m(T)),
3232
- onFocus: p[2] || (p[2] = async (T) => r(T))
3233
- }, null, 40, Ei),
3234
- s.label ? (g(), B(U, { key: 0 }, [
3235
- N(L(s.label), 1)
3243
+ onChange: g[0] || (g[0] = async (T) => f(T)),
3244
+ onBlur: g[1] || (g[1] = async (T) => p(T)),
3245
+ onFocus: g[2] || (g[2] = async (T) => v(T))
3246
+ }, null, 40, Ai),
3247
+ s.label ? (m(), S(W, { key: 0 }, [
3248
+ N($(s.label), 1)
3236
3249
  ], 64)) : A(s.$slots, "default", { key: 1 })
3237
- ], 10, Ci));
3250
+ ], 10, Ei));
3238
3251
  }
3239
- }), Ai = ["for", "data-icon", "data-icon-trailing", "data-show-icon", "data-show-icon-trailing", "data-no-text"], Di = ["disabled", "aria-selected", "checked", "name", "id"], Ni = /* @__PURE__ */ P({
3252
+ }), Di = ["for", "data-icon", "data-icon-trailing", "data-show-icon", "data-show-icon-trailing", "data-no-text"], Ni = ["disabled", "aria-selected", "checked", "name", "id"], Fi = /* @__PURE__ */ G({
3240
3253
  __name: "tab-item",
3241
3254
  props: {
3242
3255
  children: { default: void 0 },
@@ -3261,13 +3274,13 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3261
3274
  },
3262
3275
  emits: ["update:checked"],
3263
3276
  setup(t, { emit: a }) {
3264
- const l = a, e = t, i = d(!1), u = d(void 0), f = d(!1), m = d(null);
3277
+ const o = a, e = t, i = d(!1), u = d(void 0), f = d(!1), p = d(null);
3265
3278
  Y(() => {
3266
3279
  f.value = !0;
3267
3280
  }), D(
3268
- () => [m.value, f.value],
3281
+ () => [p.value, f.value],
3269
3282
  () => {
3270
- f.value && m.value && (e.active && m.value.click(), f.value = !1);
3283
+ f.value && p.value && (e.active && p.value.click(), f.value = !1);
3271
3284
  },
3272
3285
  {
3273
3286
  immediate: !0,
@@ -3283,42 +3296,42 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3283
3296
  flush: "post"
3284
3297
  }
3285
3298
  );
3286
- function r(s) {
3287
- var p;
3288
- s.stopPropagation(), e.onChange && e.onChange(s), i.value = (p = s.target) == null ? void 0 : p.checked, de(l, s, "checked");
3299
+ function v(s) {
3300
+ var g;
3301
+ s.stopPropagation(), e.onChange && e.onChange(s), i.value = (g = s.target) == null ? void 0 : g.checked, de(o, s, "checked");
3289
3302
  }
3290
- return (s, p) => (g(), B("li", {
3303
+ return (s, g) => (m(), S("li", {
3291
3304
  role: "none",
3292
- class: z(n(q)("db-tab-item", e.class))
3305
+ class: P(n(q)("db-tab-item", e.class))
3293
3306
  }, [
3294
3307
  _("label", {
3295
3308
  for: s.id,
3296
3309
  "data-icon": s.iconLeading ?? s.icon,
3297
3310
  "data-icon-trailing": s.iconTrailing,
3298
- "data-show-icon": n(F)(s.showIconLeading ?? s.showIcon),
3299
- "data-show-icon-trailing": n(F)(s.showIconTrailing),
3300
- "data-no-text": n(F)(s.noText)
3311
+ "data-show-icon": n(R)(s.showIconLeading ?? s.showIcon),
3312
+ "data-show-icon-trailing": n(R)(s.showIconTrailing),
3313
+ "data-no-text": n(R)(s.noText)
3301
3314
  }, [
3302
3315
  _("input", {
3303
3316
  type: "radio",
3304
3317
  role: "tab",
3305
- disabled: n(R)(s.disabled, "disabled"),
3318
+ disabled: n(V)(s.disabled, "disabled"),
3306
3319
  "aria-selected": i.value,
3307
- checked: n(R)(s.checked, "checked"),
3320
+ checked: n(V)(s.checked, "checked"),
3308
3321
  ref_key: "_ref",
3309
- ref: m,
3322
+ ref: p,
3310
3323
  name: u.value,
3311
3324
  id: s.id,
3312
- onInput: p[0] || (p[0] = async (T) => r(T))
3313
- }, null, 40, Di),
3314
- s.label ? (g(), B(U, { key: 0 }, [
3315
- N(L(s.label), 1)
3316
- ], 64)) : V("", !0),
3325
+ onInput: g[0] || (g[0] = async (T) => v(T))
3326
+ }, null, 40, Ni),
3327
+ s.label ? (m(), S(W, { key: 0 }, [
3328
+ N($(s.label), 1)
3329
+ ], 64)) : U("", !0),
3317
3330
  A(s.$slots, "default")
3318
- ], 8, Ai)
3331
+ ], 8, Di)
3319
3332
  ], 2));
3320
3333
  }
3321
- }), Fi = ["id"], Mi = { role: "tablist" }, Ri = /* @__PURE__ */ P({
3334
+ }), Mi = ["id"], Ri = { role: "tablist" }, zi = /* @__PURE__ */ G({
3322
3335
  __name: "tab-list",
3323
3336
  props: {
3324
3337
  children: { default: void 0 },
@@ -3328,21 +3341,21 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3328
3341
  autofocus: { type: [Boolean, String] }
3329
3342
  },
3330
3343
  setup(t) {
3331
- const a = t, l = d(Le), e = d(null);
3344
+ const a = t, o = d(Te), e = d(null);
3332
3345
  return Y(() => {
3333
- l.value = a.id || "tab-list-" + J();
3334
- }), (i, u) => (g(), B("div", {
3346
+ o.value = a.id || "tab-list-" + Q();
3347
+ }), (i, u) => (m(), S("div", {
3335
3348
  ref_key: "_ref",
3336
3349
  ref: e,
3337
- id: l.value,
3338
- class: z(n(q)("db-tab-list", a.class))
3350
+ id: o.value,
3351
+ class: P(n(q)("db-tab-list", a.class))
3339
3352
  }, [
3340
- _("ul", Mi, [
3353
+ _("ul", Ri, [
3341
3354
  A(i.$slots, "default")
3342
3355
  ])
3343
- ], 10, Fi));
3356
+ ], 10, Mi));
3344
3357
  }
3345
- }), zi = ["id"], qi = /* @__PURE__ */ P({
3358
+ }), Vi = ["id"], Pi = /* @__PURE__ */ G({
3346
3359
  __name: "tab-panel",
3347
3360
  props: {
3348
3361
  content: { default: void 0 },
@@ -3353,22 +3366,22 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3353
3366
  autofocus: { type: [Boolean, String] }
3354
3367
  },
3355
3368
  setup(t) {
3356
- const a = t, l = d(null);
3369
+ const a = t, o = d(null);
3357
3370
  return Y(() => {
3358
- }), (e, i) => (g(), B("section", {
3371
+ }), (e, i) => (m(), S("section", {
3359
3372
  role: "tabpanel",
3360
3373
  ref_key: "_ref",
3361
- ref: l,
3362
- class: z(n(q)("db-tab-panel", a.class)),
3374
+ ref: o,
3375
+ class: P(n(q)("db-tab-panel", a.class)),
3363
3376
  id: e.id
3364
3377
  }, [
3365
- e.content ? (g(), B(U, { key: 0 }, [
3366
- N(L(e.content), 1)
3367
- ], 64)) : V("", !0),
3378
+ e.content ? (m(), S(W, { key: 0 }, [
3379
+ N($(e.content), 1)
3380
+ ], 64)) : U("", !0),
3368
3381
  A(e.$slots, "default")
3369
- ], 10, zi));
3382
+ ], 10, Vi));
3370
3383
  }
3371
- }), Vi = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], Il = /* @__PURE__ */ P({
3384
+ }), qi = ["id", "data-orientation", "data-scroll-behavior", "data-alignment", "data-width"], tl = /* @__PURE__ */ G({
3372
3385
  __name: "tabs",
3373
3386
  props: {
3374
3387
  arrowScrollDistance: { default: void 0 },
@@ -3391,18 +3404,18 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3391
3404
  tabSelect: {}
3392
3405
  },
3393
3406
  setup(t) {
3394
- const a = t, l = d("tabs-" + J()), e = d(""), i = d(!1), u = d(!1), f = d(!1), m = d(null), r = d(null);
3407
+ const a = t, o = d("tabs-" + Q()), e = d(""), i = d(!1), u = d(!1), f = d(!1), p = d(null), v = d(null);
3395
3408
  Y(() => {
3396
- l.value = a.id || l.value, e.value = `tabs-${a.name || J()}`, i.value = !0;
3409
+ o.value = a.id || o.value, e.value = `tabs-${a.name || Q()}`, i.value = !0;
3397
3410
  }), D(
3398
- () => [r.value, i.value],
3411
+ () => [v.value, i.value],
3399
3412
  () => {
3400
- if (r.value && i.value) {
3401
- S(), h(!0);
3402
- const c = r.value.querySelector(".db-tab-list");
3413
+ if (v.value && i.value) {
3414
+ w(), h(!0);
3415
+ const c = v.value.querySelector(".db-tab-list");
3403
3416
  c && new MutationObserver((C) => {
3404
3417
  C.forEach((b) => {
3405
- (b.removedNodes.length || b.addedNodes.length) && (S(), h());
3418
+ (b.removedNodes.length || b.addedNodes.length) && (w(), h());
3406
3419
  });
3407
3420
  }).observe(c, {
3408
3421
  childList: !0,
@@ -3423,92 +3436,94 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3423
3436
  }
3424
3437
  return [];
3425
3438
  }
3426
- function p(c) {
3427
- const I = c.scrollWidth > c.clientWidth;
3428
- u.value = I && c.scrollLeft > 1, f.value = I && c.scrollLeft < c.scrollWidth - c.clientWidth;
3439
+ function g(c) {
3440
+ const L = c.scrollWidth > c.clientWidth;
3441
+ u.value = L && c.scrollLeft > 1, f.value = L && c.scrollLeft < c.scrollWidth - c.clientWidth;
3429
3442
  }
3430
3443
  function T(c) {
3431
3444
  var C;
3432
- let I = Number(a.arrowScrollDistance) || 100;
3433
- c && (I *= -1), (C = m.value) == null || C.scrollBy({
3445
+ let L = Number(a.arrowScrollDistance) || 100;
3446
+ c && (L *= -1), (C = p.value) == null || C.scrollBy({
3434
3447
  top: 0,
3435
- left: I,
3448
+ left: L,
3436
3449
  behavior: "smooth"
3437
3450
  });
3438
3451
  }
3439
- function S() {
3440
- if (r.value) {
3441
- const c = r.value.querySelector(".db-tab-list");
3452
+ function w() {
3453
+ if (v.value) {
3454
+ const c = v.value.querySelector(".db-tab-list");
3442
3455
  if (c) {
3443
- const I = c.querySelector('[role="tablist"]');
3444
- I && (I.setAttribute(
3456
+ const L = c.querySelector('[role="tablist"]');
3457
+ L && (L.setAttribute(
3445
3458
  "aria-orientation",
3446
3459
  a.orientation || "horizontal"
3447
- ), a.behavior === "arrows" && (m.value = I, p(I), I.addEventListener("scroll", () => {
3448
- p(I);
3460
+ ), a.behavior === "arrows" && (p.value = L, g(L), L.addEventListener("scroll", () => {
3461
+ g(L);
3449
3462
  })));
3450
3463
  }
3451
3464
  }
3452
3465
  }
3453
3466
  function h(c) {
3454
- if (r.value) {
3455
- const I = Array.from(
3456
- r.value.getElementsByClassName("db-tab-item")
3467
+ if (v.value) {
3468
+ const L = Array.from(
3469
+ v.value.getElementsByClassName("db-tab-item")
3457
3470
  ), C = Array.from(
3458
- r.value.querySelectorAll(
3471
+ v.value.querySelectorAll(
3459
3472
  ":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"
3460
3473
  )
3461
3474
  );
3462
- for (const b of I) {
3463
- const w = I.indexOf(b), O = b.querySelector("label"), y = b.querySelector("input");
3464
- if (y && O) {
3475
+ for (const b of L) {
3476
+ const k = L.indexOf(b), F = b.querySelector("label"), y = b.querySelector("input");
3477
+ if (y && F) {
3465
3478
  if (!y.id) {
3466
- const H = `${e.value}-tab-${w}`;
3467
- O.setAttribute("for", H), y.id = H, y.setAttribute("name", e.value), C.length > w && y.setAttribute(
3479
+ const X = `${e.value}-tab-${k}`;
3480
+ F.setAttribute("for", X), y.id = X, y.setAttribute("name", e.value), C.length > k && y.setAttribute(
3468
3481
  "aria-controls",
3469
- `${e.value}-tab-panel-${w}`
3482
+ `${e.value}-tab-panel-${k}`
3470
3483
  );
3471
3484
  }
3472
3485
  if (c) {
3473
- const H = !a.initialSelectedMode || a.initialSelectedMode === "auto", k = a.initialSelectedIndex == null && w === 0 || Number(a.initialSelectedIndex) === w;
3474
- H && k && y.click();
3486
+ const X = !a.initialSelectedMode || a.initialSelectedMode === "auto", B = a.initialSelectedIndex == null && k === 0 || Number(a.initialSelectedIndex) === k;
3487
+ X && B && y.click();
3475
3488
  }
3476
3489
  }
3477
3490
  }
3478
3491
  for (const b of C) {
3479
3492
  if (b.id) continue;
3480
- const w = C.indexOf(b);
3481
- b.id = `${e.value}-tab-panel-${w}`, b.setAttribute("aria-labelledby", `${e.value}-tab-${w}`);
3493
+ const k = C.indexOf(b);
3494
+ b.id = `${e.value}-tab-panel-${k}`, b.setAttribute("aria-labelledby", `${e.value}-tab-${k}`);
3482
3495
  }
3483
3496
  }
3484
3497
  }
3485
- function v(c) {
3486
- var w;
3487
- c.stopPropagation();
3488
- const I = (w = c.target) == null ? void 0 : w.closest;
3489
- if (!I) return;
3490
- const C = I("ul"), b = (
3491
- // db-tab-item for angular and stencil wrapping elements
3492
- I("db-tab-item") ?? I("li")
3493
- );
3494
- if (C !== null && b !== null) {
3495
- const O = Array.from(C.childNodes).indexOf(b);
3496
- a.onIndexChange && a.onIndexChange(O);
3498
+ function r(c) {
3499
+ var L;
3500
+ if (c.stopPropagation(), c.target) {
3501
+ const b = c.target.parentElement;
3502
+ if (b && b.parentElement && ((L = b.parentElement) == null ? void 0 : L.nodeName) === "LI") {
3503
+ const k = b.parentElement;
3504
+ if (k) {
3505
+ const F = k.parentElement;
3506
+ if (F) {
3507
+ const y = Array.from(F.childNodes).indexOf(k);
3508
+ a.onIndexChange && a.onIndexChange(y), a.onTabSelect && a.onTabSelect(c);
3509
+ }
3510
+ }
3511
+ }
3497
3512
  }
3498
- a.onTabSelect && a.onTabSelect(c);
3499
3513
  }
3500
- return (c, I) => (g(), B("div", {
3514
+ return (c, L) => (m(), S("div", {
3501
3515
  ref_key: "_ref",
3502
- ref: r,
3503
- id: l.value,
3504
- class: z(n(q)("db-tabs", a.class)),
3516
+ ref: v,
3517
+ id: o.value,
3518
+ class: P(n(q)("db-tabs", a.class)),
3505
3519
  "data-orientation": c.orientation,
3506
3520
  "data-scroll-behavior": c.behavior,
3507
3521
  "data-alignment": c.alignment ?? "start",
3508
3522
  "data-width": c.width ?? "auto",
3509
- onInput: I[0] || (I[0] = async (C) => v(C))
3523
+ onInput: L[0] || (L[0] = async (C) => r(C)),
3524
+ onChange: L[1] || (L[1] = async (C) => r(C))
3510
3525
  }, [
3511
- u.value ? (g(), Q(Be, {
3526
+ u.value ? (m(), J(Se, {
3512
3527
  key: 0,
3513
3528
  class: "tabs-scroll-left",
3514
3529
  variant: "ghost",
@@ -3517,16 +3532,16 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3517
3532
  noText: !0,
3518
3533
  onClick: (C) => T(!0)
3519
3534
  }, {
3520
- default: W(() => I[1] || (I[1] = [
3521
- N(" Scroll left ")
3535
+ default: H(() => L[2] || (L[2] = [
3536
+ N(" Scroll left ", -1)
3522
3537
  ])),
3523
3538
  _: 1,
3524
- __: [1]
3525
- }, 8, ["onClick"])) : V("", !0),
3526
- c.tabs ? (g(), B(U, { key: 1 }, [
3527
- ee(Ri, null, {
3528
- default: W(() => [
3529
- (g(!0), B(U, null, be(s(), (C, b) => (g(), Q(Ni, {
3539
+ __: [2]
3540
+ }, 8, ["onClick"])) : U("", !0),
3541
+ c.tabs ? (m(), S(W, { key: 1 }, [
3542
+ ee(zi, null, {
3543
+ default: H(() => [
3544
+ (m(!0), S(W, null, ye(s(), (C, b) => (m(), J(Fi, {
3530
3545
  key: c.name + "tab-item" + b,
3531
3546
  active: C.active,
3532
3547
  label: C.label,
@@ -3537,17 +3552,17 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3537
3552
  ]),
3538
3553
  _: 1
3539
3554
  }),
3540
- (g(!0), B(U, null, be(s(), (C, b) => (g(), Q(qi, {
3555
+ (m(!0), S(W, null, ye(s(), (C, b) => (m(), J(Pi, {
3541
3556
  key: c.name + "tab-panel" + b,
3542
3557
  content: C.content
3543
3558
  }, {
3544
- default: W(() => [
3545
- N(L(C.children), 1)
3559
+ default: H(() => [
3560
+ N($(C.children), 1)
3546
3561
  ]),
3547
3562
  _: 2
3548
3563
  }, 1032, ["content"]))), 128))
3549
- ], 64)) : V("", !0),
3550
- f.value ? (g(), Q(Be, {
3564
+ ], 64)) : U("", !0),
3565
+ f.value ? (m(), J(Se, {
3551
3566
  key: 2,
3552
3567
  class: "tabs-scroll-right",
3553
3568
  variant: "ghost",
@@ -3556,19 +3571,19 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3556
3571
  noText: !0,
3557
3572
  onClick: (C) => T()
3558
3573
  }, {
3559
- default: W(() => I[2] || (I[2] = [
3560
- N(" Scroll right ")
3574
+ default: H(() => L[3] || (L[3] = [
3575
+ N(" Scroll right ", -1)
3561
3576
  ])),
3562
3577
  _: 1,
3563
- __: [2]
3564
- }, 8, ["onClick"])) : V("", !0),
3578
+ __: [3]
3579
+ }, 8, ["onClick"])) : U("", !0),
3565
3580
  A(c.$slots, "default")
3566
- ], 42, Vi));
3581
+ ], 42, qi));
3567
3582
  }
3568
- }), Pi = ["data-variant", "data-hide-asterisk", "data-hide-label"], Ui = ["for"], Gi = ["aria-invalid", "data-custom-validity", "data-field-sizing", "id", "data-resize", "data-hide-resizer", "disabled", "required", "readOnly", "form", "maxLength", "minLength", "name", "wrap", "spellcheck", "autocomplete", "value", "aria-describedby", "placeholder", "rows", "cols"], Wi = {
3583
+ }), il = ["scrollbar", "arrows"], ol = ["auto", "manually"], ll = ["static", "removable"], Ui = ["data-variant", "data-hide-asterisk", "data-hide-label"], Gi = ["for"], Wi = ["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"], Oi = {
3569
3584
  "data-visually-hidden": "true",
3570
3585
  role: "status"
3571
- }, $l = /* @__PURE__ */ P({
3586
+ }, nl = /* @__PURE__ */ G({
3572
3587
  __name: "textarea",
3573
3588
  props: {
3574
3589
  cols: { default: void 0 },
@@ -3618,15 +3633,15 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3618
3633
  },
3619
3634
  emits: ["update:value"],
3620
3635
  setup(t, { emit: a }) {
3621
- const l = a, e = t, i = d(void 0), u = d(void 0), f = d(void 0), m = d(void 0), r = d(void 0), s = d(""), p = d(""), T = d(""), S = d(null);
3636
+ const o = a, e = t, i = d(void 0), u = d(void 0), f = d(void 0), p = d(void 0), v = d(void 0), s = d(void 0), g = d(""), T = d(""), w = d(null);
3622
3637
  Y(() => {
3623
- const w = e.id ?? `textarea-${J()}`;
3624
- i.value = w, u.value = w + ve, f.value = w + fe, m.value = w + pe, r.value = e.invalidMessage || te;
3638
+ const k = e.id ?? `textarea-${Q()}`;
3639
+ i.value = k, u.value = k + fe, f.value = k + pe, p.value = k + he, v.value = e.invalidMessage || te;
3625
3640
  }), D(
3626
- () => [S.value, e.invalidMessage],
3641
+ () => [w.value, e.invalidMessage],
3627
3642
  () => {
3628
- var w;
3629
- r.value = e.invalidMessage || ((w = S.value) == null ? void 0 : w.validationMessage) || te;
3643
+ var k;
3644
+ v.value = e.invalidMessage || ((k = w.value) == null ? void 0 : k.validationMessage) || te;
3630
3645
  },
3631
3646
  {
3632
3647
  immediate: !0,
@@ -3636,8 +3651,8 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3636
3651
  () => [i.value],
3637
3652
  () => {
3638
3653
  if (i.value) {
3639
- const w = i.value + ve;
3640
- u.value = w, f.value = i.value + fe, m.value = i.value + pe, x(e.message, e.showMessage) && (s.value = w);
3654
+ const k = i.value + fe;
3655
+ u.value = k, f.value = i.value + pe, p.value = i.value + he, x(e.message, e.showMessage) && (s.value = k), r();
3641
3656
  }
3642
3657
  },
3643
3658
  {
@@ -3647,7 +3662,7 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3647
3662
  ), D(
3648
3663
  () => [e.value],
3649
3664
  () => {
3650
- p.value = e.value;
3665
+ g.value = e.value;
3651
3666
  },
3652
3667
  {
3653
3668
  immediate: !0,
@@ -3657,200 +3672,242 @@ const Ht = ["id", "data-width", "data-on-forcing-mobile"], Xt = { class: "db-hea
3657
3672
  function h() {
3658
3673
  return !!(e.validMessage ?? e.validation === "valid");
3659
3674
  }
3660
- function v() {
3661
- var w, O, y;
3662
- !((w = S.value) != null && w.validity.valid) || e.validation === "invalid" ? (s.value = m.value, r.value = e.invalidMessage || ((O = S.value) == null ? void 0 : O.validationMessage) || te, ge() && (T.value = r.value, Z(() => T.value = "", 1e3))) : h() && ((y = S.value) != null && y.validity.valid) && (e.required || e.minLength || e.maxLength) ? (s.value = f.value, ge() && (T.value = e.validMessage ?? he, Z(() => T.value = "", 1e3))) : x(e.message, e.showMessage) ? s.value = u.value : s.value = "";
3675
+ function r() {
3676
+ var k, F, y;
3677
+ !((k = w.value) != null && k.validity.valid) || e.validation === "invalid" ? (s.value = p.value, v.value = e.invalidMessage || ((F = w.value) == null ? void 0 : F.validationMessage) || te, me() && (T.value = v.value, Z(() => T.value = "", 1e3))) : h() && ((y = w.value) != null && y.validity.valid) && (e.required || e.minLength || e.maxLength) ? (s.value = f.value, me() && (T.value = e.validMessage ?? ge, Z(() => T.value = "", 1e3))) : x(e.message, e.showMessage) ? s.value = u.value : s.value = void 0;
3663
3678
  }
3664
- function c(w) {
3665
- e.input && e.input(w), p.value = w.target.value, e.onInput && e.onInput(w), de(l, w), v();
3679
+ function c(k) {
3680
+ e.input && e.input(k), g.value = k.target.value, e.onInput && e.onInput(k), de(o, k), r();
3666
3681
  }
3667
- function I(w) {
3668
- e.onChange && e.onChange(w), de(l, w), v();
3682
+ function L(k) {
3683
+ e.onChange && e.onChange(k), de(o, k), r();
3669
3684
  }
3670
- function C(w) {
3671
- e.onBlur && e.onBlur(w);
3685
+ function C(k) {
3686
+ e.onBlur && e.onBlur(k);
3672
3687
  }
3673
- function b(w) {
3674
- e.onFocus && e.onFocus(w);
3688
+ function b(k) {
3689
+ e.onFocus && e.onFocus(k);
3675
3690
  }
3676
- return (w, O) => (g(), B("div", {
3677
- class: z(n(q)("db-textarea", e.class)),
3678
- "data-variant": w.variant,
3679
- "data-hide-asterisk": n(ie)(w.showRequiredAsterisk),
3680
- "data-hide-label": n(ie)(w.showLabel)
3691
+ return (k, F) => (m(), S("div", {
3692
+ class: P(n(q)("db-textarea", e.class)),
3693
+ "data-variant": k.variant,
3694
+ "data-hide-asterisk": n(ie)(k.showRequiredAsterisk),
3695
+ "data-hide-label": n(ie)(k.showLabel)
3681
3696
  }, [
3682
- _("label", { for: i.value }, L(w.label ?? n(ke)), 9, Ui),
3697
+ _("label", { for: i.value }, $(k.label ?? n(we)), 9, Gi),
3683
3698
  _("textarea", {
3684
- "aria-invalid": w.validation === "invalid",
3685
- "data-custom-validity": w.validation,
3686
- "data-field-sizing": w.fieldSizing,
3699
+ "aria-invalid": k.validation === "invalid",
3700
+ "data-custom-validity": k.validation,
3701
+ "data-field-sizing": k.fieldSizing,
3687
3702
  ref_key: "_ref",
3688
- ref: S,
3703
+ ref: w,
3689
3704
  id: i.value,
3690
- "data-resize": w.resize,
3691
- "data-hide-resizer": n(ie)(w.showResizer ?? !0),
3692
- disabled: n(R)(w.disabled, "disabled"),
3693
- required: n(R)(w.required, "required"),
3694
- readOnly: n(R)(w.readOnly, "readOnly") || n(R)(w.readonly, "readonly"),
3695
- form: w.form,
3696
- maxLength: n(Se)(w.maxLength, w.maxlength),
3697
- minLength: n(Se)(w.minLength, w.minlength),
3698
- name: w.name,
3699
- wrap: w.wrap,
3700
- spellcheck: w.spellCheck,
3701
- autocomplete: w.autocomplete,
3702
- onInput: O[0] || (O[0] = async (y) => c(y)),
3703
- onChange: O[1] || (O[1] = async (y) => I(y)),
3704
- onBlur: O[2] || (O[2] = async (y) => C(y)),
3705
- onFocus: O[3] || (O[3] = async (y) => b(y)),
3706
- value: w.value ?? p.value,
3707
- "aria-describedby": w.ariaDescribedBy ?? s.value,
3708
- placeholder: w.placeholder ?? n(aa),
3709
- rows: n(Se)(w.rows, n(Fa)),
3710
- cols: n(Se)(w.cols)
3711
- }, null, 40, Gi),
3712
- n(x)(w.message, w.showMessage) ? (g(), Q(ae, {
3705
+ "data-resize": k.resize,
3706
+ "data-hide-resizer": n(ie)(k.showResizer ?? !0),
3707
+ disabled: n(V)(k.disabled, "disabled"),
3708
+ required: n(V)(k.required, "required"),
3709
+ readOnly: n(V)(k.readOnly, "readOnly") || n(V)(k.readonly, "readonly"),
3710
+ form: k.form,
3711
+ maxLength: n(ke)(k.maxLength, k.maxlength),
3712
+ minLength: n(ke)(k.minLength, k.minlength),
3713
+ name: k.name,
3714
+ wrap: k.wrap,
3715
+ spellcheck: k.spellCheck,
3716
+ autocomplete: k.autocomplete,
3717
+ onInput: F[0] || (F[0] = async (y) => c(y)),
3718
+ onChange: F[1] || (F[1] = async (y) => L(y)),
3719
+ onBlur: F[2] || (F[2] = async (y) => C(y)),
3720
+ onFocus: F[3] || (F[3] = async (y) => b(y)),
3721
+ value: k.value ?? g.value,
3722
+ "aria-describedby": k.ariaDescribedBy ?? s.value,
3723
+ placeholder: k.placeholder ?? n(ta),
3724
+ rows: n(ke)(k.rows, n(Ma)),
3725
+ cols: n(ke)(k.cols)
3726
+ }, null, 40, Wi),
3727
+ n(x)(k.message, k.showMessage) ? (m(), J(ae, {
3713
3728
  key: 0,
3714
3729
  size: "small",
3715
- icon: w.messageIcon,
3730
+ icon: k.messageIcon,
3716
3731
  id: u.value
3717
3732
  }, {
3718
- default: W(() => [
3719
- N(L(w.message), 1)
3733
+ default: H(() => [
3734
+ N($(k.message), 1)
3720
3735
  ]),
3721
3736
  _: 1
3722
- }, 8, ["icon", "id"])) : V("", !0),
3723
- h() ? (g(), Q(ae, {
3737
+ }, 8, ["icon", "id"])) : U("", !0),
3738
+ h() ? (m(), J(ae, {
3724
3739
  key: 1,
3725
3740
  size: "small",
3726
3741
  semantic: "successful",
3727
3742
  id: f.value
3728
3743
  }, {
3729
- default: W(() => [
3730
- N(L(w.validMessage || n(he)), 1)
3744
+ default: H(() => [
3745
+ N($(k.validMessage || n(ge)), 1)
3731
3746
  ]),
3732
3747
  _: 1
3733
- }, 8, ["id"])) : V("", !0),
3748
+ }, 8, ["id"])) : U("", !0),
3734
3749
  ee(ae, {
3735
3750
  size: "small",
3736
3751
  semantic: "critical",
3737
- id: m.value
3752
+ id: p.value
3738
3753
  }, {
3739
- default: W(() => [
3740
- N(L(r.value), 1)
3754
+ default: H(() => [
3755
+ N($(v.value), 1)
3741
3756
  ]),
3742
3757
  _: 1
3743
3758
  }, 8, ["id"]),
3744
- _("span", Wi, L(T.value), 1)
3745
- ], 10, Pi));
3759
+ _("span", Oi, $(T.value), 1)
3760
+ ], 10, Ui));
3746
3761
  }
3747
- }), Ll = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], Tl = ["medium", "small", "large", "none"], _l = ["medium", "small", "large", "none"], Oi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Hi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], Cl = [...Oi, ...Hi], El = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], Al = ["horizontal", "vertical"], Dl = ["full", "auto"], Nl = ["full", "medium", "large", "small"], Fl = ["none", "slow", "fast"], Ml = ["auto", "fixed"], Rl = ["small", "medium"], zl = ["weak", "strong"], ql = ["invalid", "valid", "no-validation"], Vl = ["fixed", "content"], Pl = ["above", "floating"], Ul = ["off", "on", "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "email", "username", "new-password", "current-password", "one-time-code", "organization-title", "organization", "street-address", "shipping", "billing", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-extension", "impp", "url", "photo", "webauthn"], Gl = ["_self", "_blank", "_parent", "_top"], Wl = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], Ol = ["start", "center"];
3762
+ }), sl = ["none", "both", "horizontal", "vertical"], dl = ["hard", "soft", "off"], ul = ["description", "label"], rl = ["adaptive", "neutral", "critical", "informational", "warning", "successful"], cl = ["medium", "small", "large", "none"], vl = ["medium", "small", "large", "none"], Hi = ["left", "right", "left-start", "left-end", "right-start", "right-end"], Xi = ["top", "bottom", "top-start", "top-end", "bottom-start", "bottom-end"], fl = [...Hi, ...Xi], pl = ["none", "3x-large", "2x-large", "x-large", "large", "medium", "small", "x-small", "2x-small", "3x-small"], hl = ["horizontal", "vertical"], gl = ["full", "auto"], ml = ["full", "medium", "large", "small"], bl = ["none", "slow", "fast"], yl = ["auto", "fixed"], wl = ["small", "medium"], kl = ["weak", "strong"], Sl = ["invalid", "valid", "no-validation"], Bl = ["fixed", "content"], Ll = ["above", "floating"], Il = ["off", "on", "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "email", "username", "new-password", "current-password", "one-time-code", "organization-title", "organization", "street-address", "shipping", "billing", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bday", "bday-day", "bday-month", "bday-year", "sex", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-extension", "impp", "url", "photo", "webauthn"], $l = ["_self", "_blank", "_parent", "_top"], Tl = ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"], _l = ["start", "center"];
3748
3763
  export {
3749
- Ol as AlignmentList,
3750
- Ul as AutoCompleteList,
3751
- oa as COLOR,
3752
- Zi as COLORS,
3753
- xi as COLORS_SIMPLE,
3754
- Ji as COLOR_CONST,
3764
+ no as AccordionBehaviorList,
3765
+ lo as AccordionVariantList,
3766
+ _l as AlignmentList,
3767
+ Il as AutoCompleteList,
3768
+ uo as BadgePlacementList,
3769
+ vo as ButtonTypeList,
3770
+ co as ButtonVariantList,
3771
+ na as COLOR,
3772
+ xi as COLORS,
3773
+ eo as COLORS_SIMPLE,
3774
+ Qi as COLOR_CONST,
3755
3775
  la as COLOR_SIMPLE,
3756
- il as DBAccordion,
3757
- Ga as DBAccordionItem,
3758
- ll as DBBadge,
3759
- ol as DBBrand,
3760
- Be as DBButton,
3761
- nl as DBCard,
3762
- sl as DBCheckbox,
3763
- dl as DBCustomSelect,
3764
- it as DBCustomSelectDropdown,
3765
- ul as DBCustomSelectFormField,
3766
- rt as DBCustomSelectList,
3767
- dt as DBCustomSelectListItem,
3768
- rl as DBDivider,
3769
- Gt as DBDrawer,
3770
- cl as DBHeader,
3771
- vl as DBIcon,
3776
+ po as CardBehaviorList,
3777
+ ho as CardElevationLevelList,
3778
+ bo as CustomSelectDropdownWidthList,
3779
+ wo as CustomSelectListItemTypeList,
3780
+ oo as DBAccordion,
3781
+ Wa as DBAccordionItem,
3782
+ so as DBBadge,
3783
+ ro as DBBrand,
3784
+ Se as DBButton,
3785
+ fo as DBCard,
3786
+ go as DBCheckbox,
3787
+ mo as DBCustomSelect,
3788
+ ot as DBCustomSelectDropdown,
3789
+ yo as DBCustomSelectFormField,
3790
+ ct as DBCustomSelectList,
3791
+ ut as DBCustomSelectListItem,
3792
+ So as DBDivider,
3793
+ Wt as DBDrawer,
3794
+ Co as DBHeader,
3795
+ Eo as DBIcon,
3772
3796
  ae as DBInfotext,
3773
- mt as DBInput,
3774
- fl as DBLink,
3775
- pl as DBNavigation,
3776
- hl as DBNavigationItem,
3777
- gl as DBNotification,
3778
- ml as DBPage,
3779
- bl as DBPopover,
3780
- yl as DBRadio,
3781
- wl as DBSection,
3782
- kl as DBSelect,
3783
- Sl as DBStack,
3784
- Bl as DBSwitch,
3785
- Ni as DBTabItem,
3786
- Ri as DBTabList,
3787
- qi as DBTabPanel,
3788
- Il as DBTabs,
3789
- wt as DBTag,
3790
- $l as DBTextarea,
3791
- ra as DBTooltip,
3792
- Ea as DEFAULT_BACK,
3793
- Da as DEFAULT_BURGER_MENU,
3794
- Ge as DEFAULT_CLOSE_BUTTON,
3795
- Ze as DEFAULT_DATALIST_ID_SUFFIX,
3796
- Na as DEFAULT_ICON,
3797
- Le as DEFAULT_ID,
3797
+ bt as DBInput,
3798
+ No as DBLink,
3799
+ zo as DBNavigation,
3800
+ Vo as DBNavigationItem,
3801
+ Po as DBNotification,
3802
+ Wo as DBPage,
3803
+ Xo as DBPopover,
3804
+ jo as DBRadio,
3805
+ Yo as DBSection,
3806
+ Ko as DBSelect,
3807
+ Jo as DBStack,
3808
+ al as DBSwitch,
3809
+ Fi as DBTabItem,
3810
+ zi as DBTabList,
3811
+ Pi as DBTabPanel,
3812
+ tl as DBTabs,
3813
+ kt as DBTag,
3814
+ nl as DBTextarea,
3815
+ ca as DBTooltip,
3816
+ Aa as DEFAULT_BACK,
3817
+ Na as DEFAULT_BURGER_MENU,
3818
+ We as DEFAULT_CLOSE_BUTTON,
3819
+ xe as DEFAULT_DATALIST_ID_SUFFIX,
3820
+ Fa as DEFAULT_ICON,
3821
+ Te as DEFAULT_ID,
3798
3822
  te as DEFAULT_INVALID_MESSAGE,
3799
- pe as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
3800
- ke as DEFAULT_LABEL,
3801
- Je as DEFAULT_LABEL_ID_SUFFIX,
3802
- Ca as DEFAULT_MESSAGE,
3803
- ve as DEFAULT_MESSAGE_ID_SUFFIX,
3804
- aa as DEFAULT_PLACEHOLDER,
3823
+ he as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
3824
+ we as DEFAULT_LABEL,
3825
+ Qe as DEFAULT_LABEL_ID_SUFFIX,
3826
+ Ea as DEFAULT_MESSAGE,
3827
+ fe as DEFAULT_MESSAGE_ID_SUFFIX,
3828
+ ta as DEFAULT_PLACEHOLDER,
3805
3829
  Re as DEFAULT_PLACEHOLDER_ID_SUFFIX,
3806
- ta as DEFAULT_REMOVE,
3807
- Fa as DEFAULT_ROWS,
3808
- Aa as DEFAULT_SELECTED,
3809
- Qe as DEFAULT_SELECT_ID_SUFFIX,
3810
- he as DEFAULT_VALID_MESSAGE,
3811
- fe as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
3812
- Ma as DEFAULT_VIEWPORT,
3813
- Qi as DENSITIES,
3814
- ia as DENSITY,
3815
- Ki as DENSITY_CONST,
3816
- Ra as DESKTOP_VIEWPORT,
3817
- zl as EmphasisList,
3818
- Vl as FieldSizingList,
3819
- El as GapSpacingList,
3820
- Pl as LabelVariantList,
3821
- Wl as LinkReferrerPolicyList,
3822
- Gl as LinkTargetList,
3823
- _l as MarginList,
3824
- Nl as MaxWidthList,
3825
- Ot as NavigationItemSafeTriangle,
3826
- Al as OrientationList,
3827
- Oi as PlacementHorizontalList,
3828
- Cl as PlacementList,
3829
- Hi as PlacementVerticalList,
3830
- Fl as PopoverDelayList,
3831
- Ml as PopoverWidthList,
3832
- na as SEMANTIC,
3833
- el as SEMANTICS,
3834
- Ll as SemanticList,
3835
- Rl as SizeList,
3836
- Tl as SpacingList,
3837
- al as TESTING_VIEWPORTS,
3838
- ql as ValidationList,
3839
- Dl as WidthList,
3840
- sa as addAttributeToChildren,
3830
+ ia as DEFAULT_REMOVE,
3831
+ Ma as DEFAULT_ROWS,
3832
+ Da as DEFAULT_SELECTED,
3833
+ Ze as DEFAULT_SELECT_ID_SUFFIX,
3834
+ ge as DEFAULT_VALID_MESSAGE,
3835
+ pe as DEFAULT_VALID_MESSAGE_ID_SUFFIX,
3836
+ Ra as DEFAULT_VIEWPORT,
3837
+ Zi as DENSITIES,
3838
+ oa as DENSITY,
3839
+ Ji as DENSITY_CONST,
3840
+ za as DESKTOP_VIEWPORT,
3841
+ Bo as DividerMarginList,
3842
+ Lo as DividerVariantList,
3843
+ ze as DocumentClickListener,
3844
+ Be as DocumentScrollListener,
3845
+ Io as DrawerBackdropList,
3846
+ $o as DrawerDirectionList,
3847
+ _o as DrawerPositionList,
3848
+ To as DrawerVariantList,
3849
+ kl as EmphasisList,
3850
+ Bl as FieldSizingList,
3851
+ pl as GapSpacingList,
3852
+ Ao as IconWeightList,
3853
+ Do as InputTypeList,
3854
+ Ll as LabelVariantList,
3855
+ Ro as LinkContentList,
3856
+ Tl as LinkReferrerPolicyList,
3857
+ Mo as LinkSizeList,
3858
+ $l as LinkTargetList,
3859
+ Fo as LinkVariantList,
3860
+ vl as MarginList,
3861
+ ml as MaxWidthList,
3862
+ Ht as NavigationItemSafeTriangle,
3863
+ Go as NotificationAriaLiveList,
3864
+ Uo as NotificationLinkVariantList,
3865
+ qo as NotificationVariantList,
3866
+ hl as OrientationList,
3867
+ Ho as PageDocumentOverflowList,
3868
+ Oo as PageVariantList,
3869
+ Hi as PlacementHorizontalList,
3870
+ fl as PlacementList,
3871
+ Xi as PlacementVerticalList,
3872
+ bl as PopoverDelayList,
3873
+ yl as PopoverWidthList,
3874
+ sa as SEMANTIC,
3875
+ ao as SEMANTICS,
3876
+ ko as SelectedTypeList,
3877
+ rl as SemanticList,
3878
+ wl as SizeList,
3879
+ cl as SpacingList,
3880
+ xo as StackAlignmentList,
3881
+ Zo as StackDirectionList,
3882
+ el as StackJustifyContentList,
3883
+ Qo as StackVariantList,
3884
+ to as TESTING_VIEWPORTS,
3885
+ il as TabsBehaviorList,
3886
+ ol as TabsInitialSelectedModeList,
3887
+ ll as TagBehaviorList,
3888
+ sl as TextareaResizeList,
3889
+ dl as TextareaWrapList,
3890
+ ul as TooltipVariantList,
3891
+ Sl as ValidationList,
3892
+ gl as WidthList,
3893
+ da as addAttributeToChildren,
3841
3894
  q as cls,
3842
3895
  Z as delay,
3843
- R as getBoolean,
3844
- F as getBooleanAsString,
3896
+ V as getBoolean,
3897
+ R as getBooleanAsString,
3898
+ ua as getFloatingProps,
3845
3899
  ie as getHideProp,
3846
- xe as getInputValue,
3847
- Se as getNumber,
3848
- tl as getOptionKey,
3849
- ea as getSearchInput,
3850
- ge as hasVoiceOver,
3851
- za as isArrayOfStrings,
3852
- Wt as isEventTargetNavigationItem,
3853
- Va as isKeyboardEvent,
3900
+ ea as getInputValue,
3901
+ ke as getNumber,
3902
+ io as getOptionKey,
3903
+ aa as getSearchInput,
3904
+ at as handleDataOutside,
3905
+ tt as handleFixedDropdown,
3906
+ ra as handleFixedPopover,
3907
+ me as hasVoiceOver,
3908
+ Va as isArrayOfStrings,
3909
+ Ot as isEventTargetNavigationItem,
3910
+ qa as isKeyboardEvent,
3854
3911
  x as stringPropVisible,
3855
- J as uuid
3912
+ Q as uuid
3856
3913
  };