iguazio.dashboard-react-controls 3.2.21 → 3.2.23

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 (404) hide show
  1. package/dist/components/ActionsMenu/ActionsMenu.d.ts +17 -10
  2. package/dist/components/ActionsMenu/ActionsMenu.d.ts.map +1 -1
  3. package/dist/components/Backdrop/Backdrop.d.ts +8 -7
  4. package/dist/components/Backdrop/Backdrop.d.ts.map +1 -1
  5. package/dist/components/BlockerSpy/BlockerSpy.d.ts +4 -3
  6. package/dist/components/BlockerSpy/BlockerSpy.d.ts.map +1 -1
  7. package/dist/components/Button/Button.d.ts +16 -15
  8. package/dist/components/Button/Button.d.ts.map +1 -1
  9. package/dist/components/Button/Button.stories.d.ts +69 -7
  10. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  11. package/dist/components/ChipForm/ChipForm.d.ts +20 -12
  12. package/dist/components/ChipForm/ChipForm.d.ts.map +1 -1
  13. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +21 -20
  14. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
  15. package/dist/components/ConfirmDialog/ConfirmDialog.stories.d.ts +22 -1
  16. package/dist/components/ConfirmDialog/ConfirmDialog.stories.d.ts.map +1 -1
  17. package/dist/components/CopyToClipboard/CopyToClipboard.d.ts +11 -10
  18. package/dist/components/CopyToClipboard/CopyToClipboard.d.ts.map +1 -1
  19. package/dist/components/ErrorMessage/ErrorMessage.d.ts +5 -4
  20. package/dist/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
  21. package/dist/components/FormCheckBox/FormCheckBox.d.ts +13 -12
  22. package/dist/components/FormCheckBox/FormCheckBox.d.ts.map +1 -1
  23. package/dist/components/FormCheckBox/FormCheckbox.stories.d.ts +8 -1
  24. package/dist/components/FormCheckBox/FormCheckbox.stories.d.ts.map +1 -1
  25. package/dist/components/FormChipCell/FormChip/FormChip.d.ts +24 -23
  26. package/dist/components/FormChipCell/FormChip/FormChip.d.ts.map +1 -1
  27. package/dist/components/FormChipCell/FormChipCell.d.ts +30 -29
  28. package/dist/components/FormChipCell/FormChipCell.d.ts.map +1 -1
  29. package/dist/components/FormChipCell/FormChipCellView.d.ts +29 -28
  30. package/dist/components/FormChipCell/FormChipCellView.d.ts.map +1 -1
  31. package/dist/components/FormChipCell/HiddenChipsBlock/HiddenChipsBlock.d.ts +16 -7
  32. package/dist/components/FormChipCell/HiddenChipsBlock/HiddenChipsBlock.d.ts.map +1 -1
  33. package/dist/components/FormChipCell/NewChipForm/NewChipForm.d.ts +26 -18
  34. package/dist/components/FormChipCell/NewChipForm/NewChipForm.d.ts.map +1 -1
  35. package/dist/components/FormChipCell/NewChipInput/NewChipInput.d.ts +5 -4
  36. package/dist/components/FormChipCell/NewChipInput/NewChipInput.d.ts.map +1 -1
  37. package/dist/components/FormCombobox/FormCombobox.d.ts +44 -39
  38. package/dist/components/FormCombobox/FormCombobox.d.ts.map +1 -1
  39. package/dist/components/FormCombobox/FormCombobox.stories.d.ts +58 -6
  40. package/dist/components/FormCombobox/FormCombobox.stories.d.ts.map +1 -1
  41. package/dist/components/FormInput/FormInput.d.ts +77 -1
  42. package/dist/components/FormInput/FormInput.d.ts.map +1 -1
  43. package/dist/components/FormInput/FormInput.stories.d.ts +86 -8
  44. package/dist/components/FormInput/FormInput.stories.d.ts.map +1 -1
  45. package/dist/components/FormInput/InputNumberButtons/InputNumberButtons.d.ts +12 -11
  46. package/dist/components/FormInput/InputNumberButtons/InputNumberButtons.d.ts.map +1 -1
  47. package/dist/components/FormKeyValueTable/FormKeyValueTable.d.ts +41 -37
  48. package/dist/components/FormKeyValueTable/FormKeyValueTable.d.ts.map +1 -1
  49. package/dist/components/FormOnChange/FormOnChange.d.ts +4 -3
  50. package/dist/components/FormOnChange/FormOnChange.d.ts.map +1 -1
  51. package/dist/components/FormRadio/FormRadio.d.ts +10 -9
  52. package/dist/components/FormRadio/FormRadio.d.ts.map +1 -1
  53. package/dist/components/FormRadio/FormRadio.stories.d.ts +8 -1
  54. package/dist/components/FormRadio/FormRadio.stories.d.ts.map +1 -1
  55. package/dist/components/FormSelect/FormSelect.d.ts +44 -34
  56. package/dist/components/FormSelect/FormSelect.d.ts.map +1 -1
  57. package/dist/components/FormSelect/FormSelect.stories.d.ts +36 -4
  58. package/dist/components/FormSelect/FormSelect.stories.d.ts.map +1 -1
  59. package/dist/components/FormTextarea/FormTextarea.d.ts +31 -30
  60. package/dist/components/FormTextarea/FormTextarea.d.ts.map +1 -1
  61. package/dist/components/FormTextarea/FormTextarea.stories.d.ts +26 -3
  62. package/dist/components/FormTextarea/FormTextarea.stories.d.ts.map +1 -1
  63. package/dist/components/FormToggle/FormToggle.d.ts +14 -13
  64. package/dist/components/FormToggle/FormToggle.d.ts.map +1 -1
  65. package/dist/components/LoadButton/LoadButton.d.ts +8 -7
  66. package/dist/components/LoadButton/LoadButton.d.ts.map +1 -1
  67. package/dist/components/LoadButton/LoadButton.stories.d.ts +29 -3
  68. package/dist/components/LoadButton/LoadButton.stories.d.ts.map +1 -1
  69. package/dist/components/Loader/Loader.d.ts +14 -1
  70. package/dist/components/Loader/Loader.d.ts.map +1 -1
  71. package/dist/components/Loader/LoaderForSuspenseFallback.d.ts +2 -1
  72. package/dist/components/Loader/LoaderForSuspenseFallback.d.ts.map +1 -1
  73. package/dist/components/Modal/Modal.d.ts +19 -18
  74. package/dist/components/Modal/Modal.d.ts.map +1 -1
  75. package/dist/components/PopUpDialog/PopUpDialog.d.ts +22 -20
  76. package/dist/components/PopUpDialog/PopUpDialog.d.ts.map +1 -1
  77. package/dist/components/ReadOnlyChips/ReadOnlyChips.d.ts +5 -4
  78. package/dist/components/ReadOnlyChips/ReadOnlyChips.d.ts.map +1 -1
  79. package/dist/components/RoundedIcon/RoundedIcon.d.ts +15 -14
  80. package/dist/components/RoundedIcon/RoundedIcon.d.ts.map +1 -1
  81. package/dist/components/RoundedIcon/RoundedIcon.stories.d.ts +13 -2
  82. package/dist/components/RoundedIcon/RoundedIcon.stories.d.ts.map +1 -1
  83. package/dist/components/TableCell/TableCell.d.ts +20 -19
  84. package/dist/components/TableCell/TableCell.d.ts.map +1 -1
  85. package/dist/components/TabsSlider/TabsSlider.d.ts +18 -12
  86. package/dist/components/TabsSlider/TabsSlider.d.ts.map +1 -1
  87. package/dist/components/Tip/Tip.d.ts +7 -6
  88. package/dist/components/Tip/Tip.d.ts.map +1 -1
  89. package/dist/components/Tip/Tip.stories.d.ts +6 -1
  90. package/dist/components/Tip/Tip.stories.d.ts.map +1 -1
  91. package/dist/components/Tooltip/Tooltip.d.ts +17 -16
  92. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  93. package/dist/components/Tooltip/Tooltip.stories.d.ts +16 -2
  94. package/dist/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  95. package/dist/components/TooltipTemplate/ProducerTooltipTemplate.d.ts +6 -5
  96. package/dist/components/TooltipTemplate/ProducerTooltipTemplate.d.ts.map +1 -1
  97. package/dist/components/TooltipTemplate/TextTooltipTemplate.d.ts +6 -5
  98. package/dist/components/TooltipTemplate/TextTooltipTemplate.d.ts.map +1 -1
  99. package/dist/components/Wizard/Wizard.d.ts +16 -15
  100. package/dist/components/Wizard/Wizard.d.ts.map +1 -1
  101. package/dist/components/Wizard/WizardSteps/WizardSteps.d.ts +13 -6
  102. package/dist/components/Wizard/WizardSteps/WizardSteps.d.ts.map +1 -1
  103. package/dist/elements/ActionsMenuItem/ActionsMenuItem.d.ts +7 -6
  104. package/dist/elements/ActionsMenuItem/ActionsMenuItem.d.ts.map +1 -1
  105. package/dist/elements/FormActionButton/FormActionButton.d.ts +13 -12
  106. package/dist/elements/FormActionButton/FormActionButton.d.ts.map +1 -1
  107. package/dist/elements/FormRowActions/FormRowActions.d.ts +14 -13
  108. package/dist/elements/FormRowActions/FormRowActions.d.ts.map +1 -1
  109. package/dist/elements/OptionsMenu/OptionsMenu.d.ts +7 -6
  110. package/dist/elements/OptionsMenu/OptionsMenu.d.ts.map +1 -1
  111. package/dist/elements/SelectOption/SelectOption.d.ts +20 -10
  112. package/dist/elements/SelectOption/SelectOption.d.ts.map +1 -1
  113. package/dist/elements/TableHead/TableHead.d.ts +8 -7
  114. package/dist/elements/TableHead/TableHead.d.ts.map +1 -1
  115. package/dist/elements/TableLinkCell/TableLinkCell.d.ts +15 -14
  116. package/dist/elements/TableLinkCell/TableLinkCell.d.ts.map +1 -1
  117. package/dist/elements/TableTypeCell/TableTypeCell.d.ts +5 -4
  118. package/dist/elements/TableTypeCell/TableTypeCell.d.ts.map +1 -1
  119. package/dist/elements/ValidationTemplate/ValidationTemplate.d.ts +4 -3
  120. package/dist/elements/ValidationTemplate/ValidationTemplate.d.ts.map +1 -1
  121. package/dist/hooks/useDetails.hook.d.ts +35 -29
  122. package/dist/hooks/useDetails.hook.d.ts.map +1 -1
  123. package/dist/hooks/useDetailsHeader.hook.d.ts +59 -44
  124. package/dist/hooks/useDetailsHeader.hook.d.ts.map +1 -1
  125. package/dist/hooks/useFormTable.hook.d.ts +5 -5
  126. package/dist/hooks/useTable.hook.d.ts +42 -32
  127. package/dist/hooks/useTable.hook.d.ts.map +1 -1
  128. package/dist/images/activeFilter.svg +6 -0
  129. package/dist/images/activeFilter.svg.mjs +6 -0
  130. package/dist/images/activeFilter.svg.mjs.map +1 -0
  131. package/dist/images/calendar-chevron.svg +3 -0
  132. package/dist/images/calendar-chevron.svg.mjs +6 -0
  133. package/dist/images/calendar-chevron.svg.mjs.map +1 -0
  134. package/dist/images/check.svg +3 -0
  135. package/dist/images/check.svg.mjs +6 -0
  136. package/dist/images/check.svg.mjs.map +1 -0
  137. package/dist/images/clock.svg.mjs +6 -0
  138. package/dist/images/clock.svg.mjs.map +1 -0
  139. package/dist/images/double-check.svg +3 -0
  140. package/dist/images/filter-2.svg +5 -0
  141. package/dist/images/filter-2.svg.mjs +6 -0
  142. package/dist/images/filter-2.svg.mjs.map +1 -0
  143. package/dist/images/refresh-2.svg +3 -0
  144. package/dist/images/refresh-2.svg.mjs +6 -0
  145. package/dist/images/refresh-2.svg.mjs.map +1 -0
  146. package/dist/images/search2-icon.svg +3 -0
  147. package/dist/images/select.svg +3 -0
  148. package/dist/images/select.svg.mjs +6 -0
  149. package/dist/images/select.svg.mjs.map +1 -0
  150. package/dist/images/sort-arrow.svg +3 -0
  151. package/dist/images/sort-arrow.svg.mjs +6 -0
  152. package/dist/images/sort-arrow.svg.mjs.map +1 -0
  153. package/dist/nextGenComponents/components/Badge/Badge.d.ts +13 -0
  154. package/dist/nextGenComponents/components/Badge/Badge.d.ts.map +1 -0
  155. package/dist/nextGenComponents/components/Badge/Badge.mjs +23 -0
  156. package/dist/nextGenComponents/components/Badge/Badge.mjs.map +1 -0
  157. package/dist/nextGenComponents/components/Badge/index.d.ts +3 -0
  158. package/dist/nextGenComponents/components/Badge/index.d.ts.map +1 -0
  159. package/dist/nextGenComponents/components/Badge/index.mjs +6 -0
  160. package/dist/nextGenComponents/components/Badge/index.mjs.map +1 -0
  161. package/dist/nextGenComponents/components/BadgeCell/BadgeCell.d.ts +13 -0
  162. package/dist/nextGenComponents/components/BadgeCell/BadgeCell.d.ts.map +1 -0
  163. package/dist/nextGenComponents/components/BadgeCell/BadgeCell.mjs +109 -0
  164. package/dist/nextGenComponents/components/BadgeCell/BadgeCell.mjs.map +1 -0
  165. package/dist/nextGenComponents/components/BadgeCell/index.d.ts +3 -0
  166. package/dist/nextGenComponents/components/BadgeCell/index.d.ts.map +1 -0
  167. package/dist/nextGenComponents/components/BadgeCell/index.mjs +5 -0
  168. package/dist/nextGenComponents/components/BadgeCell/index.mjs.map +1 -0
  169. package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.d.ts +10 -0
  170. package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.d.ts.map +1 -0
  171. package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.mjs +103 -0
  172. package/dist/nextGenComponents/components/CustomRangePicker/CustomRangePicker.mjs.map +1 -0
  173. package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.d.ts +14 -0
  174. package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.d.ts.map +1 -0
  175. package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.mjs +115 -0
  176. package/dist/nextGenComponents/components/CustomRangePicker/DateTimePickerPanel.mjs.map +1 -0
  177. package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.d.ts +14 -0
  178. package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.d.ts.map +1 -0
  179. package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.mjs +109 -0
  180. package/dist/nextGenComponents/components/CustomRangePicker/MaskedInput.mjs.map +1 -0
  181. package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.d.ts +8 -0
  182. package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.d.ts.map +1 -0
  183. package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.mjs +109 -0
  184. package/dist/nextGenComponents/components/CustomRangePicker/TimePickerInput.mjs.map +1 -0
  185. package/dist/nextGenComponents/components/CustomRangePicker/index.d.ts +2 -0
  186. package/dist/nextGenComponents/components/CustomRangePicker/index.d.ts.map +1 -0
  187. package/dist/nextGenComponents/components/CustomRangePicker/index.mjs +5 -0
  188. package/dist/nextGenComponents/components/CustomRangePicker/index.mjs.map +1 -0
  189. package/dist/nextGenComponents/components/DataTable/DataTable.d.ts +29 -0
  190. package/dist/nextGenComponents/components/DataTable/DataTable.d.ts.map +1 -0
  191. package/dist/nextGenComponents/components/DataTable/DataTable.mjs +223 -0
  192. package/dist/nextGenComponents/components/DataTable/DataTable.mjs.map +1 -0
  193. package/dist/nextGenComponents/components/DataTable/DataTable.utils.d.ts +11 -0
  194. package/dist/nextGenComponents/components/DataTable/DataTable.utils.d.ts.map +1 -0
  195. package/dist/nextGenComponents/components/DataTable/DataTable.utils.mjs +17 -0
  196. package/dist/nextGenComponents/components/DataTable/DataTable.utils.mjs.map +1 -0
  197. package/dist/nextGenComponents/components/DataTable/checkboxColumn.d.ts +4 -0
  198. package/dist/nextGenComponents/components/DataTable/checkboxColumn.d.ts.map +1 -0
  199. package/dist/nextGenComponents/components/DataTable/checkboxColumn.mjs +30 -0
  200. package/dist/nextGenComponents/components/DataTable/checkboxColumn.mjs.map +1 -0
  201. package/dist/nextGenComponents/components/DataTable/index.d.ts +2 -0
  202. package/dist/nextGenComponents/components/DataTable/index.d.ts.map +1 -0
  203. package/dist/nextGenComponents/components/DataTable/index.mjs +5 -0
  204. package/dist/nextGenComponents/components/DataTable/index.mjs.map +1 -0
  205. package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.d.ts +11 -0
  206. package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.d.ts.map +1 -0
  207. package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.mjs +53 -0
  208. package/dist/nextGenComponents/components/DetailsPanel/DetailsPanel.mjs.map +1 -0
  209. package/dist/nextGenComponents/components/DetailsPanel/index.d.ts +2 -0
  210. package/dist/nextGenComponents/components/DetailsPanel/index.d.ts.map +1 -0
  211. package/dist/nextGenComponents/components/DetailsPanel/index.mjs +5 -0
  212. package/dist/nextGenComponents/components/DetailsPanel/index.mjs.map +1 -0
  213. package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.d.ts +8 -0
  214. package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.d.ts.map +1 -0
  215. package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.mjs +20 -0
  216. package/dist/nextGenComponents/components/EllipsisTooltip/EllipsisTooltip.mjs.map +1 -0
  217. package/dist/nextGenComponents/components/EllipsisTooltip/index.d.ts +2 -0
  218. package/dist/nextGenComponents/components/EllipsisTooltip/index.d.ts.map +1 -0
  219. package/dist/nextGenComponents/components/EllipsisTooltip/index.mjs +5 -0
  220. package/dist/nextGenComponents/components/EllipsisTooltip/index.mjs.map +1 -0
  221. package/dist/nextGenComponents/components/FilterPopover/FilterPopover.d.ts +11 -0
  222. package/dist/nextGenComponents/components/FilterPopover/FilterPopover.d.ts.map +1 -0
  223. package/dist/nextGenComponents/components/FilterPopover/FilterPopover.mjs +160 -0
  224. package/dist/nextGenComponents/components/FilterPopover/FilterPopover.mjs.map +1 -0
  225. package/dist/nextGenComponents/components/FilterPopover/index.d.ts +2 -0
  226. package/dist/nextGenComponents/components/FilterPopover/index.d.ts.map +1 -0
  227. package/dist/nextGenComponents/components/FilterPopover/index.mjs +5 -0
  228. package/dist/nextGenComponents/components/FilterPopover/index.mjs.map +1 -0
  229. package/dist/nextGenComponents/components/Loader/Loader.d.ts +16 -0
  230. package/dist/nextGenComponents/components/Loader/Loader.d.ts.map +1 -0
  231. package/dist/nextGenComponents/components/Loader/Loader.mjs +62 -0
  232. package/dist/nextGenComponents/components/Loader/Loader.mjs.map +1 -0
  233. package/dist/nextGenComponents/components/Loader/index.d.ts +3 -0
  234. package/dist/nextGenComponents/components/Loader/index.d.ts.map +1 -0
  235. package/dist/nextGenComponents/components/Loader/index.mjs +5 -0
  236. package/dist/nextGenComponents/components/Loader/index.mjs.map +1 -0
  237. package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.d.ts +15 -0
  238. package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.d.ts.map +1 -0
  239. package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.mjs +113 -0
  240. package/dist/nextGenComponents/components/MultiSelectField/MultiSelectField.mjs.map +1 -0
  241. package/dist/nextGenComponents/components/MultiSelectField/index.d.ts +3 -0
  242. package/dist/nextGenComponents/components/MultiSelectField/index.d.ts.map +1 -0
  243. package/dist/nextGenComponents/components/MultiSelectField/index.mjs +6 -0
  244. package/dist/nextGenComponents/components/MultiSelectField/index.mjs.map +1 -0
  245. package/dist/nextGenComponents/components/PaginationControls/PaginationControls.d.ts +17 -0
  246. package/dist/nextGenComponents/components/PaginationControls/PaginationControls.d.ts.map +1 -0
  247. package/dist/nextGenComponents/components/PaginationControls/PaginationControls.mjs +106 -0
  248. package/dist/nextGenComponents/components/PaginationControls/PaginationControls.mjs.map +1 -0
  249. package/dist/nextGenComponents/components/PaginationControls/index.d.ts +3 -0
  250. package/dist/nextGenComponents/components/PaginationControls/index.d.ts.map +1 -0
  251. package/dist/nextGenComponents/components/PaginationControls/index.mjs +5 -0
  252. package/dist/nextGenComponents/components/PaginationControls/index.mjs.map +1 -0
  253. package/dist/nextGenComponents/components/RefreshButton/RefreshButton.d.ts +5 -0
  254. package/dist/nextGenComponents/components/RefreshButton/RefreshButton.d.ts.map +1 -0
  255. package/dist/nextGenComponents/components/RefreshButton/RefreshButton.mjs +20 -0
  256. package/dist/nextGenComponents/components/RefreshButton/RefreshButton.mjs.map +1 -0
  257. package/dist/nextGenComponents/components/RefreshButton/index.d.ts +2 -0
  258. package/dist/nextGenComponents/components/RefreshButton/index.d.ts.map +1 -0
  259. package/dist/nextGenComponents/components/RefreshButton/index.mjs +5 -0
  260. package/dist/nextGenComponents/components/RefreshButton/index.mjs.map +1 -0
  261. package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.d.ts +8 -0
  262. package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.d.ts.map +1 -0
  263. package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.mjs +58 -0
  264. package/dist/nextGenComponents/components/RowActions/ActionMenu/ActionMenu.mjs.map +1 -0
  265. package/dist/nextGenComponents/components/RowActions/RowActions.d.ts +8 -0
  266. package/dist/nextGenComponents/components/RowActions/RowActions.d.ts.map +1 -0
  267. package/dist/nextGenComponents/components/RowActions/RowActions.mjs +19 -0
  268. package/dist/nextGenComponents/components/RowActions/RowActions.mjs.map +1 -0
  269. package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.d.ts +9 -0
  270. package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.d.ts.map +1 -0
  271. package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.mjs +27 -0
  272. package/dist/nextGenComponents/components/RowActions/SingleActionButton/SingleActionButton.mjs.map +1 -0
  273. package/dist/nextGenComponents/components/RowActions/index.d.ts +5 -0
  274. package/dist/nextGenComponents/components/RowActions/index.d.ts.map +1 -0
  275. package/dist/nextGenComponents/components/RowActions/index.mjs +9 -0
  276. package/dist/nextGenComponents/components/RowActions/index.mjs.map +1 -0
  277. package/dist/nextGenComponents/components/StatsCard/StatsCard.d.ts +47 -0
  278. package/dist/nextGenComponents/components/StatsCard/StatsCard.d.ts.map +1 -0
  279. package/dist/nextGenComponents/components/StatsCard/StatsCard.mjs +75 -0
  280. package/dist/nextGenComponents/components/StatsCard/StatsCard.mjs.map +1 -0
  281. package/dist/nextGenComponents/components/StatsCard/index.d.ts +2 -0
  282. package/dist/nextGenComponents/components/StatsCard/index.d.ts.map +1 -0
  283. package/dist/nextGenComponents/components/StatsCard/index.mjs +5 -0
  284. package/dist/nextGenComponents/components/StatsCard/index.mjs.map +1 -0
  285. package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.d.ts +4 -0
  286. package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.d.ts.map +1 -0
  287. package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.mjs +106 -0
  288. package/dist/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.mjs.map +1 -0
  289. package/dist/nextGenComponents/components/TimeFilterDropdown/index.d.ts +2 -0
  290. package/dist/nextGenComponents/components/TimeFilterDropdown/index.d.ts.map +1 -0
  291. package/dist/nextGenComponents/components/TimeFilterDropdown/index.mjs +5 -0
  292. package/dist/nextGenComponents/components/TimeFilterDropdown/index.mjs.map +1 -0
  293. package/dist/nextGenComponents/components/index.d.ts +39 -0
  294. package/dist/nextGenComponents/components/index.d.ts.map +1 -0
  295. package/dist/nextGenComponents/components/index.mjs +103 -0
  296. package/dist/nextGenComponents/components/index.mjs.map +1 -0
  297. package/dist/nextGenComponents/components/ui/button.d.ts +14 -0
  298. package/dist/nextGenComponents/components/ui/button.d.ts.map +1 -0
  299. package/dist/nextGenComponents/components/ui/button.mjs +56 -0
  300. package/dist/nextGenComponents/components/ui/button.mjs.map +1 -0
  301. package/dist/nextGenComponents/components/ui/calendar.d.ts +29 -0
  302. package/dist/nextGenComponents/components/ui/calendar.d.ts.map +1 -0
  303. package/dist/nextGenComponents/components/ui/calendar.mjs +157 -0
  304. package/dist/nextGenComponents/components/ui/calendar.mjs.map +1 -0
  305. package/dist/nextGenComponents/components/ui/card.d.ts +9 -0
  306. package/dist/nextGenComponents/components/ui/card.d.ts.map +1 -0
  307. package/dist/nextGenComponents/components/ui/card.mjs +50 -0
  308. package/dist/nextGenComponents/components/ui/card.mjs.map +1 -0
  309. package/dist/nextGenComponents/components/ui/checkbox.d.ts +8 -0
  310. package/dist/nextGenComponents/components/ui/checkbox.d.ts.map +1 -0
  311. package/dist/nextGenComponents/components/ui/checkbox.mjs +33 -0
  312. package/dist/nextGenComponents/components/ui/checkbox.mjs.map +1 -0
  313. package/dist/nextGenComponents/components/ui/collapsible.d.ts +6 -0
  314. package/dist/nextGenComponents/components/ui/collapsible.d.ts.map +1 -0
  315. package/dist/nextGenComponents/components/ui/collapsible.mjs +8 -0
  316. package/dist/nextGenComponents/components/ui/collapsible.mjs.map +1 -0
  317. package/dist/nextGenComponents/components/ui/dialog.d.ts +27 -0
  318. package/dist/nextGenComponents/components/ui/dialog.d.ts.map +1 -0
  319. package/dist/nextGenComponents/components/ui/dialog.mjs +135 -0
  320. package/dist/nextGenComponents/components/ui/dialog.mjs.map +1 -0
  321. package/dist/nextGenComponents/components/ui/dropdown-menu.d.ts +28 -0
  322. package/dist/nextGenComponents/components/ui/dropdown-menu.d.ts.map +1 -0
  323. package/dist/nextGenComponents/components/ui/dropdown-menu.mjs +131 -0
  324. package/dist/nextGenComponents/components/ui/dropdown-menu.mjs.map +1 -0
  325. package/dist/nextGenComponents/components/ui/input.d.ts +4 -0
  326. package/dist/nextGenComponents/components/ui/input.d.ts.map +1 -0
  327. package/dist/nextGenComponents/components/ui/input.mjs +33 -0
  328. package/dist/nextGenComponents/components/ui/input.mjs.map +1 -0
  329. package/dist/nextGenComponents/components/ui/pagination.d.ts +25 -0
  330. package/dist/nextGenComponents/components/ui/pagination.d.ts.map +1 -0
  331. package/dist/nextGenComponents/components/ui/pagination.mjs +93 -0
  332. package/dist/nextGenComponents/components/ui/pagination.mjs.map +1 -0
  333. package/dist/nextGenComponents/components/ui/popover.d.ts +7 -0
  334. package/dist/nextGenComponents/components/ui/popover.d.ts.map +1 -0
  335. package/dist/nextGenComponents/components/ui/popover.mjs +24 -0
  336. package/dist/nextGenComponents/components/ui/popover.mjs.map +1 -0
  337. package/dist/nextGenComponents/components/ui/scroll-area.d.ts +6 -0
  338. package/dist/nextGenComponents/components/ui/scroll-area.d.ts.map +1 -0
  339. package/dist/nextGenComponents/components/ui/scroll-area.mjs +39 -0
  340. package/dist/nextGenComponents/components/ui/scroll-area.mjs.map +1 -0
  341. package/dist/nextGenComponents/components/ui/select.d.ts +14 -0
  342. package/dist/nextGenComponents/components/ui/select.d.ts.map +1 -0
  343. package/dist/nextGenComponents/components/ui/select.mjs +117 -0
  344. package/dist/nextGenComponents/components/ui/select.mjs.map +1 -0
  345. package/dist/nextGenComponents/components/ui/separator.d.ts +5 -0
  346. package/dist/nextGenComponents/components/ui/separator.d.ts.map +1 -0
  347. package/dist/nextGenComponents/components/ui/separator.mjs +25 -0
  348. package/dist/nextGenComponents/components/ui/separator.mjs.map +1 -0
  349. package/dist/nextGenComponents/components/ui/tabs.d.ts +8 -0
  350. package/dist/nextGenComponents/components/ui/tabs.d.ts.map +1 -0
  351. package/dist/nextGenComponents/components/ui/tabs.mjs +56 -0
  352. package/dist/nextGenComponents/components/ui/tabs.mjs.map +1 -0
  353. package/dist/nextGenComponents/components/ui/tooltip.d.ts +8 -0
  354. package/dist/nextGenComponents/components/ui/tooltip.d.ts.map +1 -0
  355. package/dist/nextGenComponents/components/ui/tooltip.mjs +24 -0
  356. package/dist/nextGenComponents/components/ui/tooltip.mjs.map +1 -0
  357. package/dist/nextGenComponents/constants/index.d.ts +41 -0
  358. package/dist/nextGenComponents/constants/index.d.ts.map +1 -0
  359. package/dist/nextGenComponents/constants/index.mjs +49 -0
  360. package/dist/nextGenComponents/constants/index.mjs.map +1 -0
  361. package/dist/nextGenComponents/hooks/useClickOutside.d.ts +3 -0
  362. package/dist/nextGenComponents/hooks/useClickOutside.d.ts.map +1 -0
  363. package/dist/nextGenComponents/hooks/useClickOutside.mjs +22 -0
  364. package/dist/nextGenComponents/hooks/useClickOutside.mjs.map +1 -0
  365. package/dist/nextGenComponents/index.d.ts +4 -0
  366. package/dist/nextGenComponents/index.d.ts.map +1 -0
  367. package/dist/nextGenComponents/index.mjs +126 -0
  368. package/dist/nextGenComponents/index.mjs.map +1 -0
  369. package/dist/nextGenComponents/lib/utils.d.ts +3 -0
  370. package/dist/nextGenComponents/lib/utils.d.ts.map +1 -0
  371. package/dist/nextGenComponents/lib/utils.mjs +7 -0
  372. package/dist/nextGenComponents/lib/utils.mjs.map +1 -0
  373. package/dist/nextGenComponents/stores/tableStore.d.ts +28 -0
  374. package/dist/nextGenComponents/stores/tableStore.d.ts.map +1 -0
  375. package/dist/nextGenComponents/stores/tableStore.mjs +58 -0
  376. package/dist/nextGenComponents/stores/tableStore.mjs.map +1 -0
  377. package/dist/nextGenComponents/types/table/filter.d.ts +21 -0
  378. package/dist/nextGenComponents/types/table/filter.d.ts.map +1 -0
  379. package/dist/nextGenComponents/types/table/rowAction.d.ts +13 -0
  380. package/dist/nextGenComponents/types/table/rowAction.d.ts.map +1 -0
  381. package/dist/nextGenComponents/types/table/timeFilter.d.ts +23 -0
  382. package/dist/nextGenComponents/types/table/timeFilter.d.ts.map +1 -0
  383. package/dist/nextGenComponents/utils/date.utils.d.ts +24 -0
  384. package/dist/nextGenComponents/utils/date.utils.d.ts.map +1 -0
  385. package/dist/nextGenComponents/utils/date.utils.mjs +79 -0
  386. package/dist/nextGenComponents/utils/date.utils.mjs.map +1 -0
  387. package/dist/nextGenComponents/utils/tableFilters.utils.d.ts +7 -0
  388. package/dist/nextGenComponents/utils/tableFilters.utils.d.ts.map +1 -0
  389. package/dist/nextGenComponents/utils/tableFilters.utils.mjs +7 -0
  390. package/dist/nextGenComponents/utils/tableFilters.utils.mjs.map +1 -0
  391. package/dist/reducers/notificationReducer.d.ts +1 -1
  392. package/dist/types.d.ts +148 -31
  393. package/dist/types.d.ts.map +1 -1
  394. package/dist/utils/chips.util.d.ts +2 -2
  395. package/dist/utils/chips.util.d.ts.map +1 -1
  396. package/dist/utils/common.util.d.ts +1 -1
  397. package/dist/utils/common.util.d.ts.map +1 -1
  398. package/dist/utils/datetime.util.d.ts +3 -3
  399. package/dist/utils/datetime.util.d.ts.map +1 -1
  400. package/dist/utils/generateChipsList.util.d.ts +1 -1
  401. package/dist/utils/notification.util.d.ts +1 -1
  402. package/dist/utils/notification.util.d.ts.map +1 -1
  403. package/dist/utils/proxyServerConfig.util.d.ts +4 -4
  404. package/package.json +35 -8
@@ -0,0 +1,106 @@
1
+ import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
+ import { useState as i } from "react";
3
+ import j from "../../../images/check.svg.mjs";
4
+ import E from "../../../images/select.svg.mjs";
5
+ import "../CustomRangePicker/index.mjs";
6
+ import { DropdownMenu as k, DropdownMenuTrigger as $, DropdownMenuContent as P, DropdownMenuItem as K } from "../ui/dropdown-menu.mjs";
7
+ import { TIME_FILTER_CUSTOM_VALUE as s, DEFAULT_TIME_FILTER_OPTIONS as q, TIME_FILTER_FALLBACK_LABEL as G, START_TIME_LABEL as H, TIME_FILTER_RESET_VALUE as J } from "../../constants/index.mjs";
8
+ import { cn as x } from "../../lib/utils.mjs";
9
+ import { formatCustomRangeLabel as Q } from "../../utils/date.utils.mjs";
10
+ import V from "../CustomRangePicker/CustomRangePicker.mjs";
11
+ const ro = ({
12
+ value: T,
13
+ defaultValue: _ = "any",
14
+ onChange: f,
15
+ onCustomRange: p,
16
+ initialCustomRange: l,
17
+ presetDateRange: e,
18
+ options: d = q,
19
+ startTimeOnly: c = !1,
20
+ className: A,
21
+ triggerClassName: w
22
+ }) => {
23
+ var L;
24
+ const [M, S] = i(_), [t, m] = i(
25
+ l != null && l.since ? l : null
26
+ ), u = T ?? (t ? s : M), v = t ? Q(t.since, t.until) : "", N = u === s && !!v, F = ((L = d.find((o) => o.value === u)) == null ? void 0 : L.label) ?? G, h = N ? v : F, [O, n] = i(!1), [y, I] = i(!1), b = (o) => {
27
+ if (o === s) {
28
+ n(!0);
29
+ return;
30
+ }
31
+ n(!1), m(null), S(o), f == null || f(o);
32
+ }, B = (o) => {
33
+ m(o), p == null || p(o), I(!1), n(!1);
34
+ };
35
+ return /* @__PURE__ */ a(
36
+ k,
37
+ {
38
+ open: y,
39
+ onOpenChange: (o) => {
40
+ I(o), o || n(!1);
41
+ },
42
+ children: [
43
+ /* @__PURE__ */ a(
44
+ $,
45
+ {
46
+ className: x(
47
+ "inline-flex h-10 border-solid border-[#ccc] items-center justify-between gap-2 rounded border bg-background px-3 text-sm font-normal shadow-sm hover:bg-[#f5f5f5] transition-colors cursor-pointer",
48
+ "focus-visible:outline-none text-[#4B4760]",
49
+ c ? "w-[220px]" : "w-[180px]",
50
+ w
51
+ ),
52
+ "data-testid": "time-filter-trigger",
53
+ children: [
54
+ /* @__PURE__ */ r("span", { className: "truncate", children: c ? H + h : h }),
55
+ /* @__PURE__ */ r(E, { className: "size-4 opacity-70 w-3.5 h-2" })
56
+ ]
57
+ }
58
+ ),
59
+ /* @__PURE__ */ r(
60
+ P,
61
+ {
62
+ align: "end",
63
+ sideOffset: 8,
64
+ className: x(
65
+ c ? "min-w-[220px]" : "min-w-[180px]",
66
+ "text-[#4B4760]",
67
+ A
68
+ ),
69
+ children: O ? /* @__PURE__ */ r(
70
+ V,
71
+ {
72
+ onApply: B,
73
+ singleDate: c,
74
+ onReset: () => b(J),
75
+ initialRange: t ?? e ?? void 0
76
+ },
77
+ `${(t == null ? void 0 : t.since) ?? (e == null ? void 0 : e.since) ?? ""}-${(t == null ? void 0 : t.until) ?? (e == null ? void 0 : e.until) ?? ""}`
78
+ ) : d.map((o) => {
79
+ const z = o.value === s ? !!t : u === o.value;
80
+ return /* @__PURE__ */ a(
81
+ K,
82
+ {
83
+ onSelect: (U) => {
84
+ o.value === s && U.preventDefault(), b(o.value);
85
+ },
86
+ className: "relative text-[15px] h-[50px] p-4 data-[highlighted]:bg-igz-accent-hover cursor-pointer",
87
+ "data-testid": `time-filter-option-${o.value}`,
88
+ children: [
89
+ o.label,
90
+ z && !o.rightIcon && /* @__PURE__ */ r(j, { className: "absolute right-2 top-1/2 -translate-y-1/2 size-4" }),
91
+ o.rightIcon === "chevron" && /* @__PURE__ */ r(E, { className: "absolute right-2 top-1/2 -translate-y-1/2 size-4 opacity-70 -rotate-90" })
92
+ ]
93
+ },
94
+ o.value
95
+ );
96
+ })
97
+ }
98
+ )
99
+ ]
100
+ }
101
+ );
102
+ };
103
+ export {
104
+ ro as default
105
+ };
106
+ //# sourceMappingURL=TimeFilterDropdown.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeFilterDropdown.mjs","sources":["../../../../src/lib/nextGenComponents/components/TimeFilterDropdown/TimeFilterDropdown.tsx"],"sourcesContent":["import { useState } from 'react'\n\nimport Check from '../../../images/check.svg?react'\nimport Select from '../../../images/select.svg?react'\nimport CustomRangePicker from '@/components/CustomRangePicker'\nimport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem\n} from '@/components/ui/dropdown-menu'\nimport {\n TIME_FILTER_CUSTOM_VALUE,\n TIME_FILTER_RESET_VALUE,\n TIME_FILTER_FALLBACK_LABEL,\n DEFAULT_TIME_FILTER_OPTIONS,\n START_TIME_LABEL\n} from '@/constants'\nimport { cn } from '@/lib/utils'\nimport { TimeFilterDropdownProps, TimeFilterValue } from '@/types/table/timeFilter'\nimport { formatCustomRangeLabel } from '@/utils/date.utils'\n\nconst TimeFilterDropdown = ({\n value,\n defaultValue = 'any',\n onChange,\n onCustomRange,\n initialCustomRange,\n presetDateRange,\n options = DEFAULT_TIME_FILTER_OPTIONS,\n startTimeOnly = false,\n className,\n triggerClassName\n}: TimeFilterDropdownProps) => {\n const [internal, setInternal] = useState<TimeFilterValue>(defaultValue)\n const [appliedRange, setAppliedRange] = useState<{ since: string; until: string } | null>(\n initialCustomRange?.since ? initialCustomRange : null\n )\n const effectiveInternal = appliedRange ? TIME_FILTER_CUSTOM_VALUE : internal\n const selected = value ?? effectiveInternal\n\n const customLabel = appliedRange\n ? formatCustomRangeLabel(appliedRange.since, appliedRange.until)\n : ''\n const isCustomActive = selected === TIME_FILTER_CUSTOM_VALUE && !!customLabel\n const presetLabel = options.find(i => i.value === selected)?.label ?? TIME_FILTER_FALLBACK_LABEL\n const currentLabel = isCustomActive ? customLabel : presetLabel\n\n const [isCustomOpen, setIsCustomOpen] = useState(false)\n const [isOpen, setIsOpen] = useState(false)\n\n const handleSelect = (selectedValue: TimeFilterValue) => {\n if (selectedValue === TIME_FILTER_CUSTOM_VALUE) {\n setIsCustomOpen(true)\n return\n }\n\n setIsCustomOpen(false)\n setAppliedRange(null)\n setInternal(selectedValue)\n onChange?.(selectedValue)\n }\n\n const handleCustomApply = (range: { since: string; until: string }) => {\n setAppliedRange(range)\n onCustomRange?.(range)\n setIsOpen(false)\n setIsCustomOpen(false)\n }\n\n return (\n <DropdownMenu\n open={isOpen}\n onOpenChange={open => {\n setIsOpen(open)\n if (!open) setIsCustomOpen(false)\n }}\n >\n <DropdownMenuTrigger\n className={cn(\n 'inline-flex h-10 border-solid border-[#ccc] items-center justify-between gap-2 rounded border bg-background px-3 text-sm font-normal shadow-sm hover:bg-[#f5f5f5] transition-colors cursor-pointer',\n 'focus-visible:outline-none text-[#4B4760]',\n startTimeOnly ? 'w-[220px]' : 'w-[180px]',\n triggerClassName\n )}\n data-testid=\"time-filter-trigger\"\n >\n <span className=\"truncate\">\n {startTimeOnly ? START_TIME_LABEL + currentLabel : currentLabel}\n </span>\n <Select className=\"size-4 opacity-70 w-3.5 h-2\" />\n </DropdownMenuTrigger>\n\n <DropdownMenuContent\n align=\"end\"\n sideOffset={8}\n className={cn(\n startTimeOnly ? 'min-w-[220px]' : 'min-w-[180px]',\n 'text-[#4B4760]',\n className\n )}\n >\n {isCustomOpen ? (\n <CustomRangePicker\n key={`${appliedRange?.since ?? presetDateRange?.since ?? ''}-${appliedRange?.until ?? presetDateRange?.until ?? ''}`}\n onApply={handleCustomApply}\n singleDate={startTimeOnly}\n onReset={() => handleSelect(TIME_FILTER_RESET_VALUE)}\n initialRange={appliedRange ?? presetDateRange ?? undefined}\n />\n ) : (\n options.map(item => {\n const isActive =\n item.value === TIME_FILTER_CUSTOM_VALUE ? !!appliedRange : selected === item.value\n return (\n <DropdownMenuItem\n key={item.value}\n onSelect={e => {\n if (item.value === TIME_FILTER_CUSTOM_VALUE) e.preventDefault()\n handleSelect(item.value)\n }}\n className=\"relative text-[15px] h-[50px] p-4 data-[highlighted]:bg-igz-accent-hover cursor-pointer\"\n data-testid={`time-filter-option-${item.value}`}\n >\n {item.label}\n\n {isActive && !item.rightIcon && (\n <Check className=\"absolute right-2 top-1/2 -translate-y-1/2 size-4\" />\n )}\n\n {item.rightIcon === 'chevron' && (\n <Select className=\"absolute right-2 top-1/2 -translate-y-1/2 size-4 opacity-70 -rotate-90\" />\n )}\n </DropdownMenuItem>\n )\n })\n )}\n </DropdownMenuContent>\n </DropdownMenu>\n )\n}\n\nexport default TimeFilterDropdown\n"],"names":["TimeFilterDropdown","value","defaultValue","onChange","onCustomRange","initialCustomRange","presetDateRange","options","DEFAULT_TIME_FILTER_OPTIONS","startTimeOnly","className","triggerClassName","internal","setInternal","useState","appliedRange","setAppliedRange","selected","TIME_FILTER_CUSTOM_VALUE","customLabel","formatCustomRangeLabel","isCustomActive","presetLabel","_a","i","TIME_FILTER_FALLBACK_LABEL","currentLabel","isCustomOpen","setIsCustomOpen","isOpen","setIsOpen","handleSelect","selectedValue","handleCustomApply","range","jsxs","DropdownMenu","open","DropdownMenuTrigger","cn","jsx","START_TIME_LABEL","Select","DropdownMenuContent","CustomRangePicker","TIME_FILTER_RESET_VALUE","item","isActive","DropdownMenuItem","e","Check"],"mappings":";;;;;;;;;;AAsBA,MAAMA,KAAqB,CAAC;AAAA,EAC1B,OAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,UAAAC;AAAA,EACA,eAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,SAAAC,IAAUC;AAAA,EACV,eAAAC,IAAgB;AAAA,EAChB,WAAAC;AAAA,EACA,kBAAAC;AACF,MAA+B;;AAC7B,QAAM,CAACC,GAAUC,CAAW,IAAIC,EAA0BZ,CAAY,GAChE,CAACa,GAAcC,CAAe,IAAIF;AAAA,IACtCT,KAAA,QAAAA,EAAoB,QAAQA,IAAqB;AAAA,EAAA,GAG7CY,IAAWhB,MADSc,IAAeG,IAA2BN,IAG9DO,IAAcJ,IAChBK,EAAuBL,EAAa,OAAOA,EAAa,KAAK,IAC7D,IACEM,IAAiBJ,MAAaC,KAA4B,CAAC,CAACC,GAC5DG,MAAcC,IAAAhB,EAAQ,KAAK,CAAAiB,MAAKA,EAAE,UAAUP,CAAQ,MAAtC,gBAAAM,EAAyC,UAASE,GAChEC,IAAeL,IAAiBF,IAAcG,GAE9C,CAACK,GAAcC,CAAe,IAAId,EAAS,EAAK,GAChD,CAACe,GAAQC,CAAS,IAAIhB,EAAS,EAAK,GAEpCiB,IAAe,CAACC,MAAmC;AACvD,QAAIA,MAAkBd,GAA0B;AAC9C,MAAAU,EAAgB,EAAI;AACpB;AAAA,IACF;AAEA,IAAAA,EAAgB,EAAK,GACrBZ,EAAgB,IAAI,GACpBH,EAAYmB,CAAa,GACzB7B,KAAA,QAAAA,EAAW6B;AAAA,EACb,GAEMC,IAAoB,CAACC,MAA4C;AACrE,IAAAlB,EAAgBkB,CAAK,GACrB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K;AAC/E,qBACE,gBAAAX;AAAA,gBAACa;AAAA,gBAAA;AAAA,kBAEC,UAAU,CAAAC,MAAK;AACb,oBAAIH,EAAK,UAAU5B,KAA0B+B,EAAE,eAAA,GAC/ClB,EAAae,EAAK,KAAK;AAAA,kBACzB;AAAA,kBACA,WAAU;AAAA,kBACV,eAAa,sBAAsBA,EAAK,KAAK;AAAA,kBAE5C,UAAA;AAAA,oBAAAA,EAAK;AAAA,oBAELC,KAAY,CAACD,EAAK,aACjB,gBAAAN,EAACU,GAAA,EAAM,WAAU,oDAAmD;AAAA,oBAGrEJ,EAAK,cAAc,aAClB,gBAAAN,EAACE,GAAA,EAAO,WAAU,yEAAA,CAAyE;AAAA,kBAAA;AAAA,gBAAA;AAAA,gBAfxFI,EAAK;AAAA,cAAA;AAAA,YAmBhB,CAAC;AAAA,UAAA;AAAA,QAAA;AAAA,MAEL;AAAA,IAAA;AAAA,EAAA;AAGN;"}
@@ -0,0 +1,2 @@
1
+ export { default } from './TimeFilterDropdown';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/components/TimeFilterDropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { default as o } from "./TimeFilterDropdown.mjs";
2
+ export {
3
+ o as default
4
+ };
5
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,39 @@
1
+ export { default as Badge, getBadgeColor } from './Badge';
2
+ export type { BadgeProps } from './Badge';
3
+ export { default as BadgeCell } from './BadgeCell';
4
+ export type { BadgeCellProps, BadgeItem } from './BadgeCell';
5
+ export { Loader } from './Loader';
6
+ export type { LoaderProps } from './Loader';
7
+ export { RowActions, ActionMenu, SingleActionButton } from './RowActions';
8
+ export type { ActionMenuItem } from './RowActions';
9
+ export { default as CopyButton } from './EllipsisTooltip';
10
+ export { default as DataTable } from './DataTable';
11
+ export type { DataTableProps, DetailsPanelConfig, CheckboxSelectionConfig } from './DataTable/DataTable';
12
+ export { default as DetailsPanel } from './DetailsPanel';
13
+ export { default as EllipsisTooltip } from './EllipsisTooltip';
14
+ export { default as FilterPopover } from './FilterPopover';
15
+ export { default as MultiSelectField, SelectArrow } from './MultiSelectField';
16
+ export type { MultiSelectFieldProps } from './MultiSelectField';
17
+ export { default as StatsCard } from './StatsCard';
18
+ export { default as PaginationControls } from './PaginationControls';
19
+ export type { PaginationConfig, PaginationControlsProps } from './PaginationControls';
20
+ export { default as RefreshButton } from './RefreshButton';
21
+ export { default as TimeFilterDropdown } from './TimeFilterDropdown';
22
+ export { Button } from './ui/button';
23
+ export type { ButtonProps } from './ui/button';
24
+ export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogBody, DialogFooter, DialogTitle, DialogDescription } from './ui/dialog';
25
+ export { Calendar } from './ui/calendar';
26
+ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './ui/card';
27
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './ui/collapsible';
28
+ export { Checkbox } from './ui/checkbox';
29
+ export * from './ui/dropdown-menu';
30
+ export { Input } from './ui/input';
31
+ export * from './ui/pagination';
32
+ export { Popover, PopoverContent, PopoverTrigger } from './ui/popover';
33
+ export { ScrollArea, ScrollBar } from './ui/scroll-area';
34
+ export * from './ui/select';
35
+ export { Separator } from './ui/separator';
36
+ export { Tabs, TabsContent, TabsList, TabsTrigger } from './ui/tabs';
37
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './ui/tooltip';
38
+ export { cn } from '../lib/utils';
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/nextGenCom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BadgeCell/index.mjs";
3
+ import "./Loader/index.mjs";
4
+ import "./RowActions/index.mjs";
5
+ import "./EllipsisTooltip/index.mjs";
6
+ import "./DataTable/index.mjs";
7
+ import "./DetailsPanel/index.mjs";
8
+ import "./FilterPopover/index.mjs";
9
+ import "./MultiSelectField/index.mjs";
10
+ import "./StatsCard/index.mjs";
11
+ import "./PaginationControls/index.mjs";
12
+ import "./RefreshButton/index.mjs";
13
+ import "./TimeFilterDropdown/index.mjs";
14
+ import { Button as S } from "./ui/button.mjs";
15
+ import { Dialog as x, DialogBody as T, DialogClose as f, DialogContent as w, DialogDescription as M, DialogFooter as b, DialogHeader as s, DialogOverlay as P, DialogPortal as v, DialogTitle as I, DialogTrigger as B } from "./ui/dialog.mjs";
16
+ import { Calendar as h } from "./ui/calendar.mjs";
17
+ import { Card as G, CardContent as y, CardDescription as F, CardFooter as H, CardHeader as R, CardTitle as A } from "./ui/card.mjs";
18
+ import { Collapsible as N, CollapsibleContent as O, CollapsibleTrigger as U } from "./ui/collapsible.mjs";
19
+ import { Checkbox as j } from "./ui/checkbox.mjs";
20
+ import { DropdownMenu as z, DropdownMenuCheckboxItem as J, DropdownMenuContent as K, DropdownMenuGroup as Q, DropdownMenuItem as W, DropdownMenuLabel as X, DropdownMenuPortal as Y, DropdownMenuRadioGroup as Z, DropdownMenuRadioItem as _, DropdownMenuSeparator as $, DropdownMenuShortcut as oo, DropdownMenuSub as ro, DropdownMenuSubContent as eo, DropdownMenuSubTrigger as to, DropdownMenuTrigger as no } from "./ui/dropdown-menu.mjs";
21
+ import { Input as po } from "./ui/input.mjs";
22
+ import { Pagination as lo, PaginationContent as go, PaginationEllipsis as mo, PaginationItem as Do, PaginationLink as uo, PaginationNext as Co, PaginationPrevious as So } from "./ui/pagination.mjs";
23
+ import { Popover as xo, PopoverContent as To, PopoverTrigger as fo } from "./ui/popover.mjs";
24
+ import { ScrollArea as Mo, ScrollBar as bo } from "./ui/scroll-area.mjs";
25
+ import { Select as Po, SelectContent as vo, SelectGroup as Io, SelectItem as Bo, SelectLabel as Lo, SelectScrollDownButton as ho, SelectScrollUpButton as ko, SelectSeparator as Go, SelectTrigger as yo, SelectValue as Fo } from "./ui/select.mjs";
26
+ import { Separator as Ro } from "./ui/separator.mjs";
27
+ import { Tabs as Eo, TabsContent as No, TabsList as Oo, TabsTrigger as Uo } from "./ui/tabs.mjs";
28
+ import { Tooltip as jo, TooltipContent as qo, TooltipProvider as zo, TooltipTrigger as Jo } from "./ui/tooltip.mjs";
29
+ import { cn as Qo } from "../lib/utils.mjs";
30
+ export {
31
+ S as Button,
32
+ h as Calendar,
33
+ G as Card,
34
+ y as CardContent,
35
+ F as CardDescription,
36
+ H as CardFooter,
37
+ R as CardHeader,
38
+ A as CardTitle,
39
+ j as Checkbox,
40
+ N as Collapsible,
41
+ O as CollapsibleContent,
42
+ U as CollapsibleTrigger,
43
+ x as Dialog,
44
+ T as DialogBody,
45
+ f as DialogClose,
46
+ w as DialogContent,
47
+ M as DialogDescription,
48
+ b as DialogFooter,
49
+ s as DialogHeader,
50
+ P as DialogOverlay,
51
+ v as DialogPortal,
52
+ I as DialogTitle,
53
+ B as DialogTrigger,
54
+ z as DropdownMenu,
55
+ J as DropdownMenuCheckboxItem,
56
+ K as DropdownMenuContent,
57
+ Q as DropdownMenuGroup,
58
+ W as DropdownMenuItem,
59
+ X as DropdownMenuLabel,
60
+ Y as DropdownMenuPortal,
61
+ Z as DropdownMenuRadioGroup,
62
+ _ as DropdownMenuRadioItem,
63
+ $ as DropdownMenuSeparator,
64
+ oo as DropdownMenuShortcut,
65
+ ro as DropdownMenuSub,
66
+ eo as DropdownMenuSubContent,
67
+ to as DropdownMenuSubTrigger,
68
+ no as DropdownMenuTrigger,
69
+ po as Input,
70
+ lo as Pagination,
71
+ go as PaginationContent,
72
+ mo as PaginationEllipsis,
73
+ Do as PaginationItem,
74
+ uo as PaginationLink,
75
+ Co as PaginationNext,
76
+ So as PaginationPrevious,
77
+ xo as Popover,
78
+ To as PopoverContent,
79
+ fo as PopoverTrigger,
80
+ Mo as ScrollArea,
81
+ bo as ScrollBar,
82
+ Po as Select,
83
+ vo as SelectContent,
84
+ Io as SelectGroup,
85
+ Bo as SelectItem,
86
+ Lo as SelectLabel,
87
+ ho as SelectScrollDownButton,
88
+ ko as SelectScrollUpButton,
89
+ Go as SelectSeparator,
90
+ yo as SelectTrigger,
91
+ Fo as SelectValue,
92
+ Ro as Separator,
93
+ Eo as Tabs,
94
+ No as TabsContent,
95
+ Oo as TabsList,
96
+ Uo as TabsTrigger,
97
+ jo as Tooltip,
98
+ qo as TooltipContent,
99
+ zo as TooltipProvider,
100
+ Jo as TooltipTrigger,
101
+ Qo as cn
102
+ };
103
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,14 @@
1
+ import { TooltipContentProps } from '@radix-ui/react-tooltip';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import React from 'react';
4
+ declare const buttonVariants: (props?: ({
5
+ variant?: "secondary" | "default" | "link" | "destructive" | "outline" | "ghost" | "rounded" | null | undefined;
6
+ size?: "sm" | "lg" | "default" | "icon" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants>, Omit<TooltipContentProps, keyof React.ButtonHTMLAttributes<HTMLButtonElement>> {
9
+ asChild?: boolean;
10
+ tooltip?: string;
11
+ }
12
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
13
+ export { Button };
14
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,QAAA,MAAM,cAAc;;;8EA8BnB,CAAA;AAED,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC,EACnC,IAAI,CAAC,mBAAmB,EAAE,MAAM,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IAChF,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,QAAA,MAAM,MAAM,uFA2BX,CAAA;AAGD,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -0,0 +1,56 @@
1
+ import { jsx as r, jsxs as u } from "react/jsx-runtime";
2
+ import { Slot as c } from "@radix-ui/react-slot";
3
+ import { cva as g } from "class-variance-authority";
4
+ import f from "react";
5
+ import { Tooltip as p, TooltipTrigger as m, TooltipContent as v } from "./tooltip.mjs";
6
+ import { cn as h } from "../../lib/utils.mjs";
7
+ const x = g(
8
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:cursor-not-allowed disabled:border disabled:bg-white disabled:text-igz-gray disabled:[&_svg]:text-igz-secondary [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
9
+ {
10
+ variants: {
11
+ variant: {
12
+ default: "bg-primary text-primary-foreground hover:bg-primary/90 min-w-[100px] disabled:border-primary",
13
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 disabled:border-destructive",
14
+ outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground disabled:border-background",
15
+ secondary: "border border-solid border-[#ccc] bg-secondary text-secondary-foreground hover:bg-[#483F561F] min-w-[50px] disabled:border-secondary",
16
+ ghost: "hover:bg-accent hover:text-accent-foreground disabled:border-transparent",
17
+ link: "text-igz-primary underline-offset-4 hover:underline disabled:border-transparent",
18
+ rounded: "rounded-full hover:bg-igz-gray-light [&_svg]:size-[16px] transition-bg duration-300 ease-in-out disabled:border-igz-gray-light"
19
+ },
20
+ size: {
21
+ default: "h-10 px-4 py-3",
22
+ sm: "h-9 px-4 py-2.5",
23
+ lg: "h-11 rounded-md px-8",
24
+ icon: "h-10 w-10 p-0 m-0"
25
+ }
26
+ },
27
+ defaultVariants: {
28
+ variant: "default",
29
+ size: "default"
30
+ }
31
+ }
32
+ ), y = f.forwardRef(
33
+ ({ className: i, variant: n, size: d, tooltip: e = "", side: s = "top", asChild: a = !1, disabled: t, ...l }, b) => {
34
+ const o = /* @__PURE__ */ r(
35
+ a ? c : "button",
36
+ {
37
+ className: h(
38
+ x({ variant: n, size: d, className: i }),
39
+ e && t && "disabled:pointer-events-auto"
40
+ ),
41
+ disabled: t,
42
+ ref: b,
43
+ ...l
44
+ }
45
+ );
46
+ return e ? /* @__PURE__ */ u(p, { children: [
47
+ /* @__PURE__ */ r(m, { asChild: !0, children: o }),
48
+ /* @__PURE__ */ r(v, { side: s, children: e })
49
+ ] }) : o;
50
+ }
51
+ );
52
+ y.displayName = "Button";
53
+ export {
54
+ y as Button
55
+ };
56
+ //# sourceMappingURL=button.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.mjs","sources":["../../../../src/lib/nextGenComponents/components/ui/button.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot'\nimport { TooltipContentProps } from '@radix-ui/react-tooltip'\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport React from 'react'\n\nimport { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'\nimport { cn } from '@/lib/utils'\n\nconst buttonVariants = cva(\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:cursor-not-allowed disabled:border disabled:bg-white disabled:text-igz-gray disabled:[&_svg]:text-igz-secondary [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n default:\n 'bg-primary text-primary-foreground hover:bg-primary/90 min-w-[100px] disabled:border-primary',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90 disabled:border-destructive',\n outline:\n 'border border-input bg-background hover:bg-accent hover:text-accent-foreground disabled:border-background',\n secondary:\n 'border border-solid border-[#ccc] bg-secondary text-secondary-foreground hover:bg-[#483F561F] min-w-[50px] disabled:border-secondary',\n ghost: 'hover:bg-accent hover:text-accent-foreground disabled:border-transparent',\n link: 'text-igz-primary underline-offset-4 hover:underline disabled:border-transparent',\n rounded:\n 'rounded-full hover:bg-igz-gray-light [&_svg]:size-[16px] transition-bg duration-300 ease-in-out disabled:border-igz-gray-light'\n },\n size: {\n default: 'h-10 px-4 py-3',\n sm: 'h-9 px-4 py-2.5',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10 p-0 m-0'\n }\n },\n defaultVariants: {\n variant: 'default',\n size: 'default'\n }\n }\n)\n\nexport interface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>,\n VariantProps<typeof buttonVariants>,\n Omit<TooltipContentProps, keyof React.ButtonHTMLAttributes<HTMLButtonElement>> {\n asChild?: boolean\n tooltip?: string\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n (\n { className, variant, size, tooltip = '', side = 'top', asChild = false, disabled, ...props },\n ref\n ) => {\n const Comp = asChild ? Slot : 'button'\n const buttonEl = (\n <Comp\n className={cn(\n buttonVariants({ variant, size, className }),\n tooltip && disabled && 'disabled:pointer-events-auto'\n )}\n disabled={disabled}\n ref={ref}\n {...props}\n />\n )\n\n if (!tooltip) return buttonEl\n\n return (\n <Tooltip>\n <TooltipTrigger asChild>{buttonEl}</TooltipTrigger>\n <TooltipContent side={side}>{tooltip}</TooltipContent>\n </Tooltip>\n )\n }\n)\nButton.displayName = 'Button'\n\nexport { Button }\n"],"names":["buttonVariants","cva","Button","React","className","variant","size","tooltip","side","asChild","disabled","props","ref","buttonEl","jsx","Slot","cn","Tooltip","TooltipTrigger","TooltipContent"],"mappings":";;;;;;AAQA,MAAMA,IAAiBC;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SACE;AAAA,QACF,aACE;AAAA,QACF,SACE;AAAA,QACF,WACE;AAAA,QACF,OAAO;AAAA,QACP,MAAM;AAAA,QACN,SACE;AAAA,MAAA;AAAA,MAEJ,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,QACJ,MAAM;AAAA,MAAA;AAAA,IACR;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ,GAUMC,IAASC,EAAM;AAAA,EACnB,CACE,EAAE,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,SAAAC,IAAU,IAAI,MAAAC,IAAO,OAAO,SAAAC,IAAU,IAAO,UAAAC,GAAU,GAAGC,EAAA,GACtFC,MACG;AAEH,UAAMC,IACJ,gBAAAC;AAAA,MAFWL,IAAUM,IAAO;AAAA,MAE3B;AAAA,QACC,WAAWC;AAAA,UACThB,EAAe,EAAE,SAAAK,GAAS,MAAAC,GAAM,WAAAF,GAAW;AAAA,UAC3CG,KAAWG,KAAY;AAAA,QAAA;AAAA,QAEzB,UAAAA;AAAA,QACA,KAAAE;AAAA,QACC,GAAGD;AAAA,MAAA;AAAA,IAAA;AAIR,WAAKJ,sBAGFU,GAAA,EACC,UAAA;AAAA,MAAA,gBAAAH,EAACI,GAAA,EAAe,SAAO,IAAE,UAAAL,GAAS;AAAA,MAClC,gBAAAC,EAACK,GAAA,EAAe,MAAAX,GAAa,UAAAD,EAAA,CAAQ;AAAA,IAAA,GACvC,IANmBM;AAAA,EAQvB;AACF;AACAX,EAAO,cAAc;"}
@@ -0,0 +1,29 @@
1
+ import * as React from 'react';
2
+ import type { DateRange } from 'react-day-picker';
3
+ import { DayPicker } from 'react-day-picker';
4
+ import { Button } from '@/components/ui/button';
5
+ type CalendarProps = React.ComponentProps<typeof DayPicker> & {
6
+ buttonVariant?: React.ComponentProps<typeof Button>['variant'];
7
+ singleDate?: boolean;
8
+ /**
9
+ * If provided, Calendar will paint the range (middle) and optionally an "active" endpoint.
10
+ */
11
+ range?: DateRange;
12
+ /**
13
+ * Which endpoint should be shown as the active circle in this calendar.
14
+ * - "start" paints range.from as a filled circle
15
+ * - "end" paints range.to as a filled circle
16
+ */
17
+ activeRangeSide?: 'start' | 'end';
18
+ /**
19
+ * Caption prefix like "From:" / "To:" (used when captionLayout="label")
20
+ */
21
+ captionPrefix?: string;
22
+ /**
23
+ * When true, forces weekday to be a single letter (like the screenshot).
24
+ */
25
+ weekdaySingleLetter?: boolean;
26
+ };
27
+ declare const Calendar: ({ className, classNames, showOutsideDays, captionLayout, formatters, components, range, activeRangeSide, captionPrefix, weekdaySingleLetter, singleDate, modifiers, modifiersClassNames, ...props }: CalendarProps) => import("react/jsx-runtime").JSX.Element;
28
+ export { Calendar };
29
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAgC,SAAS,EAAwB,MAAM,kBAAkB,CAAA;AAGhG,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAI/C,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC5D,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IACjC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B,CAAA;AAED,QAAA,MAAM,QAAQ,GAAI,qMAef,aAAa,4CAgIf,CAAA;AAuDD,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -0,0 +1,157 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import * as g from "react";
3
+ import { getDefaultClassNames as k, DayPicker as j } from "react-day-picker";
4
+ import y from "../../../images/calendar-chevron.svg.mjs";
5
+ import { Button as D } from "./button.mjs";
6
+ import { cn as e } from "../../lib/utils.mjs";
7
+ import { getSupportedLocale as S } from "../../utils/date.utils.mjs";
8
+ const G = ({
9
+ className: s,
10
+ classNames: t,
11
+ showOutsideDays: l = !0,
12
+ captionLayout: u = "label",
13
+ formatters: d,
14
+ components: w,
15
+ range: n,
16
+ activeRangeSide: i,
17
+ captionPrefix: f,
18
+ weekdaySingleLetter: v = !0,
19
+ singleDate: p = !1,
20
+ modifiers: h,
21
+ modifiersClassNames: x,
22
+ ...C
23
+ }) => {
24
+ const o = k(), F = g.useMemo(() => {
25
+ const a = n == null ? void 0 : n.from, r = n == null ? void 0 : n.to, c = {};
26
+ a && r && (c.range_middle = (_) => _ > a && _ < r, c.range_from = a, c.range_to = r);
27
+ let b = {};
28
+ return i === "start" ? b = { active_start: a } : i === "end" && (b = { active_end: r }), {
29
+ ...h,
30
+ ...c,
31
+ ...b
32
+ };
33
+ }, [i, h, n == null ? void 0 : n.from, n == null ? void 0 : n.to]), z = g.useMemo(() => ({
34
+ ...x,
35
+ range_middle: "rounded-none text-[#869CFF]"
36
+ }), [x]), N = g.useMemo(() => {
37
+ const a = S();
38
+ return {
39
+ formatMonthDropdown: (r) => r.toLocaleString(a, { month: "short" }),
40
+ ...v ? { formatWeekdayName: (r) => r.toLocaleDateString(a, { weekday: "narrow" }) } : {},
41
+ ...f ? {
42
+ formatCaption: (r) => `${f} ${r.toLocaleDateString(a, { month: "short", year: "numeric" })}`
43
+ } : {},
44
+ ...d
45
+ };
46
+ }, [f, d, v]);
47
+ return /* @__PURE__ */ m(
48
+ j,
49
+ {
50
+ showOutsideDays: l,
51
+ captionLayout: u,
52
+ modifiers: F,
53
+ modifiersClassNames: z,
54
+ formatters: N,
55
+ className: e(
56
+ "bg-background group/calendar p-0 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
57
+ String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
58
+ String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
59
+ s
60
+ ),
61
+ classNames: {
62
+ root: e(o.root),
63
+ months: e("relative flex flex-col gap-4 md:flex-row", o.months),
64
+ month: e("flex w-full flex-col gap-4", o.month),
65
+ nav: e(
66
+ "absolute inset-x-0 top-0 flex w-full items-start justify-between z-20",
67
+ o.nav
68
+ ),
69
+ button_previous: e(
70
+ "flex items-center justify-center h-[--cell-size] w-[--cell-size]",
71
+ o.button_previous
72
+ ),
73
+ button_next: e(
74
+ "flex items-center justify-center h-[--cell-size] w-[--cell-size]",
75
+ o.button_next
76
+ ),
77
+ month_caption: e(
78
+ "flex h-[--cell-size] w-full items-center justify-center px-5",
79
+ o.month_caption
80
+ ),
81
+ dropdowns: e(
82
+ "flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium",
83
+ o.dropdowns
84
+ ),
85
+ dropdown: e("bg-popover absolute inset-0 opacity-0", o.dropdown),
86
+ table: "w-full border-collapse",
87
+ weekdays: e("flex border-b border-slate-100 pb-2", o.weekdays),
88
+ weekday: e(
89
+ "text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal",
90
+ o.weekday
91
+ ),
92
+ day: e(
93
+ "group/day relative aspect-square flex-1 select-none p-0 text-center flex items-center justify-center",
94
+ !p && "has-[button[data-range-start]]:bg-[#869CFF33] has-[button[data-range-end]]:bg-[#869CFF33] has-[button[data-range-middle]]:bg-[#869CFF33]",
95
+ !p && "has-[button[data-range-start]]:rounded-l-full has-[button[data-range-end]]:rounded-r-full",
96
+ !p && "has-[button[data-selected-single]]:bg-transparent",
97
+ o.day
98
+ ),
99
+ week: e("flex w-full mt-1", o.week),
100
+ range_start: "bg-transparent",
101
+ range_middle: "bg-transparent",
102
+ range_end: "bg-transparent",
103
+ outside: e(
104
+ "text-muted-foreground aria-selected:text-muted-foreground",
105
+ o.outside
106
+ ),
107
+ disabled: e("text-muted-foreground opacity-50", o.disabled),
108
+ hidden: e("invisible", o.hidden),
109
+ ...t
110
+ },
111
+ components: {
112
+ Root: q,
113
+ DayButton: B,
114
+ Chevron: L,
115
+ ...w
116
+ },
117
+ ...C
118
+ }
119
+ );
120
+ }, B = ({
121
+ className: s,
122
+ modifiers: t,
123
+ ...l
124
+ }) => {
125
+ const u = t.active_start || t.active_end || t.selected, d = t.range_from || t.range_to || t.range_middle || t.active_start || t.active_end;
126
+ return /* @__PURE__ */ m(
127
+ D,
128
+ {
129
+ variant: "ghost",
130
+ size: "icon",
131
+ "data-range-start": t.range_from || t.active_start || void 0,
132
+ "data-range-end": t.range_to || t.active_end || void 0,
133
+ "data-range-middle": t.range_middle || void 0,
134
+ "data-selected-single": t.selected && !d || void 0,
135
+ disabled: t.outside,
136
+ className: e(
137
+ "relative flex aspect-square h-8 w-full items-center justify-center p-0 font-normal transition-none z-10 hover:bg-igz-accent-hover",
138
+ u && "!bg-[#869CFF] !text-white rounded-full z-20 hover:!bg-[#869CFF]",
139
+ s,
140
+ t.range_middle && "!text-[#869CFF]"
141
+ ),
142
+ ...l
143
+ }
144
+ );
145
+ }, L = ({
146
+ orientation: s,
147
+ className: t
148
+ }) => /* @__PURE__ */ m(
149
+ y,
150
+ {
151
+ className: e("text-[#7F7989]", s === "left" && "rotate-180", t)
152
+ }
153
+ ), q = ({ className: s, rootRef: t, ...l }) => /* @__PURE__ */ m("div", { "data-slot": "calendar", ref: t, className: e(s), ...l });
154
+ export {
155
+ G as Calendar
156
+ };
157
+ //# sourceMappingURL=calendar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.mjs","sources":["../../../../src/lib/nextGenComponents/components/ui/calendar.tsx"],"sourcesContent":["import * as React from 'react'\nimport type { DateRange } from 'react-day-picker'\nimport { DayButton as DayButtonImport, DayPicker, getDefaultClassNames } from 'react-day-picker'\n\nimport CalendarChevronSvg from '../../../images/calendar-chevron.svg?react'\nimport { Button } from '@/components/ui/button'\nimport { cn } from '@/lib/utils'\nimport { getSupportedLocale } from '@/utils/date.utils'\n\ntype CalendarProps = React.ComponentProps<typeof DayPicker> & {\n buttonVariant?: React.ComponentProps<typeof Button>['variant']\n singleDate?: boolean\n /**\n * If provided, Calendar will paint the range (middle) and optionally an \"active\" endpoint.\n */\n range?: DateRange\n /**\n * Which endpoint should be shown as the active circle in this calendar.\n * - \"start\" paints range.from as a filled circle\n * - \"end\" paints range.to as a filled circle\n */\n activeRangeSide?: 'start' | 'end'\n /**\n * Caption prefix like \"From:\" / \"To:\" (used when captionLayout=\"label\")\n */\n captionPrefix?: string\n /**\n * When true, forces weekday to be a single letter (like the screenshot).\n */\n weekdaySingleLetter?: boolean\n}\n\nconst Calendar = ({\n className,\n classNames,\n showOutsideDays = true,\n captionLayout = 'label',\n formatters,\n components,\n range,\n activeRangeSide,\n captionPrefix,\n weekdaySingleLetter = true,\n singleDate = false,\n modifiers,\n modifiersClassNames,\n ...props\n}: CalendarProps) => {\n const defaultClassNames = getDefaultClassNames()\n\n const computedModifiers = React.useMemo(() => {\n const from = range?.from\n const to = range?.to\n\n const rangeModifiers: Record<string, Date | ((day: Date) => boolean) | undefined> = {}\n\n if (from && to) {\n rangeModifiers.range_middle = (day: Date) => day > from && day < to\n rangeModifiers.range_from = from\n rangeModifiers.range_to = to\n }\n\n let active: Record<string, Date | undefined> = {}\n\n if (activeRangeSide === 'start') {\n active = { active_start: from }\n } else if (activeRangeSide === 'end') {\n active = { active_end: to }\n }\n\n return {\n ...modifiers,\n ...rangeModifiers,\n ...active\n }\n }, [activeRangeSide, modifiers, range?.from, range?.to])\n\n const computedModifiersClassNames = React.useMemo(() => {\n return {\n ...modifiersClassNames,\n range_middle: 'rounded-none text-[#869CFF]'\n }\n }, [modifiersClassNames])\n\n const computedFormatters = React.useMemo(() => {\n const locale = getSupportedLocale()\n return {\n formatMonthDropdown: (date: Date) => date.toLocaleString(locale, { month: 'short' }),\n ...(weekdaySingleLetter\n ? { formatWeekdayName: (d: Date) => d.toLocaleDateString(locale, { weekday: 'narrow' }) }\n : {}),\n ...(captionPrefix\n ? {\n formatCaption: (m: Date) =>\n `${captionPrefix} ${m.toLocaleDateString(locale, { month: 'short', year: 'numeric' })}`\n }\n : {}),\n ...formatters\n }\n }, [captionPrefix, formatters, weekdaySingleLetter])\n\n return (\n <DayPicker\n showOutsideDays={showOutsideDays}\n captionLayout={captionLayout}\n modifiers={computedModifiers}\n modifiersClassNames={computedModifiersClassNames}\n formatters={computedFormatters}\n className={cn(\n 'bg-background group/calendar p-0 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent',\n String.raw`rtl:**:[.rdp-button\\_next>svg]:rotate-180`,\n String.raw`rtl:**:[.rdp-button\\_previous>svg]:rotate-180`,\n className\n )}\n classNames={{\n root: cn(defaultClassNames.root),\n months: cn('relative flex flex-col gap-4 md:flex-row', defaultClassNames.months),\n month: cn('flex w-full flex-col gap-4', defaultClassNames.month),\n nav: cn(\n 'absolute inset-x-0 top-0 flex w-full items-start justify-between z-20',\n defaultClassNames.nav\n ),\n button_previous: cn(\n 'flex items-center justify-center h-[--cell-size] w-[--cell-size]',\n defaultClassNames.button_previous\n ),\n button_next: cn(\n 'flex items-center justify-center h-[--cell-size] w-[--cell-size]',\n defaultClassNames.button_next\n ),\n month_caption: cn(\n 'flex h-[--cell-size] w-full items-center justify-center px-5',\n defaultClassNames.month_caption\n ),\n dropdowns: cn(\n 'flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium',\n defaultClassNames.dropdowns\n ),\n dropdown: cn('bg-popover absolute inset-0 opacity-0', defaultClassNames.dropdown),\n table: 'w-full border-collapse',\n weekdays: cn('flex border-b border-slate-100 pb-2', defaultClassNames.weekdays),\n weekday: cn(\n 'text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal',\n defaultClassNames.weekday\n ),\n day: cn(\n 'group/day relative aspect-square flex-1 select-none p-0 text-center flex items-center justify-center',\n !singleDate &&\n 'has-[button[data-range-start]]:bg-[#869CFF33] has-[button[data-range-end]]:bg-[#869CFF33] has-[button[data-range-middle]]:bg-[#869CFF33]',\n !singleDate &&\n 'has-[button[data-range-start]]:rounded-l-full has-[button[data-range-end]]:rounded-r-full',\n !singleDate && 'has-[button[data-selected-single]]:bg-transparent',\n defaultClassNames.day\n ),\n week: cn('flex w-full mt-1', defaultClassNames.week),\n range_start: 'bg-transparent',\n range_middle: 'bg-transparent',\n range_end: 'bg-transparent',\n outside: cn(\n 'text-muted-foreground aria-selected:text-muted-foreground',\n defaultClassNames.outside\n ),\n disabled: cn('text-muted-foreground opacity-50', defaultClassNames.disabled),\n hidden: cn('invisible', defaultClassNames.hidden),\n ...classNames\n }}\n components={{\n Root: CalendarRoot,\n DayButton: CalendarDayButton,\n Chevron: CalendarChevron,\n ...components\n }}\n {...props}\n />\n )\n}\n\nconst CalendarDayButton = ({\n className: btnClassName,\n modifiers: dayModifiers,\n ...rest\n}: React.ComponentProps<typeof DayButtonImport>) => {\n const isSelected = dayModifiers.active_start || dayModifiers.active_end || dayModifiers.selected\n const isInRange =\n dayModifiers.range_from ||\n dayModifiers.range_to ||\n dayModifiers.range_middle ||\n dayModifiers.active_start ||\n dayModifiers.active_end\n\n return (\n <Button\n variant=\"ghost\"\n size=\"icon\"\n data-range-start={dayModifiers.range_from || dayModifiers.active_start || undefined}\n data-range-end={dayModifiers.range_to || dayModifiers.active_end || undefined}\n data-range-middle={dayModifiers.range_middle || undefined}\n data-selected-single={(dayModifiers.selected && !isInRange) || undefined}\n disabled={dayModifiers.outside}\n className={cn(\n 'relative flex aspect-square h-8 w-full items-center justify-center p-0 font-normal transition-none z-10 hover:bg-igz-accent-hover',\n isSelected && '!bg-[#869CFF] !text-white rounded-full z-20 hover:!bg-[#869CFF]',\n btnClassName,\n dayModifiers.range_middle && '!text-[#869CFF]'\n )}\n {...rest}\n />\n )\n}\n\ntype CalendarRootProps = React.HTMLAttributes<HTMLDivElement> & {\n rootRef?: React.Ref<HTMLDivElement>\n}\n\nconst CalendarChevron = ({\n orientation,\n className\n}: {\n className?: string\n orientation?: 'up' | 'down' | 'left' | 'right'\n}) => (\n <CalendarChevronSvg\n className={cn('text-[#7F7989]', orientation === 'left' && 'rotate-180', className)}\n />\n)\n\nconst CalendarRoot = ({ className, rootRef, ...rest }: CalendarRootProps) => {\n return <div data-slot=\"calendar\" ref={rootRef} className={cn(className)} {...rest} />\n}\n\nexport { Calendar }\n"],"names":["Calendar","className","classNames","showOutsideDays","captionLayout","formatters","components","range","activeRangeSide","captionPrefix","weekdaySingleLetter","singleDate","modifiers","modifiersClassNames","props","defaultClassNames","getDefaultClassNames","computedModifiers","React","from","to","rangeModifiers","day","active","computedModifiersClassNames","computedFormatters","locale","getSupportedLocale","date","d","m","jsx","DayPicker","cn","CalendarRoot","CalendarDayButton","CalendarChevron","btnClassName","dayModifiers","rest","isSelected","isInRange","Button","orientation","CalendarChevronSvg","rootRef"],"mappings":";;;;;;;AAgCA,MAAMA,IAAW,CAAC;AAAA,EAChB,WAAAC;AAAA,EACA,YAAAC;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AAAAA,EAAA;AAAA,IACC,WAAWX,EAAG,kBAAkBU,MAAgB,UAAU,cAAc1C,CAAS;AAAA,EAAA;AACnF,GAGIiC,IAAe,CAAC,EAAE,WAAAjC,GAAW,SAAA4C,GAAS,GAAGN,QACtC,gBAAAR,EAAC,OAAA,EAAI,aAAU,YAAW,KAAKc,GAAS,WAAWZ,EAAGhC,CAAS,GAAI,GAAGsC,EAAA,CAAM;"}
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
9
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/lib/nextGenComponents/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,IAAI,6GAQT,CAAA;AAGD,QAAA,MAAM,UAAU,6GAIf,CAAA;AAGD,QAAA,MAAM,SAAS,6GAQd,CAAA;AAGD,QAAA,MAAM,eAAe,6GAIpB,CAAA;AAGD,QAAA,MAAM,WAAW,6GAIhB,CAAA;AAGD,QAAA,MAAM,UAAU,6GAIf,CAAA;AAGD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAA"}