@wix/patterns 1.228.0 → 1.230.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 (257) hide show
  1. package/dist/cjs/components/CardContainer/CardContainer.st.css.js +2 -2
  2. package/dist/cjs/components/CardContainer/CardContainer.st.css.js.map +1 -1
  3. package/dist/cjs/components/Collapse/Collapse.st.css.js +3 -3
  4. package/dist/cjs/components/Collapse/Collapse.st.css.js.map +1 -1
  5. package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
  6. package/dist/cjs/components/CollectionPageNew/CollectionPage.st.css.js.map +1 -1
  7. package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js +2 -2
  8. package/dist/cjs/components/CollectionTable/CollectionTable.st.css.js.map +1 -1
  9. package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js +5 -5
  10. package/dist/cjs/components/CollectionToolbar/CollectionToolbar.st.css.js.map +1 -1
  11. package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +4 -4
  12. package/dist/cjs/components/CollectionToolbar/SearchOrCustomFilter.st.css.js.map +1 -1
  13. package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
  14. package/dist/cjs/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
  15. package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
  16. package/dist/cjs/components/CollectionViewsDropdown/ViewsDropdown.st.css.js.map +1 -1
  17. package/dist/cjs/components/DragHandle/DragHandle.st.css.js +2 -2
  18. package/dist/cjs/components/DragHandle/DragHandle.st.css.js.map +1 -1
  19. package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js +2 -2
  20. package/dist/cjs/components/EntityPage/EntityPagePlain.st.css.js.map +1 -1
  21. package/dist/cjs/components/Fade/Fade.st.css.js +2 -2
  22. package/dist/cjs/components/Fade/Fade.st.css.js.map +1 -1
  23. package/dist/cjs/components/Heading/Heading.st.css.js +2 -2
  24. package/dist/cjs/components/Heading/Heading.st.css.js.map +1 -1
  25. package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js +2 -2
  26. package/dist/cjs/components/InputOverflow/InputOverflow.st.css.js.map +1 -1
  27. package/dist/cjs/components/Kanban/Card.js +24 -19
  28. package/dist/cjs/components/Kanban/Card.js.map +1 -1
  29. package/dist/cjs/components/Kanban/CardActions.js +4 -4
  30. package/dist/cjs/components/Kanban/CardActions.js.map +1 -1
  31. package/dist/cjs/components/Kanban/CardsSkeleton.js +131 -0
  32. package/dist/cjs/components/Kanban/CardsSkeleton.js.map +1 -0
  33. package/dist/cjs/components/Kanban/Kanban.js +52 -39
  34. package/dist/cjs/components/Kanban/Kanban.js.map +1 -1
  35. package/dist/cjs/components/Kanban/Kanban.uni.driver.js +42 -2
  36. package/dist/cjs/components/Kanban/Kanban.uni.driver.js.map +1 -1
  37. package/dist/cjs/components/Kanban/Stage.js +144 -72
  38. package/dist/cjs/components/Kanban/Stage.js.map +1 -1
  39. package/dist/cjs/components/Kanban/StagesSkeleton.js +99 -0
  40. package/dist/cjs/components/Kanban/StagesSkeleton.js.map +1 -0
  41. package/dist/cjs/components/Kanban/StagesSkeleton.scss +10 -0
  42. package/dist/cjs/components/Kanban/useCardActions.js +5 -4
  43. package/dist/cjs/components/Kanban/useCardActions.js.map +1 -1
  44. package/dist/cjs/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.js +138 -2
  45. package/dist/cjs/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.js.map +1 -1
  46. package/dist/cjs/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.js +75 -0
  47. package/dist/cjs/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.js.map +1 -0
  48. package/dist/cjs/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.js +121 -0
  49. package/dist/cjs/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.js.map +1 -0
  50. package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js +3 -3
  51. package/dist/cjs/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
  52. package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
  53. package/dist/cjs/components/MaxHeightText/MaxHeightText.st.css.js.map +1 -1
  54. package/dist/cjs/components/MaxLines/MaxLines.st.css.js +2 -2
  55. package/dist/cjs/components/MaxLines/MaxLines.st.css.js.map +1 -1
  56. package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
  57. package/dist/cjs/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
  58. package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
  59. package/dist/cjs/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js.map +1 -1
  60. package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js +5 -5
  61. package/dist/cjs/components/NestedTable/NestedTableRow.st.css.js.map +1 -1
  62. package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
  63. package/dist/cjs/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js.map +1 -1
  64. package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
  65. package/dist/cjs/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js.map +1 -1
  66. package/dist/cjs/components/PickerContent/PickerContent.st.css.js +2 -2
  67. package/dist/cjs/components/PickerContent/PickerContent.st.css.js.map +1 -1
  68. package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js +4 -4
  69. package/dist/cjs/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
  70. package/dist/cjs/components/PickerModal/PickerModal.uni.driver.js +1 -0
  71. package/dist/cjs/components/PickerModal/PickerModal.uni.driver.js.map +1 -1
  72. package/dist/cjs/components/PickerModal/PickerModalLayout.uni.driver.js +6 -1
  73. package/dist/cjs/components/PickerModal/PickerModalLayout.uni.driver.js.map +1 -1
  74. package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
  75. package/dist/cjs/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
  76. package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
  77. package/dist/cjs/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
  78. package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js +3 -3
  79. package/dist/cjs/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
  80. package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js +2 -2
  81. package/dist/cjs/components/SlidingModal/SlidingModal.st.css.js.map +1 -1
  82. package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js +3 -3
  83. package/dist/cjs/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
  84. package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
  85. package/dist/cjs/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
  86. package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
  87. package/dist/cjs/components/ToolbarItem/ToolbarItem.st.css.js.map +1 -1
  88. package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
  89. package/dist/cjs/components/ToolbarItemBox/ToolbarItemBox.st.css.js.map +1 -1
  90. package/dist/cjs/components/common.st.css.js +4 -4
  91. package/dist/cjs/components/common.st.css.js.map +1 -1
  92. package/dist/cjs/dashboard/WixPatternsDashboardBaseProvider.js +14 -3
  93. package/dist/cjs/dashboard/WixPatternsDashboardBaseProvider.js.map +1 -1
  94. package/dist/cjs/exports/router/index.js +10 -0
  95. package/dist/cjs/exports/router/index.js.map +1 -0
  96. package/dist/cjs/index.js +0 -7
  97. package/dist/cjs/index.js.map +1 -1
  98. package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
  99. package/dist/cjs/state/CollectionPage/CollectionPageHeader.st.css.js.map +1 -1
  100. package/dist/cjs/state/EntityPage/EntityPageState.js +3 -1
  101. package/dist/cjs/state/EntityPage/EntityPageState.js.map +1 -1
  102. package/dist/cjs/state/FormPage/FormPageHeader.st.css.js +2 -2
  103. package/dist/cjs/state/FormPage/FormPageHeader.st.css.js.map +1 -1
  104. package/dist/cjs/state/KanbanState/KanbanDragEndEvent.js.map +1 -1
  105. package/dist/cjs/state/KanbanState/KanbanStageState.js +9 -3
  106. package/dist/cjs/state/KanbanState/KanbanStageState.js.map +1 -1
  107. package/dist/cjs/state/KanbanState/KanbanState.js +76 -20
  108. package/dist/cjs/state/KanbanState/KanbanState.js.map +1 -1
  109. package/dist/cjs/styles.global.css +1 -1
  110. package/dist/cjs/version.js +1 -1
  111. package/dist/cjs/version.js.map +1 -1
  112. package/dist/esm/components/CardContainer/CardContainer.st.css.js +2 -2
  113. package/dist/esm/components/Collapse/Collapse.st.css.js +2 -2
  114. package/dist/esm/components/CollectionPageNew/CollectionPage.st.css.js +2 -2
  115. package/dist/esm/components/CollectionTable/CollectionTable.st.css.js +2 -2
  116. package/dist/esm/components/CollectionToolbar/CollectionToolbar.st.css.js +2 -2
  117. package/dist/esm/components/CollectionToolbar/SearchOrCustomFilter.st.css.js +2 -2
  118. package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js +2 -2
  119. package/dist/esm/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.js.map +1 -1
  120. package/dist/esm/components/CollectionViewsDropdown/ViewsDropdown.st.css.js +2 -2
  121. package/dist/esm/components/DragHandle/DragHandle.st.css.js +2 -2
  122. package/dist/esm/components/DragHandle/DragHandle.st.css.js.map +1 -1
  123. package/dist/esm/components/EntityPage/EntityPagePlain.st.css.js +2 -2
  124. package/dist/esm/components/EntityPage/EntityPagePlain.st.css.js.map +1 -1
  125. package/dist/esm/components/Fade/Fade.st.css.js +2 -2
  126. package/dist/esm/components/Fade/Fade.st.css.js.map +1 -1
  127. package/dist/esm/components/Heading/Heading.st.css.js +2 -2
  128. package/dist/esm/components/InputOverflow/InputOverflow.st.css.js +2 -2
  129. package/dist/esm/components/Kanban/Card.js +11 -6
  130. package/dist/esm/components/Kanban/Card.js.map +1 -1
  131. package/dist/esm/components/Kanban/CardActions.js +1 -1
  132. package/dist/esm/components/Kanban/CardActions.js.map +1 -1
  133. package/dist/esm/components/Kanban/CardsSkeleton.js +18 -0
  134. package/dist/esm/components/Kanban/CardsSkeleton.js.map +1 -0
  135. package/dist/esm/components/Kanban/Kanban.js +14 -9
  136. package/dist/esm/components/Kanban/Kanban.js.map +1 -1
  137. package/dist/esm/components/Kanban/Kanban.uni.driver.js +34 -1
  138. package/dist/esm/components/Kanban/Kanban.uni.driver.js.map +1 -1
  139. package/dist/esm/components/Kanban/Stage.js +71 -22
  140. package/dist/esm/components/Kanban/Stage.js.map +1 -1
  141. package/dist/esm/components/Kanban/StagesSkeleton.js +17 -0
  142. package/dist/esm/components/Kanban/StagesSkeleton.js.map +1 -0
  143. package/dist/esm/components/Kanban/StagesSkeleton.scss +10 -0
  144. package/dist/esm/components/Kanban/useCardActions.js +1 -1
  145. package/dist/esm/components/Kanban/useCardActions.js.map +1 -1
  146. package/dist/esm/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.js +128 -1
  147. package/dist/esm/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.js.map +1 -1
  148. package/dist/esm/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.js +46 -0
  149. package/dist/esm/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.js.map +1 -0
  150. package/dist/esm/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.js +59 -0
  151. package/dist/esm/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.js.map +1 -0
  152. package/dist/esm/components/LoadingRow/LoadingRow.st.css.js +3 -3
  153. package/dist/esm/components/LoadingRow/LoadingRow.st.css.js.map +1 -1
  154. package/dist/esm/components/MaxHeightText/MaxHeightText.st.css.js +2 -2
  155. package/dist/esm/components/MaxLines/MaxLines.st.css.js +2 -2
  156. package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js +2 -2
  157. package/dist/esm/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.js.map +1 -1
  158. package/dist/esm/components/NestedTable/NestedTablePlaceholderStatesRow.st.css.js +2 -2
  159. package/dist/esm/components/NestedTable/NestedTableRow.st.css.js +2 -2
  160. package/dist/esm/components/NestedTableDragAndDrop/MultipleDragOverlayEffect.st.css.js +2 -2
  161. package/dist/esm/components/NestedTableDragAndDrop/NestedTableDragAndDropRow.st.css.js +2 -2
  162. package/dist/esm/components/PickerContent/PickerContent.st.css.js +2 -2
  163. package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js +2 -2
  164. package/dist/esm/components/PickerContent/PickerContentAdditionalStep.st.css.js.map +1 -1
  165. package/dist/esm/components/PickerModal/PickerModal.uni.driver.js +1 -0
  166. package/dist/esm/components/PickerModal/PickerModal.uni.driver.js.map +1 -1
  167. package/dist/esm/components/PickerModal/PickerModalLayout.uni.driver.js +5 -0
  168. package/dist/esm/components/PickerModal/PickerModalLayout.uni.driver.js.map +1 -1
  169. package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js +2 -2
  170. package/dist/esm/components/PickerTableListItem/PickerTableListItem.st.css.js.map +1 -1
  171. package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js +2 -2
  172. package/dist/esm/components/ScrollableContent/ScrollableContent.st.css.js.map +1 -1
  173. package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js +2 -2
  174. package/dist/esm/components/SkeletonCard/SkeletonCard.st.css.js.map +1 -1
  175. package/dist/esm/components/SlidingModal/SlidingModal.st.css.js +2 -2
  176. package/dist/esm/components/TabsFilter/TabsFilter.st.css.js +2 -2
  177. package/dist/esm/components/TabsFilter/TabsFilter.st.css.js.map +1 -1
  178. package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js +2 -2
  179. package/dist/esm/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.js.map +1 -1
  180. package/dist/esm/components/ToolbarItem/ToolbarItem.st.css.js +2 -2
  181. package/dist/esm/components/ToolbarItemBox/ToolbarItemBox.st.css.js +2 -2
  182. package/dist/esm/components/common.st.css.js +2 -2
  183. package/dist/esm/dashboard/WixPatternsDashboardBaseProvider.js +10 -2
  184. package/dist/esm/dashboard/WixPatternsDashboardBaseProvider.js.map +1 -1
  185. package/dist/esm/exports/router/index.js +2 -0
  186. package/dist/esm/exports/router/index.js.map +1 -0
  187. package/dist/esm/index.js +0 -1
  188. package/dist/esm/index.js.map +1 -1
  189. package/dist/esm/state/CollectionPage/CollectionPageHeader.st.css.js +2 -2
  190. package/dist/esm/state/EntityPage/EntityPageState.js +3 -1
  191. package/dist/esm/state/EntityPage/EntityPageState.js.map +1 -1
  192. package/dist/esm/state/FormPage/FormPageHeader.st.css.js +2 -2
  193. package/dist/esm/state/KanbanState/KanbanStageState.js +10 -4
  194. package/dist/esm/state/KanbanState/KanbanStageState.js.map +1 -1
  195. package/dist/esm/state/KanbanState/KanbanState.js +80 -21
  196. package/dist/esm/state/KanbanState/KanbanState.js.map +1 -1
  197. package/dist/esm/styles.global.css +1 -1
  198. package/dist/esm/version.js +1 -1
  199. package/dist/types/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.d.ts.map +1 -1
  200. package/dist/types/components/DragHandle/DragHandle.st.css.d.ts.map +1 -1
  201. package/dist/types/components/EntityPage/EntityPagePlain.st.css.d.ts.map +1 -1
  202. package/dist/types/components/Fade/Fade.st.css.d.ts.map +1 -1
  203. package/dist/types/components/Kanban/Card.d.ts +3 -7
  204. package/dist/types/components/Kanban/Card.d.ts.map +1 -1
  205. package/dist/types/components/Kanban/CardActions.d.ts +3 -7
  206. package/dist/types/components/Kanban/CardActions.d.ts.map +1 -1
  207. package/dist/types/components/Kanban/CardsSkeleton.d.ts +5 -0
  208. package/dist/types/components/Kanban/CardsSkeleton.d.ts.map +1 -0
  209. package/dist/types/components/Kanban/Kanban.d.ts.map +1 -1
  210. package/dist/types/components/Kanban/Kanban.uni.driver.d.ts +32 -0
  211. package/dist/types/components/Kanban/Kanban.uni.driver.d.ts.map +1 -1
  212. package/dist/types/components/Kanban/Stage.d.ts +7 -9
  213. package/dist/types/components/Kanban/Stage.d.ts.map +1 -1
  214. package/dist/types/components/Kanban/StagesSkeleton.d.ts +3 -0
  215. package/dist/types/components/Kanban/StagesSkeleton.d.ts.map +1 -0
  216. package/dist/types/components/Kanban/useCardActions.d.ts.map +1 -1
  217. package/dist/types/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.d.ts +34 -1
  218. package/dist/types/components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop.d.ts.map +1 -1
  219. package/dist/types/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.d.ts +14 -0
  220. package/dist/types/components/KanbanDragAndDropDndKit/KanbanDragAndDropContext.d.ts.map +1 -0
  221. package/dist/types/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.d.ts +16 -0
  222. package/dist/types/components/KanbanDragAndDropDndKit/KanbanDraggableCardItem.d.ts.map +1 -0
  223. package/dist/types/components/LoadingRow/LoadingRow.st.css.d.ts.map +1 -1
  224. package/dist/types/components/MultiBulkActionToolbar/MultiBulkActionToolbar.st.css.d.ts.map +1 -1
  225. package/dist/types/components/PickerContent/PickerContentAdditionalStep.st.css.d.ts.map +1 -1
  226. package/dist/types/components/PickerModal/PickerModal.uni.driver.d.ts +1 -0
  227. package/dist/types/components/PickerModal/PickerModal.uni.driver.d.ts.map +1 -1
  228. package/dist/types/components/PickerModal/PickerModalLayout.uni.driver.d.ts +1 -0
  229. package/dist/types/components/PickerModal/PickerModalLayout.uni.driver.d.ts.map +1 -1
  230. package/dist/types/components/PickerTableListItem/PickerTableListItem.st.css.d.ts.map +1 -1
  231. package/dist/types/components/ScrollableContent/ScrollableContent.st.css.d.ts.map +1 -1
  232. package/dist/types/components/SkeletonCard/SkeletonCard.st.css.d.ts.map +1 -1
  233. package/dist/types/components/TabsFilter/TabsFilter.st.css.d.ts.map +1 -1
  234. package/dist/types/components/Tags/ManageTags/ManageTagsModal/ManageTagsModal.st.css.d.ts.map +1 -1
  235. package/dist/types/dashboard/WixPatternsDashboardBaseProvider.d.ts.map +1 -1
  236. package/dist/types/exports/router/index.d.ts +2 -0
  237. package/dist/types/exports/router/index.d.ts.map +1 -0
  238. package/dist/types/index.d.ts +0 -1
  239. package/dist/types/index.d.ts.map +1 -1
  240. package/dist/types/state/EntityPage/EntityPageState.d.ts.map +1 -1
  241. package/dist/types/state/KanbanState/KanbanDragEndEvent.d.ts +2 -5
  242. package/dist/types/state/KanbanState/KanbanDragEndEvent.d.ts.map +1 -1
  243. package/dist/types/state/KanbanState/KanbanStageState.d.ts +3 -3
  244. package/dist/types/state/KanbanState/KanbanStageState.d.ts.map +1 -1
  245. package/dist/types/state/KanbanState/KanbanState.d.ts +13 -3
  246. package/dist/types/state/KanbanState/KanbanState.d.ts.map +1 -1
  247. package/dist/types/testkit/enzyme.d.ts +1 -0
  248. package/dist/types/testkit/enzyme.d.ts.map +1 -1
  249. package/dist/types/testkit/jsdom.d.ts +33 -0
  250. package/dist/types/testkit/jsdom.d.ts.map +1 -1
  251. package/dist/types/testkit/playwright.d.ts +1 -0
  252. package/dist/types/testkit/playwright.d.ts.map +1 -1
  253. package/dist/types/testkit/puppeteer.d.ts +33 -0
  254. package/dist/types/testkit/puppeteer.d.ts.map +1 -1
  255. package/dist/types/version.d.ts +1 -1
  256. package/package.json +11 -6
  257. package/router/package.json +6 -0
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/state/KanbanState/KanbanDragEndEvent.ts"],"sourcesContent":["import { IndexedItem } from '../../components/DragAndDrop';\n\nexport interface KanbanDragEndItemEvent<T> {\n item: T;\n fromColumnId?: string;\n toColumnId?: string;\n after: IndexedItem<T> | null;\n over: IndexedItem<T>;\n}\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["../../../../src/state/KanbanState/KanbanDragEndEvent.ts"],"sourcesContent":["export interface KanbanDragEndItemEvent<T> {\n item: T;\n fromStageId?: string;\n toStageId?: string;\n}\n"],"mappings":"","ignoreList":[]}
@@ -38,8 +38,14 @@ class KanbanStageState {
38
38
  errorHandler: this.container.errorMonitor,
39
39
  paginationMode: 'cursor'
40
40
  });
41
+ new _bexCore.CollectionOptimisticActions({
42
+ collection: this.itemsCollectionState,
43
+ container: this.container
44
+ });
41
45
  (0, _mobx.makeObservable)(this, {
42
- fetchMore: _mobx.action
46
+ fetchMore: _mobx.action,
47
+ stageName: _mobx.computed,
48
+ stageKey: _mobx.computed
43
49
  });
44
50
  }
45
51
  init() {
@@ -57,10 +63,10 @@ class KanbanStageState {
57
63
  totalItems() {
58
64
  return this.itemsCollectionState.total;
59
65
  }
60
- stageName() {
66
+ get stageName() {
61
67
  return this.name;
62
68
  }
63
- stageKey() {
69
+ get stageKey() {
64
70
  return this.key;
65
71
  }
66
72
  isLoading() {
@@ -1 +1 @@
1
- {"version":3,"names":["_bexCore","require","_mobx","KanbanStageState","constructor","params","_defineProperty2","default","container","name","key","stage","itemsCollectionState","CollectionState","errorMonitor","history","lodash","onlineState","queryCache","translate","queryName","fetchData","itemKey","itemName","filters","stageId","stringFilter","initialValue","initialPage","errorHandler","paginationMode","makeObservable","fetchMore","action","init","items","keyedItems","map","item","totalItems","total","stageName","stageKey","isLoading","initTask","status","fetchNextPageIfNeeded","isFetchingMore","exports"],"sources":["../../../../src/state/KanbanState/KanbanStageState.ts"],"sourcesContent":["import {\n FiltersMap,\n WixPatternsContainer,\n DataResultRaw,\n CollectionState,\n CollectionStateParams,\n PatternsErrorHandler,\n stringFilter,\n} from '@wix/bex-core';\nimport { action, makeObservable } from 'mobx';\n\nexport interface KanbanStageStateBaseParams<T> {\n readonly container: WixPatternsContainer;\n readonly initialPage?: DataResultRaw<T>;\n readonly name: string;\n readonly key: string;\n}\n\nexport interface KanbanStageStateParams<\n T,\n S,\n F extends FiltersMap & { stageId: ReturnType<typeof stringFilter> },\n> extends KanbanStageStateBaseParams<T> {\n readonly fetchData: CollectionStateParams<T, F>['fetchData'];\n readonly itemKey: CollectionStateParams<T, F>['itemKey'];\n readonly itemName: CollectionStateParams<T, F>['itemName'];\n readonly stage: S;\n}\n\nexport class KanbanStageState<\n T,\n S,\n F extends FiltersMap & { stageId: ReturnType<typeof stringFilter> },\n> {\n readonly container: WixPatternsContainer;\n readonly itemsCollectionState: CollectionState<T, F>;\n readonly name: string;\n readonly key: string;\n readonly stage: S;\n\n constructor(params: KanbanStageStateParams<T, S, F>) {\n this.container = params.container;\n this.name = params.name;\n this.key = params.key;\n this.stage = params.stage;\n this.itemsCollectionState = new CollectionState<T, F>({\n errorMonitor: this.container.errorMonitor,\n history: this.container.history,\n lodash: this.container.lodash,\n onlineState: this.container.onlineState,\n queryCache: this.container.queryCache,\n translate: this.container.translate,\n queryName: `kanban-items-${this.key}`,\n fetchData: params.fetchData,\n itemKey: params.itemKey,\n itemName: params.itemName,\n filters: {\n ...(params as { filters?: F }).filters,\n stageId: stringFilter({ initialValue: this.key }),\n } as F,\n initialPage: params.initialPage,\n errorHandler: this.container\n .errorMonitor as unknown as PatternsErrorHandler,\n paginationMode: 'cursor',\n });\n\n makeObservable(this, {\n fetchMore: action,\n });\n }\n\n init() {\n this.itemsCollectionState.init();\n }\n\n items() {\n return this.itemsCollectionState.keyedItems.map((item: any) => item.item);\n }\n\n itemName(item: T) {\n return this.itemsCollectionState.itemName(item);\n }\n\n itemKey(item: T) {\n return this.itemsCollectionState.itemKey(item);\n }\n\n totalItems() {\n return this.itemsCollectionState.total;\n }\n\n stageName() {\n return this.name;\n }\n\n stageKey() {\n return this.key;\n }\n\n isLoading() {\n return this.itemsCollectionState.initTask.status.isLoading;\n }\n\n fetchMore() {\n this.itemsCollectionState.fetchNextPageIfNeeded();\n }\n\n isFetchingMore() {\n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uB,WAAW;MAC/BC,YAAY,EAAE,IAAI,CAACrB,SAAS,CACzBM,YAA+C;MAClDgB,cAAc,EAAE;IAClB,CAAC,CAAC;IAEF,IAAAC,oBAAc,EAAC,IAAI,EAAE;MACnBC,SAAS,EAAEC;IACb,CAAC,CAAC;EACJ;EAEAC,IAAIA,CAAA,EAAG;IACL,IAAI,CAACtB,oBAAoB,CAACsB,IAAI,CAAC,CAAC;EAClC;EAEAC,KAAKA,CAAA,EAAG;IACN,OAAO,IAAI,CAACvB,oBAAoB,CAACwB,UAAU,CAACC,GAAG,CAAEC,IAAS,IAAKA,IAAI,CAACA,IAAI,CAAC;EAC3E;EAEAf,QAAQA,CAACe,IAAO,EAAE;IAChB,OAAO,IAAI,CAAC1B,oBAAoB,CAACW,QAAQ,CAACe,IAAI,CAAC;EACjD;EAEAhB,OAAOA,CAACgB,IAAO,EAAE;IACf,OAAO,IAAI,CAAC1B,oBAAoB,CAACU,OAAO,CAACgB,IAAI,CAAC;EAChD;EAEAC,UAAUA,CAAA,EAAG;IACX,OAAO,IAAI,CAAC3B,oBAAoB,CAAC4B,KAAK;EACxC;EAEAC,SAASA,CAAA,EAAG;IACV,OAAO,IAAI,CAAChC,IAAI;EAClB;EAEAiC,QAAQA,CAAA,EAAG;IACT,OAAO,IAAI,CAAChC,GAAG;EACjB;EAEAiC,SAASA,CAAA,EAAG;IACV,OAAO,IAAI,CAAC/B,oBAAoB,CAACgC,QAAQ,CAACC,MAAM,CAACF,SAAS;EAC5D;EAEAX,SAASA,CAAA,EAAG;IACV,IAAI,CAACpB,oBAAoB,CAACkC,qBAAqB,CAAC,CAAC;EACnD;EAEAC,cAAcA,CAAA,EAAG;IACf,OAAO,IAAI;EACb;AACF;AAACC,OAAA,CAAA7C,gBAAA,GAAAA,gBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_bexCore","require","_mobx","KanbanStageState","constructor","params","_defineProperty2","default","container","name","key","stage","itemsCollectionState","CollectionState","errorMonitor","history","lodash","onlineState","queryCache","translate","queryName","fetchData","itemKey","itemName","filters","stageId","stringFilter","initialValue","initialPage","errorHandler","paginationMode","CollectionOptimisticActions","collection","makeObservable","fetchMore","action","stageName","computed","stageKey","init","items","keyedItems","map","item","totalItems","total","isLoading","initTask","status","fetchNextPageIfNeeded","isFetchingMore","exports"],"sources":["../../../../src/state/KanbanState/KanbanStageState.ts"],"sourcesContent":["import {\n FiltersMap,\n WixPatternsContainer,\n DataResultRaw,\n CollectionState,\n CollectionStateParams,\n PatternsErrorHandler,\n stringFilter,\n CollectionOptimisticActions,\n} from '@wix/bex-core';\nimport { action, computed, makeObservable } from 'mobx';\n\nexport interface KanbanStageStateBaseParams<T> {\n readonly container: WixPatternsContainer;\n readonly initialPage?: DataResultRaw<T>;\n readonly name: string;\n readonly key: string;\n}\n\nexport interface KanbanStageStateParams<\n T,\n S,\n F extends FiltersMap & { stageId: ReturnType<typeof stringFilter> },\n> extends KanbanStageStateBaseParams<T> {\n readonly fetchData: CollectionStateParams<T, F>['fetchData'];\n readonly itemKey: CollectionStateParams<T, F>['itemKey'];\n readonly itemName: CollectionStateParams<T, F>['itemName'];\n readonly stage: S;\n}\n\nexport class KanbanStageState<\n T,\n S,\n F extends FiltersMap & { stageId: ReturnType<typeof stringFilter> },\n> {\n readonly container: WixPatternsContainer;\n readonly itemsCollectionState: CollectionState<T, F>;\n name: string;\n readonly key: string;\n readonly stage: S;\n\n constructor(params: KanbanStageStateParams<T, S, F>) {\n this.container = params.container;\n this.name = params.name;\n this.key = params.key;\n this.stage = params.stage;\n this.itemsCollectionState = new CollectionState<T, F>({\n errorMonitor: this.container.errorMonitor,\n history: this.container.history,\n lodash: this.container.lodash,\n onlineState: this.container.onlineState,\n queryCache: this.container.queryCache,\n translate: this.container.translate,\n queryName: `kanban-items-${this.key}`,\n fetchData: params.fetchData,\n itemKey: params.itemKey,\n itemName: params.itemName,\n filters: {\n ...(params as { filters?: F }).filters,\n stageId: stringFilter({ initialValue: this.key }),\n } as F,\n initialPage: params.initialPage,\n errorHandler: this.container\n .errorMonitor as unknown as PatternsErrorHandler,\n paginationMode: 'cursor',\n });\n\n new CollectionOptimisticActions({\n collection: this.itemsCollectionState,\n container: this.container,\n });\n\n makeObservable(this, {\n fetchMore: action,\n stageName: computed,\n stageKey: computed,\n });\n }\n\n init() {\n this.itemsCollectionState.init();\n }\n\n items() {\n return this.itemsCollectionState.keyedItems.map((item: any) => item.item);\n }\n\n itemName(item: T) {\n return this.itemsCollectionState.itemName(item);\n }\n\n itemKey(item: T) {\n return this.itemsCollectionState.itemKey(item);\n }\n\n totalItems() {\n return this.itemsCollectionState.total;\n }\n\n get stageName() {\n return this.name;\n }\n\n get stageKey() {\n return this.key;\n }\n\n isLoading() {\n return this.itemsCollectionState.initTask.status.isLoading;\n }\n\n fetchMore() {\n this.itemsCollectionState.fetchNextPageIfNeeded();\n }\n\n isFetchingMore() {\n return true;\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAUA,IAAAC,KAAA,GAAAD,OAAA;AAoBO,MAAME,gBAAgB,CAI3B;EAOAC,WAAWA,CAACC,MAAuC,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IACnD,IAAI,CAACC,SAAS,GAAGH,MAAM,CAACG,SAAS;IACjC,IAAI,CAACC,IAAI,GAAGJ,MAAM,CAACI,IAAI;IACvB,IAAI,CAACC,GAAG,GAAGL,MAAM,CAACK,GAAG;IACrB,IAAI,CAACC,KAAK,GAAGN,MAAM,CAACM,KAAK;IACzB,IAAI,CAACC,oBAAoB,GAAG,IAAIC,wBAAe,CAAO;MACpDC,YAAY,EAAE,IAAI,CAACN,SAAS,CAACM,YAAY;MACzCC,OAAO,EAAE,IAAI,CAACP,SAAS,CAACO,OAAO;MAC/BC,MA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C;EACjD;EAEArB,OAAOA,CAACqB,IAAO,EAAE;IACf,OAAO,IAAI,CAAC/B,oBAAoB,CAACU,OAAO,CAACqB,IAAI,CAAC;EAChD;EAEAC,UAAUA,CAAA,EAAG;IACX,OAAO,IAAI,CAAChC,oBAAoB,CAACiC,KAAK;EACxC;EAEA,IAAIT,SAASA,CAAA,EAAG;IACd,OAAO,IAAI,CAAC3B,IAAI;EAClB;EAEA,IAAI6B,QAAQA,CAAA,EAAG;IACb,OAAO,IAAI,CAAC5B,GAAG;EACjB;EAEAoC,SAASA,CAAA,EAAG;IACV,OAAO,IAAI,CAAClC,oBAAoB,CAACmC,QAAQ,CAACC,MAAM,CAACF,SAAS;EAC5D;EAEAZ,SAASA,CAAA,EAAG;IACV,IAAI,CAACtB,oBAAoB,CAACqC,qBAAqB,CAAC,CAAC;EACnD;EAEAC,cAAcA,CAAA,EAAG;IACf,OAAO,IAAI;EACb;AACF;AAACC,OAAA,CAAAhD,gBAAA,GAAAA,gBAAA","ignoreList":[]}
@@ -8,6 +8,7 @@ var _bexCore = require("@wix/bex-core");
8
8
  var _ToolbarCollectionState = require("../ToolbarCollectionState");
9
9
  var _KanbanStageState = require("./KanbanStageState");
10
10
  var _mobx = require("mobx");
11
+ var _KanbanCardDragAndDrop = require("../../components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop");
11
12
  class KanbanState {
12
13
  constructor(params) {
13
14
  (0, _defineProperty2.default)(this, "container", void 0);
@@ -15,7 +16,9 @@ class KanbanState {
15
16
  // @ts-expect-error
16
17
  (0, _defineProperty2.default)(this, "toolbar", void 0);
17
18
  (0, _defineProperty2.default)(this, "stagesCollectionState", void 0);
19
+ (0, _defineProperty2.default)(this, "dragAndDropState", void 0);
18
20
  (0, _defineProperty2.default)(this, "items", void 0);
21
+ (0, _defineProperty2.default)(this, "isRefetching", false);
19
22
  this.container = params.container;
20
23
  this.items = params.items;
21
24
  this.stagesCollectionState = new _bexCore.CollectionState({
@@ -39,8 +42,15 @@ class KanbanState {
39
42
  componentType: 'Kanban',
40
43
  reportBi: this.container.reportBi
41
44
  });
45
+ this.dragAndDropState = new _KanbanCardDragAndDrop.KanbanDragAndDropState({
46
+ kanbanState: this
47
+ });
42
48
  (0, _mobx.makeObservable)(this, {
43
- kanbanStageStates: _mobx.observable
49
+ kanbanStageStates: _mobx.observable,
50
+ updateStage: _mobx.action,
51
+ stages: _mobx.computed,
52
+ isRefetching: _mobx.observable,
53
+ refetchKanban: _mobx.action
44
54
  });
45
55
  }
46
56
  async init() {
@@ -52,6 +62,11 @@ class KanbanState {
52
62
  this.toolbar.init({
53
63
  featuresInitializers: []
54
64
  });
65
+ this.dragAndDropState.init();
66
+ new _bexCore.CollectionOptimisticActions({
67
+ collection: this.stagesCollectionState,
68
+ container: this.container
69
+ });
55
70
  }
56
71
  async initialAllStages() {
57
72
  if (!this.items.fetchAllByStageIds) {
@@ -63,23 +78,38 @@ class KanbanState {
63
78
  });
64
79
  this.stagesCollectionState.result.keyedItems.forEach(stage => {
65
80
  (0, _mobx.runInAction)(() => {
66
- var _data$stageId, _data$stageId2, _data$stageId3;
67
81
  const stageId = this.stagesCollectionState.itemKey(stage.item);
68
82
  const hasDataForStage = !!data[stageId];
69
- this.kanbanStageStates[stageId] = new _KanbanStageState.KanbanStageState({
70
- container: this.container,
71
- fetchData: this.items.fetchData,
72
- itemKey: this.items.itemKey,
73
- itemName: this.items.itemName,
74
- initialPage: hasDataForStage ? {
75
- items: (_data$stageId = data[stageId]) == null ? void 0 : _data$stageId.items,
76
- total: (_data$stageId2 = data[stageId]) == null ? void 0 : _data$stageId2.total,
77
- cursor: (_data$stageId3 = data[stageId]) == null ? void 0 : _data$stageId3.cursor
78
- } : undefined,
79
- name: this.stagesCollectionState.itemName(stage.item),
80
- key: this.stagesCollectionState.itemKey(stage.item),
81
- stage: stage.item
82
- });
83
+ if (!this.kanbanStageStates[stageId]) {
84
+ var _data$stageId, _data$stageId2, _data$stageId3;
85
+ this.kanbanStageStates[stageId] = new _KanbanStageState.KanbanStageState({
86
+ container: this.container,
87
+ fetchData: this.items.fetchData,
88
+ itemKey: this.items.itemKey,
89
+ itemName: this.items.itemName,
90
+ initialPage: hasDataForStage ? {
91
+ items: (_data$stageId = data[stageId]) == null ? void 0 : _data$stageId.items,
92
+ total: (_data$stageId2 = data[stageId]) == null ? void 0 : _data$stageId2.total,
93
+ cursor: (_data$stageId3 = data[stageId]) == null ? void 0 : _data$stageId3.cursor
94
+ } : undefined,
95
+ name: this.stagesCollectionState.itemName(stage.item),
96
+ key: this.stagesCollectionState.itemKey(stage.item),
97
+ stage: stage.item
98
+ });
99
+ } else {
100
+ this.kanbanStageStates[stageId].itemsCollectionState.clearResultAndMoveToStart();
101
+ this.kanbanStageStates[stageId].name = this.stagesCollectionState.itemName(stage.item);
102
+ if (hasDataForStage) {
103
+ var _data$stageId4, _data$stageId5, _data$stageId6;
104
+ this.kanbanStageStates[stageId].itemsCollectionState.setInitialPage({
105
+ items: (_data$stageId4 = data[stageId]) == null ? void 0 : _data$stageId4.items,
106
+ total: (_data$stageId5 = data[stageId]) == null ? void 0 : _data$stageId5.total,
107
+ cursor: (_data$stageId6 = data[stageId]) == null ? void 0 : _data$stageId6.cursor
108
+ });
109
+ } else {
110
+ this.kanbanStageStates[stageId].itemsCollectionState.clearResultAndMoveToStart();
111
+ }
112
+ }
83
113
  });
84
114
  });
85
115
  }
@@ -88,21 +118,47 @@ class KanbanState {
88
118
  stageState.init();
89
119
  });
90
120
  }
91
- stages() {
121
+ get stages() {
92
122
  return this.stagesCollectionState.result.keyedItems.map(item => item.item);
93
123
  }
94
124
  getStageState(stage) {
95
125
  return this.kanbanStageStates[this.stagesCollectionState.itemKey(stage)];
96
126
  }
127
+ getStageStateByKey(stageKey) {
128
+ return this.kanbanStageStates[stageKey];
129
+ }
97
130
  isLoading() {
98
- return this.stagesCollectionState.initTask.status.isLoading || Object.keys(this.kanbanStageStates).length !== this.stagesCollectionState.result.keyedItems.length || Object.values(this.kanbanStageStates).some(stage => stage.isLoading());
131
+ return this.isLoadingStages() || Object.values(this.kanbanStageStates).some(stage => stage.isLoading());
99
132
  }
100
- stageName(stage) {
101
- return this.stagesCollectionState.itemName(stage);
133
+ isLoadingStages() {
134
+ return this.stagesCollectionState.initTask.status.isLoading || this.isRefetching || Object.keys(this.kanbanStageStates).length !== this.stagesCollectionState.result.keyedItems.length;
102
135
  }
103
136
  stageKey(stage) {
104
137
  return this.stagesCollectionState.itemKey(stage);
105
138
  }
139
+ updateStage(originalStage, updatedStage) {
140
+ this.stagesCollectionState.optimisticActions.updateOne(originalStage, {
141
+ submit: () => {
142
+ return Promise.resolve(updatedStage);
143
+ },
144
+ keepPosition: true
145
+ });
146
+ }
147
+ async refetchKanban() {
148
+ (0, _mobx.runInAction)(() => {
149
+ this.isRefetching = true;
150
+ });
151
+ try {
152
+ await this.stagesCollectionState.clearResultBeforeRefresh();
153
+ await this.stagesCollectionState.refreshAllPages();
154
+ await this.initialAllStages();
155
+ this.waitLoadStagesState();
156
+ } finally {
157
+ (0, _mobx.runInAction)(() => {
158
+ this.isRefetching = false;
159
+ });
160
+ }
161
+ }
106
162
  }
107
163
  exports.KanbanState = KanbanState;
108
164
  //# sourceMappingURL=KanbanState.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_bexCore","require","_ToolbarCollectionState","_KanbanStageState","_mobx","KanbanState","constructor","params","_defineProperty2","default","container","items","stagesCollectionState","CollectionState","errorMonitor","history","lodash","onlineState","queryCache","translate","queryName","fetchData","stages","itemKey","stageKey","itemName","stageName","filters","errorHandler","paginationMode","toolbar","ToolbarCollectionState","collection","componentType","reportBi","makeObservable","kanbanStageStates","observable","init","_this$stagesCollectio","initTask","status","promise","catch","initialAllStages","waitLoadStagesState","featuresInitializers","fetchAllByStageIds","data","ids","result","keyedItems","map","item","filter","forEach","stage","runInAction","_data$stageId","_data$stageId2","_data$stageId3","stageId","hasDataForStage","KanbanStageState","initialPage","total","cursor","undefined","name","key","Object","entries","stageState","getStageState","isLoading","keys","length","values","some","exports"],"sources":["../../../../src/state/KanbanState/KanbanState.ts"],"sourcesContent":["import {\n CollectionState,\n CollectionStateParams,\n DataResultRaw,\n FiltersMap,\n OptionalFiltersMap,\n WixPatternsContainer,\n stringFilter,\n} from '@wix/bex-core';\nimport { ICollectionComponentState } from '../ICollectionComponentState';\nimport { ToolbarCollectionState } from '../ToolbarCollectionState';\nimport { KanbanDragEndItemEvent } from './KanbanDragEndEvent';\nimport { KanbanStageState } from './KanbanStageState';\nimport { observable, makeObservable, runInAction } from 'mobx';\n\nexport type stageType = 'DONE' | 'NONE';\n\nexport interface KanbanStateBaseParams<\n T,\n S,\n F extends FiltersMap = OptionalFiltersMap,\n> {\n stages: {\n fetchData: CollectionStateParams<S, F>['fetchData'];\n stageKey: CollectionStateParams<S, F>['itemKey'];\n stageName: CollectionStateParams<S, F>['itemName'];\n stageType?(stage: S): stageType;\n };\n items: {\n fetchData: CollectionStateParams<T, F>['fetchData'];\n itemKey: CollectionStateParams<T, F>['itemKey'];\n itemName: CollectionStateParams<T, F>['itemName'];\n fetchAllByStageIds?: ({\n ids,\n filter,\n }: {\n ids: string[];\n filter: F;\n }) => Promise<Record<string, DataResultRaw<T>>>;\n dragAndDrop?: {\n onSubmit?: (event: KanbanDragEndItemEvent<T>) => Promise<void>;\n };\n };\n}\n\nexport interface KanbanStateParams<\n T,\n S,\n F extends FiltersMap = OptionalFiltersMap,\n> extends KanbanStateBaseParams<T, S, F> {\n readonly container: WixPatternsContainer;\n}\n\nexport interface KanbanStateParamsAPI {\n readonly toolbar: ToolbarCollectionState<unknown, {}>;\n}\n\nexport class KanbanState<T, S, F extends FiltersMap = OptionalFiltersMap>\n implements ICollectionComponentState, KanbanStateParamsAPI\n{\n readonly container: any;\n kanbanStageStates: Record<\n string,\n KanbanStageState<T, S, F & { stageId: ReturnType<typeof stringFilter> }>\n > = {};\n // @ts-expect-error\n readonly toolbar: ToolbarCollectionState<S, F>;\n readonly stagesCollectionState: CollectionState<S, F>;\n items: KanbanStateBaseParams<T, S, F>['items'];\n\n constructor(params: KanbanStateParams<T, S, F>) {\n this.container = params.container;\n this.items = params.items;\n this.stagesCollectionState = new CollectionState<S, F>({\n errorMonitor: this.container.errorMonitor,\n history: this.container.history,\n lodash: this.container.lodash,\n onlineState: this.container.onlineState,\n queryCache: this.container.queryCache,\n translate: this.container.translate,\n queryName: 'kanban-stages',\n fetchData: params.stages.fetchData,\n itemKey: params.stages.stageKey,\n itemName: params.stages.stageName,\n filters: {} as F,\n errorHandler: this.container.errorMonitor,\n paginationMode: 'cursor',\n });\n\n this.toolbar = new ToolbarCollectionState({\n collection: this.stagesCollectionState,\n container: params.container,\n componentType: 'Kanban',\n reportBi: this.container.reportBi,\n });\n\n makeObservable(this, {\n kanbanStageStates: observable,\n });\n }\n\n async init() {\n this.stagesCollectionState.init();\n await this.stagesCollectionState?.initTask?.status?.promise?.catch(\n () => {},\n );\n await this.initialAllStages();\n this.waitLoadStagesState();\n this.toolbar.init({ featuresInitializers: [] });\n }\n\n async initialAllStages() {\n if (!this.items.fetchAllByStageIds) {\n return;\n }\n\n const data = await this.items.fetchAllByStageIds({\n ids: this.stagesCollectionState.result.keyedItems.map((item) =>\n this.stagesCollectionState.itemKey(item.item),\n ),\n filter: {} as any,\n });\n\n this.stagesCollectionState.result.keyedItems.forEach((stage) => {\n runInAction(() => {\n const stageId = this.stagesCollectionState.itemKey(stage.item);\n const hasDataForStage = !!data[stageId];\n this.kanbanStageStates[stageId] = new KanbanStageState<\n T,\n S,\n F & { stageId: ReturnType<typeof stringFilter> }\n >({\n container: this.container,\n fetchData: this.items.fetchData,\n itemKey: this.items.itemKey,\n itemName: this.items.itemName,\n initialPage: hasDataForStage\n ? {\n items: data[stageId]?.items,\n total: data[stageId]?.total,\n cursor: data[stageId]?.cursor,\n }\n : undefined,\n name: this.stagesCollectionState.itemName(stage.item),\n key: this.stagesCollectionState.itemKey(stage.item),\n stage: stage.item,\n });\n });\n });\n }\n\n waitLoadStagesState() {\n Object.entries(this.kanbanStageStates).forEach(([, stageState]) => {\n stageState.init();\n });\n }\n\n stages() {\n return this.stagesCollectionState.result.keyedItems.map((item: any) => item.item);\n }\n\n getStageState(stage: S) {\n return this.kanbanStageStates[this.stagesCollectionState.itemKey(stage)];\n }\n\n isLoading() {\n return (\n this.stagesCollectionState.initTask.status.isLoading ||\n Object.keys(this.kanbanStageStates).length !==\n this.stagesCollectionState.result.keyedItems.length ||\n Object.values(this.kanbanStageStates).some((stage) => stage.isLoading())\n );\n }\n\n stageName(stage: S) {\n return this.stagesCollectionState.itemName(stage);\n }\n\n stageKey(stage: S) {\n return this.stagesCollectionState.itemKey(stage);\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAUA,IAAAC,uBAAA,GAAAD,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AA4CO,MAAMI,WAAW,CAExB;EAWEC,WAAWA,CAACC,MAAkC,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA,6BAN5C,CAAC,CAAC;IACN;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAME,IAAI,CAACC,SAAS,GAAGH,MAAM,CAACG,SAAS;IACjC,IAAI,CAACC,KAAK,GAAGJ,MAAM,CAACI,KAAK;IACzB,IAAI,CAACC,qBAAqB,GAAG,IAAIC,wBAAe,CAAO;MACrDC,YAAY,EAAE,IAAI,CAACJ,SAAS,CAACI,YAAY;MACzCC,OAAO,EAAE,IAAI,CAACL,SAAS,CAACK,OAAO;MAC/BC,MAAM,EAAE,IAAI,CAACN,SAAS,CAACM,MAAM;MAC7BC,WAAW,EAAE,IAAI,CAACP,SAAS,CAACO,WAAW;MACvCC,UAAU,EAAE,IAAI,CAACR,SAAS,CAACQ,UAAU;MACrCC,SAAS,E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AC;EACnD;EAEAhC,QAAQA,CAACgC,KAAQ,EAAE;IACjB,OAAO,IAAI,CAAC5C,qBAAqB,CAACW,OAAO,CAACiC,KAAK,CAAC;EAClD;AACF;AAACuB,OAAA,CAAA1E,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_bexCore","require","_ToolbarCollectionState","_KanbanStageState","_mobx","_KanbanCardDragAndDrop","KanbanState","constructor","params","_defineProperty2","default","container","items","stagesCollectionState","CollectionState","errorMonitor","history","lodash","onlineState","queryCache","translate","queryName","fetchData","stages","itemKey","stageKey","itemName","stageName","filters","errorHandler","paginationMode","toolbar","ToolbarCollectionState","collection","componentType","reportBi","dragAndDropState","KanbanDragAndDropState","kanbanState","makeObservable","kanbanStageStates","observable","updateStage","action","computed","isRefetching","refetchKanban","init","_this$stagesCollectio","initTask","status","promise","catch","initialAllStages","waitLoadStagesState","featuresInitializers","CollectionOptimisticActions","fetchAllByStageIds","data","ids","result","keyedItems","map","item","filter","forEach","stage","runInAction","stageId","hasDataForStage","_data$stageId","_data$stageId2","_data$stageId3","KanbanStageState","initialPage","total","cursor","undefined","name","key","itemsCollectionState","clearResultAndMoveToStart","_data$stageId4","_data$stageId5","_data$stageId6","setInitialPage","Object","entries","stageState","getStageState","getStageStateByKey","isLoading","isLoadingStages","values","some","keys","length","originalStage","updatedStage","optimisticActions","updateOne","submit","Promise","resolve","keepPosition","clearResultBeforeRefresh","refreshAllPages","exports"],"sources":["../../../../src/state/KanbanState/KanbanState.ts"],"sourcesContent":["import {\n CollectionState,\n CollectionStateParams,\n DataResultRaw,\n FiltersMap,\n OptionalFiltersMap,\n WixPatternsContainer,\n stringFilter,\n CollectionOptimisticActions,\n} from '@wix/bex-core';\nimport { ICollectionComponentState } from '../ICollectionComponentState';\nimport { ToolbarCollectionState } from '../ToolbarCollectionState';\nimport { KanbanDragEndItemEvent } from './KanbanDragEndEvent';\nimport { KanbanStageState } from './KanbanStageState';\nimport {\n observable,\n makeObservable,\n runInAction,\n action,\n computed,\n} from 'mobx';\nimport { KanbanDragAndDropState } from '../../components/KanbanDragAndDropDndKit/KanbanCardDragAndDrop';\n\nexport type stageType = 'DONE' | 'NONE';\n\nexport interface KanbanStateBaseParams<\n T,\n S,\n F extends FiltersMap = OptionalFiltersMap,\n> {\n stages: {\n fetchData: CollectionStateParams<S, F>['fetchData'];\n stageKey: CollectionStateParams<S, F>['itemKey'];\n stageName: CollectionStateParams<S, F>['itemName'];\n stageType?(stage: S): stageType;\n };\n items: {\n fetchData: CollectionStateParams<T, F>['fetchData'];\n itemKey: CollectionStateParams<T, F>['itemKey'];\n itemName: CollectionStateParams<T, F>['itemName'];\n fetchAllByStageIds?: ({\n ids,\n filter,\n }: {\n ids: string[];\n filter: F;\n }) => Promise<Record<string, DataResultRaw<T>>>;\n dragAndDrop?: {\n onSubmit?: (event: KanbanDragEndItemEvent<T>) => Promise<T>;\n };\n };\n}\n\nexport interface KanbanStateParams<\n T,\n S,\n F extends FiltersMap = OptionalFiltersMap,\n> extends KanbanStateBaseParams<T, S, F> {\n readonly container: WixPatternsContainer;\n}\n\nexport interface KanbanStateParamsAPI {\n readonly toolbar: ToolbarCollectionState<unknown, {}>;\n}\n\nexport class KanbanState<T, S, F extends FiltersMap = OptionalFiltersMap>\n implements ICollectionComponentState, KanbanStateParamsAPI {\n readonly container: any;\n kanbanStageStates: Record<\n string,\n KanbanStageState<T, S, F & { stageId: ReturnType<typeof stringFilter> }>\n > = {};\n // @ts-expect-error\n readonly toolbar: ToolbarCollectionState<S, F>;\n readonly stagesCollectionState: CollectionState<S, F>;\n readonly dragAndDropState: KanbanDragAndDropState<\n T,\n S,\n F & { stageId: ReturnType<typeof stringFilter> }\n >;\n items: KanbanStateBaseParams<T, S, F>['items'];\n isRefetching = false;\n\n constructor(params: KanbanStateParams<T, S, F>) {\n this.container = params.container;\n this.items = params.items;\n this.stagesCollectionState = new CollectionState<S, F>({\n errorMonitor: this.container.errorMonitor,\n history: this.container.history,\n lodash: this.container.lodash,\n onlineState: this.container.onlineState,\n queryCache: this.container.queryCache,\n translate: this.container.translate,\n queryName: 'kanban-stages',\n fetchData: params.stages.fetchData,\n itemKey: params.stages.stageKey,\n itemName: params.stages.stageName,\n filters: {} as F,\n errorHandler: this.container.errorMonitor,\n paginationMode: 'cursor',\n });\n\n this.toolbar = new ToolbarCollectionState({\n collection: this.stagesCollectionState,\n container: params.container,\n componentType: 'Kanban',\n reportBi: this.container.reportBi,\n });\n\n this.dragAndDropState = new KanbanDragAndDropState({\n kanbanState: this as any,\n });\n\n makeObservable(this, {\n kanbanStageStates: observable,\n updateStage: action,\n stages: computed,\n isRefetching: observable,\n refetchKanban: action,\n });\n }\n\n async init() {\n this.stagesCollectionState.init();\n await this.stagesCollectionState?.initTask?.status?.promise?.catch(\n () => { },\n );\n await this.initialAllStages();\n this.waitLoadStagesState();\n this.toolbar.init({ featuresInitializers: [] });\n this.dragAndDropState.init();\n new CollectionOptimisticActions({\n collection: this.stagesCollectionState,\n container: this.container,\n });\n }\n\n async initialAllStages() {\n if (!this.items.fetchAllByStageIds) {\n return;\n }\n\n const data = await this.items.fetchAllByStageIds({\n ids: this.stagesCollectionState.result.keyedItems.map((item) =>\n this.stagesCollectionState.itemKey(item.item),\n ),\n filter: {} as any,\n });\n\n this.stagesCollectionState.result.keyedItems.forEach((stage) => {\n runInAction(() => {\n const stageId = this.stagesCollectionState.itemKey(stage.item);\n const hasDataForStage = !!data[stageId];\n if (!this.kanbanStageStates[stageId]) {\n this.kanbanStageStates[stageId] = new KanbanStageState<\n T,\n S,\n F & { stageId: ReturnType<typeof stringFilter> }\n >({\n container: this.container,\n fetchData: this.items.fetchData,\n itemKey: this.items.itemKey,\n itemName: this.items.itemName,\n initialPage: hasDataForStage\n ? {\n items: data[stageId]?.items,\n total: data[stageId]?.total,\n cursor: data[stageId]?.cursor,\n }\n : undefined,\n name: this.stagesCollectionState.itemName(stage.item),\n key: this.stagesCollectionState.itemKey(stage.item),\n stage: stage.item,\n });\n } else {\n this.kanbanStageStates[\n stageId\n ].itemsCollectionState.clearResultAndMoveToStart();\n this.kanbanStageStates[stageId].name =\n this.stagesCollectionState.itemName(stage.item);\n if (hasDataForStage) {\n this.kanbanStageStates[stageId].itemsCollectionState.setInitialPage(\n {\n items: data[stageId]?.items,\n total: data[stageId]?.total,\n cursor: data[stageId]?.cursor,\n },\n );\n } else {\n this.kanbanStageStates[\n stageId\n ].itemsCollectionState.clearResultAndMoveToStart();\n }\n }\n });\n });\n }\n\n waitLoadStagesState() {\n Object.entries(this.kanbanStageStates).forEach(([, stageState]) => {\n stageState.init();\n });\n }\n\n get stages() {\n return this.stagesCollectionState.result.keyedItems.map(\n (item: any) => item.item,\n );\n }\n\n getStageState(stage: S) {\n return this.kanbanStageStates[this.stagesCollectionState.itemKey(stage)];\n }\n\n getStageStateByKey(stageKey: string) {\n return this.kanbanStageStates[stageKey];\n }\n\n isLoading() {\n return (\n this.isLoadingStages() ||\n Object.values(this.kanbanStageStates).some((stage) => stage.isLoading())\n );\n }\n\n isLoadingStages() {\n return (\n this.stagesCollectionState.initTask.status.isLoading ||\n this.isRefetching ||\n Object.keys(this.kanbanStageStates).length !==\n this.stagesCollectionState.result.keyedItems.length\n );\n }\n\n stageKey(stage: S) {\n return this.stagesCollectionState.itemKey(stage);\n }\n\n updateStage(originalStage: S, updatedStage: S) {\n this.stagesCollectionState.optimisticActions.updateOne(originalStage, {\n submit: () => {\n return Promise.resolve(updatedStage);\n },\n keepPosition: true,\n });\n }\n\n async refetchKanban() {\n runInAction(() => {\n this.isRefetching = true;\n });\n try {\n await this.stagesCollectionState.clearResultBeforeRefresh();\n await this.stagesCollectionState.refreshAllPages();\n await this.initialAllStages();\n this.waitLoadStagesState();\n } finally {\n runInAction(() => {\n this.isRefetching = false;\n });\n }\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAWA,IAAAC,uBAAA,GAAAD,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AACA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L,YAAY,CAAC;MACtC,CAAC;MACDM,YAAY,EAAE;IAChB,CAAC,CAAC;EACJ;EAEA,MAAM1D,aAAaA,CAAA,EAAG;IACpB,IAAAqB,iBAAW,EAAC,MAAM;MAChB,IAAI,CAACtB,YAAY,GAAG,IAAI;IAC1B,CAAC,CAAC;IACF,IAAI;MACF,MAAM,IAAI,CAAChC,qBAAqB,CAAC4F,wBAAwB,CAAC,CAAC;MAC3D,MAAM,IAAI,CAAC5F,qBAAqB,CAAC6F,eAAe,CAAC,CAAC;MAClD,MAAM,IAAI,CAACrD,gBAAgB,CAAC,CAAC;MAC7B,IAAI,CAACC,mBAAmB,CAAC,CAAC;IAC5B,CAAC,SAAS;MACR,IAAAa,iBAAW,EAAC,MAAM;QAChB,IAAI,CAACtB,YAAY,GAAG,KAAK;MAC3B,CAAC,CAAC;IACJ;EACF;AACF;AAAC8D,OAAA,CAAArG,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -1 +1 @@
1
- .CardContainer1339760017__root.CardContainer1339760017--mobile{border-radius:0}.Collapse1339175885__root{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.Collapse1339175885__exit{height:0}.CollectionPage2694064956__root.CollectionPage2694064956--mobile{--wds-page-header-padding-horizontal:0}.CollectionTable3243880598__root.CollectionTable3243880598--mobile td:first-child{padding-left:18px}.CollectionTable3243880598__root.CollectionTable3243880598--mobile td:last-child{padding-right:18px}.CollectionToolbar1613416581__left{min-width:0}.CollectionToolbar1613416581__root.CollectionToolbar1613416581--views .CollectionToolbar1613416581__left{flex-shrink:1;flex-grow:0}.CollectionToolbar1613416581__left.CollectionToolbar1613416581--expandable{flex:auto}.CollectionToolbar1613416581__root .CollectionToolbar1613416581__right{justify-content:flex-end!important;flex-grow:1;flex-shrink:1;flex-basis:auto}.CollectionToolbar1613416581__root.CollectionToolbar1613416581--views .CollectionToolbar1613416581__right{min-width:0;flex-grow:1;flex-shrink:0;flex-basis:0}.CollectionToolbar1613416581__root .CollectionToolbar1613416581__right.CollectionToolbar1613416581__fullWidth{margin-inline-start:0!important}.CollectionToolbar1613416581__root.CollectionToolbar1613416581--mobile{padding-right:18px;padding-left:18px}.SearchOrCustomFilter2379971021__search{min-width:140px;max-width:240px;flex:1 0}.SearchOrCustomFilter2379971021__searchMobile{width:100%;justify-content:flex-end}.AutoCompleteReadonly4124133659__root.AutoCompleteReadonly4124133659--disableEditing{cursor:pointer}.AutoCompleteReadonly4124133659__root.AutoCompleteReadonly4124133659--disableEditing input{cursor:pointer}.ViewsDropdown1862623724__root{width:200px}.DragHandle1168936296__root{display:flex;align-items:center}.DragHandle1168936296__root:not(.DragHandle1168936296--disabled){cursor:grab;color:#a8caff}.DragHandle1168936296__root.DragHandle1168936296--disabled{color:#acafc4}.DragHandle1168936296__root:focus-visible:not(.DragHandle1168936296--disabled){outline:0;box-shadow:0 0 0 3px #a6d0ff}.DragHandle1168936296__root.DragHandle1168936296--disabled{pointer-events:none}.DragHandle1168936296__root.DragHandle1168936296--dragging:not(.DragHandle1168936296--disabled){cursor:grabbing}.EntityPagePlain482760894__root.EntityPagePlain482760894--mobile{--wds-page-header-padding-horizontal:0}.Fade270261638__root{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);opacity:1}.Fade270261638__root.Fade270261638--exit{opacity:0}.Heading4085317249__root{visibility:visible}.Heading4085317249__root.Heading4085317249--appearanceH2{font-size:28px!important;line-height:36px!important}.InputOverflow2606143822__root.InputOverflow2606143822--selected:not(.InputOverflow2606143822--focused) input::placeholder{color:#000624}@keyframes LoadingRow941976095__gradientSwoosh{0%{background-position:50% 50%;background-size:150% 125%}15%{background-position:75% 40%;background-size:130% 115%}30%{background-position:50% 50%;background-size:120% 135%}60%{background-position:30% 50%;background-size:120% 135%}80%{background-position:10% 30%;background-size:130% 155%}to{background-position:40% 45%;background-size:125% 135%}}.LoadingRow941976095__root{background-image:linear-gradient(60deg,rgba(255,255,255,.15)0,rgba(255,255,255,.15) 50%,rgba(95,242,174,.15) 100%),linear-gradient(284.81deg,#fff 67.18%,#91bbff 158.87%),linear-gradient(29deg,rgba(145,187,255,.6)0,#fff 40%,rgba(95,242,174,.6) 100%);height:100%;background-size:150% 125%;background-repeat:no-repeat;animation:LoadingRow941976095__gradientSwoosh 2s ease-out infinite alternate}.MaxHeightText3829307974__root{opacity:1}.MaxHeightText3829307974__root.MaxHeightText3829307974--height24{line-height:24px}.MaxLines1901136821__root{overflow:hidden}.MaxLines1901136821__root.MaxLines1901136821--clamp{-webkit-box-orient:vertical;display:-webkit-box}.MultiBulkActionToolbar1468375284__root{min-width:0}.NestedTablePlaceholderStatesRow2133643592__root td{padding:0!important;width:100%}.NestedTableRow2529761479__firstLevel td{padding-top:18px!important;padding-bottom:18px!important}.NestedTableRow2529761479__root:hover{background-color:#e7f0ff!important}.NestedTableRow2529761479__root.NestedTableRow2529761479--expandable{cursor:pointer}.NestedTableRow2529761479__placeholder td{padding:0!important;width:100%}.NestedTableRow2529761479__root:hover td:first-of-type::before,.NestedTableRow2529761479__parentHovered td:first-of-type::before{content:"";position:absolute;top:0;bottom:0;left:0;width:2px;background-color:#5999ff}.MultipleDragOverlayEffect3180582414__root{position:absolute;transform:translate(6px,6px);background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,6,36,.12),0 0 6px 0 rgba(0,6,36,.12)}.NestedTableDragAndDropRow3679791984__root.NestedTableDragAndDropRow3679791984--draggingInto td{background-color:#e7f0ff!important}.PickerContent3678330882__root{display:flex}.PickerContentAdditionalStep797243909__titles{display:flex;justify-content:center;flex:1 1 auto;overflow:hidden;flex-direction:column}.PickerContentAdditionalStep797243909__suffix{display:flex;align-items:center;flex:0 0 auto;overflow:hidden}.PickerTableListItem218226363__root{box-sizing:border-box}.ScrollableContent1288143410__root.ScrollableContent1288143410--overflowY{overflow-y:auto}.ScrollableContent1288143410__root.ScrollableContent1288143410--overflowX{overflow-x:auto}.ScrollableContent1288143410__root.ScrollableContent1288143410--smooth{scroll-behavior:smooth}.SkeletonCard3447478184__headerLoading{display:block!important}.SlidingModal1899144975__root{transition:transform .4s ease 0s;position:fixed;z-index:1}.SlidingModal1899144975__root:not(.SlidingModal1899144975--exited){box-shadow:0 3px 24px 0 rgba(22,45,61,.18),0 8px 8px 0 rgba(22,45,61,.12)}.TabsFilter335452401__root .TabsFilter335452401__title{color:inherit!important}.ManageTagsModal3119670923__root{display:flex}.ToolbarItem3465966420__root{min-width:0}.ToolbarItemBox1504596502__root{min-width:0}.ToolbarItemBox1504596502__root.ToolbarItemBox1504596502--removeStartPadding{margin-left:-24px}.ToolbarItemBox1504596502__root.ToolbarItemBox1504596502--expandable{flex:1 0}.common1191821305__column{display:flex;flex-direction:column}.common1191821305__fullHeight{height:100%;min-height:0}.CollectionPageHeader2928470814__root.CollectionPageHeader2928470814--mobile{flex-direction:column;padding-right:18px;padding-left:18px}.CollectionPageHeader2928470814__root.CollectionPageHeader2928470814--mobile>*{margin-left:0;margin-top:6px!important;height:auto}.FormPageHeader3026938166__root.FormPageHeader3026938166--mobile{flex-direction:column;padding-right:18px;padding-left:18px}.FormPageHeader3026938166__root.FormPageHeader3026938166--mobile>*{margin-left:0;margin-top:6px!important;height:auto}
1
+ .CardContainer1801677667__root.CardContainer1801677667--mobile{border-radius:0}.Collapse1330669401__root{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.Collapse1330669401__exit{height:0}.CollectionPage2046755266__root.CollectionPage2046755266--mobile{--wds-page-header-padding-horizontal:0}.CollectionTable1891353037__root.CollectionTable1891353037--mobile td:first-child{padding-left:18px}.CollectionTable1891353037__root.CollectionTable1891353037--mobile td:last-child{padding-right:18px}.CollectionToolbar2276336556__left{min-width:0}.CollectionToolbar2276336556__root.CollectionToolbar2276336556--views .CollectionToolbar2276336556__left{flex-shrink:1;flex-grow:0}.CollectionToolbar2276336556__left.CollectionToolbar2276336556--expandable{flex:auto}.CollectionToolbar2276336556__root .CollectionToolbar2276336556__right{justify-content:flex-end!important;flex-grow:1;flex-shrink:1;flex-basis:auto}.CollectionToolbar2276336556__root.CollectionToolbar2276336556--views .CollectionToolbar2276336556__right{min-width:0;flex-grow:1;flex-shrink:0;flex-basis:0}.CollectionToolbar2276336556__root .CollectionToolbar2276336556__right.CollectionToolbar2276336556__fullWidth{margin-inline-start:0!important}.CollectionToolbar2276336556__root.CollectionToolbar2276336556--mobile{padding-right:18px;padding-left:18px}.SearchOrCustomFilter3280325447__search{min-width:140px;max-width:240px;flex:1 0}.SearchOrCustomFilter3280325447__searchMobile{width:100%;justify-content:flex-end}.AutoCompleteReadonly535503049__root.AutoCompleteReadonly535503049--disableEditing{cursor:pointer}.AutoCompleteReadonly535503049__root.AutoCompleteReadonly535503049--disableEditing input{cursor:pointer}.ViewsDropdown1680502003__root{width:200px}.DragHandle809685446__root{display:flex;align-items:center}.DragHandle809685446__root:not(.DragHandle809685446--disabled){cursor:grab;color:#a8caff}.DragHandle809685446__root.DragHandle809685446--disabled{color:#acafc4}.DragHandle809685446__root:focus-visible:not(.DragHandle809685446--disabled){outline:0;box-shadow:0 0 0 3px #a6d0ff}.DragHandle809685446__root.DragHandle809685446--disabled{pointer-events:none}.DragHandle809685446__root.DragHandle809685446--dragging:not(.DragHandle809685446--disabled){cursor:grabbing}.EntityPagePlain1363355066__root.EntityPagePlain1363355066--mobile{--wds-page-header-padding-horizontal:0}.Fade2046648099__root{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);opacity:1}.Fade2046648099__root.Fade2046648099--exit{opacity:0}.Heading2694440307__root{visibility:visible}.Heading2694440307__root.Heading2694440307--appearanceH2{font-size:28px!important;line-height:36px!important}.InputOverflow2890612111__root.InputOverflow2890612111--selected:not(.InputOverflow2890612111--focused) input::placeholder{color:#000624}@keyframes LoadingRow1844243995__gradientSwoosh{0%{background-position:50% 50%;background-size:150% 125%}15%{background-position:75% 40%;background-size:130% 115%}30%{background-position:50% 50%;background-size:120% 135%}60%{background-position:30% 50%;background-size:120% 135%}80%{background-position:10% 30%;background-size:130% 155%}to{background-position:40% 45%;background-size:125% 135%}}.LoadingRow1844243995__root{background-image:linear-gradient(60deg,rgba(255,255,255,.15)0,rgba(255,255,255,.15) 50%,rgba(95,242,174,.15) 100%),linear-gradient(284.81deg,#fff 67.18%,#91bbff 158.87%),linear-gradient(29deg,rgba(145,187,255,.6)0,#fff 40%,rgba(95,242,174,.6) 100%);height:100%;background-size:150% 125%;background-repeat:no-repeat;animation:LoadingRow1844243995__gradientSwoosh 2s ease-out infinite alternate}.MaxHeightText1500268932__root{opacity:1}.MaxHeightText1500268932__root.MaxHeightText1500268932--height24{line-height:24px}.MaxLines2655113587__root{overflow:hidden}.MaxLines2655113587__root.MaxLines2655113587--clamp{-webkit-box-orient:vertical;display:-webkit-box}.MultiBulkActionToolbar692472361__root{min-width:0}.NestedTablePlaceholderStatesRow4170013255__root td{padding:0!important;width:100%}.NestedTableRow4006079430__firstLevel td{padding-top:18px!important;padding-bottom:18px!important}.NestedTableRow4006079430__root:hover{background-color:#e7f0ff!important}.NestedTableRow4006079430__root.NestedTableRow4006079430--expandable{cursor:pointer}.NestedTableRow4006079430__placeholder td{padding:0!important;width:100%}.NestedTableRow4006079430__root:hover td:first-of-type::before,.NestedTableRow4006079430__parentHovered td:first-of-type::before{content:"";position:absolute;top:0;bottom:0;left:0;width:2px;background-color:#5999ff}.MultipleDragOverlayEffect1548623882__root{position:absolute;transform:translate(6px,6px);background-color:#fff;box-shadow:0 2px 4px 0 rgba(0,6,36,.12),0 0 6px 0 rgba(0,6,36,.12)}.NestedTableDragAndDropRow2456247580__root.NestedTableDragAndDropRow2456247580--draggingInto td{background-color:#e7f0ff!important}.PickerContent4238434937__root{display:flex}.PickerContentAdditionalStep1723717579__titles{display:flex;justify-content:center;flex:1 1 auto;overflow:hidden;flex-direction:column}.PickerContentAdditionalStep1723717579__suffix{display:flex;align-items:center;flex:0 0 auto;overflow:hidden}.PickerTableListItem1841231422__root{box-sizing:border-box}.ScrollableContent927021353__root.ScrollableContent927021353--overflowY{overflow-y:auto}.ScrollableContent927021353__root.ScrollableContent927021353--overflowX{overflow-x:auto}.ScrollableContent927021353__root.ScrollableContent927021353--smooth{scroll-behavior:smooth}.SkeletonCard3585000__headerLoading{display:block!important}.SlidingModal1753585837__root{transition:transform .4s ease 0s;position:fixed;z-index:1}.SlidingModal1753585837__root:not(.SlidingModal1753585837--exited){box-shadow:0 3px 24px 0 rgba(22,45,61,.18),0 8px 8px 0 rgba(22,45,61,.12)}.TabsFilter2152734751__root .TabsFilter2152734751__title{color:inherit!important}.ManageTagsModal14300602__root{display:flex}.ToolbarItem3294093375__root{min-width:0}.ToolbarItemBox2768305720__root{min-width:0}.ToolbarItemBox2768305720__root.ToolbarItemBox2768305720--removeStartPadding{margin-left:-24px}.ToolbarItemBox2768305720__root.ToolbarItemBox2768305720--expandable{flex:1 0}.common2212590693__column{display:flex;flex-direction:column}.common2212590693__fullHeight{height:100%;min-height:0}.CollectionPageHeader4293130756__root.CollectionPageHeader4293130756--mobile{flex-direction:column;padding-right:18px;padding-left:18px}.CollectionPageHeader4293130756__root.CollectionPageHeader4293130756--mobile>*{margin-left:0;margin-top:6px!important;height:auto}.FormPageHeader1940199411__root.FormPageHeader1940199411--mobile{flex-direction:column;padding-right:18px;padding-left:18px}.FormPageHeader1940199411__root.FormPageHeader1940199411--mobile>*{margin-left:0;margin-top:6px!important;height:auto}
@@ -2,5 +2,5 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.version = void 0;
5
- const version = exports.version = 'patterns@1.228.0';
5
+ const version = exports.version = 'patterns@1.230.0';
6
6
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["version","exports"],"sources":["../../src/version.ts"],"sourcesContent":["export const version = 'patterns@1.228.0';\n"],"mappings":";;;;AAAO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,kBAAkB","ignoreList":[]}
1
+ {"version":3,"names":["version","exports"],"sources":["../../src/version.ts"],"sourcesContent":["export const version = 'patterns@1.230.0';\n"],"mappings":";;;;AAAO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,kBAAkB","ignoreList":[]}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "CardContainer1339760017";
3
+ var _namespace_ = "CardContainer1801677667";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "CardContainer1339760017__root" };
9
+ export var classes = { "root": "CardContainer1801677667__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "Collapse1339175885";
3
+ var _namespace_ = "Collapse1330669401";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "Collapse1339175885__root", "exit": "Collapse1339175885__exit" };
9
+ export var classes = { "root": "Collapse1330669401__root", "exit": "Collapse1330669401__exit" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "CollectionPage2694064956";
3
+ var _namespace_ = "CollectionPage2046755266";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "CollectionPage2694064956__root" };
9
+ export var classes = { "root": "CollectionPage2046755266__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "CollectionTable3243880598";
3
+ var _namespace_ = "CollectionTable1891353037";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "CollectionTable3243880598__root" };
9
+ export var classes = { "root": "CollectionTable1891353037__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "CollectionToolbar1613416581";
3
+ var _namespace_ = "CollectionToolbar2276336556";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "CollectionToolbar1613416581__root", "left": "CollectionToolbar1613416581__left", "right": "CollectionToolbar1613416581__right", "fullWidth": "CollectionToolbar1613416581__fullWidth" };
9
+ export var classes = { "root": "CollectionToolbar2276336556__root", "left": "CollectionToolbar2276336556__left", "right": "CollectionToolbar2276336556__right", "fullWidth": "CollectionToolbar2276336556__fullWidth" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "SearchOrCustomFilter2379971021";
3
+ var _namespace_ = "SearchOrCustomFilter3280325447";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "SearchOrCustomFilter2379971021__root", "search": "SearchOrCustomFilter2379971021__search", "searchMobile": "SearchOrCustomFilter2379971021__searchMobile" };
9
+ export var classes = { "root": "SearchOrCustomFilter3280325447__root", "search": "SearchOrCustomFilter3280325447__search", "searchMobile": "SearchOrCustomFilter3280325447__searchMobile" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "AutoCompleteReadonly4124133659";
3
+ var _namespace_ = "AutoCompleteReadonly535503049";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "AutoCompleteReadonly4124133659__root" };
9
+ export var classes = { "root": "AutoCompleteReadonly535503049__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1 +1 @@
1
- {"version":3,"file":"AutoCompleteReadonly.st.css.js","sourceRoot":"","sources":["../../../../src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,gCAAgC,CAAC;AACnD,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC;AAC3B,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,sCAAsC,EAAC,CAAC;AACrE,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"AutoCompleteReadonly.st.css.js","sourceRoot":"","sources":["../../../../src/components/CollectionViewsDropdown/AutoCompleteReadonly.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,+BAA+B,CAAC;AAClD,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC;AAC3B,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,qCAAqC,EAAC,CAAC;AACpE,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "ViewsDropdown1862623724";
3
+ var _namespace_ = "ViewsDropdown1680502003";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "ViewsDropdown1862623724__root" };
9
+ export var classes = { "root": "ViewsDropdown1680502003__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "DragHandle1168936296";
3
+ var _namespace_ = "DragHandle809685446";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "DragHandle1168936296__root" };
9
+ export var classes = { "root": "DragHandle809685446__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1 +1 @@
1
- {"version":3,"file":"DragHandle.st.css.js","sourceRoot":"","sources":["../../../../src/components/DragHandle/DragHandle.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,sBAAsB,CAAC;AACzC,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC;AAC3B,MAAM,CAAC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AG,EAAE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "EntityPagePlain482760894";
3
+ var _namespace_ = "EntityPagePlain1363355066";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "EntityPagePlain482760894__root" };
9
+ export var classes = { "root": "EntityPagePlain1363355066__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1 +1 @@
1
- {"version":3,"file":"EntityPagePlain.st.css.js","sourceRoot":"","sources":["../../../../src/components/EntityPage/EntityPagePlain.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,0BAA0B,CAAC;AAC7C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC;AAC3B,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,gCAAgC,EAAC,CAAC;AAC/D,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,oCAAoC,EAAC,sCAAsC,EAAC,CAAC"}
1
+ {"version":3,"file":"EntityPagePlain.st.css.js","sourceRoot":"","sources":["../../../../src/components/EntityPage/EntityPagePlain.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,2BAA2B,CAAC;AAC9C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC;AAC3B,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,iCAAiC,EAAC,CAAC;AAChE,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAC,oCAAoC,EAAC,sCAAsC,EAAC,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "Fade270261638";
3
+ var _namespace_ = "Fade2046648099";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "Fade270261638__root" };
9
+ export var classes = { "root": "Fade2046648099__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1 +1 @@
1
- {"version":3,"file":"Fade.st.css.js","sourceRoot":"","sources":["../../../../src/components/Fade/Fade.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,eAAe,CAAC;AAClC,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC;AAC3B,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,qBAAqB,EAAC,CAAC;AACpD,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"Fade.st.css.js","sourceRoot":"","sources":["../../../../src/components/Fade/Fade.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,IAAI,WAAW,GAAG,gBAAgB,CAAC;AACnC,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC;AAC3B,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,sBAAsB,EAAC,CAAC;AACrD,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "Heading4085317249";
3
+ var _namespace_ = "Heading2694440307";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "Heading4085317249__root" };
9
+ export var classes = { "root": "Heading2694440307__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -1,12 +1,12 @@
1
1
  // @ts-nocheck
2
2
  import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
3
- var _namespace_ = "InputOverflow2606143822";
3
+ var _namespace_ = "InputOverflow2890612111";
4
4
  var _style_ = classesRuntime.bind(null, _namespace_);
5
5
  export var cssStates = statesRuntime.bind(null, _namespace_);
6
6
  export var style = _style_;
7
7
  export var st = _style_;
8
8
  export var namespace = _namespace_;
9
- export var classes = { "root": "InputOverflow2606143822__root" };
9
+ export var classes = { "root": "InputOverflow2890612111__root" };
10
10
  export var keyframes = {};
11
11
  export var layers = {};
12
12
  export var containers = {};
@@ -4,16 +4,21 @@ import { Box, Text, ClickableCard } from '@wix/design-system';
4
4
  import { CardActions } from './CardActions';
5
5
  function _CardComponent({ originalItem, itemIndex, item, stageKey, actionCell, itemActionsState, }) {
6
6
  const { title, subtitle, additionalInfo, badge } = item;
7
- return (React.createElement("div", { draggable: true, "data-hook": `kanban-card-container-${stageKey}-${item.key}` },
8
- React.createElement(ClickableCard, { hasPadding: false },
9
- React.createElement(Box, { padding: "12px", direction: "vertical", dataHook: `kanban-card-${stageKey}-${item.key}` },
7
+ return (React.createElement("div", { "data-hook": `kanban-card-container-${stageKey}-${item.key}`, style: {
8
+ marginRight: '12px',
9
+ marginLeft: '12px',
10
+ overflow: 'visible',
11
+ width: '246px',
12
+ } },
13
+ React.createElement(ClickableCard, { hasPadding: false, skin: "shadow" },
14
+ React.createElement(Box, { padding: "12px", dataHook: `kanban-card-${stageKey}-${item.key}`, direction: "vertical" },
10
15
  React.createElement(Box, { paddingBottom: "3px" },
11
- React.createElement(Text, { size: "small", weight: "normal", dataHook: `kanban-card-title-${stageKey}-${item.key}` }, title)),
12
- React.createElement(Box, { direction: "vertical" },
16
+ React.createElement(Text, { dataHook: `kanban-card-title-${stageKey}-${item.key}`, size: "small", weight: "normal", ellipsis: true, maxLines: 2 }, title)),
17
+ React.createElement(Box, { direction: "vertical", gap: "1px" },
13
18
  React.createElement(Box, null, badge),
14
19
  React.createElement(Box, null, subtitle),
15
20
  React.createElement(Box, null, additionalInfo)),
16
- React.createElement(Box, { align: "right", paddingTop: "3px" },
21
+ React.createElement(Box, { align: "right", paddingTop: "6px" },
17
22
  React.createElement(CardActions, { actionCell: actionCell, originalItem: originalItem, itemIndex: itemIndex, itemActionsState: itemActionsState, stageKey: stageKey, item: item }))))));
18
23
  }
19
24
  export const CardComponent = observer(_CardComponent);