@vlrc-fe/components 3.0.3 → 3.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 (682) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +10 -1
  3. package/bin/registry.mjs +1124 -0
  4. package/bin/vlrc.mjs +102 -7
  5. package/dist/ConfirmModal.cjs +276 -1
  6. package/dist/ConfirmModal.js +119 -103
  7. package/dist/DataTable/DataTable.cjs +203 -1
  8. package/dist/DataTable/DataTable.js +161 -120
  9. package/dist/DataTable/components/DataTableColumnHeader.cjs +214 -1
  10. package/dist/DataTable/components/DataTableColumnHeader.d.ts +3 -3
  11. package/dist/DataTable/components/DataTableColumnHeader.d.ts.map +1 -1
  12. package/dist/DataTable/components/DataTableColumnHeader.js +201 -103
  13. package/dist/DataTable/components/DataTableFacetedFilter.cjs +332 -1
  14. package/dist/DataTable/components/DataTableFacetedFilter.d.ts +3 -3
  15. package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
  16. package/dist/DataTable/components/DataTableFacetedFilter.js +285 -181
  17. package/dist/DataTable/components/DataTablePagination.cjs +200 -1
  18. package/dist/DataTable/components/DataTablePagination.js +188 -91
  19. package/dist/DataTable/components/DataTableRowActions.cjs +172 -1
  20. package/dist/DataTable/components/DataTableRowActions.js +161 -62
  21. package/dist/DataTable/components/DataTableTable.cjs +100 -1
  22. package/dist/DataTable/components/DataTableTable.js +87 -35
  23. package/dist/DataTable/components/DataTableToolbar.cjs +112 -1
  24. package/dist/DataTable/components/DataTableToolbar.js +106 -44
  25. package/dist/DataTable/components/DataTableViewOptions.cjs +113 -1
  26. package/dist/DataTable/components/DataTableViewOptions.js +105 -44
  27. package/dist/DataTable/render/createColumns.cjs +84 -1
  28. package/dist/DataTable/render/createColumns.js +65 -44
  29. package/dist/DataTable/render/defaults.cjs +38 -1
  30. package/dist/DataTable/render/defaults.js +18 -13
  31. package/dist/Dropdown/Dropdown.cjs +255 -1
  32. package/dist/Dropdown/Dropdown.js +138 -108
  33. package/dist/Form/Form.cjs +439 -1
  34. package/dist/Form/Form.js +417 -206
  35. package/dist/Form/FormDatePicker/FormDatePicker.cjs +84 -1
  36. package/dist/Form/FormDatePicker/FormDatePicker.js +68 -65
  37. package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +217 -1
  38. package/dist/Form/FormDatePicker/MonthPickerPanel.js +194 -101
  39. package/dist/Form/FormDatePicker/RangeDatePicker.cjs +144 -1
  40. package/dist/Form/FormDatePicker/RangeDatePicker.js +94 -77
  41. package/dist/Form/FormDatePicker/SingleDatePicker.cjs +191 -1
  42. package/dist/Form/FormDatePicker/SingleDatePicker.js +144 -114
  43. package/dist/Form/FormDatePicker/TimeInput.cjs +172 -1
  44. package/dist/Form/FormDatePicker/TimeInput.js +162 -79
  45. package/dist/Form/FormDatePicker/TimePicker.cjs +107 -1
  46. package/dist/Form/FormDatePicker/TimePicker.js +58 -43
  47. package/dist/Form/FormDatePicker/YearPickerPanel.cjs +184 -1
  48. package/dist/Form/FormDatePicker/YearPickerPanel.js +164 -84
  49. package/dist/Form/FormDatePicker/types.cjs +10 -1
  50. package/dist/Form/FormDatePicker/types.js +8 -3
  51. package/dist/Form/FormDatePicker/useFormDatePicker.cjs +70 -1
  52. package/dist/Form/FormDatePicker/useFormDatePicker.js +58 -31
  53. package/dist/Form/FormFileUpload/FileUpload.cjs +603 -1
  54. package/dist/Form/FormFileUpload/FileUpload.js +452 -306
  55. package/dist/Form/FormFileUpload/index.cjs +175 -1
  56. package/dist/Form/FormFileUpload/index.js +164 -50
  57. package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +46 -1
  58. package/dist/Form/FormMultiSelect/FormMultiSelect.js +42 -22
  59. package/dist/Form/FormNumberInput/FormNumberInput.cjs +71 -1
  60. package/dist/Form/FormNumberInput/FormNumberInput.js +60 -58
  61. package/dist/Form/FormNumberInput/StepperControls.cjs +104 -1
  62. package/dist/Form/FormNumberInput/StepperControls.js +78 -43
  63. package/dist/Form/FormNumberInput/useFormNumberInput.cjs +72 -1
  64. package/dist/Form/FormNumberInput/useFormNumberInput.js +68 -39
  65. package/dist/Form/FormRadioGroup/FormRadio.cjs +65 -1
  66. package/dist/Form/FormRadioGroup/FormRadio.js +38 -38
  67. package/dist/Form/FormRadioGroup/useFormRadio.cjs +38 -1
  68. package/dist/Form/FormRadioGroup/useFormRadio.js +27 -16
  69. package/dist/Form/FormSelect/FormSelect.cjs +46 -1
  70. package/dist/Form/FormSelect/FormSelect.js +40 -26
  71. package/dist/Form/FormSelect/useFormSelect.cjs +58 -1
  72. package/dist/Form/FormSelect/useFormSelect.js +52 -43
  73. package/dist/Icons/Icons.cjs +155 -1
  74. package/dist/Icons/Icons.js +142 -142
  75. package/dist/Modal.cjs +135 -1
  76. package/dist/Modal.js +67 -54
  77. package/dist/MultiSelect/MultiSelect.cjs +211 -1
  78. package/dist/MultiSelect/MultiSelect.js +127 -117
  79. package/dist/MultiSelect/renderers.cjs +571 -1
  80. package/dist/MultiSelect/renderers.js +508 -309
  81. package/dist/MultiSelect/useMultiSelect.cjs +243 -1
  82. package/dist/MultiSelect/useMultiSelect.js +207 -127
  83. package/dist/MultiSelect/utils.cjs +123 -1
  84. package/dist/MultiSelect/utils.js +79 -51
  85. package/dist/Select/BaseSelect.cjs +265 -1
  86. package/dist/Select/BaseSelect.js +165 -126
  87. package/dist/Select/MultiSelectTags.cjs +129 -1
  88. package/dist/Select/MultiSelectTags.js +82 -56
  89. package/dist/Typography/Blockquote.cjs +79 -1
  90. package/dist/Typography/Blockquote.js +40 -38
  91. package/dist/Typography/Code.cjs +131 -1
  92. package/dist/Typography/Code.js +64 -58
  93. package/dist/Typography/Link.cjs +141 -1
  94. package/dist/Typography/Link.d.ts +1 -2
  95. package/dist/Typography/Link.d.ts.map +1 -1
  96. package/dist/Typography/Link.js +74 -63
  97. package/dist/Typography/Paragraph.cjs +226 -1
  98. package/dist/Typography/Paragraph.d.ts +1 -2
  99. package/dist/Typography/Paragraph.d.ts.map +1 -1
  100. package/dist/Typography/Paragraph.js +119 -107
  101. package/dist/Typography/Text.cjs +224 -1
  102. package/dist/Typography/Text.d.ts +1 -2
  103. package/dist/Typography/Text.d.ts.map +1 -1
  104. package/dist/Typography/Text.js +117 -100
  105. package/dist/Typography/Title.cjs +220 -1
  106. package/dist/Typography/Title.d.ts +1 -2
  107. package/dist/Typography/Title.d.ts.map +1 -1
  108. package/dist/Typography/Title.js +125 -103
  109. package/dist/Typography/Typography.cjs +17 -1
  110. package/dist/Typography/Typography.js +14 -14
  111. package/dist/Typography/index.d.ts +1 -1
  112. package/dist/Typography/index.d.ts.map +1 -1
  113. package/dist/Typography/index.js +13 -13
  114. package/dist/Typography/tooltip.cjs +42 -1
  115. package/dist/Typography/tooltip.js +34 -14
  116. package/dist/Typography/types.cjs +20 -1
  117. package/dist/Typography/types.js +5 -2
  118. package/dist/Typography/utils.cjs +52 -1
  119. package/dist/Typography/utils.js +48 -21
  120. package/dist/Typography/weightStyles.cjs +58 -1
  121. package/dist/Typography/weightStyles.js +26 -25
  122. package/dist/_virtual/_rolldown/runtime.cjs +32 -1
  123. package/dist/_virtual/_rolldown/runtime.js +9 -7
  124. package/dist/assets/stylex.css +135 -1
  125. package/dist/astryx.cjs +18 -1
  126. package/dist/astryx.d.ts.map +1 -1
  127. package/dist/astryx.js +2 -1
  128. package/dist/index.cjs +789 -1
  129. package/dist/index.js +122 -118
  130. package/dist/layout/Box.cjs +203 -1
  131. package/dist/layout/Box.d.ts +8 -8
  132. package/dist/layout/Box.d.ts.map +1 -1
  133. package/dist/layout/Box.js +138 -49
  134. package/dist/layout/Center.cjs +51 -1
  135. package/dist/layout/Center.d.ts +3 -3
  136. package/dist/layout/Center.d.ts.map +1 -1
  137. package/dist/layout/Center.js +49 -20
  138. package/dist/layout/Container.cjs +81 -1
  139. package/dist/layout/Container.d.ts +8 -8
  140. package/dist/layout/Container.d.ts.map +1 -1
  141. package/dist/layout/Container.js +34 -30
  142. package/dist/layout/Stack.cjs +237 -1
  143. package/dist/layout/Stack.d.ts +9 -9
  144. package/dist/layout/Stack.d.ts.map +1 -1
  145. package/dist/layout/Stack.js +220 -75
  146. package/dist/layout/index.js +9 -9
  147. package/dist/lazyLoad.cjs +13 -1
  148. package/dist/lazyLoad.js +9 -9
  149. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +551 -1
  150. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +440 -234
  151. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +546 -1
  152. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +452 -236
  153. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +330 -1
  154. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +272 -164
  155. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +150 -1
  156. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +132 -1
  157. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +90 -74
  158. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +92 -67
  159. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +11 -1
  160. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +8 -7
  161. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +48 -1
  162. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +34 -31
  163. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +145 -1
  164. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +111 -73
  165. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +38 -1
  166. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +19 -16
  167. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +126 -1
  168. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +103 -72
  169. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +134 -1
  170. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +113 -79
  171. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +541 -1
  172. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +459 -331
  173. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +39 -1
  174. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +26 -22
  175. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +304 -1
  176. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +234 -160
  177. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +108 -1
  178. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +82 -67
  179. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +19 -1
  180. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +12 -10
  181. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +275 -1
  182. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +228 -127
  183. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +53 -1
  184. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +40 -22
  185. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +215 -1
  186. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +171 -117
  187. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +219 -1
  188. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +178 -118
  189. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +22 -1
  190. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +17 -13
  191. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +802 -1
  192. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +648 -422
  193. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +410 -1
  194. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +313 -212
  195. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +741 -1
  196. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +602 -417
  197. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +246 -1
  198. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +195 -121
  199. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +27 -1
  200. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -17
  201. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +148 -1
  202. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +115 -67
  203. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +55 -1
  204. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +27 -21
  205. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +223 -1
  206. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +179 -131
  207. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +576 -1
  208. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +437 -308
  209. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +202 -1
  210. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +160 -125
  211. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +159 -1
  212. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +125 -93
  213. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +158 -1
  214. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +128 -98
  215. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +39 -1
  216. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +29 -24
  217. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +19 -1
  218. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -11
  219. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +109 -1
  220. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +91 -68
  221. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +28 -1
  222. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +22 -17
  223. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +33 -1
  224. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +25 -19
  225. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +7 -1
  226. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +3 -3
  227. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +25 -1
  228. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +18 -11
  229. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +47 -1
  230. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +38 -28
  231. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +38 -1
  232. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +19 -15
  233. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +106 -1
  234. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +95 -34
  235. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +5 -1
  236. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +3 -3
  237. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +6 -1
  238. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +4 -4
  239. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +423 -1
  240. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +237 -202
  241. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +45 -1
  242. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +35 -32
  243. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +42 -1
  244. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +37 -32
  245. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +20 -1
  246. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -5
  247. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +7 -1
  248. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +5 -5
  249. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +27 -1
  250. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +15 -12
  251. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +45 -1
  252. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +41 -4
  253. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +45 -1
  254. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +42 -4
  255. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +49 -1
  256. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +46 -8
  257. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +358 -1
  258. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +341 -45
  259. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +31 -1
  260. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +28 -7
  261. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +35 -1
  262. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +32 -8
  263. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +44 -1
  264. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +41 -11
  265. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +49 -1
  266. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +46 -8
  267. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +61 -1
  268. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +58 -12
  269. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +38 -1
  270. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +35 -3
  271. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +39 -1
  272. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +36 -5
  273. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +8 -1
  274. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +5 -5
  275. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +50 -1
  276. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +45 -11
  277. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +27 -1
  278. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +20 -14
  279. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +18 -1
  280. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +13 -12
  281. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +77 -1
  282. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +14 -5
  283. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +31 -1
  284. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +6 -6
  285. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +11 -1
  286. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +4 -3
  287. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +210 -1
  288. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +197 -188
  289. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +122 -1
  290. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +12 -12
  291. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +28 -1
  292. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +20 -12
  293. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +34 -1
  294. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +31 -5
  295. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +37 -1
  296. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +32 -5
  297. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +41 -1
  298. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +38 -7
  299. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +45 -1
  300. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +42 -6
  301. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +56 -1
  302. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +53 -8
  303. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +35 -1
  304. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +32 -5
  305. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +45 -1
  306. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +42 -4
  307. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +34 -1
  308. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +32 -21
  309. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +39 -1
  310. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +27 -20
  311. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1391 -1
  312. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1178 -803
  313. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +7 -1
  314. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +3 -4
  315. package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +369 -2
  316. package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js +282 -238
  317. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +625 -1
  318. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +545 -276
  319. package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +1033 -9
  320. package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js +898 -460
  321. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +47 -38
  322. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +38 -64
  323. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +13 -1
  324. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +9 -2
  325. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +4 -1
  326. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +36 -1
  327. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -16
  328. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +15 -1
  329. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +10 -10
  330. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +167 -4
  331. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +144 -93
  332. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +63 -1
  333. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +45 -35
  334. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +14 -1
  335. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +11 -9
  336. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +84 -1
  337. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +75 -43
  338. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +3 -1
  339. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +3 -3
  340. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +6 -1
  341. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +5 -5
  342. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1617 -1
  343. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js +1332 -874
  344. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +18 -1
  345. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +15 -7
  346. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +26 -1
  347. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +20 -10
  348. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +4 -1
  349. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +40 -1
  350. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +29 -16
  351. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +36 -1
  352. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +25 -14
  353. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +20 -1
  354. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +18 -3
  355. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +46 -1
  356. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +38 -19
  357. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs +39 -1
  358. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +29 -11
  359. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +18 -1
  360. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +13 -12
  361. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +81 -1
  362. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +58 -45
  363. package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +1252 -3
  364. package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js +1003 -648
  365. package/dist/theme/index.cjs +63 -1
  366. package/dist/theme/index.js +31 -31
  367. package/dist/theme/spacing.cjs +93 -1
  368. package/dist/theme/spacing.js +52 -26
  369. package/dist/theme/tokens.stylex.cjs +210 -1
  370. package/dist/theme/tokens.stylex.js +58 -26
  371. package/dist/theme/types.cjs +13 -1
  372. package/dist/theme/types.js +4 -3
  373. package/dist/theme/width.cjs +39 -1
  374. package/dist/theme/width.js +16 -4
  375. package/dist/theme/zIndex.cjs +64 -1
  376. package/dist/theme/zIndex.js +44 -15
  377. package/dist/theme.css +135 -1
  378. package/dist/ui/accordion.cjs +431 -1
  379. package/dist/ui/accordion.d.ts +10 -10
  380. package/dist/ui/accordion.d.ts.map +1 -1
  381. package/dist/ui/accordion.js +276 -136
  382. package/dist/ui/action-bar.cjs +274 -1
  383. package/dist/ui/action-bar.d.ts +11 -11
  384. package/dist/ui/action-bar.d.ts.map +1 -1
  385. package/dist/ui/action-bar.js +204 -98
  386. package/dist/ui/alert-dialog.cjs +538 -1
  387. package/dist/ui/alert-dialog.d.ts +19 -19
  388. package/dist/ui/alert-dialog.d.ts.map +1 -1
  389. package/dist/ui/alert-dialog.js +459 -167
  390. package/dist/ui/alert.cjs +163 -1
  391. package/dist/ui/alert.d.ts +7 -7
  392. package/dist/ui/alert.d.ts.map +1 -1
  393. package/dist/ui/alert.js +111 -50
  394. package/dist/ui/aspect-ratio.cjs +25 -1
  395. package/dist/ui/aspect-ratio.d.ts +2 -2
  396. package/dist/ui/aspect-ratio.d.ts.map +1 -1
  397. package/dist/ui/aspect-ratio.js +22 -12
  398. package/dist/ui/avatar.cjs +341 -1
  399. package/dist/ui/avatar.d.ts +10 -10
  400. package/dist/ui/avatar.d.ts.map +1 -1
  401. package/dist/ui/avatar.js +226 -114
  402. package/dist/ui/badge-overflow.cjs +66 -1
  403. package/dist/ui/badge-overflow.d.ts +5 -5
  404. package/dist/ui/badge-overflow.d.ts.map +1 -1
  405. package/dist/ui/badge-overflow.js +34 -27
  406. package/dist/ui/badge.cjs +167 -1
  407. package/dist/ui/badge.d.ts +3 -3
  408. package/dist/ui/badge.d.ts.map +1 -1
  409. package/dist/ui/badge.js +48 -42
  410. package/dist/ui/breadcrumb.cjs +508 -1
  411. package/dist/ui/breadcrumb.d.ts +15 -15
  412. package/dist/ui/breadcrumb.d.ts.map +1 -1
  413. package/dist/ui/breadcrumb.js +386 -159
  414. package/dist/ui/button.cjs +425 -1
  415. package/dist/ui/button.d.ts +3 -3
  416. package/dist/ui/button.d.ts.map +1 -1
  417. package/dist/ui/button.js +137 -117
  418. package/dist/ui/calendar.cjs +626 -1
  419. package/dist/ui/calendar.d.ts +5 -5
  420. package/dist/ui/calendar.d.ts.map +1 -1
  421. package/dist/ui/calendar.js +309 -192
  422. package/dist/ui/card.cjs +401 -1
  423. package/dist/ui/card.d.ts +15 -15
  424. package/dist/ui/card.d.ts.map +1 -1
  425. package/dist/ui/card.js +300 -119
  426. package/dist/ui/carousel.cjs +333 -1
  427. package/dist/ui/carousel.d.ts +10 -10
  428. package/dist/ui/carousel.d.ts.map +1 -1
  429. package/dist/ui/carousel.js +245 -126
  430. package/dist/ui/checkbox.cjs +167 -1
  431. package/dist/ui/checkbox.d.ts +4 -4
  432. package/dist/ui/checkbox.d.ts.map +1 -1
  433. package/dist/ui/checkbox.js +66 -58
  434. package/dist/ui/circular-progress.cjs +139 -1
  435. package/dist/ui/circular-progress.d.ts +4 -4
  436. package/dist/ui/circular-progress.d.ts.map +1 -1
  437. package/dist/ui/circular-progress.js +65 -52
  438. package/dist/ui/code-block.cjs +819 -0
  439. package/dist/ui/code-block.d.ts +81 -0
  440. package/dist/ui/code-block.d.ts.map +1 -0
  441. package/dist/ui/code-block.js +809 -0
  442. package/dist/ui/collapsible.cjs +65 -1
  443. package/dist/ui/collapsible.d.ts +4 -4
  444. package/dist/ui/collapsible.d.ts.map +1 -1
  445. package/dist/ui/collapsible.js +58 -28
  446. package/dist/ui/command.cjs +556 -1
  447. package/dist/ui/command.d.ts +19 -19
  448. package/dist/ui/command.d.ts.map +1 -1
  449. package/dist/ui/command.js +432 -163
  450. package/dist/ui/compare-slider.cjs +170 -1
  451. package/dist/ui/compare-slider.d.ts +7 -7
  452. package/dist/ui/compare-slider.d.ts.map +1 -1
  453. package/dist/ui/compare-slider.js +106 -72
  454. package/dist/ui/context-menu.cjs +811 -1
  455. package/dist/ui/context-menu.d.ts +26 -26
  456. package/dist/ui/context-menu.d.ts.map +1 -1
  457. package/dist/ui/context-menu.js +693 -228
  458. package/dist/ui/copy-button.cjs +94 -1
  459. package/dist/ui/copy-button.d.ts +1 -2
  460. package/dist/ui/copy-button.d.ts.map +1 -1
  461. package/dist/ui/copy-button.js +56 -44
  462. package/dist/ui/dialog.cjs +409 -1
  463. package/dist/ui/dialog.d.ts +18 -18
  464. package/dist/ui/dialog.d.ts.map +1 -1
  465. package/dist/ui/dialog.js +317 -131
  466. package/dist/ui/drawer.cjs +476 -1
  467. package/dist/ui/drawer.d.ts +17 -17
  468. package/dist/ui/drawer.d.ts.map +1 -1
  469. package/dist/ui/drawer.js +394 -151
  470. package/dist/ui/dropdown-menu.cjs +638 -1
  471. package/dist/ui/dropdown-menu.d.ts +26 -26
  472. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  473. package/dist/ui/dropdown-menu.js +511 -208
  474. package/dist/ui/editable.cjs +608 -1
  475. package/dist/ui/editable.d.ts +14 -14
  476. package/dist/ui/editable.d.ts.map +1 -1
  477. package/dist/ui/editable.js +478 -218
  478. package/dist/ui/empty.cjs +310 -1
  479. package/dist/ui/empty.d.ts +15 -15
  480. package/dist/ui/empty.d.ts.map +1 -1
  481. package/dist/ui/empty.js +277 -107
  482. package/dist/ui/field.cjs +621 -1
  483. package/dist/ui/field.d.ts +21 -21
  484. package/dist/ui/field.d.ts.map +1 -1
  485. package/dist/ui/field.js +468 -198
  486. package/dist/ui/file-upload-adapters.cjs +289 -1
  487. package/dist/ui/file-upload-adapters.d.ts +1 -2
  488. package/dist/ui/file-upload-adapters.d.ts.map +1 -1
  489. package/dist/ui/file-upload-adapters.js +244 -170
  490. package/dist/ui/file-upload.cjs +1481 -1
  491. package/dist/ui/file-upload.d.ts +22 -22
  492. package/dist/ui/file-upload.d.ts.map +1 -1
  493. package/dist/ui/file-upload.js +1064 -598
  494. package/dist/ui/flex.cjs +203 -1
  495. package/dist/ui/flex.d.ts +6 -6
  496. package/dist/ui/flex.d.ts.map +1 -1
  497. package/dist/ui/flex.js +111 -92
  498. package/dist/ui/form.cjs +454 -1
  499. package/dist/ui/form.d.ts +11 -11
  500. package/dist/ui/form.d.ts.map +1 -1
  501. package/dist/ui/form.js +421 -135
  502. package/dist/ui/gauge.cjs +127 -1
  503. package/dist/ui/gauge.d.ts +6 -6
  504. package/dist/ui/gauge.d.ts.map +1 -1
  505. package/dist/ui/gauge.js +61 -52
  506. package/dist/ui/grid.cjs +224 -1
  507. package/dist/ui/grid.d.ts +7 -7
  508. package/dist/ui/grid.d.ts.map +1 -1
  509. package/dist/ui/grid.js +125 -94
  510. package/dist/ui/hover-card.cjs +86 -1
  511. package/dist/ui/hover-card.d.ts +6 -6
  512. package/dist/ui/hover-card.d.ts.map +1 -1
  513. package/dist/ui/hover-card.js +57 -36
  514. package/dist/ui/index.d.ts +4 -0
  515. package/dist/ui/index.d.ts.map +1 -1
  516. package/dist/ui/input-group.cjs +328 -1
  517. package/dist/ui/input-group.d.ts +12 -12
  518. package/dist/ui/input-group.d.ts.map +1 -1
  519. package/dist/ui/input-group.js +207 -105
  520. package/dist/ui/input-otp.cjs +312 -1
  521. package/dist/ui/input-otp.d.ts +10 -10
  522. package/dist/ui/input-otp.d.ts.map +1 -1
  523. package/dist/ui/input-otp.js +217 -94
  524. package/dist/ui/input.cjs +388 -1
  525. package/dist/ui/input.d.ts +3 -3
  526. package/dist/ui/input.d.ts.map +1 -1
  527. package/dist/ui/input.js +137 -119
  528. package/dist/ui/item.cjs +585 -1
  529. package/dist/ui/item.d.ts +20 -20
  530. package/dist/ui/item.d.ts.map +1 -1
  531. package/dist/ui/item.js +460 -162
  532. package/dist/ui/kbd.cjs +115 -1
  533. package/dist/ui/kbd.d.ts +5 -5
  534. package/dist/ui/kbd.d.ts.map +1 -1
  535. package/dist/ui/kbd.js +42 -37
  536. package/dist/ui/label.cjs +67 -1
  537. package/dist/ui/label.d.ts +4 -4
  538. package/dist/ui/label.d.ts.map +1 -1
  539. package/dist/ui/label.js +51 -21
  540. package/dist/ui/marker.cjs +294 -0
  541. package/dist/ui/marker.d.ts +22 -0
  542. package/dist/ui/marker.d.ts.map +1 -0
  543. package/dist/ui/marker.js +290 -0
  544. package/dist/ui/masonry.cjs +58 -1
  545. package/dist/ui/masonry.d.ts +4 -4
  546. package/dist/ui/masonry.d.ts.map +1 -1
  547. package/dist/ui/masonry.js +41 -36
  548. package/dist/ui/menubar.cjs +908 -1
  549. package/dist/ui/menubar.d.ts +29 -29
  550. package/dist/ui/menubar.d.ts.map +1 -1
  551. package/dist/ui/menubar.js +737 -251
  552. package/dist/ui/navigation-menu.cjs +560 -1
  553. package/dist/ui/navigation-menu.d.ts +18 -18
  554. package/dist/ui/navigation-menu.d.ts.map +1 -1
  555. package/dist/ui/navigation-menu.js +442 -148
  556. package/dist/ui/pagination.cjs +575 -1
  557. package/dist/ui/pagination.d.ts +13 -13
  558. package/dist/ui/pagination.d.ts.map +1 -1
  559. package/dist/ui/pagination.js +422 -172
  560. package/dist/ui/popover.cjs +93 -1
  561. package/dist/ui/popover.d.ts +7 -7
  562. package/dist/ui/popover.d.ts.map +1 -1
  563. package/dist/ui/popover.js +61 -42
  564. package/dist/ui/progress.cjs +33 -1
  565. package/dist/ui/progress.d.ts +3 -3
  566. package/dist/ui/progress.d.ts.map +1 -1
  567. package/dist/ui/progress.js +19 -17
  568. package/dist/ui/questionnaire.cjs +679 -0
  569. package/dist/ui/questionnaire.d.ts +101 -0
  570. package/dist/ui/questionnaire.d.ts.map +1 -0
  571. package/dist/ui/questionnaire.js +667 -0
  572. package/dist/ui/radio-group.cjs +221 -1
  573. package/dist/ui/radio-group.d.ts +6 -6
  574. package/dist/ui/radio-group.d.ts.map +1 -1
  575. package/dist/ui/radio-group.js +125 -74
  576. package/dist/ui/rating.cjs +191 -1
  577. package/dist/ui/rating.d.ts +3 -3
  578. package/dist/ui/rating.d.ts.map +1 -1
  579. package/dist/ui/rating.js +96 -78
  580. package/dist/ui/resizable.cjs +175 -1
  581. package/dist/ui/resizable.d.ts +7 -7
  582. package/dist/ui/resizable.d.ts.map +1 -1
  583. package/dist/ui/resizable.js +150 -54
  584. package/dist/ui/responsive-dialog.cjs +400 -1
  585. package/dist/ui/responsive-dialog.d.ts +17 -17
  586. package/dist/ui/responsive-dialog.d.ts.map +1 -1
  587. package/dist/ui/responsive-dialog.js +372 -155
  588. package/dist/ui/row-col.cjs +510 -1
  589. package/dist/ui/row-col.d.ts +11 -11
  590. package/dist/ui/row-col.d.ts.map +1 -1
  591. package/dist/ui/row-col.js +238 -205
  592. package/dist/ui/scroll-area.cjs +142 -1
  593. package/dist/ui/scroll-area.d.ts +6 -6
  594. package/dist/ui/scroll-area.d.ts.map +1 -1
  595. package/dist/ui/scroll-area.js +103 -47
  596. package/dist/ui/segmented.cjs +170 -1
  597. package/dist/ui/segmented.d.ts +5 -5
  598. package/dist/ui/segmented.d.ts.map +1 -1
  599. package/dist/ui/segmented.js +75 -62
  600. package/dist/ui/select.cjs +484 -1
  601. package/dist/ui/select.d.ts +17 -17
  602. package/dist/ui/select.d.ts.map +1 -1
  603. package/dist/ui/select.js +353 -160
  604. package/dist/ui/separator.cjs +44 -1
  605. package/dist/ui/separator.d.ts +4 -4
  606. package/dist/ui/separator.d.ts.map +1 -1
  607. package/dist/ui/separator.js +17 -17
  608. package/dist/ui/sheet.cjs +460 -1
  609. package/dist/ui/sheet.d.ts +16 -16
  610. package/dist/ui/sheet.d.ts.map +1 -1
  611. package/dist/ui/sheet.js +329 -141
  612. package/dist/ui/sidebar.cjs +1453 -1
  613. package/dist/ui/sidebar.d.ts +48 -48
  614. package/dist/ui/sidebar.d.ts.map +1 -1
  615. package/dist/ui/sidebar.js +1057 -438
  616. package/dist/ui/signature-pad.cjs +740 -0
  617. package/dist/ui/signature-pad.d.ts +107 -0
  618. package/dist/ui/signature-pad.d.ts.map +1 -0
  619. package/dist/ui/signature-pad.js +730 -0
  620. package/dist/ui/skeleton.cjs +62 -1
  621. package/dist/ui/skeleton.d.ts +3 -3
  622. package/dist/ui/skeleton.d.ts.map +1 -1
  623. package/dist/ui/skeleton.js +50 -20
  624. package/dist/ui/slider.cjs +47 -1
  625. package/dist/ui/slider.d.ts +4 -4
  626. package/dist/ui/slider.d.ts.map +1 -1
  627. package/dist/ui/slider.js +27 -26
  628. package/dist/ui/sonner.cjs +28 -1
  629. package/dist/ui/sonner.js +24 -22
  630. package/dist/ui/spinner.cjs +73 -1
  631. package/dist/ui/spinner.d.ts +3 -3
  632. package/dist/ui/spinner.d.ts.map +1 -1
  633. package/dist/ui/spinner.js +29 -28
  634. package/dist/ui/stat.cjs +334 -1
  635. package/dist/ui/stat.d.ts +15 -15
  636. package/dist/ui/stat.d.ts.map +1 -1
  637. package/dist/ui/stat.js +271 -130
  638. package/dist/ui/stepper.cjs +785 -1
  639. package/dist/ui/stepper.d.ts +24 -24
  640. package/dist/ui/stepper.d.ts.map +1 -1
  641. package/dist/ui/stepper.js +594 -281
  642. package/dist/ui/switch.cjs +203 -1
  643. package/dist/ui/switch.d.ts +4 -4
  644. package/dist/ui/switch.d.ts.map +1 -1
  645. package/dist/ui/switch.js +83 -72
  646. package/dist/ui/table.cjs +435 -1
  647. package/dist/ui/table.d.ts +17 -17
  648. package/dist/ui/table.d.ts.map +1 -1
  649. package/dist/ui/table.js +369 -129
  650. package/dist/ui/tabs.cjs +340 -1
  651. package/dist/ui/tabs.d.ts +10 -10
  652. package/dist/ui/tabs.d.ts.map +1 -1
  653. package/dist/ui/tabs.js +204 -95
  654. package/dist/ui/tags-input.cjs +585 -1
  655. package/dist/ui/tags-input.d.ts +13 -13
  656. package/dist/ui/tags-input.d.ts.map +1 -1
  657. package/dist/ui/tags-input.js +446 -221
  658. package/dist/ui/textarea.cjs +119 -1
  659. package/dist/ui/textarea.d.ts +3 -3
  660. package/dist/ui/textarea.d.ts.map +1 -1
  661. package/dist/ui/textarea.js +37 -33
  662. package/dist/ui/timeline.cjs +583 -1
  663. package/dist/ui/timeline.d.ts +22 -22
  664. package/dist/ui/timeline.d.ts.map +1 -1
  665. package/dist/ui/timeline.js +409 -198
  666. package/dist/ui/toggle-group.cjs +128 -1
  667. package/dist/ui/toggle-group.d.ts +7 -7
  668. package/dist/ui/toggle-group.d.ts.map +1 -1
  669. package/dist/ui/toggle-group.js +92 -41
  670. package/dist/ui/toggle.cjs +145 -1
  671. package/dist/ui/toggle.d.ts +4 -4
  672. package/dist/ui/toggle.d.ts.map +1 -1
  673. package/dist/ui/toggle.js +38 -34
  674. package/dist/ui/tooltip.cjs +81 -1
  675. package/dist/ui/tooltip.d.ts +7 -7
  676. package/dist/ui/tooltip.d.ts.map +1 -1
  677. package/dist/ui/tooltip.js +50 -37
  678. package/dist/ui/useBreakpoint.cjs +91 -1
  679. package/dist/ui/useBreakpoint.js +66 -43
  680. package/dist/utils.cjs +9 -1
  681. package/dist/utils.js +4 -4
  682. package/package.json +10 -2
@@ -1,58 +1,354 @@
1
- import e from "./toDate.js";
2
- import { getDefaultOptions as t } from "./_lib/defaultOptions.js";
3
- import n from "./isValid.js";
4
- import r from "./locale/en-US.js";
5
- import { formatters as i } from "./_lib/format/formatters.js";
6
- import { longFormatters as a } from "./_lib/format/longFormatters.js";
7
- import { isProtectedDayOfYearToken as o, isProtectedWeekYearToken as s, warnOrThrowProtectedError as c } from "./_lib/protectedTokens.js";
1
+ import toDate from "./toDate.js";
2
+ import { getDefaultOptions } from "./_lib/defaultOptions.js";
3
+ import isValid from "./isValid.js";
4
+ import enUS from "./locale/en-US.js";
5
+ import { formatters } from "./_lib/format/formatters.js";
6
+ import { longFormatters } from "./_lib/format/longFormatters.js";
7
+ import { isProtectedDayOfYearToken, isProtectedWeekYearToken, warnOrThrowProtectedError } from "./_lib/protectedTokens.js";
8
8
  // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js
9
- var l = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, u = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, d = /^'([^]*?)'?$/, f = /''/g, p = /[a-zA-Z]/;
10
- function m(d, f, m) {
11
- let g = t(), _ = m?.locale ?? g.locale ?? r, v = m?.firstWeekContainsDate ?? m?.locale?.options?.firstWeekContainsDate ?? g.firstWeekContainsDate ?? g.locale?.options?.firstWeekContainsDate ?? 1, y = m?.weekStartsOn ?? m?.locale?.options?.weekStartsOn ?? g.weekStartsOn ?? g.locale?.options?.weekStartsOn ?? 0, b = e(d, m?.in);
12
- if (!n(b)) throw RangeError("Invalid time value");
13
- let x = f.match(u).map((e) => {
14
- let t = e[0];
15
- if (t === "p" || t === "P") {
16
- let n = a[t];
17
- return n(e, _.formatLong);
9
+ var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
10
+ var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
11
+ var escapedStringRegExp = /^'([^]*?)'?$/;
12
+ var doubleQuoteRegExp = /''/g;
13
+ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
14
+ /**
15
+ * The {@link format} function options.
16
+ */
17
+ /**
18
+ * @name format
19
+ * @alias formatDate
20
+ * @category Common Helpers
21
+ * @summary Format the date.
22
+ *
23
+ * @description
24
+ * Return the formatted date string in the given format. The result may vary by locale.
25
+ *
26
+ * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
27
+ * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
28
+ *
29
+ * The characters wrapped between two single quotes characters (') are escaped.
30
+ * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
31
+ * (see the last example)
32
+ *
33
+ * Format of the string is based on Unicode Technical Standard #35:
34
+ * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
35
+ * with a few additions (see note 7 below the table).
36
+ *
37
+ * Accepted patterns:
38
+ * | Unit | Pattern | Result examples | Notes |
39
+ * |---------------------------------|---------|-----------------------------------|-------|
40
+ * | Era | G..GGG | AD, BC | |
41
+ * | | GGGG | Anno Domini, Before Christ | 2 |
42
+ * | | GGGGG | A, B | |
43
+ * | Calendar year | y | 44, 1, 1900, 2017 | 5 |
44
+ * | | yo | 44th, 1st, 0th, 17th | 5,7 |
45
+ * | | yy | 44, 01, 00, 17 | 5 |
46
+ * | | yyy | 044, 001, 1900, 2017 | 5 |
47
+ * | | yyyy | 0044, 0001, 1900, 2017 | 5 |
48
+ * | | yyyyy | ... | 3,5 |
49
+ * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |
50
+ * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |
51
+ * | | YY | 44, 01, 00, 17 | 5,8 |
52
+ * | | YYY | 044, 001, 1900, 2017 | 5 |
53
+ * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |
54
+ * | | YYYYY | ... | 3,5 |
55
+ * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |
56
+ * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |
57
+ * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |
58
+ * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |
59
+ * | | RRRRR | ... | 3,5,7 |
60
+ * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |
61
+ * | | uu | -43, 01, 1900, 2017 | 5 |
62
+ * | | uuu | -043, 001, 1900, 2017 | 5 |
63
+ * | | uuuu | -0043, 0001, 1900, 2017 | 5 |
64
+ * | | uuuuu | ... | 3,5 |
65
+ * | Quarter (formatting) | Q | 1, 2, 3, 4 | |
66
+ * | | Qo | 1st, 2nd, 3rd, 4th | 7 |
67
+ * | | QQ | 01, 02, 03, 04 | |
68
+ * | | QQQ | Q1, Q2, Q3, Q4 | |
69
+ * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
70
+ * | | QQQQQ | 1, 2, 3, 4 | 4 |
71
+ * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |
72
+ * | | qo | 1st, 2nd, 3rd, 4th | 7 |
73
+ * | | qq | 01, 02, 03, 04 | |
74
+ * | | qqq | Q1, Q2, Q3, Q4 | |
75
+ * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
76
+ * | | qqqqq | 1, 2, 3, 4 | 4 |
77
+ * | Month (formatting) | M | 1, 2, ..., 12 | |
78
+ * | | Mo | 1st, 2nd, ..., 12th | 7 |
79
+ * | | MM | 01, 02, ..., 12 | |
80
+ * | | MMM | Jan, Feb, ..., Dec | |
81
+ * | | MMMM | January, February, ..., December | 2 |
82
+ * | | MMMMM | J, F, ..., D | |
83
+ * | Month (stand-alone) | L | 1, 2, ..., 12 | |
84
+ * | | Lo | 1st, 2nd, ..., 12th | 7 |
85
+ * | | LL | 01, 02, ..., 12 | |
86
+ * | | LLL | Jan, Feb, ..., Dec | |
87
+ * | | LLLL | January, February, ..., December | 2 |
88
+ * | | LLLLL | J, F, ..., D | |
89
+ * | Local week of year | w | 1, 2, ..., 53 | |
90
+ * | | wo | 1st, 2nd, ..., 53th | 7 |
91
+ * | | ww | 01, 02, ..., 53 | |
92
+ * | ISO week of year | I | 1, 2, ..., 53 | 7 |
93
+ * | | Io | 1st, 2nd, ..., 53th | 7 |
94
+ * | | II | 01, 02, ..., 53 | 7 |
95
+ * | Day of month | d | 1, 2, ..., 31 | |
96
+ * | | do | 1st, 2nd, ..., 31st | 7 |
97
+ * | | dd | 01, 02, ..., 31 | |
98
+ * | Day of year | D | 1, 2, ..., 365, 366 | 9 |
99
+ * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |
100
+ * | | DD | 01, 02, ..., 365, 366 | 9 |
101
+ * | | DDD | 001, 002, ..., 365, 366 | |
102
+ * | | DDDD | ... | 3 |
103
+ * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |
104
+ * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
105
+ * | | EEEEE | M, T, W, T, F, S, S | |
106
+ * | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
107
+ * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |
108
+ * | | io | 1st, 2nd, ..., 7th | 7 |
109
+ * | | ii | 01, 02, ..., 07 | 7 |
110
+ * | | iii | Mon, Tue, Wed, ..., Sun | 7 |
111
+ * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |
112
+ * | | iiiii | M, T, W, T, F, S, S | 7 |
113
+ * | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 |
114
+ * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |
115
+ * | | eo | 2nd, 3rd, ..., 1st | 7 |
116
+ * | | ee | 02, 03, ..., 01 | |
117
+ * | | eee | Mon, Tue, Wed, ..., Sun | |
118
+ * | | eeee | Monday, Tuesday, ..., Sunday | 2 |
119
+ * | | eeeee | M, T, W, T, F, S, S | |
120
+ * | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
121
+ * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |
122
+ * | | co | 2nd, 3rd, ..., 1st | 7 |
123
+ * | | cc | 02, 03, ..., 01 | |
124
+ * | | ccc | Mon, Tue, Wed, ..., Sun | |
125
+ * | | cccc | Monday, Tuesday, ..., Sunday | 2 |
126
+ * | | ccccc | M, T, W, T, F, S, S | |
127
+ * | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
128
+ * | AM, PM | a..aa | AM, PM | |
129
+ * | | aaa | am, pm | |
130
+ * | | aaaa | a.m., p.m. | 2 |
131
+ * | | aaaaa | a, p | |
132
+ * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |
133
+ * | | bbb | am, pm, noon, midnight | |
134
+ * | | bbbb | a.m., p.m., noon, midnight | 2 |
135
+ * | | bbbbb | a, p, n, mi | |
136
+ * | Flexible day period | B..BBB | at night, in the morning, ... | |
137
+ * | | BBBB | at night, in the morning, ... | 2 |
138
+ * | | BBBBB | at night, in the morning, ... | |
139
+ * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |
140
+ * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |
141
+ * | | hh | 01, 02, ..., 11, 12 | |
142
+ * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |
143
+ * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |
144
+ * | | HH | 00, 01, 02, ..., 23 | |
145
+ * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |
146
+ * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |
147
+ * | | KK | 01, 02, ..., 11, 00 | |
148
+ * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |
149
+ * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |
150
+ * | | kk | 24, 01, 02, ..., 23 | |
151
+ * | Minute | m | 0, 1, ..., 59 | |
152
+ * | | mo | 0th, 1st, ..., 59th | 7 |
153
+ * | | mm | 00, 01, ..., 59 | |
154
+ * | Second | s | 0, 1, ..., 59 | |
155
+ * | | so | 0th, 1st, ..., 59th | 7 |
156
+ * | | ss | 00, 01, ..., 59 | |
157
+ * | Fraction of second | S | 0, 1, ..., 9 | |
158
+ * | | SS | 00, 01, ..., 99 | |
159
+ * | | SSS | 000, 001, ..., 999 | |
160
+ * | | SSSS | ... | 3 |
161
+ * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |
162
+ * | | XX | -0800, +0530, Z | |
163
+ * | | XXX | -08:00, +05:30, Z | |
164
+ * | | XXXX | -0800, +0530, Z, +123456 | 2 |
165
+ * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
166
+ * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |
167
+ * | | xx | -0800, +0530, +0000 | |
168
+ * | | xxx | -08:00, +05:30, +00:00 | 2 |
169
+ * | | xxxx | -0800, +0530, +0000, +123456 | |
170
+ * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
171
+ * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |
172
+ * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |
173
+ * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |
174
+ * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |
175
+ * | Seconds timestamp | t | 512969520 | 7 |
176
+ * | | tt | ... | 3,7 |
177
+ * | Milliseconds timestamp | T | 512969520900 | 7 |
178
+ * | | TT | ... | 3,7 |
179
+ * | Long localized date | P | 04/29/1453 | 7 |
180
+ * | | PP | Apr 29, 1453 | 7 |
181
+ * | | PPP | April 29th, 1453 | 7 |
182
+ * | | PPPP | Friday, April 29th, 1453 | 2,7 |
183
+ * | Long localized time | p | 12:00 AM | 7 |
184
+ * | | pp | 12:00:00 AM | 7 |
185
+ * | | ppp | 12:00:00 AM GMT+2 | 7 |
186
+ * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |
187
+ * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |
188
+ * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |
189
+ * | | PPPppp | April 29th, 1453 at ... | 7 |
190
+ * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |
191
+ * Notes:
192
+ * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
193
+ * are the same as "stand-alone" units, but are different in some languages.
194
+ * "Formatting" units are declined according to the rules of the language
195
+ * in the context of a date. "Stand-alone" units are always nominative singular:
196
+ *
197
+ * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
198
+ *
199
+ * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
200
+ *
201
+ * 2. Any sequence of the identical letters is a pattern, unless it is escaped by
202
+ * the single quote characters (see below).
203
+ * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)
204
+ * the output will be the same as default pattern for this unit, usually
205
+ * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units
206
+ * are marked with "2" in the last column of the table.
207
+ *
208
+ * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`
209
+ *
210
+ * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`
211
+ *
212
+ * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`
213
+ *
214
+ * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`
215
+ *
216
+ * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`
217
+ *
218
+ * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).
219
+ * The output will be padded with zeros to match the length of the pattern.
220
+ *
221
+ * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`
222
+ *
223
+ * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
224
+ * These tokens represent the shortest form of the quarter.
225
+ *
226
+ * 5. The main difference between `y` and `u` patterns are B.C. years:
227
+ *
228
+ * | Year | `y` | `u` |
229
+ * |------|-----|-----|
230
+ * | AC 1 | 1 | 1 |
231
+ * | BC 1 | 1 | 0 |
232
+ * | BC 2 | 2 | -1 |
233
+ *
234
+ * Also `yy` always returns the last two digits of a year,
235
+ * while `uu` pads single digit years to 2 characters and returns other years unchanged:
236
+ *
237
+ * | Year | `yy` | `uu` |
238
+ * |------|------|------|
239
+ * | 1 | 01 | 01 |
240
+ * | 14 | 14 | 14 |
241
+ * | 376 | 76 | 376 |
242
+ * | 1453 | 53 | 1453 |
243
+ *
244
+ * The same difference is true for local and ISO week-numbering years (`Y` and `R`),
245
+ * except local week-numbering years are dependent on `options.weekStartsOn`
246
+ * and `options.firstWeekContainsDate` (compare [getISOWeekYear](https://date-fns.org/docs/getISOWeekYear)
247
+ * and [getWeekYear](https://date-fns.org/docs/getWeekYear)).
248
+ *
249
+ * 6. Specific non-location timezones are currently unavailable in `date-fns`,
250
+ * so right now these tokens fall back to GMT timezones.
251
+ *
252
+ * 7. These patterns are not in the Unicode Technical Standard #35:
253
+ * - `i`: ISO day of week
254
+ * - `I`: ISO week of year
255
+ * - `R`: ISO week-numbering year
256
+ * - `t`: seconds timestamp
257
+ * - `T`: milliseconds timestamp
258
+ * - `o`: ordinal number modifier
259
+ * - `P`: long localized date
260
+ * - `p`: long localized time
261
+ *
262
+ * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
263
+ * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
264
+ *
265
+ * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
266
+ * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
267
+ *
268
+ * @param date - The original date
269
+ * @param format - The string of tokens
270
+ * @param options - An object with options
271
+ *
272
+ * @returns The formatted date string
273
+ *
274
+ * @throws `date` must not be Invalid Date
275
+ * @throws `options.locale` must contain `localize` property
276
+ * @throws `options.locale` must contain `formatLong` property
277
+ * @throws use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
278
+ * @throws use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
279
+ * @throws use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
280
+ * @throws use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
281
+ * @throws format string contains an unescaped latin alphabet character
282
+ *
283
+ * @example
284
+ * // Represent 11 February 2014 in middle-endian format:
285
+ * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')
286
+ * //=> '02/11/2014'
287
+ *
288
+ * @example
289
+ * // Represent 2 July 2014 in Esperanto:
290
+ * import { eoLocale } from 'date-fns/locale/eo'
291
+ * const result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", {
292
+ * locale: eoLocale
293
+ * })
294
+ * //=> '2-a de julio 2014'
295
+ *
296
+ * @example
297
+ * // Escape string by single quote characters:
298
+ * const result = format(new Date(2014, 6, 2, 15), "h 'o''clock'")
299
+ * //=> "3 o'clock"
300
+ */
301
+ function format(date, formatStr, options) {
302
+ const defaultOptions = getDefaultOptions();
303
+ const locale = options?.locale ?? defaultOptions.locale ?? enUS;
304
+ const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions.firstWeekContainsDate ?? defaultOptions.locale?.options?.firstWeekContainsDate ?? 1;
305
+ const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions.weekStartsOn ?? defaultOptions.locale?.options?.weekStartsOn ?? 0;
306
+ const originalDate = toDate(date, options?.in);
307
+ if (!isValid(originalDate)) throw new RangeError("Invalid time value");
308
+ let parts = formatStr.match(longFormattingTokensRegExp).map((substring) => {
309
+ const firstCharacter = substring[0];
310
+ if (firstCharacter === "p" || firstCharacter === "P") {
311
+ const longFormatter = longFormatters[firstCharacter];
312
+ return longFormatter(substring, locale.formatLong);
18
313
  }
19
- return e;
20
- }).join("").match(l).map((e) => {
21
- if (e === "''") return {
22
- isToken: !1,
314
+ return substring;
315
+ }).join("").match(formattingTokensRegExp).map((substring) => {
316
+ if (substring === "''") return {
317
+ isToken: false,
23
318
  value: "'"
24
319
  };
25
- let t = e[0];
26
- if (t === "'") return {
27
- isToken: !1,
28
- value: h(e)
320
+ const firstCharacter = substring[0];
321
+ if (firstCharacter === "'") return {
322
+ isToken: false,
323
+ value: cleanEscapedString(substring)
29
324
  };
30
- if (i[t]) return {
31
- isToken: !0,
32
- value: e
325
+ if (formatters[firstCharacter]) return {
326
+ isToken: true,
327
+ value: substring
33
328
  };
34
- if (t.match(p)) throw RangeError("Format string contains an unescaped latin alphabet character `" + t + "`");
329
+ if (firstCharacter.match(unescapedLatinCharacterRegExp)) throw new RangeError("Format string contains an unescaped latin alphabet character `" + firstCharacter + "`");
35
330
  return {
36
- isToken: !1,
37
- value: e
331
+ isToken: false,
332
+ value: substring
38
333
  };
39
334
  });
40
- _.localize.preprocessor && (x = _.localize.preprocessor(b, x));
41
- let S = {
42
- firstWeekContainsDate: v,
43
- weekStartsOn: y,
44
- locale: _
335
+ if (locale.localize.preprocessor) parts = locale.localize.preprocessor(originalDate, parts);
336
+ const formatterOptions = {
337
+ firstWeekContainsDate,
338
+ weekStartsOn,
339
+ locale
45
340
  };
46
- return x.map((e) => {
47
- if (!e.isToken) return e.value;
48
- let t = e.value;
49
- (!m?.useAdditionalWeekYearTokens && s(t) || !m?.useAdditionalDayOfYearTokens && o(t)) && c(t, f, String(d));
50
- let n = i[t[0]];
51
- return n(b, t, _.localize, S);
341
+ return parts.map((part) => {
342
+ if (!part.isToken) return part.value;
343
+ const token = part.value;
344
+ if (!options?.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token) || !options?.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) warnOrThrowProtectedError(token, formatStr, String(date));
345
+ const formatter = formatters[token[0]];
346
+ return formatter(originalDate, token, locale.localize, formatterOptions);
52
347
  }).join("");
53
348
  }
54
- function h(e) {
55
- let t = e.match(d);
56
- return t ? t[1].replace(f, "'") : e;
349
+ function cleanEscapedString(input) {
350
+ const matched = input.match(escapedStringRegExp);
351
+ if (!matched) return input;
352
+ return matched[1].replace(doubleQuoteRegExp, "'");
57
353
  }
58
- export { m as default, m as format, m as formatDate, i as formatters, a as longFormatters };
354
+ export { format as default, format, format as formatDate, formatters, longFormatters };
@@ -1 +1,31 @@
1
- const e=require("./toDate.cjs"),t=require("./differenceInCalendarDays.cjs"),n=require("./startOfYear.cjs");function r(r,i){let a=e.default(r,i?.in);return t.default(a,n.default(a))+1}exports.default=r,exports.getDayOfYear=r;
1
+ const require_toDate = require("./toDate.cjs");
2
+ const require_differenceInCalendarDays = require("./differenceInCalendarDays.cjs");
3
+ const require_startOfYear = require("./startOfYear.cjs");
4
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js
5
+ /**
6
+ * The {@link getDayOfYear} function options.
7
+ */
8
+ /**
9
+ * @name getDayOfYear
10
+ * @category Day Helpers
11
+ * @summary Get the day of the year of the given date.
12
+ *
13
+ * @description
14
+ * Get the day of the year of the given date.
15
+ *
16
+ * @param date - The given date
17
+ * @param options - The options
18
+ *
19
+ * @returns The day of year
20
+ *
21
+ * @example
22
+ * // Which day of the year is 2 July 2014?
23
+ * const result = getDayOfYear(new Date(2014, 6, 2))
24
+ * //=> 183
25
+ */
26
+ function getDayOfYear(date, options) {
27
+ const _date = require_toDate.default(date, options?.in);
28
+ return require_differenceInCalendarDays.default(_date, require_startOfYear.default(_date)) + 1;
29
+ }
30
+ exports.default = getDayOfYear;
31
+ exports.getDayOfYear = getDayOfYear;
@@ -1,9 +1,30 @@
1
- import e from "./toDate.js";
2
- import t from "./differenceInCalendarDays.js";
3
- import n from "./startOfYear.js";
1
+ import toDate from "./toDate.js";
2
+ import differenceInCalendarDays from "./differenceInCalendarDays.js";
3
+ import startOfYear from "./startOfYear.js";
4
4
  // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js
5
- function r(r, i) {
6
- let a = e(r, i?.in);
7
- return t(a, n(a)) + 1;
5
+ /**
6
+ * The {@link getDayOfYear} function options.
7
+ */
8
+ /**
9
+ * @name getDayOfYear
10
+ * @category Day Helpers
11
+ * @summary Get the day of the year of the given date.
12
+ *
13
+ * @description
14
+ * Get the day of the year of the given date.
15
+ *
16
+ * @param date - The given date
17
+ * @param options - The options
18
+ *
19
+ * @returns The day of year
20
+ *
21
+ * @example
22
+ * // Which day of the year is 2 July 2014?
23
+ * const result = getDayOfYear(new Date(2014, 6, 2))
24
+ * //=> 183
25
+ */
26
+ function getDayOfYear(date, options) {
27
+ const _date = toDate(date, options?.in);
28
+ return differenceInCalendarDays(_date, startOfYear(_date)) + 1;
8
29
  }
9
- export { r as default, r as getDayOfYear };
30
+ export { getDayOfYear as default, getDayOfYear };
@@ -1 +1,35 @@
1
- const e=require("./constants.cjs"),t=require("./toDate.cjs"),n=require("./startOfISOWeek.cjs"),r=require("./startOfISOWeekYear.cjs");function i(i,a){let o=t.default(i,a?.in),s=+n.default(o)-r.default(o);return Math.round(s/e.millisecondsInWeek)+1}exports.default=i,exports.getISOWeek=i;
1
+ const require_constants = require("./constants.cjs");
2
+ const require_toDate = require("./toDate.cjs");
3
+ const require_startOfISOWeek = require("./startOfISOWeek.cjs");
4
+ const require_startOfISOWeekYear = require("./startOfISOWeekYear.cjs");
5
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js
6
+ /**
7
+ * The {@link getISOWeek} function options.
8
+ */
9
+ /**
10
+ * @name getISOWeek
11
+ * @category ISO Week Helpers
12
+ * @summary Get the ISO week of the given date.
13
+ *
14
+ * @description
15
+ * Get the ISO week of the given date.
16
+ *
17
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
18
+ *
19
+ * @param date - The given date
20
+ * @param options - The options
21
+ *
22
+ * @returns The ISO week
23
+ *
24
+ * @example
25
+ * // Which week of the ISO-week numbering year is 2 January 2005?
26
+ * const result = getISOWeek(new Date(2005, 0, 2))
27
+ * //=> 53
28
+ */
29
+ function getISOWeek(date, options) {
30
+ const _date = require_toDate.default(date, options?.in);
31
+ const diff = +require_startOfISOWeek.default(_date) - +require_startOfISOWeekYear.default(_date);
32
+ return Math.round(diff / require_constants.millisecondsInWeek) + 1;
33
+ }
34
+ exports.default = getISOWeek;
35
+ exports.getISOWeek = getISOWeek;
@@ -1,10 +1,34 @@
1
- import { millisecondsInWeek as e } from "./constants.js";
2
- import t from "./toDate.js";
3
- import n from "./startOfISOWeek.js";
4
- import r from "./startOfISOWeekYear.js";
1
+ import { millisecondsInWeek } from "./constants.js";
2
+ import toDate from "./toDate.js";
3
+ import startOfISOWeek from "./startOfISOWeek.js";
4
+ import startOfISOWeekYear from "./startOfISOWeekYear.js";
5
5
  // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js
6
- function i(i, a) {
7
- let o = t(i, a?.in), s = +n(o) - r(o);
8
- return Math.round(s / e) + 1;
6
+ /**
7
+ * The {@link getISOWeek} function options.
8
+ */
9
+ /**
10
+ * @name getISOWeek
11
+ * @category ISO Week Helpers
12
+ * @summary Get the ISO week of the given date.
13
+ *
14
+ * @description
15
+ * Get the ISO week of the given date.
16
+ *
17
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
18
+ *
19
+ * @param date - The given date
20
+ * @param options - The options
21
+ *
22
+ * @returns The ISO week
23
+ *
24
+ * @example
25
+ * // Which week of the ISO-week numbering year is 2 January 2005?
26
+ * const result = getISOWeek(new Date(2005, 0, 2))
27
+ * //=> 53
28
+ */
29
+ function getISOWeek(date, options) {
30
+ const _date = toDate(date, options?.in);
31
+ const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date);
32
+ return Math.round(diff / millisecondsInWeek) + 1;
9
33
  }
10
- export { i as default, i as getISOWeek };
34
+ export { getISOWeek as default, getISOWeek };
@@ -1 +1,44 @@
1
- const e=require("./constructFrom.cjs"),t=require("./toDate.cjs"),n=require("./startOfISOWeek.cjs");function r(r,i){let a=t.default(r,i?.in),o=a.getFullYear(),s=e.constructFrom(a,0);s.setFullYear(o+1,0,4),s.setHours(0,0,0,0);let c=n.default(s),l=e.constructFrom(a,0);l.setFullYear(o,0,4),l.setHours(0,0,0,0);let u=n.default(l);return a.getTime()>=c.getTime()?o+1:a.getTime()>=u.getTime()?o:o-1}exports.default=r,exports.getISOWeekYear=r;
1
+ const require_constructFrom = require("./constructFrom.cjs");
2
+ const require_toDate = require("./toDate.cjs");
3
+ const require_startOfISOWeek = require("./startOfISOWeek.cjs");
4
+ // ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js
5
+ /**
6
+ * The {@link getISOWeekYear} function options.
7
+ */
8
+ /**
9
+ * @name getISOWeekYear
10
+ * @category ISO Week-Numbering Year Helpers
11
+ * @summary Get the ISO week-numbering year of the given date.
12
+ *
13
+ * @description
14
+ * Get the ISO week-numbering year of the given date,
15
+ * which always starts 3 days before the year's first Thursday.
16
+ *
17
+ * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
18
+ *
19
+ * @param date - The given date
20
+ *
21
+ * @returns The ISO week-numbering year
22
+ *
23
+ * @example
24
+ * // Which ISO-week numbering year is 2 January 2005?
25
+ * const result = getISOWeekYear(new Date(2005, 0, 2))
26
+ * //=> 2004
27
+ */
28
+ function getISOWeekYear(date, options) {
29
+ const _date = require_toDate.default(date, options?.in);
30
+ const year = _date.getFullYear();
31
+ const fourthOfJanuaryOfNextYear = require_constructFrom.constructFrom(_date, 0);
32
+ fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);
33
+ fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);
34
+ const startOfNextYear = require_startOfISOWeek.default(fourthOfJanuaryOfNextYear);
35
+ const fourthOfJanuaryOfThisYear = require_constructFrom.constructFrom(_date, 0);
36
+ fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);
37
+ fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);
38
+ const startOfThisYear = require_startOfISOWeek.default(fourthOfJanuaryOfThisYear);
39
+ if (_date.getTime() >= startOfNextYear.getTime()) return year + 1;
40
+ else if (_date.getTime() >= startOfThisYear.getTime()) return year;
41
+ else return year - 1;
42
+ }
43
+ exports.default = getISOWeekYear;
44
+ exports.getISOWeekYear = getISOWeekYear;