@senitix/ui 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/dist/accordion-BcwB0wwz.cjs +2 -0
  2. package/dist/accordion-BcwB0wwz.cjs.map +1 -0
  3. package/dist/accordion-BwnJKrKm.js +360 -0
  4. package/dist/accordion-BwnJKrKm.js.map +1 -0
  5. package/dist/appointment-scheduler-BoQQO51F.cjs +2 -0
  6. package/dist/appointment-scheduler-BoQQO51F.cjs.map +1 -0
  7. package/dist/appointment-scheduler-DHAs-mF_.js +192 -0
  8. package/dist/appointment-scheduler-DHAs-mF_.js.map +1 -0
  9. package/dist/arrow-right-CM3nmiZe.js +15 -0
  10. package/dist/arrow-right-CM3nmiZe.js.map +1 -0
  11. package/dist/arrow-right-vDxRZOfm.cjs +7 -0
  12. package/dist/arrow-right-vDxRZOfm.cjs.map +1 -0
  13. package/dist/avatar-BlEcWE7T.js +191 -0
  14. package/dist/avatar-BlEcWE7T.js.map +1 -0
  15. package/dist/avatar-Cl38Ye4J.cjs +2 -0
  16. package/dist/avatar-Cl38Ye4J.cjs.map +1 -0
  17. package/dist/badge-BZcdBG5J.cjs +23 -0
  18. package/dist/badge-BZcdBG5J.cjs.map +1 -0
  19. package/dist/badge-D0C_rP2l.js +157 -0
  20. package/dist/badge-D0C_rP2l.js.map +1 -0
  21. package/dist/button-BP_ug5gP.js +126 -0
  22. package/dist/button-BP_ug5gP.js.map +1 -0
  23. package/dist/button-CPuCii0R.cjs +2 -0
  24. package/dist/button-CPuCii0R.cjs.map +1 -0
  25. package/dist/{calendar-BFWc4IB7.js → calendar-86qoSnO7.js} +411 -462
  26. package/dist/calendar-86qoSnO7.js.map +1 -0
  27. package/dist/calendar-BH-AuyiB.cjs +7 -0
  28. package/dist/{calendar-SwL5isYC.cjs.map → calendar-BH-AuyiB.cjs.map} +1 -1
  29. package/dist/calendar-CSJ060ym.cjs +2 -0
  30. package/dist/calendar-CSJ060ym.cjs.map +1 -0
  31. package/dist/calendar-JUSWONQ0.js +17 -0
  32. package/dist/{calendar-ChJkFXXr.js.map → calendar-JUSWONQ0.js.map} +1 -1
  33. package/dist/{card-tMkUxpmW.cjs → card-CToWUN1K.cjs} +2 -2
  34. package/dist/{card-tMkUxpmW.cjs.map → card-CToWUN1K.cjs.map} +1 -1
  35. package/dist/{card-K4fxyYwE.js → card-yxbWFvZ1.js} +2 -2
  36. package/dist/{card-K4fxyYwE.js.map → card-yxbWFvZ1.js.map} +1 -1
  37. package/dist/checkbox-BmugT50K.cjs +2 -0
  38. package/dist/checkbox-BmugT50K.cjs.map +1 -0
  39. package/dist/{checkbox-CpOq5hkT.js → checkbox-CTa9e4SG.js} +95 -97
  40. package/dist/checkbox-CTa9e4SG.js.map +1 -0
  41. package/dist/chevron-left-5h87iFo_.cjs +7 -0
  42. package/dist/chevron-left-5h87iFo_.cjs.map +1 -0
  43. package/dist/chevron-left-DD5mQuvf.js +14 -0
  44. package/dist/chevron-left-DD5mQuvf.js.map +1 -0
  45. package/dist/chevron-right-D-TdAZ7l.cjs +7 -0
  46. package/dist/{chevron-right-Dvyd11q0.cjs.map → chevron-right-D-TdAZ7l.cjs.map} +1 -1
  47. package/dist/chevron-right-Di90aqSn.js +14 -0
  48. package/dist/{chevron-right-B3bovvh0.js.map → chevron-right-Di90aqSn.js.map} +1 -1
  49. package/dist/chevron-up-Bq55Db6X.cjs +7 -0
  50. package/dist/{chevron-up-B9fuiZhc.cjs.map → chevron-up-Bq55Db6X.cjs.map} +1 -1
  51. package/dist/chevron-up-Dr7EIn9V.js +12 -0
  52. package/dist/{chevron-up-CGtXOr51.js.map → chevron-up-Dr7EIn9V.js.map} +1 -1
  53. package/dist/clock-BjJE8PGr.js +15 -0
  54. package/dist/clock-BjJE8PGr.js.map +1 -0
  55. package/dist/clock-CnxBAA_O.cjs +7 -0
  56. package/dist/clock-CnxBAA_O.cjs.map +1 -0
  57. package/dist/command-BPtg-XK3.cjs +2 -0
  58. package/dist/command-BPtg-XK3.cjs.map +1 -0
  59. package/dist/command-VraXPLVI.js +404 -0
  60. package/dist/command-VraXPLVI.js.map +1 -0
  61. package/dist/components/builders/index.cjs.js +2 -0
  62. package/dist/components/builders/index.cjs.js.map +1 -0
  63. package/dist/components/builders/index.es.js +42 -0
  64. package/dist/components/builders/index.es.js.map +1 -0
  65. package/dist/components/charts/index.cjs.js +1 -1
  66. package/dist/components/charts/index.es.js +7 -6
  67. package/dist/components/charts/index.es.js.map +1 -1
  68. package/dist/components/data-display/index.cjs.js +1 -1
  69. package/dist/components/data-display/index.es.js +43 -20
  70. package/dist/components/dnd/index.cjs.js +1 -1
  71. package/dist/components/dnd/index.es.js +1 -1
  72. package/dist/components/feedback/index.cjs.js +1 -1
  73. package/dist/components/feedback/index.es.js +1 -1
  74. package/dist/components/forms/index.cjs.js +1 -1
  75. package/dist/components/forms/index.es.js +24 -23
  76. package/dist/components/forms/index.es.js.map +1 -1
  77. package/dist/components/layouts/index.cjs.js +1 -1
  78. package/dist/components/layouts/index.es.js +45 -21
  79. package/dist/components/messaging/index.cjs.js +2 -0
  80. package/dist/components/messaging/index.cjs.js.map +1 -0
  81. package/dist/components/messaging/index.es.js +15 -0
  82. package/dist/components/messaging/index.es.js.map +1 -0
  83. package/dist/components/navigation/index.cjs.js +1 -1
  84. package/dist/components/navigation/index.es.js +1 -1
  85. package/dist/components/scheduling/index.cjs.js +2 -0
  86. package/dist/components/scheduling/index.cjs.js.map +1 -0
  87. package/dist/components/scheduling/index.es.js +6 -0
  88. package/dist/components/scheduling/index.es.js.map +1 -0
  89. package/dist/components/ui/index.cjs.js +1 -1
  90. package/dist/components/ui/index.es.js +168 -158
  91. package/dist/components/ui/index.es.js.map +1 -1
  92. package/dist/dialog-BFBDL8_i.js +382 -0
  93. package/dist/dialog-BFBDL8_i.js.map +1 -0
  94. package/dist/dialog-DO5i1PED.cjs +6 -0
  95. package/dist/dialog-DO5i1PED.cjs.map +1 -0
  96. package/dist/dropdown-menu-CkCCV_tw.js +969 -0
  97. package/dist/dropdown-menu-CkCCV_tw.js.map +1 -0
  98. package/dist/dropdown-menu-ejikFvg2.cjs +7 -0
  99. package/dist/dropdown-menu-ejikFvg2.cjs.map +1 -0
  100. package/dist/ellipsis-CKhpjj5H.js +16 -0
  101. package/dist/{ellipsis-CiKEaUNP.js.map → ellipsis-CKhpjj5H.js.map} +1 -1
  102. package/dist/ellipsis-Dk7Wfc4i.cjs +7 -0
  103. package/dist/{ellipsis-BW2gWki8.cjs.map → ellipsis-Dk7Wfc4i.cjs.map} +1 -1
  104. package/dist/external-link-CGBqsrbm.cjs +7 -0
  105. package/dist/external-link-CGBqsrbm.cjs.map +1 -0
  106. package/dist/external-link-UeWW0ty3.js +16 -0
  107. package/dist/external-link-UeWW0ty3.js.map +1 -0
  108. package/dist/eye-Cved4eAo.cjs +7 -0
  109. package/dist/eye-Cved4eAo.cjs.map +1 -0
  110. package/dist/eye-KdCUpmO8.js +21 -0
  111. package/dist/eye-KdCUpmO8.js.map +1 -0
  112. package/dist/file-CHbdXCWO.js +15 -0
  113. package/dist/{file-wzTXnWqz.js.map → file-CHbdXCWO.js.map} +1 -1
  114. package/dist/file-CqYRamm8.cjs +7 -0
  115. package/dist/{file-V_hhCUhr.cjs.map → file-CqYRamm8.cjs.map} +1 -1
  116. package/dist/file-spreadsheet-CpySxI0-.cjs +7 -0
  117. package/dist/file-spreadsheet-CpySxI0-.cjs.map +1 -0
  118. package/dist/file-spreadsheet-EqZMR-mM.js +19 -0
  119. package/dist/file-spreadsheet-EqZMR-mM.js.map +1 -0
  120. package/dist/form-preview-BGdea5K7.cjs +111 -0
  121. package/dist/form-preview-BGdea5K7.cjs.map +1 -0
  122. package/dist/form-preview-C6WfeXyD.js +12075 -0
  123. package/dist/form-preview-C6WfeXyD.js.map +1 -0
  124. package/dist/full-calendar-CZMK_rPy.cjs +18 -0
  125. package/dist/full-calendar-CZMK_rPy.cjs.map +1 -0
  126. package/dist/full-calendar-CjaDgutS.js +2631 -0
  127. package/dist/full-calendar-CjaDgutS.js.map +1 -0
  128. package/dist/funnel-chart-Dfj1pOyV.cjs +6 -0
  129. package/dist/funnel-chart-Dfj1pOyV.cjs.map +1 -0
  130. package/dist/funnel-chart-o9qcEMgg.js +2952 -0
  131. package/dist/funnel-chart-o9qcEMgg.js.map +1 -0
  132. package/dist/global-search-Dhv8goH8.js +1331 -0
  133. package/dist/global-search-Dhv8goH8.js.map +1 -0
  134. package/dist/global-search-msFICB8l.cjs +22 -0
  135. package/dist/global-search-msFICB8l.cjs.map +1 -0
  136. package/dist/hooks/index.cjs.js +1 -1
  137. package/dist/hooks/index.es.js +9 -7
  138. package/dist/hooks/index.es.js.map +1 -1
  139. package/dist/{index-CwJPJKOE.js → index-BGUveO6l.js} +1077 -573
  140. package/dist/index-BGUveO6l.js.map +1 -0
  141. package/dist/{index-lT9bLt9X.cjs → index-Bhee6XHk.cjs} +2 -2
  142. package/dist/{index-lT9bLt9X.cjs.map → index-Bhee6XHk.cjs.map} +1 -1
  143. package/dist/index-CrSlyWAA.js +1090 -0
  144. package/dist/index-CrSlyWAA.js.map +1 -0
  145. package/dist/{index-Co9o9StL.js → index-D8-pHJim.js} +2 -2
  146. package/dist/{index-Co9o9StL.js.map → index-D8-pHJim.js.map} +1 -1
  147. package/dist/index-Dy_9oyP3.cjs +2 -0
  148. package/dist/index-Dy_9oyP3.cjs.map +1 -0
  149. package/dist/index-hnbbvGmb.cjs +21 -0
  150. package/dist/index-hnbbvGmb.cjs.map +1 -0
  151. package/dist/index.cjs.js +1 -1
  152. package/dist/index.es.js +434 -319
  153. package/dist/index.es.js.map +1 -1
  154. package/dist/input-Pfq8fkiV.js +2718 -0
  155. package/dist/input-Pfq8fkiV.js.map +1 -0
  156. package/dist/input-UBp7V7li.cjs +52 -0
  157. package/dist/input-UBp7V7li.cjs.map +1 -0
  158. package/dist/label-CExiitfO.js +50 -0
  159. package/dist/label-CExiitfO.js.map +1 -0
  160. package/dist/label-F0zGAiI2.cjs +2 -0
  161. package/dist/label-F0zGAiI2.cjs.map +1 -0
  162. package/dist/loader-circle-CBVYGIRp.js +14 -0
  163. package/dist/loader-circle-CBVYGIRp.js.map +1 -0
  164. package/dist/loader-circle-IaJKvYsP.cjs +7 -0
  165. package/dist/loader-circle-IaJKvYsP.cjs.map +1 -0
  166. package/dist/locale-provider-BHGNO4j7.js +1786 -0
  167. package/dist/locale-provider-BHGNO4j7.js.map +1 -0
  168. package/dist/locale-provider-BScpm-eC.cjs +2 -0
  169. package/dist/locale-provider-BScpm-eC.cjs.map +1 -0
  170. package/dist/locale-selector-D0jV4-90.cjs +12 -0
  171. package/dist/locale-selector-D0jV4-90.cjs.map +1 -0
  172. package/dist/locale-selector-n75sM9qA.js +1740 -0
  173. package/dist/locale-selector-n75sM9qA.js.map +1 -0
  174. package/dist/map-pin-CHh0xl6i.js +46 -0
  175. package/dist/map-pin-CHh0xl6i.js.map +1 -0
  176. package/dist/map-pin-DGObSZ40.cjs +17 -0
  177. package/dist/map-pin-DGObSZ40.cjs.map +1 -0
  178. package/dist/message-square-B_xLey5D.js +14 -0
  179. package/dist/message-square-B_xLey5D.js.map +1 -0
  180. package/dist/message-square-_69ua8rH.cjs +7 -0
  181. package/dist/message-square-_69ua8rH.cjs.map +1 -0
  182. package/dist/minus-BUFkTM0k.cjs +7 -0
  183. package/dist/{minus-BXBFZSZs.cjs.map → minus-BUFkTM0k.cjs.map} +1 -1
  184. package/dist/minus-DJ0tmymW.js +12 -0
  185. package/dist/{minus-DvlYtl96.js.map → minus-DJ0tmymW.js.map} +1 -1
  186. package/dist/multi-container-CytCGxsc.cjs +7 -0
  187. package/dist/multi-container-CytCGxsc.cjs.map +1 -0
  188. package/dist/multi-container-DmkgnCJN.js +799 -0
  189. package/dist/multi-container-DmkgnCJN.js.map +1 -0
  190. package/dist/multi-select-D9akBt7B.js +224 -0
  191. package/dist/multi-select-D9akBt7B.js.map +1 -0
  192. package/dist/multi-select-DxN_LuXC.cjs +7 -0
  193. package/dist/multi-select-DxN_LuXC.cjs.map +1 -0
  194. package/dist/pencil-BJULwaDl.cjs +12 -0
  195. package/dist/pencil-BJULwaDl.cjs.map +1 -0
  196. package/dist/pencil-HL0trGIs.js +31 -0
  197. package/dist/pencil-HL0trGIs.js.map +1 -0
  198. package/dist/permission-matrix-CTQ1OiTO.js +6128 -0
  199. package/dist/permission-matrix-CTQ1OiTO.js.map +1 -0
  200. package/dist/permission-matrix-DRu-cV44.cjs +93 -0
  201. package/dist/permission-matrix-DRu-cV44.cjs.map +1 -0
  202. package/dist/phone-B0J1dGIE.js +31 -0
  203. package/dist/phone-B0J1dGIE.js.map +1 -0
  204. package/dist/phone-DPA6vucM.cjs +12 -0
  205. package/dist/phone-DPA6vucM.cjs.map +1 -0
  206. package/dist/plus-Bcuujcqd.cjs +7 -0
  207. package/dist/{plus-8wKRkVu-.cjs.map → plus-Bcuujcqd.cjs.map} +1 -1
  208. package/dist/plus-D7DMDKb8.js +15 -0
  209. package/dist/{plus-CJD68KQD.js.map → plus-D7DMDKb8.js.map} +1 -1
  210. package/dist/popover-Bba1ELMX.cjs +2 -0
  211. package/dist/popover-Bba1ELMX.cjs.map +1 -0
  212. package/dist/popover-CZWAuYUL.js +281 -0
  213. package/dist/popover-CZWAuYUL.js.map +1 -0
  214. package/dist/progress-BPpsmZ48.js +218 -0
  215. package/dist/progress-BPpsmZ48.js.map +1 -0
  216. package/dist/progress-BrzjVhWG.cjs +22 -0
  217. package/dist/progress-BrzjVhWG.cjs.map +1 -0
  218. package/dist/providers/index.cjs.js +1 -1
  219. package/dist/providers/index.es.js +1 -1
  220. package/dist/radio-group-B9RM_c7e.js +244 -0
  221. package/dist/radio-group-B9RM_c7e.js.map +1 -0
  222. package/dist/radio-group-_n8TTqNQ.cjs +2 -0
  223. package/dist/radio-group-_n8TTqNQ.cjs.map +1 -0
  224. package/dist/record-dialog-footer-CQPnqhfv.js +2577 -0
  225. package/dist/record-dialog-footer-CQPnqhfv.js.map +1 -0
  226. package/dist/record-dialog-footer-DLH96eAV.cjs +37 -0
  227. package/dist/record-dialog-footer-DLH96eAV.cjs.map +1 -0
  228. package/dist/scroll-area-CGNbDUBQ.js +889 -0
  229. package/dist/scroll-area-CGNbDUBQ.js.map +1 -0
  230. package/dist/scroll-area-HsTSI_58.cjs +22 -0
  231. package/dist/scroll-area-HsTSI_58.cjs.map +1 -0
  232. package/dist/select-CEsYpjPi.cjs +2 -0
  233. package/dist/select-CEsYpjPi.cjs.map +1 -0
  234. package/dist/select-Ce2C2acZ.js +994 -0
  235. package/dist/select-Ce2C2acZ.js.map +1 -0
  236. package/dist/send-DIkOd-pu.js +21 -0
  237. package/dist/send-DIkOd-pu.js.map +1 -0
  238. package/dist/send-H6HC-rS8.cjs +7 -0
  239. package/dist/send-H6HC-rS8.cjs.map +1 -0
  240. package/dist/shared-inbox-Bv0AgLew.js +702 -0
  241. package/dist/shared-inbox-Bv0AgLew.js.map +1 -0
  242. package/dist/shared-inbox-DWEKfDX3.cjs +22 -0
  243. package/dist/shared-inbox-DWEKfDX3.cjs.map +1 -0
  244. package/dist/sheet-C0-aBGln.cjs +2 -0
  245. package/dist/sheet-C0-aBGln.cjs.map +1 -0
  246. package/dist/sheet-Cyq_eDFW.js +147 -0
  247. package/dist/sheet-Cyq_eDFW.js.map +1 -0
  248. package/dist/{skeleton-BmGbfJw3.js → skeleton-C_dwS3_6.js} +2 -2
  249. package/dist/{skeleton-BmGbfJw3.js.map → skeleton-C_dwS3_6.js.map} +1 -1
  250. package/dist/{skeleton-BSwwYaQU.cjs → skeleton-D3YsjVWD.cjs} +2 -2
  251. package/dist/{skeleton-BSwwYaQU.cjs.map → skeleton-D3YsjVWD.cjs.map} +1 -1
  252. package/dist/sortable.esm-5DsiICDg.cjs +6 -0
  253. package/dist/{sortable.esm-DcQYlXi3.cjs.map → sortable.esm-5DsiICDg.cjs.map} +1 -1
  254. package/dist/{sortable.esm-Blhf_jh1.js → sortable.esm-Cb8oRBzU.js} +42 -42
  255. package/dist/{sortable.esm-Blhf_jh1.js.map → sortable.esm-Cb8oRBzU.js.map} +1 -1
  256. package/dist/sparkline-chart-BP4bk24J.js +15881 -0
  257. package/dist/sparkline-chart-BP4bk24J.js.map +1 -0
  258. package/dist/sparkline-chart-D6SLZVjp.cjs +79 -0
  259. package/dist/sparkline-chart-D6SLZVjp.cjs.map +1 -0
  260. package/dist/styles.css +1 -0
  261. package/dist/switch-AEZvZSRV.cjs +2 -0
  262. package/dist/switch-AEZvZSRV.cjs.map +1 -0
  263. package/dist/switch-BF4LLvaU.js +147 -0
  264. package/dist/switch-BF4LLvaU.js.map +1 -0
  265. package/dist/table-2-Bn-YjZ9s.cjs +17 -0
  266. package/dist/table-2-Bn-YjZ9s.cjs.map +1 -0
  267. package/dist/table-2-C7E_N72K.js +52 -0
  268. package/dist/table-2-C7E_N72K.js.map +1 -0
  269. package/dist/textarea-4qZDuQ-C.js +206 -0
  270. package/dist/textarea-4qZDuQ-C.js.map +1 -0
  271. package/dist/textarea-Bq_zyt0L.cjs +2 -0
  272. package/dist/textarea-Bq_zyt0L.cjs.map +1 -0
  273. package/dist/tooltip-Dd7le9EO.cjs +2 -0
  274. package/dist/tooltip-Dd7le9EO.cjs.map +1 -0
  275. package/dist/tooltip-Dee-pNPI.js +338 -0
  276. package/dist/tooltip-Dee-pNPI.js.map +1 -0
  277. package/dist/trash-2-B3EP3JfM.js +18 -0
  278. package/dist/trash-2-B3EP3JfM.js.map +1 -0
  279. package/dist/trash-2-DWEeKlWT.cjs +7 -0
  280. package/dist/trash-2-DWEeKlWT.cjs.map +1 -0
  281. package/dist/trending-up-ljWtN4pj.js +15 -0
  282. package/dist/{trending-up-DPwlYzQb.js.map → trending-up-ljWtN4pj.js.map} +1 -1
  283. package/dist/trending-up-mLgmkp--.cjs +7 -0
  284. package/dist/{trending-up-D3Nfrhi3.cjs.map → trending-up-mLgmkp--.cjs.map} +1 -1
  285. package/dist/upload-2tm-XihE.cjs +7 -0
  286. package/dist/upload-2tm-XihE.cjs.map +1 -0
  287. package/dist/upload-C_JDP8O0.js +16 -0
  288. package/dist/upload-C_JDP8O0.js.map +1 -0
  289. package/dist/use-controllable-state-3ATd6Fqd.cjs +2 -0
  290. package/dist/use-controllable-state-3ATd6Fqd.cjs.map +1 -0
  291. package/dist/use-controllable-state-CEa-Zlq6.js +23 -0
  292. package/dist/use-controllable-state-CEa-Zlq6.js.map +1 -0
  293. package/dist/use-formatters-Bb0fX1lW.cjs +2 -0
  294. package/dist/{use-formatters-d97RVcmg.cjs.map → use-formatters-Bb0fX1lW.cjs.map} +1 -1
  295. package/dist/{use-formatters-l1_2c8z0.js → use-formatters-xeMS4gdV.js} +1317 -1337
  296. package/dist/{use-formatters-l1_2c8z0.js.map → use-formatters-xeMS4gdV.js.map} +1 -1
  297. package/dist/utils/index.cjs.js +1 -1
  298. package/dist/utils/index.es.js +1 -1
  299. package/dist/welcome-card-Ccbl_miQ.js +1007 -0
  300. package/dist/welcome-card-Ccbl_miQ.js.map +1 -0
  301. package/dist/welcome-card-D-ShMkaS.cjs +37 -0
  302. package/dist/welcome-card-D-ShMkaS.cjs.map +1 -0
  303. package/dist/x-BBkgEhUv.js +15 -0
  304. package/dist/x-BBkgEhUv.js.map +1 -0
  305. package/dist/x-D-El5XAY.cjs +7 -0
  306. package/dist/x-D-El5XAY.cjs.map +1 -0
  307. package/package.json +33 -13
  308. package/dist/avatar-C0aVNCG9.cjs +0 -2
  309. package/dist/avatar-C0aVNCG9.cjs.map +0 -1
  310. package/dist/avatar-CN6wcrqY.js +0 -288
  311. package/dist/avatar-CN6wcrqY.js.map +0 -1
  312. package/dist/calendar-BFWc4IB7.js.map +0 -1
  313. package/dist/calendar-BUm7YrNf.cjs +0 -2
  314. package/dist/calendar-BUm7YrNf.cjs.map +0 -1
  315. package/dist/calendar-ChJkFXXr.js +0 -11
  316. package/dist/calendar-SwL5isYC.cjs +0 -2
  317. package/dist/checkbox-CpOq5hkT.js.map +0 -1
  318. package/dist/checkbox-D7-LQyCl.cjs +0 -2
  319. package/dist/checkbox-D7-LQyCl.cjs.map +0 -1
  320. package/dist/chevron-down-DHdXqOqK.cjs +0 -2
  321. package/dist/chevron-down-DHdXqOqK.cjs.map +0 -1
  322. package/dist/chevron-down-DJ1_YIFu.js +0 -8
  323. package/dist/chevron-down-DJ1_YIFu.js.map +0 -1
  324. package/dist/chevron-right-B3bovvh0.js +0 -8
  325. package/dist/chevron-right-Dvyd11q0.cjs +0 -2
  326. package/dist/chevron-up-B9fuiZhc.cjs +0 -2
  327. package/dist/chevron-up-CGtXOr51.js +0 -6
  328. package/dist/createLucideIcon-BbeNo6vq.js +0 -56
  329. package/dist/createLucideIcon-BbeNo6vq.js.map +0 -1
  330. package/dist/createLucideIcon-i5GEhNMV.cjs +0 -2
  331. package/dist/createLucideIcon-i5GEhNMV.cjs.map +0 -1
  332. package/dist/ellipsis-BW2gWki8.cjs +0 -2
  333. package/dist/ellipsis-CiKEaUNP.js +0 -10
  334. package/dist/file-V_hhCUhr.cjs +0 -2
  335. package/dist/file-wzTXnWqz.js +0 -9
  336. package/dist/filter-tags-DjUaNXHR.cjs +0 -5
  337. package/dist/filter-tags-DjUaNXHR.cjs.map +0 -1
  338. package/dist/filter-tags-i_I8qV1N.js +0 -2658
  339. package/dist/filter-tags-i_I8qV1N.js.map +0 -1
  340. package/dist/full-calendar-7ac2FFU6.js +0 -3518
  341. package/dist/full-calendar-7ac2FFU6.js.map +0 -1
  342. package/dist/full-calendar-Cpeh5xMP.cjs +0 -8
  343. package/dist/full-calendar-Cpeh5xMP.cjs.map +0 -1
  344. package/dist/global-search-UNXjoFlI.cjs +0 -2
  345. package/dist/global-search-UNXjoFlI.cjs.map +0 -1
  346. package/dist/global-search-h1rVbP2q.js +0 -1188
  347. package/dist/global-search-h1rVbP2q.js.map +0 -1
  348. package/dist/index-CwJPJKOE.js.map +0 -1
  349. package/dist/index-CzVK9Zyb.cjs +0 -6
  350. package/dist/index-CzVK9Zyb.cjs.map +0 -1
  351. package/dist/index-l828OqQN.js +0 -288
  352. package/dist/index-l828OqQN.js.map +0 -1
  353. package/dist/index-lGzB9daF.cjs +0 -2
  354. package/dist/index-lGzB9daF.cjs.map +0 -1
  355. package/dist/input-CZrckPLk.cjs +0 -42
  356. package/dist/input-CZrckPLk.cjs.map +0 -1
  357. package/dist/input-D4AoiWxo.js +0 -3629
  358. package/dist/input-D4AoiWxo.js.map +0 -1
  359. package/dist/locale-provider-DHMwuneF.cjs +0 -2
  360. package/dist/locale-provider-DHMwuneF.cjs.map +0 -1
  361. package/dist/locale-provider-DanG6RRG.js +0 -1012
  362. package/dist/locale-provider-DanG6RRG.js.map +0 -1
  363. package/dist/locale-selector-Ppe0KTi-.cjs +0 -2
  364. package/dist/locale-selector-Ppe0KTi-.cjs.map +0 -1
  365. package/dist/locale-selector-xn2GpdP9.js +0 -1745
  366. package/dist/locale-selector-xn2GpdP9.js.map +0 -1
  367. package/dist/minus-BXBFZSZs.cjs +0 -2
  368. package/dist/minus-DvlYtl96.js +0 -6
  369. package/dist/multi-container-C2UpSw5f.js +0 -731
  370. package/dist/multi-container-C2UpSw5f.js.map +0 -1
  371. package/dist/multi-container-DMKL8c9B.cjs +0 -2
  372. package/dist/multi-container-DMKL8c9B.cjs.map +0 -1
  373. package/dist/pipeline-By5_8AFg.cjs +0 -2
  374. package/dist/pipeline-By5_8AFg.cjs.map +0 -1
  375. package/dist/pipeline-D-QNSU0U.js +0 -1036
  376. package/dist/pipeline-D-QNSU0U.js.map +0 -1
  377. package/dist/plus-8wKRkVu-.cjs +0 -2
  378. package/dist/plus-CJD68KQD.js +0 -9
  379. package/dist/popover-4V4sGe1U.js +0 -765
  380. package/dist/popover-4V4sGe1U.js.map +0 -1
  381. package/dist/popover-ivh-plLc.cjs +0 -2
  382. package/dist/popover-ivh-plLc.cjs.map +0 -1
  383. package/dist/progress-CFnuLqnS.cjs +0 -7
  384. package/dist/progress-CFnuLqnS.cjs.map +0 -1
  385. package/dist/progress-D5AsrWa6.js +0 -222
  386. package/dist/progress-D5AsrWa6.js.map +0 -1
  387. package/dist/scroll-area-DQeqDp3Y.js +0 -952
  388. package/dist/scroll-area-DQeqDp3Y.js.map +0 -1
  389. package/dist/scroll-area-DYOiJMXh.cjs +0 -2
  390. package/dist/scroll-area-DYOiJMXh.cjs.map +0 -1
  391. package/dist/select-C1rNBi6c.js +0 -974
  392. package/dist/select-C1rNBi6c.js.map +0 -1
  393. package/dist/select-m-Mqwxu3.cjs +0 -2
  394. package/dist/select-m-Mqwxu3.cjs.map +0 -1
  395. package/dist/separator-DBUivkHq.cjs +0 -2
  396. package/dist/separator-DBUivkHq.cjs.map +0 -1
  397. package/dist/separator-DsfoJx-2.js +0 -395
  398. package/dist/separator-DsfoJx-2.js.map +0 -1
  399. package/dist/sheet-BVWCpq7E.js +0 -84
  400. package/dist/sheet-BVWCpq7E.js.map +0 -1
  401. package/dist/sheet-mKiFLVnK.cjs +0 -2
  402. package/dist/sheet-mKiFLVnK.cjs.map +0 -1
  403. package/dist/sortable.esm-DcQYlXi3.cjs +0 -6
  404. package/dist/sparkline-chart-Da-ehDGv.js +0 -21082
  405. package/dist/sparkline-chart-Da-ehDGv.js.map +0 -1
  406. package/dist/sparkline-chart-ca3uTzVK.cjs +0 -68
  407. package/dist/sparkline-chart-ca3uTzVK.cjs.map +0 -1
  408. package/dist/trending-up-D3Nfrhi3.cjs +0 -2
  409. package/dist/trending-up-DPwlYzQb.js +0 -9
  410. package/dist/ui.css +0 -1
  411. package/dist/use-formatters-d97RVcmg.cjs +0 -2
  412. package/dist/welcome-card-CPolYl1D.cjs +0 -2
  413. package/dist/welcome-card-CPolYl1D.cjs.map +0 -1
  414. package/dist/welcome-card-CxMJZ8bv.js +0 -963
  415. package/dist/welcome-card-CxMJZ8bv.js.map +0 -1
@@ -1,69 +1,20 @@
1
- import { c as Se } from "./createLucideIcon-BbeNo6vq.js";
2
1
  import { jsx as s, jsxs as S, Fragment as I } from "react/jsx-runtime";
3
- import * as ce from "react";
4
- import { useState as A, useEffect as q, createContext as F, useContext as T, useLayoutEffect as tn, forwardRef as an, useRef as rn } from "react";
5
- import "react-dom";
6
- import { o as on, e as ln, c as Ne } from "./scroll-area-DQeqDp3Y.js";
7
- import { c as z } from "./index-CwJPJKOE.js";
8
- import { t as N, c as Y, s as Z, a as j, g as Me, m as sn, b as dn, e as un, d as L, f as R, h as cn, i as fe, j as fn, k as vn, l as We } from "./use-formatters-l1_2c8z0.js";
9
- import { C as mn } from "./chevron-right-B3bovvh0.js";
10
- const hn = Se("ChevronLeft", [
11
- ["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
12
- ]);
13
- const pa = Se("Clock", [
14
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
15
- ["polyline", { points: "12 6 12 12 16 14", key: "68esgv" }]
16
- ]);
17
- var yn = [
18
- "a",
19
- "button",
20
- "div",
21
- "form",
22
- "h2",
23
- "h3",
24
- "img",
25
- "input",
26
- "label",
27
- "li",
28
- "nav",
29
- "ol",
30
- "p",
31
- "select",
32
- "span",
33
- "svg",
34
- "ul"
35
- ], pn = yn.reduce((e, t) => {
36
- const n = on(`Primitive.${t}`), a = ce.forwardRef((r, o) => {
37
- const { asChild: i, ...l } = r, d = i ? n : t;
38
- return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(d, { ...l, ref: o });
39
- });
40
- return a.displayName = `Primitive.${t}`, { ...e, [t]: a };
41
- }, {}), bn = "Label", Le = ce.forwardRef((e, t) => /* @__PURE__ */ s(
42
- pn.label,
43
- {
44
- ...e,
45
- ref: t,
46
- onMouseDown: (n) => {
47
- n.target.closest("button, input, select, textarea") || (e.onMouseDown?.(n), !n.defaultPrevented && n.detail > 1 && n.preventDefault());
48
- }
49
- }
50
- ));
51
- Le.displayName = bn;
52
- var Ie = Le;
53
- const gn = ln(
54
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
55
- ), _n = ce.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ s(Ie, { ref: n, className: z(gn(), e), ...t }));
56
- _n.displayName = Ie.displayName;
2
+ import { useState as A, useEffect as q, createContext as F, useContext as T, useLayoutEffect as Qe, forwardRef as $e, useRef as en } from "react";
3
+ import { t as w, c as R, s as Z, a as j, g as Ne, m as nn, b as tn, e as an, d as L, f as Y, h as rn, i as ce, j as on, k as ln, l as Pe } from "./use-formatters-xeMS4gdV.js";
4
+ import { c as te } from "./index-BGUveO6l.js";
5
+ import { b as we } from "./button-BP_ug5gP.js";
6
+ import { C as sn } from "./chevron-right-Di90aqSn.js";
7
+ import { C as dn } from "./chevron-left-DD5mQuvf.js";
57
8
  function k(e, t) {
58
- const n = N(e);
59
- return isNaN(t) ? Y(e, NaN) : (t && n.setDate(n.getDate() + t), n);
9
+ const n = w(e);
10
+ return isNaN(t) ? R(e, NaN) : (t && n.setDate(n.getDate() + t), n);
60
11
  }
61
12
  function O(e, t) {
62
- const n = N(e);
63
- if (isNaN(t)) return Y(e, NaN);
13
+ const n = w(e);
14
+ if (isNaN(t)) return R(e, NaN);
64
15
  if (!t)
65
16
  return n;
66
- const a = n.getDate(), r = Y(e, n.getTime());
17
+ const a = n.getDate(), r = R(e, n.getTime());
67
18
  r.setMonth(n.getMonth() + t + 1, 0);
68
19
  const o = r.getDate();
69
20
  return a >= o ? r : (n.setFullYear(
@@ -76,20 +27,20 @@ function de(e, t) {
76
27
  const n = t * 7;
77
28
  return k(e, n);
78
29
  }
79
- function Dn(e, t) {
30
+ function un(e, t) {
80
31
  return O(e, t * 12);
81
32
  }
82
- function wn(e) {
33
+ function cn(e) {
83
34
  let t;
84
35
  return e.forEach(function(n) {
85
- const a = N(n);
36
+ const a = w(n);
86
37
  (t === void 0 || t < a || isNaN(Number(a))) && (t = a);
87
38
  }), t || /* @__PURE__ */ new Date(NaN);
88
39
  }
89
- function Nn(e) {
40
+ function fn(e) {
90
41
  let t;
91
42
  return e.forEach((n) => {
92
- const a = N(n);
43
+ const a = w(n);
93
44
  (!t || t > a || isNaN(+a)) && (t = a);
94
45
  }), t || /* @__PURE__ */ new Date(NaN);
95
46
  }
@@ -98,74 +49,75 @@ function C(e, t) {
98
49
  return +n == +a;
99
50
  }
100
51
  function H(e, t) {
101
- const n = N(e), a = N(t), r = n.getFullYear() - a.getFullYear(), o = n.getMonth() - a.getMonth();
52
+ const n = w(e), a = w(t), r = n.getFullYear() - a.getFullYear(), o = n.getMonth() - a.getMonth();
102
53
  return r * 12 + o;
103
54
  }
104
- function Mn(e, t, n) {
105
- const a = j(e, n), r = j(t, n), o = +a - Me(a), i = +r - Me(r);
106
- return Math.round((o - i) / sn);
55
+ function vn(e, t, n) {
56
+ const a = j(e, n), r = j(t, n), o = +a - Ne(a), i = +r - Ne(r);
57
+ return Math.round((o - i) / nn);
107
58
  }
108
- function ve(e) {
109
- const t = N(e), n = t.getMonth();
59
+ function fe(e) {
60
+ const t = w(e), n = t.getMonth();
110
61
  return t.setFullYear(t.getFullYear(), n + 1, 0), t.setHours(23, 59, 59, 999), t;
111
62
  }
112
63
  function x(e) {
113
- const t = N(e);
64
+ const t = w(e);
114
65
  return t.setDate(1), t.setHours(0, 0, 0, 0), t;
115
66
  }
116
- function me(e, t) {
117
- const n = dn(), a = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, r = N(e), o = r.getDay(), i = (o < a ? -7 : 0) + 6 - (o - a);
67
+ function ve(e, t) {
68
+ var l, d, c, u;
69
+ const n = tn(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (l = t == null ? void 0 : t.locale) == null ? void 0 : l.options) == null ? void 0 : d.weekStartsOn) ?? n.weekStartsOn ?? ((u = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, r = w(e), o = r.getDay(), i = (o < a ? -7 : 0) + 6 - (o - a);
118
70
  return r.setDate(r.getDate() + i), r.setHours(23, 59, 59, 999), r;
119
71
  }
120
- function Fe(e) {
121
- return me(e, { weekStartsOn: 1 });
72
+ function Se(e) {
73
+ return ve(e, { weekStartsOn: 1 });
122
74
  }
123
- function kn(e) {
124
- const t = N(e), n = t.getFullYear(), a = t.getMonth(), r = Y(e, 0);
75
+ function hn(e) {
76
+ const t = w(e), n = t.getFullYear(), a = t.getMonth(), r = R(e, 0);
125
77
  return r.setFullYear(n, a + 1, 0), r.setHours(0, 0, 0, 0), r.getDate();
126
78
  }
127
- function Cn(e) {
128
- return Math.trunc(+N(e) / 1e3);
79
+ function mn(e) {
80
+ return Math.trunc(+w(e) / 1e3);
129
81
  }
130
- function xn(e) {
131
- const t = N(e), n = t.getMonth();
82
+ function yn(e) {
83
+ const t = w(e), n = t.getMonth();
132
84
  return t.setFullYear(t.getFullYear(), n + 1, 0), t.setHours(0, 0, 0, 0), t;
133
85
  }
134
- function On(e, t) {
135
- return Mn(
136
- xn(e),
86
+ function bn(e, t) {
87
+ return vn(
88
+ yn(e),
137
89
  x(e),
138
90
  t
139
91
  ) + 1;
140
92
  }
141
93
  function ue(e, t) {
142
- const n = N(e), a = N(t);
94
+ const n = w(e), a = w(t);
143
95
  return n.getTime() > a.getTime();
144
96
  }
145
- function Te(e, t) {
146
- const n = N(e), a = N(t);
97
+ function We(e, t) {
98
+ const n = w(e), a = w(t);
147
99
  return +n < +a;
148
100
  }
149
101
  function he(e, t) {
150
- const n = N(e), a = N(t);
102
+ const n = w(e), a = w(t);
151
103
  return n.getFullYear() === a.getFullYear() && n.getMonth() === a.getMonth();
152
104
  }
153
- function Pn(e, t) {
154
- const n = N(e), a = N(t);
105
+ function pn(e, t) {
106
+ const n = w(e), a = w(t);
155
107
  return n.getFullYear() === a.getFullYear();
156
108
  }
157
109
  function ae(e, t) {
158
110
  return k(e, -t);
159
111
  }
160
112
  function re(e, t) {
161
- const n = N(e), a = n.getFullYear(), r = n.getDate(), o = Y(e, 0);
113
+ const n = w(e), a = n.getFullYear(), r = n.getDate(), o = R(e, 0);
162
114
  o.setFullYear(a, t, 15), o.setHours(0, 0, 0, 0);
163
- const i = kn(o);
115
+ const i = hn(o);
164
116
  return n.setMonth(t, Math.min(r, i)), n;
165
117
  }
166
- function ke(e, t) {
167
- const n = N(e);
168
- return isNaN(+n) ? Y(e, NaN) : (n.setFullYear(t), n);
118
+ function Me(e, t) {
119
+ const n = w(e);
120
+ return isNaN(+n) ? R(e, NaN) : (n.setFullYear(t), n);
169
121
  }
170
122
  var y = function() {
171
123
  return y = Object.assign || function(t) {
@@ -176,7 +128,7 @@ var y = function() {
176
128
  return t;
177
129
  }, y.apply(this, arguments);
178
130
  };
179
- function Sn(e, t) {
131
+ function gn(e, t) {
180
132
  var n = {};
181
133
  for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
182
134
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -184,7 +136,7 @@ function Sn(e, t) {
184
136
  t.indexOf(a[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[r]) && (n[a[r]] = e[a[r]]);
185
137
  return n;
186
138
  }
187
- function Re(e, t, n) {
139
+ function Le(e, t, n) {
188
140
  for (var a = 0, r = t.length, o; a < r; a++)
189
141
  (o || !(a in t)) && (o || (o = Array.prototype.slice.call(t, 0, a)), o[a] = t[a]);
190
142
  return e.concat(o || Array.prototype.slice.call(t));
@@ -198,7 +150,7 @@ function U(e) {
198
150
  function X(e) {
199
151
  return e.mode === "single";
200
152
  }
201
- var Wn = {
153
+ var _n = {
202
154
  root: "rdp",
203
155
  multiple_months: "rdp-multiple_months",
204
156
  with_weeknumber: "rdp-with_weeknumber",
@@ -241,63 +193,63 @@ var Wn = {
241
193
  day_range_end: "rdp-day_range_end",
242
194
  day_range_middle: "rdp-day_range_middle"
243
195
  };
244
- function Ln(e, t) {
245
- return R(e, "LLLL y", t);
196
+ function Dn(e, t) {
197
+ return Y(e, "LLLL y", t);
246
198
  }
247
- function In(e, t) {
248
- return R(e, "d", t);
199
+ function Nn(e, t) {
200
+ return Y(e, "d", t);
249
201
  }
250
- function Fn(e, t) {
251
- return R(e, "LLLL", t);
202
+ function wn(e, t) {
203
+ return Y(e, "LLLL", t);
252
204
  }
253
- function Tn(e) {
205
+ function Mn(e) {
254
206
  return "".concat(e);
255
207
  }
256
- function Rn(e, t) {
257
- return R(e, "cccccc", t);
208
+ function kn(e, t) {
209
+ return Y(e, "cccccc", t);
258
210
  }
259
- function Yn(e, t) {
260
- return R(e, "yyyy", t);
211
+ function Cn(e, t) {
212
+ return Y(e, "yyyy", t);
261
213
  }
262
- var En = /* @__PURE__ */ Object.freeze({
214
+ var xn = /* @__PURE__ */ Object.freeze({
263
215
  __proto__: null,
264
- formatCaption: Ln,
265
- formatDay: In,
266
- formatMonthCaption: Fn,
267
- formatWeekNumber: Tn,
268
- formatWeekdayName: Rn,
269
- formatYearCaption: Yn
270
- }), Bn = function(e, t, n) {
271
- return R(e, "do MMMM (EEEE)", n);
272
- }, An = function() {
216
+ formatCaption: Dn,
217
+ formatDay: Nn,
218
+ formatMonthCaption: wn,
219
+ formatWeekNumber: Mn,
220
+ formatWeekdayName: kn,
221
+ formatYearCaption: Cn
222
+ }), On = function(e, t, n) {
223
+ return Y(e, "do MMMM (EEEE)", n);
224
+ }, Pn = function() {
273
225
  return "Month: ";
274
- }, jn = function() {
226
+ }, Sn = function() {
275
227
  return "Go to next month";
276
- }, Hn = function() {
228
+ }, Wn = function() {
277
229
  return "Go to previous month";
278
- }, Kn = function(e, t) {
279
- return R(e, "cccc", t);
280
- }, Un = function(e) {
230
+ }, Ln = function(e, t) {
231
+ return Y(e, "cccc", t);
232
+ }, In = function(e) {
281
233
  return "Week n. ".concat(e);
282
- }, Vn = function() {
234
+ }, Fn = function() {
283
235
  return "Year: ";
284
- }, zn = /* @__PURE__ */ Object.freeze({
236
+ }, Tn = /* @__PURE__ */ Object.freeze({
285
237
  __proto__: null,
286
- labelDay: Bn,
287
- labelMonthDropdown: An,
288
- labelNext: jn,
289
- labelPrevious: Hn,
290
- labelWeekNumber: Un,
291
- labelWeekday: Kn,
292
- labelYearDropdown: Vn
238
+ labelDay: On,
239
+ labelMonthDropdown: Pn,
240
+ labelNext: Sn,
241
+ labelPrevious: Wn,
242
+ labelWeekNumber: In,
243
+ labelWeekday: Ln,
244
+ labelYearDropdown: Fn
293
245
  });
294
- function $n() {
295
- var e = "buttons", t = Wn, n = un, a = {}, r = {}, o = 1, i = {}, l = /* @__PURE__ */ new Date();
246
+ function Yn() {
247
+ var e = "buttons", t = _n, n = an, a = {}, r = {}, o = 1, i = {}, l = /* @__PURE__ */ new Date();
296
248
  return {
297
249
  captionLayout: e,
298
250
  classNames: t,
299
- formatters: En,
300
- labels: zn,
251
+ formatters: xn,
252
+ labels: Tn,
301
253
  locale: n,
302
254
  modifiersClassNames: a,
303
255
  modifiers: r,
@@ -307,81 +259,81 @@ function $n() {
307
259
  mode: "default"
308
260
  };
309
261
  }
310
- function Zn(e) {
262
+ function Rn(e) {
311
263
  var t = e.fromYear, n = e.toYear, a = e.fromMonth, r = e.toMonth, o = e.fromDate, i = e.toDate;
312
- return a ? o = x(a) : t && (o = new Date(t, 0, 1)), r ? i = ve(r) : n && (i = new Date(n, 11, 31)), {
264
+ return a ? o = x(a) : t && (o = new Date(t, 0, 1)), r ? i = fe(r) : n && (i = new Date(n, 11, 31)), {
313
265
  fromDate: o ? Z(o) : void 0,
314
266
  toDate: i ? Z(i) : void 0
315
267
  };
316
268
  }
317
- var Ye = F(void 0);
318
- function Gn(e) {
319
- var t, n = e.initialProps, a = $n(), r = Zn(n), o = r.fromDate, i = r.toDate, l = (t = n.captionLayout) !== null && t !== void 0 ? t : a.captionLayout;
269
+ var Ie = F(void 0);
270
+ function En(e) {
271
+ var t, n = e.initialProps, a = Yn(), r = Rn(n), o = r.fromDate, i = r.toDate, l = (t = n.captionLayout) !== null && t !== void 0 ? t : a.captionLayout;
320
272
  l !== "buttons" && (!o || !i) && (l = "buttons");
321
273
  var d;
322
274
  (X(n) || K(n) || U(n)) && (d = n.onSelect);
323
275
  var c = y(y(y({}, a), n), { captionLayout: l, classNames: y(y({}, a.classNames), n.classNames), components: y({}, n.components), formatters: y(y({}, a.formatters), n.formatters), fromDate: o, labels: y(y({}, a.labels), n.labels), mode: n.mode || a.mode, modifiers: y(y({}, a.modifiers), n.modifiers), modifiersClassNames: y(y({}, a.modifiersClassNames), n.modifiersClassNames), onSelect: d, styles: y(y({}, a.styles), n.styles), toDate: i });
324
- return s(Ye.Provider, { value: c, children: e.children });
276
+ return s(Ie.Provider, { value: c, children: e.children });
325
277
  }
326
278
  function D() {
327
- var e = T(Ye);
279
+ var e = T(Ie);
328
280
  if (!e)
329
281
  throw new Error("useDayPicker must be used within a DayPickerProvider.");
330
282
  return e;
331
283
  }
332
- function Ee(e) {
284
+ function Fe(e) {
333
285
  var t = D(), n = t.locale, a = t.classNames, r = t.styles, o = t.formatters.formatCaption;
334
286
  return s("div", { className: a.caption_label, style: r.caption_label, "aria-live": "polite", role: "presentation", id: e.id, children: o(e.displayMonth, { locale: n }) });
335
287
  }
336
- function qn(e) {
288
+ function Bn(e) {
337
289
  return s("svg", y({ width: "8px", height: "8px", viewBox: "0 0 120 120", "data-testid": "iconDropdown" }, e, { children: s("path", { d: "M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z", fill: "currentColor", fillRule: "nonzero" }) }));
338
290
  }
339
- function Be(e) {
340
- var t, n, a = e.onChange, r = e.value, o = e.children, i = e.caption, l = e.className, d = e.style, c = D(), u = (n = (t = c.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && n !== void 0 ? n : qn;
291
+ function Te(e) {
292
+ var t, n, a = e.onChange, r = e.value, o = e.children, i = e.caption, l = e.className, d = e.style, c = D(), u = (n = (t = c.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && n !== void 0 ? n : Bn;
341
293
  return S("div", { className: l, style: d, children: [s("span", { className: c.classNames.vhidden, children: e["aria-label"] }), s("select", { name: e.name, "aria-label": e["aria-label"], className: c.classNames.dropdown, style: c.styles.dropdown, value: r, onChange: a, children: o }), S("div", { className: c.classNames.caption_label, style: c.styles.caption_label, "aria-hidden": "true", children: [i, s(u, { className: c.classNames.dropdown_icon, style: c.styles.dropdown_icon })] })] });
342
294
  }
343
- function Xn(e) {
295
+ function An(e) {
344
296
  var t, n = D(), a = n.fromDate, r = n.toDate, o = n.styles, i = n.locale, l = n.formatters.formatMonthCaption, d = n.classNames, c = n.components, u = n.labels.labelMonthDropdown;
345
297
  if (!a)
346
298
  return s(I, {});
347
299
  if (!r)
348
300
  return s(I, {});
349
301
  var f = [];
350
- if (Pn(a, r))
351
- for (var m = x(a), h = a.getMonth(); h <= r.getMonth(); h++)
352
- f.push(re(m, h));
302
+ if (pn(a, r))
303
+ for (var h = x(a), m = a.getMonth(); m <= r.getMonth(); m++)
304
+ f.push(re(h, m));
353
305
  else
354
- for (var m = x(/* @__PURE__ */ new Date()), h = 0; h <= 11; h++)
355
- f.push(re(m, h));
356
- var b = function(g) {
357
- var M = Number(g.target.value), w = re(x(e.displayMonth), M);
358
- e.onChange(w);
359
- }, _ = (t = c?.Dropdown) !== null && t !== void 0 ? t : Be;
360
- return s(_, { name: "months", "aria-label": u(), className: d.dropdown_month, style: o.dropdown_month, onChange: b, value: e.displayMonth.getMonth(), caption: l(e.displayMonth, { locale: i }), children: f.map(function(g) {
306
+ for (var h = x(/* @__PURE__ */ new Date()), m = 0; m <= 11; m++)
307
+ f.push(re(h, m));
308
+ var p = function(g) {
309
+ var M = Number(g.target.value), N = re(x(e.displayMonth), M);
310
+ e.onChange(N);
311
+ }, _ = (t = c == null ? void 0 : c.Dropdown) !== null && t !== void 0 ? t : Te;
312
+ return s(_, { name: "months", "aria-label": u(), className: d.dropdown_month, style: o.dropdown_month, onChange: p, value: e.displayMonth.getMonth(), caption: l(e.displayMonth, { locale: i }), children: f.map(function(g) {
361
313
  return s("option", { value: g.getMonth(), children: l(g, { locale: i }) }, g.getMonth());
362
314
  }) });
363
315
  }
364
- function Jn(e) {
365
- var t, n = e.displayMonth, a = D(), r = a.fromDate, o = a.toDate, i = a.locale, l = a.styles, d = a.classNames, c = a.components, u = a.formatters.formatYearCaption, f = a.labels.labelYearDropdown, m = [];
316
+ function jn(e) {
317
+ var t, n = e.displayMonth, a = D(), r = a.fromDate, o = a.toDate, i = a.locale, l = a.styles, d = a.classNames, c = a.components, u = a.formatters.formatYearCaption, f = a.labels.labelYearDropdown, h = [];
366
318
  if (!r)
367
319
  return s(I, {});
368
320
  if (!o)
369
321
  return s(I, {});
370
- for (var h = r.getFullYear(), b = o.getFullYear(), _ = h; _ <= b; _++)
371
- m.push(ke(cn(/* @__PURE__ */ new Date()), _));
372
- var g = function(w) {
373
- var E = ke(x(n), Number(w.target.value));
322
+ for (var m = r.getFullYear(), p = o.getFullYear(), _ = m; _ <= p; _++)
323
+ h.push(Me(rn(/* @__PURE__ */ new Date()), _));
324
+ var g = function(N) {
325
+ var E = Me(x(n), Number(N.target.value));
374
326
  e.onChange(E);
375
- }, M = (t = c?.Dropdown) !== null && t !== void 0 ? t : Be;
376
- return s(M, { name: "years", "aria-label": f(), className: d.dropdown_year, style: l.dropdown_year, onChange: g, value: n.getFullYear(), caption: u(n, { locale: i }), children: m.map(function(w) {
377
- return s("option", { value: w.getFullYear(), children: u(w, { locale: i }) }, w.getFullYear());
327
+ }, M = (t = c == null ? void 0 : c.Dropdown) !== null && t !== void 0 ? t : Te;
328
+ return s(M, { name: "years", "aria-label": f(), className: d.dropdown_year, style: l.dropdown_year, onChange: g, value: n.getFullYear(), caption: u(n, { locale: i }), children: h.map(function(N) {
329
+ return s("option", { value: N.getFullYear(), children: u(N, { locale: i }) }, N.getFullYear());
378
330
  }) });
379
331
  }
380
- function Qn(e, t) {
332
+ function Hn(e, t) {
381
333
  var n = A(e), a = n[0], r = n[1], o = t === void 0 ? a : t;
382
334
  return [o, r];
383
335
  }
384
- function et(e) {
336
+ function Kn(e) {
385
337
  var t = e.month, n = e.defaultMonth, a = e.today, r = t || n || a || /* @__PURE__ */ new Date(), o = e.toDate, i = e.fromDate, l = e.numberOfMonths, d = l === void 0 ? 1 : l;
386
338
  if (o && H(o, r) < 0) {
387
339
  var c = -1 * (d - 1);
@@ -389,8 +341,8 @@ function et(e) {
389
341
  }
390
342
  return i && H(r, i) < 0 && (r = i), x(r);
391
343
  }
392
- function nt() {
393
- var e = D(), t = et(e), n = Qn(t, e.month), a = n[0], r = n[1], o = function(i) {
344
+ function Un() {
345
+ var e = D(), t = Kn(e), n = Hn(t, e.month), a = n[0], r = n[1], o = function(i) {
394
346
  var l;
395
347
  if (!e.disableNavigation) {
396
348
  var d = x(i);
@@ -399,14 +351,14 @@ function nt() {
399
351
  };
400
352
  return [a, o];
401
353
  }
402
- function tt(e, t) {
354
+ function Vn(e, t) {
403
355
  for (var n = t.reverseMonths, a = t.numberOfMonths, r = x(e), o = x(O(r, a)), i = H(o, r), l = [], d = 0; d < i; d++) {
404
356
  var c = O(r, d);
405
357
  l.push(c);
406
358
  }
407
359
  return n && (l = l.reverse()), l;
408
360
  }
409
- function at(e, t) {
361
+ function zn(e, t) {
410
362
  if (!t.disableNavigation) {
411
363
  var n = t.toDate, a = t.pagedNavigation, r = t.numberOfMonths, o = r === void 0 ? 1 : r, i = a ? o : 1, l = x(e);
412
364
  if (!n)
@@ -416,7 +368,7 @@ function at(e, t) {
416
368
  return O(l, i);
417
369
  }
418
370
  }
419
- function rt(e, t) {
371
+ function Zn(e, t) {
420
372
  if (!t.disableNavigation) {
421
373
  var n = t.fromDate, a = t.pagedNavigation, r = t.numberOfMonths, o = r === void 0 ? 1 : r, i = a ? o : 1, l = x(e);
422
374
  if (!n)
@@ -426,14 +378,14 @@ function rt(e, t) {
426
378
  return O(l, -i);
427
379
  }
428
380
  }
429
- var Ae = F(void 0);
430
- function ot(e) {
431
- var t = D(), n = nt(), a = n[0], r = n[1], o = tt(a, t), i = at(a, t), l = rt(a, t), d = function(f) {
432
- return o.some(function(m) {
433
- return he(f, m);
381
+ var Ye = F(void 0);
382
+ function Gn(e) {
383
+ var t = D(), n = Un(), a = n[0], r = n[1], o = Vn(a, t), i = zn(a, t), l = Zn(a, t), d = function(f) {
384
+ return o.some(function(h) {
385
+ return he(f, h);
434
386
  });
435
- }, c = function(f, m) {
436
- d(f) || (m && Te(f, m) ? r(O(f, 1 + t.numberOfMonths * -1)) : r(f));
387
+ }, c = function(f, h) {
388
+ d(f) || (h && We(f, h) ? r(O(f, 1 + t.numberOfMonths * -1)) : r(f));
437
389
  }, u = {
438
390
  currentMonth: a,
439
391
  displayMonths: o,
@@ -443,86 +395,86 @@ function ot(e) {
443
395
  nextMonth: i,
444
396
  isDateDisplayed: d
445
397
  };
446
- return s(Ae.Provider, { value: u, children: e.children });
398
+ return s(Ye.Provider, { value: u, children: e.children });
447
399
  }
448
400
  function V() {
449
- var e = T(Ae);
401
+ var e = T(Ye);
450
402
  if (!e)
451
403
  throw new Error("useNavigation must be used within a NavigationProvider");
452
404
  return e;
453
405
  }
454
- function Ce(e) {
406
+ function ke(e) {
455
407
  var t, n = D(), a = n.classNames, r = n.styles, o = n.components, i = V().goToMonth, l = function(u) {
456
408
  i(O(u, e.displayIndex ? -e.displayIndex : 0));
457
- }, d = (t = o?.CaptionLabel) !== null && t !== void 0 ? t : Ee, c = s(d, { id: e.id, displayMonth: e.displayMonth });
458
- return S("div", { className: a.caption_dropdowns, style: r.caption_dropdowns, children: [s("div", { className: a.vhidden, children: c }), s(Xn, { onChange: l, displayMonth: e.displayMonth }), s(Jn, { onChange: l, displayMonth: e.displayMonth })] });
409
+ }, d = (t = o == null ? void 0 : o.CaptionLabel) !== null && t !== void 0 ? t : Fe, c = s(d, { id: e.id, displayMonth: e.displayMonth });
410
+ return S("div", { className: a.caption_dropdowns, style: r.caption_dropdowns, children: [s("div", { className: a.vhidden, children: c }), s(An, { onChange: l, displayMonth: e.displayMonth }), s(jn, { onChange: l, displayMonth: e.displayMonth })] });
459
411
  }
460
- function it(e) {
412
+ function qn(e) {
461
413
  return s("svg", y({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: s("path", { d: "M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z", fill: "currentColor", fillRule: "nonzero" }) }));
462
414
  }
463
- function lt(e) {
415
+ function Xn(e) {
464
416
  return s("svg", y({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: s("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" }) }));
465
417
  }
466
- var G = an(function(e, t) {
418
+ var G = $e(function(e, t) {
467
419
  var n = D(), a = n.classNames, r = n.styles, o = [a.button_reset, a.button];
468
420
  e.className && o.push(e.className);
469
421
  var i = o.join(" "), l = y(y({}, r.button_reset), r.button);
470
422
  return e.style && Object.assign(l, e.style), s("button", y({}, e, { ref: t, type: "button", className: i, style: l }));
471
423
  });
472
- function st(e) {
424
+ function Jn(e) {
473
425
  var t, n, a = D(), r = a.dir, o = a.locale, i = a.classNames, l = a.styles, d = a.labels, c = d.labelPrevious, u = d.labelNext, f = a.components;
474
426
  if (!e.nextMonth && !e.previousMonth)
475
427
  return s(I, {});
476
- var m = c(e.previousMonth, { locale: o }), h = [
428
+ var h = c(e.previousMonth, { locale: o }), m = [
477
429
  i.nav_button,
478
430
  i.nav_button_previous
479
- ].join(" "), b = u(e.nextMonth, { locale: o }), _ = [
431
+ ].join(" "), p = u(e.nextMonth, { locale: o }), _ = [
480
432
  i.nav_button,
481
433
  i.nav_button_next
482
- ].join(" "), g = (t = f?.IconRight) !== null && t !== void 0 ? t : lt, M = (n = f?.IconLeft) !== null && n !== void 0 ? n : it;
483
- return S("div", { className: i.nav, style: l.nav, children: [!e.hidePrevious && s(G, { name: "previous-month", "aria-label": m, className: h, style: l.nav_button_previous, disabled: !e.previousMonth, onClick: e.onPreviousClick, children: r === "rtl" ? s(g, { className: i.nav_icon, style: l.nav_icon }) : s(M, { className: i.nav_icon, style: l.nav_icon }) }), !e.hideNext && s(G, { name: "next-month", "aria-label": b, className: _, style: l.nav_button_next, disabled: !e.nextMonth, onClick: e.onNextClick, children: r === "rtl" ? s(M, { className: i.nav_icon, style: l.nav_icon }) : s(g, { className: i.nav_icon, style: l.nav_icon }) })] });
434
+ ].join(" "), g = (t = f == null ? void 0 : f.IconRight) !== null && t !== void 0 ? t : Xn, M = (n = f == null ? void 0 : f.IconLeft) !== null && n !== void 0 ? n : qn;
435
+ return S("div", { className: i.nav, style: l.nav, children: [!e.hidePrevious && s(G, { name: "previous-month", "aria-label": h, className: m, style: l.nav_button_previous, disabled: !e.previousMonth, onClick: e.onPreviousClick, children: r === "rtl" ? s(g, { className: i.nav_icon, style: l.nav_icon }) : s(M, { className: i.nav_icon, style: l.nav_icon }) }), !e.hideNext && s(G, { name: "next-month", "aria-label": p, className: _, style: l.nav_button_next, disabled: !e.nextMonth, onClick: e.onNextClick, children: r === "rtl" ? s(M, { className: i.nav_icon, style: l.nav_icon }) : s(g, { className: i.nav_icon, style: l.nav_icon }) })] });
484
436
  }
485
- function xe(e) {
486
- var t = D().numberOfMonths, n = V(), a = n.previousMonth, r = n.nextMonth, o = n.goToMonth, i = n.displayMonths, l = i.findIndex(function(b) {
487
- return he(e.displayMonth, b);
488
- }), d = l === 0, c = l === i.length - 1, u = t > 1 && (d || !c), f = t > 1 && (c || !d), m = function() {
437
+ function Ce(e) {
438
+ var t = D().numberOfMonths, n = V(), a = n.previousMonth, r = n.nextMonth, o = n.goToMonth, i = n.displayMonths, l = i.findIndex(function(p) {
439
+ return he(e.displayMonth, p);
440
+ }), d = l === 0, c = l === i.length - 1, u = t > 1 && (d || !c), f = t > 1 && (c || !d), h = function() {
489
441
  a && o(a);
490
- }, h = function() {
442
+ }, m = function() {
491
443
  r && o(r);
492
444
  };
493
- return s(st, { displayMonth: e.displayMonth, hideNext: u, hidePrevious: f, nextMonth: r, previousMonth: a, onPreviousClick: m, onNextClick: h });
445
+ return s(Jn, { displayMonth: e.displayMonth, hideNext: u, hidePrevious: f, nextMonth: r, previousMonth: a, onPreviousClick: h, onNextClick: m });
494
446
  }
495
- function dt(e) {
496
- var t, n = D(), a = n.classNames, r = n.disableNavigation, o = n.styles, i = n.captionLayout, l = n.components, d = (t = l?.CaptionLabel) !== null && t !== void 0 ? t : Ee, c;
497
- return r ? c = s(d, { id: e.id, displayMonth: e.displayMonth }) : i === "dropdown" ? c = s(Ce, { displayMonth: e.displayMonth, id: e.id }) : i === "dropdown-buttons" ? c = S(I, { children: [s(Ce, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id }), s(xe, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id })] }) : c = S(I, { children: [s(d, { id: e.id, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), s(xe, { displayMonth: e.displayMonth, id: e.id })] }), s("div", { className: a.caption, style: o.caption, children: c });
447
+ function Qn(e) {
448
+ var t, n = D(), a = n.classNames, r = n.disableNavigation, o = n.styles, i = n.captionLayout, l = n.components, d = (t = l == null ? void 0 : l.CaptionLabel) !== null && t !== void 0 ? t : Fe, c;
449
+ return r ? c = s(d, { id: e.id, displayMonth: e.displayMonth }) : i === "dropdown" ? c = s(ke, { displayMonth: e.displayMonth, id: e.id }) : i === "dropdown-buttons" ? c = S(I, { children: [s(ke, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id }), s(Ce, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id })] }) : c = S(I, { children: [s(d, { id: e.id, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), s(Ce, { displayMonth: e.displayMonth, id: e.id })] }), s("div", { className: a.caption, style: o.caption, children: c });
498
450
  }
499
- function ut(e) {
451
+ function $n(e) {
500
452
  var t = D(), n = t.footer, a = t.styles, r = t.classNames.tfoot;
501
453
  return n ? s("tfoot", { className: r, style: a.tfoot, children: s("tr", { children: s("td", { colSpan: 8, children: n }) }) }) : s(I, {});
502
454
  }
503
- function ct(e, t, n) {
504
- for (var a = n ? fe(/* @__PURE__ */ new Date()) : j(/* @__PURE__ */ new Date(), { locale: e, weekStartsOn: t }), r = [], o = 0; o < 7; o++) {
455
+ function et(e, t, n) {
456
+ for (var a = n ? ce(/* @__PURE__ */ new Date()) : j(/* @__PURE__ */ new Date(), { locale: e, weekStartsOn: t }), r = [], o = 0; o < 7; o++) {
505
457
  var i = k(a, o);
506
458
  r.push(i);
507
459
  }
508
460
  return r;
509
461
  }
510
- function ft() {
511
- var e = D(), t = e.classNames, n = e.styles, a = e.showWeekNumber, r = e.locale, o = e.weekStartsOn, i = e.ISOWeek, l = e.formatters.formatWeekdayName, d = e.labels.labelWeekday, c = ct(r, o, i);
462
+ function nt() {
463
+ var e = D(), t = e.classNames, n = e.styles, a = e.showWeekNumber, r = e.locale, o = e.weekStartsOn, i = e.ISOWeek, l = e.formatters.formatWeekdayName, d = e.labels.labelWeekday, c = et(r, o, i);
512
464
  return S("tr", { style: n.head_row, className: t.head_row, children: [a && s("td", { style: n.head_cell, className: t.head_cell }), c.map(function(u, f) {
513
465
  return s("th", { scope: "col", className: t.head_cell, style: n.head_cell, "aria-label": d(u, { locale: r }), children: l(u, { locale: r }) }, f);
514
466
  })] });
515
467
  }
516
- function vt() {
517
- var e, t = D(), n = t.classNames, a = t.styles, r = t.components, o = (e = r?.HeadRow) !== null && e !== void 0 ? e : ft;
468
+ function tt() {
469
+ var e, t = D(), n = t.classNames, a = t.styles, r = t.components, o = (e = r == null ? void 0 : r.HeadRow) !== null && e !== void 0 ? e : nt;
518
470
  return s("thead", { style: a.head, className: n.head, children: s(o, {}) });
519
471
  }
520
- function mt(e) {
472
+ function at(e) {
521
473
  var t = D(), n = t.locale, a = t.formatters.formatDay;
522
474
  return s(I, { children: a(e.date, { locale: n }) });
523
475
  }
524
- var ye = F(void 0);
525
- function ht(e) {
476
+ var me = F(void 0);
477
+ function rt(e) {
526
478
  if (!K(e.initialProps)) {
527
479
  var t = {
528
480
  selected: void 0,
@@ -530,35 +482,35 @@ function ht(e) {
530
482
  disabled: []
531
483
  }
532
484
  };
533
- return s(ye.Provider, { value: t, children: e.children });
485
+ return s(me.Provider, { value: t, children: e.children });
534
486
  }
535
- return s(yt, { initialProps: e.initialProps, children: e.children });
487
+ return s(ot, { initialProps: e.initialProps, children: e.children });
536
488
  }
537
- function yt(e) {
489
+ function ot(e) {
538
490
  var t = e.initialProps, n = e.children, a = t.selected, r = t.min, o = t.max, i = function(c, u, f) {
539
- var m, h;
540
- (m = t.onDayClick) === null || m === void 0 || m.call(t, c, u, f);
541
- var b = !!(u.selected && r && a?.length === r);
542
- if (!b) {
543
- var _ = !!(!u.selected && o && a?.length === o);
491
+ var h, m;
492
+ (h = t.onDayClick) === null || h === void 0 || h.call(t, c, u, f);
493
+ var p = !!(u.selected && r && (a == null ? void 0 : a.length) === r);
494
+ if (!p) {
495
+ var _ = !!(!u.selected && o && (a == null ? void 0 : a.length) === o);
544
496
  if (!_) {
545
- var g = a ? Re([], a) : [];
497
+ var g = a ? Le([], a) : [];
546
498
  if (u.selected) {
547
- var M = g.findIndex(function(w) {
548
- return C(c, w);
499
+ var M = g.findIndex(function(N) {
500
+ return C(c, N);
549
501
  });
550
502
  g.splice(M, 1);
551
503
  } else
552
504
  g.push(c);
553
- (h = t.onSelect) === null || h === void 0 || h.call(t, g, c, u, f);
505
+ (m = t.onSelect) === null || m === void 0 || m.call(t, g, c, u, f);
554
506
  }
555
507
  }
556
508
  }, l = {
557
509
  disabled: []
558
510
  };
559
511
  a && l.disabled.push(function(c) {
560
- var u = o && a.length > o - 1, f = a.some(function(m) {
561
- return C(m, c);
512
+ var u = o && a.length > o - 1, f = a.some(function(h) {
513
+ return C(h, c);
562
514
  });
563
515
  return !!(u && !f);
564
516
  });
@@ -567,20 +519,20 @@ function yt(e) {
567
519
  onDayClick: i,
568
520
  modifiers: l
569
521
  };
570
- return s(ye.Provider, { value: d, children: n });
522
+ return s(me.Provider, { value: d, children: n });
571
523
  }
572
- function pe() {
573
- var e = T(ye);
524
+ function ye() {
525
+ var e = T(me);
574
526
  if (!e)
575
527
  throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");
576
528
  return e;
577
529
  }
578
- function pt(e, t) {
530
+ function it(e, t) {
579
531
  var n = t || {}, a = n.from, r = n.to;
580
- return a && r ? C(r, e) && C(a, e) ? void 0 : C(r, e) ? { from: r, to: void 0 } : C(a, e) ? void 0 : ue(a, e) ? { from: e, to: r } : { from: a, to: e } : r ? ue(e, r) ? { from: r, to: e } : { from: e, to: r } : a ? Te(e, a) ? { from: e, to: a } : { from: a, to: e } : { from: e, to: void 0 };
532
+ return a && r ? C(r, e) && C(a, e) ? void 0 : C(r, e) ? { from: r, to: void 0 } : C(a, e) ? void 0 : ue(a, e) ? { from: e, to: r } : { from: a, to: e } : r ? ue(e, r) ? { from: r, to: e } : { from: e, to: r } : a ? We(e, a) ? { from: e, to: a } : { from: a, to: e } : { from: e, to: void 0 };
581
533
  }
582
534
  var be = F(void 0);
583
- function bt(e) {
535
+ function lt(e) {
584
536
  if (!U(e.initialProps)) {
585
537
  var t = {
586
538
  selected: void 0,
@@ -593,14 +545,14 @@ function bt(e) {
593
545
  };
594
546
  return s(be.Provider, { value: t, children: e.children });
595
547
  }
596
- return s(gt, { initialProps: e.initialProps, children: e.children });
548
+ return s(st, { initialProps: e.initialProps, children: e.children });
597
549
  }
598
- function gt(e) {
599
- var t = e.initialProps, n = e.children, a = t.selected, r = a || {}, o = r.from, i = r.to, l = t.min, d = t.max, c = function(h, b, _) {
550
+ function st(e) {
551
+ var t = e.initialProps, n = e.children, a = t.selected, r = a || {}, o = r.from, i = r.to, l = t.min, d = t.max, c = function(m, p, _) {
600
552
  var g, M;
601
- (g = t.onDayClick) === null || g === void 0 || g.call(t, h, b, _);
602
- var w = pt(h, a);
603
- (M = t.onSelect) === null || M === void 0 || M.call(t, w, h, b, _);
553
+ (g = t.onDayClick) === null || g === void 0 || g.call(t, m, p, _);
554
+ var N = it(m, a);
555
+ (M = t.onSelect) === null || M === void 0 || M.call(t, N, m, p, _);
604
556
  }, u = {
605
557
  range_start: [],
606
558
  range_end: [],
@@ -627,11 +579,11 @@ function gt(e) {
627
579
  }), u.disabled.push({
628
580
  after: k(o, d - 1)
629
581
  })), o && i) {
630
- var f = L(i, o) + 1, m = d - f;
582
+ var f = L(i, o) + 1, h = d - f;
631
583
  u.disabled.push({
632
- before: ae(o, m)
584
+ before: ae(o, h)
633
585
  }), u.disabled.push({
634
- after: k(i, m)
586
+ after: k(i, h)
635
587
  });
636
588
  }
637
589
  !o && i && (u.disabled.push({
@@ -642,58 +594,58 @@ function gt(e) {
642
594
  }
643
595
  return s(be.Provider, { value: { selected: a, onDayClick: c, modifiers: u }, children: n });
644
596
  }
645
- function ge() {
597
+ function pe() {
646
598
  var e = T(be);
647
599
  if (!e)
648
600
  throw new Error("useSelectRange must be used within a SelectRangeProvider");
649
601
  return e;
650
602
  }
651
- function $(e) {
652
- return Array.isArray(e) ? Re([], e) : e !== void 0 ? [e] : [];
603
+ function z(e) {
604
+ return Array.isArray(e) ? Le([], e) : e !== void 0 ? [e] : [];
653
605
  }
654
- function _t(e) {
606
+ function dt(e) {
655
607
  var t = {};
656
608
  return Object.entries(e).forEach(function(n) {
657
609
  var a = n[0], r = n[1];
658
- t[a] = $(r);
610
+ t[a] = z(r);
659
611
  }), t;
660
612
  }
661
613
  var P;
662
614
  (function(e) {
663
615
  e.Outside = "outside", e.Disabled = "disabled", e.Selected = "selected", e.Hidden = "hidden", e.Today = "today", e.RangeStart = "range_start", e.RangeEnd = "range_end", e.RangeMiddle = "range_middle";
664
616
  })(P || (P = {}));
665
- var Dt = P.Selected, W = P.Disabled, wt = P.Hidden, Nt = P.Today, oe = P.RangeEnd, ie = P.RangeMiddle, le = P.RangeStart, Mt = P.Outside;
666
- function kt(e, t, n) {
667
- var a, r = (a = {}, a[Dt] = $(e.selected), a[W] = $(e.disabled), a[wt] = $(e.hidden), a[Nt] = [e.today], a[oe] = [], a[ie] = [], a[le] = [], a[Mt] = [], a);
617
+ var ut = P.Selected, W = P.Disabled, ct = P.Hidden, ft = P.Today, oe = P.RangeEnd, ie = P.RangeMiddle, le = P.RangeStart, vt = P.Outside;
618
+ function ht(e, t, n) {
619
+ var a, r = (a = {}, a[ut] = z(e.selected), a[W] = z(e.disabled), a[ct] = z(e.hidden), a[ft] = [e.today], a[oe] = [], a[ie] = [], a[le] = [], a[vt] = [], a);
668
620
  return e.fromDate && r[W].push({ before: e.fromDate }), e.toDate && r[W].push({ after: e.toDate }), K(e) ? r[W] = r[W].concat(t.modifiers[W]) : U(e) && (r[W] = r[W].concat(n.modifiers[W]), r[le] = n.modifiers[le], r[ie] = n.modifiers[ie], r[oe] = n.modifiers[oe]), r;
669
621
  }
670
- var je = F(void 0);
671
- function Ct(e) {
672
- var t = D(), n = pe(), a = ge(), r = kt(t, n, a), o = _t(t.modifiers), i = y(y({}, r), o);
673
- return s(je.Provider, { value: i, children: e.children });
622
+ var Re = F(void 0);
623
+ function mt(e) {
624
+ var t = D(), n = ye(), a = pe(), r = ht(t, n, a), o = dt(t.modifiers), i = y(y({}, r), o);
625
+ return s(Re.Provider, { value: i, children: e.children });
674
626
  }
675
- function He() {
676
- var e = T(je);
627
+ function Ee() {
628
+ var e = T(Re);
677
629
  if (!e)
678
630
  throw new Error("useModifiers must be used within a ModifiersProvider");
679
631
  return e;
680
632
  }
681
- function xt(e) {
633
+ function yt(e) {
682
634
  return !!(e && typeof e == "object" && "before" in e && "after" in e);
683
635
  }
684
- function Ot(e) {
636
+ function bt(e) {
685
637
  return !!(e && typeof e == "object" && "from" in e);
686
638
  }
687
- function Pt(e) {
639
+ function pt(e) {
688
640
  return !!(e && typeof e == "object" && "after" in e);
689
641
  }
690
- function St(e) {
642
+ function gt(e) {
691
643
  return !!(e && typeof e == "object" && "before" in e);
692
644
  }
693
- function Wt(e) {
645
+ function _t(e) {
694
646
  return !!(e && typeof e == "object" && "dayOfWeek" in e);
695
647
  }
696
- function Lt(e, t) {
648
+ function Dt(e, t) {
697
649
  var n, a = t.from, r = t.to;
698
650
  if (a && r) {
699
651
  var o = L(r, a) < 0;
@@ -703,43 +655,43 @@ function Lt(e, t) {
703
655
  }
704
656
  return r ? C(r, e) : a ? C(a, e) : !1;
705
657
  }
706
- function It(e) {
707
- return We(e);
658
+ function Nt(e) {
659
+ return Pe(e);
708
660
  }
709
- function Ft(e) {
710
- return Array.isArray(e) && e.every(We);
661
+ function wt(e) {
662
+ return Array.isArray(e) && e.every(Pe);
711
663
  }
712
- function Tt(e, t) {
664
+ function Mt(e, t) {
713
665
  return t.some(function(n) {
714
666
  if (typeof n == "boolean")
715
667
  return n;
716
- if (It(n))
668
+ if (Nt(n))
717
669
  return C(e, n);
718
- if (Ft(n))
670
+ if (wt(n))
719
671
  return n.includes(e);
720
- if (Ot(n))
721
- return Lt(e, n);
722
- if (Wt(n))
672
+ if (bt(n))
673
+ return Dt(e, n);
674
+ if (_t(n))
723
675
  return n.dayOfWeek.includes(e.getDay());
724
- if (xt(n)) {
676
+ if (yt(n)) {
725
677
  var a = L(n.before, e), r = L(n.after, e), o = a > 0, i = r < 0, l = ue(n.before, n.after);
726
678
  return l ? i && o : o || i;
727
679
  }
728
- return Pt(n) ? L(e, n.after) > 0 : St(n) ? L(n.before, e) > 0 : typeof n == "function" ? n(e) : !1;
680
+ return pt(n) ? L(e, n.after) > 0 : gt(n) ? L(n.before, e) > 0 : typeof n == "function" ? n(e) : !1;
729
681
  });
730
682
  }
731
- function _e(e, t, n) {
683
+ function ge(e, t, n) {
732
684
  var a = Object.keys(t).reduce(function(o, i) {
733
685
  var l = t[i];
734
- return Tt(e, l) && o.push(i), o;
686
+ return Mt(e, l) && o.push(i), o;
735
687
  }, []), r = {};
736
688
  return a.forEach(function(o) {
737
689
  return r[o] = !0;
738
690
  }), n && !he(e, n) && (r.outside = !0), r;
739
691
  }
740
- function Rt(e, t) {
741
- for (var n = x(e[0]), a = ve(e[e.length - 1]), r, o, i = n; i <= a; ) {
742
- var l = _e(i, t), d = !l.disabled && !l.hidden;
692
+ function kt(e, t) {
693
+ for (var n = x(e[0]), a = fe(e[e.length - 1]), r, o, i = n; i <= a; ) {
694
+ var l = ge(i, t), d = !l.disabled && !l.hidden;
743
695
  if (!d) {
744
696
  i = k(i, 1);
745
697
  continue;
@@ -750,27 +702,27 @@ function Rt(e, t) {
750
702
  }
751
703
  return o || r;
752
704
  }
753
- var Yt = 365;
754
- function Ke(e, t) {
755
- var n = t.moveBy, a = t.direction, r = t.context, o = t.modifiers, i = t.retry, l = i === void 0 ? { count: 0, lastFocused: e } : i, d = r.weekStartsOn, c = r.fromDate, u = r.toDate, f = r.locale, m = {
705
+ var Ct = 365;
706
+ function Be(e, t) {
707
+ var n = t.moveBy, a = t.direction, r = t.context, o = t.modifiers, i = t.retry, l = i === void 0 ? { count: 0, lastFocused: e } : i, d = r.weekStartsOn, c = r.fromDate, u = r.toDate, f = r.locale, h = {
756
708
  day: k,
757
709
  week: de,
758
710
  month: O,
759
- year: Dn,
711
+ year: un,
760
712
  startOfWeek: function(g) {
761
- return r.ISOWeek ? fe(g) : j(g, { locale: f, weekStartsOn: d });
713
+ return r.ISOWeek ? ce(g) : j(g, { locale: f, weekStartsOn: d });
762
714
  },
763
715
  endOfWeek: function(g) {
764
- return r.ISOWeek ? Fe(g) : me(g, { locale: f, weekStartsOn: d });
716
+ return r.ISOWeek ? Se(g) : ve(g, { locale: f, weekStartsOn: d });
765
717
  }
766
- }, h = m[n](e, a === "after" ? 1 : -1);
767
- a === "before" && c ? h = wn([c, h]) : a === "after" && u && (h = Nn([u, h]));
768
- var b = !0;
718
+ }, m = h[n](e, a === "after" ? 1 : -1);
719
+ a === "before" && c ? m = cn([c, m]) : a === "after" && u && (m = fn([u, m]));
720
+ var p = !0;
769
721
  if (o) {
770
- var _ = _e(h, o);
771
- b = !_.disabled && !_.hidden;
722
+ var _ = ge(m, o);
723
+ p = !_.disabled && !_.hidden;
772
724
  }
773
- return b ? h : l.count > Yt ? l.lastFocused : Ke(h, {
725
+ return p ? m : l.count > Ct ? l.lastFocused : Be(m, {
774
726
  moveBy: n,
775
727
  direction: a,
776
728
  context: r,
@@ -778,81 +730,81 @@ function Ke(e, t) {
778
730
  retry: y(y({}, l), { count: l.count + 1 })
779
731
  });
780
732
  }
781
- var Ue = F(void 0);
782
- function Et(e) {
783
- var t = V(), n = He(), a = A(), r = a[0], o = a[1], i = A(), l = i[0], d = i[1], c = Rt(t.displayMonths, n), u = r ?? (l && t.isDateDisplayed(l)) ? l : c, f = function() {
733
+ var Ae = F(void 0);
734
+ function xt(e) {
735
+ var t = V(), n = Ee(), a = A(), r = a[0], o = a[1], i = A(), l = i[0], d = i[1], c = kt(t.displayMonths, n), u = r ?? (l && t.isDateDisplayed(l)) ? l : c, f = function() {
784
736
  d(r), o(void 0);
785
- }, m = function(g) {
737
+ }, h = function(g) {
786
738
  o(g);
787
- }, h = D(), b = function(g, M) {
739
+ }, m = D(), p = function(g, M) {
788
740
  if (r) {
789
- var w = Ke(r, {
741
+ var N = Be(r, {
790
742
  moveBy: g,
791
743
  direction: M,
792
- context: h,
744
+ context: m,
793
745
  modifiers: n
794
746
  });
795
- C(r, w) || (t.goToDate(w, r), m(w));
747
+ C(r, N) || (t.goToDate(N, r), h(N));
796
748
  }
797
749
  }, _ = {
798
750
  focusedDay: r,
799
751
  focusTarget: u,
800
752
  blur: f,
801
- focus: m,
753
+ focus: h,
802
754
  focusDayAfter: function() {
803
- return b("day", "after");
755
+ return p("day", "after");
804
756
  },
805
757
  focusDayBefore: function() {
806
- return b("day", "before");
758
+ return p("day", "before");
807
759
  },
808
760
  focusWeekAfter: function() {
809
- return b("week", "after");
761
+ return p("week", "after");
810
762
  },
811
763
  focusWeekBefore: function() {
812
- return b("week", "before");
764
+ return p("week", "before");
813
765
  },
814
766
  focusMonthBefore: function() {
815
- return b("month", "before");
767
+ return p("month", "before");
816
768
  },
817
769
  focusMonthAfter: function() {
818
- return b("month", "after");
770
+ return p("month", "after");
819
771
  },
820
772
  focusYearBefore: function() {
821
- return b("year", "before");
773
+ return p("year", "before");
822
774
  },
823
775
  focusYearAfter: function() {
824
- return b("year", "after");
776
+ return p("year", "after");
825
777
  },
826
778
  focusStartOfWeek: function() {
827
- return b("startOfWeek", "before");
779
+ return p("startOfWeek", "before");
828
780
  },
829
781
  focusEndOfWeek: function() {
830
- return b("endOfWeek", "after");
782
+ return p("endOfWeek", "after");
831
783
  }
832
784
  };
833
- return s(Ue.Provider, { value: _, children: e.children });
785
+ return s(Ae.Provider, { value: _, children: e.children });
834
786
  }
835
- function De() {
836
- var e = T(Ue);
787
+ function _e() {
788
+ var e = T(Ae);
837
789
  if (!e)
838
790
  throw new Error("useFocusContext must be used within a FocusProvider");
839
791
  return e;
840
792
  }
841
- function Bt(e, t) {
842
- var n = He(), a = _e(e, n, t);
793
+ function Ot(e, t) {
794
+ var n = Ee(), a = ge(e, n, t);
843
795
  return a;
844
796
  }
845
- var we = F(void 0);
846
- function At(e) {
797
+ var De = F(void 0);
798
+ function Pt(e) {
847
799
  if (!X(e.initialProps)) {
848
800
  var t = {
849
801
  selected: void 0
850
802
  };
851
- return s(we.Provider, { value: t, children: e.children });
803
+ return s(De.Provider, { value: t, children: e.children });
852
804
  }
853
- return s(jt, { initialProps: e.initialProps, children: e.children });
805
+ return s(St, { initialProps: e.initialProps, children: e.children });
854
806
  }
855
- function jt(e) {
807
+ function St(e) {
856
808
  var t = e.initialProps, n = e.children, a = function(o, i, l) {
857
809
  var d, c, u;
858
810
  if ((d = t.onDayClick) === null || d === void 0 || d.call(t, o, i, l), i.selected && !t.required) {
@@ -864,125 +816,125 @@ function jt(e) {
864
816
  selected: t.selected,
865
817
  onDayClick: a
866
818
  };
867
- return s(we.Provider, { value: r, children: n });
819
+ return s(De.Provider, { value: r, children: n });
868
820
  }
869
- function Ve() {
870
- var e = T(we);
821
+ function je() {
822
+ var e = T(De);
871
823
  if (!e)
872
824
  throw new Error("useSelectSingle must be used within a SelectSingleProvider");
873
825
  return e;
874
826
  }
875
- function Ht(e, t) {
876
- var n = D(), a = Ve(), r = pe(), o = ge(), i = De(), l = i.focusDayAfter, d = i.focusDayBefore, c = i.focusWeekAfter, u = i.focusWeekBefore, f = i.blur, m = i.focus, h = i.focusMonthBefore, b = i.focusMonthAfter, _ = i.focusYearBefore, g = i.focusYearAfter, M = i.focusStartOfWeek, w = i.focusEndOfWeek, E = function(p) {
877
- var v, ee, ne, te;
878
- X(n) ? (v = a.onDayClick) === null || v === void 0 || v.call(a, e, t, p) : K(n) ? (ee = r.onDayClick) === null || ee === void 0 || ee.call(r, e, t, p) : U(n) ? (ne = o.onDayClick) === null || ne === void 0 || ne.call(o, e, t, p) : (te = n.onDayClick) === null || te === void 0 || te.call(n, e, t, p);
879
- }, J = function(p) {
827
+ function Wt(e, t) {
828
+ var n = D(), a = je(), r = ye(), o = pe(), i = _e(), l = i.focusDayAfter, d = i.focusDayBefore, c = i.focusWeekAfter, u = i.focusWeekBefore, f = i.blur, h = i.focus, m = i.focusMonthBefore, p = i.focusMonthAfter, _ = i.focusYearBefore, g = i.focusYearAfter, M = i.focusStartOfWeek, N = i.focusEndOfWeek, E = function(b) {
829
+ var v, $, ee, ne;
830
+ X(n) ? (v = a.onDayClick) === null || v === void 0 || v.call(a, e, t, b) : K(n) ? ($ = r.onDayClick) === null || $ === void 0 || $.call(r, e, t, b) : U(n) ? (ee = o.onDayClick) === null || ee === void 0 || ee.call(o, e, t, b) : (ne = n.onDayClick) === null || ne === void 0 || ne.call(n, e, t, b);
831
+ }, J = function(b) {
880
832
  var v;
881
- m(e), (v = n.onDayFocus) === null || v === void 0 || v.call(n, e, t, p);
882
- }, Q = function(p) {
833
+ h(e), (v = n.onDayFocus) === null || v === void 0 || v.call(n, e, t, b);
834
+ }, Q = function(b) {
883
835
  var v;
884
- f(), (v = n.onDayBlur) === null || v === void 0 || v.call(n, e, t, p);
885
- }, B = function(p) {
836
+ f(), (v = n.onDayBlur) === null || v === void 0 || v.call(n, e, t, b);
837
+ }, B = function(b) {
886
838
  var v;
887
- (v = n.onDayMouseEnter) === null || v === void 0 || v.call(n, e, t, p);
888
- }, ze = function(p) {
839
+ (v = n.onDayMouseEnter) === null || v === void 0 || v.call(n, e, t, b);
840
+ }, He = function(b) {
889
841
  var v;
890
- (v = n.onDayMouseLeave) === null || v === void 0 || v.call(n, e, t, p);
891
- }, $e = function(p) {
842
+ (v = n.onDayMouseLeave) === null || v === void 0 || v.call(n, e, t, b);
843
+ }, Ke = function(b) {
892
844
  var v;
893
- (v = n.onDayPointerEnter) === null || v === void 0 || v.call(n, e, t, p);
894
- }, Ze = function(p) {
845
+ (v = n.onDayPointerEnter) === null || v === void 0 || v.call(n, e, t, b);
846
+ }, Ue = function(b) {
895
847
  var v;
896
- (v = n.onDayPointerLeave) === null || v === void 0 || v.call(n, e, t, p);
897
- }, Ge = function(p) {
848
+ (v = n.onDayPointerLeave) === null || v === void 0 || v.call(n, e, t, b);
849
+ }, Ve = function(b) {
898
850
  var v;
899
- (v = n.onDayTouchCancel) === null || v === void 0 || v.call(n, e, t, p);
900
- }, qe = function(p) {
851
+ (v = n.onDayTouchCancel) === null || v === void 0 || v.call(n, e, t, b);
852
+ }, ze = function(b) {
901
853
  var v;
902
- (v = n.onDayTouchEnd) === null || v === void 0 || v.call(n, e, t, p);
903
- }, Xe = function(p) {
854
+ (v = n.onDayTouchEnd) === null || v === void 0 || v.call(n, e, t, b);
855
+ }, Ze = function(b) {
904
856
  var v;
905
- (v = n.onDayTouchMove) === null || v === void 0 || v.call(n, e, t, p);
906
- }, Je = function(p) {
857
+ (v = n.onDayTouchMove) === null || v === void 0 || v.call(n, e, t, b);
858
+ }, Ge = function(b) {
907
859
  var v;
908
- (v = n.onDayTouchStart) === null || v === void 0 || v.call(n, e, t, p);
909
- }, Qe = function(p) {
860
+ (v = n.onDayTouchStart) === null || v === void 0 || v.call(n, e, t, b);
861
+ }, qe = function(b) {
910
862
  var v;
911
- (v = n.onDayKeyUp) === null || v === void 0 || v.call(n, e, t, p);
912
- }, en = function(p) {
863
+ (v = n.onDayKeyUp) === null || v === void 0 || v.call(n, e, t, b);
864
+ }, Xe = function(b) {
913
865
  var v;
914
- switch (p.key) {
866
+ switch (b.key) {
915
867
  case "ArrowLeft":
916
- p.preventDefault(), p.stopPropagation(), n.dir === "rtl" ? l() : d();
868
+ b.preventDefault(), b.stopPropagation(), n.dir === "rtl" ? l() : d();
917
869
  break;
918
870
  case "ArrowRight":
919
- p.preventDefault(), p.stopPropagation(), n.dir === "rtl" ? d() : l();
871
+ b.preventDefault(), b.stopPropagation(), n.dir === "rtl" ? d() : l();
920
872
  break;
921
873
  case "ArrowDown":
922
- p.preventDefault(), p.stopPropagation(), c();
874
+ b.preventDefault(), b.stopPropagation(), c();
923
875
  break;
924
876
  case "ArrowUp":
925
- p.preventDefault(), p.stopPropagation(), u();
877
+ b.preventDefault(), b.stopPropagation(), u();
926
878
  break;
927
879
  case "PageUp":
928
- p.preventDefault(), p.stopPropagation(), p.shiftKey ? _() : h();
880
+ b.preventDefault(), b.stopPropagation(), b.shiftKey ? _() : m();
929
881
  break;
930
882
  case "PageDown":
931
- p.preventDefault(), p.stopPropagation(), p.shiftKey ? g() : b();
883
+ b.preventDefault(), b.stopPropagation(), b.shiftKey ? g() : p();
932
884
  break;
933
885
  case "Home":
934
- p.preventDefault(), p.stopPropagation(), M();
886
+ b.preventDefault(), b.stopPropagation(), M();
935
887
  break;
936
888
  case "End":
937
- p.preventDefault(), p.stopPropagation(), w();
889
+ b.preventDefault(), b.stopPropagation(), N();
938
890
  break;
939
891
  }
940
- (v = n.onDayKeyDown) === null || v === void 0 || v.call(n, e, t, p);
941
- }, nn = {
892
+ (v = n.onDayKeyDown) === null || v === void 0 || v.call(n, e, t, b);
893
+ }, Je = {
942
894
  onClick: E,
943
895
  onFocus: J,
944
896
  onBlur: Q,
945
- onKeyDown: en,
946
- onKeyUp: Qe,
897
+ onKeyDown: Xe,
898
+ onKeyUp: qe,
947
899
  onMouseEnter: B,
948
- onMouseLeave: ze,
949
- onPointerEnter: $e,
950
- onPointerLeave: Ze,
951
- onTouchCancel: Ge,
952
- onTouchEnd: qe,
953
- onTouchMove: Xe,
954
- onTouchStart: Je
900
+ onMouseLeave: He,
901
+ onPointerEnter: Ke,
902
+ onPointerLeave: Ue,
903
+ onTouchCancel: Ve,
904
+ onTouchEnd: ze,
905
+ onTouchMove: Ze,
906
+ onTouchStart: Ge
955
907
  };
956
- return nn;
908
+ return Je;
957
909
  }
958
- function Kt() {
959
- var e = D(), t = Ve(), n = pe(), a = ge(), r = X(e) ? t.selected : K(e) ? n.selected : U(e) ? a.selected : void 0;
910
+ function Lt() {
911
+ var e = D(), t = je(), n = ye(), a = pe(), r = X(e) ? t.selected : K(e) ? n.selected : U(e) ? a.selected : void 0;
960
912
  return r;
961
913
  }
962
- function Ut(e) {
914
+ function It(e) {
963
915
  return Object.values(P).includes(e);
964
916
  }
965
- function Vt(e, t) {
917
+ function Ft(e, t) {
966
918
  var n = [e.classNames.day];
967
919
  return Object.keys(t).forEach(function(a) {
968
920
  var r = e.modifiersClassNames[a];
969
921
  if (r)
970
922
  n.push(r);
971
- else if (Ut(a)) {
923
+ else if (It(a)) {
972
924
  var o = e.classNames["day_".concat(a)];
973
925
  o && n.push(o);
974
926
  }
975
927
  }), n;
976
928
  }
977
- function zt(e, t) {
929
+ function Tt(e, t) {
978
930
  var n = y({}, e.styles.day);
979
931
  return Object.keys(t).forEach(function(a) {
980
932
  var r;
981
933
  n = y(y({}, n), (r = e.modifiersStyles) === null || r === void 0 ? void 0 : r[a]);
982
934
  }), n;
983
935
  }
984
- function $t(e, t, n) {
985
- var a, r, o, i = D(), l = De(), d = Bt(e, t), c = Ht(e, d), u = Kt(), f = !!(i.onDayClick || i.mode !== "default");
936
+ function Yt(e, t, n) {
937
+ var a, r, o, i = D(), l = _e(), d = Ot(e, t), c = Wt(e, d), u = Lt(), f = !!(i.onDayClick || i.mode !== "default");
986
938
  q(function() {
987
939
  var B;
988
940
  d.outside || l.focusedDay && f && C(l.focusedDay, e) && ((B = n.current) === null || B === void 0 || B.focus());
@@ -993,14 +945,14 @@ function $t(e, t, n) {
993
945
  f,
994
946
  d.outside
995
947
  ]);
996
- var m = Vt(i, d).join(" "), h = zt(i, d), b = !!(d.outside && !i.showOutsideDays || d.hidden), _ = (o = (r = i.components) === null || r === void 0 ? void 0 : r.DayContent) !== null && o !== void 0 ? o : mt, g = s(_, { date: e, displayMonth: t, activeModifiers: d }), M = {
997
- style: h,
998
- className: m,
948
+ var h = Ft(i, d).join(" "), m = Tt(i, d), p = !!(d.outside && !i.showOutsideDays || d.hidden), _ = (o = (r = i.components) === null || r === void 0 ? void 0 : r.DayContent) !== null && o !== void 0 ? o : at, g = s(_, { date: e, displayMonth: t, activeModifiers: d }), M = {
949
+ style: m,
950
+ className: h,
999
951
  children: g,
1000
952
  role: "gridcell"
1001
- }, w = l.focusTarget && C(l.focusTarget, e) && !d.outside, E = l.focusedDay && C(l.focusedDay, e), J = y(y(y({}, M), (a = { disabled: d.disabled, role: "gridcell" }, a["aria-selected"] = d.selected, a.tabIndex = E || w ? 0 : -1, a)), c), Q = {
953
+ }, N = l.focusTarget && C(l.focusTarget, e) && !d.outside, E = l.focusedDay && C(l.focusedDay, e), J = y(y(y({}, M), (a = { disabled: d.disabled, role: "gridcell" }, a["aria-selected"] = d.selected, a.tabIndex = E || N ? 0 : -1, a)), c), Q = {
1002
954
  isButton: f,
1003
- isHidden: b,
955
+ isHidden: p,
1004
956
  activeModifiers: d,
1005
957
  selectedDays: u,
1006
958
  buttonProps: J,
@@ -1008,89 +960,89 @@ function $t(e, t, n) {
1008
960
  };
1009
961
  return Q;
1010
962
  }
1011
- function Zt(e) {
1012
- var t = rn(null), n = $t(e.date, e.displayMonth, t);
963
+ function Rt(e) {
964
+ var t = en(null), n = Yt(e.date, e.displayMonth, t);
1013
965
  return n.isHidden ? s("div", { role: "gridcell" }) : n.isButton ? s(G, y({ name: "day", ref: t }, n.buttonProps)) : s("div", y({}, n.divProps));
1014
966
  }
1015
- function Gt(e) {
967
+ function Et(e) {
1016
968
  var t = e.number, n = e.dates, a = D(), r = a.onWeekNumberClick, o = a.styles, i = a.classNames, l = a.locale, d = a.labels.labelWeekNumber, c = a.formatters.formatWeekNumber, u = c(Number(t), { locale: l });
1017
969
  if (!r)
1018
970
  return s("span", { className: i.weeknumber, style: o.weeknumber, children: u });
1019
- var f = d(Number(t), { locale: l }), m = function(h) {
1020
- r(t, n, h);
971
+ var f = d(Number(t), { locale: l }), h = function(m) {
972
+ r(t, n, m);
1021
973
  };
1022
- return s(G, { name: "week-number", "aria-label": f, className: i.weeknumber, style: o.weeknumber, onClick: m, children: u });
974
+ return s(G, { name: "week-number", "aria-label": f, className: i.weeknumber, style: o.weeknumber, onClick: h, children: u });
1023
975
  }
1024
- function qt(e) {
1025
- var t, n, a = D(), r = a.styles, o = a.classNames, i = a.showWeekNumber, l = a.components, d = (t = l?.Day) !== null && t !== void 0 ? t : Zt, c = (n = l?.WeekNumber) !== null && n !== void 0 ? n : Gt, u;
976
+ function Bt(e) {
977
+ var t, n, a = D(), r = a.styles, o = a.classNames, i = a.showWeekNumber, l = a.components, d = (t = l == null ? void 0 : l.Day) !== null && t !== void 0 ? t : Rt, c = (n = l == null ? void 0 : l.WeekNumber) !== null && n !== void 0 ? n : Et, u;
1026
978
  return i && (u = s("td", { className: o.cell, style: r.cell, children: s(c, { number: e.weekNumber, dates: e.dates }) })), S("tr", { className: o.row, style: r.row, children: [u, e.dates.map(function(f) {
1027
- return s("td", { className: o.cell, style: r.cell, role: "presentation", children: s(d, { displayMonth: e.displayMonth, date: f }) }, Cn(f));
979
+ return s("td", { className: o.cell, style: r.cell, role: "presentation", children: s(d, { displayMonth: e.displayMonth, date: f }) }, mn(f));
1028
980
  })] });
1029
981
  }
1030
- function Oe(e, t, n) {
1031
- for (var a = n?.ISOWeek ? Fe(t) : me(t, n), r = n?.ISOWeek ? fe(e) : j(e, n), o = L(a, r), i = [], l = 0; l <= o; l++)
982
+ function xe(e, t, n) {
983
+ for (var a = n != null && n.ISOWeek ? Se(t) : ve(t, n), r = n != null && n.ISOWeek ? ce(e) : j(e, n), o = L(a, r), i = [], l = 0; l <= o; l++)
1032
984
  i.push(k(r, l));
1033
985
  var d = i.reduce(function(c, u) {
1034
- var f = n?.ISOWeek ? fn(u) : vn(u, n), m = c.find(function(h) {
1035
- return h.weekNumber === f;
986
+ var f = n != null && n.ISOWeek ? on(u) : ln(u, n), h = c.find(function(m) {
987
+ return m.weekNumber === f;
1036
988
  });
1037
- return m ? (m.dates.push(u), c) : (c.push({
989
+ return h ? (h.dates.push(u), c) : (c.push({
1038
990
  weekNumber: f,
1039
991
  dates: [u]
1040
992
  }), c);
1041
993
  }, []);
1042
994
  return d;
1043
995
  }
1044
- function Xt(e, t) {
1045
- var n = Oe(x(e), ve(e), t);
1046
- if (t?.useFixedWeeks) {
1047
- var a = On(e, t);
996
+ function At(e, t) {
997
+ var n = xe(x(e), fe(e), t);
998
+ if (t != null && t.useFixedWeeks) {
999
+ var a = bn(e, t);
1048
1000
  if (a < 6) {
1049
- var r = n[n.length - 1], o = r.dates[r.dates.length - 1], i = de(o, 6 - a), l = Oe(de(o, 1), i, t);
1001
+ var r = n[n.length - 1], o = r.dates[r.dates.length - 1], i = de(o, 6 - a), l = xe(de(o, 1), i, t);
1050
1002
  n.push.apply(n, l);
1051
1003
  }
1052
1004
  }
1053
1005
  return n;
1054
1006
  }
1055
- function Jt(e) {
1056
- var t, n, a, r = D(), o = r.locale, i = r.classNames, l = r.styles, d = r.hideHead, c = r.fixedWeeks, u = r.components, f = r.weekStartsOn, m = r.firstWeekContainsDate, h = r.ISOWeek, b = Xt(e.displayMonth, {
1007
+ function jt(e) {
1008
+ var t, n, a, r = D(), o = r.locale, i = r.classNames, l = r.styles, d = r.hideHead, c = r.fixedWeeks, u = r.components, f = r.weekStartsOn, h = r.firstWeekContainsDate, m = r.ISOWeek, p = At(e.displayMonth, {
1057
1009
  useFixedWeeks: !!c,
1058
- ISOWeek: h,
1010
+ ISOWeek: m,
1059
1011
  locale: o,
1060
1012
  weekStartsOn: f,
1061
- firstWeekContainsDate: m
1062
- }), _ = (t = u?.Head) !== null && t !== void 0 ? t : vt, g = (n = u?.Row) !== null && n !== void 0 ? n : qt, M = (a = u?.Footer) !== null && a !== void 0 ? a : ut;
1063
- return S("table", { id: e.id, className: i.table, style: l.table, role: "grid", "aria-labelledby": e["aria-labelledby"], children: [!d && s(_, {}), s("tbody", { className: i.tbody, style: l.tbody, children: b.map(function(w) {
1064
- return s(g, { displayMonth: e.displayMonth, dates: w.dates, weekNumber: w.weekNumber }, w.weekNumber);
1013
+ firstWeekContainsDate: h
1014
+ }), _ = (t = u == null ? void 0 : u.Head) !== null && t !== void 0 ? t : tt, g = (n = u == null ? void 0 : u.Row) !== null && n !== void 0 ? n : Bt, M = (a = u == null ? void 0 : u.Footer) !== null && a !== void 0 ? a : $n;
1015
+ return S("table", { id: e.id, className: i.table, style: l.table, role: "grid", "aria-labelledby": e["aria-labelledby"], children: [!d && s(_, {}), s("tbody", { className: i.tbody, style: l.tbody, children: p.map(function(N) {
1016
+ return s(g, { displayMonth: e.displayMonth, dates: N.dates, weekNumber: N.weekNumber }, N.weekNumber);
1065
1017
  }) }), s(M, { displayMonth: e.displayMonth })] });
1066
1018
  }
1067
- function Qt() {
1019
+ function Ht() {
1068
1020
  return !!(typeof window < "u" && window.document && window.document.createElement);
1069
1021
  }
1070
- var ea = Qt() ? tn : q, se = !1, na = 0;
1071
- function Pe() {
1072
- return "react-day-picker-".concat(++na);
1022
+ var Kt = Ht() ? Qe : q, se = !1, Ut = 0;
1023
+ function Oe() {
1024
+ return "react-day-picker-".concat(++Ut);
1073
1025
  }
1074
- function ta(e) {
1075
- var t, n = e ?? (se ? Pe() : null), a = A(n), r = a[0], o = a[1];
1076
- return ea(function() {
1077
- r === null && o(Pe());
1026
+ function Vt(e) {
1027
+ var t, n = e ?? (se ? Oe() : null), a = A(n), r = a[0], o = a[1];
1028
+ return Kt(function() {
1029
+ r === null && o(Oe());
1078
1030
  }, []), q(function() {
1079
1031
  se === !1 && (se = !0);
1080
1032
  }, []), (t = e ?? r) !== null && t !== void 0 ? t : void 0;
1081
1033
  }
1082
- function aa(e) {
1083
- var t, n, a = D(), r = a.dir, o = a.classNames, i = a.styles, l = a.components, d = V().displayMonths, c = ta(a.id ? "".concat(a.id, "-").concat(e.displayIndex) : void 0), u = a.id ? "".concat(a.id, "-grid-").concat(e.displayIndex) : void 0, f = [o.month], m = i.month, h = e.displayIndex === 0, b = e.displayIndex === d.length - 1, _ = !h && !b;
1084
- r === "rtl" && (t = [h, b], b = t[0], h = t[1]), h && (f.push(o.caption_start), m = y(y({}, m), i.caption_start)), b && (f.push(o.caption_end), m = y(y({}, m), i.caption_end)), _ && (f.push(o.caption_between), m = y(y({}, m), i.caption_between));
1085
- var g = (n = l?.Caption) !== null && n !== void 0 ? n : dt;
1086
- return S("div", { className: f.join(" "), style: m, children: [s(g, { id: c, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), s(Jt, { id: u, "aria-labelledby": c, displayMonth: e.displayMonth })] }, e.displayIndex);
1034
+ function zt(e) {
1035
+ var t, n, a = D(), r = a.dir, o = a.classNames, i = a.styles, l = a.components, d = V().displayMonths, c = Vt(a.id ? "".concat(a.id, "-").concat(e.displayIndex) : void 0), u = a.id ? "".concat(a.id, "-grid-").concat(e.displayIndex) : void 0, f = [o.month], h = i.month, m = e.displayIndex === 0, p = e.displayIndex === d.length - 1, _ = !m && !p;
1036
+ r === "rtl" && (t = [m, p], p = t[0], m = t[1]), m && (f.push(o.caption_start), h = y(y({}, h), i.caption_start)), p && (f.push(o.caption_end), h = y(y({}, h), i.caption_end)), _ && (f.push(o.caption_between), h = y(y({}, h), i.caption_between));
1037
+ var g = (n = l == null ? void 0 : l.Caption) !== null && n !== void 0 ? n : Qn;
1038
+ return S("div", { className: f.join(" "), style: h, children: [s(g, { id: c, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), s(jt, { id: u, "aria-labelledby": c, displayMonth: e.displayMonth })] }, e.displayIndex);
1087
1039
  }
1088
- function ra(e) {
1040
+ function Zt(e) {
1089
1041
  var t = D(), n = t.classNames, a = t.styles;
1090
1042
  return s("div", { className: n.months, style: a.months, children: e.children });
1091
1043
  }
1092
- function oa(e) {
1093
- var t, n, a = e.initialProps, r = D(), o = De(), i = V(), l = A(!1), d = l[0], c = l[1];
1044
+ function Gt(e) {
1045
+ var t, n, a = e.initialProps, r = D(), o = _e(), i = V(), l = A(!1), d = l[0], c = l[1];
1094
1046
  q(function() {
1095
1047
  r.initialFocus && o.focusTarget && (d || (o.focus(o.focusTarget), c(!0)));
1096
1048
  }, [
@@ -1102,37 +1054,37 @@ function oa(e) {
1102
1054
  ]);
1103
1055
  var u = [r.classNames.root, r.className];
1104
1056
  r.numberOfMonths > 1 && u.push(r.classNames.multiple_months), r.showWeekNumber && u.push(r.classNames.with_weeknumber);
1105
- var f = y(y({}, r.styles.root), r.style), m = Object.keys(a).filter(function(b) {
1106
- return b.startsWith("data-");
1107
- }).reduce(function(b, _) {
1057
+ var f = y(y({}, r.styles.root), r.style), h = Object.keys(a).filter(function(p) {
1058
+ return p.startsWith("data-");
1059
+ }).reduce(function(p, _) {
1108
1060
  var g;
1109
- return y(y({}, b), (g = {}, g[_] = a[_], g));
1110
- }, {}), h = (n = (t = a.components) === null || t === void 0 ? void 0 : t.Months) !== null && n !== void 0 ? n : ra;
1111
- return s("div", y({ className: u.join(" "), style: f, dir: r.dir, id: r.id, nonce: a.nonce, title: a.title, lang: a.lang }, m, { children: s(h, { children: i.displayMonths.map(function(b, _) {
1112
- return s(aa, { displayIndex: _, displayMonth: b }, _);
1061
+ return y(y({}, p), (g = {}, g[_] = a[_], g));
1062
+ }, {}), m = (n = (t = a.components) === null || t === void 0 ? void 0 : t.Months) !== null && n !== void 0 ? n : Zt;
1063
+ return s("div", y({ className: u.join(" "), style: f, dir: r.dir, id: r.id, nonce: a.nonce, title: a.title, lang: a.lang }, h, { children: s(m, { children: i.displayMonths.map(function(p, _) {
1064
+ return s(zt, { displayIndex: _, displayMonth: p }, _);
1113
1065
  }) }) }));
1114
1066
  }
1115
- function ia(e) {
1116
- var t = e.children, n = Sn(e, ["children"]);
1117
- return s(Gn, { initialProps: n, children: s(ot, { children: s(At, { initialProps: n, children: s(ht, { initialProps: n, children: s(bt, { initialProps: n, children: s(Ct, { children: s(Et, { children: t }) }) }) }) }) }) });
1067
+ function qt(e) {
1068
+ var t = e.children, n = gn(e, ["children"]);
1069
+ return s(En, { initialProps: n, children: s(Gn, { children: s(Pt, { initialProps: n, children: s(rt, { initialProps: n, children: s(lt, { initialProps: n, children: s(mt, { children: s(xt, { children: t }) }) }) }) }) }) });
1118
1070
  }
1119
- function la(e) {
1120
- return s(ia, y({}, e, { children: s(oa, { initialProps: e }) }));
1071
+ function Xt(e) {
1072
+ return s(qt, y({}, e, { children: s(Gt, { initialProps: e }) }));
1121
1073
  }
1122
- function sa({ className: e, classNames: t, showOutsideDays: n = !0, ...a }) {
1074
+ function Jt({ className: e, classNames: t, showOutsideDays: n = !0, ...a }) {
1123
1075
  return /* @__PURE__ */ s(
1124
- la,
1076
+ Xt,
1125
1077
  {
1126
1078
  showOutsideDays: n,
1127
- className: z("p-3", e),
1079
+ className: te("p-3", e),
1128
1080
  classNames: {
1129
1081
  months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
1130
1082
  month: "space-y-4",
1131
1083
  caption: "flex justify-center pt-1 relative items-center",
1132
1084
  caption_label: "text-sm font-medium",
1133
1085
  nav: "space-x-1 flex items-center",
1134
- nav_button: z(
1135
- Ne({ variant: "outline" }),
1086
+ nav_button: te(
1087
+ we({ variant: "outline" }),
1136
1088
  "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
1137
1089
  ),
1138
1090
  nav_button_previous: "absolute left-1",
@@ -1142,8 +1094,8 @@ function sa({ className: e, classNames: t, showOutsideDays: n = !0, ...a }) {
1142
1094
  head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
1143
1095
  row: "flex w-full mt-2",
1144
1096
  cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
1145
- day: z(
1146
- Ne({ variant: "ghost" }),
1097
+ day: te(
1098
+ we({ variant: "ghost" }),
1147
1099
  "h-9 w-9 p-0 font-normal aria-selected:opacity-100"
1148
1100
  ),
1149
1101
  day_range_end: "day-range-end",
@@ -1156,27 +1108,24 @@ function sa({ className: e, classNames: t, showOutsideDays: n = !0, ...a }) {
1156
1108
  ...t
1157
1109
  },
1158
1110
  components: {
1159
- IconLeft: () => /* @__PURE__ */ s(hn, { className: "h-4 w-4" }),
1160
- IconRight: () => /* @__PURE__ */ s(mn, { className: "h-4 w-4" })
1111
+ IconLeft: () => /* @__PURE__ */ s(dn, { className: "h-4 w-4" }),
1112
+ IconRight: () => /* @__PURE__ */ s(sn, { className: "h-4 w-4" })
1161
1113
  },
1162
1114
  ...a
1163
1115
  }
1164
1116
  );
1165
1117
  }
1166
- sa.displayName = "Calendar";
1118
+ Jt.displayName = "Calendar";
1167
1119
  export {
1168
- sa as C,
1169
- _n as L,
1170
- pa as a,
1171
- O as b,
1172
- de as c,
1173
- me as d,
1174
- ve as e,
1175
- k as f,
1176
- hn as g,
1177
- he as h,
1120
+ Jt as C,
1121
+ O as a,
1122
+ de as b,
1123
+ ve as c,
1124
+ k as d,
1125
+ fe as e,
1126
+ he as f,
1127
+ ae as g,
1178
1128
  C as i,
1179
- ae as j,
1180
1129
  x as s
1181
1130
  };
1182
- //# sourceMappingURL=calendar-BFWc4IB7.js.map
1131
+ //# sourceMappingURL=calendar-86qoSnO7.js.map