@db-ux/v-core-components 4.3.0 → 4.3.1

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,5 +1,5 @@
1
- import { defineComponent as W, ref as o, onMounted as J, watch as C, createElementBlock as y, openBlock as v, normalizeClass as O, unref as n, createElementVNode as E, createCommentVNode as z, renderSlot as M, Fragment as H, createTextVNode as D, toDisplayString as S, renderList as me, createBlock as Y, onUnmounted as he, createVNode as te, withCtx as G } from "vue";
2
- const Te = "OVERWRITE_DEFAULT_ID", ye = "LABEL SHOULD BE SET", ea = " ", Ia = "MESSAGE SHOULD BE SET", Ye = "-label", Je = "-select", ce = "-message", re = "-valid-message", ve = "-invalid-message", De = "-placeholder", Qe = "-datalist", se = "TODO: Add a validMessage", ee = "TODO: Add an invalidMessage", aa = "Remove", xa = "Back", $a = "Selected", Ta = "BurgerMenu", Ca = "brand", Ea = 4, qe = "Close", Yi = "density", Ji = "color";
1
+ import { defineComponent as W, ref as o, onMounted as J, watch as C, createElementBlock as y, openBlock as v, normalizeClass as O, unref as n, createElementVNode as E, createCommentVNode as z, renderSlot as M, Fragment as H, createTextVNode as D, toDisplayString as S, renderList as ge, createBlock as Y, onUnmounted as he, createVNode as te, withCtx as G } from "vue";
2
+ const Te = "OVERWRITE_DEFAULT_ID", ke = "LABEL SHOULD BE SET", ea = " ", Ia = "MESSAGE SHOULD BE SET", Ye = "-label", Je = "-select", ce = "-message", re = "-valid-message", ve = "-invalid-message", De = "-placeholder", Qe = "-datalist", se = "TODO: Add a validMessage", ee = "TODO: Add an invalidMessage", aa = "Remove", xa = "Back", $a = "Selected", Ta = "BurgerMenu", Ca = "brand", Ea = 4, qe = "Close", Yi = "density", Ji = "color";
3
3
  var ta = /* @__PURE__ */ ((e) => (e.FUNCTIONAL = "functional", e.REGULAR = "regular", e.EXPRESSIVE = "expressive", e))(ta || {});
4
4
  const Qi = Object.entries(ta).map(([, e]) => e);
5
5
  var ia = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e))(ia || {}), la = /* @__PURE__ */ ((e) => (e.NEUTRAL_BG_LEVEL_1 = "neutral-bg-basic-level-1", e.NEUTRAL_BG_LEVEL_2 = "neutral-bg-basic-level-2", e.NEUTRAL_BG_LEVEL_3 = "neutral-bg-basic-level-3", e.NEUTRAL_BG_TRANSPARENT_SEMI = "neutral-bg-basic-transparent-semi", e.NEUTRAL_BG_TRANSPARENT_FULL = "neutral-bg-basic-transparent-full", e.BRAND_BG_LEVEL_1 = "brand-bg-basic-level-1", e.BRAND_BG_LEVEL_2 = "brand-bg-basic-level-2", e.BRAND_BG_LEVEL_3 = "brand-bg-basic-level-3", e.BRAND_BG_TRANSPARENT_SEMI = "brand-bg-basic-transparent-semi", e.BRAND_BG_TRANSPARENT_FULL = "brand-bg-basic-transparent-full", e.SUCCESSFUL_BG_LEVEL_1 = "successful-bg-basic-level-1", e.SUCCESSFUL_BG_LEVEL_2 = "successful-bg-basic-level-2", e.SUCCESSFUL_BG_LEVEL_3 = "successful-bg-basic-level-3", e.SUCCESSFUL_BG_TRANSPARENT_SEMI = "successful-bg-basic-transparent-semi", e.SUCCESSFUL_BG_TRANSPARENT_FULL = "successful-bg-basic-transparent-full", e.CRITICAL_BG_LEVEL_1 = "critical-bg-basic-level-1", e.CRITICAL_BG_LEVEL_2 = "critical-bg-basic-level-2", e.CRITICAL_BG_LEVEL_3 = "critical-bg-basic-level-3", e.CRITICAL_BG_TRANSPARENT_SEMI = "critical-bg-basic-transparent-semi", e.CRITICAL_BG_TRANSPARENT_Full = "critical-bg-basic-transparent-full", e.WARNING_BG_LEVEL_1 = "warning-bg-basic-level-1", e.WARNING_BG_LEVEL_2 = "warning-bg-basic-level-2", e.WARNING_BG_LEVEL_3 = "warning-bg-basic-level-3", e.WARNING_BG_TRANSPARENT_SEMI = "warning-bg-basic-transparent-semi", e.WARNING_BG_TRANSPARENT_FULL = "warning-bg-basic-transparent-full", e.INFORMATIONAL_BG_LEVEL_1 = "informational-bg-basic-level-1", e.INFORMATIONAL_BG_LEVEL_2 = "informational-bg-basic-level-2", e.INFORMATIONAL_BG_LEVEL_3 = "informational-bg-basic-level-3", e.INFORMATIONAL_BG_TRANSPARENT_SEMI = "informational-bg-basic-transparent-semi", e.INFORMATIONAL_BG_TRANSPARENT_FULL = "informational-bg-basic-transparent-full", e))(la || {});
@@ -54,13 +54,13 @@ const el = Object.entries(na).map(([, e]) => e), Aa = {
54
54
  }, q = (e, t) => {
55
55
  if (e != null)
56
56
  return typeof e == "string" && t ? !!(t === e || e) : !!e;
57
- }, Se = (e, t) => {
57
+ }, pe = (e, t) => {
58
58
  if (!(e == null && t == null))
59
59
  return Number(e ?? t);
60
60
  }, Ra = (e) => {
61
61
  if (e != null)
62
62
  return e === "any" ? "any" : Number(e);
63
- }, Ze = (e, t) => t && ["number", "range"].includes(t) ? Se(e) : e, ne = (e) => {
63
+ }, Ze = (e, t) => t && ["number", "range"].includes(t) ? pe(e) : e, ne = (e) => {
64
64
  if (e != null)
65
65
  return P(!e);
66
66
  }, Z = (e, t) => (t === void 0 || !!t) && !!e, _e = (e) => e.querySelector('input[type="search"]'), ll = (e, t) => {
@@ -221,7 +221,7 @@ const el = Object.entries(na).map(([, e]) => e), Aa = {
221
221
  "data-variant": e.variant
222
222
  }, [
223
223
  e.items ? z("", !0) : M(m.$slots, "default", { key: 0 }),
224
- e.items ? (v(!0), y(H, { key: 1 }, me(f(), (k, $) => (v(), Y(qa, {
224
+ e.items ? (v(!0), y(H, { key: 1 }, ge(f(), (k, $) => (v(), Y(qa, {
225
225
  key: `accordion-item-${$}`,
226
226
  headlinePlain: k.headlinePlain,
227
227
  disabled: k.disabled,
@@ -270,7 +270,7 @@ const el = Object.entries(na).map(([, e]) => e), Aa = {
270
270
  "data-size": e.size,
271
271
  "data-emphasis": e.emphasis,
272
272
  "data-placement": e.placement,
273
- "data-label": e.placement?.startsWith("corner") && (e.label ?? n(ye))
273
+ "data-label": e.placement?.startsWith("corner") && (e.label ?? n(ke))
274
274
  }, [
275
275
  e.text ? (v(), y(H, { key: 0 }, [
276
276
  D(S(e.text), 1)
@@ -306,7 +306,7 @@ const el = Object.entries(na).map(([, e]) => e), Aa = {
306
306
  ], 64)) : M(a.$slots, "default", { key: 1 })
307
307
  ], 10, Ga));
308
308
  }
309
- }), Wa = ["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"], ke = /* @__PURE__ */ W({
309
+ }), Wa = ["id", "type", "disabled", "data-icon", "data-show-icon", "data-icon-trailing", "data-show-icon-trailing", "data-size", "data-width", "data-variant", "data-no-text", "name", "form", "value"], we = /* @__PURE__ */ W({
310
310
  name: "DBButton",
311
311
  __name: "button",
312
312
  props: {
@@ -565,8 +565,8 @@ const el = Object.entries(na).map(([, e]) => e), Aa = {
565
565
  checked: a.checked,
566
566
  defaultChecked: void 0
567
567
  },
568
- (F) => {
569
- I(F);
568
+ (N) => {
569
+ I(N);
570
570
  },
571
571
  B.signal
572
572
  );
@@ -611,9 +611,9 @@ const el = Object.entries(na).map(([, e]) => e), Aa = {
611
611
  disabled: n(q)(e.disabled, "disabled"),
612
612
  value: e.value,
613
613
  required: n(q)(e.required, "required"),
614
- onChange: B[0] || (B[0] = async (F) => I(F)),
615
- onBlur: B[1] || (B[1] = async (F) => T(F)),
616
- onFocus: B[2] || (B[2] = async (F) => w(F)),
614
+ onChange: B[0] || (B[0] = async (N) => I(N)),
615
+ onBlur: B[1] || (B[1] = async (N) => T(N)),
616
+ onFocus: B[2] || (B[2] = async (N) => w(N)),
617
617
  "aria-describedby": e.ariaDescribedBy ?? k.value
618
618
  }, null, 40, Ya),
619
619
  e.label ? (v(), y(H, { key: 0 }, [
@@ -1041,10 +1041,10 @@ const Qa = (e) => {
1041
1041
  },
1042
1042
  emits: ["update:value"],
1043
1043
  setup(e, { emit: t }) {
1044
- const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(void 0), $ = o(void 0), g = o(""), s = o(void 0), d = o(null);
1044
+ const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(void 0), $ = o(""), g = o(""), s = o(void 0), d = o(null);
1045
1045
  J(() => {
1046
- const N = a.id ?? `input-${_()}`;
1047
- i.value = N, c.value = N + ce, u.value = N + re, f.value = N + ve, h.value = N + Qe, m.value = a.invalidMessage || ee;
1046
+ const F = a.id ?? `input-${_()}`;
1047
+ i.value = F, c.value = F + ce, u.value = F + re, f.value = F + ve, h.value = F + Qe, m.value = a.invalidMessage || ee;
1048
1048
  }), he(() => {
1049
1049
  s.value?.abort();
1050
1050
  }), C(
@@ -1060,8 +1060,8 @@ const Qa = (e) => {
1060
1060
  () => [i.value],
1061
1061
  () => {
1062
1062
  if (i.value) {
1063
- const N = i.value + ce;
1064
- c.value = N, u.value = i.value + re, f.value = i.value + ve, h.value = a.dataListId ?? i.value + Qe, Z(a.message, a.showMessage) && (k.value = N), I();
1063
+ const F = i.value + ce;
1064
+ c.value = F, u.value = i.value + re, f.value = i.value + ve, h.value = a.dataListId ?? i.value + Qe, Z(a.message, a.showMessage) && (k.value = F), I();
1065
1065
  }
1066
1066
  },
1067
1067
  {
@@ -1071,7 +1071,7 @@ const Qa = (e) => {
1071
1071
  ), C(
1072
1072
  () => [a.value],
1073
1073
  () => {
1074
- $.value = a.value;
1074
+ a.value !== void 0 && ($.value = a.value);
1075
1075
  },
1076
1076
  {
1077
1077
  immediate: !0,
@@ -1081,17 +1081,17 @@ const Qa = (e) => {
1081
1081
  () => [d.value],
1082
1082
  () => {
1083
1083
  if (d.value) {
1084
- let X = s.value;
1085
- X || (X = new AbortController(), s.value = X), Oe(
1084
+ let A = s.value;
1085
+ A || (A = new AbortController(), s.value = A), Oe(
1086
1086
  d.value,
1087
1087
  {
1088
1088
  value: a.value,
1089
1089
  defaultValue: void 0
1090
1090
  },
1091
- (A) => {
1092
- w(A), T(A);
1091
+ (R) => {
1092
+ w(R), T(R);
1093
1093
  },
1094
- X.signal
1094
+ A.signal
1095
1095
  );
1096
1096
  }
1097
1097
  },
@@ -1106,28 +1106,28 @@ const Qa = (e) => {
1106
1106
  function I() {
1107
1107
  !d.value?.validity.valid || a.validation === "invalid" ? (k.value = f.value, m.value = a.invalidMessage || d.value?.validationMessage || ee, ue() && (g.value = m.value, K(() => g.value = "", 1e3))) : b() && d.value?.validity.valid && (a.required || a.minLength || a.maxLength || a.pattern) ? (k.value = u.value, ue() && (g.value = a.validMessage ?? se, K(() => g.value = "", 1e3))) : Z(a.message, a.showMessage) ? k.value = c.value : k.value = void 0;
1108
1108
  }
1109
- function T(N, X) {
1110
- a.input && a.input(N), $.value = N.target.value, a.onInput && a.onInput(N), de(l, N), I();
1109
+ function T(F, j) {
1110
+ a.input && a.input(F), $.value = F.target.value, a.onInput && a.onInput(F), de(l, F), I();
1111
1111
  }
1112
- function w(N, X) {
1113
- a.onChange && a.onChange(N), de(l, N), I();
1112
+ function w(F, j) {
1113
+ a.onChange && a.onChange(F), de(l, F), I();
1114
1114
  }
1115
- function L(N) {
1116
- a.onBlur && a.onBlur(N);
1115
+ function L(F) {
1116
+ a.onBlur && a.onBlur(F);
1117
1117
  }
1118
- function B(N) {
1119
- a.onFocus && a.onFocus(N);
1118
+ function B(F) {
1119
+ a.onFocus && a.onFocus(F);
1120
1120
  }
1121
- function F() {
1122
- const N = a.dataList;
1121
+ function N() {
1122
+ const F = a.dataList;
1123
1123
  return Array.from(
1124
- (Fa(N) ? N?.map((X) => ({
1125
- value: X,
1124
+ (Fa(F) ? F?.map((j) => ({
1125
+ value: j,
1126
1126
  label: void 0
1127
- })) : N) || []
1127
+ })) : F) || []
1128
1128
  );
1129
1129
  }
1130
- return (N, X) => (v(), y("div", {
1130
+ return (F, j) => (v(), y("div", {
1131
1131
  class: O(n(U)("db-input", a.class)),
1132
1132
  "data-variant": e.variant,
1133
1133
  "data-hide-label": n(ne)(e.showLabel),
@@ -1137,7 +1137,7 @@ const Qa = (e) => {
1137
1137
  "data-hide-asterisk": n(ne)(e.showRequiredAsterisk),
1138
1138
  "data-show-icon-trailing": n(P)(e.showIconTrailing)
1139
1139
  }, [
1140
- E("label", { for: i.value }, S(e.label ?? n(ye)), 9, ct),
1140
+ E("label", { for: i.value }, S(e.label ?? n(ke)), 9, ct),
1141
1141
  E("input", {
1142
1142
  "aria-invalid": e.validation === "invalid",
1143
1143
  "data-custom-validity": e.validation,
@@ -1153,8 +1153,8 @@ const Qa = (e) => {
1153
1153
  required: n(q)(e.required, "required"),
1154
1154
  step: n(Ra)(e.step),
1155
1155
  value: e.value ?? $.value,
1156
- maxLength: n(Se)(e.maxLength, e.maxlength),
1157
- minLength: n(Se)(e.minLength, e.minlength),
1156
+ maxLength: n(pe)(e.maxLength, e.maxlength),
1157
+ minLength: n(pe)(e.minLength, e.minlength),
1158
1158
  max: n(Ze)(e.max, e.type),
1159
1159
  min: n(Ze)(e.min, e.type),
1160
1160
  readOnly: n(q)(e.readOnly, "readOnly") || n(q)(e.readonly, "readonly"),
@@ -1165,10 +1165,10 @@ const Qa = (e) => {
1165
1165
  autoFocus: n(q)(e.autofocus, "autofocus"),
1166
1166
  enterKeyHint: e.enterkeyhint,
1167
1167
  inputMode: e.inputmode,
1168
- onInput: X[0] || (X[0] = async (A) => T(A)),
1169
- onChange: X[1] || (X[1] = async (A) => w(A)),
1170
- onBlur: X[2] || (X[2] = async (A) => L(A)),
1171
- onFocus: X[3] || (X[3] = async (A) => B(A)),
1168
+ onInput: j[0] || (j[0] = async (A) => T(A)),
1169
+ onChange: j[1] || (j[1] = async (A) => w(A)),
1170
+ onBlur: j[2] || (j[2] = async (A) => L(A)),
1171
+ onFocus: j[3] || (j[3] = async (A) => B(A)),
1172
1172
  list: e.dataList && h.value,
1173
1173
  "aria-describedby": e.ariaDescribedBy ?? k.value,
1174
1174
  role: ["datetime-local", "date", "time", "week", "month", "color"].includes(
@@ -1179,12 +1179,12 @@ const Qa = (e) => {
1179
1179
  key: 0,
1180
1180
  id: h.value
1181
1181
  }, [
1182
- (v(!0), y(H, null, me(F(), (A) => (v(), y("option", {
1182
+ (v(!0), y(H, null, ge(N(), (A) => (v(), y("option", {
1183
1183
  key: h.value + "-option-" + A.value,
1184
1184
  value: A.value
1185
1185
  }, S(A.label), 9, ft))), 128))
1186
1186
  ], 8, vt)) : z("", !0),
1187
- M(N.$slots, "default"),
1187
+ M(F.$slots, "default"),
1188
1188
  n(Z)(e.message, e.showMessage) ? (v(), Y(Q, {
1189
1189
  key: 1,
1190
1190
  size: e.messageSize || "small",
@@ -1454,7 +1454,7 @@ const Qa = (e) => {
1454
1454
  },
1455
1455
  emits: ["update:values"],
1456
1456
  setup(e, { emit: t }) {
1457
- const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(void 0), $ = o(void 0), g = o(void 0), s = o(void 0), d = o("no-validation"), b = o(!1), I = o(void 0), T = o(void 0), w = o(""), L = o(void 0), B = o(""), F = o([]), N = o(!1), X = o(!1), A = o(0), R = o([]), j = o([]), pe = o(!1), ge = o(void 0), Ce = o(0), Me = o(void 0), Ne = o(void 0), Re = o(void 0), ze = o(!1), Ie = o(!1), ra = o(null), V = o(null), le = o(null), Ee = o(null), Pe = o(null);
1457
+ const l = t, a = e, i = o(void 0), c = o(void 0), u = o(void 0), f = o(void 0), m = o(void 0), h = o(void 0), k = o(void 0), $ = o(void 0), g = o(void 0), s = o(void 0), d = o("no-validation"), b = o(!1), I = o(void 0), T = o(void 0), w = o(""), L = o(void 0), B = o(""), N = o([]), F = o(!1), j = o(!1), A = o(0), R = o([]), X = o([]), me = o(!1), be = o(void 0), Ce = o(0), Me = o(void 0), Ne = o(void 0), Re = o(void 0), ze = o(!1), Ie = o(!1), ra = o(null), V = o(null), le = o(null), Ee = o(null), Pe = o(null);
1458
1458
  J(() => {
1459
1459
  const r = a.id ?? `custom-select-${_()}`;
1460
1460
  i.value = r, c.value = r + ce, u.value = r + re, f.value = r + ve, h.value = r + Je, k.value = r + Ye, $.value = r + "-summary", g.value = r + De, L.value = r + "-selected-labels", s.value = r + "-info", m.value = a.invalidMessage || ee, typeof window < "u" && "IntersectionObserver" in window && (Ne.value = new IntersectionObserver((p) => {
@@ -1505,9 +1505,9 @@ const Qa = (e) => {
1505
1505
  flush: "post"
1506
1506
  }
1507
1507
  ), C(
1508
- () => [a.showNoResults, a.showLoading, j.value],
1508
+ () => [a.showNoResults, a.showLoading, X.value],
1509
1509
  () => {
1510
- a.showNoResults !== void 0 ? pe.value = a.showNoResults : j.value && (pe.value = j.value.length === 0);
1510
+ a.showNoResults !== void 0 ? me.value = a.showNoResults : X.value && (me.value = X.value.length === 0);
1511
1511
  },
1512
1512
  {
1513
1513
  immediate: !0,
@@ -1516,7 +1516,7 @@ const Qa = (e) => {
1516
1516
  ), C(
1517
1517
  () => [a.showSelectAll, A.value, a.multiple],
1518
1518
  () => {
1519
- N.value = !!(a.multiple && (a.showSelectAll ?? A.value > 5));
1519
+ F.value = !!(a.multiple && (a.showSelectAll ?? A.value > 5));
1520
1520
  },
1521
1521
  {
1522
1522
  immediate: !0,
@@ -1525,7 +1525,7 @@ const Qa = (e) => {
1525
1525
  ), C(
1526
1526
  () => [a.showSearch, A.value],
1527
1527
  () => {
1528
- X.value = a.showSearch ?? A.value > 9;
1528
+ j.value = a.showSearch ?? A.value > 9;
1529
1529
  },
1530
1530
  {
1531
1531
  immediate: !0,
@@ -1561,7 +1561,7 @@ const Qa = (e) => {
1561
1561
  le.value,
1562
1562
  () => {
1563
1563
  const x = p || (le.value.value ? [le.value.value] : []);
1564
- Be(x), Ge();
1564
+ Se(x), Ge();
1565
1565
  },
1566
1566
  r.signal
1567
1567
  );
@@ -1592,7 +1592,7 @@ const Qa = (e) => {
1592
1592
  ), C(
1593
1593
  () => [a.options],
1594
1594
  () => {
1595
- j.value = a.options, A.value = a.options?.filter((r) => !r.isGroupTitle).length ?? 0;
1595
+ X.value = a.options, A.value = a.options?.filter((r) => !r.isGroupTitle).length ?? 0;
1596
1596
  },
1597
1597
  {
1598
1598
  immediate: !0,
@@ -1613,7 +1613,7 @@ const Qa = (e) => {
1613
1613
  ), C(
1614
1614
  () => [a.options, R.value],
1615
1615
  () => {
1616
- a.options?.length && (F.value = a.options?.filter(
1616
+ a.options?.length && (N.value = a.options?.filter(
1617
1617
  (r) => !r.value || !R.value?.includes ? !1 : !r.isGroupTitle && R.value?.includes(r.value)
1618
1618
  ));
1619
1619
  },
@@ -1623,7 +1623,7 @@ const Qa = (e) => {
1623
1623
  }
1624
1624
  ), C(
1625
1625
  () => [
1626
- F.value,
1626
+ N.value,
1627
1627
  a.selectedType,
1628
1628
  a.amountText,
1629
1629
  a.selectedLabels,
@@ -1634,13 +1634,13 @@ const Qa = (e) => {
1634
1634
  w.value = a.selectedLabels;
1635
1635
  return;
1636
1636
  }
1637
- if (F.value?.length) {
1637
+ if (N.value?.length) {
1638
1638
  if (a.transformSelectedLabels) {
1639
- const r = F.value, p = a.transformSelectedLabels;
1639
+ const r = N.value, p = a.transformSelectedLabels;
1640
1640
  w.value = p(r);
1641
1641
  return;
1642
1642
  }
1643
- a.selectedType === "amount" ? w.value = a.amountText ? a.amountText : `${F.value?.length} ${$a}` : w.value = F.value?.map((r) => we(r)).join(", ");
1643
+ a.selectedType === "amount" ? w.value = a.amountText ? a.amountText : `${N.value?.length} ${$a}` : w.value = N.value?.map((r) => Be(r)).join(", ");
1644
1644
  } else
1645
1645
  w.value = "";
1646
1646
  },
@@ -1649,9 +1649,9 @@ const Qa = (e) => {
1649
1649
  flush: "post"
1650
1650
  }
1651
1651
  ), C(
1652
- () => [F.value],
1652
+ () => [N.value],
1653
1653
  () => {
1654
- a.onAmountChange && a.onAmountChange(F.value?.length ?? 0);
1654
+ a.onAmountChange && a.onAmountChange(N.value?.length ?? 0);
1655
1655
  },
1656
1656
  {
1657
1657
  immediate: !0,
@@ -1686,12 +1686,12 @@ const Qa = (e) => {
1686
1686
  le.value && (le.value.value = ha()), !le.value?.validity.valid || a.validation === "invalid" ? (Le(f.value), m.value = a.invalidMessage || le.value?.validationMessage || ee, ue() && (B.value = m.value, K(() => B.value = "", 1e3)), b.value && (d.value = a.validation ?? "invalid")) : Ue() && le.value?.validity.valid && a.required ? (Le(u.value), ue() && (B.value = a.validMessage ?? se, K(() => B.value = "", 1e3)), d.value = a.validation ?? "valid") : Z(a.message, a.showMessage) ? (Le(c.value), d.value = a.validation ?? "no-validation") : (Le(g.value), d.value = a.validation ?? "no-validation");
1687
1687
  }
1688
1688
  function fa(r) {
1689
- a.onDropdownToggle && (r.stopPropagation(), a.onDropdownToggle(r)), r.target instanceof HTMLDetailsElement && r.target.open ? (ge.value = new fe().addCallback(
1689
+ a.onDropdownToggle && (r.stopPropagation(), a.onDropdownToggle(r)), r.target instanceof HTMLDetailsElement && r.target.open ? (be.value = new fe().addCallback(
1690
1690
  (p) => Ba(p)
1691
1691
  ), Me.value = new oe().addCallback(
1692
1692
  (p) => va(p)
1693
- ), Ve(), Ne.value?.observe(V.value), r.target.dataset.test || He()) : (ge.value && new fe().removeCallback(
1694
- ge.value
1693
+ ), Ve(), Ne.value?.observe(V.value), r.target.dataset.test || He()) : (be.value && new fe().removeCallback(
1694
+ be.value
1695
1695
  ), Me.value && new oe().removeCallback(
1696
1696
  Me.value
1697
1697
  ), Ne.value?.unobserve(V.value));
@@ -1704,9 +1704,9 @@ const Qa = (e) => {
1704
1704
  r && p.push(r), L.value && w.value?.length && p.push(L.value), T.value = p.join(" ");
1705
1705
  }
1706
1706
  function ma() {
1707
- return a.selectAllLabel ?? ye;
1707
+ return a.selectAllLabel ?? ke;
1708
1708
  }
1709
- function we(r) {
1709
+ function Be(r) {
1710
1710
  return r.label ?? r.value?.toString() ?? "";
1711
1711
  }
1712
1712
  function ga(r) {
@@ -1719,7 +1719,7 @@ const Qa = (e) => {
1719
1719
  if (ae >= 0 && ae < p.length)
1720
1720
  return p[ae];
1721
1721
  }
1722
- return `${aa} ${we(r)}`;
1722
+ return `${aa} ${Be(r)}`;
1723
1723
  }
1724
1724
  function ya(r, p) {
1725
1725
  p && p.stopPropagation(), We(r.value), $e();
@@ -1746,9 +1746,9 @@ const Qa = (e) => {
1746
1746
  if (r.key === "ArrowDown" || r.key === "ArrowRight") {
1747
1747
  let ie = ae?.nextElementSibling;
1748
1748
  for (; ie; ) {
1749
- const be = ie.querySelector("input");
1750
- if (be) {
1751
- be.focus();
1749
+ const ye = ie.querySelector("input");
1750
+ if (ye) {
1751
+ ye.focus();
1752
1752
  break;
1753
1753
  }
1754
1754
  ie = ie.nextElementSibling;
@@ -1757,18 +1757,18 @@ const Qa = (e) => {
1757
1757
  } else {
1758
1758
  let ie = ae?.previousElementSibling;
1759
1759
  for (; ie; ) {
1760
- const be = ie.querySelector("input");
1761
- if (be) {
1762
- be.focus();
1760
+ const ye = ie.querySelector("input");
1761
+ if (ye) {
1762
+ ye.focus();
1763
1763
  break;
1764
1764
  }
1765
1765
  ie = ie.previousElementSibling;
1766
1766
  }
1767
1767
  if (!ie) {
1768
- const be = V.value.querySelector(
1768
+ const ye = V.value.querySelector(
1769
1769
  'input[type="checkbox"]'
1770
1770
  );
1771
- if (be && be !== p)
1771
+ if (ye && ye !== p)
1772
1772
  Ae(p);
1773
1773
  else {
1774
1774
  const je = _e(V.value);
@@ -1819,7 +1819,7 @@ const Qa = (e) => {
1819
1819
  V.value?.open && !V.value.contains(p) && (V.value.open = !1);
1820
1820
  }
1821
1821
  }
1822
- function Be(r) {
1822
+ function Se(r) {
1823
1823
  (/* @__PURE__ */ new Date()).getTime() - Ce.value < 200 || (R.value = r, b.value = !0, a.onOptionSelected && a.onOptionSelected(r ?? []), de(
1824
1824
  l,
1825
1825
  {
@@ -1831,14 +1831,14 @@ const Qa = (e) => {
1831
1831
  ), Ce.value = (/* @__PURE__ */ new Date()).getTime());
1832
1832
  }
1833
1833
  function We(r) {
1834
- r && (a.multiple ? R.value?.includes(r) ? Be(R.value.filter((p) => p !== r)) : Be([...R.value || [], r]) : (Be([r]), xe(void 0, !0)));
1834
+ r && (a.multiple ? R.value?.includes(r) ? Se(R.value.filter((p) => p !== r)) : Se([...R.value || [], r]) : (Se([r]), xe(void 0, !0)));
1835
1835
  }
1836
1836
  function Sa(r) {
1837
1837
  if (r.stopPropagation(), R.value?.length === A.value)
1838
- Be([]);
1838
+ Se([]);
1839
1839
  else {
1840
- const p = X.value && Pe.value ? Pe.value.value : void 0;
1841
- Be(
1840
+ const p = j.value && Pe.value ? Pe.value.value : void 0;
1841
+ Se(
1842
1842
  a.options ? a.options.filter(
1843
1843
  (x) => !x.isGroupTitle && (!p || x.value?.toLowerCase().includes(p.toLowerCase()))
1844
1844
  ).map((x) => x.value ?? "") : []
@@ -1878,14 +1878,14 @@ const Qa = (e) => {
1878
1878
  const x = r;
1879
1879
  x.stopPropagation(), a.onSearch && a.onSearch(x), p = x.target.value, Re.value = p;
1880
1880
  }
1881
- !a.options || !p || p.length === 0 ? j.value = a.options : a.searchFilter ? j.value = a.options.filter(
1881
+ !a.options || !p || p.length === 0 ? X.value = a.options : a.searchFilter ? X.value = a.options.filter(
1882
1882
  (x) => a.searchFilter(x, p)
1883
- ) : j.value = a.options.filter(
1884
- (x) => !x.isGroupTitle && we(x).toLowerCase().includes(p.toLowerCase())
1883
+ ) : X.value = a.options.filter(
1884
+ (x) => !x.isGroupTitle && Be(x).toLowerCase().includes(p.toLowerCase())
1885
1885
  );
1886
1886
  }
1887
1887
  function pa(r) {
1888
- r.stopPropagation(), Be([]), $e();
1888
+ r.stopPropagation(), Se([]), $e();
1889
1889
  }
1890
1890
  function $e() {
1891
1891
  V.value && V.value.querySelector("summary")?.focus();
@@ -1911,7 +1911,7 @@ const Qa = (e) => {
1911
1911
  "data-show-icon": n(P)(e.showIcon)
1912
1912
  }, [
1913
1913
  E("label", { id: k.value }, [
1914
- D(S(e.label ?? n(ye)), 1),
1914
+ D(S(e.label ?? n(ke)), 1),
1915
1915
  E("select", {
1916
1916
  role: "none",
1917
1917
  hidden: !0,
@@ -1926,11 +1926,11 @@ const Qa = (e) => {
1926
1926
  required: n(q)(e.required, "required"),
1927
1927
  onChange: p[0] || (p[0] = async (x) => La(x))
1928
1928
  }, [
1929
- e.options?.length ? (v(!0), y(H, { key: 0 }, me(e.options, (x, ae) => (v(), y("option", {
1929
+ e.options?.length ? (v(!0), y(H, { key: 0 }, ge(e.options, (x, ae) => (v(), y("option", {
1930
1930
  key: ae,
1931
1931
  disabled: x.disabled,
1932
1932
  value: x.value
1933
- }, S(we(x)), 9, St))), 128)) : z("", !0)
1933
+ }, S(Be(x)), 9, St))), 128)) : z("", !0)
1934
1934
  ], 40, Bt)
1935
1935
  ], 8, wt),
1936
1936
  E("details", {
@@ -1957,7 +1957,7 @@ const Qa = (e) => {
1957
1957
  D(" " + S(w.value), 1)
1958
1958
  ], 8, It)) : z("", !0),
1959
1959
  e.selectedType === "tag" ? (v(), y("div", $t, [
1960
- (v(!0), y(H, null, me(F.value, (x, ae) => (v(), Y(yt, {
1960
+ (v(!0), y(H, null, ge(N.value, (x, ae) => (v(), Y(yt, {
1961
1961
  key: ae,
1962
1962
  emphasis: "strong",
1963
1963
  behavior: "removable",
@@ -1965,7 +1965,7 @@ const Qa = (e) => {
1965
1965
  onRemove: (ie) => ya(x, ie)
1966
1966
  }, {
1967
1967
  default: G(() => [
1968
- D(S(we(x)), 1)
1968
+ D(S(Be(x)), 1)
1969
1969
  ]),
1970
1970
  _: 2
1971
1971
  }, 1032, ["removeButton", "onRemove"]))), 128))
@@ -1973,7 +1973,7 @@ const Qa = (e) => {
1973
1973
  ], 8, Lt),
1974
1974
  te(at, { width: e.dropdownWidth }, {
1975
1975
  default: G(() => [
1976
- X.value ? (v(), y("div", Tt, [
1976
+ j.value ? (v(), y("div", Tt, [
1977
1977
  te(mt, {
1978
1978
  type: "search",
1979
1979
  ref_key: "searchInputRef",
@@ -1982,13 +1982,13 @@ const Qa = (e) => {
1982
1982
  form: i.value,
1983
1983
  showLabel: !1,
1984
1984
  value: Re.value,
1985
- label: e.searchLabel ?? n(ye),
1985
+ label: e.searchLabel ?? n(ke),
1986
1986
  placeholder: e.searchPlaceholder ?? e.searchLabel,
1987
- ariaDescribedBy: pe.value || e.showLoading ? s.value : void 0,
1987
+ ariaDescribedBy: me.value || e.showLoading ? s.value : void 0,
1988
1988
  onInput: (x) => Xe(x)
1989
1989
  }, null, 8, ["name", "form", "value", "label", "placeholder", "ariaDescribedBy", "onInput"])
1990
1990
  ])) : z("", !0),
1991
- pe.value || e.showLoading ? (v(), Y(Q, {
1991
+ me.value || e.showLoading ? (v(), Y(Q, {
1992
1992
  key: 1,
1993
1993
  id: s.value,
1994
1994
  icon: e.showLoading ? "circular_arrows" : void 0,
@@ -1999,7 +1999,7 @@ const Qa = (e) => {
1999
1999
  ]),
2000
2000
  _: 1
2001
2001
  }, 8, ["id", "icon", "semantic"])) : (v(), y(H, { key: 2 }, [
2002
- N.value ? (v(), y("div", Ct, [
2002
+ F.value ? (v(), y("div", Ct, [
2003
2003
  E("div", Et, [
2004
2004
  E("label", null, [
2005
2005
  E("input", {
@@ -2017,16 +2017,16 @@ const Qa = (e) => {
2017
2017
  ])) : z("", !0),
2018
2018
  te(st, {
2019
2019
  multiple: n(q)(e.multiple, "multiple"),
2020
- label: e.listLabel ?? e.label ?? n(ye)
2020
+ label: e.listLabel ?? e.label ?? n(ke)
2021
2021
  }, {
2022
2022
  default: G(() => [
2023
- (v(!0), y(H, null, me(j.value, (x, ae) => (v(), Y(ot, {
2023
+ (v(!0), y(H, null, ge(X.value, (x, ae) => (v(), Y(ot, {
2024
2024
  key: ae,
2025
2025
  type: e.multiple ? "checkbox" : "radio",
2026
2026
  showDivider: x.showDivider,
2027
2027
  icon: x.icon,
2028
2028
  isGroupTitle: x.isGroupTitle,
2029
- groupTitle: we(x),
2029
+ groupTitle: Be(x),
2030
2030
  name: i.value,
2031
2031
  checked: ga(x.value),
2032
2032
  disabled: x.disabled,
@@ -2035,7 +2035,7 @@ const Qa = (e) => {
2035
2035
  }, {
2036
2036
  default: G(() => [
2037
2037
  x.isGroupTitle ? z("", !0) : (v(), y(H, { key: 0 }, [
2038
- D(S(we(x)), 1)
2038
+ D(S(Be(x)), 1)
2039
2039
  ], 64))
2040
2040
  ]),
2041
2041
  _: 2
@@ -2045,7 +2045,7 @@ const Qa = (e) => {
2045
2045
  }, 8, ["multiple", "label"])
2046
2046
  ], 64)),
2047
2047
  E("div", null, [
2048
- te(ke, {
2048
+ te(we, {
2049
2049
  variant: "ghost",
2050
2050
  width: "full",
2051
2051
  icon: "cross",
@@ -2065,7 +2065,7 @@ const Qa = (e) => {
2065
2065
  }, 8, ["width"])
2066
2066
  ], 64)) : z("", !0)
2067
2067
  ], 40, pt),
2068
- (e.showClearSelection ?? !0) && R.value?.length ? (v(), Y(ke, {
2068
+ (e.showClearSelection ?? !0) && R.value?.length ? (v(), Y(we, {
2069
2069
  key: 0,
2070
2070
  icon: "cross",
2071
2071
  variant: "ghost",
@@ -2259,7 +2259,7 @@ const Qa = (e) => {
2259
2259
  E("div", Vt, [
2260
2260
  M(f.$slots, "drawer-header")
2261
2261
  ]),
2262
- te(ke, {
2262
+ te(we, {
2263
2263
  class: "button-close-drawer",
2264
2264
  icon: "cross",
2265
2265
  variant: "ghost",
@@ -2456,7 +2456,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
2456
2456
  ]),
2457
2457
  E("div", ei, [
2458
2458
  E("div", ai, [
2459
- te(ke, {
2459
+ te(we, {
2460
2460
  icon: "menu",
2461
2461
  variant: "ghost",
2462
2462
  noText: !0,
@@ -2716,7 +2716,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
2716
2716
  onClick: d[1] || (d[1] = async (b) => k(b))
2717
2717
  }, [
2718
2718
  a.value ? (v(), y("div", ui, [
2719
- te(ke, {
2719
+ te(we, {
2720
2720
  icon: "arrow_left",
2721
2721
  variant: "ghost",
2722
2722
  id: e.backButtonId,
@@ -2790,7 +2790,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
2790
2790
  ]),
2791
2791
  n(Z)(e.timestamp, e.showTimestamp) ? (v(), y("span", vi, S(e.timestamp), 1)) : z("", !0),
2792
2792
  M(i.$slots, "link"),
2793
- n(q)(e.closeable, "closeable") ? (v(), Y(ke, {
2793
+ n(q)(e.closeable, "closeable") ? (v(), Y(we, {
2794
2794
  key: 2,
2795
2795
  icon: "cross",
2796
2796
  variant: "ghost",
@@ -3206,17 +3206,17 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3206
3206
  () => [b.value],
3207
3207
  () => {
3208
3208
  if (b.value) {
3209
- let R = d.value;
3210
- R || (R = new AbortController(), d.value = R), Oe(
3209
+ let X = d.value;
3210
+ X || (X = new AbortController(), d.value = X), Oe(
3211
3211
  b.value,
3212
3212
  {
3213
3213
  value: a.value,
3214
3214
  defaultValue: void 0
3215
3215
  },
3216
- (j) => {
3217
- B(j), L(j);
3216
+ (me) => {
3217
+ B(me), L(me);
3218
3218
  },
3219
- R.signal
3219
+ X.signal
3220
3220
  );
3221
3221
  }
3222
3222
  },
@@ -3240,13 +3240,13 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3240
3240
  function B(A, R) {
3241
3241
  a.onChange && a.onChange(A), de(l, A), T();
3242
3242
  }
3243
- function F(A) {
3243
+ function N(A) {
3244
3244
  a.onBlur && a.onBlur(A);
3245
3245
  }
3246
- function N(A) {
3246
+ function F(A) {
3247
3247
  a.onFocus && a.onFocus(A);
3248
3248
  }
3249
- function X(A) {
3249
+ function j(A) {
3250
3250
  return A.label ?? A.value?.toString();
3251
3251
  }
3252
3252
  return (A, R) => (v(), y("div", {
@@ -3257,7 +3257,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3257
3257
  "data-icon": e.icon,
3258
3258
  "data-show-icon": n(P)(e.showIcon)
3259
3259
  }, [
3260
- E("label", { for: i.value }, S(e.label ?? n(ye)), 9, wi),
3260
+ E("label", { for: i.value }, S(e.label ?? n(ke)), 9, wi),
3261
3261
  E("select", {
3262
3262
  "aria-invalid": e.validation === "invalid",
3263
3263
  "data-custom-validity": e.validation,
@@ -3271,31 +3271,31 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3271
3271
  value: e.value ?? $.value,
3272
3272
  autocomplete: e.autocomplete,
3273
3273
  multiple: e.multiple,
3274
- onInput: R[0] || (R[0] = async (j) => L(j)),
3275
- onClick: R[1] || (R[1] = async (j) => w(j)),
3276
- onChange: R[2] || (R[2] = async (j) => B(j)),
3277
- onBlur: R[3] || (R[3] = async (j) => F(j)),
3278
- onFocus: R[4] || (R[4] = async (j) => N(j)),
3274
+ onInput: R[0] || (R[0] = async (X) => L(X)),
3275
+ onClick: R[1] || (R[1] = async (X) => w(X)),
3276
+ onChange: R[2] || (R[2] = async (X) => B(X)),
3277
+ onBlur: R[3] || (R[3] = async (X) => N(X)),
3278
+ onFocus: R[4] || (R[4] = async (X) => F(X)),
3279
3279
  "aria-describedby": e.ariaDescribedBy ?? k.value
3280
3280
  }, [
3281
3281
  e.variant === "floating" || e.placeholder ? (v(), y("option", Si)) : z("", !0),
3282
- e.options?.length ? (v(!0), y(H, { key: 1 }, me(e.options, (j, pe) => (v(), y(H, { key: pe }, [
3283
- j.options ? (v(), y("optgroup", {
3282
+ e.options?.length ? (v(!0), y(H, { key: 1 }, ge(e.options, (X, me) => (v(), y(H, { key: me }, [
3283
+ X.options ? (v(), y("optgroup", {
3284
3284
  key: 0,
3285
- label: X(j)
3285
+ label: j(X)
3286
3286
  }, [
3287
- (v(!0), y(H, null, me(j.options, (ge, Ce) => (v(), y("option", {
3287
+ (v(!0), y(H, null, ge(X.options, (be, Ce) => (v(), y("option", {
3288
3288
  key: Ce,
3289
- value: ge.value,
3290
- selected: ge.selected,
3291
- disabled: ge.disabled
3292
- }, S(X(ge)), 9, Li))), 128))
3289
+ value: be.value,
3290
+ selected: be.selected,
3291
+ disabled: be.disabled
3292
+ }, S(j(be)), 9, Li))), 128))
3293
3293
  ], 8, pi)) : (v(), y("option", {
3294
3294
  key: 1,
3295
- value: j.value,
3296
- disabled: j.disabled,
3297
- selected: j.selected
3298
- }, S(X(j)), 9, Ii))
3295
+ value: X.value,
3296
+ disabled: X.disabled,
3297
+ selected: X.selected
3298
+ }, S(j(X)), 9, Ii))
3299
3299
  ], 64))), 128)) : M(A.$slots, "default", { key: 2 })
3300
3300
  ], 40, Bi),
3301
3301
  e.placeholder ? (v(), y("span", {
@@ -3449,8 +3449,8 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3449
3449
  checked: a.checked,
3450
3450
  defaultChecked: void 0
3451
3451
  },
3452
- (F) => {
3453
- b(F);
3452
+ (N) => {
3453
+ b(N);
3454
3454
  },
3455
3455
  B.signal
3456
3456
  );
@@ -3520,10 +3520,10 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3520
3520
  required: n(q)(e.required, "required"),
3521
3521
  "data-aid-icon": e.iconLeading ?? e.icon,
3522
3522
  "data-aid-icon-trailing": e.iconTrailing,
3523
- onChange: B[0] || (B[0] = async (F) => b(F)),
3524
- onBlur: B[1] || (B[1] = async (F) => I(F)),
3525
- onFocus: B[2] || (B[2] = async (F) => T(F)),
3526
- onKeydown: B[3] || (B[3] = async (F) => w(F))
3523
+ onChange: B[0] || (B[0] = async (N) => b(N)),
3524
+ onBlur: B[1] || (B[1] = async (N) => I(N)),
3525
+ onFocus: B[2] || (B[2] = async (N) => T(N)),
3526
+ onKeydown: B[3] || (B[3] = async (N) => w(N))
3527
3527
  }, null, 40, Ai),
3528
3528
  e.label ? (v(), y(H, { key: 0 }, [
3529
3529
  D(S(e.label), 1)
@@ -3803,18 +3803,18 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3803
3803
  )
3804
3804
  );
3805
3805
  for (const L of T) {
3806
- const B = T.indexOf(L), F = L.querySelector("label"), N = L.querySelector("input");
3807
- if (N && F) {
3808
- if (!N.id) {
3809
- const X = `${a.value}-tab-${B}`;
3810
- F.setAttribute("for", X), N.id = X, N.setAttribute("name", a.value), w.length > B && N.setAttribute(
3806
+ const B = T.indexOf(L), N = L.querySelector("label"), F = L.querySelector("input");
3807
+ if (F && N) {
3808
+ if (!F.id) {
3809
+ const j = `${a.value}-tab-${B}`;
3810
+ N.setAttribute("for", j), F.id = j, F.setAttribute("name", a.value), w.length > B && F.setAttribute(
3811
3811
  "aria-controls",
3812
3812
  `${a.value}-tab-panel-${B}`
3813
3813
  );
3814
3814
  }
3815
3815
  if (I) {
3816
- const X = !t.initialSelectedMode || t.initialSelectedMode === "auto", A = t.initialSelectedIndex == null && B === 0 || Number(t.initialSelectedIndex) === B;
3817
- X && A && N.click();
3816
+ const j = !t.initialSelectedMode || t.initialSelectedMode === "auto", A = t.initialSelectedIndex == null && B === 0 || Number(t.initialSelectedIndex) === B;
3817
+ j && A && F.click();
3818
3818
  }
3819
3819
  }
3820
3820
  }
@@ -3833,8 +3833,8 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3833
3833
  if (L) {
3834
3834
  const B = L.parentElement;
3835
3835
  if (B) {
3836
- const F = Array.from(B.children).indexOf(L);
3837
- t.onIndexChange && t.onIndexChange(F), t.onTabSelect && t.onTabSelect(I);
3836
+ const N = Array.from(B.children).indexOf(L);
3837
+ t.onIndexChange && t.onIndexChange(N), t.onTabSelect && t.onTabSelect(I);
3838
3838
  }
3839
3839
  }
3840
3840
  }
@@ -3852,7 +3852,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3852
3852
  onInput: T[0] || (T[0] = async (w) => b(w)),
3853
3853
  onChange: T[1] || (T[1] = async (w) => b(w))
3854
3854
  }, [
3855
- c.value ? (v(), Y(ke, {
3855
+ c.value ? (v(), Y(we, {
3856
3856
  key: 0,
3857
3857
  class: "tabs-scroll-left",
3858
3858
  variant: "ghost",
@@ -3869,7 +3869,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3869
3869
  e.tabs ? (v(), y(H, { key: 1 }, [
3870
3870
  te(Pi, null, {
3871
3871
  default: G(() => [
3872
- (v(!0), y(H, null, me(k(), (w, L) => (v(), Y(Ni, {
3872
+ (v(!0), y(H, null, ge(k(), (w, L) => (v(), Y(Ni, {
3873
3873
  key: e.name + "tab-item" + L,
3874
3874
  active: w.active,
3875
3875
  label: w.label,
@@ -3880,7 +3880,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3880
3880
  ]),
3881
3881
  _: 1
3882
3882
  }),
3883
- (v(!0), y(H, null, me(k(), (w, L) => (v(), Y(qi, {
3883
+ (v(!0), y(H, null, ge(k(), (w, L) => (v(), Y(qi, {
3884
3884
  key: e.name + "tab-panel" + L,
3885
3885
  content: w.content
3886
3886
  }, {
@@ -3890,7 +3890,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3890
3890
  _: 2
3891
3891
  }, 1032, ["content"]))), 128))
3892
3892
  ], 64)) : z("", !0),
3893
- u.value ? (v(), Y(ke, {
3893
+ u.value ? (v(), Y(we, {
3894
3894
  key: 2,
3895
3895
  class: "tabs-scroll-right",
3896
3896
  variant: "ghost",
@@ -3991,7 +3991,7 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
3991
3991
  ), C(
3992
3992
  () => [a.value],
3993
3993
  () => {
3994
- k.value = a.value;
3994
+ a.value !== void 0 && (k.value = a.value);
3995
3995
  },
3996
3996
  {
3997
3997
  immediate: !0,
@@ -4008,8 +4008,8 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
4008
4008
  value: a.value,
4009
4009
  defaultValue: void 0
4010
4010
  },
4011
- (N) => {
4012
- T(N), I(N);
4011
+ (j) => {
4012
+ T(j), I(j);
4013
4013
  },
4014
4014
  F.signal
4015
4015
  );
@@ -4026,10 +4026,10 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
4026
4026
  function b() {
4027
4027
  !s.value?.validity.valid || a.validation === "invalid" ? (h.value = f.value, m.value = a.invalidMessage || s.value?.validationMessage || ee, ue() && ($.value = m.value, K(() => $.value = "", 1e3))) : d() && s.value?.validity.valid && (a.required || a.minLength || a.maxLength) ? (h.value = u.value, ue() && ($.value = a.validMessage ?? se, K(() => $.value = "", 1e3))) : Z(a.message, a.showMessage) ? h.value = c.value : h.value = void 0;
4028
4028
  }
4029
- function I(B, F) {
4029
+ function I(B, N) {
4030
4030
  a.input && a.input(B), k.value = B.target.value, a.onInput && a.onInput(B), de(l, B), b();
4031
4031
  }
4032
- function T(B, F) {
4032
+ function T(B, N) {
4033
4033
  a.onChange && a.onChange(B), de(l, B), b();
4034
4034
  }
4035
4035
  function w(B) {
@@ -4038,13 +4038,13 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
4038
4038
  function L(B) {
4039
4039
  a.onFocus && a.onFocus(B);
4040
4040
  }
4041
- return (B, F) => (v(), y("div", {
4041
+ return (B, N) => (v(), y("div", {
4042
4042
  class: O(n(U)("db-textarea", a.class)),
4043
4043
  "data-variant": e.variant,
4044
4044
  "data-hide-asterisk": n(ne)(e.showRequiredAsterisk),
4045
4045
  "data-hide-label": n(ne)(e.showLabel)
4046
4046
  }, [
4047
- E("label", { for: i.value }, S(e.label ?? n(ye)), 9, Gi),
4047
+ E("label", { for: i.value }, S(e.label ?? n(ke)), 9, Gi),
4048
4048
  E("textarea", {
4049
4049
  "aria-invalid": e.validation === "invalid",
4050
4050
  "data-custom-validity": e.validation,
@@ -4058,21 +4058,21 @@ const Wt = ["id", "data-width", "data-on-forcing-mobile"], Ht = { class: "db-hea
4058
4058
  required: n(q)(e.required, "required"),
4059
4059
  readOnly: n(q)(e.readOnly, "readOnly") || n(q)(e.readonly, "readonly"),
4060
4060
  form: e.form,
4061
- maxLength: n(Se)(e.maxLength, e.maxlength),
4062
- minLength: n(Se)(e.minLength, e.minlength),
4061
+ maxLength: n(pe)(e.maxLength, e.maxlength),
4062
+ minLength: n(pe)(e.minLength, e.minlength),
4063
4063
  name: e.name,
4064
4064
  wrap: e.wrap,
4065
4065
  spellcheck: e.spellCheck,
4066
4066
  autocomplete: e.autocomplete,
4067
- onInput: F[0] || (F[0] = async (N) => I(N)),
4068
- onChange: F[1] || (F[1] = async (N) => T(N)),
4069
- onBlur: F[2] || (F[2] = async (N) => w(N)),
4070
- onFocus: F[3] || (F[3] = async (N) => L(N)),
4067
+ onInput: N[0] || (N[0] = async (F) => I(F)),
4068
+ onChange: N[1] || (N[1] = async (F) => T(F)),
4069
+ onBlur: N[2] || (N[2] = async (F) => w(F)),
4070
+ onFocus: N[3] || (N[3] = async (F) => L(F)),
4071
4071
  value: e.value ?? k.value,
4072
4072
  "aria-describedby": e.ariaDescribedBy ?? h.value,
4073
4073
  placeholder: e.placeholder ?? n(ea),
4074
- rows: n(Se)(e.rows, n(Ea)),
4075
- cols: n(Se)(e.cols)
4074
+ rows: n(pe)(e.rows, n(Ea)),
4075
+ cols: n(pe)(e.cols)
4076
4076
  }, S(e.value), 41, Wi),
4077
4077
  n(Z)(e.message, e.showMessage) ? (v(), Y(Q, {
4078
4078
  key: 0,
@@ -4131,7 +4131,7 @@ export {
4131
4131
  qa as DBAccordionItem,
4132
4132
  sl as DBBadge,
4133
4133
  cl as DBBrand,
4134
- ke as DBButton,
4134
+ we as DBButton,
4135
4135
  fl as DBCard,
4136
4136
  gl as DBCheckbox,
4137
4137
  bl as DBCustomSelect,
@@ -4173,7 +4173,7 @@ export {
4173
4173
  Te as DEFAULT_ID,
4174
4174
  ee as DEFAULT_INVALID_MESSAGE,
4175
4175
  ve as DEFAULT_INVALID_MESSAGE_ID_SUFFIX,
4176
- ye as DEFAULT_LABEL,
4176
+ ke as DEFAULT_LABEL,
4177
4177
  Ye as DEFAULT_LABEL_ID_SUFFIX,
4178
4178
  Ia as DEFAULT_MESSAGE,
4179
4179
  ce as DEFAULT_MESSAGE_ID_SUFFIX,
@@ -4251,7 +4251,7 @@ export {
4251
4251
  sa as getFloatingProps,
4252
4252
  ne as getHideProp,
4253
4253
  Ze as getInputValue,
4254
- Se as getNumber,
4254
+ pe as getNumber,
4255
4255
  ll as getOptionKey,
4256
4256
  _e as getSearchInput,
4257
4257
  Ra as getStep,