ivt 0.4.3 → 0.4.5

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 (191) hide show
  1. package/dist/accordion/index.mjs +14 -14
  2. package/dist/alert/index.mjs +2 -2
  3. package/dist/alert-dialog/index.mjs +16 -16
  4. package/dist/alert-dialog/index.mjs.map +1 -1
  5. package/dist/avatar/index.mjs +7 -7
  6. package/dist/avatar/index.mjs.map +1 -1
  7. package/dist/badge/index.mjs +3 -3
  8. package/dist/base/index.d.ts +34 -8
  9. package/dist/base/index.mjs +71 -639
  10. package/dist/base/index.mjs.map +1 -1
  11. package/dist/button/index.mjs +3 -3
  12. package/dist/calendar/index.mjs +8 -8
  13. package/dist/card/index.mjs +2 -2
  14. package/dist/chart/index.mjs +4 -4
  15. package/dist/chart/index.mjs.map +1 -1
  16. package/dist/checkbox/index.mjs +13 -13
  17. package/dist/checkbox/index.mjs.map +1 -1
  18. package/dist/chunks/{Container-OkpmLImV.mjs → Container-DVypwIQb.mjs} +2 -2
  19. package/dist/chunks/{Container-OkpmLImV.mjs.map → Container-DVypwIQb.mjs.map} +1 -1
  20. package/dist/chunks/{_commonjsHelpers-DB0L5QuM.mjs → _commonjsHelpers-DxUjvHAf.mjs} +1 -1
  21. package/dist/chunks/_commonjsHelpers-DxUjvHAf.mjs.map +1 -0
  22. package/dist/chunks/{accordion-D8D50bOM.mjs → accordion-C-7WU65v.mjs} +12 -12
  23. package/dist/chunks/{accordion-D8D50bOM.mjs.map → accordion-C-7WU65v.mjs.map} +1 -1
  24. package/dist/chunks/{badge-D6WUAOGu.mjs → badge-FyqsRWpb.mjs} +2 -2
  25. package/dist/chunks/{badge-D6WUAOGu.mjs.map → badge-FyqsRWpb.mjs.map} +1 -1
  26. package/dist/chunks/{bundle-mjs-CHV3NDgz.mjs → bundle-mjs--Uc0zBMR.mjs} +1 -1
  27. package/dist/chunks/{bundle-mjs-CHV3NDgz.mjs.map → bundle-mjs--Uc0zBMR.mjs.map} +1 -1
  28. package/dist/chunks/{button-C4494Xwz.mjs → button-CkvbfoBC.mjs} +2 -2
  29. package/dist/chunks/{button-C4494Xwz.mjs.map → button-CkvbfoBC.mjs.map} +1 -1
  30. package/dist/chunks/{calendar-Bn7etJ7O.mjs → calendar-DthuUOQB.mjs} +6 -6
  31. package/dist/chunks/{calendar-Bn7etJ7O.mjs.map → calendar-DthuUOQB.mjs.map} +1 -1
  32. package/dist/chunks/{check-BufRfuJc.mjs → check-CEEnU7uo.mjs} +2 -2
  33. package/dist/chunks/{check-BufRfuJc.mjs.map → check-CEEnU7uo.mjs.map} +1 -1
  34. package/dist/chunks/{chevron-down-B2x6HHdH.mjs → chevron-down-CdtWWCvB.mjs} +2 -2
  35. package/dist/chunks/{chevron-down-B2x6HHdH.mjs.map → chevron-down-CdtWWCvB.mjs.map} +1 -1
  36. package/dist/chunks/{chevron-left-DII9rLXX.mjs → chevron-left-dKr4sXaL.mjs} +2 -2
  37. package/dist/chunks/{chevron-left-DII9rLXX.mjs.map → chevron-left-dKr4sXaL.mjs.map} +1 -1
  38. package/dist/chunks/{chevron-right-lKnfXpjb.mjs → chevron-right-BJERqiST.mjs} +2 -2
  39. package/dist/chunks/{chevron-right-lKnfXpjb.mjs.map → chevron-right-BJERqiST.mjs.map} +1 -1
  40. package/dist/chunks/{chevrons-up-down-B_ep4nON.mjs → chevrons-up-down-CvLRAoM4.mjs} +2 -2
  41. package/dist/chunks/{chevrons-up-down-B_ep4nON.mjs.map → chevrons-up-down-CvLRAoM4.mjs.map} +1 -1
  42. package/dist/chunks/{command-CrYOqG25.mjs → command-BT07aIMk.mjs} +8 -8
  43. package/dist/chunks/command-BT07aIMk.mjs.map +1 -0
  44. package/dist/chunks/{createLucideIcon-BAOK8uBo.mjs → createLucideIcon-C-36jtLf.mjs} +1 -1
  45. package/dist/chunks/{createLucideIcon-BAOK8uBo.mjs.map → createLucideIcon-C-36jtLf.mjs.map} +1 -1
  46. package/dist/chunks/{dialog-FO9bKZ6s.mjs → dialog-E_tuNVVP.mjs} +4 -4
  47. package/dist/chunks/dialog-E_tuNVVP.mjs.map +1 -0
  48. package/dist/chunks/{hover-card-CuN13oVM.mjs → hover-card-BnkDAKKp.mjs} +10 -10
  49. package/dist/chunks/{hover-card-CuN13oVM.mjs.map → hover-card-BnkDAKKp.mjs.map} +1 -1
  50. package/dist/chunks/{index--albQ_45.mjs → index-0tMmOuv1.mjs} +3 -3
  51. package/dist/chunks/{index--albQ_45.mjs.map → index-0tMmOuv1.mjs.map} +1 -1
  52. package/dist/chunks/{index-BzMhdUkg.mjs → index-B63fbqEU.mjs} +1 -1
  53. package/dist/chunks/{index-BzMhdUkg.mjs.map → index-B63fbqEU.mjs.map} +1 -1
  54. package/dist/chunks/{index-BNqOXbUm.mjs → index-BIfMxNBh.mjs} +2 -2
  55. package/dist/chunks/{index-BNqOXbUm.mjs.map → index-BIfMxNBh.mjs.map} +1 -1
  56. package/dist/chunks/{index-mYta_RI8.mjs → index-Bv_h_hMx.mjs} +10 -10
  57. package/dist/chunks/{index-mYta_RI8.mjs.map → index-Bv_h_hMx.mjs.map} +1 -1
  58. package/dist/chunks/{index-Df9Yxox9.mjs → index-Bzi8Hpka.mjs} +5 -5
  59. package/dist/chunks/{index-Df9Yxox9.mjs.map → index-Bzi8Hpka.mjs.map} +1 -1
  60. package/dist/chunks/{index-CXNCVcaz.mjs → index-Cf5nP8Sx.mjs} +2 -2
  61. package/dist/chunks/{index-CXNCVcaz.mjs.map → index-Cf5nP8Sx.mjs.map} +1 -1
  62. package/dist/chunks/{index-DfZ3GX4x.mjs → index-CiQJ7wod.mjs} +2 -2
  63. package/dist/chunks/{index-DfZ3GX4x.mjs.map → index-CiQJ7wod.mjs.map} +1 -1
  64. package/dist/chunks/{index-CUDW0ZQ_.mjs → index-Cn5ihFPu.mjs} +1 -1
  65. package/dist/chunks/{index-CUDW0ZQ_.mjs.map → index-Cn5ihFPu.mjs.map} +1 -1
  66. package/dist/chunks/{index-DzjTqHOw.mjs → index-D1toVD_V.mjs} +1 -1
  67. package/dist/chunks/{index-DzjTqHOw.mjs.map → index-D1toVD_V.mjs.map} +1 -1
  68. package/dist/chunks/{index-zNRN-G4N.mjs → index-D7MXDvLR.mjs} +7 -7
  69. package/dist/chunks/{index-zNRN-G4N.mjs.map → index-D7MXDvLR.mjs.map} +1 -1
  70. package/dist/chunks/{index-Dw8lQ-RR.mjs → index-DfGdJ6wp.mjs} +1 -1
  71. package/dist/chunks/{index-Dw8lQ-RR.mjs.map → index-DfGdJ6wp.mjs.map} +1 -1
  72. package/dist/chunks/{index-CbW8A2kC.mjs → index-DujcHJqa.mjs} +1 -1
  73. package/dist/chunks/{index-CbW8A2kC.mjs.map → index-DujcHJqa.mjs.map} +1 -1
  74. package/dist/chunks/{index-DT-ocbAI.mjs → index-OeC6d8TA.mjs} +2 -2
  75. package/dist/chunks/{index-DT-ocbAI.mjs.map → index-OeC6d8TA.mjs.map} +1 -1
  76. package/dist/chunks/{index-BbDRMUvK.mjs → index-VGFs-gvq.mjs} +1 -1
  77. package/dist/chunks/{index-BbDRMUvK.mjs.map → index-VGFs-gvq.mjs.map} +1 -1
  78. package/dist/chunks/{index-DzMHHCWk.mjs → index-ZiahhVWN.mjs} +1 -1
  79. package/dist/chunks/{index-DzMHHCWk.mjs.map → index-ZiahhVWN.mjs.map} +1 -1
  80. package/dist/chunks/{index-D_xzHl5d.mjs → index-hd6oiDyZ.mjs} +1 -1
  81. package/dist/chunks/{index-D_xzHl5d.mjs.map → index-hd6oiDyZ.mjs.map} +1 -1
  82. package/dist/chunks/{index-BASEfxEg.mjs → index-mnhyF3Xs.mjs} +28 -14
  83. package/dist/chunks/index-mnhyF3Xs.mjs.map +1 -0
  84. package/dist/chunks/{index-LseEEE-q.mjs → index-n6Vlh2qs.mjs} +9 -9
  85. package/dist/chunks/{index-LseEEE-q.mjs.map → index-n6Vlh2qs.mjs.map} +1 -1
  86. package/dist/chunks/{index-8gnkKZlE.mjs → index-oRHhKb2z.mjs} +1 -1
  87. package/dist/chunks/{index-8gnkKZlE.mjs.map → index-oRHhKb2z.mjs.map} +1 -1
  88. package/dist/chunks/{index-CX0Te_pb.mjs → index-ypP8ZSEh.mjs} +6 -6
  89. package/dist/chunks/{index-CX0Te_pb.mjs.map → index-ypP8ZSEh.mjs.map} +1 -1
  90. package/dist/chunks/{input-B2f0GlFq.mjs → input-f9f7o4dl.mjs} +2 -2
  91. package/dist/chunks/{input-B2f0GlFq.mjs.map → input-f9f7o4dl.mjs.map} +1 -1
  92. package/dist/chunks/{label-CTvusVhq.mjs → label-ClnI7CPw.mjs} +3 -3
  93. package/dist/chunks/label-ClnI7CPw.mjs.map +1 -0
  94. package/dist/chunks/{pagination-BLz66_yn.mjs → pagination-ByGWAyDY.mjs} +6 -6
  95. package/dist/chunks/{pagination-BLz66_yn.mjs.map → pagination-ByGWAyDY.mjs.map} +1 -1
  96. package/dist/chunks/{popover-CuyS8YJG.mjs → popover-BP0h5od9.mjs} +12 -12
  97. package/dist/chunks/{popover-CuyS8YJG.mjs.map → popover-BP0h5od9.mjs.map} +1 -1
  98. package/dist/chunks/{progress-Ck6wO1t2.mjs → progress-C36nV_EJ.mjs} +4 -4
  99. package/dist/chunks/progress-C36nV_EJ.mjs.map +1 -0
  100. package/dist/chunks/pt-BR-B365hYCq.mjs +608 -0
  101. package/dist/chunks/pt-BR-B365hYCq.mjs.map +1 -0
  102. package/dist/chunks/{scroll-area-CD6RlkcP.mjs → scroll-area-BCPovfc9.mjs} +10 -10
  103. package/dist/chunks/{scroll-area-CD6RlkcP.mjs.map → scroll-area-BCPovfc9.mjs.map} +1 -1
  104. package/dist/chunks/{select-WF2nid0z.mjs → select-DsHm4Ncw.mjs} +5 -5
  105. package/dist/chunks/select-DsHm4Ncw.mjs.map +1 -0
  106. package/dist/chunks/{separator-BK0Tvy4g.mjs → separator-D5jBoFYi.mjs} +3 -3
  107. package/dist/chunks/separator-D5jBoFYi.mjs.map +1 -0
  108. package/dist/chunks/{skeleton-Bl-MaKOs.mjs → skeleton-BW9vlu4U.mjs} +2 -2
  109. package/dist/chunks/{skeleton-Bl-MaKOs.mjs.map → skeleton-BW9vlu4U.mjs.map} +1 -1
  110. package/dist/chunks/{sortable-DRqX-gMK.mjs → sortable-DbjP8Kx8.mjs} +3 -3
  111. package/dist/chunks/{sortable-DRqX-gMK.mjs.map → sortable-DbjP8Kx8.mjs.map} +1 -1
  112. package/dist/chunks/{table-Dw1XMlWf.mjs → table-BrJ_iN3j.mjs} +2 -2
  113. package/dist/chunks/table-BrJ_iN3j.mjs.map +1 -0
  114. package/dist/chunks/{toggle-EOJD2uWa.mjs → toggle-BYDRoIw7.mjs} +5 -5
  115. package/dist/chunks/toggle-BYDRoIw7.mjs.map +1 -0
  116. package/dist/chunks/{tooltip-CyByO4MF.mjs → tooltip-DnGcpocO.mjs} +12 -12
  117. package/dist/chunks/tooltip-DnGcpocO.mjs.map +1 -0
  118. package/dist/chunks/{trash-2-Dnyls9bQ.mjs → trash-2-Ccqlx7cY.mjs} +2 -2
  119. package/dist/chunks/{trash-2-Dnyls9bQ.mjs.map → trash-2-Ccqlx7cY.mjs.map} +1 -1
  120. package/dist/chunks/{tslib.es6-CZnabdCM.mjs → tslib.es6-CZ32kgxs.mjs} +1 -1
  121. package/dist/chunks/{tslib.es6-CZnabdCM.mjs.map → tslib.es6-CZ32kgxs.mjs.map} +1 -1
  122. package/dist/chunks/{utils-Dizh2I4E.mjs → utils-SWF3jXjy.mjs} +2 -2
  123. package/dist/chunks/{utils-Dizh2I4E.mjs.map → utils-SWF3jXjy.mjs.map} +1 -1
  124. package/dist/chunks/{x-D0eS_uVN.mjs → x-B9_z9ee1.mjs} +2 -2
  125. package/dist/chunks/{x-D0eS_uVN.mjs.map → x-B9_z9ee1.mjs.map} +1 -1
  126. package/dist/combobox/index.mjs +25 -25
  127. package/dist/combobox/index.mjs.map +1 -1
  128. package/dist/command/index.mjs +19 -19
  129. package/dist/data-table/index.mjs +41 -41
  130. package/dist/data-table/index.mjs.map +1 -1
  131. package/dist/date-picker/index.d.ts +38 -0
  132. package/dist/date-picker/index.mjs +63 -0
  133. package/dist/date-picker/index.mjs.map +1 -0
  134. package/dist/dialog/index.mjs +18 -18
  135. package/dist/dropdown-menu/index.mjs +22 -23
  136. package/dist/dropdown-menu/index.mjs.map +1 -1
  137. package/dist/dropzone/index.mjs +17 -17
  138. package/dist/dropzone/index.mjs.map +1 -1
  139. package/dist/form/index.mjs +4 -4
  140. package/dist/form/index.mjs.map +1 -1
  141. package/dist/hover-card/index.mjs +14 -14
  142. package/dist/icon/index.mjs +1 -1
  143. package/dist/index.css +1 -1
  144. package/dist/input/index.mjs +3 -3
  145. package/dist/ivt.css +1 -1
  146. package/dist/label/index.mjs +4 -4
  147. package/dist/layout/index.mjs +5 -5
  148. package/dist/menubar/index.mjs +22 -23
  149. package/dist/menubar/index.mjs.map +1 -1
  150. package/dist/multi-select/index.mjs +29 -29
  151. package/dist/multi-select/index.mjs.map +1 -1
  152. package/dist/pagination/index.mjs +7 -7
  153. package/dist/popover/index.mjs +17 -17
  154. package/dist/progress/index.mjs +5 -5
  155. package/dist/radio-group/index.mjs +20 -20
  156. package/dist/radio-group/index.mjs.map +1 -1
  157. package/dist/scroll-area/index.mjs +11 -11
  158. package/dist/select/index.mjs +6 -6
  159. package/dist/separator/index.mjs +4 -4
  160. package/dist/shared/index.mjs +5 -5
  161. package/dist/sheet/index.mjs +17 -17
  162. package/dist/sheet/index.mjs.map +1 -1
  163. package/dist/skeleton/index.mjs +3 -3
  164. package/dist/skeleton-component/index.mjs +4 -4
  165. package/dist/sonner/index.mjs.map +1 -1
  166. package/dist/sortable/index.mjs +4 -4
  167. package/dist/switch/index.mjs +10 -10
  168. package/dist/table/index.mjs +3 -3
  169. package/dist/tabs/index.mjs +13 -13
  170. package/dist/tabs/index.mjs.map +1 -1
  171. package/dist/textarea/index.mjs +2 -2
  172. package/dist/toast/index.mjs +14 -14
  173. package/dist/toast/index.mjs.map +1 -1
  174. package/dist/toggle/index.mjs +7 -7
  175. package/dist/toggle-group/index.mjs +13 -13
  176. package/dist/toggle-group/index.mjs.map +1 -1
  177. package/dist/tooltip/index.mjs +16 -16
  178. package/package.json +5 -5
  179. package/dist/chunks/_commonjsHelpers-DB0L5QuM.mjs.map +0 -1
  180. package/dist/chunks/circle-B8A0IGvj.mjs +0 -17
  181. package/dist/chunks/circle-B8A0IGvj.mjs.map +0 -1
  182. package/dist/chunks/command-CrYOqG25.mjs.map +0 -1
  183. package/dist/chunks/dialog-FO9bKZ6s.mjs.map +0 -1
  184. package/dist/chunks/index-BASEfxEg.mjs.map +0 -1
  185. package/dist/chunks/label-CTvusVhq.mjs.map +0 -1
  186. package/dist/chunks/progress-Ck6wO1t2.mjs.map +0 -1
  187. package/dist/chunks/select-WF2nid0z.mjs.map +0 -1
  188. package/dist/chunks/separator-BK0Tvy4g.mjs.map +0 -1
  189. package/dist/chunks/table-Dw1XMlWf.mjs.map +0 -1
  190. package/dist/chunks/toggle-EOJD2uWa.mjs.map +0 -1
  191. package/dist/chunks/tooltip-CyByO4MF.mjs.map +0 -1
@@ -1,80 +1,45 @@
1
- import { c as cn } from '../chunks/utils-Dizh2I4E.mjs';
1
+ import { c as cn } from '../chunks/utils-SWF3jXjy.mjs';
2
2
  import * as React from 'react';
3
3
  import React__default, { useRef, useEffect, useMemo } from 'react';
4
- import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-D8D50bOM.mjs';
5
- import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-CuyS8YJG.mjs';
6
- import { c as createLucideIcon } from '../chunks/createLucideIcon-BAOK8uBo.mjs';
7
- import { t as toDate, b as buildFormatLongFn, c as buildLocalizeFn, d as buildMatchFn, e as buildMatchPatternFn, f as format, C as Calendar$1 } from '../chunks/calendar-Bn7etJ7O.mjs';
8
- import { B as Button } from '../chunks/button-C4494Xwz.mjs';
9
- import { t as twMerge } from '../chunks/bundle-mjs-CHV3NDgz.mjs';
10
- import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-CuN13oVM.mjs';
11
- import { B as Badge } from '../chunks/badge-D6WUAOGu.mjs';
12
- import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-B_ep4nON.mjs';
13
- import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-CrYOqG25.mjs';
14
- import { C as Check } from '../chunks/check-BufRfuJc.mjs';
15
- import { D as Dialog, i as DialogTrigger, b as DialogContent, e as DialogHeader, h as DialogTitle, c as DialogDescription, d as DialogFooter, a as DialogClose } from '../chunks/dialog-FO9bKZ6s.mjs';
16
- import { T as Trash2 } from '../chunks/trash-2-Dnyls9bQ.mjs';
17
- import '../chunks/index-DzMHHCWk.mjs';
4
+ import { A as Accordion, a as AccordionItem, b as AccordionTrigger, c as AccordionContent } from '../chunks/accordion-C-7WU65v.mjs';
5
+ import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-BP0h5od9.mjs';
6
+ import { c as createLucideIcon } from '../chunks/createLucideIcon-C-36jtLf.mjs';
7
+ import { C as CalendarDays, p as ptBR } from '../chunks/pt-BR-B365hYCq.mjs';
8
+ import { t as toDate, f as format, C as Calendar } from '../chunks/calendar-DthuUOQB.mjs';
9
+ import { B as Button } from '../chunks/button-CkvbfoBC.mjs';
10
+ import { t as twMerge } from '../chunks/bundle-mjs--Uc0zBMR.mjs';
11
+ import { H as HoverCard, a as HoverCardTrigger, b as HoverCardContent } from '../chunks/hover-card-BnkDAKKp.mjs';
12
+ import { B as Badge } from '../chunks/badge-FyqsRWpb.mjs';
13
+ import { C as ChevronsUpDown } from '../chunks/chevrons-up-down-CvLRAoM4.mjs';
14
+ import { C as Command, b as CommandInput, d as CommandEmpty, c as CommandList, e as CommandGroup, f as CommandItem } from '../chunks/command-BT07aIMk.mjs';
15
+ import { C as Check } from '../chunks/check-CEEnU7uo.mjs';
16
+ import { D as Dialog, i as DialogTrigger, b as DialogContent, e as DialogHeader, h as DialogTitle, c as DialogDescription, d as DialogFooter, a as DialogClose } from '../chunks/dialog-E_tuNVVP.mjs';
17
+ import { T as Trash2 } from '../chunks/trash-2-Ccqlx7cY.mjs';
18
+ import '../chunks/index-ZiahhVWN.mjs';
18
19
  import 'react/jsx-runtime';
19
20
  import '@radix-ui/react-collection';
20
- import '../chunks/index-Dw8lQ-RR.mjs';
21
- import '../chunks/index-BbDRMUvK.mjs';
22
- import '../chunks/index-DfZ3GX4x.mjs';
23
- import '../chunks/index-D_xzHl5d.mjs';
24
- import '../chunks/index-CbW8A2kC.mjs';
21
+ import '../chunks/index-DfGdJ6wp.mjs';
22
+ import '../chunks/index-VGFs-gvq.mjs';
23
+ import '../chunks/index-CiQJ7wod.mjs';
24
+ import '../chunks/index-hd6oiDyZ.mjs';
25
+ import '../chunks/index-DujcHJqa.mjs';
25
26
  import 'react-dom';
26
27
  import '@radix-ui/react-slot';
27
- import '../chunks/index--albQ_45.mjs';
28
- import '../chunks/index-BNqOXbUm.mjs';
29
- import '../chunks/index-8gnkKZlE.mjs';
30
- import '../chunks/chevron-down-B2x6HHdH.mjs';
31
- import '../chunks/index-CX0Te_pb.mjs';
32
- import '../chunks/index-DzjTqHOw.mjs';
33
- import '../chunks/index-Df9Yxox9.mjs';
34
- import '../chunks/tslib.es6-CZnabdCM.mjs';
35
- import '../chunks/index-zNRN-G4N.mjs';
36
- import '../chunks/index-CXNCVcaz.mjs';
37
- import '../chunks/chevron-left-DII9rLXX.mjs';
38
- import '../chunks/chevron-right-lKnfXpjb.mjs';
28
+ import '../chunks/index-0tMmOuv1.mjs';
29
+ import '../chunks/index-BIfMxNBh.mjs';
30
+ import '../chunks/index-oRHhKb2z.mjs';
31
+ import '../chunks/chevron-down-CdtWWCvB.mjs';
32
+ import '../chunks/index-ypP8ZSEh.mjs';
33
+ import '../chunks/index-D1toVD_V.mjs';
34
+ import '../chunks/index-Bzi8Hpka.mjs';
35
+ import '../chunks/tslib.es6-CZ32kgxs.mjs';
36
+ import '../chunks/index-D7MXDvLR.mjs';
37
+ import '../chunks/index-Cf5nP8Sx.mjs';
38
+ import '../chunks/chevron-left-dKr4sXaL.mjs';
39
+ import '../chunks/chevron-right-BJERqiST.mjs';
39
40
  import 'class-variance-authority';
40
- import '../chunks/index-mYta_RI8.mjs';
41
- import '../chunks/x-D0eS_uVN.mjs';
42
-
43
- const __iconNode$1 = [
44
- [
45
- "path",
46
- {
47
- d: "M8 2v4",
48
- key: "1cmpym"
49
- }
50
- ],
51
- [
52
- "path",
53
- {
54
- d: "M16 2v4",
55
- key: "4m81vk"
56
- }
57
- ],
58
- [
59
- "rect",
60
- {
61
- width: "18",
62
- height: "18",
63
- x: "3",
64
- y: "4",
65
- rx: "2",
66
- key: "1hopcy"
67
- }
68
- ],
69
- [
70
- "path",
71
- {
72
- d: "M3 10h18",
73
- key: "8toen8"
74
- }
75
- ]
76
- ];
77
- const Calendar = createLucideIcon("Calendar", __iconNode$1);
41
+ import '../chunks/index-Bv_h_hMx.mjs';
42
+ import '../chunks/x-B9_z9ee1.mjs';
78
43
 
79
44
  const __iconNode = [
80
45
  [
@@ -139,563 +104,39 @@ const Header = ({ title, description, className, classNameDescription, children,
139
104
  return day === 0 || day === 6;
140
105
  }
141
106
 
142
- const formatDistanceLocale = {
143
- lessThanXSeconds: {
144
- one: "menos de um segundo",
145
- other: "menos de {{count}} segundos"
146
- },
147
- xSeconds: {
148
- one: "1 segundo",
149
- other: "{{count}} segundos"
150
- },
151
- halfAMinute: "meio minuto",
152
- lessThanXMinutes: {
153
- one: "menos de um minuto",
154
- other: "menos de {{count}} minutos"
155
- },
156
- xMinutes: {
157
- one: "1 minuto",
158
- other: "{{count}} minutos"
159
- },
160
- aboutXHours: {
161
- one: "cerca de 1 hora",
162
- other: "cerca de {{count}} horas"
163
- },
164
- xHours: {
165
- one: "1 hora",
166
- other: "{{count}} horas"
167
- },
168
- xDays: {
169
- one: "1 dia",
170
- other: "{{count}} dias"
171
- },
172
- aboutXWeeks: {
173
- one: "cerca de 1 semana",
174
- other: "cerca de {{count}} semanas"
175
- },
176
- xWeeks: {
177
- one: "1 semana",
178
- other: "{{count}} semanas"
179
- },
180
- aboutXMonths: {
181
- one: "cerca de 1 mês",
182
- other: "cerca de {{count}} meses"
183
- },
184
- xMonths: {
185
- one: "1 mês",
186
- other: "{{count}} meses"
187
- },
188
- aboutXYears: {
189
- one: "cerca de 1 ano",
190
- other: "cerca de {{count}} anos"
191
- },
192
- xYears: {
193
- one: "1 ano",
194
- other: "{{count}} anos"
195
- },
196
- overXYears: {
197
- one: "mais de 1 ano",
198
- other: "mais de {{count}} anos"
199
- },
200
- almostXYears: {
201
- one: "quase 1 ano",
202
- other: "quase {{count}} anos"
203
- }
204
- };
205
- const formatDistance = (token, count, options)=>{
206
- let result;
207
- const tokenValue = formatDistanceLocale[token];
208
- if (typeof tokenValue === "string") {
209
- result = tokenValue;
210
- } else if (count === 1) {
211
- result = tokenValue.one;
212
- } else {
213
- result = tokenValue.other.replace("{{count}}", String(count));
214
- }
215
- if (options?.addSuffix) {
216
- if (options.comparison && options.comparison > 0) {
217
- return "em " + result;
218
- } else {
219
- return "há " + result;
220
- }
221
- }
222
- return result;
223
- };
224
-
225
- const dateFormats = {
226
- full: "EEEE, d 'de' MMMM 'de' y",
227
- long: "d 'de' MMMM 'de' y",
228
- medium: "d MMM y",
229
- short: "dd/MM/yyyy"
230
- };
231
- const timeFormats = {
232
- full: "HH:mm:ss zzzz",
233
- long: "HH:mm:ss z",
234
- medium: "HH:mm:ss",
235
- short: "HH:mm"
236
- };
237
- const dateTimeFormats = {
238
- full: "{{date}} 'às' {{time}}",
239
- long: "{{date}} 'às' {{time}}",
240
- medium: "{{date}}, {{time}}",
241
- short: "{{date}}, {{time}}"
242
- };
243
- const formatLong = {
244
- date: buildFormatLongFn({
245
- formats: dateFormats,
246
- defaultWidth: "full"
247
- }),
248
- time: buildFormatLongFn({
249
- formats: timeFormats,
250
- defaultWidth: "full"
251
- }),
252
- dateTime: buildFormatLongFn({
253
- formats: dateTimeFormats,
254
- defaultWidth: "full"
255
- })
256
- };
257
-
258
- const formatRelativeLocale = {
259
- lastWeek: (date)=>{
260
- const weekday = date.getDay();
261
- const last = weekday === 0 || weekday === 6 ? "último" : "última";
262
- return "'" + last + "' eeee 'às' p";
263
- },
264
- yesterday: "'ontem às' p",
265
- today: "'hoje às' p",
266
- tomorrow: "'amanhã às' p",
267
- nextWeek: "eeee 'às' p",
268
- other: "P"
269
- };
270
- const formatRelative = (token, date, _baseDate, _options)=>{
271
- const format = formatRelativeLocale[token];
272
- if (typeof format === "function") {
273
- return format(date);
274
- }
275
- return format;
276
- };
277
-
278
- const eraValues = {
279
- narrow: [
280
- "AC",
281
- "DC"
282
- ],
283
- abbreviated: [
284
- "AC",
285
- "DC"
286
- ],
287
- wide: [
288
- "antes de cristo",
289
- "depois de cristo"
290
- ]
291
- };
292
- const quarterValues = {
293
- narrow: [
294
- "1",
295
- "2",
296
- "3",
297
- "4"
298
- ],
299
- abbreviated: [
300
- "T1",
301
- "T2",
302
- "T3",
303
- "T4"
304
- ],
305
- wide: [
306
- "1º trimestre",
307
- "2º trimestre",
308
- "3º trimestre",
309
- "4º trimestre"
310
- ]
311
- };
312
- const monthValues = {
313
- narrow: [
314
- "j",
315
- "f",
316
- "m",
317
- "a",
318
- "m",
319
- "j",
320
- "j",
321
- "a",
322
- "s",
323
- "o",
324
- "n",
325
- "d"
326
- ],
327
- abbreviated: [
328
- "jan",
329
- "fev",
330
- "mar",
331
- "abr",
332
- "mai",
333
- "jun",
334
- "jul",
335
- "ago",
336
- "set",
337
- "out",
338
- "nov",
339
- "dez"
340
- ],
341
- wide: [
342
- "janeiro",
343
- "fevereiro",
344
- "março",
345
- "abril",
346
- "maio",
347
- "junho",
348
- "julho",
349
- "agosto",
350
- "setembro",
351
- "outubro",
352
- "novembro",
353
- "dezembro"
354
- ]
355
- };
356
- const dayValues = {
357
- narrow: [
358
- "D",
359
- "S",
360
- "T",
361
- "Q",
362
- "Q",
363
- "S",
364
- "S"
365
- ],
366
- short: [
367
- "dom",
368
- "seg",
369
- "ter",
370
- "qua",
371
- "qui",
372
- "sex",
373
- "sab"
374
- ],
375
- abbreviated: [
376
- "domingo",
377
- "segunda",
378
- "terça",
379
- "quarta",
380
- "quinta",
381
- "sexta",
382
- "sábado"
383
- ],
384
- wide: [
385
- "domingo",
386
- "segunda-feira",
387
- "terça-feira",
388
- "quarta-feira",
389
- "quinta-feira",
390
- "sexta-feira",
391
- "sábado"
392
- ]
393
- };
394
- const dayPeriodValues = {
395
- narrow: {
396
- am: "a",
397
- pm: "p",
398
- midnight: "mn",
399
- noon: "md",
400
- morning: "manhã",
401
- afternoon: "tarde",
402
- evening: "tarde",
403
- night: "noite"
404
- },
405
- abbreviated: {
406
- am: "AM",
407
- pm: "PM",
408
- midnight: "meia-noite",
409
- noon: "meio-dia",
410
- morning: "manhã",
411
- afternoon: "tarde",
412
- evening: "tarde",
413
- night: "noite"
414
- },
415
- wide: {
416
- am: "a.m.",
417
- pm: "p.m.",
418
- midnight: "meia-noite",
419
- noon: "meio-dia",
420
- morning: "manhã",
421
- afternoon: "tarde",
422
- evening: "tarde",
423
- night: "noite"
424
- }
425
- };
426
- const formattingDayPeriodValues = {
427
- narrow: {
428
- am: "a",
429
- pm: "p",
430
- midnight: "mn",
431
- noon: "md",
432
- morning: "da manhã",
433
- afternoon: "da tarde",
434
- evening: "da tarde",
435
- night: "da noite"
436
- },
437
- abbreviated: {
438
- am: "AM",
439
- pm: "PM",
440
- midnight: "meia-noite",
441
- noon: "meio-dia",
442
- morning: "da manhã",
443
- afternoon: "da tarde",
444
- evening: "da tarde",
445
- night: "da noite"
446
- },
447
- wide: {
448
- am: "a.m.",
449
- pm: "p.m.",
450
- midnight: "meia-noite",
451
- noon: "meio-dia",
452
- morning: "da manhã",
453
- afternoon: "da tarde",
454
- evening: "da tarde",
455
- night: "da noite"
456
- }
457
- };
458
- const ordinalNumber = (dirtyNumber, options)=>{
459
- const number = Number(dirtyNumber);
460
- if (options?.unit === "week") {
461
- return number + "ª";
462
- }
463
- return number + "º";
464
- };
465
- const localize = {
466
- ordinalNumber,
467
- era: buildLocalizeFn({
468
- values: eraValues,
469
- defaultWidth: "wide"
470
- }),
471
- quarter: buildLocalizeFn({
472
- values: quarterValues,
473
- defaultWidth: "wide",
474
- argumentCallback: (quarter)=>quarter - 1
475
- }),
476
- month: buildLocalizeFn({
477
- values: monthValues,
478
- defaultWidth: "wide"
479
- }),
480
- day: buildLocalizeFn({
481
- values: dayValues,
482
- defaultWidth: "wide"
483
- }),
484
- dayPeriod: buildLocalizeFn({
485
- values: dayPeriodValues,
486
- defaultWidth: "wide",
487
- formattingValues: formattingDayPeriodValues,
488
- defaultFormattingWidth: "wide"
489
- })
490
- };
491
-
492
- const matchOrdinalNumberPattern = /^(\d+)[ºªo]?/i;
493
- const parseOrdinalNumberPattern = /\d+/i;
494
- const matchEraPatterns = {
495
- narrow: /^(ac|dc|a|d)/i,
496
- abbreviated: /^(a\.?\s?c\.?|d\.?\s?c\.?)/i,
497
- wide: /^(antes de cristo|depois de cristo)/i
498
- };
499
- const parseEraPatterns = {
500
- any: [
501
- /^ac/i,
502
- /^dc/i
503
- ],
504
- wide: [
505
- /^antes de cristo/i,
506
- /^depois de cristo/i
507
- ]
508
- };
509
- const matchQuarterPatterns = {
510
- narrow: /^[1234]/i,
511
- abbreviated: /^T[1234]/i,
512
- wide: /^[1234](º)? trimestre/i
513
- };
514
- const parseQuarterPatterns = {
515
- any: [
516
- /1/i,
517
- /2/i,
518
- /3/i,
519
- /4/i
520
- ]
521
- };
522
- const matchMonthPatterns = {
523
- narrow: /^[jfmajsond]/i,
524
- abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,
525
- wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i
526
- };
527
- const parseMonthPatterns = {
528
- narrow: [
529
- /^j/i,
530
- /^f/i,
531
- /^m/i,
532
- /^a/i,
533
- /^m/i,
534
- /^j/i,
535
- /^j/i,
536
- /^a/i,
537
- /^s/i,
538
- /^o/i,
539
- /^n/i,
540
- /^d/i
541
- ],
542
- any: [
543
- /^ja/i,
544
- /^fev/i,
545
- /^mar/i,
546
- /^abr/i,
547
- /^mai/i,
548
- /^jun/i,
549
- /^jul/i,
550
- /^ago/i,
551
- /^set/i,
552
- /^out/i,
553
- /^nov/i,
554
- /^dez/i
555
- ]
556
- };
557
- const matchDayPatterns = {
558
- narrow: /^(dom|[23456]ª?|s[aá]b)/i,
559
- short: /^(dom|[23456]ª?|s[aá]b)/i,
560
- abbreviated: /^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,
561
- wide: /^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i
562
- };
563
- const parseDayPatterns = {
564
- short: [
565
- /^d/i,
566
- /^2/i,
567
- /^3/i,
568
- /^4/i,
569
- /^5/i,
570
- /^6/i,
571
- /^s[aá]/i
572
- ],
573
- narrow: [
574
- /^d/i,
575
- /^2/i,
576
- /^3/i,
577
- /^4/i,
578
- /^5/i,
579
- /^6/i,
580
- /^s[aá]/i
581
- ],
582
- any: [
583
- /^d/i,
584
- /^seg/i,
585
- /^t/i,
586
- /^qua/i,
587
- /^qui/i,
588
- /^sex/i,
589
- /^s[aá]b/i
590
- ]
591
- };
592
- const matchDayPeriodPatterns = {
593
- narrow: /^(a|p|mn|md|(da) (manhã|tarde|noite))/i,
594
- any: /^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i
595
- };
596
- const parseDayPeriodPatterns = {
597
- any: {
598
- am: /^a/i,
599
- pm: /^p/i,
600
- midnight: /^mn|^meia[-\s]noite/i,
601
- noon: /^md|^meio[-\s]dia/i,
602
- morning: /manhã/i,
603
- afternoon: /tarde/i,
604
- evening: /tarde/i,
605
- night: /noite/i
606
- }
607
- };
608
- const match = {
609
- ordinalNumber: buildMatchPatternFn({
610
- matchPattern: matchOrdinalNumberPattern,
611
- parsePattern: parseOrdinalNumberPattern,
612
- valueCallback: (value)=>parseInt(value, 10)
613
- }),
614
- era: buildMatchFn({
615
- matchPatterns: matchEraPatterns,
616
- defaultMatchWidth: "wide",
617
- parsePatterns: parseEraPatterns,
618
- defaultParseWidth: "any"
619
- }),
620
- quarter: buildMatchFn({
621
- matchPatterns: matchQuarterPatterns,
622
- defaultMatchWidth: "wide",
623
- parsePatterns: parseQuarterPatterns,
624
- defaultParseWidth: "any",
625
- valueCallback: (index)=>index + 1
626
- }),
627
- month: buildMatchFn({
628
- matchPatterns: matchMonthPatterns,
629
- defaultMatchWidth: "wide",
630
- parsePatterns: parseMonthPatterns,
631
- defaultParseWidth: "any"
632
- }),
633
- day: buildMatchFn({
634
- matchPatterns: matchDayPatterns,
635
- defaultMatchWidth: "wide",
636
- parsePatterns: parseDayPatterns,
637
- defaultParseWidth: "any"
638
- }),
639
- dayPeriod: buildMatchFn({
640
- matchPatterns: matchDayPeriodPatterns,
641
- defaultMatchWidth: "any",
642
- parsePatterns: parseDayPeriodPatterns,
643
- defaultParseWidth: "any"
644
- })
645
- };
646
-
647
- /**
648
- * @category Locales
649
- * @summary Portuguese locale (Brazil).
650
- * @language Portuguese
651
- * @iso-639-2 por
652
- * @author Lucas Duailibe [@duailibe](https://github.com/duailibe)
653
- * @author Yago Carballo [@yagocarballo](https://github.com/YagoCarballo)
654
- */ const ptBR = {
655
- code: "pt-BR",
656
- formatDistance: formatDistance,
657
- formatLong: formatLong,
658
- formatRelative: formatRelative,
659
- localize: localize,
660
- match: match,
661
- options: {
662
- weekStartsOn: 0 /* Sunday */ ,
663
- firstWeekContainsDate: 1
664
- }
665
- };
666
-
667
107
  function normalizeDate(date) {
668
108
  return format(date, "yyyy-MM-dd");
669
109
  }
670
- const CalendarPopover = ({ date, setDate, isLoading, isLoadingTable, disabledDates, captionLayout, fromYear, toYear })=>{
671
- return /*#__PURE__*/ React__default.createElement(Popover, null, isLoading || !date ? /*#__PURE__*/ React__default.createElement(Button, {
672
- variant: "outline",
673
- className: cn("b- justify-start text-left font-normal hover:bg-inherit", (isLoading || !date) && "cursor-default opacity-60")
674
- }, /*#__PURE__*/ React__default.createElement(LoaderCircle, {
675
- className: "h-4 w-4 animate-spin"
676
- }), /*#__PURE__*/ React__default.createElement("span", null, "carregando...")) : /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
110
+ const CalendarPopover = ({ date, setDate, placeholder = "Selecione uma data", id = "calendar-popover", buttonProps, buttonClassName, popoverProps, popoverContentClassName, numberOfMonths = 1, fromYear = 2010, toYear = 2040, className, disabled = false, isLoading, captionLayout = "dropdown", disabledDates, isLoadingTable })=>{
111
+ return /*#__PURE__*/ React__default.createElement("div", {
112
+ className: cn("grid gap-2", className)
113
+ }, /*#__PURE__*/ React__default.createElement(Popover, popoverProps, /*#__PURE__*/ React__default.createElement(PopoverTrigger, {
677
114
  asChild: true
678
115
  }, /*#__PURE__*/ React__default.createElement(Button, {
116
+ id: id,
679
117
  variant: "outline",
680
- className: cn("b- justify-start text-left font-normal hover:bg-inherit", !date && "text-muted-foreground")
681
- }, date ? format(date, "dd/MM/yyyy") : /*#__PURE__*/ React__default.createElement("span", null, "Selecione uma data"), /*#__PURE__*/ React__default.createElement(Calendar, {
682
- className: "ml-2 h-4 w-4"
683
- }))), /*#__PURE__*/ React__default.createElement(PopoverContent, {
684
- className: "border-switch mr-12 w-auto p-0"
685
- }, /*#__PURE__*/ React__default.createElement(Calendar$1, {
118
+ className: cn("hover:text-foreground w-fit justify-start text-left font-normal", !date && "text-muted-foreground hover:text-muted-foreground", buttonProps?.className, buttonClassName),
119
+ disabled: disabled,
120
+ ...buttonProps
121
+ }, isLoading ? /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement(LoaderCircle, {
122
+ className: "size-4 animate-spin"
123
+ }), /*#__PURE__*/ React__default.createElement("span", null, "carregando...")) : /*#__PURE__*/ React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ React__default.createElement(CalendarDays, {
124
+ className: "size-4"
125
+ }), date ? format(date, "P", {
126
+ locale: ptBR
127
+ }) : /*#__PURE__*/ React__default.createElement("span", null, placeholder)))), /*#__PURE__*/ React__default.createElement(PopoverContent, {
128
+ className: cn("w-auto p-0", popoverContentClassName),
129
+ align: "start"
130
+ }, /*#__PURE__*/ React__default.createElement(Calendar, {
131
+ autoFocus: true,
686
132
  mode: "single",
133
+ captionLayout: captionLayout,
687
134
  selected: date,
688
- onSelect: (selectedDate)=>{
689
- if (selectedDate) {
690
- const normalizedSelectedDate = normalizeDate(selectedDate);
691
- const normalizedCurrentDate = date ? normalizeDate(date) : null;
692
- if (normalizedSelectedDate !== normalizedCurrentDate) {
693
- setDate(selectedDate);
694
- }
695
- }
696
- },
135
+ onSelect: setDate,
136
+ numberOfMonths: numberOfMonths,
137
+ fromYear: fromYear,
138
+ toYear: toYear,
697
139
  locale: ptBR,
698
- defaultMonth: date,
699
140
  disabled: (currentDate)=>{
700
141
  if (isLoading || isLoadingTable) return true;
701
142
  const normalizedCurrentDate = normalizeDate(currentDate);
@@ -703,11 +144,8 @@ const CalendarPopover = ({ date, setDate, isLoading, isLoadingTable, disabledDat
703
144
  const isWeekendDay = isWeekend(currentDate);
704
145
  const isFutureDate = currentDate > new Date();
705
146
  return isHoliday || isWeekendDay || isFutureDate;
706
- },
707
- captionLayout: captionLayout,
708
- fromYear: fromYear,
709
- toYear: toYear
710
- })));
147
+ }
148
+ }))));
711
149
  };
712
150
 
713
151
  const HoverBadge = ({ title, description, variant, className, showTitleInDescription = true, subtle = false })=>{
@@ -724,12 +162,6 @@ const HoverBadge = ({ title, description, variant, className, showTitleInDescrip
724
162
  };
725
163
 
726
164
  function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id = "date", buttonProps, buttonClassName, popoverProps, popoverContentClassName, numberOfMonths = 2, fromYear = 2010, toYear = 2040, toDate = new Date(2040, 11, 31), className, disabled = false }) {
727
- const [internalDate, setInternalDate] = React.useState(value ?? undefined);
728
- const date = value ?? internalDate;
729
- const setDate = (range)=>{
730
- if (!value) setInternalDate(range);
731
- onChange?.(range);
732
- };
733
165
  return /*#__PURE__*/ React.createElement("div", {
734
166
  className: cn("grid gap-2", className)
735
167
  }, /*#__PURE__*/ React.createElement(Popover, popoverProps, /*#__PURE__*/ React.createElement(PopoverTrigger, {
@@ -737,25 +169,25 @@ function CalendarRange({ value, onChange, placeholder = "Selecione uma data", id
737
169
  }, /*#__PURE__*/ React.createElement(Button, {
738
170
  id: id,
739
171
  variant: "outline",
740
- className: cn("w-fit justify-start text-left font-normal", !date && "text-muted-foreground", buttonProps?.className, buttonClassName),
172
+ className: cn("hover:foreground w-fit justify-start text-left font-normal", !value && "text-muted-foreground hover:text-muted-foreground", buttonProps?.className, buttonClassName),
741
173
  disabled: disabled,
742
174
  ...buttonProps
743
- }, /*#__PURE__*/ React.createElement(Calendar, {
744
- className: "mr-2 h-4 w-4"
745
- }), date?.from ? date.to ? /*#__PURE__*/ React.createElement(React.Fragment, null, format(date.from, "P", {
175
+ }, /*#__PURE__*/ React.createElement(CalendarDays, {
176
+ className: "size-4"
177
+ }), value?.from ? value.to ? /*#__PURE__*/ React.createElement(React.Fragment, null, format(value.from, "P", {
746
178
  locale: ptBR
747
- }), " -", " ", format(date.to, "P", {
179
+ }), " -", " ", format(value.to, "P", {
748
180
  locale: ptBR
749
- })) : format(date.from, "P") : /*#__PURE__*/ React.createElement("span", null, placeholder))), /*#__PURE__*/ React.createElement(PopoverContent, {
181
+ })) : format(value.from, "P") : /*#__PURE__*/ React.createElement("span", null, placeholder))), /*#__PURE__*/ React.createElement(PopoverContent, {
750
182
  className: cn("w-auto p-0", popoverContentClassName),
751
183
  align: "start"
752
- }, /*#__PURE__*/ React.createElement(Calendar$1, {
184
+ }, /*#__PURE__*/ React.createElement(Calendar, {
753
185
  autoFocus: true,
754
186
  mode: "range",
755
187
  captionLayout: "dropdown",
756
- defaultMonth: date?.from,
757
- selected: date,
758
- onSelect: setDate,
188
+ defaultMonth: value?.from,
189
+ selected: value,
190
+ onSelect: onChange,
759
191
  numberOfMonths: numberOfMonths,
760
192
  fromYear: fromYear,
761
193
  toYear: toYear,