@bridge-ui/vue 0.0.6 → 0.0.7

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.
Files changed (110) hide show
  1. package/dist/Actions/Snackbar/BridgeSnackbarAction.vue_vue_type_script_setup_true_lang.js +8 -8
  2. package/dist/Actions/Snackbar/BridgeSnackbarHost.vue_vue_type_script_setup_true_lang.js +5 -5
  3. package/dist/Actions/Snackbar/createBridgeSnackbarApi.js +17 -17
  4. package/dist/Adapters/I18n/index.d.ts +1 -1
  5. package/dist/Adapters/I18n/index.js +2 -2
  6. package/dist/Adapters/I18n/useI18nAdapter.d.ts +7 -3
  7. package/dist/Adapters/I18n/useI18nAdapter.js +12 -7
  8. package/dist/Adapters/Icon/useIconAdapter.d.ts +1 -1
  9. package/dist/Adapters/index.d.ts +1 -1
  10. package/dist/Adapters/index.js +3 -3
  11. package/dist/Components/Alert/composables/useAlert.js +17 -17
  12. package/dist/Components/Autocomplete/Autocomplete.js +5 -0
  13. package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +40 -0
  14. package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +197 -0
  15. package/dist/Components/Autocomplete/AutocompleteOption.js +5 -0
  16. package/dist/Components/Autocomplete/AutocompleteOption.vue.d.ts +4 -0
  17. package/dist/Components/Autocomplete/AutocompleteOption.vue_vue_type_script_setup_true_lang.js +32 -0
  18. package/dist/Components/Autocomplete/autocomplete.types.d.ts +285 -0
  19. package/dist/Components/Autocomplete/autocompleteInjectionKey.d.ts +7 -0
  20. package/dist/Components/Autocomplete/autocompleteInjectionKey.js +4 -0
  21. package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +762 -0
  22. package/dist/Components/Autocomplete/composables/useAutocomplete.js +382 -0
  23. package/dist/Components/Autocomplete/index.d.ts +4 -0
  24. package/dist/Components/Autocomplete/index.js +4 -0
  25. package/dist/Components/Avatar/composables/useAvatar.js +13 -13
  26. package/dist/Components/Badge/composables/useBadge.js +8 -8
  27. package/dist/Components/Button/composables/useButton.js +14 -14
  28. package/dist/Components/Card/composables/useCard.js +27 -27
  29. package/dist/Components/Checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +2 -2
  30. package/dist/Components/Checkbox/composables/useCheckbox.d.ts +3 -3
  31. package/dist/Components/Checkbox/composables/useCheckbox.js +9 -9
  32. package/dist/Components/Chip/composables/useChip.js +6 -6
  33. package/dist/Components/Divider/composables/useDivider.js +5 -5
  34. package/dist/Components/Drawer/composables/useDrawer.js +23 -23
  35. package/dist/Components/FormControl/FormControl.vue_vue_type_script_setup_true_lang.js +1 -1
  36. package/dist/Components/FormControl/composables/useFormControl.d.ts +3 -3
  37. package/dist/Components/FormControl/composables/useFormControl.js +12 -12
  38. package/dist/Components/FormControl/formControl.types.d.ts +6 -6
  39. package/dist/Components/FormField/FilledFormField.vue_vue_type_script_setup_true_lang.js +2 -2
  40. package/dist/Components/FormField/NotchedFormField.vue_vue_type_script_setup_true_lang.js +2 -2
  41. package/dist/Components/FormField/OutlinedFormField.vue_vue_type_script_setup_true_lang.js +2 -2
  42. package/dist/Components/FormField/StackedFormField.vue_vue_type_script_setup_true_lang.js +2 -2
  43. package/dist/Components/FormField/UnderlinedFormField.vue_vue_type_script_setup_true_lang.js +2 -2
  44. package/dist/Components/FormField/composables/useFormField.d.ts +3 -3
  45. package/dist/Components/FormField/composables/useFormField.js +28 -28
  46. package/dist/Components/FormField/formField.types.d.ts +14 -14
  47. package/dist/Components/Icon/composables/useIcon.js +5 -5
  48. package/dist/Components/Label/composables/useLabel.js +5 -5
  49. package/dist/Components/Link/composables/useLink.js +9 -9
  50. package/dist/Components/List/composables/useList.js +6 -6
  51. package/dist/Components/ListItem/composables/useListItem.js +20 -20
  52. package/dist/Components/ListSection/composables/useListSection.js +8 -8
  53. package/dist/Components/Listbox/Listbox.vue_vue_type_script_setup_true_lang.js +28 -28
  54. package/dist/Components/Listbox/composables/useListbox.js +7 -7
  55. package/dist/Components/Listbox/index.js +3 -3
  56. package/dist/Components/Menu/composables/useMenu.js +43 -43
  57. package/dist/Components/Modal/composables/useModal.js +18 -18
  58. package/dist/Components/NumberField/NumberField.vue_vue_type_script_setup_true_lang.js +34 -34
  59. package/dist/Components/NumberField/composables/useNumberField.d.ts +4 -4
  60. package/dist/Components/NumberField/composables/useNumberField.js +9 -9
  61. package/dist/Components/OtpField/OtpField.js +5 -0
  62. package/dist/Components/OtpField/OtpField.vue.d.ts +31 -0
  63. package/dist/Components/OtpField/OtpField.vue_vue_type_script_setup_true_lang.js +80 -0
  64. package/dist/Components/OtpField/OtpFieldLabel.js +5 -0
  65. package/dist/Components/OtpField/OtpFieldLabel.vue.d.ts +7 -0
  66. package/dist/Components/OtpField/OtpFieldLabel.vue_vue_type_script_setup_true_lang.js +16 -0
  67. package/dist/Components/OtpField/composables/useOtpField.d.ts +460 -0
  68. package/dist/Components/OtpField/composables/useOtpField.js +212 -0
  69. package/dist/Components/OtpField/index.d.ts +4 -0
  70. package/dist/Components/OtpField/index.js +3 -0
  71. package/dist/Components/OtpField/otpField.types.d.ts +290 -0
  72. package/dist/Components/PasswordField/PasswordField.vue_vue_type_script_setup_true_lang.js +23 -23
  73. package/dist/Components/PasswordField/composables/usePasswordField.d.ts +4 -4
  74. package/dist/Components/PasswordField/composables/usePasswordField.js +2 -2
  75. package/dist/Components/Progress/composables/useProgress.js +11 -11
  76. package/dist/Components/Radio/Radio.vue_vue_type_script_setup_true_lang.js +2 -2
  77. package/dist/Components/Radio/composables/useRadio.d.ts +3 -3
  78. package/dist/Components/Radio/composables/useRadio.js +9 -9
  79. package/dist/Components/Select/Select.vue.d.ts +1 -1
  80. package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +16 -13
  81. package/dist/Components/Select/composables/useSelect.d.ts +4 -4
  82. package/dist/Components/Select/composables/useSelect.js +161 -161
  83. package/dist/Components/Skeleton/composables/useSkeleton.js +5 -5
  84. package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +54 -54
  85. package/dist/Components/Snackbar/composables/useSnackbar.js +115 -115
  86. package/dist/Components/Spinner/composables/useSpinner.js +11 -11
  87. package/dist/Components/Switch/Switch.vue_vue_type_script_setup_true_lang.js +2 -2
  88. package/dist/Components/Switch/composables/useSwitch.d.ts +3 -3
  89. package/dist/Components/Switch/composables/useSwitch.js +9 -9
  90. package/dist/Components/Tab/composables/useTab.js +11 -11
  91. package/dist/Components/TabList/composables/useTabList.js +7 -7
  92. package/dist/Components/TabPanel/composables/useTabPanel.js +7 -7
  93. package/dist/Components/Tabs/composables/useTabs.js +22 -22
  94. package/dist/Components/TextField/TextField.vue.d.ts +1 -1
  95. package/dist/Components/TextField/TextField.vue_vue_type_script_setup_true_lang.js +6 -6
  96. package/dist/Components/TextField/composables/useTextField.d.ts +4 -4
  97. package/dist/Components/TextField/composables/useTextField.js +1 -1
  98. package/dist/Components/Textarea/Textarea.vue.d.ts +1 -1
  99. package/dist/Components/Textarea/Textarea.vue_vue_type_script_setup_true_lang.js +6 -6
  100. package/dist/Components/Textarea/composables/useTextarea.d.ts +4 -4
  101. package/dist/Components/Textarea/composables/useTextarea.js +9 -9
  102. package/dist/Components/Tooltip/composables/useTooltip.js +17 -17
  103. package/dist/Provider/bridgeUITypes.d.ts +4 -1
  104. package/dist/Provider/createBridgeUIApi.js +13 -1
  105. package/dist/Utils/index.js +7 -7
  106. package/dist/Utils/useBreakpoint.js +7 -7
  107. package/dist/augments.d.ts +2 -2
  108. package/dist/index.d.ts +6 -2
  109. package/dist/index.js +84 -80
  110. package/package.json +3 -2
@@ -1,16 +1,16 @@
1
- import { useI18nAdapter as e } from "../../Adapters/I18n/useI18nAdapter.js";
1
+ import { useResolveMessage as e } from "../../Adapters/I18n/useI18nAdapter.js";
2
2
  import { hasNamedSlot as t, resolveNamedSlot as n } from "../../Utils/slotOrProp.js";
3
3
  import { mergeNestedComponentProps as r } from "../../Utils/index.js";
4
- import ee from "../List/List.js";
5
- import { useListbox as te } from "./composables/useListbox.js";
4
+ import { useListbox as ee } from "./composables/useListbox.js";
5
+ import te from "../List/List.js";
6
6
  import { LISTBOX_INJECTION_KEY as i } from "./listboxInjectionKey.js";
7
7
  import a from "../ListItem/ListItem.js";
8
8
  import o from "../ListSection/ListSection.js";
9
9
  import s from "../Menu/Menu.js";
10
10
  import ne from "../Progress/Progress.js";
11
11
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createVNode as h, defineComponent as g, guardReactiveProps as _, mergeModels as v, mergeProps as y, normalizeProps as b, openBlock as x, provide as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as E, toDisplayString as D, unref as O, useModel as re, useSlots as ie, watch as k, withCtx as A } from "vue";
12
- import { isNil as ae } from "es-toolkit/compat";
13
- import { cn as oe, entriesFromListboxOptions as se, flattenListboxOptions as j, mapListboxEntriesToRows as M, resolveMessage as N } from "@bridge-ui/core";
12
+ import { cn as ae, entriesFromListboxOptions as oe, flattenListboxOptions as j, mapListboxEntriesToRows as M } from "@bridge-ui/core";
13
+ import { isNil as N } from "es-toolkit/compat";
14
14
  //#region src/Components/Listbox/Listbox.vue?vue&type=script&setup=true&lang.ts
15
15
  var P = { key: 1 }, F = /* @__PURE__ */ g({
16
16
  __name: "Listbox",
@@ -70,61 +70,61 @@ var P = { key: 1 }, F = /* @__PURE__ */ g({
70
70
  k(L, (e) => {
71
71
  I("show-change", e);
72
72
  });
73
- let R = g, z = e(), B = l(() => R.emptyMessage ?? N("No options", z.value)), V = l(() => R.loadingMessage ?? N("Loading...", z.value)), { merged: H, checkClass: U, scrollBind: W, messageBind: G, sizeClasses: K, mergedClasses: q, optionSelectedClass: ce, optionHighlightedClass: le } = te(R, {
73
+ let R = g, z = e(), B = l(() => R.emptyMessage ?? z("No options")), V = l(() => R.loadingMessage ?? z("Loading...")), { merged: H, checkClass: U, scrollBind: W, messageBind: G, sizeClasses: K, mergedClasses: q, optionSelectedClass: se, optionHighlightedClass: ce } = ee(R, {
74
74
  size: "md",
75
75
  color: "primary"
76
- }), ue = l(() => R.options ?? []), J = l(() => R.entries ? R.entries : se(ue.value)), Y = l(() => j(J.value)), X = l(() => t(F, "default")), Z = l(() => !R.loading && !X.value && Y.value.length === 0 && R.hideEmptyMessage !== !0), de = l(() => oe(U.value, q.value.check)), Q = C([]);
76
+ }), le = l(() => R.options ?? []), J = l(() => R.entries ? R.entries : oe(le.value)), Y = l(() => j(J.value)), X = l(() => t(F, "default")), Z = l(() => !R.loading && !X.value && Y.value.length === 0 && R.hideEmptyMessage !== !0), ue = l(() => ae(U.value, q.value.check)), Q = C([]);
77
77
  function $(e) {
78
78
  return R.isSelected?.(e) ?? !1;
79
79
  }
80
- function fe(e) {
80
+ function de(e) {
81
81
  e.disabled || I("select", e);
82
82
  }
83
- function pe(e) {
83
+ function fe(e) {
84
84
  return Q.value.some((t) => String(t.value) === String(e.value)) || (Q.value = [...Q.value, e]), () => {
85
85
  Q.value = Q.value.filter((t) => String(t.value) !== String(e.value));
86
86
  };
87
87
  }
88
- function me(e) {
88
+ function pe(e) {
89
89
  return (X.value ? Q.value : Y.value).findIndex((t) => String(t.value) === String(e));
90
90
  }
91
91
  k(Q, (e) => {
92
92
  X.value && I("registered-options-change", e);
93
93
  }, { deep: !0 }), S(i, l(() => ({
94
- getOptionIndex: me,
95
- registerOption: pe,
96
- onSelect: fe,
94
+ getOptionIndex: pe,
95
+ registerOption: fe,
96
+ onSelect: de,
97
97
  listboxId: R.listboxId,
98
98
  isSelected: $,
99
99
  sizeClasses: K.value,
100
100
  showCheckmark: R.showCheckmark,
101
- checkClass: de.value,
101
+ checkClass: ue.value,
102
102
  highlightedIndex: R.highlightedIndex,
103
- optionSelectedClass: ce.value,
104
- optionHighlightedClass: le.value,
103
+ optionSelectedClass: se.value,
104
+ optionHighlightedClass: ce.value,
105
105
  mergedClasses: {
106
106
  optionSelected: q.value.optionSelected,
107
107
  optionHighlighted: q.value.optionHighlighted
108
108
  }
109
109
  })));
110
- let he = l(() => M(J.value, $)), ge = l(() => H.value.customProps?.menu), _e = l(() => H.value.customProps?.list), ve = l(() => H.value.customProps?.listItem), ye = l(() => H.value.customProps?.progress), be = l(() => H.value.customProps?.listSection), xe = l(() => ({
111
- ...ae(R.rounded) ? {} : { rounded: R.rounded },
112
- ...ge.value
113
- })), Se = l(() => ({
110
+ let me = l(() => M(J.value, $)), he = l(() => H.value.customProps?.menu), ge = l(() => H.value.customProps?.list), _e = l(() => H.value.customProps?.listItem), ve = l(() => H.value.customProps?.progress), ye = l(() => H.value.customProps?.listSection), be = l(() => ({
111
+ ...N(R.rounded) ? {} : { rounded: R.rounded },
112
+ ...he.value
113
+ })), xe = l(() => ({
114
114
  size: "xs",
115
115
  "aria-hidden": !0,
116
116
  color: H.value.color,
117
- ...r(ye.value, {
117
+ ...r(ve.value, {
118
118
  class: "shrink-0",
119
119
  classes: { bar: q.value.loading }
120
120
  })
121
- })), Ce = l(() => ({
121
+ })), Se = l(() => ({
122
122
  dense: !0,
123
123
  role: "listbox",
124
124
  id: R.listboxId,
125
125
  "aria-labelledby": R.labelledBy,
126
126
  "aria-multiselectable": R.multiple || void 0,
127
- ...r(_e.value, { class: "p-0" })
127
+ ...r(ge.value, { class: "p-0" })
128
128
  }));
129
129
  return (e, r) => (x(), u(O(s), y({
130
130
  modelValue: L.value,
@@ -133,22 +133,22 @@ var P = { key: 1 }, F = /* @__PURE__ */ g({
133
133
  placement: g.placement,
134
134
  "close-on-click-away": !0,
135
135
  "disable-auto-focus": g.disableAutoFocus
136
- }, xe.value), {
136
+ }, be.value), {
137
137
  default: A(() => [
138
138
  O(t)(O(F), "beforeOptions") ? (x(), u(E(O(n)(O(F), "beforeOptions")), { key: 0 })) : d("", !0),
139
- g.loading ? (x(), f(c, { key: 1 }, [h(O(ne), b(_(Se.value)), null, 16), p("div", b(_(O(G))), [O(t)(O(F), "loading") ? (x(), u(E(O(n)(O(F), "loading")), { key: 0 })) : (x(), f("span", P, D(V.value), 1))], 16)], 64)) : (x(), f("div", b(y({ key: 2 }, O(W))), [h(O(ee), b(_(Ce.value)), {
140
- default: A(() => [X.value ? T(e.$slots, "default", { key: 0 }) : (x(!0), f(c, { key: 1 }, w(he.value, (n) => (x(), f(c, { key: n.key }, [n.kind === "section" ? (x(), u(O(o), y({
139
+ g.loading ? (x(), f(c, { key: 1 }, [h(O(ne), b(_(xe.value)), null, 16), p("div", b(_(O(G))), [O(t)(O(F), "loading") ? (x(), u(E(O(n)(O(F), "loading")), { key: 0 })) : (x(), f("span", P, D(V.value), 1))], 16)], 64)) : (x(), f("div", b(y({ key: 2 }, O(W))), [h(O(te), b(_(Se.value)), {
140
+ default: A(() => [X.value ? T(e.$slots, "default", { key: 0 }) : (x(!0), f(c, { key: 1 }, w(me.value, (n) => (x(), f(c, { key: n.key }, [n.kind === "section" ? (x(), u(O(o), y({
141
141
  key: 0,
142
142
  title: n.title,
143
143
  sticky: n.sticky
144
- }, { ref_for: !0 }, be.value), null, 16, ["title", "sticky"])) : (x(), u(O(a), y({
144
+ }, { ref_for: !0 }, ye.value), null, 16, ["title", "sticky"])) : (x(), u(O(a), y({
145
145
  key: 1,
146
146
  interactive: "",
147
147
  value: n.option.value,
148
148
  disabled: n.option.disabled,
149
149
  secondary: n.option.description,
150
150
  primary: O(t)(O(F), "option") ? void 0 : n.option.label
151
- }, { ref_for: !0 }, ve.value), m({ _: 2 }, [O(t)(O(F), "option") ? {
151
+ }, { ref_for: !0 }, _e.value), m({ _: 2 }, [O(t)(O(F), "option") ? {
152
152
  name: "default",
153
153
  fn: A(() => [T(e.$slots, "option", {
154
154
  option: n.option,
@@ -1,7 +1,7 @@
1
1
  import { mergePartBind as e, useBridgeUIComponent as t, useBridgeUIMergedRegistryClasses as n } from "../../../Utils/index.js";
2
2
  import { computed as r, useAttrs as i } from "vue";
3
- import { get as a } from "es-toolkit/compat";
4
- import { cn as o, mergeBridgeUILayeredClasses as s, splitComponentProps as c } from "@bridge-ui/core";
3
+ import { cn as a, mergeBridgeUILayeredClasses as o, splitComponentProps as s } from "@bridge-ui/core";
4
+ import { get as c } from "es-toolkit/compat";
5
5
  import { colorProps as l, invalidatedProps as u, sizeProps as d } from "@bridge-ui/core/Tokens/Listbox";
6
6
  //#region src/Components/Listbox/composables/useListbox.ts
7
7
  var f = [
@@ -14,7 +14,7 @@ var f = [
14
14
  "disableMaxHeight"
15
15
  ];
16
16
  function p(p, m) {
17
- let h = i(), g = r(() => c({
17
+ let h = i(), g = r(() => s({
18
18
  props: {
19
19
  ...h,
20
20
  ...p
@@ -27,19 +27,19 @@ function p(p, m) {
27
27
  }), y = n({
28
28
  entry: v,
29
29
  props: () => g.value.componentProps
30
- }), b = r(() => a(s(l, v.value?.tokens?.color), _.value.color ?? "primary")), x = r(() => s(u, v.value?.tokens?.invalidated)), S = r(() => _.value.invalidated ? x.value : b.value), C = r(() => a(s(d, v.value?.tokens?.size), _.value.size ?? "md")), w = r(() => S.value?.selected), T = r(() => S.value?.highlighted);
30
+ }), b = r(() => c(o(l, v.value?.tokens?.color), _.value.color ?? "primary")), x = r(() => o(u, v.value?.tokens?.invalidated)), S = r(() => _.value.invalidated ? x.value : b.value), C = r(() => c(o(d, v.value?.tokens?.size), _.value.size ?? "md")), w = r(() => S.value?.selected), T = r(() => S.value?.highlighted);
31
31
  return {
32
32
  merged: _,
33
- checkClass: r(() => o(C.value?.check, S.value?.check)),
33
+ checkClass: r(() => a(C.value?.check, S.value?.check)),
34
34
  scrollBind: r(() => {
35
35
  let t = _.value.maxHeight ?? "max-h-60", n = _.value.disableMaxHeight === !0;
36
- return e(_.value.customProps?.scroll, {}, o({
36
+ return e(_.value.customProps?.scroll, {}, a({
37
37
  "overflow-y-auto overscroll-contain": !n,
38
38
  [t]: !n,
39
39
  [y.value.scroll ?? ""]: !0
40
40
  }));
41
41
  }),
42
- messageBind: r(() => e({}, {}, o({
42
+ messageBind: r(() => e({}, {}, a({
43
43
  "text-gray-500": !0,
44
44
  [C.value?.message ?? ""]: !0
45
45
  }))),
@@ -1,5 +1,5 @@
1
- import { useListbox as e } from "./composables/useListbox.js";
2
- import { findFirstEnabledOptionIndex as t, findLastEnabledOptionIndex as n, getListboxActiveDescendantId as r, getListboxOptionId as i, moveListboxHighlight as a, useListboxNavigation as o } from "./composables/useListboxNavigation.js";
1
+ import { findFirstEnabledOptionIndex as e, findLastEnabledOptionIndex as t, getListboxActiveDescendantId as n, getListboxOptionId as r, moveListboxHighlight as i, useListboxNavigation as a } from "./composables/useListboxNavigation.js";
2
+ import { useListbox as o } from "./composables/useListbox.js";
3
3
  import { LISTBOX_INJECTION_KEY as s } from "./listboxInjectionKey.js";
4
4
  import c from "./Listbox.js";
5
- export { s as LISTBOX_INJECTION_KEY, c as Listbox, t as findFirstEnabledOptionIndex, n as findLastEnabledOptionIndex, r as getListboxActiveDescendantId, i as getListboxOptionId, a as moveListboxHighlight, e as useListbox, o as useListboxNavigation };
5
+ export { s as LISTBOX_INJECTION_KEY, c as Listbox, e as findFirstEnabledOptionIndex, t as findLastEnabledOptionIndex, n as getListboxActiveDescendantId, r as getListboxOptionId, i as moveListboxHighlight, o as useListbox, a as useListboxNavigation };
@@ -1,8 +1,8 @@
1
1
  import { mergePartBind as e, resolveVnodeRefElement as t, useBridgeUIComponent as n, useBridgeUIMergedRegistryClasses as ee } from "../../../Utils/index.js";
2
- import { computed as r, nextTick as i, onBeforeUnmount as te, ref as a, toValue as o, useAttrs as ne, useId as re, watch as s } from "vue";
3
- import { get as c, omit as l } from "es-toolkit/compat";
4
- import { LAYER_STACK_BASE_Z_INDEX as u, acquireLayerStackOrder as ie, claimOpenMenu as d, cn as f, createFocusable as p, createPositionable as m, getLayerStackEntry as ae, mergeBridgeUILayeredClasses as h, pushLayerStack as g, splitComponentProps as _, subscribeLayerStack as v } from "@bridge-ui/core";
5
- import { roundedProps as oe, shadowProps as se } from "@bridge-ui/core/Tokens/Menu";
2
+ import { computed as r, nextTick as i, onBeforeUnmount as a, ref as o, toValue as te, useAttrs as s, useId as ne, watch as c } from "vue";
3
+ import { LAYER_STACK_BASE_Z_INDEX as l, acquireLayerStackOrder as u, claimOpenMenu as re, cn as d, createFocusable as f, createPositionable as p, getLayerStackEntry as m, mergeBridgeUILayeredClasses as h, pushLayerStack as ie, splitComponentProps as ae, subscribeLayerStack as oe } from "@bridge-ui/core";
4
+ import { get as g, omit as _ } from "es-toolkit/compat";
5
+ import { roundedProps as v, shadowProps as se } from "@bridge-ui/core/Tokens/Menu";
6
6
  //#region src/Components/Menu/composables/useMenu.ts
7
7
  var ce = [
8
8
  "offset",
@@ -21,11 +21,11 @@ var ce = [
21
21
  "disableScrollLock"
22
22
  ];
23
23
  function y(y, le, b = {}) {
24
- let ue = ne(), x = re(), S = a(!1), C = a(""), w = a(null), T = a(null), E = null, D = null, O = null, k = null, A = null, j = null, M = !1, N = a(u), P = r(() => o(b.show ?? !1));
24
+ let ue = s(), x = ne(), S = o(!1), C = o(""), w = o(null), T = o(null), E = null, D = null, O = null, k = null, A = null, j = null, M = !1, N = o(l), P = r(() => te(b.show ?? !1));
25
25
  function F(e) {
26
26
  e || b.onClose?.(), b.show && (b.show.value = e), b.onShowChange?.(e);
27
27
  }
28
- let I = r(() => _({
28
+ let I = r(() => ae({
29
29
  bridgeKeys: ce,
30
30
  props: {
31
31
  ...ue,
@@ -38,35 +38,35 @@ function y(y, le, b = {}) {
38
38
  }), z = r(() => L.value.customProps), B = ee({
39
39
  entry: R,
40
40
  props: () => I.value.componentProps
41
- }), V = r(() => L.value.keepMounted && !P.value), H = r(() => L.value.teleportTo !== !1), de = r(() => c(h(oe, R.value?.tokens?.rounded), L.value.rounded)), fe = r(() => c(h(se, R.value?.tokens?.shadow), L.value.shadow)), U = r(() => !L.value.persistent), pe = r(() => l(I.value.inheritedAttrs, ["anchorEl", "onShowChange"]));
42
- function W() {
41
+ }), V = r(() => L.value.keepMounted && !P.value), H = r(() => L.value.teleportTo !== !1), de = r(() => g(h(v, R.value?.tokens?.rounded), L.value.rounded)), fe = r(() => g(h(se, R.value?.tokens?.shadow), L.value.shadow)), U = r(() => !L.value.persistent), W = r(() => _(I.value.inheritedAttrs, ["anchorEl", "onShowChange"]));
42
+ function G() {
43
43
  return y.anchorEl ?? w.value;
44
44
  }
45
- function G() {
46
- W()?.focus({ preventScroll: !0 });
45
+ function K() {
46
+ G()?.focus({ preventScroll: !0 });
47
47
  }
48
- function K(e) {
49
- return W()?.contains(e) ?? !1;
48
+ function q(e) {
49
+ return G()?.contains(e) ?? !1;
50
50
  }
51
- function me(e) {
52
- return !(e instanceof Element) || K(e) || T.value?.contains(e) ? !1 : !!e.closest("[aria-haspopup=\"menu\"], button, [role=\"button\"]");
51
+ function pe(e) {
52
+ return !(e instanceof Element) || q(e) || T.value?.contains(e) ? !1 : !!e.closest("[aria-haspopup=\"menu\"], button, [role=\"button\"]");
53
53
  }
54
- function q() {
54
+ function J() {
55
55
  !U.value || !P.value || F(!1);
56
56
  }
57
- function he() {
57
+ function me() {
58
58
  L.value.persistent && P.value || F(!P.value);
59
59
  }
60
- function J(e) {
60
+ function he(e) {
61
61
  e.key !== "ArrowDown" && e.key !== "Enter" && e.key !== " " || (e.preventDefault(), P.value || F(!0));
62
62
  }
63
63
  function ge(e) {
64
64
  let t = T.value;
65
65
  if (!t) return;
66
- let n = p(t);
66
+ let n = f(t);
67
67
  switch (e.key) {
68
68
  case "Escape":
69
- e.preventDefault(), q(), G();
69
+ e.preventDefault(), J(), K();
70
70
  break;
71
71
  case "ArrowDown":
72
72
  e.preventDefault(), n.next()?.focus({ preventScroll: !0 });
@@ -87,22 +87,22 @@ function y(y, le, b = {}) {
87
87
  }
88
88
  function X() {
89
89
  Y();
90
- let e = W(), t = T.value;
91
- !P.value || !e || !t || (k = m({
90
+ let e = G(), t = T.value;
91
+ !P.value || !e || !t || (k = p({
92
92
  floating: t,
93
93
  reference: e,
94
94
  offset: L.value.offset,
95
95
  strategy: L.value.strategy,
96
96
  placement: L.value.placement,
97
97
  onReferenceHidden: () => {
98
- !M || !U.value || !P.value || q();
98
+ !M || !U.value || !P.value || J();
99
99
  }
100
100
  }), k.start(), i(() => {
101
101
  M = !0;
102
102
  }));
103
103
  }
104
104
  function Z() {
105
- !P.value || L.value.disableAutoFocus || !T.value || p(T.value).focusFirst();
105
+ !P.value || L.value.disableAutoFocus || !T.value || f(T.value).focusFirst();
106
106
  }
107
107
  function _e() {
108
108
  if (A?.(), !P.value) {
@@ -111,7 +111,7 @@ function y(y, le, b = {}) {
111
111
  }
112
112
  function e(e) {
113
113
  let t = e.target;
114
- K(t) || T.value?.contains(t) || L.value.closeOnClickAway === !1 || !U.value || me(t) || q();
114
+ q(t) || T.value?.contains(t) || L.value.closeOnClickAway === !1 || !U.value || pe(t) || J();
115
115
  }
116
116
  document.addEventListener("pointerdown", e, !0), A = () => {
117
117
  document.removeEventListener("pointerdown", e, !0);
@@ -130,29 +130,29 @@ function y(y, le, b = {}) {
130
130
  }));
131
131
  }
132
132
  function be() {
133
- !P.value || L.value.closeOnEscape === !1 || !U.value || (q(), G());
133
+ !P.value || L.value.closeOnEscape === !1 || !U.value || (J(), K());
134
134
  }
135
135
  function Q() {
136
- let e = ae(C.value);
136
+ let e = m(C.value);
137
137
  e && (N.value = e.zIndex);
138
138
  }
139
139
  function $() {
140
- j?.(), j = null, A?.(), A = null, O?.(), O = null, D?.release(), D = null, E = null, C.value = "", N.value = u, Y();
140
+ j?.(), j = null, A?.(), A = null, O?.(), O = null, D?.release(), D = null, E = null, C.value = "", N.value = l, Y();
141
141
  }
142
- let xe = r(() => e(z.value?.root, pe.value, f({
142
+ let xe = r(() => e(z.value?.root, W.value, d({
143
143
  "relative inline-block text-left": !0,
144
- [c(B.value, "root") ?? ""]: !0
144
+ [g(B.value, "root") ?? ""]: !0
145
145
  }))), Se = r(() => e(z.value?.trigger, {}, {
146
146
  tabindex: 0,
147
147
  role: "button",
148
148
  "aria-expanded": P.value,
149
- onKeydown: J,
149
+ onKeydown: he,
150
150
  "aria-haspopup": "menu",
151
- onClickCapture: he,
151
+ onClickCapture: me,
152
152
  "aria-controls": P.value ? x : void 0,
153
- class: f({
153
+ class: d({
154
154
  "inline-block w-fit max-w-full cursor-pointer outline-hidden": !0,
155
- [c(B.value, "trigger") ?? ""]: !0
155
+ [g(B.value, "trigger") ?? ""]: !0
156
156
  })
157
157
  })), Ce = r(() => e(z.value?.content, {}, {
158
158
  id: x,
@@ -160,32 +160,32 @@ function y(y, le, b = {}) {
160
160
  onKeydown: ge,
161
161
  style: { zIndex: N.value },
162
162
  "aria-hidden": V.value ? !0 : void 0,
163
- class: f({
163
+ class: d({
164
164
  "bg-white text-dark-900 dark:bg-dark-800 dark:text-dark-100 ring-1 ring-black/5 dark:ring-white/10 outline-hidden overflow-hidden min-w-32 w-max max-w-[calc(100vw-16px)]": !0,
165
165
  "invisible pointer-events-none": V.value,
166
166
  [de.value ?? ""]: !0,
167
167
  [fe.value ?? ""]: !0,
168
- [c(B.value, "content") ?? ""]: !0
168
+ [g(B.value, "content") ?? ""]: !0
169
169
  })
170
170
  }));
171
- return s(P, (e) => {
171
+ return c(P, (e) => {
172
172
  if (e) {
173
173
  S.value = !0, i(() => {
174
- P.value && (j = d({
174
+ P.value && (j = re({
175
175
  id: x,
176
- requestClose: q
176
+ requestClose: J
177
177
  }));
178
- }), E = ie(), D = g({
178
+ }), E = u(), D = ie({
179
179
  order: E,
180
180
  onEscape: be,
181
181
  lockScroll: L.value.disableScrollLock !== !0
182
- }), C.value = D.id, N.value = D.zIndex, Q(), O = v(Q), i(() => {
182
+ }), C.value = D.id, N.value = D.zIndex, Q(), O = oe(Q), i(() => {
183
183
  X(), Z(), _e();
184
184
  });
185
185
  return;
186
186
  }
187
187
  $(), L.value.keepMounted || (S.value = !1);
188
- }, { immediate: !0 }), s([
188
+ }, { immediate: !0 }), c([
189
189
  P,
190
190
  () => y.anchorEl,
191
191
  () => L.value.offset,
@@ -195,11 +195,11 @@ function y(y, le, b = {}) {
195
195
  i(() => {
196
196
  X();
197
197
  });
198
- }), s([P, () => L.value.disableAutoFocus], () => {
198
+ }), c([P, () => L.value.disableAutoFocus], () => {
199
199
  i(() => {
200
200
  Z();
201
201
  });
202
- }), te(() => {
202
+ }), a(() => {
203
203
  $();
204
204
  }), {
205
205
  merged: L,
@@ -1,7 +1,7 @@
1
1
  import { mergePartBind as e, resolveVnodeRefElement as t, useBridgeUIComponent as ee, useBridgeUIMergedRegistryClasses as te } from "../../../Utils/index.js";
2
2
  import { computed as n, nextTick as r, onBeforeUnmount as ne, ref as i, toValue as re, useAttrs as a, watch as o } from "vue";
3
- import { get as s } from "es-toolkit/compat";
4
- import { LAYER_STACK_BASE_Z_INDEX as c, acquireLayerStackOrder as ie, cn as l, countModalTransitionLayers as u, createFocusTrap as d, getLayerStackEntry as f, getModalOverlayTransitionClass as p, getModalPanelTransitionClass as m, hasModalTransition as h, mergeBridgeUILayeredClasses as g, pushLayerStack as ae, resolveEffectiveModalTransition as _, splitComponentProps as oe, subscribeLayerStack as se } from "@bridge-ui/core";
3
+ import { LAYER_STACK_BASE_Z_INDEX as s, acquireLayerStackOrder as ie, cn as c, countModalTransitionLayers as ae, createFocusTrap as l, getLayerStackEntry as u, getModalOverlayTransitionClass as d, getModalPanelTransitionClass as f, hasModalTransition as p, mergeBridgeUILayeredClasses as m, pushLayerStack as h, resolveEffectiveModalTransition as oe, splitComponentProps as g, subscribeLayerStack as se } from "@bridge-ui/core";
4
+ import { get as _ } from "es-toolkit/compat";
5
5
  import { isModalBackdropClick as ce } from "@bridge-ui/core/Utils";
6
6
  import { alignProps as v, blurProps as y, sizeProps as b } from "@bridge-ui/core/Tokens/Modal";
7
7
  //#region src/Components/Modal/composables/useModal.ts
@@ -26,11 +26,11 @@ var le = [
26
26
  "disableRestoreFocus"
27
27
  ];
28
28
  function x(x, ue, S = {}) {
29
- let de = a(), C = i(!1), w = i(!1), T = i(""), E = i(null), D = 0, O = null, k = null, A = null, j = null, M = i(c), N = i("closed"), P = n(() => re(S.show ?? !1));
29
+ let de = a(), C = i(!1), w = i(!1), T = i(""), E = i(null), D = 0, O = null, k = null, A = null, j = null, M = i(s), N = i("closed"), P = n(() => re(S.show ?? !1));
30
30
  function F(e) {
31
31
  e || S.onClose?.(), S.show && (S.show.value = e), S.onShowChange?.(e);
32
32
  }
33
- let I = n(() => oe({
33
+ let I = n(() => g({
34
34
  bridgeKeys: le,
35
35
  props: {
36
36
  ...de,
@@ -43,42 +43,42 @@ function x(x, ue, S = {}) {
43
43
  }), z = n(() => L.value.customProps), B = te({
44
44
  entry: R,
45
45
  props: () => I.value.componentProps
46
- }), V = n(() => _(L.value.transition ?? "none")), H = n(() => h(V.value)), U = n(() => L.value.scroll ?? "body"), W = n(() => L.value.keepMounted && !w.value), fe = n(() => s(g(v, R.value?.tokens?.align), L.value.align)), pe = n(() => s(g(y, R.value?.tokens?.blur), L.value.blur)), me = n(() => s(g(b, R.value?.tokens?.size), L.value.size)), he = n(() => p(V.value)), ge = n(() => m(V.value)), G = n(() => !L.value.persistent), _e = n(() => I.value.inheritedAttrs), ve = n(() => e(z.value?.root, _e.value, {
46
+ }), V = n(() => oe(L.value.transition ?? "none")), H = n(() => p(V.value)), U = n(() => L.value.scroll ?? "body"), W = n(() => L.value.keepMounted && !w.value), fe = n(() => _(m(v, R.value?.tokens?.align), L.value.align)), pe = n(() => _(m(y, R.value?.tokens?.blur), L.value.blur)), me = n(() => _(m(b, R.value?.tokens?.size), L.value.size)), he = n(() => d(V.value)), ge = n(() => f(V.value)), G = n(() => !L.value.persistent), _e = n(() => I.value.inheritedAttrs), ve = n(() => e(z.value?.root, _e.value, {
47
47
  onTransitionend: we,
48
48
  style: { zIndex: M.value },
49
49
  "aria-hidden": W.value ? !0 : void 0,
50
- class: l({
50
+ class: c({
51
51
  "fixed inset-0": !0,
52
52
  "overflow-y-auto": U.value === "body",
53
53
  "overflow-hidden": U.value === "paper",
54
54
  "invisible pointer-events-none": W.value,
55
- [s(B.value, "root") ?? ""]: !0
55
+ [_(B.value, "root") ?? ""]: !0
56
56
  })
57
57
  })), ye = n(() => e(z.value?.overlay, { onClick: Z }, {
58
58
  "data-modal-part": "overlay",
59
59
  "data-state": N.value,
60
- class: l({
60
+ class: c({
61
61
  "fixed inset-0 bg-black/50": !0,
62
62
  [pe.value ?? ""]: !0,
63
63
  [he.value]: H.value,
64
- [s(B.value, "overlay") ?? ""]: !0
64
+ [_(B.value, "overlay") ?? ""]: !0
65
65
  })
66
- })), be = n(() => e(z.value?.wrapper, { onClick: Q }, l({
66
+ })), be = n(() => e(z.value?.wrapper, { onClick: Q }, c({
67
67
  "flex min-h-full w-full transform p-4": !0,
68
68
  [fe.value ?? ""]: !0,
69
- [s(B.value, "wrapper") ?? ""]: !0
69
+ [_(B.value, "wrapper") ?? ""]: !0
70
70
  }))), xe = n(() => e(z.value?.panel, {
71
71
  role: "dialog",
72
72
  "aria-modal": !0
73
73
  }, {
74
74
  "data-modal-part": "panel",
75
75
  "data-state": N.value,
76
- class: l({
76
+ class: c({
77
77
  "relative w-full": !0,
78
78
  [me.value ?? ""]: !0,
79
79
  "max-h-[calc(100dvh-2rem)] overflow-y-auto": U.value === "paper",
80
80
  [ge.value]: H.value,
81
- [s(B.value, "panel") ?? ""]: !0
81
+ [_(B.value, "panel") ?? ""]: !0
82
82
  })
83
83
  }));
84
84
  function K() {
@@ -89,7 +89,7 @@ function x(x, ue, S = {}) {
89
89
  K();
90
90
  return;
91
91
  }
92
- K(), k = d({
92
+ K(), k = l({
93
93
  container: E.value,
94
94
  disableAutoFocus: !L.value.autoFocus,
95
95
  disableEnforceFocus: L.value.disableEnforceFocus,
@@ -107,7 +107,7 @@ function x(x, ue, S = {}) {
107
107
  J();
108
108
  return;
109
109
  }
110
- N.value = "closed", D = u(V.value, { hideBackdrop: L.value.hideBackdrop }), D === 0 && J();
110
+ N.value = "closed", D = ae(V.value, { hideBackdrop: L.value.hideBackdrop }), D === 0 && J();
111
111
  }
112
112
  function Ce() {
113
113
  if (!H.value) {
@@ -161,16 +161,16 @@ function x(x, ue, S = {}) {
161
161
  });
162
162
  });
163
163
  function $() {
164
- let e = f(T.value);
164
+ let e = u(T.value);
165
165
  e && (M.value = e.zIndex);
166
166
  }
167
167
  return o(w, (e) => {
168
- e ? (O = ie(), A = ae({
168
+ e ? (O = ie(), A = h({
169
169
  order: O,
170
170
  id: S.stackId,
171
171
  onEscape: Te,
172
172
  lockScroll: L.value.disableScrollLock !== !0
173
- }), T.value = A.id, M.value = A.zIndex, $(), j = se($)) : (j?.(), j = null, A?.release(), A = null, O = null, T.value = "", M.value = c);
173
+ }), T.value = A.id, M.value = A.zIndex, $(), j = se($)) : (j?.(), j = null, A?.release(), A = null, O = null, T.value = "", M.value = s);
174
174
  }, { immediate: !0 }), ne(() => {
175
175
  j?.(), j = null, K(), A?.release(), A = null;
176
176
  }), {
@@ -1,14 +1,14 @@
1
- import { useI18nAdapter as e } from "../../Adapters/I18n/useI18nAdapter.js";
1
+ import { useResolveMessage as e } from "../../Adapters/I18n/useI18nAdapter.js";
2
2
  import { useHoldRepeat as t } from "../../Utils/useHoldRepeat.js";
3
3
  import { mergePartBind as n, resolveFieldAdornmentIconSize as r } from "../../Utils/index.js";
4
4
  import i from "../Icon/Icon.js";
5
5
  import a from "../FormField/FormField.js";
6
6
  import { useNumberField as o } from "./composables/useNumberField.js";
7
7
  import { computed as s, createBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, guardReactiveProps as f, isRef as p, mergeModels as m, mergeProps as h, normalizeProps as g, openBlock as _, ref as v, unref as y, useModel as b, vModelDynamic as x, withCtx as S, withDirectives as C } from "vue";
8
- import { isUndefined as w } from "es-toolkit/compat";
9
- import { cn as T, resolveMessage as E } from "@bridge-ui/core";
8
+ import { cn as w } from "@bridge-ui/core";
9
+ import { isUndefined as T } from "es-toolkit/compat";
10
10
  //#region src/Components/NumberField/NumberField.vue?vue&type=script&setup=true&lang.ts
11
- var D = { class: "bridge-end-adornment flex h-full min-w-9 flex-col gap-px overflow-hidden" }, O = /* @__PURE__ */ d({
11
+ var E = { class: "bridge-end-adornment flex h-full min-w-9 flex-col gap-px overflow-hidden" }, D = /* @__PURE__ */ d({
12
12
  inheritAttrs: !1,
13
13
  __name: "NumberField",
14
14
  props: /* @__PURE__ */ m({
@@ -27,62 +27,62 @@ var D = { class: "bridge-end-adornment flex h-full min-w-9 flex-col gap-px overf
27
27
  error: { type: Boolean },
28
28
  errorIcon: {},
29
29
  errorMessage: {},
30
+ hideErrorMessage: { type: Boolean },
30
31
  label: {},
31
32
  readonly: { type: Boolean },
32
33
  required: { type: Boolean },
33
34
  rounded: {},
35
+ showErrorIcon: { type: Boolean },
34
36
  size: {},
35
37
  slots: {},
36
38
  start: {},
37
- variant: {},
38
- withErrorIcon: { type: Boolean },
39
- withoutErrorMessage: { type: Boolean }
39
+ variant: {}
40
40
  }, {
41
41
  modelValue: {},
42
42
  modelModifiers: {}
43
43
  }),
44
44
  emits: /* @__PURE__ */ m(["change", "update:modelValue"], ["update:modelValue"]),
45
45
  setup(d, { emit: m }) {
46
- let O = m, k = b(d, "modelValue"), A = d, j = v(A.defaultValue), M = s({
46
+ let D = m, O = b(d, "modelValue"), k = d, A = v(k.defaultValue), j = s({
47
47
  set: (e) => {
48
- k.value = e, j.value = e;
48
+ O.value = e, A.value = e;
49
49
  },
50
- get: () => w(k.value) ? j.value : k.value
51
- }), N = e(), { decrement: P, formField: F, increment: I, inputBind: L, stringModel: R, mergedClasses: z } = o(A, M, { onChange: (e) => O("change", e) }), B = t(() => I(), () => ({ disabled: A.disabled })), V = t(() => P(), () => ({ disabled: A.disabled })), H = s(() => r(A.size)), U = s(() => n(A.customProps?.increment, {
50
+ get: () => T(O.value) ? A.value : O.value
51
+ }), M = e(), { decrement: N, formField: P, increment: F, inputBind: I, stringModel: L, mergedClasses: R } = o(k, j, { onChange: (e) => D("change", e) }), z = t(() => F(), () => ({ disabled: k.disabled })), B = t(() => N(), () => ({ disabled: k.disabled })), V = s(() => r(k.size)), H = s(() => n(k.customProps?.increment, {
52
52
  type: "button",
53
- disabled: A.disabled,
53
+ disabled: k.disabled,
54
+ onClick: z.onPressClick,
55
+ onPointerup: z.onPressPointerUp,
56
+ onPointerdown: z.onPressPointerDown,
57
+ "aria-label": M("Increment value"),
58
+ onLostpointercapture: z.onPressLostPointerCapture
59
+ }, w({
60
+ "bridge-field-adornment-button inline-flex min-h-0 min-w-8 flex-1 items-center justify-center": !0,
61
+ [R.value.increment ?? ""]: !0
62
+ }))), U = s(() => n(k.customProps?.decrement, {
63
+ type: "button",
64
+ disabled: k.disabled,
54
65
  onClick: B.onPressClick,
55
66
  onPointerup: B.onPressPointerUp,
56
67
  onPointerdown: B.onPressPointerDown,
57
- "aria-label": E("Increment value", N.value),
68
+ "aria-label": M("Decrement value"),
58
69
  onLostpointercapture: B.onPressLostPointerCapture
59
- }, T({
60
- "bridge-field-adornment-button inline-flex min-h-0 min-w-8 flex-1 items-center justify-center": !0,
61
- [z.value.increment ?? ""]: !0
62
- }))), W = s(() => n(A.customProps?.decrement, {
63
- type: "button",
64
- disabled: A.disabled,
65
- onClick: V.onPressClick,
66
- onPointerup: V.onPressPointerUp,
67
- onPointerdown: V.onPressPointerDown,
68
- "aria-label": E("Decrement value", N.value),
69
- onLostpointercapture: V.onPressLostPointerCapture
70
- }, T({
70
+ }, w({
71
71
  "bridge-field-adornment-button inline-flex min-h-0 min-w-8 flex-1 items-center justify-center": !0,
72
- [z.value.decrement ?? ""]: !0
72
+ [R.value.decrement ?? ""]: !0
73
73
  })));
74
- return (e, t) => (_(), c(y(a), { field: y(F) }, {
75
- end: S(() => [l("div", D, [l("button", g(f(U.value)), [u(y(i), h({
74
+ return (e, t) => (_(), c(y(a), { field: y(P) }, {
75
+ end: S(() => [l("div", E, [l("button", g(f(H.value)), [u(y(i), h({
76
76
  icon: "chevronUp",
77
- size: H.value
78
- }, A.customProps?.incrementIcon), null, 16, ["size"])], 16), l("button", g(f(W.value)), [u(y(i), h({
77
+ size: V.value
78
+ }, k.customProps?.incrementIcon), null, 16, ["size"])], 16), l("button", g(f(U.value)), [u(y(i), h({
79
79
  icon: "chevronDown",
80
- size: H.value
81
- }, A.customProps?.decrementIcon), null, 16, ["size"])], 16)])]),
82
- default: S(() => [C(l("input", h({ "onUpdate:modelValue": t[0] ||= (e) => p(R) ? R.value = e : null }, y(L)), null, 16), [[x, y(R)]])]),
80
+ size: V.value
81
+ }, k.customProps?.decrementIcon), null, 16, ["size"])], 16)])]),
82
+ default: S(() => [C(l("input", h({ "onUpdate:modelValue": t[0] ||= (e) => p(L) ? L.value = e : null }, y(I)), null, 16), [[x, y(L)]])]),
83
83
  _: 1
84
84
  }, 8, ["field"]));
85
85
  }
86
86
  });
87
87
  //#endregion
88
- export { O as default };
88
+ export { D as default };