@povio/ui 4.0.2 → 4.0.4

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 (184) hide show
  1. package/README.md +5 -1
  2. package/dist/{Autocomplete-DE2lQi5o.d.ts → Autocomplete-CFJ8ro0I.d.ts} +1 -1
  3. package/dist/{BottomSheet-CVTF1wQe.js → BottomSheet-DKYJqaKC.js} +2 -2
  4. package/dist/{Breadcrumbs-BibAIBhY.js → Breadcrumbs-C-mZtdCc.js} +1 -1
  5. package/dist/{Button-CcZBqoQp.js → Button-YQIr25DP.js} +1 -1
  6. package/dist/{Calendar-kSEji28A.js → Calendar-D-07OtEr.js} +8 -137
  7. package/dist/{Checkbox-DBV_Nxtq.js → Checkbox-Dp6dSvU3.js} +1 -1
  8. package/dist/{DatePicker-BbdtBAGN.js → DatePicker-CmadsYcG.js} +13 -13
  9. package/dist/{DatePickerInput-eyHwzKPm.js → DatePickerInput-BFI-ZPDb.js} +9 -8
  10. package/dist/{DateRangePicker-Ct182qur.js → DateRangePicker-4fpEtrbb.js} +17 -187
  11. package/dist/{DateTimePicker-taYHMMYi.js → DateTimePicker-6ixOSPcA.js} +13 -13
  12. package/dist/{DropdownMenu-tuf1W-IL.js → DropdownMenu-e1MBg1w0.js} +1 -1
  13. package/dist/{FileInput-B-ADr0B3.js → FileInput-BYImQc3r.js} +3 -3
  14. package/dist/{FileUpload-3-4Vt4f1.js → FileUpload-BP1BIT9D.js} +3 -3
  15. package/dist/{Form-mzpVGNjX.d.ts → Form-opTIGQDc.d.ts} +1 -1
  16. package/dist/{FormField-CAcDJ4HC.js → FormField-DTO2cbXC.js} +1 -1
  17. package/dist/{FormFieldHeaderTooltip-C2IDI4ac.js → FormFieldHeaderTooltip-h6e5hq9V.js} +1 -1
  18. package/dist/{InlineTooltipWrapper-7HG-g2X3.js → InlineTooltipWrapper-Ct6zi24f.js} +1 -1
  19. package/dist/{InputItem-B3PlrjuD.js → InputItem-CljfmlvS.js} +11 -11
  20. package/dist/{Inputs-CHEDcuP0.d.ts → Inputs-ClUh3WON.d.ts} +1 -1
  21. package/dist/{Inputs-WZmrBWrL.js → Inputs-K83n37Fs.js} +1 -1
  22. package/dist/NumberFormatter-CLDS_LRZ.js +265 -0
  23. package/dist/{NumberRangeInput-X8G1zfNM.js → NumberRangeInput-DzAM2RIu.js} +7 -6
  24. package/dist/{PaginationList-CmOJo2r2.js → PaginationList-BsxtDg6w.js} +1 -1
  25. package/dist/{QuerySelect-Bpz-qI9h.d.ts → QuerySelect-CmnJWLol.d.ts} +2 -2
  26. package/dist/{RadioGroup-DW_OQQDu.js → RadioGroup-B12aDhAs.js} +2 -2
  27. package/dist/{RichTextEditor-BOTitK7E.js → RichTextEditor-DcmQtw8H.js} +4 -4
  28. package/dist/{Select-DmLkOMr1.js → Select-BkCBNUfr.js} +3 -3
  29. package/dist/{Select-wzB2aQ_X.d.ts → Select-CuvhVk-C.d.ts} +1 -1
  30. package/dist/{SelectBase-DefgAEzh.d.ts → SelectBase-K2ve5zo6.d.ts} +1 -0
  31. package/dist/{Slider-Q87Hg_V2.js → Slider-CCVCu1JN.js} +2 -2
  32. package/dist/{Switch-Cylpjatb.js → Switch-CdF3Zonl.js} +1 -1
  33. package/dist/{Tag-DNuHvt6J.js → Tag-CK5D4sLA.js} +1 -1
  34. package/dist/{TextArea-DZv6XaT0.js → TextArea-DIZ8Lv_P.js} +3 -3
  35. package/dist/{TimePicker-DAoHgk8U.js → TimePicker-CtjPqrmF.js} +11 -10
  36. package/dist/{ToastContainer-8X5jGBe7.js → ToastContainer-BEt6s7Ry.js} +2 -2
  37. package/dist/{ToggleGroup-Cho_oRZh.js → ToggleGroup-BK6Ka7WA.js} +5 -66
  38. package/dist/{Tooltip-D94a1IQl.js → Tooltip--PSxkQA3.js} +2 -2
  39. package/dist/{TooltipWrapper-S2JC-w4e.js → TooltipWrapper-DW1XJTV8.js} +2 -2
  40. package/dist/{autocomplete-CaQSVRrw.d.ts → autocomplete-C9xgSizP.d.ts} +2 -2
  41. package/dist/components/alert-dialog.js +2 -2
  42. package/dist/components/autocomplete.d.ts +1 -1
  43. package/dist/components/autocomplete.js +3 -3
  44. package/dist/components/badge.js +1 -1
  45. package/dist/components/bottom-sheet.js +1 -1
  46. package/dist/components/breadcrumbs.js +1 -1
  47. package/dist/components/button.js +1 -1
  48. package/dist/components/checkbox-group.js +3 -3
  49. package/dist/components/checkbox.js +1 -1
  50. package/dist/components/date-picker.js +1 -1
  51. package/dist/components/date-range-picker.js +1 -1
  52. package/dist/components/date-time-picker.js +1 -1
  53. package/dist/components/dropdown-menu.js +1 -1
  54. package/dist/components/file-input.js +1 -1
  55. package/dist/components/file-upload-container.js +1 -1
  56. package/dist/components/file-upload.js +1 -1
  57. package/dist/components/form-field.js +1 -1
  58. package/dist/components/icon-button.js +2 -2
  59. package/dist/components/inline-icon-button.js +1 -1
  60. package/dist/components/input.js +5 -5
  61. package/dist/components/number-field.js +8 -7
  62. package/dist/components/number-range-input.js +1 -1
  63. package/dist/components/pagination-list.js +1 -1
  64. package/dist/components/pagination.js +1 -1
  65. package/dist/components/popover.js +1 -1
  66. package/dist/components/query-autocomplete.d.ts +2 -2
  67. package/dist/components/query-autocomplete.js +10 -5
  68. package/dist/components/query-select.d.ts +1 -1
  69. package/dist/components/query-select.js +3 -3
  70. package/dist/components/radio-group.js +1 -1
  71. package/dist/components/select.d.ts +2 -2
  72. package/dist/components/select.js +1 -1
  73. package/dist/components/slider.js +1 -1
  74. package/dist/components/split-button.js +2 -2
  75. package/dist/components/switch.js +1 -1
  76. package/dist/components/tag.js +1 -1
  77. package/dist/components/text-area.js +1 -1
  78. package/dist/components/text-button.js +1 -1
  79. package/dist/components/time-picker.js +1 -1
  80. package/dist/components/toast.js +2 -2
  81. package/dist/components/toggle-button.js +1 -1
  82. package/dist/components/toggle-group.js +1 -1
  83. package/dist/components/tooltip-ellipsis.js +1 -1
  84. package/dist/components/tooltip.js +1 -1
  85. package/dist/components/use-toast.js +2 -2
  86. package/dist/config/ui-config.d.ts +1 -1
  87. package/dist/config/ui-config.js +1 -1
  88. package/dist/config/ui-router.js +1 -1
  89. package/dist/{datePickerValue.utils-GADbSu7a.js → datePickerValue.utils-B8aSxcsT.js} +6 -6
  90. package/dist/{dist-C6GfeeEC.js → dist-CK54f1eE.js} +2 -2
  91. package/dist/{dom.utils-D3mELNBA.js → dom.utils-CkZXhqc2.js} +1 -1
  92. package/dist/{dynamicInputs-CQMTixlW.d.ts → dynamicInputs-Wa3FdsbA.d.ts} +15 -15
  93. package/dist/{fieldAdapter-BYVPxvYi.js → fieldAdapter-B5-U5PYX.js} +1 -1
  94. package/dist/hooks/use-filters.js +1 -1
  95. package/dist/index.d.ts +9 -9
  96. package/dist/index.js +26 -26
  97. package/dist/numberStatic.utils-BX50PSee.js +421 -0
  98. package/dist/{query-autocomplete-DV8fEkK2.d.ts → query-autocomplete-DfhSserb.d.ts} +2 -2
  99. package/dist/{query-select-BZ3-5WTu.d.ts → query-select-C6Onz6pF.d.ts} +2 -2
  100. package/dist/{queryAutocomplete.types-Dm8Ttx4v.d.ts → queryAutocomplete.types-DS9H0Boa.d.ts} +2 -2
  101. package/dist/rhf/autocomplete.d.ts +2 -2
  102. package/dist/rhf/autocomplete.js +1 -1
  103. package/dist/rhf/checkbox-group.js +1 -1
  104. package/dist/rhf/checkbox.js +2 -2
  105. package/dist/rhf/date-picker.js +2 -2
  106. package/dist/rhf/date-range-picker.js +2 -2
  107. package/dist/rhf/date-time-picker.js +2 -2
  108. package/dist/rhf/file-input.js +2 -2
  109. package/dist/rhf/file-upload.js +2 -2
  110. package/dist/rhf/input.js +1 -1
  111. package/dist/rhf/inputs.d.ts +1 -1
  112. package/dist/rhf/number-field.js +1 -1
  113. package/dist/rhf/number-range-input.js +2 -2
  114. package/dist/rhf/password-input.js +1 -1
  115. package/dist/rhf/query-autocomplete.d.ts +1 -1
  116. package/dist/rhf/query-autocomplete.js +1 -1
  117. package/dist/rhf/query-select.d.ts +1 -1
  118. package/dist/rhf/query-select.js +1 -1
  119. package/dist/rhf/radio-group.js +2 -2
  120. package/dist/rhf/rich-text-editor.js +2 -2
  121. package/dist/rhf/select.d.ts +2 -2
  122. package/dist/rhf/select.js +2 -2
  123. package/dist/rhf/slider.js +2 -2
  124. package/dist/rhf/switch.js +2 -2
  125. package/dist/rhf/text-area.js +2 -2
  126. package/dist/rhf/time-picker.js +2 -2
  127. package/dist/rhf/toggle-group.js +2 -2
  128. package/dist/{rhf-1_ZO8GhU.js → rhf-__WYbcIJ.js} +1 -1
  129. package/dist/rhf.d.ts +9 -9
  130. package/dist/rhf.js +26 -26
  131. package/dist/rich-text-editor.js +1 -1
  132. package/dist/{router.context-B0jTMtE0.js → router.context-B4FvsTim.js} +2 -2
  133. package/dist/{select-DXGbGkZM.d.ts → select-y1GPTzpH.d.ts} +2 -2
  134. package/dist/staticDateTimeSegments-DzKcCK-Y.js +1763 -0
  135. package/dist/{staticSelect.utils-ad60elvT.js → staticSelect.utils-DWf8KbFx.js} +10 -147
  136. package/dist/tanstack/autocomplete.d.ts +1 -1
  137. package/dist/tanstack/checkbox.js +1 -1
  138. package/dist/tanstack/date-picker.js +1 -1
  139. package/dist/tanstack/date-range-picker.js +1 -1
  140. package/dist/tanstack/date-time-picker.js +1 -1
  141. package/dist/tanstack/file-input.js +1 -1
  142. package/dist/tanstack/file-upload.js +1 -1
  143. package/dist/tanstack/form.d.ts +1 -1
  144. package/dist/tanstack/form.js +1 -1
  145. package/dist/tanstack/inputs.d.ts +2 -2
  146. package/dist/tanstack/inputs.js +1 -1
  147. package/dist/tanstack/number-range-input.js +1 -1
  148. package/dist/tanstack/query-select.d.ts +1 -1
  149. package/dist/tanstack/radio-group.js +1 -1
  150. package/dist/tanstack/rich-text-editor.js +1 -1
  151. package/dist/tanstack/select.d.ts +1 -1
  152. package/dist/tanstack/select.js +1 -1
  153. package/dist/tanstack/slider.js +1 -1
  154. package/dist/tanstack/switch.js +1 -1
  155. package/dist/tanstack/table.js +1 -1
  156. package/dist/tanstack/text-area.js +1 -1
  157. package/dist/tanstack/time-picker.js +1 -1
  158. package/dist/tanstack/toggle-group.js +1 -1
  159. package/dist/tanstack.d.ts +8 -8
  160. package/dist/tanstack.js +35 -35
  161. package/dist/{toast.runtime-QMYrNvoQ.js → toast.runtime-D18cXIrS.js} +1 -1
  162. package/dist/{uiConfig.context-CIoMqe1_.d.ts → uiConfig.context-DQIA0LtD.d.ts} +1 -0
  163. package/dist/{uiConfig.context-RFvaQYzD.js → uiConfig.context-Dpgiuhxx.js} +1 -0
  164. package/dist/{useBreakpoint-3kpqzjoC.js → useBreakpoint-BnKj4HZ3.js} +1 -1
  165. package/dist/useControlledState-CzXkZCX8.js +30 -0
  166. package/dist/{useFieldAccessibility-CtTdRX2u.js → useFieldAccessibility-DuTAzJ17.js} +2 -2
  167. package/dist/{useFilters-kkEUFKmQ.js → useFilters-XNH27Md2.js} +1 -1
  168. package/dist/{useFormAutosave-DqP6lB4l.js → useFormAutosave-DWSqAgMS.js} +2 -2
  169. package/dist/{useStaticInputHandoff-BAaDW_0z.js → useStaticInputHandoff-C26sYbs1.js} +3 -3
  170. package/dist/{useTableColumnConfig-DVI_jVHz.js → useTableColumnConfig-ClhWUCBv.js} +3 -3
  171. package/package.json +1 -3
  172. package/dist/FocusScope-CO9oJ1sc.js +0 -343
  173. package/dist/chain-DIXr2VAT.js +0 -10
  174. package/dist/focusSafely-DCGrr2bb.js +0 -447
  175. package/dist/getScrollParent-kSR7EtoT.js +0 -47
  176. package/dist/numberStatic.utils-BMgRzyd3.js +0 -902
  177. package/dist/openLink-CQhMhfzO.js +0 -121
  178. package/dist/platform-BXNIIAfU.js +0 -42
  179. package/dist/staticDateTimeSegments-BQoA94W-.js +0 -3603
  180. package/dist/useControlledState-DQxX6LMN.js +0 -189
  181. package/dist/useFocusable-Bd0UsrQ7.js +0 -63
  182. package/dist/useFormValidationState-D3z-gafz.js +0 -1341
  183. package/dist/useLayoutEffect-B2-1tbPJ.js +0 -83
  184. package/dist/useSyncRef-RGMv0rXK.js +0 -338
@@ -0,0 +1,421 @@
1
+ import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
2
+ import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, t as $1dfb119a85e764e5$export$cc77c4ff7e8673c5 } from "./NumberFormatter-CLDS_LRZ.js";
3
+ import { useCallback, useMemo, useState } from "react";
4
+ //#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/utils/number.mjs
5
+ /**
6
+ * Takes a value and forces it to the closest min/max if it's outside. Also forces it to the closest
7
+ * valid step.
8
+ */ function $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, min = -Infinity, max = Infinity) {
9
+ return Math.min(Math.max(value, min), max);
10
+ }
11
+ function $240e9101ba2842f5$export$e1a7b8e69ef6c52f(value, step) {
12
+ let roundedValue = value;
13
+ let precision = 0;
14
+ let stepString = step.toString();
15
+ let eIndex = stepString.toLowerCase().indexOf("e-");
16
+ if (eIndex > 0) precision = Math.abs(Math.floor(Math.log10(Math.abs(step)))) + eIndex;
17
+ else {
18
+ let pointIndex = stepString.indexOf(".");
19
+ if (pointIndex >= 0) precision = stepString.length - pointIndex;
20
+ }
21
+ if (precision > 0) {
22
+ let pow = Math.pow(10, precision);
23
+ roundedValue = Math.round(roundedValue * pow) / pow;
24
+ }
25
+ return roundedValue;
26
+ }
27
+ function $240e9101ba2842f5$export$cb6e0bb50bc19463(value, min, max, step) {
28
+ min = Number(min);
29
+ max = Number(max);
30
+ let remainder = (value - (isNaN(min) ? 0 : min)) % step;
31
+ let snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(Math.abs(remainder) * 2 >= step ? value + Math.sign(remainder) * (step - Math.abs(remainder)) : value - remainder, step);
32
+ if (!isNaN(min)) {
33
+ if (snappedValue < min) snappedValue = min;
34
+ else if (!isNaN(max) && snappedValue > max) snappedValue = min + Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f((max - min) / step, step)) * step;
35
+ } else if (!isNaN(max) && snappedValue > max) snappedValue = Math.floor($240e9101ba2842f5$export$e1a7b8e69ef6c52f(max / step, step)) * step;
36
+ snappedValue = $240e9101ba2842f5$export$e1a7b8e69ef6c52f(snappedValue, step);
37
+ return snappedValue;
38
+ }
39
+ //#endregion
40
+ //#region ../../node_modules/.bun/@internationalized+number@3.6.8/node_modules/@internationalized/number/dist/private/NumberParser.mjs
41
+ const $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX = /* @__PURE__ */ new RegExp("^.*\\(.*\\).*$");
42
+ const $eb76cf4feb040f77$var$NUMBERING_SYSTEMS = [
43
+ "latn",
44
+ "arab",
45
+ "hanidec",
46
+ "deva",
47
+ "beng",
48
+ "fullwide"
49
+ ];
50
+ var $eb76cf4feb040f77$export$cd11ab140839f11d = class {
51
+ constructor(locale, options = {}) {
52
+ this.locale = locale;
53
+ this.options = options;
54
+ }
55
+ /**
56
+ * Parses the given string to a number. Returns NaN if a valid number could not be parsed.
57
+ */ parse(value) {
58
+ return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).parse(value);
59
+ }
60
+ /**
61
+ * Returns whether the given string could potentially be a valid number. This should be used to
62
+ * validate user input as the user types. If a `minValue` or `maxValue` is provided, the validity
63
+ * of the minus/plus sign characters can be checked.
64
+ */ isValidPartialNumber(value, minValue, maxValue) {
65
+ return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).isValidPartialNumber(value, minValue, maxValue);
66
+ }
67
+ /**
68
+ * Returns a numbering system for which the given string is valid in the current locale.
69
+ * If no numbering system could be detected, the default numbering system for the current
70
+ * locale is returned.
71
+ */ getNumberingSystem(value) {
72
+ return $eb76cf4feb040f77$var$getNumberParserImpl(this.locale, this.options, value).options.numberingSystem;
73
+ }
74
+ };
75
+ const $eb76cf4feb040f77$var$numberParserCache = /* @__PURE__ */ new Map();
76
+ function $eb76cf4feb040f77$var$getNumberParserImpl(locale, options, value) {
77
+ let defaultParser = $eb76cf4feb040f77$var$getCachedNumberParser(locale, options);
78
+ if (!locale.includes("-nu-") && !defaultParser.isValidPartialNumber(value)) {
79
+ for (let numberingSystem of $eb76cf4feb040f77$var$NUMBERING_SYSTEMS) if (numberingSystem !== defaultParser.options.numberingSystem) {
80
+ let parser = $eb76cf4feb040f77$var$getCachedNumberParser(locale + (locale.includes("-u-") ? "-nu-" : "-u-nu-") + numberingSystem, options);
81
+ if (parser.isValidPartialNumber(value)) return parser;
82
+ }
83
+ }
84
+ return defaultParser;
85
+ }
86
+ function $eb76cf4feb040f77$var$getCachedNumberParser(locale, options) {
87
+ let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
88
+ let parser = $eb76cf4feb040f77$var$numberParserCache.get(cacheKey);
89
+ if (!parser) {
90
+ parser = new $eb76cf4feb040f77$var$NumberParserImpl(locale, options);
91
+ $eb76cf4feb040f77$var$numberParserCache.set(cacheKey, parser);
92
+ }
93
+ return parser;
94
+ }
95
+ var $eb76cf4feb040f77$var$NumberParserImpl = class {
96
+ constructor(locale, options = {}) {
97
+ this.locale = locale;
98
+ if (options.roundingIncrement !== 1 && options.roundingIncrement != null) {
99
+ if (options.maximumFractionDigits == null && options.minimumFractionDigits == null) {
100
+ options.maximumFractionDigits = 0;
101
+ options.minimumFractionDigits = 0;
102
+ } else if (options.maximumFractionDigits == null) options.maximumFractionDigits = options.minimumFractionDigits;
103
+ else if (options.minimumFractionDigits == null) options.minimumFractionDigits = options.maximumFractionDigits;
104
+ }
105
+ this.formatter = new Intl.NumberFormat(locale, options);
106
+ this.options = this.formatter.resolvedOptions();
107
+ this.symbols = $eb76cf4feb040f77$var$getSymbols(locale, this.formatter, this.options, options);
108
+ if (this.options.style === "percent" && ((this.options.minimumFractionDigits ?? 0) > 18 || (this.options.maximumFractionDigits ?? 0) > 18)) console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.");
109
+ }
110
+ parse(value) {
111
+ let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
112
+ let fullySanitizedValue = this.sanitize(value);
113
+ if (!isGroupSymbolAllowed && this.symbols.group && fullySanitizedValue.includes(this.symbols.group)) return NaN;
114
+ else if (this.symbols.group) fullySanitizedValue = fullySanitizedValue.replaceAll(this.symbols.group, "");
115
+ if (this.symbols.decimal) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.decimal, ".");
116
+ if (this.symbols.minusSign) fullySanitizedValue = fullySanitizedValue.replace(this.symbols.minusSign, "-");
117
+ fullySanitizedValue = fullySanitizedValue.replace(this.symbols.numeral, this.symbols.index);
118
+ if (this.options.style === "percent") {
119
+ let isNegative = fullySanitizedValue.indexOf("-");
120
+ fullySanitizedValue = fullySanitizedValue.replace("-", "");
121
+ fullySanitizedValue = fullySanitizedValue.replace("+", "");
122
+ let index = fullySanitizedValue.indexOf(".");
123
+ if (index === -1) index = fullySanitizedValue.length;
124
+ fullySanitizedValue = fullySanitizedValue.replace(".", "");
125
+ if (index - 2 === 0) fullySanitizedValue = `0.${fullySanitizedValue}`;
126
+ else if (index - 2 === -1) fullySanitizedValue = `0.0${fullySanitizedValue}`;
127
+ else if (index - 2 === -2) fullySanitizedValue = "0.00";
128
+ else fullySanitizedValue = `${fullySanitizedValue.slice(0, index - 2)}.${fullySanitizedValue.slice(index - 2)}`;
129
+ if (isNegative > -1) fullySanitizedValue = `-${fullySanitizedValue}`;
130
+ }
131
+ let newValue = fullySanitizedValue ? +fullySanitizedValue : NaN;
132
+ if (isNaN(newValue)) return NaN;
133
+ if (this.options.style === "percent") {
134
+ let options = {
135
+ ...this.options,
136
+ style: "decimal",
137
+ minimumFractionDigits: Math.min((this.options.minimumFractionDigits ?? 0) + 2, 20),
138
+ maximumFractionDigits: Math.min((this.options.maximumFractionDigits ?? 0) + 2, 20)
139
+ };
140
+ return new $eb76cf4feb040f77$export$cd11ab140839f11d(this.locale, options).parse(new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(this.locale, options).format(newValue));
141
+ }
142
+ if (this.options.currencySign === "accounting" && $eb76cf4feb040f77$var$CURRENCY_SIGN_REGEX.test(value)) newValue = -1 * newValue;
143
+ return newValue;
144
+ }
145
+ sanitize(value) {
146
+ let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
147
+ if (this.symbols.noNumeralUnits.length > 0 && this.symbols.noNumeralUnits.find((obj) => obj.unit === value)) return this.symbols.noNumeralUnits.find((obj) => obj.unit === value).value.toString();
148
+ value = value.replace(this.symbols.literals, "");
149
+ if (this.symbols.minusSign) value = value.replace("-", this.symbols.minusSign);
150
+ if (this.options.numberingSystem === "arab") {
151
+ if (this.symbols.decimal) {
152
+ value = $eb76cf4feb040f77$var$replaceAll(value, ",", this.symbols.decimal);
153
+ value = $eb76cf4feb040f77$var$replaceAll(value, String.fromCharCode(1548), this.symbols.decimal);
154
+ }
155
+ if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, ".", this.symbols.group);
156
+ }
157
+ if (this.symbols.group === "’" && value.includes("'") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "'", this.symbols.group);
158
+ if (this.symbols.group === "'" && value.includes("’") && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, "’", this.symbols.group);
159
+ if (this.options.locale === "fr-FR" && this.symbols.group && isGroupSymbolAllowed) {
160
+ value = $eb76cf4feb040f77$var$replaceAll(value, " ", this.symbols.group);
161
+ value = $eb76cf4feb040f77$var$replaceAll(value, /\u00A0/g, this.symbols.group);
162
+ }
163
+ return value;
164
+ }
165
+ isValidPartialNumber(value, minValue = -Infinity, maxValue = Infinity) {
166
+ let isGroupSymbolAllowed = this.formatter.resolvedOptions().useGrouping;
167
+ value = this.sanitize(value);
168
+ if (this.symbols.minusSign && value.startsWith(this.symbols.minusSign) && minValue < 0) value = value.slice(this.symbols.minusSign.length);
169
+ else if (this.symbols.plusSign && value.startsWith(this.symbols.plusSign) && maxValue > 0) value = value.slice(this.symbols.plusSign.length);
170
+ if (this.symbols.decimal && value.indexOf(this.symbols.decimal) > -1 && this.options.maximumFractionDigits === 0) return false;
171
+ if (this.symbols.group && isGroupSymbolAllowed) value = $eb76cf4feb040f77$var$replaceAll(value, this.symbols.group, "");
172
+ value = value.replace(this.symbols.numeral, "");
173
+ if (this.symbols.decimal) value = value.replace(this.symbols.decimal, "");
174
+ return value.length === 0;
175
+ }
176
+ };
177
+ const $eb76cf4feb040f77$var$nonLiteralParts = /* @__PURE__ */ new Set([
178
+ "decimal",
179
+ "fraction",
180
+ "integer",
181
+ "minusSign",
182
+ "plusSign",
183
+ "group"
184
+ ]);
185
+ const $eb76cf4feb040f77$var$pluralNumbers = [
186
+ 0,
187
+ 4,
188
+ 2,
189
+ 1,
190
+ 11,
191
+ 20,
192
+ 3,
193
+ 7,
194
+ 100,
195
+ 21,
196
+ .1,
197
+ 1.1
198
+ ];
199
+ function $eb76cf4feb040f77$var$getSymbols(locale, formatter, intlOptions, originalOptions) {
200
+ let symbolFormatter = new Intl.NumberFormat(locale, {
201
+ ...intlOptions,
202
+ minimumSignificantDigits: 1,
203
+ maximumSignificantDigits: 21,
204
+ roundingIncrement: 1,
205
+ roundingPriority: "auto",
206
+ roundingMode: "halfExpand",
207
+ useGrouping: true
208
+ });
209
+ let allParts = symbolFormatter.formatToParts(-10000.111);
210
+ let posAllParts = symbolFormatter.formatToParts(10000.111);
211
+ let pluralParts = $eb76cf4feb040f77$var$pluralNumbers.map((n) => symbolFormatter.formatToParts(n));
212
+ let noNumeralUnits = pluralParts.map((p, i) => {
213
+ let unit = p.find((p) => p.type === "unit");
214
+ if (unit && !p.some((p) => p.type === "integer" || p.type === "fraction")) return {
215
+ unit: unit.value,
216
+ value: $eb76cf4feb040f77$var$pluralNumbers[i]
217
+ };
218
+ return null;
219
+ }).filter((p) => !!p);
220
+ let minusSign = allParts.find((p) => p.type === "minusSign")?.value ?? "-";
221
+ let plusSign = posAllParts.find((p) => p.type === "plusSign")?.value;
222
+ if (!plusSign && (originalOptions?.signDisplay === "exceptZero" || originalOptions?.signDisplay === "always")) plusSign = "+";
223
+ let decimal = new Intl.NumberFormat(locale, {
224
+ ...intlOptions,
225
+ minimumFractionDigits: 2,
226
+ maximumFractionDigits: 2
227
+ }).formatToParts(.001).find((p) => p.type === "decimal")?.value;
228
+ let group = allParts.find((p) => p.type === "group")?.value;
229
+ let allPartsLiterals = allParts.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value));
230
+ let pluralPartsLiterals = pluralParts.flatMap((p) => p.filter((p) => !$eb76cf4feb040f77$var$nonLiteralParts.has(p.type)).map((p) => $eb76cf4feb040f77$var$escapeRegex(p.value)));
231
+ let sortedLiterals = [.../* @__PURE__ */ new Set([...allPartsLiterals, ...pluralPartsLiterals])].sort((a, b) => b.length - a.length);
232
+ let literals = sortedLiterals.length === 0 ? /* @__PURE__ */ new RegExp("\\p{White_Space}|\\p{Cf}", "gu") : new RegExp(`${sortedLiterals.join("|")}|\\p{White_Space}|\\p{Cf}`, "gu");
233
+ let numerals = [...new Intl.NumberFormat(intlOptions.locale, { useGrouping: false }).format(9876543210)].reverse();
234
+ let indexes = new Map(numerals.map((d, i) => [d, i]));
235
+ let numeral = new RegExp(`[${numerals.join("")}]`, "g");
236
+ let index = (d) => String(indexes.get(d));
237
+ return {
238
+ minusSign,
239
+ plusSign,
240
+ decimal,
241
+ group,
242
+ literals,
243
+ numeral,
244
+ numerals,
245
+ index,
246
+ noNumeralUnits
247
+ };
248
+ }
249
+ function $eb76cf4feb040f77$var$replaceAll(str, find, replace) {
250
+ if (str.replaceAll) return str.replaceAll(find, replace);
251
+ return str.split(find).join(replace);
252
+ }
253
+ function $eb76cf4feb040f77$var$escapeRegex(string) {
254
+ return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
255
+ }
256
+ //#endregion
257
+ //#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/numberfield/useNumberFieldState.mjs
258
+ function $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c(props) {
259
+ let { minValue, maxValue, step, formatOptions, value, defaultValue = NaN, onChange, locale, isDisabled, isReadOnly, commitBehavior = "snap" } = props;
260
+ if (value === null) value = NaN;
261
+ let snapValue = useCallback((value) => {
262
+ return step === void 0 || isNaN(step) ? $240e9101ba2842f5$export$7d15b64cf5a3a4c4(value, minValue, maxValue) : $240e9101ba2842f5$export$cb6e0bb50bc19463(value, minValue, maxValue, step);
263
+ }, [
264
+ step,
265
+ minValue,
266
+ maxValue
267
+ ]);
268
+ if (value !== void 0 && !isNaN(value) && commitBehavior === "snap") value = snapValue(value);
269
+ if (!isNaN(defaultValue) && commitBehavior === "snap") defaultValue = snapValue(defaultValue);
270
+ let [numberValue, setNumberValue] = $3e6197669829fe11$export$40bfa8c7b0832715(value, isNaN(defaultValue) ? NaN : defaultValue, onChange);
271
+ let [initialValue] = useState(numberValue);
272
+ let [inputValue, setInputValue] = useState(() => isNaN(numberValue) ? "" : new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, formatOptions).format(numberValue));
273
+ let numberParser = useMemo(() => new $eb76cf4feb040f77$export$cd11ab140839f11d(locale, formatOptions), [locale, formatOptions]);
274
+ let numberingSystem = useMemo(() => numberParser.getNumberingSystem(inputValue), [numberParser, inputValue]);
275
+ let formatter = useMemo(() => new $1dfb119a85e764e5$export$cc77c4ff7e8673c5(locale, {
276
+ ...formatOptions,
277
+ numberingSystem
278
+ }), [
279
+ locale,
280
+ formatOptions,
281
+ numberingSystem
282
+ ]);
283
+ let intlOptions = useMemo(() => formatter.resolvedOptions(), [formatter]);
284
+ let format = useCallback((value) => isNaN(value) || value === null ? "" : formatter.format(value), [formatter]);
285
+ let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
286
+ ...props,
287
+ value: numberValue
288
+ });
289
+ let clampStep = step !== void 0 && !isNaN(step) ? step : 1;
290
+ if (intlOptions.style === "percent" && (step === void 0 || isNaN(step))) clampStep = .01;
291
+ let [prevValue, setPrevValue] = useState(numberValue);
292
+ let [prevLocale, setPrevLocale] = useState(locale);
293
+ let [prevFormatOptions, setPrevFormatOptions] = useState(formatOptions);
294
+ if (!Object.is(numberValue, prevValue) || locale !== prevLocale || !$3d0ee518c6f3d04f$var$isEqualFormatOptions(formatOptions, prevFormatOptions)) {
295
+ setInputValue(format(numberValue));
296
+ setPrevValue(numberValue);
297
+ setPrevLocale(locale);
298
+ setPrevFormatOptions(formatOptions);
299
+ }
300
+ let parsedValue = useMemo(() => numberParser.parse(inputValue), [numberParser, inputValue]);
301
+ let commit = (overrideValue) => {
302
+ let newInputValue = overrideValue === void 0 ? inputValue : overrideValue;
303
+ let newParsedValue = parsedValue;
304
+ if (overrideValue !== void 0) newParsedValue = numberParser.parse(newInputValue);
305
+ if (!newInputValue.length) {
306
+ setNumberValue(NaN);
307
+ setInputValue(value === void 0 ? "" : format(numberValue));
308
+ return;
309
+ }
310
+ if (isNaN(newParsedValue)) {
311
+ setInputValue(format(numberValue));
312
+ return;
313
+ }
314
+ let clampedValue = commitBehavior === "snap" ? snapValue(newParsedValue) : newParsedValue;
315
+ clampedValue = numberParser.parse(format(clampedValue));
316
+ let shouldValidate = clampedValue !== numberValue;
317
+ setNumberValue(clampedValue);
318
+ setInputValue(format(value === void 0 ? clampedValue : numberValue));
319
+ if (shouldValidate) validation.commitValidation();
320
+ };
321
+ let safeNextStep = (operation, minMax = 0) => {
322
+ let prev = parsedValue;
323
+ if (isNaN(prev)) return $240e9101ba2842f5$export$cb6e0bb50bc19463(isNaN(minMax) ? 0 : minMax, minValue, maxValue, clampStep);
324
+ else {
325
+ let newValue = $240e9101ba2842f5$export$cb6e0bb50bc19463(prev, minValue, maxValue, clampStep);
326
+ if (operation === "+" && newValue > prev || operation === "-" && newValue < prev) return newValue;
327
+ return $240e9101ba2842f5$export$cb6e0bb50bc19463($3d0ee518c6f3d04f$var$handleDecimalOperation(operation, prev, clampStep), minValue, maxValue, clampStep);
328
+ }
329
+ };
330
+ let increment = () => {
331
+ let newValue = safeNextStep("+", minValue);
332
+ if (newValue === numberValue) setInputValue(format(newValue));
333
+ setNumberValue(newValue);
334
+ validation.commitValidation();
335
+ };
336
+ let decrement = () => {
337
+ let newValue = safeNextStep("-", maxValue);
338
+ if (newValue === numberValue) setInputValue(format(newValue));
339
+ setNumberValue(newValue);
340
+ validation.commitValidation();
341
+ };
342
+ let incrementToMax = () => {
343
+ if (maxValue != null) {
344
+ setNumberValue($240e9101ba2842f5$export$cb6e0bb50bc19463(maxValue, minValue, maxValue, clampStep));
345
+ validation.commitValidation();
346
+ }
347
+ };
348
+ let decrementToMin = () => {
349
+ if (minValue != null) {
350
+ setNumberValue(minValue);
351
+ validation.commitValidation();
352
+ }
353
+ };
354
+ let canIncrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || maxValue === void 0 || isNaN(maxValue) || $240e9101ba2842f5$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) > parsedValue || $3d0ee518c6f3d04f$var$handleDecimalOperation("+", parsedValue, clampStep) <= maxValue), [
355
+ isDisabled,
356
+ isReadOnly,
357
+ minValue,
358
+ maxValue,
359
+ clampStep,
360
+ parsedValue
361
+ ]);
362
+ let canDecrement = useMemo(() => !isDisabled && !isReadOnly && (isNaN(parsedValue) || minValue === void 0 || isNaN(minValue) || $240e9101ba2842f5$export$cb6e0bb50bc19463(parsedValue, minValue, maxValue, clampStep) < parsedValue || $3d0ee518c6f3d04f$var$handleDecimalOperation("-", parsedValue, clampStep) >= minValue), [
363
+ isDisabled,
364
+ isReadOnly,
365
+ minValue,
366
+ maxValue,
367
+ clampStep,
368
+ parsedValue
369
+ ]);
370
+ let validate = (value) => numberParser.isValidPartialNumber(value, minValue, maxValue);
371
+ return {
372
+ ...validation,
373
+ validate,
374
+ increment,
375
+ incrementToMax,
376
+ decrement,
377
+ decrementToMin,
378
+ canIncrement,
379
+ canDecrement,
380
+ minValue,
381
+ maxValue,
382
+ numberValue: parsedValue,
383
+ defaultNumberValue: isNaN(defaultValue) ? initialValue : defaultValue,
384
+ setNumberValue,
385
+ setInputValue,
386
+ inputValue,
387
+ commit
388
+ };
389
+ }
390
+ function $3d0ee518c6f3d04f$var$isEqualFormatOptions(a, b) {
391
+ if (a === b) return true;
392
+ if (!a || !b) return false;
393
+ let aKeys = Object.keys(a);
394
+ let bKeys = Object.keys(b);
395
+ if (aKeys.length !== bKeys.length) return false;
396
+ for (let key of aKeys) if (b[key] !== a[key]) return false;
397
+ return true;
398
+ }
399
+ function $3d0ee518c6f3d04f$var$handleDecimalOperation(operator, value1, value2) {
400
+ let result = operator === "+" ? value1 + value2 : value1 - value2;
401
+ if (value1 % 1 !== 0 || value2 % 1 !== 0) {
402
+ const value1Decimal = value1.toString().split(".");
403
+ const value2Decimal = value2.toString().split(".");
404
+ const value1DecimalLength = value1Decimal[1] && value1Decimal[1].length || 0;
405
+ const value2DecimalLength = value2Decimal[1] && value2Decimal[1].length || 0;
406
+ const multiplier = Math.pow(10, Math.max(value1DecimalLength, value2DecimalLength));
407
+ value1 = Math.round(value1 * multiplier);
408
+ value2 = Math.round(value2 * multiplier);
409
+ result = operator === "+" ? value1 + value2 : value1 - value2;
410
+ result /= multiplier;
411
+ }
412
+ return result;
413
+ }
414
+ //#endregion
415
+ //#region src/components/inputs/Input/shared/numberStatic.utils.ts
416
+ const getStaticNumberDisplayValue = (value, formatter) => {
417
+ if (typeof value !== "number" || !Number.isFinite(value)) return null;
418
+ return formatter.format(value);
419
+ };
420
+ //#endregion
421
+ export { $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c as n, getStaticNumberDisplayValue as t };
@@ -1,5 +1,5 @@
1
- import { s as SelectItem } from "./SelectBase-DefgAEzh.js";
2
- import { n as QueryFn, t as QueryAutocompleteProps$1 } from "./queryAutocomplete.types-Dm8Ttx4v.js";
1
+ import { s as SelectItem } from "./SelectBase-K2ve5zo6.js";
2
+ import { n as QueryFn, t as QueryAutocompleteProps$1 } from "./queryAutocomplete.types-DS9H0Boa.js";
3
3
  import { n as FormControl } from "./form.types-ZNGbcqJS.js";
4
4
  import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
5
5
  import { FieldValues } from "react-hook-form";
@@ -1,5 +1,5 @@
1
- import { t as DefaultInitialSelectItem } from "./SelectBase-DefgAEzh.js";
2
- import { n as QuerySelectProps$1, t as QuerySelect$1 } from "./QuerySelect-Bpz-qI9h.js";
1
+ import { t as DefaultInitialSelectItem } from "./SelectBase-K2ve5zo6.js";
2
+ import { n as QuerySelectProps$1, t as QuerySelect$1 } from "./QuerySelect-CmnJWLol.js";
3
3
  import { n as FormControl } from "./form.types-ZNGbcqJS.js";
4
4
  import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
5
5
  import { Key } from "react-aria-components";
@@ -1,7 +1,7 @@
1
1
  import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
2
- import { n as GroupedSelectControlProps, r as GroupedSelectProps, s as SelectItem } from "./SelectBase-DefgAEzh.js";
2
+ import { n as GroupedSelectControlProps, r as GroupedSelectProps, s as SelectItem } from "./SelectBase-K2ve5zo6.js";
3
3
  import { s as OmitDiscriminatedUnion } from "./common-UBFya8WY.js";
4
- import { n as AutocompleteProps } from "./Autocomplete-DE2lQi5o.js";
4
+ import { n as AutocompleteProps } from "./Autocomplete-CFJ8ro0I.js";
5
5
  import { Key } from "react-aria-components";
6
6
  import { InfiniteData, UseInfiniteQueryResult, UseQueryResult } from "@tanstack/react-query";
7
7
  //#region src/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts
@@ -1,3 +1,3 @@
1
- import { n as AutocompleteProps } from "../Autocomplete-DE2lQi5o.js";
2
- import { n as ControlledAutocompleteProps, t as Autocomplete } from "../autocomplete-CaQSVRrw.js";
1
+ import { n as AutocompleteProps } from "../Autocomplete-CFJ8ro0I.js";
2
+ import { n as ControlledAutocompleteProps, t as Autocomplete } from "../autocomplete-C9xgSizP.js";
3
3
  export { Autocomplete, type AutocompleteProps, ControlledAutocompleteProps };
@@ -1,5 +1,5 @@
1
1
  import { Autocomplete as Autocomplete$1 } from "../components/autocomplete.js";
2
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
2
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
3
3
  //#region src/entries/rhf/autocomplete.ts
4
4
  const Autocomplete = (props) => {
5
5
  return renderRHFField(runtime(Autocomplete$1), useFireBlurOnChange(props, "select"));
@@ -1,4 +1,4 @@
1
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
2
  import { CheckboxGroup as CheckboxGroup$1 } from "../components/checkbox-group.js";
3
3
  //#region src/entries/rhf/checkbox-group.ts
4
4
  const CheckboxGroup = (props) => {
@@ -1,5 +1,5 @@
1
- import { t as Checkbox$1 } from "../Checkbox-DBV_Nxtq.js";
2
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { t as Checkbox$1 } from "../Checkbox-Dp6dSvU3.js";
2
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
3
3
  //#region src/entries/rhf/checkbox.ts
4
4
  const Checkbox = (props) => {
5
5
  return renderRHFField(runtime(Checkbox$1), useFireBlurOnChange(props, "checkbox"), "isSelected");
@@ -1,5 +1,5 @@
1
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
2
- import { t as DatePicker$1 } from "../DatePicker-BbdtBAGN.js";
1
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
+ import { t as DatePicker$1 } from "../DatePicker-CmadsYcG.js";
3
3
  import { t as toCalendarDate } from "../date.transforms-DLg-eFcE.js";
4
4
  //#region src/entries/rhf/date-picker.ts
5
5
  const DatePicker = (props) => {
@@ -1,5 +1,5 @@
1
- import { t as DateRangePicker$1 } from "../DateRangePicker-Ct182qur.js";
2
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
+ import { t as DateRangePicker$1 } from "../DateRangePicker-4fpEtrbb.js";
3
3
  import { n as toCalendarDateRange } from "../date.transforms-DLg-eFcE.js";
4
4
  //#region src/entries/rhf/date-range-picker.ts
5
5
  const DateRangePicker = (props) => {
@@ -1,6 +1,6 @@
1
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
2
  import { r as toCalendarDateTime } from "../date.transforms-DLg-eFcE.js";
3
- import { t as DateTimePicker$1 } from "../DateTimePicker-taYHMMYi.js";
3
+ import { t as DateTimePicker$1 } from "../DateTimePicker-6ixOSPcA.js";
4
4
  //#region src/entries/rhf/date-time-picker.ts
5
5
  const DateTimePicker = (props) => {
6
6
  return renderRHFField(runtime(DateTimePicker$1), useFireBlurOnChange(props, "dateInput"), "value", toCalendarDateTime);
@@ -1,5 +1,5 @@
1
- import { n as runtime, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
2
- import { t as FileInput$1 } from "../FileInput-B-ADr0B3.js";
1
+ import { n as runtime, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
+ import { t as FileInput$1 } from "../FileInput-BYImQc3r.js";
3
3
  //#region src/entries/rhf/file-input.ts
4
4
  const FileInput = (props) => renderRHFField(runtime(FileInput$1), props);
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
- import { t as FileUpload$1 } from "../FileUpload-3-4Vt4f1.js";
2
- import { n as runtime, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { t as FileUpload$1 } from "../FileUpload-BP1BIT9D.js";
2
+ import { n as runtime, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
3
3
  //#region src/entries/rhf/file-upload.ts
4
4
  const FileUpload = (props) => renderRHFField(runtime(FileUpload$1), props);
5
5
  //#endregion
package/dist/rhf/input.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Input as Input$1 } from "../components/input.js";
2
- import { n as runtime, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
2
+ import { n as runtime, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
3
3
  //#region src/entries/rhf/input.ts
4
4
  const Input = (props) => renderRHFField(runtime(Input$1), props);
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
1
  import { n as InputVariantProps } from "../input.cva-ByFuAEIS.js";
2
2
  import { s as OmitDiscriminatedUnion } from "../common-UBFya8WY.js";
3
- import { Ft as InputsProps, Nt as InputDef, Pt as Inputs, a as DynamicInputsObjectSchema, n as dynamicInputs, t as DynamicInputsOptions } from "../dynamicInputs-CQMTixlW.js";
3
+ import { Ft as InputsProps, Nt as InputDef, Pt as Inputs, a as DynamicInputsObjectSchema, n as dynamicInputs, t as DynamicInputsOptions } from "../dynamicInputs-Wa3FdsbA.js";
4
4
  export { type DynamicInputsObjectSchema, type DynamicInputsOptions, type InputDef, type InputVariantProps, Inputs, type InputsProps, type OmitDiscriminatedUnion, dynamicInputs };
@@ -1,4 +1,4 @@
1
- import { n as runtime, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { n as runtime, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
2
  import { NumberField as NumberField$1 } from "../components/number-field.js";
3
3
  //#region src/entries/rhf/number-field.ts
4
4
  const NumberField = (props) => renderRHFField(runtime(NumberField$1), props);
@@ -1,5 +1,5 @@
1
- import { n as runtime, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
2
- import { t as NumberRangeInput$1 } from "../NumberRangeInput-X8G1zfNM.js";
1
+ import { n as runtime, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
+ import { t as NumberRangeInput$1 } from "../NumberRangeInput-DzAM2RIu.js";
3
3
  //#region src/entries/rhf/number-range-input.ts
4
4
  const NumberRangeInput = (props) => renderRHFField(runtime(NumberRangeInput$1), props);
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { t as PasswordInput$1 } from "../PasswordInput-DYwUZ4-k.js";
2
- import { n as runtime, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
2
+ import { n as runtime, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
3
3
  //#region src/entries/rhf/password-input.ts
4
4
  const PasswordInput = (props) => renderRHFField(runtime(PasswordInput$1), props);
5
5
  //#endregion
@@ -1,2 +1,2 @@
1
- import { n as QueryAutocompleteProps, r as RHFQueryAutocompleteProps, t as QueryAutocomplete } from "../query-autocomplete-DV8fEkK2.js";
1
+ import { n as QueryAutocompleteProps, r as RHFQueryAutocompleteProps, t as QueryAutocomplete } from "../query-autocomplete-DfhSserb.js";
2
2
  export { QueryAutocomplete, QueryAutocompleteProps, RHFQueryAutocompleteProps };
@@ -1,4 +1,4 @@
1
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
2
  import { QueryAutocomplete as QueryAutocomplete$1 } from "../components/query-autocomplete.js";
3
3
  //#region src/entries/rhf/query-autocomplete.ts
4
4
  const QueryAutocomplete = (props) => {
@@ -1,2 +1,2 @@
1
- import { n as QuerySelectProps, r as RHFQuerySelectProps, t as QuerySelect } from "../query-select-BZ3-5WTu.js";
1
+ import { n as QuerySelectProps, r as RHFQuerySelectProps, t as QuerySelect } from "../query-select-C6Onz6pF.js";
2
2
  export { QuerySelect, QuerySelectProps, RHFQuerySelectProps };
@@ -1,4 +1,4 @@
1
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
2
  import { QuerySelect as QuerySelect$1 } from "../components/query-select.js";
3
3
  //#region src/entries/rhf/query-select.ts
4
4
  const QuerySelect = (props) => {
@@ -1,5 +1,5 @@
1
- import { t as RadioGroup$1 } from "../RadioGroup-DW_OQQDu.js";
2
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { t as RadioGroup$1 } from "../RadioGroup-B12aDhAs.js";
2
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
3
3
  //#region src/entries/rhf/radio-group.ts
4
4
  const RadioGroup = (props) => {
5
5
  return renderRHFField(runtime(RadioGroup$1), useFireBlurOnChange(props, "radioGroup"));
@@ -1,5 +1,5 @@
1
- import { t as RichTextEditor$1 } from "../RichTextEditor-BOTitK7E.js";
2
- import { n as runtime, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { t as RichTextEditor$1 } from "../RichTextEditor-DcmQtw8H.js";
2
+ import { n as runtime, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
3
3
  //#region src/entries/rhf/rich-text-editor.ts
4
4
  const RichTextEditor = (props) => renderRHFField(runtime(RichTextEditor$1), props);
5
5
  //#endregion
@@ -1,3 +1,3 @@
1
- import { r as SelectProps } from "../Select-wzB2aQ_X.js";
2
- import { n as Select, t as ControlledSelectProps } from "../select-DXGbGkZM.js";
1
+ import { r as SelectProps } from "../Select-CuvhVk-C.js";
2
+ import { n as Select, t as ControlledSelectProps } from "../select-y1GPTzpH.js";
3
3
  export { ControlledSelectProps, Select, type SelectProps };
@@ -1,5 +1,5 @@
1
- import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
2
- import { t as Select$1 } from "../Select-DmLkOMr1.js";
1
+ import { n as runtime, r as useFireBlurOnChange, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
2
+ import { t as Select$1 } from "../Select-BkCBNUfr.js";
3
3
  //#region src/entries/rhf/select.ts
4
4
  const Select = (props) => {
5
5
  return renderRHFField(runtime(Select$1), useFireBlurOnChange(props, "select"));
@@ -1,5 +1,5 @@
1
- import { t as Slider$1 } from "../Slider-Q87Hg_V2.js";
2
- import { n as runtime, t as renderRHFField } from "../fieldAdapter-BYVPxvYi.js";
1
+ import { t as Slider$1 } from "../Slider-CCVCu1JN.js";
2
+ import { n as runtime, t as renderRHFField } from "../fieldAdapter-B5-U5PYX.js";
3
3
  //#region src/entries/rhf/slider.ts
4
4
  const Slider = (props) => renderRHFField(runtime(Slider$1), props);
5
5
  //#endregion