@wix/patterns 0.10.0 → 1.0.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 (398) hide show
  1. package/dist/cjs/components/Collapse/Collapse.st.css.js +3 -3
  2. package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
  3. package/dist/cjs/components/CollectionTable/CollectionTable.js +14 -23
  4. package/dist/cjs/components/CollectionTable/CollectionTable.js.map +1 -1
  5. package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js +5 -5
  6. package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js.map +1 -1
  7. package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +3 -3
  8. package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
  9. package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
  10. package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
  11. package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
  12. package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
  13. package/dist/cjs/components/CustomFieldsWidget/CustomFieldsViewWidget.st.css.js +3 -3
  14. package/dist/cjs/components/CustomFieldsWidget/CustomFieldsViewWidget.st.css.js.map +1 -1
  15. package/dist/cjs/components/DragHandle/DragHandle.st.css.js +2 -2
  16. package/dist/cjs/components/DragHandle/DragHandle.st.css.js.map +1 -1
  17. package/dist/cjs/components/EmptyState/CollectionEmptyState.js +24 -13
  18. package/dist/cjs/components/EmptyState/CollectionEmptyState.js.map +1 -1
  19. package/dist/cjs/components/EmptyState/CollectionEmptyState.uni.driver.js +5 -1
  20. package/dist/cjs/components/EmptyState/CollectionEmptyState.uni.driver.js.map +1 -1
  21. package/dist/cjs/components/EmptyState/CollectionNoResultsState.js +131 -0
  22. package/dist/cjs/components/EmptyState/CollectionNoResultsState.js.map +1 -0
  23. package/dist/cjs/components/EmptyState/CollectionNoResultsState.uni.driver.js +25 -0
  24. package/dist/cjs/components/EmptyState/CollectionNoResultsState.uni.driver.js.map +1 -0
  25. package/dist/cjs/components/EmptyState/CollectionPremiumEmptyState.js +53 -0
  26. package/dist/cjs/components/EmptyState/CollectionPremiumEmptyState.js.map +1 -0
  27. package/dist/cjs/components/EmptyState/{PremiumEmptyState.uni.driver.js → CollectionPremiumEmptyState.uni.driver.js} +8 -4
  28. package/dist/cjs/components/EmptyState/CollectionPremiumEmptyState.uni.driver.js.map +1 -0
  29. package/dist/cjs/components/EmptyState/EmptyState.uni.driver.js +0 -8
  30. package/dist/cjs/components/EmptyState/EmptyState.uni.driver.js.map +1 -1
  31. package/dist/cjs/components/EmptyState/EmptyStateBase.js +3 -3
  32. package/dist/cjs/components/EmptyState/EmptyStateBase.js.map +1 -1
  33. package/dist/cjs/components/EmptyState/NewItemButton.js +6 -6
  34. package/dist/cjs/components/EmptyState/NewItemButton.js.map +1 -1
  35. package/dist/cjs/components/EmptyState/PremiumButton.js +5 -5
  36. package/dist/cjs/components/EmptyState/PremiumButton.js.map +1 -1
  37. package/dist/cjs/components/Fade/Fade.st.css.js +2 -2
  38. package/dist/cjs/components/Fade/Fade.st.css.js.map +1 -1
  39. package/dist/cjs/components/Grid/Grid.js +12 -10
  40. package/dist/cjs/components/Grid/Grid.js.map +1 -1
  41. package/dist/cjs/components/Grid/Grid.uni.driver.js +10 -2
  42. package/dist/cjs/components/Grid/Grid.uni.driver.js.map +1 -1
  43. package/dist/cjs/components/Grid/GridFolders.js +9 -7
  44. package/dist/cjs/components/Grid/GridFolders.js.map +1 -1
  45. package/dist/cjs/components/Grid/GridFolders.uni.driver.js.map +1 -1
  46. package/dist/cjs/components/Grid/GridFoldersPlaceholderStates.js +5 -3
  47. package/dist/cjs/components/Grid/GridFoldersPlaceholderStates.js.map +1 -1
  48. package/dist/cjs/components/Grid/GridPlaceholderStates.js +5 -14
  49. package/dist/cjs/components/Grid/GridPlaceholderStates.js.map +1 -1
  50. package/dist/cjs/components/Heading/Heading.st.css.js +2 -2
  51. package/dist/cjs/components/Heading/Heading.st.css.js.map +1 -1
  52. package/dist/cjs/components/Illustration/{PremiumEmptyStateIllustration.js → CollectionPremiumEmptyStateIllustration.js} +4 -4
  53. package/dist/cjs/components/Illustration/CollectionPremiumEmptyStateIllustration.js.map +1 -0
  54. package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js +2 -2
  55. package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
  56. package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
  57. package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
  58. package/dist/cjs/components/MaxLines/MaxLines.st.css.js +2 -2
  59. package/dist/cjs/components/MaxLines/MaxLines.st.css.js.map +1 -1
  60. package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
  61. package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
  62. package/dist/cjs/components/NestedTable/NestedTable.js +3 -3
  63. package/dist/cjs/components/NestedTable/NestedTable.js.map +1 -1
  64. package/dist/cjs/components/NestedTable/NestedTable.uni.driver.js +0 -2
  65. package/dist/cjs/components/NestedTable/NestedTable.uni.driver.js.map +1 -1
  66. package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js +5 -5
  67. package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
  68. package/dist/cjs/components/NestedTable/NestedTableRowPlaceholderStates.js +6 -5
  69. package/dist/cjs/components/NestedTable/NestedTableRowPlaceholderStates.js.map +1 -1
  70. package/dist/cjs/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.js.map +1 -1
  71. package/dist/cjs/components/NestedTable/NestedTableWSRTable.js +12 -9
  72. package/dist/cjs/components/NestedTable/NestedTableWSRTable.js.map +1 -1
  73. package/dist/cjs/components/PickerContent/PickerContent.st.css.js +2 -2
  74. package/dist/cjs/components/PickerContent/PickerContent.st.css.js.map +1 -1
  75. package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js +4 -4
  76. package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
  77. package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
  78. package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
  79. package/dist/cjs/components/PlaceholderStates/PlaceholderStatesBase.js +34 -15
  80. package/dist/cjs/components/PlaceholderStates/PlaceholderStatesBase.js.map +1 -1
  81. package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
  82. package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
  83. package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js +3 -3
  84. package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
  85. package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js +2 -2
  86. package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
  87. package/dist/cjs/components/Table/Table.uni.driver.js +10 -5
  88. package/dist/cjs/components/Table/Table.uni.driver.js.map +1 -1
  89. package/dist/cjs/components/Table/TableVirtual.st.css.js +3 -3
  90. package/dist/cjs/components/Table/TableVirtual.st.css.js.map +1 -1
  91. package/dist/cjs/components/TableFolders/TableFolders.uni.driver.js +11 -1
  92. package/dist/cjs/components/TableFolders/TableFolders.uni.driver.js.map +1 -1
  93. package/dist/cjs/components/TableFolders/TableFoldersContent.js +15 -12
  94. package/dist/cjs/components/TableFolders/TableFoldersContent.js.map +1 -1
  95. package/dist/cjs/components/TablePlaceholderStates/TablePlaceholderStates.js.map +1 -1
  96. package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js +3 -3
  97. package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
  98. package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
  99. package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
  100. package/dist/cjs/components/ToolbarCollection/ToolbarCollection.js +3 -3
  101. package/dist/cjs/components/ToolbarCollection/ToolbarCollection.js.map +1 -1
  102. package/dist/cjs/components/ToolbarCollection/useToolbarCollectionSyncProps.js +2 -1
  103. package/dist/cjs/components/ToolbarCollection/useToolbarCollectionSyncProps.js.map +1 -1
  104. package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
  105. package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
  106. package/dist/cjs/components/common.st.css.js +4 -4
  107. package/dist/cjs/components/common.st.css.js.map +1 -1
  108. package/dist/cjs/index.js +11 -25
  109. package/dist/cjs/index.js.map +1 -1
  110. package/dist/cjs/state/FeaturesAvailabilityBIParams.js.map +1 -1
  111. package/dist/cjs/state/FoldersAndItemsCollectionsState.js +32 -0
  112. package/dist/cjs/state/FoldersAndItemsCollectionsState.js.map +1 -1
  113. package/dist/cjs/state/GridFoldersState.js +9 -0
  114. package/dist/cjs/state/GridFoldersState.js.map +1 -1
  115. package/dist/cjs/state/NestedTableState/NestedTableFlatModeState.js +9 -0
  116. package/dist/cjs/state/NestedTableState/NestedTableFlatModeState.js.map +1 -1
  117. package/dist/cjs/state/NestedTableState/NestedTableNestedModeState.js +9 -0
  118. package/dist/cjs/state/NestedTableState/NestedTableNestedModeState.js.map +1 -1
  119. package/dist/cjs/state/TableFoldersState.js +9 -0
  120. package/dist/cjs/state/TableFoldersState.js.map +1 -1
  121. package/dist/cjs/state/TableState.js +9 -0
  122. package/dist/cjs/state/TableState.js.map +1 -1
  123. package/dist/cjs/styles.global.css +1 -1
  124. package/dist/cjs/version.js +1 -1
  125. package/dist/cjs/version.js.map +1 -1
  126. package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
  127. package/dist/esm/components/CollectionTable/CollectionTable.js +2 -10
  128. package/dist/esm/components/CollectionTable/CollectionTable.js.map +1 -1
  129. package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js +2 -2
  130. package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +2 -2
  131. package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
  132. package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
  133. package/dist/esm/components/CustomFieldsWidget/CustomFieldsViewWidget.st.css.js +2 -2
  134. package/dist/esm/components/CustomFieldsWidget/CustomFieldsViewWidget.st.css.js.map +1 -1
  135. package/dist/esm/components/DragHandle/DragHandle.st.css.js +2 -2
  136. package/dist/esm/components/EmptyState/CollectionEmptyState.js +6 -9
  137. package/dist/esm/components/EmptyState/CollectionEmptyState.js.map +1 -1
  138. package/dist/esm/components/EmptyState/CollectionEmptyState.uni.driver.js +5 -1
  139. package/dist/esm/components/EmptyState/CollectionEmptyState.uni.driver.js.map +1 -1
  140. package/dist/esm/{hooks/useCollectionEmptyStateTexts.js → components/EmptyState/CollectionNoResultsState.js} +29 -28
  141. package/dist/esm/components/EmptyState/CollectionNoResultsState.js.map +1 -0
  142. package/dist/esm/components/EmptyState/CollectionNoResultsState.uni.driver.js +16 -0
  143. package/dist/esm/components/EmptyState/CollectionNoResultsState.uni.driver.js.map +1 -0
  144. package/dist/esm/components/EmptyState/CollectionPremiumEmptyState.js +14 -0
  145. package/dist/esm/components/EmptyState/CollectionPremiumEmptyState.js.map +1 -0
  146. package/dist/esm/components/EmptyState/{PremiumEmptyState.uni.driver.js → CollectionPremiumEmptyState.uni.driver.js} +7 -3
  147. package/dist/esm/components/EmptyState/CollectionPremiumEmptyState.uni.driver.js.map +1 -0
  148. package/dist/esm/components/EmptyState/EmptyState.uni.driver.js +0 -8
  149. package/dist/esm/components/EmptyState/EmptyState.uni.driver.js.map +1 -1
  150. package/dist/esm/components/EmptyState/EmptyStateBase.js.map +1 -1
  151. package/dist/esm/components/EmptyState/NewItemButton.js +2 -2
  152. package/dist/esm/components/EmptyState/NewItemButton.js.map +1 -1
  153. package/dist/esm/components/EmptyState/PremiumButton.js +2 -2
  154. package/dist/esm/components/EmptyState/PremiumButton.js.map +1 -1
  155. package/dist/esm/components/Fade/Fade.st.css.js +2 -2
  156. package/dist/esm/components/Fade/Fade.st.css.js.map +1 -1
  157. package/dist/esm/components/Grid/Grid.js +2 -2
  158. package/dist/esm/components/Grid/Grid.js.map +1 -1
  159. package/dist/esm/components/Grid/Grid.uni.driver.js +11 -3
  160. package/dist/esm/components/Grid/Grid.uni.driver.js.map +1 -1
  161. package/dist/esm/components/Grid/GridFolders.js +2 -2
  162. package/dist/esm/components/Grid/GridFolders.js.map +1 -1
  163. package/dist/esm/components/Grid/GridFolders.uni.driver.js.map +1 -1
  164. package/dist/esm/components/Grid/GridFoldersPlaceholderStates.js +2 -2
  165. package/dist/esm/components/Grid/GridFoldersPlaceholderStates.js.map +1 -1
  166. package/dist/esm/components/Grid/GridPlaceholderStates.js +2 -10
  167. package/dist/esm/components/Grid/GridPlaceholderStates.js.map +1 -1
  168. package/dist/esm/components/Heading/Heading.st.css.js +2 -2
  169. package/dist/esm/components/Illustration/{PremiumEmptyStateIllustration.js → CollectionPremiumEmptyStateIllustration.js} +2 -2
  170. package/dist/esm/components/Illustration/CollectionPremiumEmptyStateIllustration.js.map +1 -0
  171. package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
  172. package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
  173. package/dist/esm/components/MaxLines/MaxLines.st.css.js +2 -2
  174. package/dist/esm/components/MaxLines/MaxLines.st.css.js.map +1 -1
  175. package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
  176. package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
  177. package/dist/esm/components/NestedTable/NestedTable.js.map +1 -1
  178. package/dist/esm/components/NestedTable/NestedTable.uni.driver.js +1 -2
  179. package/dist/esm/components/NestedTable/NestedTable.uni.driver.js.map +1 -1
  180. package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
  181. package/dist/esm/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
  182. package/dist/esm/components/NestedTable/NestedTableRowPlaceholderStates.js +6 -4
  183. package/dist/esm/components/NestedTable/NestedTableRowPlaceholderStates.js.map +1 -1
  184. package/dist/esm/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.js.map +1 -1
  185. package/dist/esm/components/NestedTable/NestedTableWSRTable.js +3 -3
  186. package/dist/esm/components/NestedTable/NestedTableWSRTable.js.map +1 -1
  187. package/dist/esm/components/PickerContent/PickerContent.st.css.js +2 -2
  188. package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
  189. package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
  190. package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
  191. package/dist/esm/components/PlaceholderStates/PlaceholderStatesBase.js +18 -6
  192. package/dist/esm/components/PlaceholderStates/PlaceholderStatesBase.js.map +1 -1
  193. package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
  194. package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
  195. package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
  196. package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
  197. package/dist/esm/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
  198. package/dist/esm/components/Table/Table.uni.driver.js +11 -7
  199. package/dist/esm/components/Table/Table.uni.driver.js.map +1 -1
  200. package/dist/esm/components/Table/TableVirtual.st.css.js +2 -2
  201. package/dist/esm/components/TableFolders/TableFolders.uni.driver.js +13 -1
  202. package/dist/esm/components/TableFolders/TableFolders.uni.driver.js.map +1 -1
  203. package/dist/esm/components/TableFolders/TableFoldersContent.js +3 -3
  204. package/dist/esm/components/TableFolders/TableFoldersContent.js.map +1 -1
  205. package/dist/esm/components/TabsFilter/TabsFilter.st.css.js +2 -2
  206. package/dist/esm/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
  207. package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
  208. package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
  209. package/dist/esm/components/ToolbarCollection/ToolbarCollection.js.map +1 -1
  210. package/dist/esm/components/ToolbarCollection/useToolbarCollectionSyncProps.js +2 -1
  211. package/dist/esm/components/ToolbarCollection/useToolbarCollectionSyncProps.js.map +1 -1
  212. package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
  213. package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
  214. package/dist/esm/components/common.st.css.js +2 -2
  215. package/dist/esm/components/common.st.css.js.map +1 -1
  216. package/dist/esm/index.js +2 -4
  217. package/dist/esm/index.js.map +1 -1
  218. package/dist/esm/state/FoldersAndItemsCollectionsState.js +12 -0
  219. package/dist/esm/state/FoldersAndItemsCollectionsState.js.map +1 -1
  220. package/dist/esm/state/GridFoldersState.js +9 -0
  221. package/dist/esm/state/GridFoldersState.js.map +1 -1
  222. package/dist/esm/state/NestedTableState/NestedTableFlatModeState.js +9 -0
  223. package/dist/esm/state/NestedTableState/NestedTableFlatModeState.js.map +1 -1
  224. package/dist/esm/state/NestedTableState/NestedTableNestedModeState.js +9 -0
  225. package/dist/esm/state/NestedTableState/NestedTableNestedModeState.js.map +1 -1
  226. package/dist/esm/state/TableFoldersState.js +9 -0
  227. package/dist/esm/state/TableFoldersState.js.map +1 -1
  228. package/dist/esm/state/TableState.js +9 -0
  229. package/dist/esm/state/TableState.js.map +1 -1
  230. package/dist/esm/styles.global.css +1 -1
  231. package/dist/esm/version.js +1 -1
  232. package/dist/types/components/CollectionList/CollectionList.uni.driver.d.ts +1 -1
  233. package/dist/types/components/CollectionTable/CollectionTable.d.ts.map +1 -1
  234. package/dist/types/components/CollectionTable/CollectionTable.uni.driver.d.ts +1 -1
  235. package/dist/types/components/CustomFieldsWidget/CustomFieldsViewWidget.st.css.d.ts.map +1 -1
  236. package/dist/types/components/EmptyState/CollectionEmptyState.d.ts +12 -5
  237. package/dist/types/components/EmptyState/CollectionEmptyState.d.ts.map +1 -1
  238. package/dist/types/components/EmptyState/CollectionEmptyState.uni.driver.d.ts +4 -2
  239. package/dist/types/components/EmptyState/CollectionEmptyState.uni.driver.d.ts.map +1 -1
  240. package/dist/types/components/EmptyState/CollectionNoResultsState.d.ts +11 -0
  241. package/dist/types/components/EmptyState/CollectionNoResultsState.d.ts.map +1 -0
  242. package/dist/types/components/EmptyState/CollectionNoResultsState.uni.driver.d.ts +26 -0
  243. package/dist/types/components/EmptyState/CollectionNoResultsState.uni.driver.d.ts.map +1 -0
  244. package/dist/types/components/EmptyState/CollectionPremiumEmptyState.d.ts +18 -0
  245. package/dist/types/components/EmptyState/CollectionPremiumEmptyState.d.ts.map +1 -0
  246. package/dist/types/components/EmptyState/{PremiumEmptyState.uni.driver.d.ts → CollectionPremiumEmptyState.uni.driver.d.ts} +6 -4
  247. package/dist/types/components/EmptyState/CollectionPremiumEmptyState.uni.driver.d.ts.map +1 -0
  248. package/dist/types/components/EmptyState/EmptyState.uni.driver.d.ts +0 -8
  249. package/dist/types/components/EmptyState/EmptyState.uni.driver.d.ts.map +1 -1
  250. package/dist/types/components/EmptyState/EmptyStateBase.d.ts +19 -4
  251. package/dist/types/components/EmptyState/EmptyStateBase.d.ts.map +1 -1
  252. package/dist/types/components/EmptyState/NewItemButton.d.ts +3 -11
  253. package/dist/types/components/EmptyState/NewItemButton.d.ts.map +1 -1
  254. package/dist/types/components/EmptyState/PremiumButton.d.ts +3 -9
  255. package/dist/types/components/EmptyState/PremiumButton.d.ts.map +1 -1
  256. package/dist/types/components/Fade/Fade.st.css.d.ts.map +1 -1
  257. package/dist/types/components/Grid/Grid.d.ts.map +1 -1
  258. package/dist/types/components/Grid/Grid.uni.driver.d.ts +47 -4
  259. package/dist/types/components/Grid/Grid.uni.driver.d.ts.map +1 -1
  260. package/dist/types/components/Grid/GridFolders.d.ts +14 -3
  261. package/dist/types/components/Grid/GridFolders.d.ts.map +1 -1
  262. package/dist/types/components/Grid/GridFolders.uni.driver.d.ts +119 -29
  263. package/dist/types/components/Grid/GridFolders.uni.driver.d.ts.map +1 -1
  264. package/dist/types/components/Grid/GridFoldersPlaceholderStates.d.ts.map +1 -1
  265. package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts +44 -3
  266. package/dist/types/components/Grid/GridFoldersSection.uni.driver.d.ts.map +1 -1
  267. package/dist/types/components/Grid/GridPlaceholderStates.d.ts.map +1 -1
  268. package/dist/types/components/Illustration/CollectionPremiumEmptyStateIllustration.d.ts +3 -0
  269. package/dist/types/components/Illustration/CollectionPremiumEmptyStateIllustration.d.ts.map +1 -0
  270. package/dist/types/components/InfiniteScrollCollectionList/InfiniteScrollCollectionList.uni.driver.d.ts +1 -1
  271. package/dist/types/components/MaxLines/MaxLines.st.css.d.ts.map +1 -1
  272. package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.d.ts.map +1 -1
  273. package/dist/types/components/NestedTable/NestedTable.d.ts +13 -3
  274. package/dist/types/components/NestedTable/NestedTable.d.ts.map +1 -1
  275. package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts +43 -29
  276. package/dist/types/components/NestedTable/NestedTable.uni.driver.d.ts.map +1 -1
  277. package/dist/types/components/NestedTable/NestedTableRow.st.css.d.ts.map +1 -1
  278. package/dist/types/components/NestedTable/NestedTableRowPlaceholderStates.d.ts.map +1 -1
  279. package/dist/types/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.d.ts +1 -2
  280. package/dist/types/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.d.ts.map +1 -1
  281. package/dist/types/components/NestedTable/NestedTableWSRTable.d.ts +4 -3
  282. package/dist/types/components/NestedTable/NestedTableWSRTable.d.ts.map +1 -1
  283. package/dist/types/components/PickerContent/PickerContentAdditionalStep.st.css.d.ts.map +1 -1
  284. package/dist/types/components/PlaceholderStates/PlaceholderStatesBase.d.ts +6 -2
  285. package/dist/types/components/PlaceholderStates/PlaceholderStatesBase.d.ts.map +1 -1
  286. package/dist/types/components/ScrollableContent/ScrollableContent.st.css.d.ts.map +1 -1
  287. package/dist/types/components/SlidingModal/SlidingModal.st.css.d.ts.map +1 -1
  288. package/dist/types/components/SummaryBar/SummaryBar.uni.driver.d.ts +1 -1
  289. package/dist/types/components/Table/Table.uni.driver.d.ts +41 -9
  290. package/dist/types/components/Table/Table.uni.driver.d.ts.map +1 -1
  291. package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts +53 -21
  292. package/dist/types/components/TableFolders/TableFolders.uni.driver.d.ts.map +1 -1
  293. package/dist/types/components/TableFolders/TableFoldersContent.d.ts +14 -4
  294. package/dist/types/components/TableFolders/TableFoldersContent.d.ts.map +1 -1
  295. package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts +81 -11
  296. package/dist/types/components/TableGridSwitch/TableGridSwitch.uni.driver.d.ts.map +1 -1
  297. package/dist/types/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.d.ts +140 -31
  298. package/dist/types/components/TableGridSwitchFolders/TableGridSwitchFolders.uni.driver.d.ts.map +1 -1
  299. package/dist/types/components/TablePlaceholderStates/TablePlaceholderStates.d.ts +4 -5
  300. package/dist/types/components/TablePlaceholderStates/TablePlaceholderStates.d.ts.map +1 -1
  301. package/dist/types/components/TabsFilter/TabsFilter.st.css.d.ts.map +1 -1
  302. package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.d.ts.map +1 -1
  303. package/dist/types/components/ToolbarCollection/ToolbarCollection.d.ts +13 -9
  304. package/dist/types/components/ToolbarCollection/ToolbarCollection.d.ts.map +1 -1
  305. package/dist/types/components/ToolbarCollection/useToolbarCollectionSyncProps.d.ts.map +1 -1
  306. package/dist/types/components/ToolbarItemBox/ToolbarItemBox.st.css.d.ts.map +1 -1
  307. package/dist/types/components/common.st.css.d.ts.map +1 -1
  308. package/dist/types/index.d.ts +2 -4
  309. package/dist/types/index.d.ts.map +1 -1
  310. package/dist/types/state/FeaturesAvailabilityBIParams.d.ts +1 -0
  311. package/dist/types/state/FeaturesAvailabilityBIParams.d.ts.map +1 -1
  312. package/dist/types/state/FoldersAndItemsCollectionsState.d.ts +3 -0
  313. package/dist/types/state/FoldersAndItemsCollectionsState.d.ts.map +1 -1
  314. package/dist/types/state/GridFoldersState.d.ts +3 -0
  315. package/dist/types/state/GridFoldersState.d.ts.map +1 -1
  316. package/dist/types/state/NestedTableState/NestedTableFlatModeState.d.ts +3 -0
  317. package/dist/types/state/NestedTableState/NestedTableFlatModeState.d.ts.map +1 -1
  318. package/dist/types/state/NestedTableState/NestedTableNestedModeState.d.ts +3 -0
  319. package/dist/types/state/NestedTableState/NestedTableNestedModeState.d.ts.map +1 -1
  320. package/dist/types/state/TableFoldersState.d.ts +3 -0
  321. package/dist/types/state/TableFoldersState.d.ts.map +1 -1
  322. package/dist/types/state/TableState.d.ts +3 -0
  323. package/dist/types/state/TableState.d.ts.map +1 -1
  324. package/dist/types/testkit/enzyme.d.ts +478 -108
  325. package/dist/types/testkit/enzyme.d.ts.map +1 -1
  326. package/dist/types/testkit/jsdom.d.ts +478 -108
  327. package/dist/types/testkit/jsdom.d.ts.map +1 -1
  328. package/dist/types/testkit/puppeteer.d.ts +478 -108
  329. package/dist/types/testkit/puppeteer.d.ts.map +1 -1
  330. package/dist/types/version.d.ts +1 -1
  331. package/package.json +5 -4
  332. package/page/package.json +6 -0
  333. package/dist/cjs/components/CommonEmptyState/CommonEmptyState.js +0 -76
  334. package/dist/cjs/components/CommonEmptyState/CommonEmptyState.js.map +0 -1
  335. package/dist/cjs/components/CommonEmptyState/index.js +0 -10
  336. package/dist/cjs/components/CommonEmptyState/index.js.map +0 -1
  337. package/dist/cjs/components/CommonTableEmptyState/CommonTableEmptyState.js +0 -31
  338. package/dist/cjs/components/CommonTableEmptyState/CommonTableEmptyState.js.map +0 -1
  339. package/dist/cjs/components/CommonTableEmptyState/index.js +0 -10
  340. package/dist/cjs/components/CommonTableEmptyState/index.js.map +0 -1
  341. package/dist/cjs/components/EmptyState/CollectionEmptyStateBase.js +0 -23
  342. package/dist/cjs/components/EmptyState/CollectionEmptyStateBase.js.map +0 -1
  343. package/dist/cjs/components/EmptyState/CollectionEmptyStateBasePrivate.js +0 -56
  344. package/dist/cjs/components/EmptyState/CollectionEmptyStateBasePrivate.js.map +0 -1
  345. package/dist/cjs/components/EmptyState/CollectionEmptyStateFallback.js +0 -105
  346. package/dist/cjs/components/EmptyState/CollectionEmptyStateFallback.js.map +0 -1
  347. package/dist/cjs/components/EmptyState/PremiumEmptyState.js +0 -74
  348. package/dist/cjs/components/EmptyState/PremiumEmptyState.js.map +0 -1
  349. package/dist/cjs/components/EmptyState/PremiumEmptyState.uni.driver.js.map +0 -1
  350. package/dist/cjs/components/Illustration/PremiumEmptyStateIllustration.js.map +0 -1
  351. package/dist/cjs/hooks/useCollectionEmptyStateImage.js +0 -32
  352. package/dist/cjs/hooks/useCollectionEmptyStateImage.js.map +0 -1
  353. package/dist/cjs/hooks/useCollectionEmptyStateTexts.js +0 -112
  354. package/dist/cjs/hooks/useCollectionEmptyStateTexts.js.map +0 -1
  355. package/dist/esm/components/CommonEmptyState/CommonEmptyState.js +0 -31
  356. package/dist/esm/components/CommonEmptyState/CommonEmptyState.js.map +0 -1
  357. package/dist/esm/components/CommonEmptyState/index.js +0 -2
  358. package/dist/esm/components/CommonEmptyState/index.js.map +0 -1
  359. package/dist/esm/components/CommonTableEmptyState/CommonTableEmptyState.js +0 -13
  360. package/dist/esm/components/CommonTableEmptyState/CommonTableEmptyState.js.map +0 -1
  361. package/dist/esm/components/CommonTableEmptyState/index.js +0 -2
  362. package/dist/esm/components/CommonTableEmptyState/index.js.map +0 -1
  363. package/dist/esm/components/EmptyState/CollectionEmptyStateBase.js +0 -8
  364. package/dist/esm/components/EmptyState/CollectionEmptyStateBase.js.map +0 -1
  365. package/dist/esm/components/EmptyState/CollectionEmptyStateBasePrivate.js +0 -18
  366. package/dist/esm/components/EmptyState/CollectionEmptyStateBasePrivate.js.map +0 -1
  367. package/dist/esm/components/EmptyState/CollectionEmptyStateFallback.js +0 -28
  368. package/dist/esm/components/EmptyState/CollectionEmptyStateFallback.js.map +0 -1
  369. package/dist/esm/components/EmptyState/PremiumEmptyState.js +0 -27
  370. package/dist/esm/components/EmptyState/PremiumEmptyState.js.map +0 -1
  371. package/dist/esm/components/EmptyState/PremiumEmptyState.uni.driver.js.map +0 -1
  372. package/dist/esm/components/Illustration/PremiumEmptyStateIllustration.js.map +0 -1
  373. package/dist/esm/hooks/useCollectionEmptyStateImage.js +0 -12
  374. package/dist/esm/hooks/useCollectionEmptyStateImage.js.map +0 -1
  375. package/dist/esm/hooks/useCollectionEmptyStateTexts.js.map +0 -1
  376. package/dist/types/components/CommonEmptyState/CommonEmptyState.d.ts +0 -26
  377. package/dist/types/components/CommonEmptyState/CommonEmptyState.d.ts.map +0 -1
  378. package/dist/types/components/CommonEmptyState/index.d.ts +0 -2
  379. package/dist/types/components/CommonEmptyState/index.d.ts.map +0 -1
  380. package/dist/types/components/CommonTableEmptyState/CommonTableEmptyState.d.ts +0 -11
  381. package/dist/types/components/CommonTableEmptyState/CommonTableEmptyState.d.ts.map +0 -1
  382. package/dist/types/components/CommonTableEmptyState/index.d.ts +0 -2
  383. package/dist/types/components/CommonTableEmptyState/index.d.ts.map +0 -1
  384. package/dist/types/components/EmptyState/CollectionEmptyStateBase.d.ts +0 -8
  385. package/dist/types/components/EmptyState/CollectionEmptyStateBase.d.ts.map +0 -1
  386. package/dist/types/components/EmptyState/CollectionEmptyStateBasePrivate.d.ts +0 -8
  387. package/dist/types/components/EmptyState/CollectionEmptyStateBasePrivate.d.ts.map +0 -1
  388. package/dist/types/components/EmptyState/CollectionEmptyStateFallback.d.ts +0 -11
  389. package/dist/types/components/EmptyState/CollectionEmptyStateFallback.d.ts.map +0 -1
  390. package/dist/types/components/EmptyState/PremiumEmptyState.d.ts +0 -12
  391. package/dist/types/components/EmptyState/PremiumEmptyState.d.ts.map +0 -1
  392. package/dist/types/components/EmptyState/PremiumEmptyState.uni.driver.d.ts.map +0 -1
  393. package/dist/types/components/Illustration/PremiumEmptyStateIllustration.d.ts +0 -3
  394. package/dist/types/components/Illustration/PremiumEmptyStateIllustration.d.ts.map +0 -1
  395. package/dist/types/hooks/useCollectionEmptyStateImage.d.ts +0 -10
  396. package/dist/types/hooks/useCollectionEmptyStateImage.d.ts.map +0 -1
  397. package/dist/types/hooks/useCollectionEmptyStateTexts.d.ts +0 -15
  398. package/dist/types/hooks/useCollectionEmptyStateTexts.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/MaxLines/MaxLines.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"MaxLines418646456\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"MaxLines418646456__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mBAAmB;AACrC,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAAyB,CAAC;AAChD,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/MaxLines/MaxLines.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"MaxLines1200751367\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"MaxLines1200751367__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,oBAAoB;AACtC,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA0B,CAAC;AACjD,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "MultiBulkActionToolbar521964860";
8
+ var _namespace_ = "MultiBulkActionToolbar2708422180";
9
9
  var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
10
10
  var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
11
11
  var style = exports.style = _style_;
12
12
  var st = exports.st = _style_;
13
13
  var namespace = exports.namespace = _namespace_;
14
14
  var classes = exports.classes = {
15
- "root": "MultiBulkActionToolbar521964860__root"
15
+ "root": "MultiBulkActionToolbar2708422180__root"
16
16
  };
17
17
  var keyframes = exports.keyframes = {};
18
18
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"MultiBulkActionToolbar521964860\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"MultiBulkActionToolbar521964860__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,iCAAiC;AACnD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAAuC,CAAC;AAC9D,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"MultiBulkActionToolbar2708422180\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"MultiBulkActionToolbar2708422180__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,kCAAkC;AACpD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAAwC,CAAC;AAC/D,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
@@ -32,7 +32,7 @@ function _NestedTable(props) {
32
32
  __self: this,
33
33
  __source: {
34
34
  fileName: _jsxFileName,
35
- lineNumber: 106,
35
+ lineNumber: 117,
36
36
  columnNumber: 5
37
37
  }
38
38
  }, /*#__PURE__*/_react.default.createElement(_providers.TableProvider, {
@@ -40,14 +40,14 @@ function _NestedTable(props) {
40
40
  __self: this,
41
41
  __source: {
42
42
  fileName: _jsxFileName,
43
- lineNumber: 107,
43
+ lineNumber: 118,
44
44
  columnNumber: 7
45
45
  }
46
46
  }, /*#__PURE__*/_react.default.createElement(_NestedTableWSRTable.NestedTableWSRTable, (0, _extends2.default)({}, props, {
47
47
  __self: this,
48
48
  __source: {
49
49
  fileName: _jsxFileName,
50
- lineNumber: 108,
50
+ lineNumber: 119,
51
51
  columnNumber: 9
52
52
  }
53
53
  }))));
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_providers","_CollectionCard","_NestedTableWSRTable","_mobxReactLite","_minimalRequiredWdsRuntimeCheck","_jsxFileName","_NestedTable","props","state","dataHook","toolbar","process","env","NODE_ENV","minimalRequiredWdsRuntimeCheck","required","requiredBy","default","createElement","CollectionCard","renderError","__self","__source","fileName","lineNumber","columnNumber","TableProvider","value","tableState","NestedTableWSRTable","_extends2","NestedTable","exports","observer"],"sources":["../../../../src/components/NestedTable/NestedTable.tsx"],"sourcesContent":["import React, { ReactElement } from 'react';\nimport { TableProvider } from '../../providers';\nimport { CollectionCard } from '../CollectionCard';\nimport { NestedTableState } from '../../state';\nimport { ToolbarBaseProps } from '../ToolbarCollection';\nimport { NestedTableWSRTable } from './NestedTableWSRTable';\nimport { observer } from 'mobx-react-lite';\nimport { minimalRequiredWdsRuntimeCheck } from '../../minimalRequiredWdsRuntimeCheck';\nimport {\n DragAndDropBulkSubmit,\n DragAndDropCancel,\n DragAndDropSubmit,\n} from '../DragAndDrop';\nimport { NestedTableDragAndDrop } from '../NestedTableDragAndDrop';\n\nexport interface NestedTableProps<C extends string>\n extends ToolbarBaseProps<C> {\n /**\n * A state object created with [`useNestedTable`](./?path=/story/common-hooks--usenestedtable)\n */\n state: NestedTableState<C>;\n /**\n * A render function to be rendered when there's an error fetching data from the server.<br>\n * The function accepts the following parameters\n * * `err`: The error thrown by the [fetchData](./?path=/story/common-hooks--usecollection) function\n * * `isOnline`: Indicates whether internet connection is available\n * * `retry`: Retry fetch on failed response\n */\n renderError?: (params: {\n err: unknown;\n isOnline: boolean;\n retry: () => void;\n }) => ReactElement;\n /** A render function to be rendered when there's no items to show in the table */\n renderEmptyState?: () => ReactElement;\n horizontalScroll?: boolean;\n dataHook?: string;\n rowHeight?: number;\n estimatedRowHeight?: number;\n /**\n * Width for the column that contains the `actionCell` component\n */\n actionCellWidth?: string | number;\n\n /**\n * Drag and drop implementation: `import { NestedTableDragAndDrop } from '@wix/patterns';`\n * > In order to make the drag and drop also re-order the collection after drop, also add [OptimisticActions](./?path=/story/components-collection-features--optimistic-actions).\n */\n dragAndDrop?: typeof NestedTableDragAndDrop;\n\n /**\n * A function that submits a drop event to the server. The function accepts the following arguments: <br>\n * - `from: {item: T; index: number}` - Item that was dragged\n * - `after: null | {item: T; index: number}` - Item that the dragged item was dropped after. If dropped at the head of the collection, this argument will be `null`\n * - `filters` - Currently applied filters, for cases your server holds a unique ordering per filtering (see `dragAndDropCategories` prop)\n *\n * @returns Promise\n */\n dragAndDropSubmit?: DragAndDropSubmit<any, any>;\n\n /**\n * A function that submits a drop event to the server. The function accepts the array of following objects: <br>\n * - `from: {item: T; index: number}` - Item that was dragged\n * - `after: null | {item: T; index: number}` - Item that the dragged item was dropped after. If dropped at the head of the collection, this argument will be `null`\n * - `filters` - Currently applied filters, for cases your server holds a unique ordering per filtering (see `dragAndDropCategories` prop)\n *\n * @returns Promise\n */\n dragAndDropBulkSubmit?: DragAndDropBulkSubmit<any, any>;\n\n /**\n * A function that cancels a drop event. The function accepts the following arguments: <br>\n * - `from: {item: T; index: number}` - Item that was dragged\n * - `after: null | {item: T; index: number}` - Item that the dragged item was dropped after. If dropped at the head of the collection, this argument will be `null`\n * - `filters` - Currently applied filters, for cases your server holds a unique ordering per filtering (see `dragAndDropCategories` prop)\n *\n * If the move should be cancelled, the function should return a toast config object with a message explaining why the move was cancelled. Otherwise, the function should return nullish value.\n */\n dragAndDropCancel?: DragAndDropCancel<any, any>;\n\n /**\n * List of filter names combinations that your server holds a unique ordering for. If this prop is not passed, drag and drop will be enabled only when no filters are applied.<br>\n * If you pass this prop, you should explicitly pass `[]` as one of the combinations in order to enable drag and drop when no filters are applied, for example: `dragAndDropCategories={[[], ['status']]}`\n */\n dragAndDropCategories?: (keyof any)[][] | null;\n\n /**\n * Indicates whether the table should have an internal scroll (instead of the default page scroll)\n */\n internalScroll?: boolean;\n}\n\nfunction _NestedTable<C extends string>(props: NestedTableProps<C>) {\n const { state, dataHook } = props;\n\n const { toolbar } = state;\n\n if (process.env.NODE_ENV !== 'production') {\n minimalRequiredWdsRuntimeCheck({\n required: '^1.64.1',\n requiredBy: 'Cairo/NestedTable',\n });\n }\n\n return (\n <CollectionCard renderError={false} state={toolbar} dataHook={dataHook}>\n <TableProvider value={state.tableState}>\n <NestedTableWSRTable {...props} />\n </TableProvider>\n </CollectionCard>\n );\n}\n\nexport const NestedTable = observer(_NestedT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ACD,CAAC;AAErB;AAEO,MAAMM,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,IAAAE,uBAAQ,EAAC3B,YAAY,CAAC"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_providers","_CollectionCard","_NestedTableWSRTable","_mobxReactLite","_minimalRequiredWdsRuntimeCheck","_jsxFileName","_NestedTable","props","state","dataHook","toolbar","process","env","NODE_ENV","minimalRequiredWdsRuntimeCheck","required","requiredBy","default","createElement","CollectionCard","renderError","__self","__source","fileName","lineNumber","columnNumber","TableProvider","value","tableState","NestedTableWSRTable","_extends2","NestedTable","exports","observer"],"sources":["../../../../src/components/NestedTable/NestedTable.tsx"],"sourcesContent":["import React, { ReactElement, ReactNode } from 'react';\nimport { TableProvider } from '../../providers';\nimport { CollectionCard } from '../CollectionCard';\nimport { NestedTableState } from '../../state';\nimport { ToolbarBaseProps } from '../ToolbarCollection';\nimport { NestedTableWSRTable } from './NestedTableWSRTable';\nimport { observer } from 'mobx-react-lite';\nimport { minimalRequiredWdsRuntimeCheck } from '../../minimalRequiredWdsRuntimeCheck';\nimport {\n DragAndDropBulkSubmit,\n DragAndDropCancel,\n DragAndDropSubmit,\n} from '../DragAndDrop';\nimport { NestedTableDragAndDrop } from '../NestedTableDragAndDrop';\n\nexport interface NestedTableProps<C extends string>\n extends ToolbarBaseProps<C> {\n /**\n * A state object created with [`useNestedTable`](./?path=/story/common-hooks--usenestedtable)\n */\n state: NestedTableState<C>;\n /**\n * A render function to be rendered when there's an error fetching data from the server.<br>\n * The function accepts the following parameters\n * * `err`: The error thrown by the [fetchData](./?path=/story/common-hooks--usecollection) function\n * * `isOnline`: Indicates whether internet connection is available\n * * `retry`: Retry fetch on failed response\n */\n renderError?: (params: {\n err: unknown;\n isOnline: boolean;\n retry: () => void;\n }) => ReactElement;\n /**\n * Enable to configure Wix Patterns default EmptyState behaviour.\n * Will be shown in when the collection is empty.\n * Pass [`<CollectionEmptyState />`](./?path=/story/components-collection-features--empty-state) component.\n */\n emptyState?: ReactNode;\n\n /**\n * Enable to configure Wix Patterns default NoResultsState behaviour.\n * Will be shown in when the the results after search or filter is empty.\n * Pass [`<NoResultsState />`](./?path=/story/components-collection-features--no-results-state) component.\n */\n noResultsState?: ReactNode;\n horizontalScroll?: boolean;\n dataHook?: string;\n rowHeight?: number;\n estimatedRowHeight?: number;\n /**\n * Width for the column that contains the `actionCell` component\n */\n actionCellWidth?: string | number;\n\n /**\n * Drag and drop implementation: `import { NestedTableDragAndDrop } from '@wix/patterns';`\n * > In order to make the drag and drop also re-order the collection after drop, also add [OptimisticActions](./?path=/story/components-collection-features--optimistic-actions).\n */\n dragAndDrop?: typeof NestedTableDragAndDrop;\n\n /**\n * A function that submits a drop event to the server. The function accepts the following arguments: <br>\n * - `from: {item: T; index: number}` - Item that was dragged\n * - `after: null | {item: T; index: number}` - Item that the dragged item was dropped after. If dropped at the head of the collection, this argument will be `null`\n * - `filters` - Currently applied filters, for cases your server holds a unique ordering per filtering (see `dragAndDropCategories` prop)\n *\n * @returns Promise\n */\n dragAndDropSubmit?: DragAndDropSubmit<any, any>;\n\n /**\n * A function that submits a drop event to the server. The function accepts the array of following objects: <br>\n * - `from: {item: T; index: number}` - Item that was dragged\n * - `after: null | {item: T; index: number}` - Item that the dragged item was dropped after. If dropped at the head of the collection, this argument will be `null`\n * - `filters` - Currently applied filters, for cases your server holds a unique ordering per filtering (see `dragAndDropCategories` prop)\n *\n * @returns Promise\n */\n dragAndDropBulkSubmit?: DragAndDropBulkSubmit<any, any>;\n\n /**\n * A function that cancels a drop event. The function accepts the following arguments: <br>\n * - `from: {item: T; index: number}` - Item that was dragged\n * - `after: null | {item: T; index: number}` - Item that the dragged item was dropped after. If dropped at the head of the collection, this argument will be `null`\n * - `filters` - Currently applied filters, for cases your server holds a unique ordering per filtering (see `dragAndDropCategories` prop)\n *\n * If the move should be cancelled, the function should return a toast config object with a message explaining why the move was cancelled. Otherwise, the function should return nullish value.\n */\n dragAndDropCancel?: DragAndDropCancel<any, any>;\n\n /**\n * List of filter names combinations that your server holds a unique ordering for. If this prop is not passed, drag and drop will be enabled only when no filters are applied.<br>\n * If you pass this prop, you should explicitly pass `[]` as one of the combinations in order to enable drag and drop when no filters are applied, for example: `dragAndDropCategories={[[], ['status']]}`\n */\n dragAndDropCategories?: (keyof any)[][] | null;\n\n /**\n * Indicates whether the table should have an internal scroll (instead of the default page scroll)\n */\n internalScroll?: boolean;\n}\n\nfunction _NestedTable<C extends string>(props: NestedTableProps<C>) {\n const { state, dataHook } = props;\n\n const { toolbar } = state;\n\n if (process.env.NODE_ENV !== 'production') {\n minimalRequiredWdsRuntimeCheck({\n required: '^1.64.1',\n requiredBy: 'Cairo/NestedTable',\n });\n }\n\n return (\n <CollectionCard renderError={false} state={toolbar} dataHook={dataHook}>\n <TableProvider value={state.tableState}>\n <NestedTableWSRTable {...props} />\n </TableProvider>\n </CollectionCard>\n );\n}\n\nexport const NestedTable = observer(_NestedTable);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AAGA,IAAAG,oBAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,+BAAA,GAAAL,OAAA;AAAsF,IAAAM,YAAA;AAgGtF,SAASC,YAAYA,CAAmBC,KAA0B,EAAE;EAClE,MAAM;IAAEC,KAAK;IAAEC;EAAS,CAAC,GAAGF,KAAK;EAEjC,MAAM;IAAEG;EAAQ,CAAC,GAAGF,KAAK;EAEzB,IAAIG,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,EAAE;IACzC,IAAAC,8DAA8B,EAAC;MAC7BC,QAAQ,EAAE,SAAS;MACnBC,UAAU,EAAE;IACd,CAAC,CAAC;EACJ;EAEA,oBACEnB,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAACjB,eAAA,CAAAkB,cAAc;IAACC,WAAW,EAAE,KAAM;IAACZ,KAAK,EAAEE,OAAQ;IAACD,QAAQ,EAAEA,QAAS;IAAAY,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAlB,YAAA;MAAAmB,UAAA;MAAAC,YAAA;IAAA;EAAA,gBACrE5B,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAAClB,UAAA,CAAA0B,aAAa;IAACC,KAAK,EAAEnB,KAAK,CAACoB,UAAW;IAAAP,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAlB,YAAA;MAAAmB,UAAA;MAAAC,YAAA;IAAA;EAAA,gBACrC5B,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAAChB,oBAAA,CAAA2B,mBAAmB,MAAAC,SAAA,CAAAb,OAAA,MAAKV,KAAK;IAAAc,MAAA;IAAAC,QAAA;MAAAC,QAAA,EAAAlB,YAAA;MAAAmB,UAAA;MAAAC,YAAA;IAAA;EAAA,EAAG,CACpB,CACD,CAAC;AAErB;AAEO,MAAMM,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,IAAAE,uBAAQ,EAAC3B,YAAY,CAAC"}
@@ -5,7 +5,6 @@ exports.__esModule = true;
5
5
  exports.NestedTableUniDriver = NestedTableUniDriver;
6
6
  exports.default = void 0;
7
7
  var _ToolbarCollectionErrorStateUni = require("../ErrorState/ToolbarCollectionErrorState.uni.driver");
8
- var _CollectionEmptyStateUni = require("../EmptyState/CollectionEmptyState.uni.driver");
9
8
  var _CollectionToolbarUni = require("../CollectionToolbar/CollectionToolbar.uni.driver");
10
9
  var _AppliedFiltersTagListUni = require("../AppliedFiltersTagList/AppliedFiltersTagList.uni.driver");
11
10
  var _TableUni = _interopRequireDefault(require("../Table/Table.uni.driver"));
@@ -25,7 +24,6 @@ function NestedTableUniDriver(base, body) {
25
24
  toolbar: () => toolbar(),
26
25
  loadingStateExists,
27
26
  getRootErrorStateByDataHook: (dataHook = 'placeholder-states-error-state') => (0, _ToolbarCollectionErrorStateUni.ToolbarCollectionErrorStateUniDriver)(base.$(`[data-hook="${dataHook}"]`), body),
28
- getRootEmptyStateByDataHook: (dataHook = 'placeholder-states-empty-state') => (0, _CollectionEmptyStateUni.CollectionEmptyStateUniDriver)(base.$(`[data-hook="${dataHook}"]`), body),
29
27
  subToolbar: () => (0, _AppliedFiltersTagListUni.AppliedFiltersTagListUniDriver)(base.$('[data-hook="collection-table-sub-toolbar"]'), body),
30
28
  isRowExpandable: async rowKey => {
31
29
  var _await$table$_getRowB;
@@ -1 +1 @@
1
- {"version":3,"names":["_ToolbarCollectionErrorStateUni","require","_CollectionEmptyStateUni","_CollectionToolbarUni","_AppliedFiltersTagListUni","_TableUni","_interopRequireDefault","_NestedTableParentCellUni","_NestedTableFlatModeMainCellUni","_NestedTableRowPlaceholderStatesUni","_CollectionItemActionsUni","_SummaryBarUni","NestedTableUniDriver","base","body","toolbarBase","$","toolbar","CollectionToolbarUniDriver","table","TableUniDriver","loadingStateExists","exists","getSummaryBar","SummaryBarUniDriver","getRootErrorStateByDataHook","dataHook","ToolbarCollectionErrorStateUniDriver","getRootEmptyStateByDataHook","CollectionEmptyStateUniDriver","subToolbar","AppliedFiltersTagListUniDriver","isRowExpandable","rowKey","_await$table$_getRowB","_getRowByKey","attr","includes","getMainColumnAt","row","NestedTableParentCellUniDriver","_getCellByRowIndexAndCellKey","getActionCellByKey","CollectionItemActionsUniDriver","getMainColumnByKey","_getCellByKey","getFlatModeMainColumnByKey","NestedTableFlatModeMainCellUniDriver","getFlatModeMainColumnAt","getPlaceholderStatesByRowKey","NestedTableRowPlaceholderStatesUniDriver","_default","exports","default"],"sources":["../../../../src/components/NestedTable/NestedTable.uni.driver.ts"],"sourcesContent":["import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';\nimport { ToolbarCollectionErrorStateUniDriver } from '../ErrorState/ToolbarCollectionErrorState.uni.driver';\nimport { CollectionEmptyStateUniDriver } from '../EmptyState/CollectionEmptyState.uni.driver';\nimport { CollectionToolbarUniDriver } from '../CollectionToolbar/CollectionToolbar.uni.driver';\nimport { AppliedFiltersTagListUniDriver } from '../AppliedFiltersTagList/AppliedFiltersTagList.uni.driver';\nimport TableUniDriver from '../Table/Table.uni.driver';\nimport { NestedTableParentCellUniDriver } from './NestedTableParentCell.uni.driver';\nimport { NestedTableFlatModeMainCellUniDriver } from './NestedTableFlatModeMainCell.uni.driver';\nimport { NestedTableRowPlaceholderStatesUniDriver } from './NestedTableRowPlaceholderStates.uni.driver';\nimport { CollectionItemActionsUniDriver } from '../CollectionItemActions/CollectionItemActions.uni.driver';\nimport { SummaryBarUniDriver } from '../SummaryBar/SummaryBar.uni.driver';\n\nexport function NestedTableUniDriver(base: UniDriver, body: UniDriver) {\n const toolbarBase = () => base.$('[data-hook=\"collection-toolbar\"]');\n\n const toolbar = () => CollectionToolbarUniDriver(toolbarBase(), body);\n\n const table = TableUniDriver(base, body);\n\n const loadingStateExists = () =>\n base.$('[data-hook=\"placeholder-states-loading-state\"]').exists();\n const getSummaryBar = () => SummaryBarUniDriver(base, body);\n\n return {\n ...table,\n toolbar: () => toolbar(),\n loadingStateExists,\n getRootErrorStateByDataHook: (\n dataHook = 'placeholder-states-error-state',\n ) =>\n ToolbarCollectionErrorStateUniDriver(\n base.$(`[data-hook=\"${dataHook}\"]`),\n body,\n ),\n getRootEmptyStateByDataHook: (\n dataHook = 'placeholder-states-empty-state',\n ) =>\n CollectionEmptyStateUniDriver(\n base.$(`[data-hook=\"${dataHook}\"]`),\n body,\n ),\n subToolbar: () =>\n AppliedFiltersTagListUniDriver(\n base.$('[data-hook=\"collection-table-sub-toolbar\"]'),\n body,\n ),\n\n isRowExpandable: async (rowKey: string) =>\n (await table._getRowByKey(rowKey).attr('class'))?.includes('expandable'),\n\n getMainColumnAt: (row: number) =>\n NestedTableParentCellUniDriver(\n table._getCellByRowIndexAndCellKey(row, 'nested-mode-main-column'),\n body,\n ),\n\n getActionCellByKey: (rowKey: string) =>\n CollectionItemActionsUniDriver(table._getRowByKey(rowKey), body),\n\n getMainColumnByKey: (rowKey: string) =>\n NestedTableParentCellUniDriver(\n table._getCellByKey(rowKey, 'nested-mode-main-column'),\n body,\n ),\n\n getFlatModeMainColumnByKey: (rowKey: string) =>\n NestedTableFlatModeMainCellUniDriver(\n table._getCellByKey(rowKey, 'flat-mode-main-column'),\n body,\n ),\n\n getFlatModeMainColumnAt: (row: number) =>\n NestedTableFlatModeMainCellUniDriver(\n table._getCellByRowIndexAndCellKey(row, 'flat-mode-main-column'),\n body,\n ),\n\n getPlaceholderStatesByRowKey: (rowKey: string) =>\n NestedTableRowPlaceholderStatesUniDriver(\n table._getRowByKey(`placeholder-states-${rowKey}`),\n body,\n ),\n /**\n * Gets collection summary bar\n */\n getSummaryBar,\n };\n}\n\nexport default NestedTableUniDriver;\n"],"mappings":";;;;;;AACA,IAAAA,+BAAA,GAAAC,OAAA;AACA,IAAAC,wBAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAF,OAAA;AACA,IAAAG,yBAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,yBAAA,GAAAN,OAAA;AACA,IAAAO,+BAAA,GAAAP,OAAA;AACA,IAAAQ,mCAAA,GAAAR,OAAA;AACA,IAAAS,yBAAA,GAAAT,OAAA;AACA,IAAAU,cAAA,GAAAV,OAAA;AAEO,SAASW,oBAAoBA,CAACC,IAAe,EAAEC,IAAe,EAAE;EACrE,MAAMC,WAAW,GAAGA,CAAA,KAAMF,IAAI,CAACG,CAAC,CAAC,kCAAkC,CAAC;EAEpE,MAAMC,OAAO,GAAGA,CAAA,KAAM,IAAAC,gDAA0B,EAACH,WAAW,CAAC,CAAC,EAAED,IAAI,CAAC;EAErE,MAAMK,KAAK,GAAG,IAAAC,iBAAc,EAACP,IAAI,EAAEC,IAAI,CAAC;EAExC,MAAMO,kBAAkB,GAAGA,CAAA,KACzBR,IAAI,CAACG,CAAC,CAAC,gDAAgD,CAAC,CAACM,MAAM,CAAC,CAAC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C,IAAAc,oEAAoC,EAClC5B,KAAK,CAAC0B,aAAa,CAACZ,MAAM,EAAE,uBAAuB,CAAC,EACpDnB,IACF,CAAC;IAEHkC,uBAAuB,EAAGT,GAAW,IACnC,IAAAQ,oEAAoC,EAClC5B,KAAK,CAACsB,4BAA4B,CAACF,GAAG,EAAE,uBAAuB,CAAC,EAChEzB,IACF,CAAC;IAEHmC,4BAA4B,EAAGhB,MAAc,IAC3C,IAAAiB,4EAAwC,EACtC/B,KAAK,CAACgB,YAAY,CAAE,sBAAqBF,MAAO,EAAC,CAAC,EAClDnB,IACF,CAAC;IACH;AACJ;AACA;IACIS;EACF,CAAC;AACH;AAAC,IAAA4B,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEczC,oBAAoB"}
1
+ {"version":3,"names":["_ToolbarCollectionErrorStateUni","require","_CollectionToolbarUni","_AppliedFiltersTagListUni","_TableUni","_interopRequireDefault","_NestedTableParentCellUni","_NestedTableFlatModeMainCellUni","_NestedTableRowPlaceholderStatesUni","_CollectionItemActionsUni","_SummaryBarUni","NestedTableUniDriver","base","body","toolbarBase","$","toolbar","CollectionToolbarUniDriver","table","TableUniDriver","loadingStateExists","exists","getSummaryBar","SummaryBarUniDriver","getRootErrorStateByDataHook","dataHook","ToolbarCollectionErrorStateUniDriver","subToolbar","AppliedFiltersTagListUniDriver","isRowExpandable","rowKey","_await$table$_getRowB","_getRowByKey","attr","includes","getMainColumnAt","row","NestedTableParentCellUniDriver","_getCellByRowIndexAndCellKey","getActionCellByKey","CollectionItemActionsUniDriver","getMainColumnByKey","_getCellByKey","getFlatModeMainColumnByKey","NestedTableFlatModeMainCellUniDriver","getFlatModeMainColumnAt","getPlaceholderStatesByRowKey","NestedTableRowPlaceholderStatesUniDriver","_default","exports","default"],"sources":["../../../../src/components/NestedTable/NestedTable.uni.driver.ts"],"sourcesContent":["import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';\nimport { ToolbarCollectionErrorStateUniDriver } from '../ErrorState/ToolbarCollectionErrorState.uni.driver';\nimport { CollectionToolbarUniDriver } from '../CollectionToolbar/CollectionToolbar.uni.driver';\nimport { AppliedFiltersTagListUniDriver } from '../AppliedFiltersTagList/AppliedFiltersTagList.uni.driver';\nimport TableUniDriver from '../Table/Table.uni.driver';\nimport { NestedTableParentCellUniDriver } from './NestedTableParentCell.uni.driver';\nimport { NestedTableFlatModeMainCellUniDriver } from './NestedTableFlatModeMainCell.uni.driver';\nimport { NestedTableRowPlaceholderStatesUniDriver } from './NestedTableRowPlaceholderStates.uni.driver';\nimport { CollectionItemActionsUniDriver } from '../CollectionItemActions/CollectionItemActions.uni.driver';\nimport { SummaryBarUniDriver } from '../SummaryBar/SummaryBar.uni.driver';\n\nexport function NestedTableUniDriver(base: UniDriver, body: UniDriver) {\n const toolbarBase = () => base.$('[data-hook=\"collection-toolbar\"]');\n\n const toolbar = () => CollectionToolbarUniDriver(toolbarBase(), body);\n\n const table = TableUniDriver(base, body);\n\n const loadingStateExists = () =>\n base.$('[data-hook=\"placeholder-states-loading-state\"]').exists();\n const getSummaryBar = () => SummaryBarUniDriver(base, body);\n\n return {\n ...table,\n toolbar: () => toolbar(),\n loadingStateExists,\n getRootErrorStateByDataHook: (\n dataHook = 'placeholder-states-error-state',\n ) =>\n ToolbarCollectionErrorStateUniDriver(\n base.$(`[data-hook=\"${dataHook}\"]`),\n body,\n ),\n subToolbar: () =>\n AppliedFiltersTagListUniDriver(\n base.$('[data-hook=\"collection-table-sub-toolbar\"]'),\n body,\n ),\n\n isRowExpandable: async (rowKey: string) =>\n (await table._getRowByKey(rowKey).attr('class'))?.includes('expandable'),\n\n getMainColumnAt: (row: number) =>\n NestedTableParentCellUniDriver(\n table._getCellByRowIndexAndCellKey(row, 'nested-mode-main-column'),\n body,\n ),\n\n getActionCellByKey: (rowKey: string) =>\n CollectionItemActionsUniDriver(table._getRowByKey(rowKey), body),\n\n getMainColumnByKey: (rowKey: string) =>\n NestedTableParentCellUniDriver(\n table._getCellByKey(rowKey, 'nested-mode-main-column'),\n body,\n ),\n\n getFlatModeMainColumnByKey: (rowKey: string) =>\n NestedTableFlatModeMainCellUniDriver(\n table._getCellByKey(rowKey, 'flat-mode-main-column'),\n body,\n ),\n\n getFlatModeMainColumnAt: (row: number) =>\n NestedTableFlatModeMainCellUniDriver(\n table._getCellByRowIndexAndCellKey(row, 'flat-mode-main-column'),\n body,\n ),\n\n getPlaceholderStatesByRowKey: (rowKey: string) =>\n NestedTableRowPlaceholderStatesUniDriver(\n table._getRowByKey(`placeholder-states-${rowKey}`),\n body,\n ),\n /**\n * Gets collection summary bar\n */\n getSummaryBar,\n };\n}\n\nexport default NestedTableUniDriver;\n"],"mappings":";;;;;;AACA,IAAAA,+BAAA,GAAAC,OAAA;AACA,IAAAC,qBAAA,GAAAD,OAAA;AACA,IAAAE,yBAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,yBAAA,GAAAL,OAAA;AACA,IAAAM,+BAAA,GAAAN,OAAA;AACA,IAAAO,mCAAA,GAAAP,OAAA;AACA,IAAAQ,yBAAA,GAAAR,OAAA;AACA,IAAAS,cAAA,GAAAT,OAAA;AAEO,SAASU,oBAAoBA,CAACC,IAAe,EAAEC,IAAe,EAAE;EACrE,MAAMC,WAAW,GAAGA,CAAA,KAAMF,IAAI,CAACG,CAAC,CAAC,kCAAkC,CAAC;EAEpE,MAAMC,OAAO,GAAGA,CAAA,KAAM,IAAAC,gDAA0B,EAACH,WAAW,CAAC,CAAC,EAAED,IAAI,CAAC;EAErE,MAAMK,KAAK,GAAG,IAAAC,iBAAc,EAACP,IAAI,EAAEC,IAAI,CAAC;EAExC,MAAMO,kBAAkB,GAAGA,CAAA,KACzBR,IAAI,CAACG,CAAC,CAAC,gDAAgD,CAAC,CAACM,MAAM,CAAC,CAAC;EACnE,MAAMC,aAAa,GAAGA,CAAA,KAAM,IAAAC,kCAAmB,EAACX,IAAI,EAAEC,IAAI,CAAC;EAE3D,OAA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hB,MAAc,IAC3C,IAAAiB,4EAAwC,EACtC7B,KAAK,CAACc,YAAY,CAAE,sBAAqBF,MAAO,EAAC,CAAC,EAClDjB,IACF,CAAC;IACH;AACJ;AACA;IACIS;EACF,CAAC;AACH;AAAC,IAAA0B,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEcvC,oBAAoB"}
@@ -5,17 +5,17 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "NestedTableRow1105316944";
8
+ var _namespace_ = "NestedTableRow952775239";
9
9
  var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
10
10
  var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
11
11
  var style = exports.style = _style_;
12
12
  var st = exports.st = _style_;
13
13
  var namespace = exports.namespace = _namespace_;
14
14
  var classes = exports.classes = {
15
- "root": "NestedTableRow1105316944__root",
16
- "firstLevel": "NestedTableRow1105316944__firstLevel",
17
- "placeholder": "NestedTableRow1105316944__placeholder",
18
- "parentHovered": "NestedTableRow1105316944__parentHovered"
15
+ "root": "NestedTableRow952775239__root",
16
+ "firstLevel": "NestedTableRow952775239__firstLevel",
17
+ "placeholder": "NestedTableRow952775239__placeholder",
18
+ "parentHovered": "NestedTableRow952775239__parentHovered"
19
19
  };
20
20
  var keyframes = exports.keyframes = {};
21
21
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/NestedTable/NestedTableRow.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"NestedTableRow1105316944\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"NestedTableRow1105316944__root\",\"firstLevel\":\"NestedTableRow1105316944__firstLevel\",\"placeholder\":\"NestedTableRow1105316944__placeholder\",\"parentHovered\":\"NestedTableRow1105316944__parentHovered\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,0BAA0B;AAC5C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,gCAAgC;EAAC,YAAY,EAAC,sCAAsC;EAAC,aAAa,EAAC,uCAAuC;EAAC,eAAe,EAAC;AAAyC,CAAC;AAC3N,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/NestedTable/NestedTableRow.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"NestedTableRow952775239\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"NestedTableRow952775239__root\",\"firstLevel\":\"NestedTableRow952775239__firstLevel\",\"placeholder\":\"NestedTableRow952775239__placeholder\",\"parentHovered\":\"NestedTableRow952775239__parentHovered\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,+BAA+B;EAAC,YAAY,EAAC,qCAAqC;EAAC,aAAa,EAAC,sCAAsC;EAAC,eAAe,EAAC;AAAwC,CAAC;AACvN,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
@@ -6,8 +6,8 @@ exports.NestedTableRowPlaceholderStates = void 0;
6
6
  var _react = _interopRequireDefault(require("react"));
7
7
  var _mobxReactLite = require("mobx-react-lite");
8
8
  var _designSystem = require("@wix/design-system");
9
- var _CollectionEmptyStateBasePrivate = require("../EmptyState/CollectionEmptyStateBasePrivate");
10
9
  var _ErrorState = require("../ErrorState");
10
+ var _CollectionEmptyState = require("../EmptyState/CollectionEmptyState");
11
11
  var _jsxFileName = "/home/builduser/work/db7ea24852bc3350/packages/cairo/dist/cjs/components/NestedTable/NestedTableRowPlaceholderStates.tsx";
12
12
  function _NestedTableRowPlaceholderStates(props) {
13
13
  const {
@@ -66,12 +66,13 @@ function _NestedTableRowPlaceholderStates(props) {
66
66
  }
67
67
  });
68
68
  } else if (showEmptyState) {
69
- child = /*#__PURE__*/_react.default.createElement(_CollectionEmptyStateBasePrivate.CollectionEmptyStateBasePrivate, {
70
- state: state.multi,
69
+ child = /*#__PURE__*/_react.default.createElement(_CollectionEmptyState.CollectionEmptyState, {
71
70
  dataHook: "empty-state",
72
71
  image: null,
73
- onAddNewClick: () => {
74
- state.levelDescriptor.onAddNewClick == null || state.levelDescriptor.onAddNewClick();
72
+ addNewCta: {
73
+ onClick: () => {
74
+ state.levelDescriptor.onAddNewClick == null || state.levelDescriptor.onAddNewClick();
75
+ }
75
76
  },
76
77
  __self: this,
77
78
  __source: {
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_designSystem","_CollectionEmptyStateBasePrivate","_ErrorState","_jsxFileName","_NestedTableRowPlaceholderStates","props","state","initTask","showLoadingState","showEmptyState","showErrorState","errorStatus","child","status","isError","default","createElement","ErrorState","dataHook","image","__self","__source","fileName","lineNumber","columnNumber","Box","padding","Loader","size","CollectionEmptyStateBasePrivate","multi","onAddNewClick","levelDescriptor","Fragment","NestedTableRowPlaceholderStates","exports","observer"],"sources":["../../../../src/components/NestedTable/NestedTableRowPlaceholderStates.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { Box, Loader } from '@wix/design-system';\nimport { CollectionEmptyStateBasePrivate } from '../EmptyState/CollectionEmptyStateBasePrivate';\nimport { NestedTableNodeState } from '../../state/NestedTableState/NestedTableNodeState';\nimport { ErrorState } from '../ErrorState';\n\nexport interface PlaceholderStatesProps {\n state: NestedTableNodeState<any, any, any>;\n}\n\nfunction _NestedTableRowPlaceholderStates(props: PlaceholderStatesProps) {\n const { state } = props;\n\n const {\n initTask,\n showLoadingState,\n showEmptyState,\n showErrorState,\n errorStatus,\n } = state;\n\n let child: ReactNode;\n\n if (initTask.status.isError) {\n child = (\n <ErrorState\n state={state}\n errorStatus={initTask.errorStatus}\n dataHook=\"error-state\"\n image={null}\n />\n );\n } else if (showLoadingState) {\n child = (\n <Box padding=\"12px\">\n <Loader dataHook=\"loading-state\" size=\"small\" />\n </Box>\n );\n } else if (showErrorState && errorStatus) {\n child = <ErrorState state={state} dataHook=\"error-state\" image={null} />;\n } else if (showEmptyState) {\n child = (\n <CollectionEmptyStateBasePrivate\n state={state.multi}\n dataHook=\"empty-state\"\n image={null}\n onAddNewClick={() => {\n state.levelDescriptor.onAddNewClick?.();\n }}\n />\n );\n }\n\n return <>{child}</>;\n}\n\nexport const NestedTableRowPlaceholderStates = observer(\n _NestedTableRowPlaceholderStates,\n);\n"],"mappings":";;;;;AAAA,IAAAA,MA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,cAAc,IAAIC,WAAW,EAAE;IACxCC,KAAK,gBAAGhB,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAACd,WAAA,CAAAe,UAAU;MAACX,KAAK,EAAEA,KAAM;MAACY,QAAQ,EAAC,aAAa;MAACC,KAAK,EAAE,IAAK;MAAAC,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAnB,YAAA;QAAAoB,UAAA;QAAAC,YAAA;MAAA;IAAA,CAAE,CAAC;EAC1E,CAAC,MAAM,IAAIf,cAAc,EAAE;IACzBG,KAAK,gBACHhB,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAACf,gCAAA,CAAA4B,+BAA+B;MAC9BvB,KAAK,EAAEA,KAAK,CAACwB,KAAM;MACnBZ,QAAQ,EAAC,aAAa;MACtBC,KAAK,EAAE,IAAK;MACZY,aAAa,EAAEA,CAAA,KAAM;QACnBzB,KAAK,CAAC0B,eAAe,CAACD,aAAa,YAAnCzB,KAAK,CAAC0B,eAAe,CAACD,aAAa,CAAG,CAAC;MACzC,CAAE;MAAAX,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAnB,YAAA;QAAAoB,UAAA;QAAAC,YAAA;MAAA;IAAA,CACH,CACF;EACH;EAEA,oBAAO5B,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAAApB,MAAA,CAAAmB,OAAA,CAAAkB,QAAA,QAAGrB,KAAQ,CAAC;AACrB;AAEO,MAAMsB,+BAA+B,GAAAC,OAAA,CAAAD,+BAAA,GAAG,IAAAE,uBAAQ,EACrDhC,gCACF,CAAC"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_mobxReactLite","_designSystem","_ErrorState","_CollectionEmptyState","_jsxFileName","_NestedTableRowPlaceholderStates","props","state","initTask","showLoadingState","showEmptyState","showErrorState","errorStatus","child","status","isError","default","createElement","ErrorState","dataHook","image","__self","__source","fileName","lineNumber","columnNumber","Box","padding","Loader","size","CollectionEmptyState","addNewCta","onClick","levelDescriptor","onAddNewClick","Fragment","NestedTableRowPlaceholderStates","exports","observer"],"sources":["../../../../src/components/NestedTable/NestedTableRowPlaceholderStates.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\nimport { observer } from 'mobx-react-lite';\nimport { Box, Loader } from '@wix/design-system';\nimport { NestedTableNodeState } from '../../state/NestedTableState/NestedTableNodeState';\nimport { ErrorState } from '../ErrorState';\nimport { CollectionEmptyState } from '../EmptyState/CollectionEmptyState';\n\nexport interface PlaceholderStatesProps {\n state: NestedTableNodeState<any, any, any>;\n}\n\nfunction _NestedTableRowPlaceholderStates(props: PlaceholderStatesProps) {\n const { state } = props;\n\n const {\n initTask,\n showLoadingState,\n showEmptyState,\n showErrorState,\n errorStatus,\n } = state;\n\n let child: ReactNode;\n\n if (initTask.status.isError) {\n child = (\n <ErrorState\n state={state}\n errorStatus={initTask.errorStatus}\n dataHook=\"error-state\"\n image={null}\n />\n );\n } else if (showLoadingState) {\n child = (\n <Box padding=\"12px\">\n <Loader dataHook=\"loading-state\" size=\"small\" />\n </Box>\n );\n } else if (showErrorState && errorStatus) {\n child = <ErrorState state={state} dataHook=\"error-state\" image={null} />;\n } else if (showEmptyState) {\n child = (\n <CollectionEmptyState\n dataHook=\"empty-state\"\n image={null}\n addNewCta={{\n onClick: () => {\n state.levelDescriptor.onAddNewClick?.();\n },\n }}\n />\n );\n }\n\n return <>{child}</>;\n}\n\nexport const NestedTableRowPlaceholderStates = observer(\n _NestedTableRowPlaceholderStates,\n);\n"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAEA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AAA0E,IAAAK,YAAA;AAM1E,SAASC,gCAAgCA,CAACC,KAA6B,EAAE;EACvE,MAAM;IAAEC;EAAM,CAAC,GAAGD,KAAK;EAEvB,MAAM;IACJE,QAAQ;I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1E,CAAC,MAAM,IAAIf,cAAc,EAAE;IACzBG,KAAK,gBACHhB,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAACd,qBAAA,CAAA2B,oBAAoB;MACnBX,QAAQ,EAAC,aAAa;MACtBC,KAAK,EAAE,IAAK;MACZW,SAAS,EAAE;QACTC,OAAO,EAAEA,CAAA,KAAM;UACbzB,KAAK,CAAC0B,eAAe,CAACC,aAAa,YAAnC3B,KAAK,CAAC0B,eAAe,CAACC,aAAa,CAAG,CAAC;QACzC;MACF,CAAE;MAAAb,MAAA;MAAAC,QAAA;QAAAC,QAAA,EAAAnB,YAAA;QAAAoB,UAAA;QAAAC,YAAA;MAAA;IAAA,CACH,CACF;EACH;EAEA,oBAAO5B,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAAApB,MAAA,CAAAmB,OAAA,CAAAmB,QAAA,QAAGtB,KAAQ,CAAC;AACrB;AAEO,MAAMuB,+BAA+B,GAAAC,OAAA,CAAAD,+BAAA,GAAG,IAAAE,uBAAQ,EACrDjC,gCACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"names":["_unidriver","require","_CollectionEmptyStateUni","_unidriver2","_ToolbarCollectionErrorStateUni","NestedTableRowPlaceholderStatesUniDriver","base","body","baseUniDriverFactory","getEmptyState","CollectionEmptyStateUniDriver","$","getErrorState","ToolbarCollectionErrorStateUniDriver","getLoadingState","LoaderUniDriver"],"sources":["../../../../src/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.ts"],"sourcesContent":["import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';\nimport { baseUniDriverFactory } from '../../unidriver';\nimport { CollectionEmptyStateUniDriver } from '../EmptyState/CollectionEmptyState.uni.driver';\nimport { LoaderUniDriver } from '@wix/design-system/dist/testkit/unidriver';\nimport { ToolbarCollectionErrorStateUniDriver } from '../ErrorState/ToolbarCollectionErrorState.uni.driver';\n\nexport function NestedTableRowPlaceholderStatesUniDriver(\n base: UniDriver,\n body: UniDriver,\n) {\n return {\n ...baseUniDriverFactory(base),\n getEmptyState: () =>\n CollectionEmptyStateUniDriver(\n base.$('[data-hook=\"empty-state\"]'),\n body,\n ),\n getErrorState: () =>\n ToolbarCollectionErrorStateUniDriver(\n base.$('[data-hook=\"error-state\"]'),\n body,\n ),\n getLoadingState: () =>\n LoaderUniDriver(base.$('[data-hook=\"loading-state\"]'), body),\n };\n}\n"],"mappings":";;;;AACA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,wBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,+BAAA,GAAAH,OAAA;AAEO,SAASI,wCAAwCA,CACtDC,IAAe,EACfC,IAAe,EACf;EACA,OAAO;IACL,GAAG,IAAAC,+BAAoB,EAACF,IAAI,CAAC;IAC7BG,aAAa,EAAEA,CAAA,KACb,IAAAC,sDAA6B,EAC3BJ,IAAI,CAACK,CAAC,CAAC,2BAA2B,CAAC,EACnCJ,IACF,CAAC;IACHK,aAAa,EAAEA,CAAA,KACb,IAAAC,oEAAoC,EAClCP,IAAI,CAACK,CAAC,CAAC,2BAA2B,CAAC,EACnCJ,IACF,CAAC;IACHO,eAAe,EAAEA,CAAA,KACf,IAAAC,2BAAe,EAACT,IAAI,CAACK,CAAC,CAAC,6BAA6B,CAAC,EAAEJ,IAAI;EAC/D,CAAC;AACH"}
1
+ {"version":3,"names":["_unidriver","require","_CollectionEmptyStateUni","_unidriver2","_ToolbarCollectionErrorStateUni","NestedTableRowPlaceholderStatesUniDriver","base","body","baseUniDriverFactory","getEmptyState","CollectionEmptyStateUniDriver","$","getErrorState","ToolbarCollectionErrorStateUniDriver","getLoadingState","LoaderUniDriver"],"sources":["../../../../src/components/NestedTable/NestedTableRowPlaceholderStates.uni.driver.ts"],"sourcesContent":["import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';\nimport { baseUniDriverFactory } from '../../unidriver';\nimport { CollectionEmptyStateUniDriver } from '../EmptyState/CollectionEmptyState.uni.driver';\nimport { LoaderUniDriver } from '@wix/design-system/dist/testkit/unidriver';\nimport { ToolbarCollectionErrorStateUniDriver } from '../ErrorState/ToolbarCollectionErrorState.uni.driver';\n\nexport function NestedTableRowPlaceholderStatesUniDriver(\n base: UniDriver,\n body: UniDriver,\n) {\n return {\n ...baseUniDriverFactory(base),\n getEmptyState: () =>\n CollectionEmptyStateUniDriver(base.$('[data-hook=\"empty-state\"]'), body),\n getErrorState: () =>\n ToolbarCollectionErrorStateUniDriver(\n base.$('[data-hook=\"error-state\"]'),\n body,\n ),\n getLoadingState: () =>\n LoaderUniDriver(base.$('[data-hook=\"loading-state\"]'), body),\n };\n}\n"],"mappings":";;;;AACA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,wBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,+BAAA,GAAAH,OAAA;AAEO,SAASI,wCAAwCA,CACtDC,IAAe,EACfC,IAAe,EACf;EACA,OAAO;IACL,GAAG,IAAAC,+BAAoB,EAACF,IAAI,CAAC;IAC7BG,aAAa,EAAEA,CAAA,KACb,IAAAC,sDAA6B,EAACJ,IAAI,CAACK,CAAC,CAAC,2BAA2B,CAAC,EAAEJ,IAAI,CAAC;IAC1EK,aAAa,EAAEA,CAAA,KACb,IAAAC,oEAAoC,EAClCP,IAAI,CAACK,CAAC,CAAC,2BAA2B,CAAC,EACnCJ,IACF,CAAC;IACHO,eAAe,EAAEA,CAAA,KACf,IAAAC,2BAAe,EAACT,IAAI,CAACK,CAAC,CAAC,6BAA6B,CAAC,EAAEJ,IAAI;EAC/D,CAAC;AACH"}
@@ -29,7 +29,8 @@ function _NestedTableWSRTable(props) {
29
29
  filters,
30
30
  customColumns,
31
31
  views,
32
- renderEmptyState,
32
+ emptyState,
33
+ noResultsState,
33
34
  topNotification,
34
35
  showTitleBar = true,
35
36
  horizontalScroll = true,
@@ -94,7 +95,7 @@ function _NestedTableWSRTable(props) {
94
95
  __self: this,
95
96
  __source: {
96
97
  fileName: _jsxFileName,
97
- lineNumber: 130,
98
+ lineNumber: 132,
98
99
  columnNumber: 15
99
100
  }
100
101
  })
@@ -105,7 +106,8 @@ function _NestedTableWSRTable(props) {
105
106
  customColumns: customColumns,
106
107
  views: views,
107
108
  horizontalScroll: horizontalScroll,
108
- renderEmptyState: renderEmptyState,
109
+ emptyState: emptyState,
110
+ noResultsState: noResultsState,
109
111
  isApplyColumnWidthStyle: true,
110
112
  useNewInfiniteScrollLoader: true,
111
113
  showTitleBar: showTitleBar,
@@ -125,7 +127,7 @@ function _NestedTableWSRTable(props) {
125
127
  __self: this,
126
128
  __source: {
127
129
  fileName: _jsxFileName,
128
- lineNumber: 128,
130
+ lineNumber: 130,
129
131
  columnNumber: 5
130
132
  }
131
133
  }), /*#__PURE__*/_react.default.createElement(_MultiCollectionSupportProvider.MultiCollectionSupportProvider, {
@@ -134,20 +136,21 @@ function _NestedTableWSRTable(props) {
134
136
  __self: this,
135
137
  __source: {
136
138
  fileName: _jsxFileName,
137
- lineNumber: 156,
139
+ lineNumber: 159,
138
140
  columnNumber: 7
139
141
  }
140
142
  }, /*#__PURE__*/_react.default.createElement(_TablePlaceholderStates.TablePlaceholderStates, {
141
143
  key: `PlaceholderStates_${key}`,
142
144
  state: state,
143
- renderEmptyState: renderEmptyState,
145
+ emptyState: emptyState,
146
+ noResultsState: noResultsState,
144
147
  renderError: renderError,
145
148
  topNotification: topNotification,
146
149
  rowVerticalPadding: rowVerticalPadding,
147
150
  __self: this,
148
151
  __source: {
149
152
  fileName: _jsxFileName,
150
- lineNumber: 160,
153
+ lineNumber: 163,
151
154
  columnNumber: 9
152
155
  }
153
156
  }), /*#__PURE__*/_react.default.createElement(_NestedTableContent.NestedTableContent, {
@@ -156,7 +159,7 @@ function _NestedTableWSRTable(props) {
156
159
  __self: this,
157
160
  __source: {
158
161
  fileName: _jsxFileName,
159
- lineNumber: 168,
162
+ lineNumber: 172,
160
163
  columnNumber: 9
161
164
  }
162
165
  })));
@@ -172,7 +175,7 @@ function _NestedTableWSRTable(props) {
172
175
  __self: this,
173
176
  __source: {
174
177
  fileName: _jsxFileName,
175
- lineNumber: 176,
178
+ lineNumber: 180,
176
179
  columnNumber: 7
177
180
  }
178
181
  }, table);
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_mobxReactLite","_CollectionTableWSRTable","_NestedTableContent","_useToolbarCollectionSyncProps","_useModeTableProps","_mobx","_QuerySearch","_MultiCollectionSupportProvider","_designSystem","_TablePlaceholderStates","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_NestedTableWSRTable","props","state","wrapperState","renderError","multiLevelSorting","actionCell","actionCellWidth","actionCellProps","filters","customColumns","views","renderEmptyState","topNotification","showTitleBar","horizontalScroll","rowHeight","estimatedRowHeight","rowVerticalPadding","dragAndDrop","dragAndDropBulkSubmit","dragAndDropSubmit","dragAndDropCancel","dragAndDropReorderModeToolbar","dragAndDropCategories","rest","toolbar","query","useToolbarCollectionSyncProps","isUsingDragAndDrop","isUsingBulkActionsToolbar","isUsingHorizontalScroll","isUsingFolders","isUsingTableVirtualization","Table","CollectionTableWSRTable","key","BodyElementType","TrElementType","columns","useModeTableProps","useEffect","runInAction","virtual","st","classes","WSRTable","dataTableRowVirtualStyle","table","createElement","_extends2","search","QuerySearch","__self","__source","fileName","lineNumber","columnNumber","showHeaderWhenEmpty","sticky","isApplyColumnWidthStyle","useNewInfiniteScrollLoader","rowClass","root","headerClass","thead","headerRowClass","MultiCollectionSupportProvider","value","multi","TablePlaceholderStates","NestedTableContent","CollectionNestedTableDragAndDropContext","nested","onSubmit","onCancel","onBulkSubmit","NestedTableWSRTable","exports","observer"],"sources":["../../../../src/components/NestedTable/NestedTableWSRTable.tsx"],"sourcesContent":["import React, { ComponentType, ReactElement, useEffect } from 'react';\nimport { FiltersMap } from '@wix/bex-core';\nimport { observer } from 'mobx-react-lite';\nimport {\n CollectionTableWSRTable,\n CollectionTableWSRTableBaseProps,\n CollectionTableWSRTableProps,\n} from '../CollectionTable/CollectionTableWSRTable';\nimport { CollectionTableBaseCommonProps } from '../CollectionTable/CollectionTableBaseCommonProps';\nimport { NestedTableItem, NestedTableState } from '../../state';\nimport { NestedTableFlatDataItem } from '../../state/NestedTableState/NestedTableFlatModeSectionState';\nimport { NestedTableContent } from './NestedTableContent';\nimport { TopNotificationBasicRenderProp } from '../TableTopNotification';\nimport { useToolbarCollectionSyncProps } from '../ToolbarCollection/useToolbarCollectionSyncProps';\nimport { useModeTableProps } from './useModeTableProps';\nimport { runInAction } from 'mobx';\nimport { QuerySearch } from '../QuerySearch';\nimport { MultiCollectionSupportProvider } from '../MultiCollectionSupportProvider';\nimport { Table as WSRTable } from '@wix/design-system';\nimport { TablePlaceholderStates } from '../TablePlaceholderStates/TablePlaceholderStates';\nimport { NestedTableDragAndDrop } from '../NestedTableDragAndDrop';\n\nexport interface NestedTableWSRTableBaseProps<\n C extends string,\n T,\n F extends FiltersMap,\n> extends Omit<\n CollectionTableWSRTableBaseProps<\n NestedTableItem<C, any, any> | NestedTableFlatDataItem<C, any, any>,\n T,\n F\n >,\n | 'actionCell'\n | 'sticky'\n | 'selectionDisabled'\n | 'renderEmptyState'\n | 'topNotification'\n >,\n CollectionTableBaseCommonProps<T, F> {}\n\nexport interface NestedTableWSRTableProps<\n C extends string,\n T,\n F extends FiltersMap,\n> extends NestedTableWSRTableBaseProps<C, T, F> {\n dataHook?: string;\n renderEmptyState?: () => ReactElement;\n state: NestedTableState<C>;\n topNotification?: TopNotificationBasicRenderProp;\n\n rowHeight?: number;\n estimatedRowHeight?: number;\n dragAndDrop?: typeof NestedTableDragAndDrop;\n}\n\nfunction _NestedTableWSRTable<C extends string, T, F extends FiltersMap>(\n props: NestedTableWSRTableProps<C, T, F>,\n) {\n const {\n state: wrapperState,\n renderError,\n multiLevelSorting,\n actionCell,\n actionCellWidth,\n actionCellProps,\n filters,\n customColumns,\n views,\n renderEmptyState,\n topNotification,\n showTitleBar = true,\n horizontalScroll = true,\n rowHeight,\n estimatedRowHeight,\n rowVerticalPadding = 'tiny',\n dragAndDrop,\n dragAndDropBulkSubmit,\n dragAndDropSubmit,\n dragAndDropCancel,\n dragAndDropReorderModeToolbar,\n dragAndDropCategories,\n ...rest\n } = props;\n\n const { toolbar, query } = wrapperState;\n\n useToolbarCollectionSyncProps({\n ...props,\n state: toolbar,\n isUsingDragAndDrop: false,\n isUsingBulkActionsToolbar: false,\n isUsingHorizontalScroll: true,\n isUsingFolders: false,\n isUsingTableVirtualization: true,\n });\n\n const Table = CollectionTableWSRTable as ComponentType<\n CollectionTableWSRTableProps<any, T, F>\n >;\n\n const { state, key, BodyElementType, TrElementType, columns } =\n useModeTableProps({\n state: wrapperState,\n horizontalScroll,\n actionCellWidth,\n actionCellProps,\n });\n\n useEffect(() => {\n runInAction(() => {\n state.virtual.rowHeight = rowHeight;\n });\n }, [rowHeight, state]);\n\n useEffect(() => {\n if (estimatedRowHeight == null) {\n return;\n }\n runInAction(() => {\n state.virtual.estimatedRowHeight = estimatedRowHeight;\n });\n }, [estimatedRowHeight, state]);\n\n const { st, classes } =\n WSRTable.dataTableRowVirtualStyle as import('@stylable/runtime').RuntimeStylesheet;\n\n let table = (\n <Table\n rowVerticalPadding={rowVerticalPadding}\n search={<QuerySearch state={query.search} />}\n {...rest}\n showHeaderWhenEmpty\n sticky\n filters={filters}\n customColumns={customColumns}\n views={views}\n horizontalScroll={horizontalScroll}\n renderEmptyState={renderEmptyState}\n isApplyColumnWidthStyle\n useNewInfiniteScrollLoader\n showTitleBar={showTitleBar}\n rowClass={st(classes.root)}\n headerClass={st(classes.thead)}\n headerRowClass={st(classes.root)}\n TrElementType={TrElementType}\n state={state}\n BodyElementType={BodyElementType}\n columns={columns}\n dragAndDropReorderModeToolbar={dragAndDropReorderModeToolbar}\n dragAndDrop={dragAndDrop}\n dragAndDropCancel={dragAndDropCancel}\n dragAndDropSubmit={dragAndDropSubmit}\n dragAndDropBulkSubmit={dragAndDropBulkSubmit}\n dragAndDropCategories={dragAndDropCategories}\n >\n <MultiCollectionSupportProvider\n key={`MultiCollectionSupportProvider_${key}`}\n value={state.multi}\n >\n <TablePlaceholderStates\n key={`PlaceholderStates_${key}`}\n state={state}\n renderEmptyState={renderEmptyState}\n renderError={renderError}\n topNotification={topNotification}\n rowVerticalPadding={rowVerticalPadding}\n />\n <NestedTableContent key={`NestedTableContent_${key}`} state={state} />\n </MultiCollectionSupportProvider>\n </Table>\n );\n\n if (dragAndDrop) {\n const { CollectionNestedTableDragAndDropContext } = dragAndDrop;\n table = (\n <CollectionNestedTableDragAndDropContext\n state={wrapperState.nested}\n onSubmit={dragAndDropSubmit}\n onCancel={dragAndDropCancel}\n onBulkSubmit={dragAndDropBulkSubmit}\n >\n {table}\n </CollectionNestedTableDragAndDropContext>\n );\n }\n\n return table;\n}\n\nexport const NestedTableWSRTable = observer(_NestedTableWSRTable);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,wBAAA,GAAAF,OAAA;AAQA,IAAAG,mBAAA,GAAAH,OAAA;AAEA,IAAAI,8BAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,+BAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,uBAAA,GAAAV,OAAA;AAA0F,IAAAW,YAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAd,wBAAAc,CA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,CAAAD,mBAAA,GAAG,IAAAE,uBAAQ,EAAC/E,oBAAoB,CAAC"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_mobxReactLite","_CollectionTableWSRTable","_NestedTableContent","_useToolbarCollectionSyncProps","_useModeTableProps","_mobx","_QuerySearch","_MultiCollectionSupportProvider","_designSystem","_TablePlaceholderStates","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_NestedTableWSRTable","props","state","wrapperState","renderError","multiLevelSorting","actionCell","actionCellWidth","actionCellProps","filters","customColumns","views","emptyState","noResultsState","topNotification","showTitleBar","horizontalScroll","rowHeight","estimatedRowHeight","rowVerticalPadding","dragAndDrop","dragAndDropBulkSubmit","dragAndDropSubmit","dragAndDropCancel","dragAndDropReorderModeToolbar","dragAndDropCategories","rest","toolbar","query","useToolbarCollectionSyncProps","isUsingDragAndDrop","isUsingBulkActionsToolbar","isUsingHorizontalScroll","isUsingFolders","isUsingTableVirtualization","Table","CollectionTableWSRTable","key","BodyElementType","TrElementType","columns","useModeTableProps","useEffect","runInAction","virtual","st","classes","WSRTable","dataTableRowVirtualStyle","table","createElement","_extends2","search","QuerySearch","__self","__source","fileName","lineNumber","columnNumber","showHeaderWhenEmpty","sticky","isApplyColumnWidthStyle","useNewInfiniteScrollLoader","rowClass","root","headerClass","thead","headerRowClass","MultiCollectionSupportProvider","value","multi","TablePlaceholderStates","NestedTableContent","CollectionNestedTableDragAndDropContext","nested","onSubmit","onCancel","onBulkSubmit","NestedTableWSRTable","exports","observer"],"sources":["../../../../src/components/NestedTable/NestedTableWSRTable.tsx"],"sourcesContent":["import React, { ComponentType, ReactNode, useEffect } from 'react';\nimport { FiltersMap } from '@wix/bex-core';\nimport { observer } from 'mobx-react-lite';\nimport {\n CollectionTableWSRTable,\n CollectionTableWSRTableBaseProps,\n CollectionTableWSRTableProps,\n} from '../CollectionTable/CollectionTableWSRTable';\nimport { CollectionTableBaseCommonProps } from '../CollectionTable/CollectionTableBaseCommonProps';\nimport { NestedTableItem, NestedTableState } from '../../state';\nimport { NestedTableFlatDataItem } from '../../state/NestedTableState/NestedTableFlatModeSectionState';\nimport { NestedTableContent } from './NestedTableContent';\nimport { TopNotificationBasicRenderProp } from '../TableTopNotification';\nimport { useToolbarCollectionSyncProps } from '../ToolbarCollection/useToolbarCollectionSyncProps';\nimport { useModeTableProps } from './useModeTableProps';\nimport { runInAction } from 'mobx';\nimport { QuerySearch } from '../QuerySearch';\nimport { MultiCollectionSupportProvider } from '../MultiCollectionSupportProvider';\nimport { Table as WSRTable } from '@wix/design-system';\nimport { TablePlaceholderStates } from '../TablePlaceholderStates/TablePlaceholderStates';\nimport { NestedTableDragAndDrop } from '../NestedTableDragAndDrop';\n\nexport interface NestedTableWSRTableBaseProps<\n C extends string,\n T,\n F extends FiltersMap,\n> extends Omit<\n CollectionTableWSRTableBaseProps<\n NestedTableItem<C, any, any> | NestedTableFlatDataItem<C, any, any>,\n T,\n F\n >,\n | 'actionCell'\n | 'sticky'\n | 'selectionDisabled'\n | 'emptyState'\n | 'noResultsState'\n | 'topNotification'\n >,\n CollectionTableBaseCommonProps<T, F> {}\n\nexport interface NestedTableWSRTableProps<\n C extends string,\n T,\n F extends FiltersMap,\n> extends NestedTableWSRTableBaseProps<C, T, F> {\n dataHook?: string;\n emptyState?: ReactNode;\n noResultsState?: ReactNode;\n state: NestedTableState<C>;\n topNotification?: TopNotificationBasicRenderProp;\n rowHeight?: number;\n estimatedRowHeight?: number;\n dragAndDrop?: typeof NestedTableDragAndDrop;\n}\n\nfunction _NestedTableWSRTable<C extends string, T, F extends FiltersMap>(\n props: NestedTableWSRTableProps<C, T, F>,\n) {\n const {\n state: wrapperState,\n renderError,\n multiLevelSorting,\n actionCell,\n actionCellWidth,\n actionCellProps,\n filters,\n customColumns,\n views,\n emptyState,\n noResultsState,\n topNotification,\n showTitleBar = true,\n horizontalScroll = true,\n rowHeight,\n estimatedRowHeight,\n rowVerticalPadding = 'tiny',\n dragAndDrop,\n dragAndDropBulkSubmit,\n dragAndDropSubmit,\n dragAndDropCancel,\n dragAndDropReorderModeToolbar,\n dragAndDropCategories,\n ...rest\n } = props;\n\n const { toolbar, query } = wrapperState;\n\n useToolbarCollectionSyncProps({\n ...props,\n state: toolbar,\n isUsingDragAndDrop: false,\n isUsingBulkActionsToolbar: false,\n isUsingHorizontalScroll: true,\n isUsingFolders: false,\n isUsingTableVirtualization: true,\n });\n\n const Table = CollectionTableWSRTable as ComponentType<\n CollectionTableWSRTableProps<any, T, F>\n >;\n\n const { state, key, BodyElementType, TrElementType, columns } =\n useModeTableProps({\n state: wrapperState,\n horizontalScroll,\n actionCellWidth,\n actionCellProps,\n });\n\n useEffect(() => {\n runInAction(() => {\n state.virtual.rowHeight = rowHeight;\n });\n }, [rowHeight, state]);\n\n useEffect(() => {\n if (estimatedRowHeight == null) {\n return;\n }\n runInAction(() => {\n state.virtual.estimatedRowHeight = estimatedRowHeight;\n });\n }, [estimatedRowHeight, state]);\n\n const { st, classes } =\n WSRTable.dataTableRowVirtualStyle as import('@stylable/runtime').RuntimeStylesheet;\n\n let table = (\n <Table\n rowVerticalPadding={rowVerticalPadding}\n search={<QuerySearch state={query.search} />}\n {...rest}\n showHeaderWhenEmpty\n sticky\n filters={filters}\n customColumns={customColumns}\n views={views}\n horizontalScroll={horizontalScroll}\n emptyState={emptyState}\n noResultsState={noResultsState}\n isApplyColumnWidthStyle\n useNewInfiniteScrollLoader\n showTitleBar={showTitleBar}\n rowClass={st(classes.root)}\n headerClass={st(classes.thead)}\n headerRowClass={st(classes.root)}\n TrElementType={TrElementType}\n state={state}\n BodyElementType={BodyElementType}\n columns={columns}\n dragAndDropReorderModeToolbar={dragAndDropReorderModeToolbar}\n dragAndDrop={dragAndDrop}\n dragAndDropCancel={dragAndDropCancel}\n dragAndDropSubmit={dragAndDropSubmit}\n dragAndDropBulkSubmit={dragAndDropBulkSubmit}\n dragAndDropCategories={dragAndDropCategories}\n >\n <MultiCollectionSupportProvider\n key={`MultiCollectionSupportProvider_${key}`}\n value={state.multi}\n >\n <TablePlaceholderStates\n key={`PlaceholderStates_${key}`}\n state={state}\n emptyState={emptyState}\n noResultsState={noResultsState}\n renderError={renderError}\n topNotification={topNotification}\n rowVerticalPadding={rowVerticalPadding}\n />\n <NestedTableContent key={`NestedTableContent_${key}`} state={state} />\n </MultiCollectionSupportProvider>\n </Table>\n );\n\n if (dragAndDrop) {\n const { CollectionNestedTableDragAndDropContext } = dragAndDrop;\n table = (\n <CollectionNestedTableDragAndDropContext\n state={wrapperState.nested}\n onSubmit={dragAndDropSubmit}\n onCancel={dragAndDropCancel}\n onBulkSubmit={dragAndDropBulkSubmit}\n >\n {table}\n </CollectionNestedTableDragAndDropContext>\n );\n }\n\n return table;\n}\n\nexport const NestedTableWSRTable = observer(_NestedTableWSRTable);\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,wBAAA,GAAAF,OAAA;AAQA,IAAAG,mBAAA,GAAAH,OAAA;AAEA,IAAAI,8BAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,+BAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,uBAAA,GAAAV,OAAA;AAA0F,IAAAW,YAAA;AAAA,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAd,wBAAAc,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,I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,GAAAC,OAAA,CAAAD,mBAAA,GAAG,IAAAE,uBAAQ,EAAChF,oBAAoB,CAAC"}
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "PickerContent3864310724";
8
+ var _namespace_ = "PickerContent1487984240";
9
9
  var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
10
10
  var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
11
11
  var style = exports.style = _style_;
12
12
  var st = exports.st = _style_;
13
13
  var namespace = exports.namespace = _namespace_;
14
14
  var classes = exports.classes = {
15
- "root": "PickerContent3864310724__root"
15
+ "root": "PickerContent1487984240__root"
16
16
  };
17
17
  var keyframes = exports.keyframes = {};
18
18
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/PickerContent/PickerContent.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"PickerContent3864310724\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"PickerContent3864310724__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA+B,CAAC;AACtD,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/PickerContent/PickerContent.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"PickerContent1487984240\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"PickerContent1487984240__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,yBAAyB;AAC3C,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAA+B,CAAC;AACtD,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
@@ -5,16 +5,16 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "PickerContentAdditionalStep2152326562";
8
+ var _namespace_ = "PickerContentAdditionalStep83170978";
9
9
  var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
10
10
  var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
11
11
  var style = exports.style = _style_;
12
12
  var st = exports.st = _style_;
13
13
  var namespace = exports.namespace = _namespace_;
14
14
  var classes = exports.classes = {
15
- "root": "PickerContentAdditionalStep2152326562__root",
16
- "titles": "PickerContentAdditionalStep2152326562__titles",
17
- "suffix": "PickerContentAdditionalStep2152326562__suffix"
15
+ "root": "PickerContentAdditionalStep83170978__root",
16
+ "titles": "PickerContentAdditionalStep83170978__titles",
17
+ "suffix": "PickerContentAdditionalStep83170978__suffix"
18
18
  };
19
19
  var keyframes = exports.keyframes = {};
20
20
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/PickerContent/PickerContentAdditionalStep.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"PickerContentAdditionalStep2152326562\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"PickerContentAdditionalStep2152326562__root\",\"titles\":\"PickerContentAdditionalStep2152326562__titles\",\"suffix\":\"PickerContentAdditionalStep2152326562__suffix\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,uCAAuC;AACzD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,6CAA6C;EAAC,QAAQ,EAAC,+CAA+C;EAAC,QAAQ,EAAC;AAA+C,CAAC;AACtL,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/PickerContent/PickerContentAdditionalStep.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"PickerContentAdditionalStep83170978\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"PickerContentAdditionalStep83170978__root\",\"titles\":\"PickerContentAdditionalStep83170978__titles\",\"suffix\":\"PickerContentAdditionalStep83170978__suffix\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,qCAAqC;AACvD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,2CAA2C;EAAC,QAAQ,EAAC,6CAA6C;EAAC,QAAQ,EAAC;AAA6C,CAAC;AAChL,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
@@ -5,14 +5,14 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
5
5
  var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
6
6
  // @ts-nocheck
7
7
 
8
- var _namespace_ = "PickerTableListItem2817943778";
8
+ var _namespace_ = "PickerTableListItem3742333200";
9
9
  var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
10
10
  var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
11
11
  var style = exports.style = _style_;
12
12
  var st = exports.st = _style_;
13
13
  var namespace = exports.namespace = _namespace_;
14
14
  var classes = exports.classes = {
15
- "root": "PickerTableListItem2817943778__root"
15
+ "root": "PickerTableListItem3742333200__root"
16
16
  };
17
17
  var keyframes = exports.keyframes = {};
18
18
  var layers = exports.layers = {};
@@ -1 +1 @@
1
- {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/PickerTableListItem/PickerTableListItem.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"PickerTableListItem2817943778\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"PickerTableListItem2817943778__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,+BAA+B;AACjD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAAqC,CAAC;AAC5D,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
1
+ {"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/PickerTableListItem/PickerTableListItem.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"PickerTableListItem3742333200\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"PickerTableListItem3742333200__root\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,+BAA+B;AACjD,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAAK,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AACnB,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC;AAAqC,CAAC;AAC5D,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC"}
@@ -5,13 +5,15 @@ exports.__esModule = true;
5
5
  exports.PlaceholderStatesBase = void 0;
6
6
  var _react = _interopRequireDefault(require("react"));
7
7
  var _mobxReactLite = require("mobx-react-lite");
8
- var _CollectionEmptyStateFallback = require("../EmptyState/CollectionEmptyStateFallback");
9
8
  var _ErrorState = require("../ErrorState");
9
+ var _CollectionEmptyState = require("../EmptyState/CollectionEmptyState");
10
+ var _CollectionNoResultsState = require("../EmptyState/CollectionNoResultsState");
10
11
  var _jsxFileName = "/home/builduser/work/db7ea24852bc3350/packages/cairo/dist/cjs/components/PlaceholderStates/PlaceholderStatesBase.tsx";
11
12
  function _PlaceholderStatesBase(props) {
12
13
  const {
13
14
  state,
14
- renderEmptyState,
15
+ emptyState,
16
+ noResultsState,
15
17
  renderError,
16
18
  topNotification: topNotificationProp,
17
19
  children,
@@ -21,6 +23,9 @@ function _PlaceholderStatesBase(props) {
21
23
  initTask,
22
24
  showLoadingState,
23
25
  showEmptyState,
26
+ hasAvailableItems,
27
+ resultOriginQuerySearch,
28
+ hasNonPersistentActiveFilters,
24
29
  showErrorState,
25
30
  errorStatus
26
31
  } = state;
@@ -35,7 +40,7 @@ function _PlaceholderStatesBase(props) {
35
40
  __self: this,
36
41
  __source: {
37
42
  fileName: _jsxFileName,
38
- lineNumber: 56,
43
+ lineNumber: 65,
39
44
  columnNumber: 7
40
45
  }
41
46
  });
@@ -50,23 +55,37 @@ function _PlaceholderStatesBase(props) {
50
55
  __self: this,
51
56
  __source: {
52
57
  fileName: _jsxFileName,
53
- lineNumber: 67,
58
+ lineNumber: 76,
54
59
  columnNumber: 7
55
60
  }
56
61
  });
57
62
  } else if (showEmptyState) {
58
- if (renderEmptyState) {
59
- child = renderEmptyState();
63
+ if (hasAvailableItems && (resultOriginQuerySearch != null || hasNonPersistentActiveFilters)) {
64
+ if (noResultsState) {
65
+ child = noResultsState;
66
+ } else {
67
+ child = /*#__PURE__*/_react.default.createElement(_CollectionNoResultsState.CollectionNoResultsState, {
68
+ __self: this,
69
+ __source: {
70
+ fileName: _jsxFileName,
71
+ lineNumber: 91,
72
+ columnNumber: 17
73
+ }
74
+ });
75
+ }
60
76
  } else {
61
- child = /*#__PURE__*/_react.default.createElement(_CollectionEmptyStateFallback.CollectionEmptyStateFallback, {
62
- dataHook: "placeholder-states-empty-state",
63
- __self: this,
64
- __source: {
65
- fileName: _jsxFileName,
66
- lineNumber: 79,
67
- columnNumber: 9
68
- }
69
- });
77
+ if (emptyState) {
78
+ child = emptyState;
79
+ } else {
80
+ child = /*#__PURE__*/_react.default.createElement(_CollectionEmptyState.CollectionEmptyState, {
81
+ __self: this,
82
+ __source: {
83
+ fileName: _jsxFileName,
84
+ lineNumber: 97,
85
+ columnNumber: 17
86
+ }
87
+ });
88
+ }
70
89
  }
71
90
  } else {
72
91
  child = children;