@elliemae/ds-legacy-shuttle-v2 1.0.0-rc.1

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 (306) hide show
  1. package/dist/cjs/DSShuttleV2.js +46 -0
  2. package/dist/cjs/DSShuttleV2.js.map +7 -0
  3. package/dist/cjs/config/DSShuttleV2Definitions.js +74 -0
  4. package/dist/cjs/config/DSShuttleV2Definitions.js.map +7 -0
  5. package/dist/cjs/config/itemMovementHelpers.js +133 -0
  6. package/dist/cjs/config/itemMovementHelpers.js.map +7 -0
  7. package/dist/cjs/config/useAutoCalculated/index.js +43 -0
  8. package/dist/cjs/config/useAutoCalculated/index.js.map +7 -0
  9. package/dist/cjs/config/useAutoCalculated/useDataStructure.js +182 -0
  10. package/dist/cjs/config/useAutoCalculated/useDataStructure.js.map +7 -0
  11. package/dist/cjs/config/useAutoCalculated/useShuttleVirtualized.js +51 -0
  12. package/dist/cjs/config/useAutoCalculated/useShuttleVirtualized.js.map +7 -0
  13. package/dist/cjs/config/useFocusTracker/index.js +42 -0
  14. package/dist/cjs/config/useFocusTracker/index.js.map +7 -0
  15. package/dist/cjs/config/useFocusTracker/useFocusActionTrackers.js +149 -0
  16. package/dist/cjs/config/useFocusTracker/useFocusActionTrackers.js.map +7 -0
  17. package/dist/cjs/config/useFocusTracker/useFocusItemTracker.js +103 -0
  18. package/dist/cjs/config/useFocusTracker/useFocusItemTracker.js.map +7 -0
  19. package/dist/cjs/config/useFocusTracker/useFocusRegionTrackers.js +87 -0
  20. package/dist/cjs/config/useFocusTracker/useFocusRegionTrackers.js.map +7 -0
  21. package/dist/cjs/config/useFocusTracker/useFocusTracker.js +52 -0
  22. package/dist/cjs/config/useFocusTracker/useFocusTracker.js.map +7 -0
  23. package/dist/cjs/config/useStore/focusAndTabIndexManager.js +77 -0
  24. package/dist/cjs/config/useStore/focusAndTabIndexManager.js.map +7 -0
  25. package/dist/cjs/config/useStore/index.js +30 -0
  26. package/dist/cjs/config/useStore/index.js.map +7 -0
  27. package/dist/cjs/config/useStore/useStore.js +86 -0
  28. package/dist/cjs/config/useStore/useStore.js.map +7 -0
  29. package/dist/cjs/config/useValidateProps.js +40 -0
  30. package/dist/cjs/config/useValidateProps.js.map +7 -0
  31. package/dist/cjs/constants/index.js +69 -0
  32. package/dist/cjs/constants/index.js.map +7 -0
  33. package/dist/cjs/exported-related/ShuttleItem.js +60 -0
  34. package/dist/cjs/exported-related/ShuttleItem.js.map +7 -0
  35. package/dist/cjs/exported-related/index.js +36 -0
  36. package/dist/cjs/exported-related/index.js.map +7 -0
  37. package/dist/cjs/index.js +43 -0
  38. package/dist/cjs/index.js.map +7 -0
  39. package/dist/cjs/package.json +7 -0
  40. package/dist/cjs/parts/Dnd/DndHandle.js +89 -0
  41. package/dist/cjs/parts/Dnd/DndHandle.js.map +7 -0
  42. package/dist/cjs/parts/Dnd/DragOverlay.js +51 -0
  43. package/dist/cjs/parts/Dnd/DragOverlay.js.map +7 -0
  44. package/dist/cjs/parts/Dnd/DropIndicator.js +92 -0
  45. package/dist/cjs/parts/Dnd/DropIndicator.js.map +7 -0
  46. package/dist/cjs/parts/Header.js +91 -0
  47. package/dist/cjs/parts/Header.js.map +7 -0
  48. package/dist/cjs/parts/HoC/withConditionalDnDRowContext.js +121 -0
  49. package/dist/cjs/parts/HoC/withConditionalDnDRowContext.js.map +7 -0
  50. package/dist/cjs/parts/HoC/withConditionalUseSortable.js +43 -0
  51. package/dist/cjs/parts/HoC/withConditionalUseSortable.js.map +7 -0
  52. package/dist/cjs/parts/Item/Item.js +222 -0
  53. package/dist/cjs/parts/Item/Item.js.map +7 -0
  54. package/dist/cjs/parts/Item/ItemActions/ItemActions.js +164 -0
  55. package/dist/cjs/parts/Item/ItemActions/ItemActions.js.map +7 -0
  56. package/dist/cjs/parts/Item/ItemActions/index.js +30 -0
  57. package/dist/cjs/parts/Item/ItemActions/index.js.map +7 -0
  58. package/dist/cjs/parts/Item/ItemActions/useActionsHandlers.js +54 -0
  59. package/dist/cjs/parts/Item/ItemActions/useActionsHandlers.js.map +7 -0
  60. package/dist/cjs/parts/Item/ItemActions/useActionsLogicHandlers.js +82 -0
  61. package/dist/cjs/parts/Item/ItemActions/useActionsLogicHandlers.js.map +7 -0
  62. package/dist/cjs/parts/Item/ItemActions/useInnerRefHandlers.js +69 -0
  63. package/dist/cjs/parts/Item/ItemActions/useInnerRefHandlers.js.map +7 -0
  64. package/dist/cjs/parts/Item/ItemMiddleSection.js +140 -0
  65. package/dist/cjs/parts/Item/ItemMiddleSection.js.map +7 -0
  66. package/dist/cjs/parts/Item/ItemOverlay.js +76 -0
  67. package/dist/cjs/parts/Item/ItemOverlay.js.map +7 -0
  68. package/dist/cjs/parts/Item/ItemSelection.js +70 -0
  69. package/dist/cjs/parts/Item/ItemSelection.js.map +7 -0
  70. package/dist/cjs/parts/Item/TextSection.js +56 -0
  71. package/dist/cjs/parts/Item/TextSection.js.map +7 -0
  72. package/dist/cjs/parts/Item/useItemArrowNavigation.js +104 -0
  73. package/dist/cjs/parts/Item/useItemArrowNavigation.js.map +7 -0
  74. package/dist/cjs/parts/Item/useItemKeyboardSelection.js +61 -0
  75. package/dist/cjs/parts/Item/useItemKeyboardSelection.js.map +7 -0
  76. package/dist/cjs/parts/Item/useSelectionLogic.js +128 -0
  77. package/dist/cjs/parts/Item/useSelectionLogic.js.map +7 -0
  78. package/dist/cjs/parts/Item/useThisItemIsFocused.js +47 -0
  79. package/dist/cjs/parts/Item/useThisItemIsFocused.js.map +7 -0
  80. package/dist/cjs/parts/MainContent.js +116 -0
  81. package/dist/cjs/parts/MainContent.js.map +7 -0
  82. package/dist/cjs/parts/Panel/bottom/LoadMoreBtn.js +81 -0
  83. package/dist/cjs/parts/Panel/bottom/LoadMoreBtn.js.map +7 -0
  84. package/dist/cjs/parts/Panel/bottom/LoadingMore.js +59 -0
  85. package/dist/cjs/parts/Panel/bottom/LoadingMore.js.map +7 -0
  86. package/dist/cjs/parts/Panel/bottom/PanelContentBottomSection.js +97 -0
  87. package/dist/cjs/parts/Panel/bottom/PanelContentBottomSection.js.map +7 -0
  88. package/dist/cjs/parts/Panel/bottom/useInnerRefHandlers.js +51 -0
  89. package/dist/cjs/parts/Panel/bottom/useInnerRefHandlers.js.map +7 -0
  90. package/dist/cjs/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.js +77 -0
  91. package/dist/cjs/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.js.map +7 -0
  92. package/dist/cjs/parts/Panel/middle/EmptyItems.js +58 -0
  93. package/dist/cjs/parts/Panel/middle/EmptyItems.js.map +7 -0
  94. package/dist/cjs/parts/Panel/middle/ItemListWrapper/Index.js +93 -0
  95. package/dist/cjs/parts/Panel/middle/ItemListWrapper/Index.js.map +7 -0
  96. package/dist/cjs/parts/Panel/middle/ItemListWrapper/getDatumFlags.js +48 -0
  97. package/dist/cjs/parts/Panel/middle/ItemListWrapper/getDatumFlags.js.map +7 -0
  98. package/dist/cjs/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.js +60 -0
  99. package/dist/cjs/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.js.map +7 -0
  100. package/dist/cjs/parts/Panel/middle/LoadingItems.js +68 -0
  101. package/dist/cjs/parts/Panel/middle/LoadingItems.js.map +7 -0
  102. package/dist/cjs/parts/Panel/middle/MultipleSelectionAction.js +186 -0
  103. package/dist/cjs/parts/Panel/middle/MultipleSelectionAction.js.map +7 -0
  104. package/dist/cjs/parts/Panel/middle/PanelContentMiddleSection.js +174 -0
  105. package/dist/cjs/parts/Panel/middle/PanelContentMiddleSection.js.map +7 -0
  106. package/dist/cjs/parts/Panel/top/PanelContentTopSection.js +71 -0
  107. package/dist/cjs/parts/Panel/top/PanelContentTopSection.js.map +7 -0
  108. package/dist/cjs/parts/Panel/top/PanelFilterSection.js +79 -0
  109. package/dist/cjs/parts/Panel/top/PanelFilterSection.js.map +7 -0
  110. package/dist/cjs/parts/Panel/top/SelectionHeader.js +137 -0
  111. package/dist/cjs/parts/Panel/top/SelectionHeader.js.map +7 -0
  112. package/dist/cjs/parts/PanelWrapper.js +83 -0
  113. package/dist/cjs/parts/PanelWrapper.js.map +7 -0
  114. package/dist/cjs/react-desc-prop-types.js +157 -0
  115. package/dist/cjs/react-desc-prop-types.js.map +7 -0
  116. package/dist/cjs/tests/configs/basic.js +164 -0
  117. package/dist/cjs/tests/configs/basic.js.map +7 -0
  118. package/dist/cjs/tests/configs/filter.js +199 -0
  119. package/dist/cjs/tests/configs/filter.js.map +7 -0
  120. package/dist/cjs/tests/configs/loadMore.js +179 -0
  121. package/dist/cjs/tests/configs/loadMore.js.map +7 -0
  122. package/dist/esm/DSShuttleV2.js +16 -0
  123. package/dist/esm/DSShuttleV2.js.map +7 -0
  124. package/dist/esm/config/DSShuttleV2Definitions.js +44 -0
  125. package/dist/esm/config/DSShuttleV2Definitions.js.map +7 -0
  126. package/dist/esm/config/itemMovementHelpers.js +103 -0
  127. package/dist/esm/config/itemMovementHelpers.js.map +7 -0
  128. package/dist/esm/config/useAutoCalculated/index.js +13 -0
  129. package/dist/esm/config/useAutoCalculated/index.js.map +7 -0
  130. package/dist/esm/config/useAutoCalculated/useDataStructure.js +152 -0
  131. package/dist/esm/config/useAutoCalculated/useDataStructure.js.map +7 -0
  132. package/dist/esm/config/useAutoCalculated/useShuttleVirtualized.js +21 -0
  133. package/dist/esm/config/useAutoCalculated/useShuttleVirtualized.js.map +7 -0
  134. package/dist/esm/config/useFocusTracker/index.js +12 -0
  135. package/dist/esm/config/useFocusTracker/index.js.map +7 -0
  136. package/dist/esm/config/useFocusTracker/useFocusActionTrackers.js +119 -0
  137. package/dist/esm/config/useFocusTracker/useFocusActionTrackers.js.map +7 -0
  138. package/dist/esm/config/useFocusTracker/useFocusItemTracker.js +73 -0
  139. package/dist/esm/config/useFocusTracker/useFocusItemTracker.js.map +7 -0
  140. package/dist/esm/config/useFocusTracker/useFocusRegionTrackers.js +57 -0
  141. package/dist/esm/config/useFocusTracker/useFocusRegionTrackers.js.map +7 -0
  142. package/dist/esm/config/useFocusTracker/useFocusTracker.js +22 -0
  143. package/dist/esm/config/useFocusTracker/useFocusTracker.js.map +7 -0
  144. package/dist/esm/config/useStore/focusAndTabIndexManager.js +47 -0
  145. package/dist/esm/config/useStore/focusAndTabIndexManager.js.map +7 -0
  146. package/dist/esm/config/useStore/index.js +3 -0
  147. package/dist/esm/config/useStore/index.js.map +7 -0
  148. package/dist/esm/config/useStore/useStore.js +56 -0
  149. package/dist/esm/config/useStore/useStore.js.map +7 -0
  150. package/dist/esm/config/useValidateProps.js +10 -0
  151. package/dist/esm/config/useValidateProps.js.map +7 -0
  152. package/dist/esm/constants/index.js +39 -0
  153. package/dist/esm/constants/index.js.map +7 -0
  154. package/dist/esm/exported-related/ShuttleItem.js +30 -0
  155. package/dist/esm/exported-related/ShuttleItem.js.map +7 -0
  156. package/dist/esm/exported-related/index.js +6 -0
  157. package/dist/esm/exported-related/index.js.map +7 -0
  158. package/dist/esm/index.js +13 -0
  159. package/dist/esm/index.js.map +7 -0
  160. package/dist/esm/package.json +7 -0
  161. package/dist/esm/parts/Dnd/DndHandle.js +59 -0
  162. package/dist/esm/parts/Dnd/DndHandle.js.map +7 -0
  163. package/dist/esm/parts/Dnd/DragOverlay.js +21 -0
  164. package/dist/esm/parts/Dnd/DragOverlay.js.map +7 -0
  165. package/dist/esm/parts/Dnd/DropIndicator.js +62 -0
  166. package/dist/esm/parts/Dnd/DropIndicator.js.map +7 -0
  167. package/dist/esm/parts/Header.js +63 -0
  168. package/dist/esm/parts/Header.js.map +7 -0
  169. package/dist/esm/parts/HoC/withConditionalDnDRowContext.js +91 -0
  170. package/dist/esm/parts/HoC/withConditionalDnDRowContext.js.map +7 -0
  171. package/dist/esm/parts/HoC/withConditionalUseSortable.js +13 -0
  172. package/dist/esm/parts/HoC/withConditionalUseSortable.js.map +7 -0
  173. package/dist/esm/parts/Item/Item.js +192 -0
  174. package/dist/esm/parts/Item/Item.js.map +7 -0
  175. package/dist/esm/parts/Item/ItemActions/ItemActions.js +134 -0
  176. package/dist/esm/parts/Item/ItemActions/ItemActions.js.map +7 -0
  177. package/dist/esm/parts/Item/ItemActions/index.js +3 -0
  178. package/dist/esm/parts/Item/ItemActions/index.js.map +7 -0
  179. package/dist/esm/parts/Item/ItemActions/useActionsHandlers.js +24 -0
  180. package/dist/esm/parts/Item/ItemActions/useActionsHandlers.js.map +7 -0
  181. package/dist/esm/parts/Item/ItemActions/useActionsLogicHandlers.js +52 -0
  182. package/dist/esm/parts/Item/ItemActions/useActionsLogicHandlers.js.map +7 -0
  183. package/dist/esm/parts/Item/ItemActions/useInnerRefHandlers.js +39 -0
  184. package/dist/esm/parts/Item/ItemActions/useInnerRefHandlers.js.map +7 -0
  185. package/dist/esm/parts/Item/ItemMiddleSection.js +110 -0
  186. package/dist/esm/parts/Item/ItemMiddleSection.js.map +7 -0
  187. package/dist/esm/parts/Item/ItemOverlay.js +46 -0
  188. package/dist/esm/parts/Item/ItemOverlay.js.map +7 -0
  189. package/dist/esm/parts/Item/ItemSelection.js +40 -0
  190. package/dist/esm/parts/Item/ItemSelection.js.map +7 -0
  191. package/dist/esm/parts/Item/TextSection.js +26 -0
  192. package/dist/esm/parts/Item/TextSection.js.map +7 -0
  193. package/dist/esm/parts/Item/useItemArrowNavigation.js +78 -0
  194. package/dist/esm/parts/Item/useItemArrowNavigation.js.map +7 -0
  195. package/dist/esm/parts/Item/useItemKeyboardSelection.js +31 -0
  196. package/dist/esm/parts/Item/useItemKeyboardSelection.js.map +7 -0
  197. package/dist/esm/parts/Item/useSelectionLogic.js +98 -0
  198. package/dist/esm/parts/Item/useSelectionLogic.js.map +7 -0
  199. package/dist/esm/parts/Item/useThisItemIsFocused.js +17 -0
  200. package/dist/esm/parts/Item/useThisItemIsFocused.js.map +7 -0
  201. package/dist/esm/parts/MainContent.js +86 -0
  202. package/dist/esm/parts/MainContent.js.map +7 -0
  203. package/dist/esm/parts/Panel/bottom/LoadMoreBtn.js +51 -0
  204. package/dist/esm/parts/Panel/bottom/LoadMoreBtn.js.map +7 -0
  205. package/dist/esm/parts/Panel/bottom/LoadingMore.js +29 -0
  206. package/dist/esm/parts/Panel/bottom/LoadingMore.js.map +7 -0
  207. package/dist/esm/parts/Panel/bottom/PanelContentBottomSection.js +67 -0
  208. package/dist/esm/parts/Panel/bottom/PanelContentBottomSection.js.map +7 -0
  209. package/dist/esm/parts/Panel/bottom/useInnerRefHandlers.js +21 -0
  210. package/dist/esm/parts/Panel/bottom/useInnerRefHandlers.js.map +7 -0
  211. package/dist/esm/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.js +51 -0
  212. package/dist/esm/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.js.map +7 -0
  213. package/dist/esm/parts/Panel/middle/EmptyItems.js +28 -0
  214. package/dist/esm/parts/Panel/middle/EmptyItems.js.map +7 -0
  215. package/dist/esm/parts/Panel/middle/ItemListWrapper/Index.js +63 -0
  216. package/dist/esm/parts/Panel/middle/ItemListWrapper/Index.js.map +7 -0
  217. package/dist/esm/parts/Panel/middle/ItemListWrapper/getDatumFlags.js +18 -0
  218. package/dist/esm/parts/Panel/middle/ItemListWrapper/getDatumFlags.js.map +7 -0
  219. package/dist/esm/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.js +30 -0
  220. package/dist/esm/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.js.map +7 -0
  221. package/dist/esm/parts/Panel/middle/LoadingItems.js +38 -0
  222. package/dist/esm/parts/Panel/middle/LoadingItems.js.map +7 -0
  223. package/dist/esm/parts/Panel/middle/MultipleSelectionAction.js +156 -0
  224. package/dist/esm/parts/Panel/middle/MultipleSelectionAction.js.map +7 -0
  225. package/dist/esm/parts/Panel/middle/PanelContentMiddleSection.js +144 -0
  226. package/dist/esm/parts/Panel/middle/PanelContentMiddleSection.js.map +7 -0
  227. package/dist/esm/parts/Panel/top/PanelContentTopSection.js +41 -0
  228. package/dist/esm/parts/Panel/top/PanelContentTopSection.js.map +7 -0
  229. package/dist/esm/parts/Panel/top/PanelFilterSection.js +49 -0
  230. package/dist/esm/parts/Panel/top/PanelFilterSection.js.map +7 -0
  231. package/dist/esm/parts/Panel/top/SelectionHeader.js +107 -0
  232. package/dist/esm/parts/Panel/top/SelectionHeader.js.map +7 -0
  233. package/dist/esm/parts/PanelWrapper.js +53 -0
  234. package/dist/esm/parts/PanelWrapper.js.map +7 -0
  235. package/dist/esm/react-desc-prop-types.js +132 -0
  236. package/dist/esm/react-desc-prop-types.js.map +7 -0
  237. package/dist/esm/tests/configs/basic.js +134 -0
  238. package/dist/esm/tests/configs/basic.js.map +7 -0
  239. package/dist/esm/tests/configs/filter.js +169 -0
  240. package/dist/esm/tests/configs/filter.js.map +7 -0
  241. package/dist/esm/tests/configs/loadMore.js +149 -0
  242. package/dist/esm/tests/configs/loadMore.js.map +7 -0
  243. package/dist/types/DSShuttleV2.d.ts +4 -0
  244. package/dist/types/config/DSShuttleV2Definitions.d.ts +36 -0
  245. package/dist/types/config/itemMovementHelpers.d.ts +7 -0
  246. package/dist/types/config/useAutoCalculated/index.d.ts +32 -0
  247. package/dist/types/config/useAutoCalculated/useDataStructure.d.ts +25 -0
  248. package/dist/types/config/useAutoCalculated/useShuttleVirtualized.d.ts +9 -0
  249. package/dist/types/config/useFocusTracker/index.d.ts +4 -0
  250. package/dist/types/config/useFocusTracker/useFocusActionTrackers.d.ts +10 -0
  251. package/dist/types/config/useFocusTracker/useFocusItemTracker.d.ts +11 -0
  252. package/dist/types/config/useFocusTracker/useFocusRegionTrackers.d.ts +18 -0
  253. package/dist/types/config/useFocusTracker/useFocusTracker.d.ts +33 -0
  254. package/dist/types/config/useStore/focusAndTabIndexManager.d.ts +10 -0
  255. package/dist/types/config/useStore/index.d.ts +1 -0
  256. package/dist/types/config/useStore/useStore.d.ts +301 -0
  257. package/dist/types/config/useValidateProps.d.ts +3 -0
  258. package/dist/types/constants/index.d.ts +32 -0
  259. package/dist/types/exported-related/ShuttleItem.d.ts +8 -0
  260. package/dist/types/exported-related/index.d.ts +1 -0
  261. package/dist/types/index.d.ts +3 -0
  262. package/dist/types/parts/Dnd/DndHandle.d.ts +15 -0
  263. package/dist/types/parts/Dnd/DragOverlay.d.ts +6 -0
  264. package/dist/types/parts/Dnd/DropIndicator.d.ts +15 -0
  265. package/dist/types/parts/Header.d.ts +3 -0
  266. package/dist/types/parts/HoC/withConditionalDnDRowContext.d.ts +10 -0
  267. package/dist/types/parts/HoC/withConditionalUseSortable.d.ts +8 -0
  268. package/dist/types/parts/Item/Item.d.ts +6 -0
  269. package/dist/types/parts/Item/ItemActions/ItemActions.d.ts +3 -0
  270. package/dist/types/parts/Item/ItemActions/index.d.ts +1 -0
  271. package/dist/types/parts/Item/ItemActions/useActionsHandlers.d.ts +7 -0
  272. package/dist/types/parts/Item/ItemActions/useActionsLogicHandlers.d.ts +7 -0
  273. package/dist/types/parts/Item/ItemActions/useInnerRefHandlers.d.ts +6 -0
  274. package/dist/types/parts/Item/ItemMiddleSection.d.ts +5 -0
  275. package/dist/types/parts/Item/ItemOverlay.d.ts +5 -0
  276. package/dist/types/parts/Item/ItemSelection.d.ts +3 -0
  277. package/dist/types/parts/Item/TextSection.d.ts +3 -0
  278. package/dist/types/parts/Item/useItemArrowNavigation.d.ts +5 -0
  279. package/dist/types/parts/Item/useItemKeyboardSelection.d.ts +5 -0
  280. package/dist/types/parts/Item/useSelectionLogic.d.ts +6 -0
  281. package/dist/types/parts/Item/useThisItemIsFocused.d.ts +4 -0
  282. package/dist/types/parts/MainContent.d.ts +2 -0
  283. package/dist/types/parts/Panel/bottom/LoadMoreBtn.d.ts +2 -0
  284. package/dist/types/parts/Panel/bottom/LoadingMore.d.ts +2 -0
  285. package/dist/types/parts/Panel/bottom/PanelContentBottomSection.d.ts +3 -0
  286. package/dist/types/parts/Panel/bottom/useInnerRefHandlers.d.ts +4 -0
  287. package/dist/types/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.d.ts +5 -0
  288. package/dist/types/parts/Panel/middle/EmptyItems.d.ts +2 -0
  289. package/dist/types/parts/Panel/middle/ItemListWrapper/Index.d.ts +4 -0
  290. package/dist/types/parts/Panel/middle/ItemListWrapper/getDatumFlags.d.ts +15 -0
  291. package/dist/types/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.d.ts +11 -0
  292. package/dist/types/parts/Panel/middle/LoadingItems.d.ts +2 -0
  293. package/dist/types/parts/Panel/middle/MultipleSelectionAction.d.ts +3 -0
  294. package/dist/types/parts/Panel/middle/PanelContentMiddleSection.d.ts +3 -0
  295. package/dist/types/parts/Panel/top/PanelContentTopSection.d.ts +2 -0
  296. package/dist/types/parts/Panel/top/PanelFilterSection.d.ts +2 -0
  297. package/dist/types/parts/Panel/top/SelectionHeader.d.ts +3 -0
  298. package/dist/types/parts/PanelWrapper.d.ts +3 -0
  299. package/dist/types/react-desc-prop-types.d.ts +199 -0
  300. package/dist/types/tests/configs/basic.d.ts +25 -0
  301. package/dist/types/tests/configs/filter.d.ts +29 -0
  302. package/dist/types/tests/configs/loadMore.d.ts +29 -0
  303. package/dist/types/tests/shuttle-v2.basic.test.d.ts +1 -0
  304. package/dist/types/tests/shuttle-v2.filter.test.d.ts +1 -0
  305. package/dist/types/tests/shuttle-v2.load-more.test.d.ts +1 -0
  306. package/package.json +87 -0
@@ -0,0 +1,301 @@
1
+ /// <reference types="react" />
2
+ import { type ZustandT } from '@elliemae/ds-legacy-zustand-helpers';
3
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
4
+ export declare const PropsProvider: ({ createStore, children, }: {
5
+ createStore: () => ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps & {
6
+ destinationVirtualRef: import("react").MutableRefObject<{
7
+ scrollTo: (index: number) => void;
8
+ }>;
9
+ sourceVirtualRef: import("react").MutableRefObject<{
10
+ scrollTo: (index: number) => void;
11
+ }>;
12
+ destinationSelectedItemsMap: Record<string, {
13
+ datum: DSShuttleV2T.Datum;
14
+ index: number;
15
+ }>;
16
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
17
+ destinationSelectionArray: string[];
18
+ destinationHasMultipleSelectedItems: boolean;
19
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
20
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
21
+ destinationSelectionableDataIds: string[];
22
+ destinationSelectionableIds: string;
23
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
24
+ sourceSelectedItemsMap: Record<string, {
25
+ datum: DSShuttleV2T.Datum;
26
+ index: number;
27
+ }>;
28
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
29
+ sourceSelectionArray: string[];
30
+ sourceHasMultipleSelectedItems: boolean;
31
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
32
+ sourceSelectionableDataIds: string[];
33
+ sourceSelectionableIds: string;
34
+ }>>;
35
+ children: import("react").ReactNode;
36
+ }) => import("react").FunctionComponentElement<import("react").ProviderProps<ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps & {
37
+ destinationVirtualRef: import("react").MutableRefObject<{
38
+ scrollTo: (index: number) => void;
39
+ }>;
40
+ sourceVirtualRef: import("react").MutableRefObject<{
41
+ scrollTo: (index: number) => void;
42
+ }>;
43
+ destinationSelectedItemsMap: Record<string, {
44
+ datum: DSShuttleV2T.Datum;
45
+ index: number;
46
+ }>;
47
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
48
+ destinationSelectionArray: string[];
49
+ destinationHasMultipleSelectedItems: boolean;
50
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
51
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
52
+ destinationSelectionableDataIds: string[];
53
+ destinationSelectionableIds: string;
54
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
55
+ sourceSelectedItemsMap: Record<string, {
56
+ datum: DSShuttleV2T.Datum;
57
+ index: number;
58
+ }>;
59
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
60
+ sourceSelectionArray: string[];
61
+ sourceHasMultipleSelectedItems: boolean;
62
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
63
+ sourceSelectionableDataIds: string[];
64
+ sourceSelectionableIds: string;
65
+ }>> | undefined>>, usePropsStore: {
66
+ (): ZustandT.PropsStore<DSShuttleV2T.InternalProps & {
67
+ destinationVirtualRef: import("react").MutableRefObject<{
68
+ scrollTo: (index: number) => void;
69
+ }>;
70
+ sourceVirtualRef: import("react").MutableRefObject<{
71
+ scrollTo: (index: number) => void;
72
+ }>;
73
+ destinationSelectedItemsMap: Record<string, {
74
+ datum: DSShuttleV2T.Datum;
75
+ index: number;
76
+ }>;
77
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
78
+ destinationSelectionArray: string[];
79
+ destinationHasMultipleSelectedItems: boolean;
80
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
81
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
82
+ destinationSelectionableDataIds: string[];
83
+ destinationSelectionableIds: string;
84
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
85
+ sourceSelectedItemsMap: Record<string, {
86
+ datum: DSShuttleV2T.Datum;
87
+ index: number;
88
+ }>;
89
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
90
+ sourceSelectionArray: string[];
91
+ sourceHasMultipleSelectedItems: boolean;
92
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
93
+ sourceSelectionableDataIds: string[];
94
+ sourceSelectionableIds: string;
95
+ }>;
96
+ <U>(selector: (state: ZustandT.PropsStore<DSShuttleV2T.InternalProps & {
97
+ destinationVirtualRef: import("react").MutableRefObject<{
98
+ scrollTo: (index: number) => void;
99
+ }>;
100
+ sourceVirtualRef: import("react").MutableRefObject<{
101
+ scrollTo: (index: number) => void;
102
+ }>;
103
+ destinationSelectedItemsMap: Record<string, {
104
+ datum: DSShuttleV2T.Datum;
105
+ index: number;
106
+ }>;
107
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
108
+ destinationSelectionArray: string[];
109
+ destinationHasMultipleSelectedItems: boolean;
110
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
111
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
112
+ destinationSelectionableDataIds: string[];
113
+ destinationSelectionableIds: string;
114
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
115
+ sourceSelectedItemsMap: Record<string, {
116
+ datum: DSShuttleV2T.Datum;
117
+ index: number;
118
+ }>;
119
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
120
+ sourceSelectionArray: string[];
121
+ sourceHasMultipleSelectedItems: boolean;
122
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
123
+ sourceSelectionableDataIds: string[];
124
+ sourceSelectionableIds: string;
125
+ }>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined): U;
126
+ }, InternalProvider: ({ createStore, children, }: {
127
+ createStore: () => ZustandT.ZustandStore<ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>>;
128
+ children: import("react").ReactNode;
129
+ }) => import("react").FunctionComponentElement<import("react").ProviderProps<ZustandT.ZustandStore<ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>> | undefined>>, useInternalStore: {
130
+ (): ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>;
131
+ <U_1>(selector: (state: ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>) => U_1, equalityFn?: ((a: U_1, b: U_1) => boolean) | undefined): U_1;
132
+ };
133
+ export declare const config: {
134
+ defaultProps: DSShuttleV2T.InternalProps;
135
+ internalAtomDefaultValues: DSShuttleV2T.InternalAtoms;
136
+ useAutoCalculated: (propsWithDefaults: DSShuttleV2T.InternalProps) => {
137
+ destinationVirtualRef: import("react").MutableRefObject<{
138
+ scrollTo: (index: number) => void;
139
+ }>;
140
+ sourceVirtualRef: import("react").MutableRefObject<{
141
+ scrollTo: (index: number) => void;
142
+ }>;
143
+ destinationSelectedItemsMap: Record<string, {
144
+ datum: DSShuttleV2T.Datum;
145
+ index: number;
146
+ }>;
147
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
148
+ destinationSelectionArray: string[];
149
+ destinationHasMultipleSelectedItems: boolean;
150
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
151
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
152
+ destinationSelectionableDataIds: string[];
153
+ destinationSelectionableIds: string;
154
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
155
+ sourceSelectedItemsMap: Record<string, {
156
+ datum: DSShuttleV2T.Datum;
157
+ index: number;
158
+ }>;
159
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
160
+ sourceSelectionArray: string[];
161
+ sourceHasMultipleSelectedItems: boolean;
162
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
163
+ sourceSelectionableDataIds: string[];
164
+ sourceSelectionableIds: string;
165
+ };
166
+ selectors: ZustandT.SelectorObject<DSShuttleV2T.ShuttleInternalStore, DSShuttleV2T.Selectors>;
167
+ reducers: ZustandT.ReducerObject<DSShuttleV2T.ShuttleInternalStore, DSShuttleV2T.Reducers>;
168
+ subscribers: ZustandT.Subscribers<DSShuttleV2T.ShuttleInternalStore>;
169
+ PropsProvider: ({ createStore, children, }: {
170
+ createStore: () => ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps & {
171
+ destinationVirtualRef: import("react").MutableRefObject<{
172
+ scrollTo: (index: number) => void;
173
+ }>;
174
+ sourceVirtualRef: import("react").MutableRefObject<{
175
+ scrollTo: (index: number) => void;
176
+ }>;
177
+ destinationSelectedItemsMap: Record<string, {
178
+ datum: DSShuttleV2T.Datum;
179
+ index: number;
180
+ }>;
181
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
182
+ destinationSelectionArray: string[];
183
+ destinationHasMultipleSelectedItems: boolean;
184
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
185
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
186
+ destinationSelectionableDataIds: string[];
187
+ destinationSelectionableIds: string;
188
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
189
+ sourceSelectedItemsMap: Record<string, {
190
+ datum: DSShuttleV2T.Datum;
191
+ index: number;
192
+ }>;
193
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
194
+ sourceSelectionArray: string[];
195
+ sourceHasMultipleSelectedItems: boolean;
196
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
197
+ sourceSelectionableDataIds: string[];
198
+ sourceSelectionableIds: string;
199
+ }>>;
200
+ children: import("react").ReactNode;
201
+ }) => import("react").FunctionComponentElement<import("react").ProviderProps<ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps & {
202
+ destinationVirtualRef: import("react").MutableRefObject<{
203
+ scrollTo: (index: number) => void;
204
+ }>;
205
+ sourceVirtualRef: import("react").MutableRefObject<{
206
+ scrollTo: (index: number) => void;
207
+ }>;
208
+ destinationSelectedItemsMap: Record<string, {
209
+ datum: DSShuttleV2T.Datum;
210
+ index: number;
211
+ }>;
212
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
213
+ destinationSelectionArray: string[];
214
+ destinationHasMultipleSelectedItems: boolean;
215
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
216
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
217
+ destinationSelectionableDataIds: string[];
218
+ destinationSelectionableIds: string;
219
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
220
+ sourceSelectedItemsMap: Record<string, {
221
+ datum: DSShuttleV2T.Datum;
222
+ index: number;
223
+ }>;
224
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
225
+ sourceSelectionArray: string[];
226
+ sourceHasMultipleSelectedItems: boolean;
227
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
228
+ sourceSelectionableDataIds: string[];
229
+ sourceSelectionableIds: string;
230
+ }>> | undefined>>;
231
+ usePropsStore: {
232
+ (): ZustandT.PropsStore<DSShuttleV2T.InternalProps & {
233
+ destinationVirtualRef: import("react").MutableRefObject<{
234
+ scrollTo: (index: number) => void;
235
+ }>;
236
+ sourceVirtualRef: import("react").MutableRefObject<{
237
+ scrollTo: (index: number) => void;
238
+ }>;
239
+ destinationSelectedItemsMap: Record<string, {
240
+ datum: DSShuttleV2T.Datum;
241
+ index: number;
242
+ }>;
243
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
244
+ destinationSelectionArray: string[];
245
+ destinationHasMultipleSelectedItems: boolean;
246
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
247
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
248
+ destinationSelectionableDataIds: string[];
249
+ destinationSelectionableIds: string;
250
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
251
+ sourceSelectedItemsMap: Record<string, {
252
+ datum: DSShuttleV2T.Datum;
253
+ index: number;
254
+ }>;
255
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
256
+ sourceSelectionArray: string[];
257
+ sourceHasMultipleSelectedItems: boolean;
258
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
259
+ sourceSelectionableDataIds: string[];
260
+ sourceSelectionableIds: string;
261
+ }>;
262
+ <U>(selector: (state: ZustandT.PropsStore<DSShuttleV2T.InternalProps & {
263
+ destinationVirtualRef: import("react").MutableRefObject<{
264
+ scrollTo: (index: number) => void;
265
+ }>;
266
+ sourceVirtualRef: import("react").MutableRefObject<{
267
+ scrollTo: (index: number) => void;
268
+ }>;
269
+ destinationSelectedItemsMap: Record<string, {
270
+ datum: DSShuttleV2T.Datum;
271
+ index: number;
272
+ }>;
273
+ destinationSelectionItemArray: DSShuttleV2T.Datum[];
274
+ destinationSelectionArray: string[];
275
+ destinationHasMultipleSelectedItems: boolean;
276
+ destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
277
+ destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
278
+ destinationSelectionableDataIds: string[];
279
+ destinationSelectionableIds: string;
280
+ sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
281
+ sourceSelectedItemsMap: Record<string, {
282
+ datum: DSShuttleV2T.Datum;
283
+ index: number;
284
+ }>;
285
+ sourceSelectionItemArray: DSShuttleV2T.Datum[];
286
+ sourceSelectionArray: string[];
287
+ sourceHasMultipleSelectedItems: boolean;
288
+ sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
289
+ sourceSelectionableDataIds: string[];
290
+ sourceSelectionableIds: string;
291
+ }>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined): U;
292
+ };
293
+ InternalProvider: ({ createStore, children, }: {
294
+ createStore: () => ZustandT.ZustandStore<ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>>;
295
+ children: import("react").ReactNode;
296
+ }) => import("react").FunctionComponentElement<import("react").ProviderProps<ZustandT.ZustandStore<ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>> | undefined>>;
297
+ useInternalStore: {
298
+ (): ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>;
299
+ <U_1>(selector: (state: ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>) => U_1, equalityFn?: ((a: U_1, b: U_1) => boolean) | undefined): U_1;
300
+ };
301
+ };
@@ -0,0 +1,3 @@
1
+ import type { WeakValidationMap } from 'react';
2
+ import type { DSShuttleV2T } from '../react-desc-prop-types.js';
3
+ export declare const useValidateProps: (props: DSShuttleV2T.Props, propTypes: WeakValidationMap<unknown>) => void;
@@ -0,0 +1,32 @@
1
+ export declare const DSShuttleV2Name: "DSShuttleV2";
2
+ export declare const REGIONS_FOCUSES: {
3
+ readonly SOURCE_HEADER: "source-header";
4
+ readonly SOURCE_PANEL: "source-panel";
5
+ readonly SOURCE_PANEL_ITEM: "source-panel-item";
6
+ readonly SOURCE_PANEL_ITEM_MOVE_ALL: "source-panel-move-all";
7
+ readonly SOURCE_BOTTOM: "source-bottom";
8
+ readonly DESTINATION_HEADER: "destination-header";
9
+ readonly DESTINATION_PANEL: "destination-panel";
10
+ readonly DESTINATION_PANEL_ITEM: "destination-panel-item";
11
+ readonly DESTINATION_PANEL_ITEM_MOVE_ALL: "destination-panel-move-all";
12
+ readonly DESTINATION_BOTTOM: "destination-bottom";
13
+ readonly RESET: "";
14
+ };
15
+ export declare const ACTIONS_FOCUSES: {
16
+ readonly MOVE_BTN: "move-btn";
17
+ readonly DRILLDOWN_BTN: "drilldown-btn";
18
+ readonly DRAG_N_DROP: "drag-n-drop";
19
+ readonly PARENT: "parent";
20
+ readonly RESET: "";
21
+ };
22
+ export declare const ITEMS_FOCUSES: {
23
+ readonly LOAD_MORE_BTN_SOURCE: "load-more-btn-source";
24
+ readonly LOAD_MORE_BTN_DESTINATION: "load-more-btn-destination";
25
+ readonly GET_SPECIFIC_ITEM: ({ hydratedId }: {
26
+ hydratedId: string;
27
+ }) => string;
28
+ readonly RESET: "";
29
+ };
30
+ export declare const DATA_TESTID: {
31
+ readonly SHUTTLE_DRAG_HANDLE: "shuttle-drag-handle";
32
+ };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { DSShuttleV2T } from '../react-desc-prop-types.js';
3
+ export type ShuttleItemProps = React.PropsWithChildren<{
4
+ componentProps: DSShuttleV2T.ComponentProps;
5
+ shouldShowTooltip?: boolean;
6
+ TooltipContent?: React.ComponentType<DSShuttleV2T.ComponentProps>;
7
+ }>;
8
+ export declare const ShuttleItem: React.ComponentType<ShuttleItemProps>;
@@ -0,0 +1 @@
1
+ export { type ShuttleItemProps, ShuttleItem } from './ShuttleItem.js';
@@ -0,0 +1,3 @@
1
+ export { DSShuttleV2Name, DSShuttleV2Slots, DSShuttleV2DataTestIds } from './config/DSShuttleV2Definitions.js';
2
+ export { DSShuttleV2, DSShuttleV2WithSchema } from './DSShuttleV2.js';
3
+ export { ShuttleItem, type ShuttleItemProps } from './exported-related/index.js';
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { useSortable } from '@elliemae/ds-legacy-drag-and-drop';
3
+ export declare const StyledGripperButtonOrOverlay: import("styled-components").StyledComponent<"div", import("@elliemae/ds-legacy-system").Theme, {
4
+ isActive: boolean;
5
+ isDragOverlay?: boolean | undefined;
6
+ disabled?: boolean | undefined;
7
+ } & import("@elliemae/ds-legacy-system").OwnerInterface, never>;
8
+ export declare const DragHandle: React.ComponentType<{
9
+ id: string;
10
+ innerRef: React.RefObject<HTMLDivElement> | React.RefCallback<HTMLDivElement>;
11
+ useSortableHelpers: ReturnType<typeof useSortable>;
12
+ isDndActive: boolean;
13
+ isDragging: boolean;
14
+ disabled?: boolean;
15
+ }>;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export declare const DragOverlay: React.ComponentType<{
3
+ id: string;
4
+ isDndActive: boolean;
5
+ isDragging: boolean;
6
+ }>;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ declare enum DropIndicatorPosition {
3
+ None = "none",
4
+ Before = "before",
5
+ After = "after"
6
+ }
7
+ interface DropIndicatorProps {
8
+ vertical: boolean;
9
+ dropIndicatorPosition: false | DropIndicatorPosition;
10
+ isDropValid: boolean;
11
+ isLast?: boolean;
12
+ }
13
+ declare const DropIndicator: React.ComponentType<DropIndicatorProps>;
14
+ export { DropIndicator };
15
+ export default DropIndicator;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../react-desc-prop-types.js';
3
+ export declare const Header: React.MemoExoticComponent<(panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,10 @@
1
+ import type { DSShuttleV2T } from '../../react-desc-prop-types.js';
2
+ type HoCConfig = DSShuttleV2T.PanelMetaInfo;
3
+ type InternalHoCStates = {
4
+ activeId?: DSShuttleV2T.HydratedId;
5
+ overId?: DSShuttleV2T.HydratedId;
6
+ isDropValid?: boolean;
7
+ };
8
+ type ResultComponentProps = DSShuttleV2T.PanelMetaInfo & InternalHoCStates;
9
+ export declare const withConditionalDnDRowContext: ConfiguredReactFunctionalHOC<HoCConfig, ResultComponentProps>;
10
+ export {};
@@ -0,0 +1,8 @@
1
+ import { useSortable } from '@elliemae/ds-legacy-drag-and-drop';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ type HoCConfig = DSShuttleV2T.ItemMeta;
4
+ type ResultComponentProps = DSShuttleV2T.ItemMeta & {
5
+ useSortableHelpers: ReturnType<typeof useSortable>;
6
+ };
7
+ export declare const withConditionalUseSortable: ConfiguredReactFunctionalHOC<HoCConfig, ResultComponentProps>;
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ export declare const Item: React.MemoExoticComponent<(itemMeta: DSShuttleV2T.ItemMeta) => import("react/jsx-runtime.js").JSX.Element>;
4
+ declare const ItemSortable: React.ComponentType<DSShuttleV2T.ItemMeta>;
5
+ export { ItemSortable };
6
+ export default ItemSortable;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
3
+ export declare const ItemActions: React.MemoExoticComponent<(itemMeta: DSShuttleV2T.ItemMeta) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1 @@
1
+ export * from './ItemActions.js';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
3
+ export declare const useActionsHandlers: (itemMeta: DSShuttleV2T.ItemMeta) => {
4
+ handleClickDrilldown: (e: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
5
+ handleClickSingleMove: (e: React.KeyboardEvent<HTMLButtonElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
6
+ handleKeyDownSelectionBubbleUp: React.KeyboardEventHandler<HTMLButtonElement>;
7
+ };
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
3
+ export declare const useActionsLogicHandlers: (itemMeta: DSShuttleV2T.ItemMeta) => {
4
+ handleDrilldown: (event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLButtonElement>) => void;
5
+ handleSingleMove: (event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLButtonElement>) => void;
6
+ preventKeyDownSelectionBubbleUp: (event: React.KeyboardEvent<HTMLButtonElement>) => void;
7
+ };
@@ -0,0 +1,6 @@
1
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
2
+ export declare const useInnerRefHandlers: ({ datumInternalMeta, isDestinationPanel }: DSShuttleV2T.ItemMeta) => {
3
+ innerRefHandlerDnd: (node: HTMLDivElement | null) => void;
4
+ innerRefHandlerDrilldown: (node: HTMLButtonElement) => void;
5
+ innerRefHandlerMove: (node: HTMLButtonElement) => void;
6
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ export declare const ItemMiddleSection: React.MemoExoticComponent<(props: DSShuttleV2T.ItemMeta & {
4
+ tooltipHelpers?: DSShuttleV2T.ComponentProps['tooltipHelpers'];
5
+ }) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ export declare const ItemOverlay: React.MemoExoticComponent<(itemMeta: DSShuttleV2T.ItemMeta & {
4
+ tooltipHelpers?: DSShuttleV2T.ComponentProps['tooltipHelpers'];
5
+ }) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ export declare const ItemSelection: React.MemoExoticComponent<(itemMeta: DSShuttleV2T.ItemMeta) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ export declare const TextSection: React.MemoExoticComponent<(props: DSShuttleV2T.ItemMeta) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ export declare const useItemArrowNavigation: (itemMeta: DSShuttleV2T.ItemMeta) => {
4
+ onItemContainerKeyDown: React.KeyboardEventHandler<HTMLDivElement>;
5
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ export declare const useItemKeyboardSelection: (itemMeta: DSShuttleV2T.ItemMeta) => {
4
+ onItemKeyDownSelection: React.KeyboardEventHandler<HTMLDivElement>;
5
+ };
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
3
+ export declare const useSelectionLogic: ({ isDestinationPanel, datumInternalMeta, datum, datumRenderFlags, }: DSShuttleV2T.ItemMeta) => {
4
+ selectItem: (event: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLDivElement | HTMLButtonElement>) => void;
5
+ onShiftMouseDownPreventTextSelection: (event: React.MouseEvent<HTMLDivElement>) => void;
6
+ };
@@ -0,0 +1,4 @@
1
+ import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
2
+ type UseThisItemIsFocused = (itemMeta: DSShuttleV2T.ItemMeta) => boolean;
3
+ export declare const useThisItemIsFocused: UseThisItemIsFocused;
4
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const MainContent: React.MemoExoticComponent<() => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,2 @@
1
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
2
+ export declare const LoadMoreBtn: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
2
+ export declare const LoadingMore: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
3
+ export declare const PanelContentBottomSection: React.MemoExoticComponent<(panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,4 @@
1
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
2
+ export declare const useInnerRefHandlers: ({ isDestinationPanel }: DSShuttleV2T.PanelMetaInfo) => {
3
+ innerRefHandlerLoadMoreBtn: (node: HTMLButtonElement) => void;
4
+ };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
3
+ export declare const useLoadMoreBtnArrowNavigation: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => {
4
+ onLoadMoreButtonKeyDown: React.KeyboardEventHandler<HTMLDivElement>;
5
+ };
@@ -0,0 +1,2 @@
1
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
2
+ export declare const EmptyItems: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../../react-desc-prop-types.js';
3
+ export declare const ItemListWrapperWithContext: React.ComponentType<DSShuttleV2T.PanelMetaInfo>;
4
+ export default ItemListWrapperWithContext;
@@ -0,0 +1,15 @@
1
+ type GetDatumFlagsConfig = {
2
+ softDeleted: boolean;
3
+ preventMove?: boolean;
4
+ preventDrilldown?: boolean;
5
+ hasMultipleSelection?: boolean;
6
+ };
7
+ export declare const getDatumFlags: ({ softDeleted, preventMove, preventDrilldown, hasMultipleSelection, }: GetDatumFlagsConfig) => {
8
+ selectionPrevented: boolean;
9
+ withActions: boolean;
10
+ withMoveBtn: boolean;
11
+ withDrilldownBtn: boolean;
12
+ internallyDisabledMove: boolean;
13
+ internallyDisabledDrilldown: boolean;
14
+ };
15
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../../react-desc-prop-types.js';
3
+ export declare const useGetDatumHydratables: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => (item: DSShuttleV2T.ConfiguredDatum) => {
4
+ preventDrilldown?: boolean | undefined;
5
+ CustomRenderer?: React.ComponentType<DSShuttleV2T.ComponentProps> | undefined;
6
+ Icon?: React.ComponentType<DSShuttleV2T.ComponentProps> | undefined;
7
+ subtitle?: string | undefined;
8
+ id: string;
9
+ preventMove: boolean;
10
+ label: string;
11
+ };
@@ -0,0 +1,2 @@
1
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
2
+ export declare const LoadingItems: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
3
+ export declare const MultipleSelectionAction: React.MemoExoticComponent<(panelMeta: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
3
+ export declare const PanelContentMiddleSection: React.MemoExoticComponent<(panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,2 @@
1
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
2
+ export declare const PanelContentTopSection: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
2
+ export declare const PanelFilterSection: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../../../react-desc-prop-types.js';
3
+ export declare const SelectionHeader: React.MemoExoticComponent<(panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type DSShuttleV2T } from '../react-desc-prop-types.js';
3
+ export declare const PanelWrapper: React.MemoExoticComponent<(panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => import("react/jsx-runtime.js").JSX.Element>;