@mailstep/design-system 0.12.0-beta.2 → 0.13.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/package.json +6 -6
  2. package/ui/Blocks/Header/components/UserMenu/index.js +1 -1
  3. package/ui/Blocks/HidePrint/HidePrint.js +1 -1
  4. package/ui/Blocks/ImageList/ImageList.js +1 -1
  5. package/ui/Blocks/LoginPage/LoginPage.js +1 -1
  6. package/ui/Blocks/LoginPage/components/LoginForm.js +1 -1
  7. package/ui/Blocks/LoginPage/components/SocialLinks.js +1 -1
  8. package/ui/Blocks/Modal/Modal.js +1 -1
  9. package/ui/Blocks/Popover/index.js +1 -1
  10. package/ui/Blocks/Scheduler/components/BookedTimeSlots/index.js +1 -1
  11. package/ui/Blocks/Scheduler/components/DateChanger/index.js +1 -1
  12. package/ui/Blocks/SideMenu/components/Footer.js +1 -1
  13. package/ui/Blocks/SideMenu/components/HamburgerMenu.js +4 -4
  14. package/ui/Blocks/SideMenu/components/SubitemTooltip.js +1 -1
  15. package/ui/Blocks/Stepper/components/StepItem/index.js +1 -1
  16. package/ui/Elements/Alert/Alert.js +1 -1
  17. package/ui/Elements/Alert/styles.js +10 -10
  18. package/ui/Elements/Badge/Badge.js +1 -1
  19. package/ui/Elements/BarChartSymbol/BarChartSymbol.js +1 -1
  20. package/ui/Elements/BorderedBox/BorderedBox.js +1 -1
  21. package/ui/Elements/DatePicker/DatePicker.js +1 -1
  22. package/ui/Elements/DatePicker/Datetime/components/DateRepeater.js +1 -1
  23. package/ui/Elements/DatePicker/Datetime/components/Timepicker/Timepicker.js +1 -1
  24. package/ui/Elements/Dropdown/Dropdown.js +1 -1
  25. package/ui/Elements/DropdownMenu/DropdownMenu.js +1 -1
  26. package/ui/Elements/DropdownMenu/components/DefaultItem.js +1 -1
  27. package/ui/Elements/DropdownMenu/components/MenuItem.js +1 -1
  28. package/ui/Elements/DropdownSelect/DropdownSelect.js +1 -1
  29. package/ui/Elements/ErrorMessage/ErrorMessage.js +1 -1
  30. package/ui/Elements/HighlightBox/HighlightBox.js +1 -1
  31. package/ui/Elements/Icon/BadgeIcon.js +1 -1
  32. package/ui/Elements/Icon/Icon.js +1 -1
  33. package/ui/Elements/Line/Line.js +1 -1
  34. package/ui/Elements/Link/Link.js +1 -1
  35. package/ui/Elements/Logo/Logo.js +1 -1
  36. package/ui/Elements/Select/Select.js +1 -1
  37. package/ui/Elements/Select/components/CountMultiValue.js +1 -1
  38. package/ui/Elements/Select/components/DropdownIndicator.js +1 -1
  39. package/ui/Elements/Select/components/IconValueContainer.js +1 -1
  40. package/ui/Elements/Select/components/SelectAll.js +1 -1
  41. package/ui/Elements/SpaceAround/SpaceAround.js +1 -1
  42. package/ui/Elements/Tag/stories/components/predefinedTags.js +1 -1
  43. package/ui/Elements/Text/Text.js +1 -1
  44. package/ui/Elements/Toast/Toast.js +1 -1
  45. package/ui/Elements/Toggle/Toggle.js +1 -1
  46. package/ui/Elements/Tooltip/Tooltip.js +1 -1
  47. package/ui/{Blocks → Modules}/CommonGrid/CommonGrid.d.ts +1 -1
  48. package/ui/{Blocks → Modules}/CommonGrid/CommonGrid.js +8 -6
  49. package/ui/{Blocks → Modules}/CommonGrid/CommonGridContainer.js +5 -5
  50. package/ui/{Blocks → Modules}/CommonGrid/HoC/withProps.js +1 -1
  51. package/ui/{Blocks → Modules}/CommonGrid/HoC/withReduxActions.js +1 -1
  52. package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/ActionHead.js +2 -2
  53. package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/components/ActionDropdownMenu.js +2 -2
  54. package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/components/ActionDropdownSelect.js +3 -3
  55. package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/index.js +1 -1
  56. package/ui/{Blocks → Modules}/CommonGrid/components/ButtonMore/ButtonMore.js +3 -3
  57. package/ui/{Blocks → Modules}/CommonGrid/components/ButtonMore/index.js +1 -1
  58. package/ui/{Blocks → Modules}/CommonGrid/components/ColumnFilterCell.js +4 -3
  59. package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle/ColumnTitle.js +2 -2
  60. package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle/index.js +1 -1
  61. package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle.js +2 -2
  62. package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/ControlButtons.js +2 -2
  63. package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/index.js +1 -1
  64. package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/styles.js +1 -1
  65. package/ui/{Blocks → Modules}/CommonGrid/components/DataCell.js +1 -1
  66. package/ui/{Blocks → Modules}/CommonGrid/components/DataRow.js +1 -1
  67. package/ui/{Blocks → Modules}/CommonGrid/components/DropdownButton/DropdownButton.js +3 -3
  68. package/ui/{Blocks → Modules}/CommonGrid/components/DropdownButton/index.js +1 -1
  69. package/ui/{Blocks → Modules}/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.js +2 -2
  70. package/ui/{Blocks → Modules}/CommonGrid/components/ExtraControlButtons/index.js +1 -1
  71. package/ui/{Blocks → Modules}/CommonGrid/components/FilterDropdown.js +2 -2
  72. package/ui/{Blocks → Modules}/CommonGrid/components/FilterRow.d.ts +1 -0
  73. package/ui/{Blocks → Modules}/CommonGrid/components/FilterRow.js +7 -2
  74. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.js +2 -2
  75. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/ActionsFilter/index.js +1 -1
  76. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.js +1 -1
  77. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/BooleanSelect/index.js +1 -1
  78. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.js +3 -3
  79. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/index.js +1 -1
  80. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/getCleanValues.js +1 -1
  81. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.js +1 -1
  82. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/sameDate.js +1 -1
  83. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/GridSelect.js +1 -1
  84. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/guards.js +1 -1
  85. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/index.js +1 -1
  86. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/NumberRange.js +2 -2
  87. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/index.js +1 -1
  88. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/TextRange.js +2 -2
  89. package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/index.js +1 -1
  90. package/ui/{Blocks → Modules}/CommonGrid/components/FloatingButton/FloatingButton.js +3 -3
  91. package/ui/{Blocks → Modules}/CommonGrid/components/FloatingButton/index.js +1 -1
  92. package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/GridAggregation.js +1 -1
  93. package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/hooks/useGridAggregation.js +1 -1
  94. package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/styles.js +1 -1
  95. package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/utils/aggregate.js +1 -1
  96. package/ui/{Blocks → Modules}/CommonGrid/components/GridInfo/index.js +2 -2
  97. package/ui/{Blocks → Modules}/CommonGrid/components/GridModals/index.js +2 -2
  98. package/ui/{Blocks → Modules}/CommonGrid/components/GridStatus/index.js +1 -1
  99. package/ui/{Blocks → Modules}/CommonGrid/components/GroupRow.js +1 -1
  100. package/ui/{Blocks → Modules}/CommonGrid/components/HeadCell.js +2 -1
  101. package/ui/{Blocks → Modules}/CommonGrid/components/HeadRow.d.ts +1 -0
  102. package/ui/{Blocks → Modules}/CommonGrid/components/HeadRow.js +12 -7
  103. package/ui/{Blocks → Modules}/CommonGrid/components/IconList/IconList.js +2 -2
  104. package/ui/{Blocks → Modules}/CommonGrid/components/IconList/index.js +1 -1
  105. package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/ManageColumnForm.js +2 -2
  106. package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.js +2 -2
  107. package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/index.js +1 -1
  108. package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/styles.js +1 -1
  109. package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/utils.js +1 -1
  110. package/ui/{Blocks → Modules}/CommonGrid/components/MobileFilterModal.js +3 -3
  111. package/ui/{Blocks → Modules}/CommonGrid/components/MobileOverlayWrapper.js +1 -1
  112. package/ui/{Blocks → Modules}/CommonGrid/components/MobileSortModal.js +3 -3
  113. package/ui/{Blocks → Modules}/CommonGrid/components/OversizedScroll.js +2 -2
  114. package/ui/{Blocks → Modules}/CommonGrid/components/PresetsModalBody/components/TagRemove.js +1 -1
  115. package/ui/{Blocks → Modules}/CommonGrid/components/PresetsModalBody/index.js +2 -2
  116. package/ui/{Blocks → Modules}/CommonGrid/components/QuickFilter/QuickFilter.js +2 -2
  117. package/ui/{Blocks → Modules}/CommonGrid/components/QuickFilter/index.js +1 -1
  118. package/ui/{Blocks → Modules}/CommonGrid/components/Resize.js +2 -2
  119. package/ui/{Blocks → Modules}/CommonGrid/components/Table.js +1 -1
  120. package/ui/{Blocks → Modules}/CommonGrid/components/TablePagination/TablePagination.js +2 -2
  121. package/ui/{Blocks → Modules}/CommonGrid/components/TablePagination/index.js +1 -1
  122. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/BoolIcon.js +2 -2
  123. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ButtonInCell.js +1 -1
  124. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/Date.js +1 -1
  125. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/DateTime.js +1 -1
  126. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/EnumInCell.js +2 -2
  127. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/HoverBubble.js +2 -2
  128. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/IconButtonInCell.js +2 -2
  129. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ImageCell.js +2 -2
  130. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/LinkInCell.js +1 -1
  131. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/RemoveItem.js +2 -2
  132. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/RowActionsCell.js +2 -2
  133. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/StringJoin.js +1 -1
  134. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/SwitchInCell.js +1 -1
  135. package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ToggleCell.js +1 -1
  136. package/ui/{Blocks → Modules}/CommonGrid/components/icons/Edit.js +1 -1
  137. package/ui/{Blocks → Modules}/CommonGrid/components/icons/EyeOpen.js +1 -1
  138. package/ui/{Blocks → Modules}/CommonGrid/components/icons/Sorting.js +1 -1
  139. package/ui/{Blocks → Modules}/CommonGrid/components/utils.js +1 -1
  140. package/ui/{Blocks → Modules}/CommonGrid/hooks/useAddFilter.js +1 -1
  141. package/ui/{Blocks → Modules}/CommonGrid/hooks/useApplySharedGridState.js +1 -1
  142. package/ui/{Blocks → Modules}/CommonGrid/hooks/useColumnSizes.js +1 -1
  143. package/ui/{Blocks → Modules}/CommonGrid/hooks/useCreatePreset.js +2 -2
  144. package/ui/{Blocks → Modules}/CommonGrid/hooks/useDeletePreset.js +2 -2
  145. package/ui/{Blocks → Modules}/CommonGrid/hooks/useEditReadAsColumn.js +1 -1
  146. package/ui/{Blocks → Modules}/CommonGrid/hooks/useEvent.js +1 -1
  147. package/ui/{Blocks → Modules}/CommonGrid/hooks/useFloatingButton.js +1 -1
  148. package/ui/{Blocks → Modules}/CommonGrid/hooks/useGridActionTrigger.js +1 -1
  149. package/ui/{Blocks → Modules}/CommonGrid/hooks/useGridAutoRowsPerPage.js +1 -1
  150. package/ui/{Blocks → Modules}/CommonGrid/hooks/useManageColumn.js +1 -1
  151. package/ui/{Blocks → Modules}/CommonGrid/hooks/usePresetFileHandlers.js +1 -1
  152. package/ui/{Blocks → Modules}/CommonGrid/hooks/usePresetsState.js +2 -2
  153. package/ui/{Blocks → Modules}/CommonGrid/hooks/useQuickFilter.js +1 -1
  154. package/ui/{Blocks → Modules}/CommonGrid/hooks/useRowsKeyControls.js +1 -1
  155. package/ui/{Blocks → Modules}/CommonGrid/hooks/useSelectPreset.js +1 -1
  156. package/ui/{Blocks → Modules}/CommonGrid/hooks/useShareGrid.js +1 -1
  157. package/ui/{Blocks → Modules}/CommonGrid/hooks/useToggleAllCheckbox.js +1 -1
  158. package/ui/{Blocks → Modules}/CommonGrid/hooks/useUxReset.js +1 -1
  159. package/ui/{Blocks → Modules}/CommonGrid/index.js +1 -1
  160. package/ui/{Blocks → Modules}/CommonGrid/store/index.js +1 -1
  161. package/ui/{Blocks → Modules}/CommonGrid/store/migrateState.js +1 -1
  162. package/ui/{Blocks → Modules}/CommonGrid/storybook/components/ComplexCell.js +1 -1
  163. package/ui/{Blocks → Modules}/CommonGrid/storybook/components/EnumCellExample.js +1 -1
  164. package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/actions.js +1 -1
  165. package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/columnDefinition.js +1 -1
  166. package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/utils.js +1 -1
  167. package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withRedux.js +1 -1
  168. package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withRouter.js +1 -1
  169. package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withTheme.js +1 -1
  170. package/ui/{Blocks → Modules}/CommonGrid/styles.d.ts +1 -1
  171. package/ui/{Blocks → Modules}/CommonGrid/styles.js +1 -1
  172. package/ui/{Blocks → Modules}/CommonGrid/types.js +1 -1
  173. package/ui/{Blocks → Modules}/CommonGrid/utils/constants.js +1 -1
  174. package/ui/{Blocks → Modules}/CommonGrid/utils/getExtendedExtraControlButtons.js +1 -1
  175. package/ui/{Blocks → Modules}/CommonGrid/utils/getRowsPerPage.js +1 -1
  176. package/ui/{Blocks → Modules}/CommonGrid/utils/hasSortTerminated.js +1 -1
  177. package/ui/{Blocks → Modules}/CommonGrid/utils/index.js +1 -1
  178. package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/buildShareUrl.js +1 -1
  179. package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/clearShareParams.js +1 -1
  180. package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/constants.js +1 -1
  181. package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/parseSharedGridState.js +1 -1
  182. package/ui/Modules/Dashboard/components/Layout/components/ItemConfig/ItemConfigControls.js +1 -1
  183. package/ui/Modules/Dashboard/components/Widgets/HorizontalBar/components/LabelsLine.js +1 -1
  184. package/ui/Modules/Dashboard/components/Widgets/PieChart/PieChart.js +1 -1
  185. package/ui/Modules/Dashboard/errors/ErrorMessage.js +1 -1
  186. package/ui/ThemeProvider/ThemeProvider.js +1 -1
  187. package/ui/index.d.ts +2 -2
  188. package/ui/index.js +22 -22
  189. /package/ui/{Blocks → Modules}/CommonGrid/CommonGridContainer.d.ts +0 -0
  190. /package/ui/{Blocks → Modules}/CommonGrid/HoC/withProps.d.ts +0 -0
  191. /package/ui/{Blocks → Modules}/CommonGrid/HoC/withReduxActions.d.ts +0 -0
  192. /package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/ActionHead.d.ts +0 -0
  193. /package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/components/ActionDropdownMenu.d.ts +0 -0
  194. /package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/components/ActionDropdownSelect.d.ts +0 -0
  195. /package/ui/{Blocks → Modules}/CommonGrid/components/ActionHead/index.d.ts +0 -0
  196. /package/ui/{Blocks → Modules}/CommonGrid/components/ButtonMore/ButtonMore.d.ts +0 -0
  197. /package/ui/{Blocks → Modules}/CommonGrid/components/ButtonMore/index.d.ts +0 -0
  198. /package/ui/{Blocks → Modules}/CommonGrid/components/ColumnFilterCell.d.ts +0 -0
  199. /package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle/ColumnTitle.d.ts +0 -0
  200. /package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle/index.d.ts +0 -0
  201. /package/ui/{Blocks → Modules}/CommonGrid/components/ColumnTitle.d.ts +0 -0
  202. /package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/ControlButtons.d.ts +0 -0
  203. /package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/index.d.ts +0 -0
  204. /package/ui/{Blocks → Modules}/CommonGrid/components/ControlButtons/styles.d.ts +0 -0
  205. /package/ui/{Blocks → Modules}/CommonGrid/components/DataCell.d.ts +0 -0
  206. /package/ui/{Blocks → Modules}/CommonGrid/components/DataRow.d.ts +0 -0
  207. /package/ui/{Blocks → Modules}/CommonGrid/components/DropdownButton/DropdownButton.d.ts +0 -0
  208. /package/ui/{Blocks → Modules}/CommonGrid/components/DropdownButton/index.d.ts +0 -0
  209. /package/ui/{Blocks → Modules}/CommonGrid/components/ExtraControlButtons/ExtraControlButtons.d.ts +0 -0
  210. /package/ui/{Blocks → Modules}/CommonGrid/components/ExtraControlButtons/index.d.ts +0 -0
  211. /package/ui/{Blocks → Modules}/CommonGrid/components/FilterDropdown.d.ts +0 -0
  212. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/ActionsFilter/ActionsFilter.d.ts +0 -0
  213. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/ActionsFilter/index.d.ts +0 -0
  214. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/BooleanSelect/BooleanSelect.d.ts +0 -0
  215. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/BooleanSelect/index.d.ts +0 -0
  216. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/DatePickerRange.d.ts +0 -0
  217. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/index.d.ts +0 -0
  218. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/getCleanValues.d.ts +0 -0
  219. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/pickerRangeToString.d.ts +0 -0
  220. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/DatePickerRange/utils/sameDate.d.ts +0 -0
  221. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/GridSelect.d.ts +0 -0
  222. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/guards.d.ts +0 -0
  223. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/GridSelect/index.d.ts +0 -0
  224. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/NumberRange.d.ts +0 -0
  225. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/index.d.ts +0 -0
  226. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/types.d.ts +0 -0
  227. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/NumberRange/types.js +0 -0
  228. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/TextRange.d.ts +0 -0
  229. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/index.d.ts +0 -0
  230. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/types.d.ts +0 -0
  231. /package/ui/{Blocks → Modules}/CommonGrid/components/Filters/TextRange/types.js +0 -0
  232. /package/ui/{Blocks → Modules}/CommonGrid/components/FloatingButton/FloatingButton.d.ts +0 -0
  233. /package/ui/{Blocks → Modules}/CommonGrid/components/FloatingButton/index.d.ts +0 -0
  234. /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/GridAggregation.d.ts +0 -0
  235. /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/hooks/useGridAggregation.d.ts +0 -0
  236. /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/index.d.ts +0 -0
  237. /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/index.js +0 -0
  238. /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/styles.d.ts +0 -0
  239. /package/ui/{Blocks → Modules}/CommonGrid/components/GridAggregation/utils/aggregate.d.ts +0 -0
  240. /package/ui/{Blocks → Modules}/CommonGrid/components/GridInfo/index.d.ts +0 -0
  241. /package/ui/{Blocks → Modules}/CommonGrid/components/GridModals/index.d.ts +0 -0
  242. /package/ui/{Blocks → Modules}/CommonGrid/components/GridStatus/index.d.ts +0 -0
  243. /package/ui/{Blocks → Modules}/CommonGrid/components/GroupRow.d.ts +0 -0
  244. /package/ui/{Blocks → Modules}/CommonGrid/components/HeadCell.d.ts +0 -0
  245. /package/ui/{Blocks → Modules}/CommonGrid/components/IconList/IconList.d.ts +0 -0
  246. /package/ui/{Blocks → Modules}/CommonGrid/components/IconList/index.d.ts +0 -0
  247. /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/ManageColumnForm.d.ts +0 -0
  248. /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.d.ts +0 -0
  249. /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/index.d.ts +0 -0
  250. /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/styles.d.ts +0 -0
  251. /package/ui/{Blocks → Modules}/CommonGrid/components/ManageColumnForm/utils.d.ts +0 -0
  252. /package/ui/{Blocks → Modules}/CommonGrid/components/MobileFilterModal.d.ts +0 -0
  253. /package/ui/{Blocks → Modules}/CommonGrid/components/MobileOverlayWrapper.d.ts +0 -0
  254. /package/ui/{Blocks → Modules}/CommonGrid/components/MobileSortModal.d.ts +0 -0
  255. /package/ui/{Blocks → Modules}/CommonGrid/components/OversizedScroll.d.ts +0 -0
  256. /package/ui/{Blocks → Modules}/CommonGrid/components/PresetsModalBody/components/TagRemove.d.ts +0 -0
  257. /package/ui/{Blocks → Modules}/CommonGrid/components/PresetsModalBody/index.d.ts +0 -0
  258. /package/ui/{Blocks → Modules}/CommonGrid/components/QuickFilter/QuickFilter.d.ts +0 -0
  259. /package/ui/{Blocks → Modules}/CommonGrid/components/QuickFilter/index.d.ts +0 -0
  260. /package/ui/{Blocks → Modules}/CommonGrid/components/Resize.d.ts +0 -0
  261. /package/ui/{Blocks → Modules}/CommonGrid/components/Table.d.ts +0 -0
  262. /package/ui/{Blocks → Modules}/CommonGrid/components/TablePagination/TablePagination.d.ts +0 -0
  263. /package/ui/{Blocks → Modules}/CommonGrid/components/TablePagination/index.d.ts +0 -0
  264. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/BoolIcon.d.ts +0 -0
  265. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ButtonInCell.d.ts +0 -0
  266. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/Date.d.ts +0 -0
  267. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/DateTime.d.ts +0 -0
  268. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/EnumInCell.d.ts +0 -0
  269. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/HoverBubble.d.ts +0 -0
  270. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/IconButtonInCell.d.ts +0 -0
  271. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ImageCell.d.ts +0 -0
  272. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/LinkInCell.d.ts +0 -0
  273. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/RemoveItem.d.ts +0 -0
  274. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/RowActionsCell.d.ts +0 -0
  275. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/StringJoin.d.ts +0 -0
  276. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/SwitchInCell.d.ts +0 -0
  277. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/ToggleCell.d.ts +0 -0
  278. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/index.d.ts +0 -0
  279. /package/ui/{Blocks → Modules}/CommonGrid/components/gridCells/index.js +0 -0
  280. /package/ui/{Blocks → Modules}/CommonGrid/components/icons/Edit.d.ts +0 -0
  281. /package/ui/{Blocks → Modules}/CommonGrid/components/icons/EyeOpen.d.ts +0 -0
  282. /package/ui/{Blocks → Modules}/CommonGrid/components/icons/Sorting.d.ts +0 -0
  283. /package/ui/{Blocks → Modules}/CommonGrid/components/utils.d.ts +0 -0
  284. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useAddFilter.d.ts +0 -0
  285. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useApplySharedGridState.d.ts +0 -0
  286. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useColumnSizes.d.ts +0 -0
  287. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useCreatePreset.d.ts +0 -0
  288. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useDeletePreset.d.ts +0 -0
  289. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useEditReadAsColumn.d.ts +0 -0
  290. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useEvent.d.ts +0 -0
  291. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useFloatingButton.d.ts +0 -0
  292. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useGridActionTrigger.d.ts +0 -0
  293. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useGridAutoRowsPerPage.d.ts +0 -0
  294. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useManageColumn.d.ts +0 -0
  295. /package/ui/{Blocks → Modules}/CommonGrid/hooks/usePresetFileHandlers.d.ts +0 -0
  296. /package/ui/{Blocks → Modules}/CommonGrid/hooks/usePresetsState.d.ts +0 -0
  297. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useQuickFilter.d.ts +0 -0
  298. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useRowsKeyControls.d.ts +0 -0
  299. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useSelectPreset.d.ts +0 -0
  300. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useShareGrid.d.ts +0 -0
  301. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useToggleAllCheckbox.d.ts +0 -0
  302. /package/ui/{Blocks → Modules}/CommonGrid/hooks/useUxReset.d.ts +0 -0
  303. /package/ui/{Blocks → Modules}/CommonGrid/index.d.ts +0 -0
  304. /package/ui/{Blocks → Modules}/CommonGrid/store/index.d.ts +0 -0
  305. /package/ui/{Blocks → Modules}/CommonGrid/store/migrateState.d.ts +0 -0
  306. /package/ui/{Blocks → Modules}/CommonGrid/storybook/components/ComplexCell.d.ts +0 -0
  307. /package/ui/{Blocks → Modules}/CommonGrid/storybook/components/EnumCellExample.d.ts +0 -0
  308. /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/actions.d.ts +0 -0
  309. /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/columnDefinition.d.ts +0 -0
  310. /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/utils.d.ts +0 -0
  311. /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withRedux.d.ts +0 -0
  312. /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withRouter.d.ts +0 -0
  313. /package/ui/{Blocks → Modules}/CommonGrid/storybook/utils/withTheme.d.ts +0 -0
  314. /package/ui/{Blocks → Modules}/CommonGrid/types.d.ts +0 -0
  315. /package/ui/{Blocks → Modules}/CommonGrid/utils/constants.d.ts +0 -0
  316. /package/ui/{Blocks → Modules}/CommonGrid/utils/getExtendedExtraControlButtons.d.ts +0 -0
  317. /package/ui/{Blocks → Modules}/CommonGrid/utils/getRowsPerPage.d.ts +0 -0
  318. /package/ui/{Blocks → Modules}/CommonGrid/utils/hasSortTerminated.d.ts +0 -0
  319. /package/ui/{Blocks → Modules}/CommonGrid/utils/index.d.ts +0 -0
  320. /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/buildShareUrl.d.ts +0 -0
  321. /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/clearShareParams.d.ts +0 -0
  322. /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/constants.d.ts +0 -0
  323. /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/index.d.ts +0 -0
  324. /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/index.js +0 -0
  325. /package/ui/{Blocks → Modules}/CommonGrid/utils/shareUrl/parseSharedGridState.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- //#region packages/ui/Blocks/CommonGrid/components/GridAggregation/utils/aggregate.ts
1
+ //#region packages/ui/Modules/CommonGrid/components/GridAggregation/utils/aggregate.ts
2
2
  const aggregate = (values, operation) => {
3
3
  if (values.length === 0) return 0;
4
4
  switch (operation) {
@@ -1,9 +1,9 @@
1
1
  import Icon from "../../../../Elements/Icon/Icon.js";
2
2
  import "../../../../Elements/Icon/index.js";
3
- import { x } from "@xstyled/styled-components";
4
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ import { x } from "@xstyled/styled-components";
5
5
  import { Trans } from "@lingui/react";
6
- //#region packages/ui/Blocks/CommonGrid/components/GridInfo/index.tsx
6
+ //#region packages/ui/Modules/CommonGrid/components/GridInfo/index.tsx
7
7
  const GridInfo = ({ isSortTerminatedAppeal, isSortTerminated }) => {
8
8
  if (!isSortTerminatedAppeal) return null;
9
9
  return /* @__PURE__ */ jsxs(x.span, {
@@ -1,5 +1,5 @@
1
1
  import { Input } from "../../../../Forms/Input/Input.js";
2
- import { Modal } from "../../../Modal/Modal.js";
2
+ import { Modal } from "../../../../Blocks/Modal/Modal.js";
3
3
  import { useCreatePreset } from "../../hooks/useCreatePreset.js";
4
4
  import { useDeletePreset } from "../../hooks/useDeletePreset.js";
5
5
  import { usePresetFileHandlers } from "../../hooks/usePresetFileHandlers.js";
@@ -9,7 +9,7 @@ import { PresetsModalBody } from "../PresetsModalBody/index.js";
9
9
  import "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { Trans } from "@lingui/react";
12
- //#region packages/ui/Blocks/CommonGrid/components/GridModals/index.tsx
12
+ //#region packages/ui/Modules/CommonGrid/components/GridModals/index.tsx
13
13
  const GridModals = ({ manageColumnFormVisible, onCloseForm, resetColumnConfig, onConfirmForm, manageColumnsFormDefinitions, columnsConfigValues, setColumnsConfigOptions, handleDragEnd, gridName, gridSelectors, gridActions, isPresetsModalOpen, onClosePresetsModal, selectedPresetName, setSelectedPresetName }) => {
14
14
  const { handleSelectPreset } = useSelectPreset({
15
15
  gridName,
@@ -1,7 +1,7 @@
1
1
  import { MessageCell, MessageCellBody, Row } from "../Table.js";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Trans } from "@lingui/react";
4
- //#region packages/ui/Blocks/CommonGrid/components/GridStatus/index.tsx
4
+ //#region packages/ui/Modules/CommonGrid/components/GridStatus/index.tsx
5
5
  const GridStatus = ({ isLoading, isEmpty, errorMessage }) => {
6
6
  const hasError = !isLoading && errorMessage;
7
7
  return /* @__PURE__ */ jsx(Row, {
@@ -1,7 +1,7 @@
1
1
  import { getCellSizeProps, getGroupClassNames, getStickyCollClassNames } from "../utils/index.js";
2
2
  import { Cell, Row } from "./Table.js";
3
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
- //#region packages/ui/Blocks/CommonGrid/components/GroupRow.tsx
4
+ //#region packages/ui/Modules/CommonGrid/components/GroupRow.tsx
5
5
  const GroupCell = ({ column, group, displayColumnWidth }) => {
6
6
  const cellSizeProps = getCellSizeProps(column, displayColumnWidth);
7
7
  return /* @__PURE__ */ jsx(Cell, {
@@ -5,7 +5,7 @@ import Resize from "./Resize.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { useSortable } from "@dnd-kit/sortable";
7
7
  import { CSS } from "@dnd-kit/utilities";
8
- //#region packages/ui/Blocks/CommonGrid/components/HeadCell.tsx
8
+ //#region packages/ui/Modules/CommonGrid/components/HeadCell.tsx
9
9
  const HeadCell = ({ column, isDragDisabled, displayColumnsWidth, onResizeOut, onResizeOver, onResize, sortingValues, onSetSort, group, hasResize, isSortTerminated }) => {
10
10
  const { attributes, listeners, setNodeRef, transform, transition } = useSortable({
11
11
  id: column.name,
@@ -21,6 +21,7 @@ const HeadCell = ({ column, isDragDisabled, displayColumnsWidth, onResizeOut, on
21
21
  transition,
22
22
  transform: CSS.Transform.toString(transform),
23
23
  ref: setNodeRef,
24
+ "data-column-name": column.name,
24
25
  children: [/* @__PURE__ */ jsx(ColumnTitle_default, {
25
26
  title: column?.title,
26
27
  isSortable: !!column.sorting && !isSortTerminated,
@@ -11,6 +11,7 @@ type HeadRowProps = {
11
11
  handleDragEnd: (event: DragEndEvent) => void;
12
12
  groups: Group[];
13
13
  isSortTerminated?: boolean;
14
+ onCellClick?: (columnName: string) => void;
14
15
  };
15
16
  declare const HeadRow: FC<HeadRowProps>;
16
17
  export default HeadRow;
@@ -2,11 +2,11 @@ import { getCellSizeProps, getStickyCollClassNames } from "../utils/index.js";
2
2
  import { Cell, Row } from "./Table.js";
3
3
  import ColumnTitle_default from "./ColumnTitle.js";
4
4
  import { HeadCell } from "./HeadCell.js";
5
- import React, { useEffect, useState } from "react";
5
+ import { useCallback, useEffect, useState } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { SortableContext, horizontalListSortingStrategy } from "@dnd-kit/sortable";
8
8
  import { DndContext, PointerSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
9
- //#region packages/ui/Blocks/CommonGrid/components/HeadRow.tsx
9
+ //#region packages/ui/Modules/CommonGrid/components/HeadRow.tsx
10
10
  const getStickyComponent = (columns, stickyTo, displayColumnsWidth) => columns?.filter((item) => item.sticky && item.stickTo === stickyTo)?.map((column) => {
11
11
  const cellClassName = `cell${getStickyCollClassNames(!!column.sticky, column.stickTo)}`;
12
12
  return /* @__PURE__ */ jsx(Cell, {
@@ -19,24 +19,28 @@ const getStickyComponent = (columns, stickyTo, displayColumnsWidth) => columns?.
19
19
  })
20
20
  }, column.name);
21
21
  });
22
- const HeadRow = ({ columns, onAddSort, handleDragEnd, sortingValues = [], displayColumnsWidth, columnLayout, handleResizeDrag, groups, isSortTerminated }) => {
22
+ const HeadRow = ({ columns, onAddSort, handleDragEnd, sortingValues = [], displayColumnsWidth, columnLayout, handleResizeDrag, groups, isSortTerminated, onCellClick }) => {
23
23
  const [showUIElements, setShowUIElements] = useState(false);
24
24
  useEffect(() => {
25
25
  setShowUIElements(true);
26
26
  }, []);
27
27
  const [isDragDisabled, setIsDragDisabled] = useState(false);
28
- const onResizeOver = React.useCallback(() => {
28
+ const onResizeOver = useCallback(() => {
29
29
  setIsDragDisabled(true);
30
30
  }, [setIsDragDisabled]);
31
- const onResizeOut = React.useCallback(() => {
31
+ const onResizeOut = useCallback(() => {
32
32
  setIsDragDisabled(false);
33
33
  }, [setIsDragDisabled]);
34
- const onResize = React.useCallback((name) => (width) => {
34
+ const onResize = useCallback((name) => (width) => {
35
35
  handleResizeDrag?.(name, width);
36
36
  }, [handleResizeDrag]);
37
- const onSetSort = React.useCallback((name, systemName) => (value) => {
37
+ const onSetSort = useCallback((name, systemName) => (value) => {
38
38
  onAddSort?.(systemName || name, value);
39
39
  }, [onAddSort]);
40
+ const onRowClick = useCallback((e) => {
41
+ const columnName = e.target.closest(".cell")?.dataset?.columnName;
42
+ if (columnName) onCellClick?.(columnName);
43
+ }, [onCellClick]);
40
44
  const sensors = useSensors(useSensor(PointerSensor));
41
45
  return /* @__PURE__ */ jsx(Fragment, { children: showUIElements && /* @__PURE__ */ jsx(DndContext, {
42
46
  sensors,
@@ -47,6 +51,7 @@ const HeadRow = ({ columns, onAddSort, handleDragEnd, sortingValues = [], displa
47
51
  strategy: horizontalListSortingStrategy,
48
52
  children: /* @__PURE__ */ jsxs(Row, {
49
53
  className: "headRow",
54
+ onMouseDown: onRowClick,
50
55
  children: [
51
56
  getStickyComponent(columns, "left", displayColumnsWidth),
52
57
  columns.filter((item) => !item.sticky).map((column, index) => /* @__PURE__ */ jsx(HeadCell, {
@@ -1,9 +1,9 @@
1
1
  import Icon from "../../../../Elements/Icon/Icon.js";
2
2
  import React from "react";
3
- import styled$1 from "@xstyled/styled-components";
4
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
+ import styled$1 from "@xstyled/styled-components";
5
5
  import { th as th$1 } from "@xstyled/system";
6
- //#region packages/ui/Blocks/CommonGrid/components/IconList/IconList.tsx
6
+ //#region packages/ui/Modules/CommonGrid/components/IconList/IconList.tsx
7
7
  const List = styled$1.ul`
8
8
  background-color: white;
9
9
  box-shadow: dropShadow;
@@ -1,5 +1,5 @@
1
1
  import IconList from "./IconList.js";
2
- //#region packages/ui/Blocks/CommonGrid/components/IconList/index.ts
2
+ //#region packages/ui/Modules/CommonGrid/components/IconList/index.ts
3
3
  var IconList_default = IconList;
4
4
  //#endregion
5
5
  export { IconList_default as default };
@@ -1,13 +1,13 @@
1
1
  import { Input } from "../../../../Forms/Input/Input.js";
2
2
  import { ManageColumnRow } from "./components/ManageColumnRow.js";
3
3
  import { useCallback, useState } from "react";
4
- import { x } from "@xstyled/styled-components";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { x } from "@xstyled/styled-components";
6
6
  import { i18n } from "@lingui/core";
7
7
  import { SortableContext, verticalListSortingStrategy } from "@dnd-kit/sortable";
8
8
  import { DndContext, PointerSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
9
9
  import { restrictToVerticalAxis } from "@dnd-kit/modifiers";
10
- //#region packages/ui/Blocks/CommonGrid/components/ManageColumnForm/ManageColumnForm.tsx
10
+ //#region packages/ui/Modules/CommonGrid/components/ManageColumnForm/ManageColumnForm.tsx
11
11
  const modifiers = [restrictToVerticalAxis];
12
12
  const ManageColumnForm = ({ columns, columnsConfigValues, setColumnsConfigOptions, handleDragEnd }) => {
13
13
  const [searchedValue, setSearchedValue] = useState("");
@@ -4,11 +4,11 @@ import { getTranslatedValue } from "../utils.js";
4
4
  import Toggle from "../../../../../Elements/Toggle/Toggle.js";
5
5
  import { RowLayout } from "../styles.js";
6
6
  import { useCallback, useState } from "react";
7
- import { x } from "@xstyled/styled-components";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { x } from "@xstyled/styled-components";
9
9
  import { useSortable } from "@dnd-kit/sortable";
10
10
  import { CSS } from "@dnd-kit/utilities";
11
- //#region packages/ui/Blocks/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.tsx
11
+ //#region packages/ui/Modules/CommonGrid/components/ManageColumnForm/components/ManageColumnRow.tsx
12
12
  const ManageColumnRow = ({ column, columnsConfigValues, setColumnsConfigOptions, searchedValue }) => {
13
13
  const [isSelected, setIsSelected] = useState(columnsConfigValues?.includes(column.name) ?? false);
14
14
  const handleToggleChange = useCallback(() => {
@@ -1,5 +1,5 @@
1
1
  import ManageColumnForm from "./ManageColumnForm.js";
2
- //#region packages/ui/Blocks/CommonGrid/components/ManageColumnForm/index.tsx
2
+ //#region packages/ui/Modules/CommonGrid/components/ManageColumnForm/index.tsx
3
3
  var ManageColumnForm_default = ManageColumnForm;
4
4
  //#endregion
5
5
  export { ManageColumnForm_default as default };
@@ -1,5 +1,5 @@
1
1
  import styled$1, { th } from "@xstyled/styled-components";
2
- //#region packages/ui/Blocks/CommonGrid/components/ManageColumnForm/styles.ts
2
+ //#region packages/ui/Modules/CommonGrid/components/ManageColumnForm/styles.ts
3
3
  const RowLayout = styled$1.div`
4
4
  display: ${({ $isVisible }) => $isVisible ? "flex" : "none"};
5
5
  align-items: center;
@@ -1,6 +1,6 @@
1
1
  import { i18n } from "@lingui/core";
2
2
  import isObject from "lodash/isObject";
3
- //#region packages/ui/Blocks/CommonGrid/components/ManageColumnForm/utils.ts
3
+ //#region packages/ui/Modules/CommonGrid/components/ManageColumnForm/utils.ts
4
4
  const getTranslatedValue = (column) => column && isObject(column?.title) ? "props" in column.title && column.title?.props && i18n._({
5
5
  id: column.title?.props?.id ?? "",
6
6
  message: column.title?.props.message
@@ -1,14 +1,14 @@
1
1
  import { H6 } from "../../../Elements/Typography/Typography.js";
2
2
  import "../../../Elements/Typography/index.js";
3
3
  import { createFilterType, getFilterName, isFilterActive } from "../utils/index.js";
4
- import { Modal } from "../../Modal/Modal.js";
4
+ import { Modal } from "../../../Blocks/Modal/Modal.js";
5
5
  import { MobileOverlayWrapper } from "./MobileOverlayWrapper.js";
6
6
  import { useCallback, useEffect, useState } from "react";
7
- import { x } from "@xstyled/styled-components";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { x } from "@xstyled/styled-components";
9
9
  import { Trans } from "@lingui/react";
10
10
  import get from "lodash/fp/get";
11
- //#region packages/ui/Blocks/CommonGrid/components/MobileFilterModal.tsx
11
+ //#region packages/ui/Modules/CommonGrid/components/MobileFilterModal.tsx
12
12
  const MobileFilterModal = ({ isShown, onClose, columns, filters, comparators, filterValues = {}, setFilters, rowsData, uxState, handleUxChange, onAsyncLoadFilterOptions, actionColumn, onClearSettings }) => {
13
13
  const filterableColumns = columns.filter((col) => col.filtering && col.title);
14
14
  const [localFilterValues, setLocalFilterValues] = useState(filterValues ?? {});
@@ -1,5 +1,5 @@
1
1
  import styled$1 from "@xstyled/styled-components";
2
- //#region packages/ui/Blocks/CommonGrid/components/MobileOverlayWrapper.tsx
2
+ //#region packages/ui/Modules/CommonGrid/components/MobileOverlayWrapper.tsx
3
3
  const MobileOverlayWrapper = styled$1.div`
4
4
  position: absolute;
5
5
  z-index: 10;
@@ -1,12 +1,12 @@
1
1
  import Button_default from "../../../Elements/Button/index.js";
2
2
  import { getSortName } from "../utils/index.js";
3
- import { Modal } from "../../Modal/Modal.js";
3
+ import { Modal } from "../../../Blocks/Modal/Modal.js";
4
4
  import { SortingDown, SortingUp } from "./icons/Sorting.js";
5
5
  import { useCallback } from "react";
6
- import { x } from "@xstyled/styled-components";
7
6
  import { jsx } from "react/jsx-runtime";
7
+ import { x } from "@xstyled/styled-components";
8
8
  import { Trans } from "@lingui/react";
9
- //#region packages/ui/Blocks/CommonGrid/components/MobileSortModal.tsx
9
+ //#region packages/ui/Modules/CommonGrid/components/MobileSortModal.tsx
10
10
  const AscIcon = /* @__PURE__ */ jsx(SortingUp, {
11
11
  width: "16",
12
12
  fill: "white"
@@ -1,7 +1,7 @@
1
1
  import "react";
2
- import styled$1, { css } from "@xstyled/styled-components";
3
2
  import { jsx, jsxs } from "react/jsx-runtime";
4
- //#region packages/ui/Blocks/CommonGrid/components/OversizedScroll.tsx
3
+ import styled$1, { css } from "@xstyled/styled-components";
4
+ //#region packages/ui/Modules/CommonGrid/components/OversizedScroll.tsx
5
5
  const ScrollWrapper = styled$1.div`
6
6
  ${(props) => props.columnLayout !== "no-scroll" && css`
7
7
  overflow-x: ${props.columnLayout === "sticky" ? "inherit" : "auto"};
@@ -1,5 +1,5 @@
1
1
  import { styled } from "@xstyled/styled-components";
2
- //#region packages/ui/Blocks/CommonGrid/components/PresetsModalBody/components/TagRemove.tsx
2
+ //#region packages/ui/Modules/CommonGrid/components/PresetsModalBody/components/TagRemove.tsx
3
3
  const TagRemove = styled.div`
4
4
  cursor: pointer;
5
5
  margin-left: 6px;
@@ -5,11 +5,11 @@ import { palettes } from "../../../../Elements/Tag/palettes.js";
5
5
  import { H6 } from "../../../../Elements/Typography/Typography.js";
6
6
  import { TagRemove } from "./components/TagRemove.js";
7
7
  import { useMemo } from "react";
8
- import { x } from "@xstyled/styled-components";
9
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
+ import { x } from "@xstyled/styled-components";
10
10
  import { Trans } from "@lingui/react";
11
11
  import isEmpty from "lodash/isEmpty";
12
- //#region packages/ui/Blocks/CommonGrid/components/PresetsModalBody/index.tsx
12
+ //#region packages/ui/Modules/CommonGrid/components/PresetsModalBody/index.tsx
13
13
  const PresetsModalBody = ({ onOpenCreatePresetModal, gridPresets, handleSelectPreset, handleOpenDeletePresetModal, selectedPresetName, handleExportPresets, handleImportButtonClick, handleImportPresets, fileInputRef, filters }) => {
14
14
  const presets = useMemo(() => Object.entries(gridPresets || {}), [gridPresets]);
15
15
  const hasPresets = !!presets?.length;
@@ -1,8 +1,8 @@
1
1
  import Button_default from "../../../../Elements/Button/index.js";
2
2
  import Input_default from "../../../../Forms/Input/index.js";
3
- import styled$1, { x } from "@xstyled/styled-components";
4
3
  import { jsx } from "react/jsx-runtime";
5
- //#region packages/ui/Blocks/CommonGrid/components/QuickFilter/QuickFilter.tsx
4
+ import styled$1, { x } from "@xstyled/styled-components";
5
+ //#region packages/ui/Modules/CommonGrid/components/QuickFilter/QuickFilter.tsx
6
6
  const StyledInput = styled$1(Input_default)`
7
7
  position: ${({ isMobileInputView }) => isMobileInputView ? "absolute" : "relative"};
8
8
  z-index: ${({ isMobileInputView }) => isMobileInputView ? "3" : "1"};
@@ -1,5 +1,5 @@
1
1
  import QuickFilter from "./QuickFilter.js";
2
- //#region packages/ui/Blocks/CommonGrid/components/QuickFilter/index.tsx
2
+ //#region packages/ui/Modules/CommonGrid/components/QuickFilter/index.tsx
3
3
  var QuickFilter_default = QuickFilter;
4
4
  //#endregion
5
5
  export { QuickFilter_default as default };
@@ -1,7 +1,7 @@
1
1
  import { useCallback } from "react";
2
- import styled$1 from "@xstyled/styled-components";
3
2
  import { jsx } from "react/jsx-runtime";
4
- //#region packages/ui/Blocks/CommonGrid/components/Resize.tsx
3
+ import styled$1 from "@xstyled/styled-components";
4
+ //#region packages/ui/Modules/CommonGrid/components/Resize.tsx
5
5
  const Resizer = styled$1.div`
6
6
  height: 100%;
7
7
  width: 7px;
@@ -1,5 +1,5 @@
1
1
  import styled$1, { system, th } from "@xstyled/styled-components";
2
- //#region packages/ui/Blocks/CommonGrid/components/Table.tsx
2
+ //#region packages/ui/Modules/CommonGrid/components/Table.tsx
3
3
  const Row = styled$1.div`
4
4
  ${system};
5
5
  display: flex;
@@ -1,10 +1,10 @@
1
1
  import Select from "../../../../Elements/Select/Select.js";
2
2
  import { rowsPerPageOptions } from "../../utils/constants.js";
3
3
  import { useCallback, useMemo } from "react";
4
- import styled$1, { x } from "@xstyled/styled-components";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import styled$1, { x } from "@xstyled/styled-components";
6
6
  import { Trans } from "@lingui/react";
7
- //#region packages/ui/Blocks/CommonGrid/components/TablePagination/TablePagination.tsx
7
+ //#region packages/ui/Modules/CommonGrid/components/TablePagination/TablePagination.tsx
8
8
  const Wrapper = styled$1.span`
9
9
  display: flex;
10
10
  align-items: center;
@@ -1,5 +1,5 @@
1
1
  import TablePagination from "./TablePagination.js";
2
- //#region packages/ui/Blocks/CommonGrid/components/TablePagination/index.tsx
2
+ //#region packages/ui/Modules/CommonGrid/components/TablePagination/index.tsx
3
3
  var TablePagination_default = TablePagination;
4
4
  //#endregion
5
5
  export { TablePagination_default as default };
@@ -2,10 +2,10 @@ import { ToastSuccess } from "../../../../Elements/Icon/icons/ToastSuccess.js";
2
2
  import { ToastError } from "../../../../Elements/Icon/icons/ToastError.js";
3
3
  import "../../../../Elements/Icon/index.js";
4
4
  import React from "react";
5
- import styled$1 from "@xstyled/styled-components";
6
5
  import { jsx } from "react/jsx-runtime";
6
+ import styled$1 from "@xstyled/styled-components";
7
7
  import get from "lodash/fp/get";
8
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/BoolIcon.tsx
8
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/BoolIcon.tsx
9
9
  const Center = styled$1.div`
10
10
  display: flex;
11
11
  justify-content: center;
@@ -1,7 +1,7 @@
1
1
  import Button from "../../../../Elements/Button/Button.js";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/ButtonInCell.tsx
4
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/ButtonInCell.tsx
5
5
  const ButtonInCell = (props) => {
6
6
  return /* @__PURE__ */ jsx(Button, {
7
7
  ...props,
@@ -2,7 +2,7 @@ import "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { DateTime } from "luxon";
4
4
  import get from "lodash/fp/get";
5
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/Date.tsx
5
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/Date.tsx
6
6
  const DateCell = ({ rowData, column }) => {
7
7
  const value = get(column.name, rowData);
8
8
  return value ? /* @__PURE__ */ jsx("span", { children: DateTime.fromISO(value).toFormat("dd. MM. yyyy") }) : null;
@@ -2,7 +2,7 @@ import "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { DateTime } from "luxon";
4
4
  import get from "lodash/fp/get";
5
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/DateTime.tsx
5
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/DateTime.tsx
6
6
  const defaultProps = { dateTimeFormat: "dd. MM. yyyy HH:mm" };
7
7
  const DateTimeCell = ({ rowData, column }) => {
8
8
  const value = get(column.name, rowData);
@@ -1,8 +1,8 @@
1
1
  import HighlightBox_default from "../../../../Elements/HighlightBox/index.js";
2
2
  import { useMemo } from "react";
3
- import styled$1 from "@xstyled/styled-components";
4
3
  import { jsx } from "react/jsx-runtime";
5
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/EnumInCell.tsx
4
+ import styled$1 from "@xstyled/styled-components";
5
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/EnumInCell.tsx
6
6
  const Center = styled$1.div`
7
7
  display: flex;
8
8
  justify-content: flex-start;
@@ -1,8 +1,8 @@
1
1
  import "react";
2
- import styled$1 from "@xstyled/styled-components";
3
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
+ import styled$1 from "@xstyled/styled-components";
4
4
  import get from "lodash/fp/get";
5
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/HoverBubble.tsx
5
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/HoverBubble.tsx
6
6
  const Wrapper = styled$1.div`
7
7
  text-align: center;
8
8
  overflow: hidden;
@@ -1,10 +1,10 @@
1
1
  import Icon from "../../../../Elements/Icon/Icon.js";
2
2
  import { Spinner } from "../../../../Elements/Spinner/Spinner.js";
3
3
  import "react";
4
- import { x } from "@xstyled/styled-components";
5
4
  import { Fragment, jsx } from "react/jsx-runtime";
5
+ import { x } from "@xstyled/styled-components";
6
6
  import { Link } from "react-router-dom";
7
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/IconButtonInCell.tsx
7
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/IconButtonInCell.tsx
8
8
  const IconButtonInCell = ({ icon, isLoading, onClick, linkTo }) => {
9
9
  return /* @__PURE__ */ jsx(Fragment, { children: isLoading ? /* @__PURE__ */ jsx(Spinner, { variant: "sm" }) : linkTo ? /* @__PURE__ */ jsx(Link, {
10
10
  to: linkTo,
@@ -1,9 +1,9 @@
1
1
  import Image from "../../../../Elements/Image/Image.js";
2
2
  import "react";
3
- import styled$1 from "@xstyled/styled-components";
4
3
  import { jsx } from "react/jsx-runtime";
4
+ import styled$1 from "@xstyled/styled-components";
5
5
  import get from "lodash/fp/get";
6
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/ImageCell.tsx
6
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/ImageCell.tsx
7
7
  const ImageWrapper = styled$1.div`
8
8
  ${({ onClick }) => onClick ? "cursor: pointer;" : ""}
9
9
  height: 100%;
@@ -1,7 +1,7 @@
1
1
  import StyledLink from "../../../../Elements/SimpleLink/SimpleLink.js";
2
2
  import "../../../../Elements/SimpleLink/index.js";
3
3
  import styled$1 from "@xstyled/styled-components";
4
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/LinkInCell.tsx
4
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/LinkInCell.tsx
5
5
  const LinkInCell = styled$1(StyledLink)`
6
6
  text-decoration: underline;
7
7
  `;
@@ -1,9 +1,9 @@
1
1
  import Icon from "../../../../Elements/Icon/Icon.js";
2
2
  import React from "react";
3
- import styled$1 from "@xstyled/styled-components";
4
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
+ import styled$1 from "@xstyled/styled-components";
5
5
  import { Trans } from "@lingui/react";
6
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/RemoveItem.tsx
6
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/RemoveItem.tsx
7
7
  const Wrap = styled$1.div`
8
8
  width: 100%;
9
9
  `;
@@ -1,10 +1,10 @@
1
1
  import Checkbox_default from "../../../../Forms/Checkbox/index.js";
2
2
  import { IconButtonInCell } from "./IconButtonInCell.js";
3
3
  import { useCallback, useMemo } from "react";
4
- import { x } from "@xstyled/styled-components";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { x } from "@xstyled/styled-components";
6
6
  import { isFunction, omit } from "lodash/fp";
7
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/RowActionsCell.tsx
7
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/RowActionsCell.tsx
8
8
  const RowActionsCell = ({ actionColumnDefinition, rowData, addRowNumbers, rowIndex, rowNumberWidth = 0, checkedRows, withCheckboxes, onUxChange, onRowAction }) => {
9
9
  const rowDataId = rowData?.id;
10
10
  const canEdit = isFunction(actionColumnDefinition?.canRowEdit) ? actionColumnDefinition?.canRowEdit(rowData) : actionColumnDefinition?.canRowEdit;
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import get from "lodash/fp/get";
4
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/StringJoin.tsx
4
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/StringJoin.tsx
5
5
  const StringJoinCell = ({ rowData, column }) => {
6
6
  const values = get(column.name, rowData);
7
7
  return values?.length ? /* @__PURE__ */ jsx("span", { children: values.join(", ") }) : null;
@@ -1,7 +1,7 @@
1
1
  import Toggle from "../../../../Elements/Toggle/Toggle.js";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/SwitchInCell.tsx
4
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/SwitchInCell.tsx
5
5
  const SwitchInCell = (props) => {
6
6
  return /* @__PURE__ */ jsx(Toggle, {
7
7
  ...props,
@@ -2,7 +2,7 @@ import { SwitchInCell } from "./SwitchInCell.js";
2
2
  import React, { useCallback } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import get from "lodash/fp/get";
5
- //#region packages/ui/Blocks/CommonGrid/components/gridCells/ToggleCell.tsx
5
+ //#region packages/ui/Modules/CommonGrid/components/gridCells/ToggleCell.tsx
6
6
  const ToggleCell = ({ rowData, column, onRowAction }) => {
7
7
  const inverse = !!column?.passProps?.inverse;
8
8
  const rawValue = get(column.name, rowData);
@@ -1,6 +1,6 @@
1
1
  import "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region packages/ui/Blocks/CommonGrid/components/icons/Edit.tsx
3
+ //#region packages/ui/Modules/CommonGrid/components/icons/Edit.tsx
4
4
  const Edit = (props) => /* @__PURE__ */ jsx("svg", {
5
5
  "data-icon": "edit",
6
6
  viewBox: "0 0 16 16",
@@ -1,6 +1,6 @@
1
1
  import "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region packages/ui/Blocks/CommonGrid/components/icons/EyeOpen.tsx
3
+ //#region packages/ui/Modules/CommonGrid/components/icons/EyeOpen.tsx
4
4
  const EyeOpen = (props) => /* @__PURE__ */ jsx("svg", {
5
5
  "data-icon": "eye-open",
6
6
  viewBox: "0 0 16 16",
@@ -1,6 +1,6 @@
1
1
  import "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
- //#region packages/ui/Blocks/CommonGrid/components/icons/Sorting.tsx
3
+ //#region packages/ui/Modules/CommonGrid/components/icons/Sorting.tsx
4
4
  const SortingUp = (props) => /* @__PURE__ */ jsx("svg", {
5
5
  viewBox: "0 0 16 16",
6
6
  ...props,
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- //#region packages/ui/Blocks/CommonGrid/components/utils.tsx
2
+ //#region packages/ui/Modules/CommonGrid/components/utils.tsx
3
3
  const useTimeMeasurement = ({ handleRowClick }) => {
4
4
  const [startTime, setStartTime] = useState(0);
5
5
  const handleMouseDown = () => {
@@ -1,6 +1,6 @@
1
1
  import { createFilterType, getFilterName } from "../utils/index.js";
2
2
  import { useCallback } from "react";
3
- //#region packages/ui/Blocks/CommonGrid/hooks/useAddFilter.ts
3
+ //#region packages/ui/Modules/CommonGrid/hooks/useAddFilter.ts
4
4
  const useAddFilter = (onChange) => {
5
5
  return useCallback((value, column, others) => {
6
6
  if (onChange) {
@@ -1,7 +1,7 @@
1
1
  import { parseSharedGridState } from "../utils/shareUrl/parseSharedGridState.js";
2
2
  import "../utils/shareUrl/index.js";
3
3
  import { useEffect, useRef } from "react";
4
- //#region packages/ui/Blocks/CommonGrid/hooks/useApplySharedGridState.ts
4
+ //#region packages/ui/Modules/CommonGrid/hooks/useApplySharedGridState.ts
5
5
  const useApplySharedGridState = ({ enabled, columns, gridActions }) => {
6
6
  const appliedRef = useRef(false);
7
7
  useEffect(() => {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import sum from "lodash/sum";
3
- //#region packages/ui/Blocks/CommonGrid/hooks/useColumnSizes.tsx
3
+ //#region packages/ui/Modules/CommonGrid/hooks/useColumnSizes.tsx
4
4
  const useColumnSizes = (displayColumnsDefinitions, storeColumnsWidth, storeColumnsWidthVariant, setColumnWidth, columnLayout, minColumnWidth = 50) => {
5
5
  /**
6
6
  * decorate grid resize with layout and reset grid widths if layout changes
@@ -1,8 +1,8 @@
1
- import { useModal } from "../../Modal/hooks/useModal.js";
1
+ import { useModal } from "../../../Blocks/Modal/hooks/useModal.js";
2
2
  import { useEvent } from "./useEvent.js";
3
3
  import { useCallback, useState } from "react";
4
4
  import isEmpty from "lodash/isEmpty";
5
- //#region packages/ui/Blocks/CommonGrid/hooks/useCreatePreset.ts
5
+ //#region packages/ui/Modules/CommonGrid/hooks/useCreatePreset.ts
6
6
  const maxPresetNameLength = 40;
7
7
  const useCreatePreset = ({ gridName, filters, onClosePresetsModal, setSelectedPresetName, gridActions }) => {
8
8
  const { isOpen: isCreatePresetModalOpen, onOpen: onOpenCreatePresetModal, onClose: onCloseCreatePresetModal } = useModal();