@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.
- package/dist/cjs/DSShuttleV2.js +46 -0
- package/dist/cjs/DSShuttleV2.js.map +7 -0
- package/dist/cjs/config/DSShuttleV2Definitions.js +74 -0
- package/dist/cjs/config/DSShuttleV2Definitions.js.map +7 -0
- package/dist/cjs/config/itemMovementHelpers.js +133 -0
- package/dist/cjs/config/itemMovementHelpers.js.map +7 -0
- package/dist/cjs/config/useAutoCalculated/index.js +43 -0
- package/dist/cjs/config/useAutoCalculated/index.js.map +7 -0
- package/dist/cjs/config/useAutoCalculated/useDataStructure.js +182 -0
- package/dist/cjs/config/useAutoCalculated/useDataStructure.js.map +7 -0
- package/dist/cjs/config/useAutoCalculated/useShuttleVirtualized.js +51 -0
- package/dist/cjs/config/useAutoCalculated/useShuttleVirtualized.js.map +7 -0
- package/dist/cjs/config/useFocusTracker/index.js +42 -0
- package/dist/cjs/config/useFocusTracker/index.js.map +7 -0
- package/dist/cjs/config/useFocusTracker/useFocusActionTrackers.js +149 -0
- package/dist/cjs/config/useFocusTracker/useFocusActionTrackers.js.map +7 -0
- package/dist/cjs/config/useFocusTracker/useFocusItemTracker.js +103 -0
- package/dist/cjs/config/useFocusTracker/useFocusItemTracker.js.map +7 -0
- package/dist/cjs/config/useFocusTracker/useFocusRegionTrackers.js +87 -0
- package/dist/cjs/config/useFocusTracker/useFocusRegionTrackers.js.map +7 -0
- package/dist/cjs/config/useFocusTracker/useFocusTracker.js +52 -0
- package/dist/cjs/config/useFocusTracker/useFocusTracker.js.map +7 -0
- package/dist/cjs/config/useStore/focusAndTabIndexManager.js +77 -0
- package/dist/cjs/config/useStore/focusAndTabIndexManager.js.map +7 -0
- package/dist/cjs/config/useStore/index.js +30 -0
- package/dist/cjs/config/useStore/index.js.map +7 -0
- package/dist/cjs/config/useStore/useStore.js +86 -0
- package/dist/cjs/config/useStore/useStore.js.map +7 -0
- package/dist/cjs/config/useValidateProps.js +40 -0
- package/dist/cjs/config/useValidateProps.js.map +7 -0
- package/dist/cjs/constants/index.js +69 -0
- package/dist/cjs/constants/index.js.map +7 -0
- package/dist/cjs/exported-related/ShuttleItem.js +60 -0
- package/dist/cjs/exported-related/ShuttleItem.js.map +7 -0
- package/dist/cjs/exported-related/index.js +36 -0
- package/dist/cjs/exported-related/index.js.map +7 -0
- package/dist/cjs/index.js +43 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/package.json +7 -0
- package/dist/cjs/parts/Dnd/DndHandle.js +89 -0
- package/dist/cjs/parts/Dnd/DndHandle.js.map +7 -0
- package/dist/cjs/parts/Dnd/DragOverlay.js +51 -0
- package/dist/cjs/parts/Dnd/DragOverlay.js.map +7 -0
- package/dist/cjs/parts/Dnd/DropIndicator.js +92 -0
- package/dist/cjs/parts/Dnd/DropIndicator.js.map +7 -0
- package/dist/cjs/parts/Header.js +91 -0
- package/dist/cjs/parts/Header.js.map +7 -0
- package/dist/cjs/parts/HoC/withConditionalDnDRowContext.js +121 -0
- package/dist/cjs/parts/HoC/withConditionalDnDRowContext.js.map +7 -0
- package/dist/cjs/parts/HoC/withConditionalUseSortable.js +43 -0
- package/dist/cjs/parts/HoC/withConditionalUseSortable.js.map +7 -0
- package/dist/cjs/parts/Item/Item.js +222 -0
- package/dist/cjs/parts/Item/Item.js.map +7 -0
- package/dist/cjs/parts/Item/ItemActions/ItemActions.js +164 -0
- package/dist/cjs/parts/Item/ItemActions/ItemActions.js.map +7 -0
- package/dist/cjs/parts/Item/ItemActions/index.js +30 -0
- package/dist/cjs/parts/Item/ItemActions/index.js.map +7 -0
- package/dist/cjs/parts/Item/ItemActions/useActionsHandlers.js +54 -0
- package/dist/cjs/parts/Item/ItemActions/useActionsHandlers.js.map +7 -0
- package/dist/cjs/parts/Item/ItemActions/useActionsLogicHandlers.js +82 -0
- package/dist/cjs/parts/Item/ItemActions/useActionsLogicHandlers.js.map +7 -0
- package/dist/cjs/parts/Item/ItemActions/useInnerRefHandlers.js +69 -0
- package/dist/cjs/parts/Item/ItemActions/useInnerRefHandlers.js.map +7 -0
- package/dist/cjs/parts/Item/ItemMiddleSection.js +140 -0
- package/dist/cjs/parts/Item/ItemMiddleSection.js.map +7 -0
- package/dist/cjs/parts/Item/ItemOverlay.js +76 -0
- package/dist/cjs/parts/Item/ItemOverlay.js.map +7 -0
- package/dist/cjs/parts/Item/ItemSelection.js +70 -0
- package/dist/cjs/parts/Item/ItemSelection.js.map +7 -0
- package/dist/cjs/parts/Item/TextSection.js +56 -0
- package/dist/cjs/parts/Item/TextSection.js.map +7 -0
- package/dist/cjs/parts/Item/useItemArrowNavigation.js +104 -0
- package/dist/cjs/parts/Item/useItemArrowNavigation.js.map +7 -0
- package/dist/cjs/parts/Item/useItemKeyboardSelection.js +61 -0
- package/dist/cjs/parts/Item/useItemKeyboardSelection.js.map +7 -0
- package/dist/cjs/parts/Item/useSelectionLogic.js +128 -0
- package/dist/cjs/parts/Item/useSelectionLogic.js.map +7 -0
- package/dist/cjs/parts/Item/useThisItemIsFocused.js +47 -0
- package/dist/cjs/parts/Item/useThisItemIsFocused.js.map +7 -0
- package/dist/cjs/parts/MainContent.js +116 -0
- package/dist/cjs/parts/MainContent.js.map +7 -0
- package/dist/cjs/parts/Panel/bottom/LoadMoreBtn.js +81 -0
- package/dist/cjs/parts/Panel/bottom/LoadMoreBtn.js.map +7 -0
- package/dist/cjs/parts/Panel/bottom/LoadingMore.js +59 -0
- package/dist/cjs/parts/Panel/bottom/LoadingMore.js.map +7 -0
- package/dist/cjs/parts/Panel/bottom/PanelContentBottomSection.js +97 -0
- package/dist/cjs/parts/Panel/bottom/PanelContentBottomSection.js.map +7 -0
- package/dist/cjs/parts/Panel/bottom/useInnerRefHandlers.js +51 -0
- package/dist/cjs/parts/Panel/bottom/useInnerRefHandlers.js.map +7 -0
- package/dist/cjs/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.js +77 -0
- package/dist/cjs/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.js.map +7 -0
- package/dist/cjs/parts/Panel/middle/EmptyItems.js +58 -0
- package/dist/cjs/parts/Panel/middle/EmptyItems.js.map +7 -0
- package/dist/cjs/parts/Panel/middle/ItemListWrapper/Index.js +93 -0
- package/dist/cjs/parts/Panel/middle/ItemListWrapper/Index.js.map +7 -0
- package/dist/cjs/parts/Panel/middle/ItemListWrapper/getDatumFlags.js +48 -0
- package/dist/cjs/parts/Panel/middle/ItemListWrapper/getDatumFlags.js.map +7 -0
- package/dist/cjs/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.js +60 -0
- package/dist/cjs/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.js.map +7 -0
- package/dist/cjs/parts/Panel/middle/LoadingItems.js +68 -0
- package/dist/cjs/parts/Panel/middle/LoadingItems.js.map +7 -0
- package/dist/cjs/parts/Panel/middle/MultipleSelectionAction.js +186 -0
- package/dist/cjs/parts/Panel/middle/MultipleSelectionAction.js.map +7 -0
- package/dist/cjs/parts/Panel/middle/PanelContentMiddleSection.js +174 -0
- package/dist/cjs/parts/Panel/middle/PanelContentMiddleSection.js.map +7 -0
- package/dist/cjs/parts/Panel/top/PanelContentTopSection.js +71 -0
- package/dist/cjs/parts/Panel/top/PanelContentTopSection.js.map +7 -0
- package/dist/cjs/parts/Panel/top/PanelFilterSection.js +79 -0
- package/dist/cjs/parts/Panel/top/PanelFilterSection.js.map +7 -0
- package/dist/cjs/parts/Panel/top/SelectionHeader.js +137 -0
- package/dist/cjs/parts/Panel/top/SelectionHeader.js.map +7 -0
- package/dist/cjs/parts/PanelWrapper.js +83 -0
- package/dist/cjs/parts/PanelWrapper.js.map +7 -0
- package/dist/cjs/react-desc-prop-types.js +157 -0
- package/dist/cjs/react-desc-prop-types.js.map +7 -0
- package/dist/cjs/tests/configs/basic.js +164 -0
- package/dist/cjs/tests/configs/basic.js.map +7 -0
- package/dist/cjs/tests/configs/filter.js +199 -0
- package/dist/cjs/tests/configs/filter.js.map +7 -0
- package/dist/cjs/tests/configs/loadMore.js +179 -0
- package/dist/cjs/tests/configs/loadMore.js.map +7 -0
- package/dist/esm/DSShuttleV2.js +16 -0
- package/dist/esm/DSShuttleV2.js.map +7 -0
- package/dist/esm/config/DSShuttleV2Definitions.js +44 -0
- package/dist/esm/config/DSShuttleV2Definitions.js.map +7 -0
- package/dist/esm/config/itemMovementHelpers.js +103 -0
- package/dist/esm/config/itemMovementHelpers.js.map +7 -0
- package/dist/esm/config/useAutoCalculated/index.js +13 -0
- package/dist/esm/config/useAutoCalculated/index.js.map +7 -0
- package/dist/esm/config/useAutoCalculated/useDataStructure.js +152 -0
- package/dist/esm/config/useAutoCalculated/useDataStructure.js.map +7 -0
- package/dist/esm/config/useAutoCalculated/useShuttleVirtualized.js +21 -0
- package/dist/esm/config/useAutoCalculated/useShuttleVirtualized.js.map +7 -0
- package/dist/esm/config/useFocusTracker/index.js +12 -0
- package/dist/esm/config/useFocusTracker/index.js.map +7 -0
- package/dist/esm/config/useFocusTracker/useFocusActionTrackers.js +119 -0
- package/dist/esm/config/useFocusTracker/useFocusActionTrackers.js.map +7 -0
- package/dist/esm/config/useFocusTracker/useFocusItemTracker.js +73 -0
- package/dist/esm/config/useFocusTracker/useFocusItemTracker.js.map +7 -0
- package/dist/esm/config/useFocusTracker/useFocusRegionTrackers.js +57 -0
- package/dist/esm/config/useFocusTracker/useFocusRegionTrackers.js.map +7 -0
- package/dist/esm/config/useFocusTracker/useFocusTracker.js +22 -0
- package/dist/esm/config/useFocusTracker/useFocusTracker.js.map +7 -0
- package/dist/esm/config/useStore/focusAndTabIndexManager.js +47 -0
- package/dist/esm/config/useStore/focusAndTabIndexManager.js.map +7 -0
- package/dist/esm/config/useStore/index.js +3 -0
- package/dist/esm/config/useStore/index.js.map +7 -0
- package/dist/esm/config/useStore/useStore.js +56 -0
- package/dist/esm/config/useStore/useStore.js.map +7 -0
- package/dist/esm/config/useValidateProps.js +10 -0
- package/dist/esm/config/useValidateProps.js.map +7 -0
- package/dist/esm/constants/index.js +39 -0
- package/dist/esm/constants/index.js.map +7 -0
- package/dist/esm/exported-related/ShuttleItem.js +30 -0
- package/dist/esm/exported-related/ShuttleItem.js.map +7 -0
- package/dist/esm/exported-related/index.js +6 -0
- package/dist/esm/exported-related/index.js.map +7 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/package.json +7 -0
- package/dist/esm/parts/Dnd/DndHandle.js +59 -0
- package/dist/esm/parts/Dnd/DndHandle.js.map +7 -0
- package/dist/esm/parts/Dnd/DragOverlay.js +21 -0
- package/dist/esm/parts/Dnd/DragOverlay.js.map +7 -0
- package/dist/esm/parts/Dnd/DropIndicator.js +62 -0
- package/dist/esm/parts/Dnd/DropIndicator.js.map +7 -0
- package/dist/esm/parts/Header.js +63 -0
- package/dist/esm/parts/Header.js.map +7 -0
- package/dist/esm/parts/HoC/withConditionalDnDRowContext.js +91 -0
- package/dist/esm/parts/HoC/withConditionalDnDRowContext.js.map +7 -0
- package/dist/esm/parts/HoC/withConditionalUseSortable.js +13 -0
- package/dist/esm/parts/HoC/withConditionalUseSortable.js.map +7 -0
- package/dist/esm/parts/Item/Item.js +192 -0
- package/dist/esm/parts/Item/Item.js.map +7 -0
- package/dist/esm/parts/Item/ItemActions/ItemActions.js +134 -0
- package/dist/esm/parts/Item/ItemActions/ItemActions.js.map +7 -0
- package/dist/esm/parts/Item/ItemActions/index.js +3 -0
- package/dist/esm/parts/Item/ItemActions/index.js.map +7 -0
- package/dist/esm/parts/Item/ItemActions/useActionsHandlers.js +24 -0
- package/dist/esm/parts/Item/ItemActions/useActionsHandlers.js.map +7 -0
- package/dist/esm/parts/Item/ItemActions/useActionsLogicHandlers.js +52 -0
- package/dist/esm/parts/Item/ItemActions/useActionsLogicHandlers.js.map +7 -0
- package/dist/esm/parts/Item/ItemActions/useInnerRefHandlers.js +39 -0
- package/dist/esm/parts/Item/ItemActions/useInnerRefHandlers.js.map +7 -0
- package/dist/esm/parts/Item/ItemMiddleSection.js +110 -0
- package/dist/esm/parts/Item/ItemMiddleSection.js.map +7 -0
- package/dist/esm/parts/Item/ItemOverlay.js +46 -0
- package/dist/esm/parts/Item/ItemOverlay.js.map +7 -0
- package/dist/esm/parts/Item/ItemSelection.js +40 -0
- package/dist/esm/parts/Item/ItemSelection.js.map +7 -0
- package/dist/esm/parts/Item/TextSection.js +26 -0
- package/dist/esm/parts/Item/TextSection.js.map +7 -0
- package/dist/esm/parts/Item/useItemArrowNavigation.js +78 -0
- package/dist/esm/parts/Item/useItemArrowNavigation.js.map +7 -0
- package/dist/esm/parts/Item/useItemKeyboardSelection.js +31 -0
- package/dist/esm/parts/Item/useItemKeyboardSelection.js.map +7 -0
- package/dist/esm/parts/Item/useSelectionLogic.js +98 -0
- package/dist/esm/parts/Item/useSelectionLogic.js.map +7 -0
- package/dist/esm/parts/Item/useThisItemIsFocused.js +17 -0
- package/dist/esm/parts/Item/useThisItemIsFocused.js.map +7 -0
- package/dist/esm/parts/MainContent.js +86 -0
- package/dist/esm/parts/MainContent.js.map +7 -0
- package/dist/esm/parts/Panel/bottom/LoadMoreBtn.js +51 -0
- package/dist/esm/parts/Panel/bottom/LoadMoreBtn.js.map +7 -0
- package/dist/esm/parts/Panel/bottom/LoadingMore.js +29 -0
- package/dist/esm/parts/Panel/bottom/LoadingMore.js.map +7 -0
- package/dist/esm/parts/Panel/bottom/PanelContentBottomSection.js +67 -0
- package/dist/esm/parts/Panel/bottom/PanelContentBottomSection.js.map +7 -0
- package/dist/esm/parts/Panel/bottom/useInnerRefHandlers.js +21 -0
- package/dist/esm/parts/Panel/bottom/useInnerRefHandlers.js.map +7 -0
- package/dist/esm/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.js +51 -0
- package/dist/esm/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.js.map +7 -0
- package/dist/esm/parts/Panel/middle/EmptyItems.js +28 -0
- package/dist/esm/parts/Panel/middle/EmptyItems.js.map +7 -0
- package/dist/esm/parts/Panel/middle/ItemListWrapper/Index.js +63 -0
- package/dist/esm/parts/Panel/middle/ItemListWrapper/Index.js.map +7 -0
- package/dist/esm/parts/Panel/middle/ItemListWrapper/getDatumFlags.js +18 -0
- package/dist/esm/parts/Panel/middle/ItemListWrapper/getDatumFlags.js.map +7 -0
- package/dist/esm/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.js +30 -0
- package/dist/esm/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.js.map +7 -0
- package/dist/esm/parts/Panel/middle/LoadingItems.js +38 -0
- package/dist/esm/parts/Panel/middle/LoadingItems.js.map +7 -0
- package/dist/esm/parts/Panel/middle/MultipleSelectionAction.js +156 -0
- package/dist/esm/parts/Panel/middle/MultipleSelectionAction.js.map +7 -0
- package/dist/esm/parts/Panel/middle/PanelContentMiddleSection.js +144 -0
- package/dist/esm/parts/Panel/middle/PanelContentMiddleSection.js.map +7 -0
- package/dist/esm/parts/Panel/top/PanelContentTopSection.js +41 -0
- package/dist/esm/parts/Panel/top/PanelContentTopSection.js.map +7 -0
- package/dist/esm/parts/Panel/top/PanelFilterSection.js +49 -0
- package/dist/esm/parts/Panel/top/PanelFilterSection.js.map +7 -0
- package/dist/esm/parts/Panel/top/SelectionHeader.js +107 -0
- package/dist/esm/parts/Panel/top/SelectionHeader.js.map +7 -0
- package/dist/esm/parts/PanelWrapper.js +53 -0
- package/dist/esm/parts/PanelWrapper.js.map +7 -0
- package/dist/esm/react-desc-prop-types.js +132 -0
- package/dist/esm/react-desc-prop-types.js.map +7 -0
- package/dist/esm/tests/configs/basic.js +134 -0
- package/dist/esm/tests/configs/basic.js.map +7 -0
- package/dist/esm/tests/configs/filter.js +169 -0
- package/dist/esm/tests/configs/filter.js.map +7 -0
- package/dist/esm/tests/configs/loadMore.js +149 -0
- package/dist/esm/tests/configs/loadMore.js.map +7 -0
- package/dist/types/DSShuttleV2.d.ts +4 -0
- package/dist/types/config/DSShuttleV2Definitions.d.ts +36 -0
- package/dist/types/config/itemMovementHelpers.d.ts +7 -0
- package/dist/types/config/useAutoCalculated/index.d.ts +32 -0
- package/dist/types/config/useAutoCalculated/useDataStructure.d.ts +25 -0
- package/dist/types/config/useAutoCalculated/useShuttleVirtualized.d.ts +9 -0
- package/dist/types/config/useFocusTracker/index.d.ts +4 -0
- package/dist/types/config/useFocusTracker/useFocusActionTrackers.d.ts +10 -0
- package/dist/types/config/useFocusTracker/useFocusItemTracker.d.ts +11 -0
- package/dist/types/config/useFocusTracker/useFocusRegionTrackers.d.ts +18 -0
- package/dist/types/config/useFocusTracker/useFocusTracker.d.ts +33 -0
- package/dist/types/config/useStore/focusAndTabIndexManager.d.ts +10 -0
- package/dist/types/config/useStore/index.d.ts +1 -0
- package/dist/types/config/useStore/useStore.d.ts +301 -0
- package/dist/types/config/useValidateProps.d.ts +3 -0
- package/dist/types/constants/index.d.ts +32 -0
- package/dist/types/exported-related/ShuttleItem.d.ts +8 -0
- package/dist/types/exported-related/index.d.ts +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/parts/Dnd/DndHandle.d.ts +15 -0
- package/dist/types/parts/Dnd/DragOverlay.d.ts +6 -0
- package/dist/types/parts/Dnd/DropIndicator.d.ts +15 -0
- package/dist/types/parts/Header.d.ts +3 -0
- package/dist/types/parts/HoC/withConditionalDnDRowContext.d.ts +10 -0
- package/dist/types/parts/HoC/withConditionalUseSortable.d.ts +8 -0
- package/dist/types/parts/Item/Item.d.ts +6 -0
- package/dist/types/parts/Item/ItemActions/ItemActions.d.ts +3 -0
- package/dist/types/parts/Item/ItemActions/index.d.ts +1 -0
- package/dist/types/parts/Item/ItemActions/useActionsHandlers.d.ts +7 -0
- package/dist/types/parts/Item/ItemActions/useActionsLogicHandlers.d.ts +7 -0
- package/dist/types/parts/Item/ItemActions/useInnerRefHandlers.d.ts +6 -0
- package/dist/types/parts/Item/ItemMiddleSection.d.ts +5 -0
- package/dist/types/parts/Item/ItemOverlay.d.ts +5 -0
- package/dist/types/parts/Item/ItemSelection.d.ts +3 -0
- package/dist/types/parts/Item/TextSection.d.ts +3 -0
- package/dist/types/parts/Item/useItemArrowNavigation.d.ts +5 -0
- package/dist/types/parts/Item/useItemKeyboardSelection.d.ts +5 -0
- package/dist/types/parts/Item/useSelectionLogic.d.ts +6 -0
- package/dist/types/parts/Item/useThisItemIsFocused.d.ts +4 -0
- package/dist/types/parts/MainContent.d.ts +2 -0
- package/dist/types/parts/Panel/bottom/LoadMoreBtn.d.ts +2 -0
- package/dist/types/parts/Panel/bottom/LoadingMore.d.ts +2 -0
- package/dist/types/parts/Panel/bottom/PanelContentBottomSection.d.ts +3 -0
- package/dist/types/parts/Panel/bottom/useInnerRefHandlers.d.ts +4 -0
- package/dist/types/parts/Panel/bottom/useLoadMoreBtnArrowNavigation.d.ts +5 -0
- package/dist/types/parts/Panel/middle/EmptyItems.d.ts +2 -0
- package/dist/types/parts/Panel/middle/ItemListWrapper/Index.d.ts +4 -0
- package/dist/types/parts/Panel/middle/ItemListWrapper/getDatumFlags.d.ts +15 -0
- package/dist/types/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.d.ts +11 -0
- package/dist/types/parts/Panel/middle/LoadingItems.d.ts +2 -0
- package/dist/types/parts/Panel/middle/MultipleSelectionAction.d.ts +3 -0
- package/dist/types/parts/Panel/middle/PanelContentMiddleSection.d.ts +3 -0
- package/dist/types/parts/Panel/top/PanelContentTopSection.d.ts +2 -0
- package/dist/types/parts/Panel/top/PanelFilterSection.d.ts +2 -0
- package/dist/types/parts/Panel/top/SelectionHeader.d.ts +3 -0
- package/dist/types/parts/PanelWrapper.d.ts +3 -0
- package/dist/types/react-desc-prop-types.d.ts +199 -0
- package/dist/types/tests/configs/basic.d.ts +25 -0
- package/dist/types/tests/configs/filter.d.ts +29 -0
- package/dist/types/tests/configs/loadMore.d.ts +29 -0
- package/dist/types/tests/shuttle-v2.basic.test.d.ts +1 -0
- package/dist/types/tests/shuttle-v2.filter.test.d.ts +1 -0
- package/dist/types/tests/shuttle-v2.load-more.test.d.ts +1 -0
- 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,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,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,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,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 @@
|
|
|
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,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,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,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
|
+
};
|