@mailstep/design-system 0.8.26-beta.7 → 0.8.27-beta.0

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 (563) hide show
  1. package/README.md +76 -76
  2. package/package.json +146 -146
  3. package/ui/Blocks/CommonGrid/CommonGrid.js +104 -152
  4. package/ui/Blocks/CommonGrid/CommonGridContainer.js +187 -368
  5. package/ui/Blocks/CommonGrid/HoC/withProps.js +9 -37
  6. package/ui/Blocks/CommonGrid/HoC/withReduxActions.js +29 -46
  7. package/ui/Blocks/CommonGrid/components/ActionHead/ActionHead.js +105 -196
  8. package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownMenu.js +37 -49
  9. package/ui/Blocks/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +76 -162
  10. package/ui/Blocks/CommonGrid/components/ActionHead/index.js +3 -1
  11. package/ui/Blocks/CommonGrid/components/ButtonMore/ButtonMore.js +43 -124
  12. package/ui/Blocks/CommonGrid/components/ButtonMore/index.js +3 -1
  13. package/ui/Blocks/CommonGrid/components/ColumnFilterCell.js +50 -112
  14. package/ui/Blocks/CommonGrid/components/ColumnTitle/ColumnTitle.js +130 -251
  15. package/ui/Blocks/CommonGrid/components/ColumnTitle/index.js +3 -1
  16. package/ui/Blocks/CommonGrid/components/ColumnTitle.js +36 -104
  17. package/ui/Blocks/CommonGrid/components/ControlButtons/ControlButtons.js +156 -252
  18. package/ui/Blocks/CommonGrid/components/ControlButtons/index.js +3 -1
  19. package/ui/Blocks/CommonGrid/components/ControlButtons/styles.js +40 -53
  20. package/ui/Blocks/CommonGrid/components/DataCell.js +34 -97
  21. package/ui/Blocks/CommonGrid/components/DataRow.js +60 -74
  22. package/ui/Blocks/CommonGrid/components/DropdownButton/DropdownButton.js +67 -154
  23. package/ui/Blocks/CommonGrid/components/DropdownButton/index.js +3 -1
  24. package/ui/Blocks/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +57 -149
  25. package/ui/Blocks/CommonGrid/components/ExtraControlButtons/index.js +3 -1
  26. package/ui/Blocks/CommonGrid/components/FilterDropdown.js +30 -48
  27. package/ui/Blocks/CommonGrid/components/FilterRow.js +28 -36
  28. package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.js +32 -83
  29. package/ui/Blocks/CommonGrid/components/Filters/ActionsFilter/index.js +3 -1
  30. package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.js +34 -90
  31. package/ui/Blocks/CommonGrid/components/Filters/BooleanSelect/index.js +4 -2
  32. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.js +149 -373
  33. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/index.js +3 -1
  34. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/getCleanValues.js +7 -12
  35. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.js +13 -25
  36. package/ui/Blocks/CommonGrid/components/Filters/DatePickerRange/utils/sameDate.js +3 -3
  37. package/ui/Blocks/CommonGrid/components/Filters/GridSelect/GridSelect.js +92 -376
  38. package/ui/Blocks/CommonGrid/components/Filters/GridSelect/guards.js +4 -8
  39. package/ui/Blocks/CommonGrid/components/Filters/GridSelect/index.js +4 -2
  40. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/NumberRange.js +142 -293
  41. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/index.js +3 -1
  42. package/ui/Blocks/CommonGrid/components/Filters/NumberRange/types.js +1 -0
  43. package/ui/Blocks/CommonGrid/components/Filters/TextRange/TextRange.js +160 -320
  44. package/ui/Blocks/CommonGrid/components/Filters/TextRange/index.js +3 -1
  45. package/ui/Blocks/CommonGrid/components/Filters/TextRange/types.js +1 -0
  46. package/ui/Blocks/CommonGrid/components/FloatingButton/FloatingButton.js +79 -156
  47. package/ui/Blocks/CommonGrid/components/FloatingButton/index.js +3 -1
  48. package/ui/Blocks/CommonGrid/components/GridInfo/index.js +30 -41
  49. package/ui/Blocks/CommonGrid/components/GridModals/index.js +132 -134
  50. package/ui/Blocks/CommonGrid/components/GridStatus/index.js +23 -25
  51. package/ui/Blocks/CommonGrid/components/GroupRow.js +26 -87
  52. package/ui/Blocks/CommonGrid/components/HeadCell.js +33 -89
  53. package/ui/Blocks/CommonGrid/components/HeadRow.js +69 -192
  54. package/ui/Blocks/CommonGrid/components/IconList/IconList.js +61 -99
  55. package/ui/Blocks/CommonGrid/components/IconList/index.js +3 -1
  56. package/ui/Blocks/CommonGrid/components/ManageColumnForm/ManageColumnForm.js +52 -114
  57. package/ui/Blocks/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.js +66 -171
  58. package/ui/Blocks/CommonGrid/components/ManageColumnForm/index.js +3 -1
  59. package/ui/Blocks/CommonGrid/components/ManageColumnForm/styles.js +16 -34
  60. package/ui/Blocks/CommonGrid/components/ManageColumnForm/utils.js +7 -9
  61. package/ui/Blocks/CommonGrid/components/MobileFilterModal.js +110 -228
  62. package/ui/Blocks/CommonGrid/components/MobileOverlayWrapper.js +13 -21
  63. package/ui/Blocks/CommonGrid/components/MobileSortModal.js +64 -88
  64. package/ui/Blocks/CommonGrid/components/OversizedScroll.js +34 -86
  65. package/ui/Blocks/CommonGrid/components/PresetsModalBody/components/TagRemove.js +17 -20
  66. package/ui/Blocks/CommonGrid/components/PresetsModalBody/index.js +88 -201
  67. package/ui/Blocks/CommonGrid/components/QuickFilter/QuickFilter.js +29 -54
  68. package/ui/Blocks/CommonGrid/components/QuickFilter/index.js +3 -1
  69. package/ui/Blocks/CommonGrid/components/Resize.js +46 -53
  70. package/ui/Blocks/CommonGrid/components/Table.js +40 -94
  71. package/ui/Blocks/CommonGrid/components/TablePagination/TablePagination.js +63 -113
  72. package/ui/Blocks/CommonGrid/components/TablePagination/index.js +3 -1
  73. package/ui/Blocks/CommonGrid/components/gridCells/BoolIcon.js +16 -32
  74. package/ui/Blocks/CommonGrid/components/gridCells/ButtonInCell.js +10 -58
  75. package/ui/Blocks/CommonGrid/components/gridCells/Date.js +7 -7
  76. package/ui/Blocks/CommonGrid/components/gridCells/DateTime.js +9 -12
  77. package/ui/Blocks/CommonGrid/components/gridCells/EnumInCell.js +27 -100
  78. package/ui/Blocks/CommonGrid/components/gridCells/HoverBubble.js +48 -48
  79. package/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.js +31 -33
  80. package/ui/Blocks/CommonGrid/components/gridCells/ImageCell.js +28 -50
  81. package/ui/Blocks/CommonGrid/components/gridCells/LinkInCell.js +8 -22
  82. package/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.js +37 -63
  83. package/ui/Blocks/CommonGrid/components/gridCells/RowActionsCell.js +75 -113
  84. package/ui/Blocks/CommonGrid/components/gridCells/StringJoin.js +7 -7
  85. package/ui/Blocks/CommonGrid/components/gridCells/SwitchInCell.js +9 -57
  86. package/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.js +30 -82
  87. package/ui/Blocks/CommonGrid/components/gridCells/index.js +14 -14
  88. package/ui/Blocks/CommonGrid/components/icons/Edit.js +13 -65
  89. package/ui/Blocks/CommonGrid/components/icons/EyeOpen.js +13 -65
  90. package/ui/Blocks/CommonGrid/components/icons/Sorting.js +19 -72
  91. package/ui/Blocks/CommonGrid/components/utils.js +18 -67
  92. package/ui/Blocks/CommonGrid/hooks/useAddFilter.js +14 -14
  93. package/ui/Blocks/CommonGrid/hooks/useColumnSizes.js +85 -119
  94. package/ui/Blocks/CommonGrid/hooks/useCreatePreset.js +29 -77
  95. package/ui/Blocks/CommonGrid/hooks/useDeletePreset.js +21 -32
  96. package/ui/Blocks/CommonGrid/hooks/useEditReadAsColumn.js +56 -91
  97. package/ui/Blocks/CommonGrid/hooks/useEvent.js +10 -14
  98. package/ui/Blocks/CommonGrid/hooks/useFloatingButton.js +14 -15
  99. package/ui/Blocks/CommonGrid/hooks/useGridActionTrigger.js +25 -42
  100. package/ui/Blocks/CommonGrid/hooks/useGridAutoRowsPerPage.js +10 -20
  101. package/ui/Blocks/CommonGrid/hooks/useManageColumn.js +97 -220
  102. package/ui/Blocks/CommonGrid/hooks/usePresetFileHandlers.js +54 -124
  103. package/ui/Blocks/CommonGrid/hooks/usePresetsState.js +13 -57
  104. package/ui/Blocks/CommonGrid/hooks/useQuickFilter.js +76 -149
  105. package/ui/Blocks/CommonGrid/hooks/useRowsKeyControls.js +19 -23
  106. package/ui/Blocks/CommonGrid/hooks/useSelectPreset.js +18 -80
  107. package/ui/Blocks/CommonGrid/hooks/useToggleAllCheckbox.js +17 -28
  108. package/ui/Blocks/CommonGrid/hooks/useUxReset.js +12 -63
  109. package/ui/Blocks/CommonGrid/index.js +26 -10
  110. package/ui/Blocks/CommonGrid/store/index.js +286 -430
  111. package/ui/Blocks/CommonGrid/store/migrateState.js +10 -10
  112. package/ui/Blocks/CommonGrid/store/store.d.js +1 -0
  113. package/ui/Blocks/CommonGrid/storybook/components/ComplexCell.js +16 -20
  114. package/ui/Blocks/CommonGrid/storybook/components/EnumCellExample.js +17 -22
  115. package/ui/Blocks/CommonGrid/storybook/utils/actions.js +9 -15
  116. package/ui/Blocks/CommonGrid/storybook/utils/columnDefinition.js +121 -156
  117. package/ui/Blocks/CommonGrid/storybook/utils/utils.js +106 -145
  118. package/ui/Blocks/CommonGrid/storybook/utils/withRedux.js +11 -14
  119. package/ui/Blocks/CommonGrid/storybook/utils/withRouter.js +5 -7
  120. package/ui/Blocks/CommonGrid/storybook/utils/withTheme.js +4 -5
  121. package/ui/Blocks/CommonGrid/styles.js +252 -97
  122. package/ui/Blocks/CommonGrid/types.js +22 -14
  123. package/ui/Blocks/CommonGrid/utils/constants.js +24 -22
  124. package/ui/Blocks/CommonGrid/utils/getExtendedExtraControlButtons.js +15 -44
  125. package/ui/Blocks/CommonGrid/utils/getRowsPerPage.js +8 -9
  126. package/ui/Blocks/CommonGrid/utils/hasSortTerminated.js +8 -9
  127. package/ui/Blocks/CommonGrid/utils/index.js +69 -107
  128. package/ui/Blocks/CornerDialog/CornerDialog.js +40 -94
  129. package/ui/Blocks/CornerDialog/index.d.js +1 -2
  130. package/ui/Blocks/CornerDialog/index.js +3 -1
  131. package/ui/Blocks/CornerDialog/styles.js +56 -83
  132. package/ui/Blocks/CornerDialog/types.js +1 -0
  133. package/ui/Blocks/CornerDialog/utils.js +28 -26
  134. package/ui/Blocks/Header/components/MenuItems/components/MenuItem/index.js +12 -11
  135. package/ui/Blocks/Header/components/MenuItems/index.js +6 -11
  136. package/ui/Blocks/Header/components/MenuItems/styles.js +21 -35
  137. package/ui/Blocks/Header/components/UserMenu/components/UserInfo/index.js +20 -28
  138. package/ui/Blocks/Header/components/UserMenu/components/UserInfo/styles.js +13 -31
  139. package/ui/Blocks/Header/components/UserMenu/hooks/index.js +1 -1
  140. package/ui/Blocks/Header/components/UserMenu/hooks/useLogout.js +8 -9
  141. package/ui/Blocks/Header/components/UserMenu/index.js +45 -99
  142. package/ui/Blocks/Header/components/UserMenu/styles.js +24 -44
  143. package/ui/Blocks/Header/hooks/useChangeLanguage.js +7 -8
  144. package/ui/Blocks/Header/index.js +41 -57
  145. package/ui/Blocks/Header/styles.js +33 -54
  146. package/ui/Blocks/Header/types.js +1 -0
  147. package/ui/Blocks/Header/utils/constants.js +3 -1
  148. package/ui/Blocks/Header/utils/languageItems.js +13 -18
  149. package/ui/Blocks/HidePrint/HidePrint.js +11 -28
  150. package/ui/Blocks/ImageList/ImageList.js +76 -131
  151. package/ui/Blocks/ImageList/components/AddPhoto/index.js +33 -182
  152. package/ui/Blocks/ImageList/components/AddPhoto/styles.js +29 -42
  153. package/ui/Blocks/ImageList/components/CloseButton/index.js +15 -13
  154. package/ui/Blocks/ImageList/components/CloseButton/styles.js +17 -25
  155. package/ui/Blocks/ImageList/components/ImageElement/index.js +26 -27
  156. package/ui/Blocks/ImageList/components/ImageElement/styles.js +21 -63
  157. package/ui/Blocks/ImageList/components/ImageTag/index.js +12 -15
  158. package/ui/Blocks/ImageList/components/ImageTag/styles.js +8 -21
  159. package/ui/Blocks/ImageList/hooks/useControls.js +12 -66
  160. package/ui/Blocks/ImageList/hooks/useOnElementClick.js +12 -70
  161. package/ui/Blocks/ImageList/index.d.js +1 -2
  162. package/ui/Blocks/ImageList/index.js +3 -1
  163. package/ui/Blocks/ImageList/styles.js +28 -47
  164. package/ui/Blocks/ImageList/types.js +1 -0
  165. package/ui/Blocks/LanguageSwitch/LanguageSwitch.js +50 -136
  166. package/ui/Blocks/LanguageSwitch/index.js +3 -1
  167. package/ui/Blocks/LanguageSwitch/styles.js +31 -49
  168. package/ui/Blocks/LanguageSwitch/types.js +1 -0
  169. package/ui/Blocks/LightBox/LightBox.js +37 -46
  170. package/ui/Blocks/LightBox/hooks/useLightBox.js +14 -19
  171. package/ui/Blocks/LightBox/index.d.js +1 -3
  172. package/ui/Blocks/LightBox/index.js +4 -2
  173. package/ui/Blocks/LightBox/styles.js +27 -51
  174. package/ui/Blocks/LightBox/types.js +1 -0
  175. package/ui/Blocks/LoginPage/LoginPage.js +60 -77
  176. package/ui/Blocks/LoginPage/assets/mailship.js +4 -0
  177. package/ui/Blocks/LoginPage/components/LoginForm.js +165 -220
  178. package/ui/Blocks/LoginPage/components/SocialLinks.js +78 -98
  179. package/ui/Blocks/LoginPage/index.js +4 -2
  180. package/ui/Blocks/LoginPage/styles.js +74 -94
  181. package/ui/Blocks/LoginPage/types.js +1 -0
  182. package/ui/Blocks/LoginPage/utils/links.js +9 -7
  183. package/ui/Blocks/Modal/Modal.js +122 -148
  184. package/ui/Blocks/Modal/hooks/useClickOutside.js +25 -35
  185. package/ui/Blocks/Modal/hooks/useModal.js +17 -64
  186. package/ui/Blocks/Modal/index.d.js +1 -3
  187. package/ui/Blocks/Modal/index.js +5 -3
  188. package/ui/Blocks/Modal/styles.js +181 -255
  189. package/ui/Blocks/Modal/types.js +1 -0
  190. package/ui/Blocks/Modal/utils.js +8 -6
  191. package/ui/Blocks/Popover/index.js +29 -50
  192. package/ui/Blocks/Scheduler/Scheduler.js +40 -104
  193. package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.js +35 -123
  194. package/ui/Blocks/Scheduler/components/BookedTimeSlots/styles.js +34 -53
  195. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/hooks/useCurrentTime.js +14 -61
  196. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/index.js +11 -15
  197. package/ui/Blocks/Scheduler/components/CurrentTimeMarker/styles.js +29 -51
  198. package/ui/Blocks/Scheduler/components/DateChanger/index.js +46 -50
  199. package/ui/Blocks/Scheduler/components/DateChanger/styles.js +22 -35
  200. package/ui/Blocks/Scheduler/components/Groups/index.js +8 -14
  201. package/ui/Blocks/Scheduler/components/Groups/styles.js +31 -53
  202. package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useRangeSelection.js +43 -114
  203. package/ui/Blocks/Scheduler/components/TimeSlots/hooks/useScroll.js +13 -17
  204. package/ui/Blocks/Scheduler/components/TimeSlots/index.js +45 -53
  205. package/ui/Blocks/Scheduler/components/TimeSlots/styles.js +51 -75
  206. package/ui/Blocks/Scheduler/hooks/useChangeDate.js +32 -83
  207. package/ui/Blocks/Scheduler/index.js +1 -1
  208. package/ui/Blocks/Scheduler/styles.js +21 -32
  209. package/ui/Blocks/Scheduler/types.js +1 -0
  210. package/ui/Blocks/Scheduler/utils/constants.js +8 -6
  211. package/ui/Blocks/Scheduler/utils/convertDateToTime.js +4 -4
  212. package/ui/Blocks/Scheduler/utils/convertIndexToISOString.js +9 -7
  213. package/ui/Blocks/Scheduler/utils/convertMinutesToDuration.js +8 -10
  214. package/ui/Blocks/Scheduler/utils/formatDate.js +7 -8
  215. package/ui/Blocks/Scheduler/utils/generateTimeArray.js +17 -15
  216. package/ui/Blocks/Scheduler/utils/getClosestStep.js +10 -8
  217. package/ui/Blocks/Scheduler/utils/getMinutesFromString.js +5 -5
  218. package/ui/Blocks/Scheduler/utils/getMinutesFromTime.js +5 -49
  219. package/ui/Blocks/Scheduler/utils/isActiveTime.js +9 -8
  220. package/ui/Blocks/Scheduler/utils/isToday.js +5 -3
  221. package/ui/Blocks/SideMenu/MenuItem.js +98 -191
  222. package/ui/Blocks/SideMenu/SideMenu.js +35 -80
  223. package/ui/Blocks/SideMenu/components/Footer.js +61 -95
  224. package/ui/Blocks/SideMenu/components/HamburgerMenu.js +49 -68
  225. package/ui/Blocks/SideMenu/components/SubitemTooltip.js +49 -133
  226. package/ui/Blocks/SideMenu/context/LeftMenuContext.js +17 -67
  227. package/ui/Blocks/SideMenu/context/useLeftMenuContext.js +7 -5
  228. package/ui/Blocks/SideMenu/hooks/useOutsideHover.js +23 -76
  229. package/ui/Blocks/SideMenu/index.js +5 -3
  230. package/ui/Blocks/SideMenu/stories/menuItems.js +106 -100
  231. package/ui/Blocks/SideMenu/styles.js +308 -415
  232. package/ui/Blocks/SideMenu/types.js +1 -0
  233. package/ui/Blocks/SideMenu/utils/constants.js +4 -2
  234. package/ui/Blocks/Stepper/Stepper.js +31 -50
  235. package/ui/Blocks/Stepper/components/StepCircle/index.js +14 -13
  236. package/ui/Blocks/Stepper/components/StepCircle/styles.js +22 -47
  237. package/ui/Blocks/Stepper/components/StepItem/index.js +48 -58
  238. package/ui/Blocks/Stepper/components/StepItem/styles.js +77 -86
  239. package/ui/Blocks/Stepper/hooks/useStepper.js +30 -78
  240. package/ui/Blocks/Stepper/index.js +3 -3
  241. package/ui/Blocks/Stepper/styles.js +24 -39
  242. package/ui/Blocks/Stepper/types.js +1 -0
  243. package/ui/Blocks/Table/Table.js +10 -31
  244. package/ui/Blocks/Table/index.js +1 -1
  245. package/ui/Blocks/Table/types.js +1 -0
  246. package/ui/Blocks/Tabs/TabContent.js +7 -8
  247. package/ui/Blocks/Tabs/Tabs.js +42 -53
  248. package/ui/Blocks/Tabs/hooks/useTabs.js +11 -59
  249. package/ui/Blocks/Tabs/index.d.js +1 -3
  250. package/ui/Blocks/Tabs/index.js +5 -3
  251. package/ui/Blocks/Tabs/styles.js +94 -109
  252. package/ui/Blocks/Tabs/types.js +1 -0
  253. package/ui/Elements/Alert/Alert.js +71 -95
  254. package/ui/Elements/Alert/index.d.js +1 -3
  255. package/ui/Elements/Alert/index.js +3 -1
  256. package/ui/Elements/Alert/styles.js +81 -126
  257. package/ui/Elements/Alert/types.js +1 -0
  258. package/ui/Elements/AsyncSelect/AsyncSelect.js +31 -157
  259. package/ui/Elements/AsyncSelect/index.js +3 -1
  260. package/ui/Elements/Avatar/Avatar.js +35 -150
  261. package/ui/Elements/Avatar/index.d.js +1 -2
  262. package/ui/Elements/Avatar/index.js +4 -3
  263. package/ui/Elements/Avatar/types.js +1 -0
  264. package/ui/Elements/Badge/Badge.js +50 -105
  265. package/ui/Elements/Badge/index.d.js +1 -2
  266. package/ui/Elements/Badge/index.js +3 -1
  267. package/ui/Elements/BarChartSymbol/BarChartSymbol.js +19 -22
  268. package/ui/Elements/BarChartSymbol/index.js +1 -1
  269. package/ui/Elements/BarChartSymbol/styles.js +8 -32
  270. package/ui/Elements/BorderedBox/BorderedBox.js +20 -124
  271. package/ui/Elements/BorderedBox/index.d.js +1 -3
  272. package/ui/Elements/BorderedBox/index.js +3 -1
  273. package/ui/Elements/BorderedBox/types.js +1 -0
  274. package/ui/Elements/Button/Button.d.js +1 -2
  275. package/ui/Elements/Button/Button.js +43 -153
  276. package/ui/Elements/Button/index.d.js +1 -3
  277. package/ui/Elements/Button/index.js +3 -1
  278. package/ui/Elements/Button/styles.js +224 -95
  279. package/ui/Elements/Button/types.js +1 -0
  280. package/ui/Elements/Card/Card.js +13 -13
  281. package/ui/Elements/Card/index.d.js +1 -2
  282. package/ui/Elements/Card/index.js +3 -1
  283. package/ui/Elements/Card/styles.js +21 -49
  284. package/ui/Elements/Card/types.js +1 -0
  285. package/ui/Elements/CheckedCircle/index.js +12 -11
  286. package/ui/Elements/CheckedCircle/styles.js +14 -29
  287. package/ui/Elements/DatePicker/DatePicker.js +84 -206
  288. package/ui/Elements/DatePicker/Datetime/DateTime.js +422 -724
  289. package/ui/Elements/DatePicker/Datetime/components/DateRepeater.js +62 -126
  290. package/ui/Elements/DatePicker/Datetime/components/FooterRow.js +10 -24
  291. package/ui/Elements/DatePicker/Datetime/components/FooterRowLabel.js +14 -20
  292. package/ui/Elements/DatePicker/Datetime/components/TimeInput.js +15 -21
  293. package/ui/Elements/DatePicker/Datetime/components/Timepicker.js +160 -254
  294. package/ui/Elements/DatePicker/Datetime/components/ViewNavigation.js +28 -84
  295. package/ui/Elements/DatePicker/Datetime/types.js +13 -11
  296. package/ui/Elements/DatePicker/Datetime/views/DaysView.js +134 -334
  297. package/ui/Elements/DatePicker/Datetime/views/MonthsView.js +71 -265
  298. package/ui/Elements/DatePicker/Datetime/views/YearsView.js +81 -276
  299. package/ui/Elements/DatePicker/index.js +5 -3
  300. package/ui/Elements/DatePicker/styles.js +233 -35
  301. package/ui/Elements/DatePicker/utils/constants.js +27 -33
  302. package/ui/Elements/Dropdown/Dropdown.js +53 -88
  303. package/ui/Elements/Dropdown/index.js +3 -1
  304. package/ui/Elements/Dropdown/types.js +1 -0
  305. package/ui/Elements/DropdownMenu/DropdownMenu.js +32 -134
  306. package/ui/Elements/DropdownMenu/components/DefaultItem.js +30 -56
  307. package/ui/Elements/DropdownMenu/components/MenuItem.js +56 -103
  308. package/ui/Elements/DropdownMenu/components/MenuList.js +13 -14
  309. package/ui/Elements/DropdownMenu/index.js +1 -1
  310. package/ui/Elements/DropdownMenu/types.js +1 -0
  311. package/ui/Elements/DropdownSelect/DropdownSelect.js +126 -205
  312. package/ui/Elements/DropdownSelect/index.js +3 -2
  313. package/ui/Elements/ErrorMessage/ErrorMessage.js +62 -56
  314. package/ui/Elements/ErrorMessage/index.d.js +1 -3
  315. package/ui/Elements/ErrorMessage/index.js +3 -1
  316. package/ui/Elements/ErrorMessage/types.js +1 -0
  317. package/ui/Elements/HighlightBox/HighlightBox.js +97 -99
  318. package/ui/Elements/HighlightBox/index.js +3 -1
  319. package/ui/Elements/Icon/BadgeIcon.js +26 -121
  320. package/ui/Elements/Icon/Icon.js +182 -255
  321. package/ui/Elements/Icon/icons/Add.js +31 -91
  322. package/ui/Elements/Icon/icons/AddPhoto.js +32 -84
  323. package/ui/Elements/Icon/icons/Admin.js +24 -79
  324. package/ui/Elements/Icon/icons/ArrowDown.js +16 -68
  325. package/ui/Elements/Icon/icons/ArrowForward.js +10 -64
  326. package/ui/Elements/Icon/icons/ArrowUp.js +16 -68
  327. package/ui/Elements/Icon/icons/ArrowUpRightDownLeft.js +19 -77
  328. package/ui/Elements/Icon/icons/ArrowsLeftRight.js +10 -64
  329. package/ui/Elements/Icon/icons/ArrowsUpDown.js +10 -64
  330. package/ui/Elements/Icon/icons/BarcodeScan.js +11 -65
  331. package/ui/Elements/Icon/icons/Box.js +15 -67
  332. package/ui/Elements/Icon/icons/Calendar.js +37 -89
  333. package/ui/Elements/Icon/icons/Cancel.js +16 -68
  334. package/ui/Elements/Icon/icons/CheckedBox.js +21 -76
  335. package/ui/Elements/Icon/icons/CircleHalfStroke.js +10 -64
  336. package/ui/Elements/Icon/icons/Company.js +80 -137
  337. package/ui/Elements/Icon/icons/Complaint.js +57 -114
  338. package/ui/Elements/Icon/icons/Consolidation.js +11 -65
  339. package/ui/Elements/Icon/icons/Container.js +11 -65
  340. package/ui/Elements/Icon/icons/Dashboard.js +34 -86
  341. package/ui/Elements/Icon/icons/Desktop.js +61 -118
  342. package/ui/Elements/Icon/icons/Dispatch.js +11 -65
  343. package/ui/Elements/Icon/icons/EmptyRack.js +32 -32
  344. package/ui/Elements/Icon/icons/Expeditions.js +60 -112
  345. package/ui/Elements/Icon/icons/Filter.js +15 -67
  346. package/ui/Elements/Icon/icons/FlagCZ.js +53 -108
  347. package/ui/Elements/Icon/icons/FlagEL.js +48 -100
  348. package/ui/Elements/Icon/icons/FlagESP.js +91 -143
  349. package/ui/Elements/Icon/icons/FlagHU.js +25 -77
  350. package/ui/Elements/Icon/icons/FlagITA.js +53 -108
  351. package/ui/Elements/Icon/icons/FlagNL.js +25 -77
  352. package/ui/Elements/Icon/icons/FlagRUS.js +53 -108
  353. package/ui/Elements/Icon/icons/FlagSVK.js +90 -145
  354. package/ui/Elements/Icon/icons/FlagUK.js +18 -73
  355. package/ui/Elements/Icon/icons/FlagUSA.js +104 -168
  356. package/ui/Elements/Icon/icons/Foldable.js +32 -84
  357. package/ui/Elements/Icon/icons/Fragile.js +40 -92
  358. package/ui/Elements/Icon/icons/Gift.js +39 -91
  359. package/ui/Elements/Icon/icons/Group.js +15 -67
  360. package/ui/Elements/Icon/icons/HamburgerMenu.js +39 -91
  361. package/ui/Elements/Icon/icons/HelpCircle1.js +30 -82
  362. package/ui/Elements/Icon/icons/HorizontalLines.js +34 -86
  363. package/ui/Elements/Icon/icons/ImagePlaceholder.js +15 -67
  364. package/ui/Elements/Icon/icons/Income.js +20 -75
  365. package/ui/Elements/Icon/icons/Info.js +31 -83
  366. package/ui/Elements/Icon/icons/Integrations.js +15 -67
  367. package/ui/Elements/Icon/icons/Inventory.js +43 -100
  368. package/ui/Elements/Icon/icons/Inventory2.js +64 -121
  369. package/ui/Elements/Icon/icons/Layout.js +41 -91
  370. package/ui/Elements/Icon/icons/Link.js +18 -73
  371. package/ui/Elements/Icon/icons/Liquid.js +20 -75
  372. package/ui/Elements/Icon/icons/Location.js +11 -65
  373. package/ui/Elements/Icon/icons/Logout1.js +30 -82
  374. package/ui/Elements/Icon/icons/MachinePackingForbidden.js +68 -120
  375. package/ui/Elements/Icon/icons/MakePhoto.js +33 -85
  376. package/ui/Elements/Icon/icons/MenuItems.js +37 -91
  377. package/ui/Elements/Icon/icons/Message.js +36 -96
  378. package/ui/Elements/Icon/icons/MobileCancel.js +20 -75
  379. package/ui/Elements/Icon/icons/MobilePhone.js +45 -97
  380. package/ui/Elements/Icon/icons/Moon.js +10 -64
  381. package/ui/Elements/Icon/icons/Notification2.js +23 -78
  382. package/ui/Elements/Icon/icons/OpenBox.js +35 -87
  383. package/ui/Elements/Icon/icons/Pallet.js +34 -93
  384. package/ui/Elements/Icon/icons/Plus1.js +15 -67
  385. package/ui/Elements/Icon/icons/Print.js +39 -91
  386. package/ui/Elements/Icon/icons/Product.js +15 -67
  387. package/ui/Elements/Icon/icons/Products.js +14 -66
  388. package/ui/Elements/Icon/icons/Profile.js +23 -78
  389. package/ui/Elements/Icon/icons/Puzzle1.js +16 -68
  390. package/ui/Elements/Icon/icons/QRCode.js +17 -69
  391. package/ui/Elements/Icon/icons/Rack.js +63 -115
  392. package/ui/Elements/Icon/icons/Reload.js +11 -65
  393. package/ui/Elements/Icon/icons/Return.js +17 -72
  394. package/ui/Elements/Icon/icons/Rows.js +37 -89
  395. package/ui/Elements/Icon/icons/Settings2.js +31 -91
  396. package/ui/Elements/Icon/icons/ShieldUser.js +7 -61
  397. package/ui/Elements/Icon/icons/ShoppingBag.js +16 -67
  398. package/ui/Elements/Icon/icons/Sort.js +21 -76
  399. package/ui/Elements/Icon/icons/Sun.js +10 -64
  400. package/ui/Elements/Icon/icons/ThreeDots.js +37 -89
  401. package/ui/Elements/Icon/icons/ToastError.js +25 -82
  402. package/ui/Elements/Icon/icons/ToastSuccess.js +25 -82
  403. package/ui/Elements/Icon/icons/Transfer.js +19 -74
  404. package/ui/Elements/Icon/icons/TrashBin.js +31 -83
  405. package/ui/Elements/Icon/icons/Truck.js +71 -127
  406. package/ui/Elements/Icon/icons/TwoBoxes.js +18 -73
  407. package/ui/Elements/Icon/icons/TwoCheckedBoxes.js +27 -27
  408. package/ui/Elements/Icon/icons/TwoUsers.js +40 -91
  409. package/ui/Elements/Icon/icons/UserCowboy.js +7 -61
  410. package/ui/Elements/Icon/icons/Valuable.js +32 -83
  411. package/ui/Elements/Icon/icons/Weight.js +10 -64
  412. package/ui/Elements/Icon/icons/index.js +188 -92
  413. package/ui/Elements/Icon/index.js +96 -4
  414. package/ui/Elements/Icon/types.js +1 -0
  415. package/ui/Elements/Image/Image.js +13 -154
  416. package/ui/Elements/Image/index.js +3 -1
  417. package/ui/Elements/Image/types.js +1 -0
  418. package/ui/Elements/Label/Label.js +22 -61
  419. package/ui/Elements/Label/index.js +4 -3
  420. package/ui/Elements/Line/Line.js +20 -44
  421. package/ui/Elements/Line/index.d.js +1 -3
  422. package/ui/Elements/Line/index.js +3 -1
  423. package/ui/Elements/Line/types.js +1 -0
  424. package/ui/Elements/Link/Link.js +42 -126
  425. package/ui/Elements/Link/index.js +3 -1
  426. package/ui/Elements/Logo/Logo.js +65 -162
  427. package/ui/Elements/Logo/assets/mailship/logo_black.js +4 -0
  428. package/ui/Elements/Logo/assets/mailship/logo_m.js +4 -0
  429. package/ui/Elements/Logo/assets/mailship/logo_white.js +4 -0
  430. package/ui/Elements/Logo/assets/mailship/mailship-logo.js +4 -0
  431. package/ui/Elements/Logo/assets/mailship/mailship-logo.svg +12 -12
  432. package/ui/Elements/Logo/assets/mailstep/mailstep_black.js +4 -0
  433. package/ui/Elements/Logo/assets/mailstep/mailstep_black.svg +17 -17
  434. package/ui/Elements/Logo/assets/mailstep/mailstep_white.js +4 -0
  435. package/ui/Elements/Logo/assets/mailstep/mailstep_white.svg +17 -17
  436. package/ui/Elements/Logo/assets/mailstock/mailstock.js +4 -0
  437. package/ui/Elements/Logo/assets/mailstock/mailstock.svg +12 -12
  438. package/ui/Elements/Logo/assets/mailwise/mailwiseLogo.js +4 -0
  439. package/ui/Elements/Logo/assets/mailwise/mailwiseLogo.svg +46 -46
  440. package/ui/Elements/Logo/assets/mailwise/mailwiseLogoSmall.js +4 -0
  441. package/ui/Elements/Logo/assets/mailwise/mailwiseLogoSmall.svg +19 -19
  442. package/ui/Elements/Logo/assets/mailwrap/mailwrapLogo.js +4 -0
  443. package/ui/Elements/Logo/assets/mailwrap/mailwrapLogoSmall.js +4 -0
  444. package/ui/Elements/Logo/assets/mailwrap/mailwrapLogoSmall.svg +4 -4
  445. package/ui/Elements/Logo/assets/warehouse/manager.js +4 -0
  446. package/ui/Elements/Logo/assets/warehouse/manager.svg +5 -5
  447. package/ui/Elements/Logo/assets/warehouse/manager2.js +4 -0
  448. package/ui/Elements/Logo/assets/warehouse/manager2.svg +5 -5
  449. package/ui/Elements/Logo/assets/warehouse/manager3.js +4 -0
  450. package/ui/Elements/Logo/assets/warehouse/manager3.svg +4 -4
  451. package/ui/Elements/Logo/default.d.js +1 -0
  452. package/ui/Elements/Logo/index.d.js +1 -2
  453. package/ui/Elements/Logo/index.js +3 -1
  454. package/ui/Elements/Logo/types.js +1 -0
  455. package/ui/Elements/Pagination/Pagination.js +61 -85
  456. package/ui/Elements/Pagination/index.d.js +2 -3
  457. package/ui/Elements/Pagination/index.js +3 -1
  458. package/ui/Elements/Pagination/styled.js +62 -89
  459. package/ui/Elements/Portal/index.js +20 -68
  460. package/ui/Elements/ProgressBar/ProgressBar.js +15 -19
  461. package/ui/Elements/ProgressBar/index.js +3 -1
  462. package/ui/Elements/ProgressBar/styles.js +69 -114
  463. package/ui/Elements/Select/Select.js +94 -442
  464. package/ui/Elements/Select/components/ChevronOption.js +29 -87
  465. package/ui/Elements/Select/components/ConnectedMenu.js +24 -85
  466. package/ui/Elements/Select/components/CountMultiValue.js +40 -132
  467. package/ui/Elements/Select/components/CustomInput.js +11 -61
  468. package/ui/Elements/Select/components/DropdownIndicator.js +28 -94
  469. package/ui/Elements/Select/components/IconValueContainer.js +27 -139
  470. package/ui/Elements/Select/components/SelectAll.js +87 -164
  471. package/ui/Elements/Select/components/SelectedIndicator.js +7 -23
  472. package/ui/Elements/Select/components/SimplifiedOption.js +15 -23
  473. package/ui/Elements/Select/index.js +3 -1
  474. package/ui/Elements/Select/styles.js +16 -44
  475. package/ui/Elements/Select/themes/index.js +37 -44
  476. package/ui/Elements/Select/themes/selectStyles.js +194 -302
  477. package/ui/Elements/Select/types.js +1 -0
  478. package/ui/Elements/SimpleLink/SimpleLink.js +35 -64
  479. package/ui/Elements/SimpleLink/index.js +5 -3
  480. package/ui/Elements/SingleSelect/SingleSelect.js +145 -509
  481. package/ui/Elements/SingleSelect/index.js +3 -1
  482. package/ui/Elements/SpaceAround/SpaceAround.js +31 -166
  483. package/ui/Elements/SpaceAround/index.js +3 -1
  484. package/ui/Elements/SpaceAround/types.js +1 -0
  485. package/ui/Elements/Spinner/Spinner.js +35 -36
  486. package/ui/Elements/Spinner/index.d.js +1 -2
  487. package/ui/Elements/Spinner/index.js +3 -1
  488. package/ui/Elements/Spinner/styles.js +35 -65
  489. package/ui/Elements/Spinner/types.js +1 -0
  490. package/ui/Elements/Table/Table.js +44 -77
  491. package/ui/Elements/Table/index.js +1 -1
  492. package/ui/Elements/Tag/Tag.js +47 -82
  493. package/ui/Elements/Tag/index.d.js +1 -3
  494. package/ui/Elements/Tag/index.js +4 -2
  495. package/ui/Elements/Tag/palettes.js +50 -45
  496. package/ui/Elements/Tag/stories/components/predefinedTags.js +17 -18
  497. package/ui/Elements/Tag/types.js +1 -0
  498. package/ui/Elements/Text/Text.js +9 -75
  499. package/ui/Elements/Text/index.d.js +1 -2
  500. package/ui/Elements/Text/index.js +1 -1
  501. package/ui/Elements/Text/types.js +1 -0
  502. package/ui/Elements/Toast/Toast.js +33 -55
  503. package/ui/Elements/Toast/constants.js +17 -15
  504. package/ui/Elements/Toast/index.d.js +2 -3
  505. package/ui/Elements/Toast/index.js +3 -1
  506. package/ui/Elements/Toast/styles.js +74 -104
  507. package/ui/Elements/Toggle/Toggle.js +120 -258
  508. package/ui/Elements/Toggle/index.d.js +1 -2
  509. package/ui/Elements/Toggle/index.js +3 -1
  510. package/ui/Elements/Toggle/types.js +1 -0
  511. package/ui/Elements/Tooltip/Tooltip.js +49 -119
  512. package/ui/Elements/Tooltip/index.d.js +1 -2
  513. package/ui/Elements/Tooltip/index.js +3 -1
  514. package/ui/Elements/Typography/Typography.js +73 -158
  515. package/ui/Elements/Typography/index.d.js +1 -2
  516. package/ui/Elements/Typography/index.js +4 -3
  517. package/ui/Forms/Checkbox/Checkbox.js +39 -40
  518. package/ui/Forms/Checkbox/index.d.js +1 -2
  519. package/ui/Forms/Checkbox/index.js +5 -3
  520. package/ui/Forms/Checkbox/styles.js +92 -74
  521. package/ui/Forms/Checkbox/types.js +1 -0
  522. package/ui/Forms/Input/Input.js +125 -258
  523. package/ui/Forms/Input/index.d.js +1 -3
  524. package/ui/Forms/Input/index.js +3 -1
  525. package/ui/Forms/Input/styles.js +217 -201
  526. package/ui/Forms/Input/types.js +1 -0
  527. package/ui/Forms/RadioButton/RadioButton.js +22 -101
  528. package/ui/Forms/RadioButton/index.d.js +1 -2
  529. package/ui/Forms/RadioButton/index.js +3 -1
  530. package/ui/Forms/RadioButton/styles.js +85 -75
  531. package/ui/Forms/RadioButton/types.js +1 -0
  532. package/ui/Forms/TextArea/TextArea.js +33 -153
  533. package/ui/Forms/TextArea/index.js +3 -1
  534. package/ui/Forms/TextArea/styles.js +75 -99
  535. package/ui/System/Fonts/font.d.js +1 -0
  536. package/ui/System/Fonts/index.js +52 -15
  537. package/ui/ThemeProvider/ThemeProvider.d.js +0 -1
  538. package/ui/ThemeProvider/ThemeProvider.js +15 -18
  539. package/ui/ThemeProvider/index.d.js +1 -3
  540. package/ui/ThemeProvider/index.js +5 -4
  541. package/ui/ThemeProvider/themes/default.js +185 -193
  542. package/ui/ThemeProvider/themes/index.js +10 -9
  543. package/ui/ThemeProvider/themes/light.js +7 -8
  544. package/ui/ThemeProvider/themes/mailwise.js +229 -236
  545. package/ui/ThemeProvider/types.js +1 -0
  546. package/ui/_virtual/_rolldown/runtime.js +13 -0
  547. package/ui/hooks/useToggleAndClose.js +15 -62
  548. package/ui/index.js +179 -94
  549. package/ui/packages/assets/fonts/Inter-Bold_mailstep.js +4 -0
  550. package/ui/packages/assets/fonts/Inter-Light_mailstep.js +4 -0
  551. package/ui/packages/assets/fonts/Inter-Medium_mailstep.js +4 -0
  552. package/ui/packages/assets/fonts/Inter-Regular_mailstep.js +4 -0
  553. package/ui/packages/assets/fonts/Inter-SemiBold_mailstep.js +4 -0
  554. package/ui/utils/CheckDeviceWidth/checkDeviceWidth.js +14 -63
  555. package/ui/utils/CreateRgba/createRgba.js +11 -16
  556. package/ui/utils/CreateRgba/types.js +1 -0
  557. package/ui/utils/KeyPress/KeyPress.js +15 -22
  558. package/ui/utils/KeyPress/index.js +4 -2
  559. package/ui/utils/KeyPress/types.js +1 -0
  560. package/ui/utils/LinguiContainer/index.js +7 -6
  561. package/ui/utils/index.d.js +1 -3
  562. package/ui/utils/index.js +7 -5
  563. package/ui/utils/translations.js +334 -333
@@ -1,60 +1,16 @@
1
- function _array_like_to_array(arr, len) {
2
- if (len == null || len > arr.length) len = arr.length;
3
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4
- return arr2;
5
- }
6
- function _array_with_holes(arr) {
7
- if (Array.isArray(arr)) return arr;
8
- }
9
- function _iterable_to_array_limit(arr, i) {
10
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
11
- if (_i == null) return;
12
- var _arr = [];
13
- var _n = true;
14
- var _d = false;
15
- var _s, _e;
16
- try {
17
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
18
- _arr.push(_s.value);
19
- if (i && _arr.length === i) break;
20
- }
21
- } catch (err) {
22
- _d = true;
23
- _e = err;
24
- } finally{
25
- try {
26
- if (!_n && _i["return"] != null) _i["return"]();
27
- } finally{
28
- if (_d) throw _e;
29
- }
30
- }
31
- return _arr;
32
- }
33
- function _non_iterable_rest() {
34
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
35
- }
36
- function _sliced_to_array(arr, i) {
37
- return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
38
- }
39
- function _unsupported_iterable_to_array(o, minLen) {
40
- if (!o) return;
41
- if (typeof o === "string") return _array_like_to_array(o, minLen);
42
- var n = Object.prototype.toString.call(o).slice(8, -1);
43
- if (n === "Object" && o.constructor) n = o.constructor.name;
44
- if (n === "Map" || n === "Set") return Array.from(n);
45
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
46
- }
1
+ import { useModal } from "../../Modal/hooks/useModal.js";
47
2
  import { useState } from "react";
48
- import { useModal } from "../../Modal/hooks/useModal";
49
- var usePresetState = function usePresetState() {
50
- var _useModal = useModal(), isPresetsModalOpen = _useModal.isOpen, onOpenPresetsModal = _useModal.onOpen, onClosePresetsModal = _useModal.onClose;
51
- var _useState = _sliced_to_array(useState(""), 2), selectedPresetName = _useState[0], setSelectedPresetName = _useState[1];
52
- return {
53
- isPresetsModalOpen: isPresetsModalOpen,
54
- onOpenPresetsModal: onOpenPresetsModal,
55
- onClosePresetsModal: onClosePresetsModal,
56
- selectedPresetName: selectedPresetName,
57
- setSelectedPresetName: setSelectedPresetName
58
- };
3
+ //#region packages/ui/Blocks/CommonGrid/hooks/usePresetsState.ts
4
+ const usePresetState = () => {
5
+ const { isOpen: isPresetsModalOpen, onOpen: onOpenPresetsModal, onClose: onClosePresetsModal } = useModal();
6
+ const [selectedPresetName, setSelectedPresetName] = useState("");
7
+ return {
8
+ isPresetsModalOpen,
9
+ onOpenPresetsModal,
10
+ onClosePresetsModal,
11
+ selectedPresetName,
12
+ setSelectedPresetName
13
+ };
59
14
  };
15
+ //#endregion
60
16
  export { usePresetState };
@@ -1,151 +1,78 @@
1
- function _array_like_to_array(arr, len) {
2
- if (len == null || len > arr.length) len = arr.length;
3
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4
- return arr2;
5
- }
6
- function _array_with_holes(arr) {
7
- if (Array.isArray(arr)) return arr;
8
- }
9
- function _iterable_to_array_limit(arr, i) {
10
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
11
- if (_i == null) return;
12
- var _arr = [];
13
- var _n = true;
14
- var _d = false;
15
- var _s, _e;
16
- try {
17
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
18
- _arr.push(_s.value);
19
- if (i && _arr.length === i) break;
20
- }
21
- } catch (err) {
22
- _d = true;
23
- _e = err;
24
- } finally{
25
- try {
26
- if (!_n && _i["return"] != null) _i["return"]();
27
- } finally{
28
- if (_d) throw _e;
29
- }
30
- }
31
- return _arr;
32
- }
33
- function _non_iterable_rest() {
34
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
35
- }
36
- function _sliced_to_array(arr, i) {
37
- return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
38
- }
39
- function _unsupported_iterable_to_array(o, minLen) {
40
- if (!o) return;
41
- if (typeof o === "string") return _array_like_to_array(o, minLen);
42
- var n = Object.prototype.toString.call(o).slice(8, -1);
43
- if (n === "Object" && o.constructor) n = o.constructor.name;
44
- if (n === "Map" || n === "Set") return Array.from(n);
45
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
46
- }
1
+ import { useCheckDeviceWidth } from "../../../utils/CheckDeviceWidth/checkDeviceWidth.js";
2
+ import { getTranslatedValue } from "../components/ManageColumnForm/utils.js";
3
+ import { createFilterType } from "../utils/index.js";
4
+ import { useAddFilter } from "./useAddFilter.js";
47
5
  import { useCallback, useEffect, useState } from "react";
48
- import { useCheckDeviceWidth } from "../../../utils/CheckDeviceWidth/checkDeviceWidth";
49
- import { getTranslatedValue } from "../components/ManageColumnForm/utils";
50
- import { createFilterType } from "../utils";
51
- import { useAddFilter } from "./useAddFilter";
52
- var defaultVoidFunction = function defaultVoidFunction() {
53
- for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
54
- args[_key] = arguments[_key];
55
- }
56
- return null;
6
+ //#region packages/ui/Blocks/CommonGrid/hooks/useQuickFilter.ts
7
+ const defaultVoidFunction = (...args) => null;
8
+ const useQuickFilter = ({ gridActions, gridSelectors, quickFilter, columns, filters }) => {
9
+ const { addFilter = defaultVoidFunction, clearSettings = defaultVoidFunction } = gridActions;
10
+ const { filter } = gridSelectors;
11
+ const { isMobile } = useCheckDeviceWidth();
12
+ const [searchedValue, setSearchedValue] = useState("");
13
+ const [displayInput, setDisplayInput] = useState(false);
14
+ const handleAddFilter = useAddFilter(addFilter);
15
+ const quickFilterValues = quickFilter ? filter?.[quickFilter]?.value : void 0;
16
+ const searchedColumnsDefinitions = columns?.find((item) => item.name === quickFilter) || null;
17
+ const filterType = createFilterType(searchedColumnsDefinitions || {});
18
+ const filtersDefaultComparator = filters?.[filterType].defaultExtraProps?.defaultComparator || "eq";
19
+ const searchComparator = quickFilterValues && quickFilterValues.comparator || filtersDefaultComparator;
20
+ const isMobileInputView = isMobile && displayInput;
21
+ useEffect(() => {
22
+ if (quickFilterValues) setSearchedValue(quickFilterValues.value);
23
+ else setSearchedValue("");
24
+ }, [
25
+ quickFilterValues,
26
+ quickFilter,
27
+ setSearchedValue
28
+ ]);
29
+ useEffect(() => {
30
+ if (isMobile) setDisplayInput(false);
31
+ else setDisplayInput(true);
32
+ }, [isMobile]);
33
+ const onChangeInputValue = useCallback((e) => {
34
+ setSearchedValue(e.target.value);
35
+ const value = {
36
+ comparator: searchComparator,
37
+ value: e.target.value
38
+ };
39
+ searchedColumnsDefinitions && handleAddFilter(value, searchedColumnsDefinitions);
40
+ }, [
41
+ setSearchedValue,
42
+ searchComparator,
43
+ handleAddFilter,
44
+ searchedColumnsDefinitions
45
+ ]);
46
+ const onClear = useCallback(() => {
47
+ setSearchedValue("");
48
+ onChangeInputValue({ target: { value: "" } });
49
+ if (isMobile) setDisplayInput(false);
50
+ else setDisplayInput(true);
51
+ }, [
52
+ setSearchedValue,
53
+ isMobile,
54
+ onChangeInputValue,
55
+ setDisplayInput
56
+ ]);
57
+ const onDisplayInput = useCallback(() => {
58
+ setDisplayInput(true);
59
+ }, []);
60
+ const onClearSettings = useCallback(() => {
61
+ clearSettings?.();
62
+ setSearchedValue?.("");
63
+ }, [clearSettings, setSearchedValue]);
64
+ return {
65
+ searchedValue,
66
+ translatedValue: getTranslatedValue(searchedColumnsDefinitions),
67
+ onChangeInputValue,
68
+ onClearSettings,
69
+ onDisplayInput,
70
+ displayInput,
71
+ onClear,
72
+ isMobileInputView,
73
+ isMobile,
74
+ filter
75
+ };
57
76
  };
58
- var useQuickFilter = function useQuickFilter(param) {
59
- var gridActions = param.gridActions, gridSelectors = param.gridSelectors, quickFilter = param.quickFilter, columns = param.columns, filters = param.filters;
60
- var _filter_quickFilter, _filters_filterType_defaultExtraProps;
61
- var _gridActions_addFilter = gridActions.addFilter, addFilter = _gridActions_addFilter === void 0 ? defaultVoidFunction : _gridActions_addFilter, _gridActions_clearSettings = gridActions.clearSettings, clearSettings = _gridActions_clearSettings === void 0 ? defaultVoidFunction : _gridActions_clearSettings;
62
- var filter = gridSelectors.filter;
63
- var isMobile = useCheckDeviceWidth().isMobile;
64
- var _useState = _sliced_to_array(useState(""), 2), searchedValue = _useState[0], setSearchedValue = _useState[1];
65
- var _useState1 = _sliced_to_array(useState(false), 2), displayInput = _useState1[0], setDisplayInput = _useState1[1];
66
- var handleAddFilter = useAddFilter(addFilter);
67
- var quickFilterValues = quickFilter ? filter === null || filter === void 0 ? void 0 : (_filter_quickFilter = filter[quickFilter]) === null || _filter_quickFilter === void 0 ? void 0 : _filter_quickFilter.value : void 0;
68
- var searchedColumnsDefinitions = (columns === null || columns === void 0 ? void 0 : columns.find(function(item) {
69
- return item.name === quickFilter;
70
- })) || null;
71
- var filterType = createFilterType(searchedColumnsDefinitions || {});
72
- var filtersDefaultComparator = (filters === null || filters === void 0 ? void 0 : (_filters_filterType_defaultExtraProps = filters[filterType].defaultExtraProps) === null || _filters_filterType_defaultExtraProps === void 0 ? void 0 : _filters_filterType_defaultExtraProps.defaultComparator) || "eq";
73
- var searchComparator = quickFilterValues && quickFilterValues.comparator || filtersDefaultComparator;
74
- var isMobileInputView = isMobile && displayInput;
75
- useEffect(function() {
76
- if (quickFilterValues) {
77
- setSearchedValue(quickFilterValues.value);
78
- } else {
79
- setSearchedValue("");
80
- }
81
- }, [
82
- quickFilterValues,
83
- quickFilter,
84
- setSearchedValue
85
- ]);
86
- useEffect(function() {
87
- if (isMobile) {
88
- setDisplayInput(false);
89
- } else {
90
- setDisplayInput(true);
91
- }
92
- }, [
93
- isMobile
94
- ]);
95
- var onChangeInputValue = useCallback(function(e) {
96
- setSearchedValue(e.target.value);
97
- var value = {
98
- comparator: searchComparator,
99
- value: e.target.value
100
- };
101
- searchedColumnsDefinitions && handleAddFilter(value, searchedColumnsDefinitions);
102
- }, [
103
- setSearchedValue,
104
- searchComparator,
105
- handleAddFilter,
106
- searchedColumnsDefinitions
107
- ]);
108
- var onClear = useCallback(function() {
109
- setSearchedValue("");
110
- onChangeInputValue({
111
- target: {
112
- value: ""
113
- }
114
- });
115
- if (isMobile) {
116
- setDisplayInput(false);
117
- } else {
118
- setDisplayInput(true);
119
- }
120
- }, [
121
- setSearchedValue,
122
- isMobile,
123
- onChangeInputValue,
124
- setDisplayInput
125
- ]);
126
- var onDisplayInput = useCallback(function() {
127
- setDisplayInput(true);
128
- }, []);
129
- var onClearSettings = useCallback(function() {
130
- clearSettings === null || clearSettings === void 0 ? void 0 : clearSettings();
131
- setSearchedValue === null || setSearchedValue === void 0 ? void 0 : setSearchedValue("");
132
- }, [
133
- clearSettings,
134
- setSearchedValue
135
- ]);
136
- var translatedValue = getTranslatedValue(searchedColumnsDefinitions);
137
- return {
138
- searchedValue: searchedValue,
139
- translatedValue: translatedValue,
140
- onChangeInputValue: onChangeInputValue,
141
- onClearSettings: onClearSettings,
142
- onDisplayInput: onDisplayInput,
143
- displayInput: displayInput,
144
- onClear: onClear,
145
- isMobileInputView: isMobileInputView,
146
- isMobile: isMobile,
147
- filter: filter
148
- };
149
- };
150
- var useQuickFilter_default = useQuickFilter;
151
- export { useQuickFilter_default as default };
77
+ //#endregion
78
+ export { useQuickFilter as default };
@@ -1,24 +1,20 @@
1
1
  import React from "react";
2
- var useRowsKeyControls = function useRowsKeyControls(rowsData, uxState, onUxChange) {
3
- return React.useCallback(function(e) {
4
- var _rowsData_, _rowsData_1;
5
- var selectedRowId = uxState.selectedRow;
6
- if (!selectedRowId) return;
7
- var selectedRowIdx = rowsData.findIndex(function(row) {
8
- return row.id === selectedRowId;
9
- });
10
- var previousRowId = (_rowsData_ = rowsData[selectedRowIdx - 1]) === null || _rowsData_ === void 0 ? void 0 : _rowsData_.id;
11
- var nextRowId = (_rowsData_1 = rowsData[selectedRowIdx + 1]) === null || _rowsData_1 === void 0 ? void 0 : _rowsData_1.id;
12
- var isFirst = selectedRowIdx === 0;
13
- var isLast = selectedRowIdx === rowsData.length - 1;
14
- if (e.key === "ArrowUp" && !isFirst) onUxChange === null || onUxChange === void 0 ? void 0 : onUxChange("selectedRow", previousRowId);
15
- if (e.key === "ArrowDown" && !isLast) onUxChange === null || onUxChange === void 0 ? void 0 : onUxChange("selectedRow", nextRowId);
16
- if (e.key === "Escape") onUxChange === null || onUxChange === void 0 ? void 0 : onUxChange("selectedRow", null);
17
- }, [
18
- uxState,
19
- rowsData,
20
- onUxChange
21
- ]);
22
- };
23
- var useRowsKeyControls_default = useRowsKeyControls;
24
- export { useRowsKeyControls_default as default };
2
+ //#region packages/ui/Blocks/CommonGrid/hooks/useRowsKeyControls.ts
3
+ const useRowsKeyControls = (rowsData, uxState, onUxChange) => React.useCallback((e) => {
4
+ const selectedRowId = uxState.selectedRow;
5
+ if (!selectedRowId) return;
6
+ const selectedRowIdx = rowsData.findIndex((row) => row.id === selectedRowId);
7
+ const previousRowId = rowsData[selectedRowIdx - 1]?.id;
8
+ const nextRowId = rowsData[selectedRowIdx + 1]?.id;
9
+ const isFirst = selectedRowIdx === 0;
10
+ const isLast = selectedRowIdx === rowsData.length - 1;
11
+ if (e.key === "ArrowUp" && !isFirst) onUxChange?.("selectedRow", previousRowId);
12
+ if (e.key === "ArrowDown" && !isLast) onUxChange?.("selectedRow", nextRowId);
13
+ if (e.key === "Escape") onUxChange?.("selectedRow", null);
14
+ }, [
15
+ uxState,
16
+ rowsData,
17
+ onUxChange
18
+ ]);
19
+ //#endregion
20
+ export { useRowsKeyControls as default };
@@ -1,83 +1,21 @@
1
- function _array_like_to_array(arr, len) {
2
- if (len == null || len > arr.length) len = arr.length;
3
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4
- return arr2;
5
- }
6
- function _array_with_holes(arr) {
7
- if (Array.isArray(arr)) return arr;
8
- }
9
- function _iterable_to_array_limit(arr, i) {
10
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
11
- if (_i == null) return;
12
- var _arr = [];
13
- var _n = true;
14
- var _d = false;
15
- var _s, _e;
16
- try {
17
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
18
- _arr.push(_s.value);
19
- if (i && _arr.length === i) break;
20
- }
21
- } catch (err) {
22
- _d = true;
23
- _e = err;
24
- } finally{
25
- try {
26
- if (!_n && _i["return"] != null) _i["return"]();
27
- } finally{
28
- if (_d) throw _e;
29
- }
30
- }
31
- return _arr;
32
- }
33
- function _non_iterable_rest() {
34
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
35
- }
36
- function _sliced_to_array(arr, i) {
37
- return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
38
- }
39
- function _unsupported_iterable_to_array(o, minLen) {
40
- if (!o) return;
41
- if (typeof o === "string") return _array_like_to_array(o, minLen);
42
- var n = Object.prototype.toString.call(o).slice(8, -1);
43
- if (n === "Object" && o.constructor) n = o.constructor.name;
44
- if (n === "Map" || n === "Set") return Array.from(n);
45
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
46
- }
47
1
  import { useCallback, useEffect } from "react";
48
- import isEqual from "lodash/isEqual";
49
- var useSelectPreset = function useSelectPreset(param) {
50
- var gridName = param.gridName, gridActions = param.gridActions, gridSelectors = param.gridSelectors, setSelectedPresetName = param.setSelectedPresetName, onClosePresetsModal = param.onClosePresetsModal;
51
- var gridPresets = gridSelectors === null || gridSelectors === void 0 ? void 0 : gridSelectors.presets;
52
- var filters = gridSelectors === null || gridSelectors === void 0 ? void 0 : gridSelectors.filter;
53
- var handleSelectPreset = useCallback(function(presetName, filters2) {
54
- return function() {
55
- var _gridActions_setFilters;
56
- setSelectedPresetName(presetName);
57
- (_gridActions_setFilters = gridActions.setFilters) === null || _gridActions_setFilters === void 0 ? void 0 : _gridActions_setFilters.call(gridActions, filters2);
58
- onClosePresetsModal();
59
- };
60
- }, [
61
- gridActions
62
- ]);
63
- useEffect(function() {
64
- var _Object_entries;
65
- if (!gridName || !gridPresets) return;
66
- var activePreset = (_Object_entries = Object.entries(gridPresets)) === null || _Object_entries === void 0 ? void 0 : _Object_entries.find(function(param) {
67
- var _param = _sliced_to_array(param, 2), presetName = _param[0], presetFilters = _param[1];
68
- return isEqual(presetFilters, filters);
69
- });
70
- if (activePreset) {
71
- setSelectedPresetName(activePreset[0]);
72
- } else {
73
- setSelectedPresetName("");
74
- }
75
- }, [
76
- filters,
77
- gridPresets
78
- ]);
79
- return {
80
- handleSelectPreset: handleSelectPreset
81
- };
2
+ import isEqual from "lodash/isEqual.js";
3
+ //#region packages/ui/Blocks/CommonGrid/hooks/useSelectPreset.ts
4
+ const useSelectPreset = ({ gridName, gridActions, gridSelectors, setSelectedPresetName, onClosePresetsModal }) => {
5
+ const gridPresets = gridSelectors?.presets;
6
+ const filters = gridSelectors?.filter;
7
+ const handleSelectPreset = useCallback((presetName, filters) => () => {
8
+ setSelectedPresetName(presetName);
9
+ gridActions.setFilters?.(filters);
10
+ onClosePresetsModal();
11
+ }, [gridActions]);
12
+ useEffect(() => {
13
+ if (!gridName || !gridPresets) return;
14
+ const activePreset = Object.entries(gridPresets)?.find(([presetName, presetFilters]) => isEqual(presetFilters, filters));
15
+ if (activePreset) setSelectedPresetName(activePreset[0]);
16
+ else setSelectedPresetName("");
17
+ }, [filters, gridPresets]);
18
+ return { handleSelectPreset };
82
19
  };
20
+ //#endregion
83
21
  export { useSelectPreset };
@@ -1,30 +1,19 @@
1
- import { useMemo, useCallback } from "react";
2
- var useToggleAllCheckbox = function useToggleAllCheckbox(rowsData, uxState, handleUxChange) {
3
- var allChecked = useMemo(function() {
4
- return rowsData && (rowsData || []).length >= 1 && rowsData.every(function(row) {
5
- var _uxState_checkedRows;
6
- return uxState === null || uxState === void 0 ? void 0 : (_uxState_checkedRows = uxState.checkedRows) === null || _uxState_checkedRows === void 0 ? void 0 : _uxState_checkedRows[row.id];
7
- });
8
- }, [
9
- rowsData,
10
- uxState === null || uxState === void 0 ? void 0 : uxState.checkedRows
11
- ]);
12
- var toggleAllHandler = useCallback(function() {
13
- var checkedRows = {};
14
- if (!allChecked && rowsData) {
15
- rowsData.forEach(function(row) {
16
- checkedRows[row.id] = true;
17
- });
18
- }
19
- handleUxChange === null || handleUxChange === void 0 ? void 0 : handleUxChange("checkedRows", checkedRows);
20
- }, [
21
- handleUxChange,
22
- rowsData,
23
- allChecked
24
- ]);
25
- return [
26
- !!allChecked,
27
- toggleAllHandler
28
- ];
1
+ import { useCallback, useMemo } from "react";
2
+ //#region packages/ui/Blocks/CommonGrid/hooks/useToggleAllCheckbox.ts
3
+ const useToggleAllCheckbox = (rowsData, uxState, handleUxChange) => {
4
+ const allChecked = useMemo(() => rowsData && (rowsData || []).length >= 1 && rowsData.every((row) => uxState?.checkedRows?.[row.id]), [rowsData, uxState?.checkedRows]);
5
+ const toggleAllHandler = useCallback(() => {
6
+ const checkedRows = {};
7
+ if (!allChecked && rowsData) rowsData.forEach((row) => {
8
+ checkedRows[row.id] = true;
9
+ });
10
+ handleUxChange?.("checkedRows", checkedRows);
11
+ }, [
12
+ handleUxChange,
13
+ rowsData,
14
+ allChecked
15
+ ]);
16
+ return [!!allChecked, toggleAllHandler];
29
17
  };
18
+ //#endregion
30
19
  export { useToggleAllCheckbox };
@@ -1,65 +1,14 @@
1
- function _array_like_to_array(arr, len) {
2
- if (len == null || len > arr.length) len = arr.length;
3
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4
- return arr2;
5
- }
6
- function _array_with_holes(arr) {
7
- if (Array.isArray(arr)) return arr;
8
- }
9
- function _iterable_to_array_limit(arr, i) {
10
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
11
- if (_i == null) return;
12
- var _arr = [];
13
- var _n = true;
14
- var _d = false;
15
- var _s, _e;
16
- try {
17
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
18
- _arr.push(_s.value);
19
- if (i && _arr.length === i) break;
20
- }
21
- } catch (err) {
22
- _d = true;
23
- _e = err;
24
- } finally{
25
- try {
26
- if (!_n && _i["return"] != null) _i["return"]();
27
- } finally{
28
- if (_d) throw _e;
29
- }
30
- }
31
- return _arr;
32
- }
33
- function _non_iterable_rest() {
34
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
35
- }
36
- function _sliced_to_array(arr, i) {
37
- return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
38
- }
39
- function _unsupported_iterable_to_array(o, minLen) {
40
- if (!o) return;
41
- if (typeof o === "string") return _array_like_to_array(o, minLen);
42
- var n = Object.prototype.toString.call(o).slice(8, -1);
43
- if (n === "Object" && o.constructor) n = o.constructor.name;
44
- if (n === "Map" || n === "Set") return Array.from(n);
45
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
46
- }
47
1
  import React from "react";
48
- var useUxReset = function useUxReset(rowsData, uxState, clearUxState) {
49
- var _React_useState = _sliced_to_array(React.useState("|"), 2), previous = _React_useState[0], setPrevious = _React_useState[1];
50
- React.useEffect(function() {
51
- var ids = (rowsData || []).map(function(row) {
52
- return row.id;
53
- }).join("|");
54
- if (ids !== previous) {
55
- if (clearUxState && (uxState.checkedRows && Object.keys(uxState.checkedRows).length || uxState.selectedRow)) {
56
- clearUxState();
57
- }
58
- }
59
- setPrevious(ids);
60
- }, [
61
- rowsData
62
- ]);
2
+ //#region packages/ui/Blocks/CommonGrid/hooks/useUxReset.ts
3
+ const useUxReset = (rowsData, uxState, clearUxState) => {
4
+ const [previous, setPrevious] = React.useState("|");
5
+ React.useEffect(() => {
6
+ const ids = (rowsData || []).map((row) => row.id).join("|");
7
+ if (ids !== previous) {
8
+ if (clearUxState && (uxState.checkedRows && Object.keys(uxState.checkedRows).length || uxState.selectedRow)) clearUxState();
9
+ }
10
+ setPrevious(ids);
11
+ }, [rowsData]);
63
12
  };
64
- var useUxReset_default = useUxReset;
65
- export { useUxReset_default as default };
13
+ //#endregion
14
+ export { useUxReset as default };
@@ -1,10 +1,26 @@
1
- import CommonGrid from "./CommonGridContainer";
2
- import withReduxActions from "./HoC/withReduxActions";
3
- import reducer, { actionPrefix, createActions, createSelectors, createFullSelector, actionTypes } from "./store";
4
- import useFloatingButton from "./hooks/useFloatingButton";
5
- import * as Types from "./types";
6
- export * from "./components/gridCells";
7
- import { useAddFilter } from "./hooks/useAddFilter";
8
- import { useEvent } from "./hooks/useEvent";
9
- var CommonGrid_default = CommonGrid;
10
- export { Types, actionPrefix, actionTypes, createActions, createFullSelector, createSelectors, CommonGrid_default as default, reducer, useAddFilter, useEvent, useFloatingButton, withReduxActions };
1
+ import { useEvent } from "./hooks/useEvent.js";
2
+ import { useAddFilter } from "./hooks/useAddFilter.js";
3
+ import { types_exports } from "./types.js";
4
+ import { DateCell } from "./components/gridCells/Date.js";
5
+ import { DateTimeCell } from "./components/gridCells/DateTime.js";
6
+ import { StringJoinCell } from "./components/gridCells/StringJoin.js";
7
+ import { BoolIconCell } from "./components/gridCells/BoolIcon.js";
8
+ import { RemoveCell } from "./components/gridCells/RemoveItem.js";
9
+ import { LinkInCell } from "./components/gridCells/LinkInCell.js";
10
+ import { ButtonInCell } from "./components/gridCells/ButtonInCell.js";
11
+ import { IconButtonInCell } from "./components/gridCells/IconButtonInCell.js";
12
+ import { SwitchInCell } from "./components/gridCells/SwitchInCell.js";
13
+ import { ImageCell } from "./components/gridCells/ImageCell.js";
14
+ import { EnumInCell } from "./components/gridCells/EnumInCell.js";
15
+ import { HoverBubble } from "./components/gridCells/HoverBubble.js";
16
+ import { RowActionsCell } from "./components/gridCells/RowActionsCell.js";
17
+ import { ToggleCell } from "./components/gridCells/ToggleCell.js";
18
+ import "./components/gridCells/index.js";
19
+ import store_default, { actionPrefix, actionTypes, createActions, createFullSelector, createSelectors } from "./store/index.js";
20
+ import CommonGridContainer from "./CommonGridContainer.js";
21
+ import withReduxActions from "./HoC/withReduxActions.js";
22
+ import useFloatingButton from "./hooks/useFloatingButton.js";
23
+ //#region packages/ui/Blocks/CommonGrid/index.ts
24
+ var CommonGrid_default = CommonGridContainer;
25
+ //#endregion
26
+ export { BoolIconCell, ButtonInCell, DateCell, DateTimeCell, EnumInCell, HoverBubble, IconButtonInCell, ImageCell, LinkInCell, RemoveCell, RowActionsCell, StringJoinCell, SwitchInCell, ToggleCell, types_exports as Types, actionPrefix, actionTypes, createActions, createFullSelector, createSelectors, CommonGrid_default as default, store_default as reducer, useAddFilter, useEvent, useFloatingButton, withReduxActions };