@elliemae/ds-shuttle-v2 3.70.0-next.32 → 3.70.0-next.33
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.map +2 -2
- package/dist/cjs/config/useAutoCalculated/index.js.map +2 -2
- package/dist/cjs/config/useAutoCalculated/useDataStructure.js.map +2 -2
- package/dist/cjs/config/useStore/useStore.js.map +1 -1
- package/dist/cjs/config/useValidateProps.js.map +2 -2
- package/dist/cjs/constants/index.js +0 -1
- package/dist/cjs/constants/index.js.map +2 -2
- package/dist/cjs/parts/Dnd/DndHandle.js +2 -2
- package/dist/cjs/parts/Dnd/DndHandle.js.map +2 -2
- package/dist/cjs/parts/Item/ItemActions/ItemActions.js +9 -2
- package/dist/cjs/parts/Item/ItemActions/ItemActions.js.map +2 -2
- package/dist/cjs/parts/Panel/middle/MultipleSelectionAction.js +6 -2
- package/dist/cjs/parts/Panel/middle/MultipleSelectionAction.js.map +2 -2
- package/dist/cjs/parts/Panel/top/SelectionHeader.js.map +2 -2
- package/dist/cjs/react-desc-prop-types.js +1 -2
- package/dist/cjs/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/typescript-testing/slot-props.js +180 -0
- package/dist/cjs/typescript-testing/slot-props.js.map +7 -0
- package/dist/cjs/typescript-testing/typescript-shuttle-v2-valid-with-datum.js +159 -0
- package/dist/cjs/typescript-testing/typescript-shuttle-v2-valid-with-datum.js.map +7 -0
- package/dist/cjs/typescript-testing/typescript-shuttle-v2-valid.js +0 -1
- package/dist/cjs/typescript-testing/typescript-shuttle-v2-valid.js.map +2 -2
- package/dist/esm/DSShuttleV2.js.map +2 -2
- package/dist/esm/config/useAutoCalculated/index.js.map +2 -2
- package/dist/esm/config/useAutoCalculated/useDataStructure.js.map +2 -2
- package/dist/esm/config/useStore/useStore.js.map +1 -1
- package/dist/esm/config/useValidateProps.js.map +2 -2
- package/dist/esm/constants/index.js +0 -1
- package/dist/esm/constants/index.js.map +2 -2
- package/dist/esm/parts/Dnd/DndHandle.js +3 -3
- package/dist/esm/parts/Dnd/DndHandle.js.map +2 -2
- package/dist/esm/parts/Item/ItemActions/ItemActions.js +9 -2
- package/dist/esm/parts/Item/ItemActions/ItemActions.js.map +2 -2
- package/dist/esm/parts/Panel/middle/MultipleSelectionAction.js +6 -2
- package/dist/esm/parts/Panel/middle/MultipleSelectionAction.js.map +2 -2
- package/dist/esm/parts/Panel/top/SelectionHeader.js.map +2 -2
- package/dist/esm/react-desc-prop-types.js +1 -2
- package/dist/esm/react-desc-prop-types.js.map +2 -2
- package/dist/esm/typescript-testing/slot-props.js +157 -0
- package/dist/esm/typescript-testing/slot-props.js.map +7 -0
- package/dist/esm/typescript-testing/typescript-shuttle-v2-valid-with-datum.js +136 -0
- package/dist/esm/typescript-testing/typescript-shuttle-v2-valid-with-datum.js.map +7 -0
- package/dist/esm/typescript-testing/typescript-shuttle-v2-valid.js +0 -1
- package/dist/esm/typescript-testing/typescript-shuttle-v2-valid.js.map +2 -2
- package/dist/types/DSShuttleV2.d.ts +2 -2
- package/dist/types/config/useAutoCalculated/index.d.ts +7 -7
- package/dist/types/config/useAutoCalculated/useDataStructure.d.ts +7 -7
- package/dist/types/config/useStore/useStore.d.ts +64 -64
- package/dist/types/config/useValidateProps.d.ts +1 -1
- package/dist/types/constants/index.d.ts +0 -2
- package/dist/types/parts/Dnd/DndHandle.d.ts +2 -10
- package/dist/types/parts/Item/Item.d.ts +1 -1
- package/dist/types/parts/Panel/middle/ItemListWrapper/useGetDatumHydratables.d.ts +2 -2
- package/dist/types/react-desc-prop-types.d.ts +109 -57
- package/dist/types/typescript-testing/slot-props.d.ts +1 -0
- package/dist/types/typescript-testing/typescript-shuttle-v2-valid-with-datum.d.ts +1 -0
- package/package.json +23 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
|
|
2
|
-
export declare const useAutoCalculated:
|
|
2
|
+
export declare const useAutoCalculated: (propsWithDefaults: DSShuttleV2T.InternalProps) => {
|
|
3
3
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
4
4
|
scrollTo: (index: number) => void;
|
|
5
5
|
}>;
|
|
@@ -10,22 +10,22 @@ export declare const useAutoCalculated: <T extends object, H extends object, N e
|
|
|
10
10
|
datum: DSShuttleV2T.Datum;
|
|
11
11
|
index: number;
|
|
12
12
|
}>;
|
|
13
|
-
destinationSelectionItemArray:
|
|
13
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
14
14
|
destinationSelectionArray: string[];
|
|
15
15
|
destinationHasMultipleSelectedItems: boolean;
|
|
16
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
17
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
16
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
17
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
18
18
|
destinationSelectionableDataIds: string[];
|
|
19
19
|
destinationSelectionableIds: string;
|
|
20
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
20
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
21
21
|
sourceSelectedItemsMap: Record<string, {
|
|
22
22
|
datum: DSShuttleV2T.Datum;
|
|
23
23
|
index: number;
|
|
24
24
|
}>;
|
|
25
|
-
sourceSelectionItemArray:
|
|
25
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
26
26
|
sourceSelectionArray: string[];
|
|
27
27
|
sourceHasMultipleSelectedItems: boolean;
|
|
28
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
28
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
29
29
|
sourceSelectionableDataIds: string[];
|
|
30
30
|
sourceSelectionableIds: string;
|
|
31
31
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
|
|
2
|
-
export declare const useDataStructure:
|
|
2
|
+
export declare const useDataStructure: (propsFromUser: DSShuttleV2T.InternalProps) => {
|
|
3
3
|
destinationSelectedItemsMap: Record<string, {
|
|
4
4
|
datum: DSShuttleV2T.Datum;
|
|
5
5
|
index: number;
|
|
6
6
|
}>;
|
|
7
|
-
destinationSelectionItemArray:
|
|
7
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
8
8
|
destinationSelectionArray: string[];
|
|
9
9
|
destinationHasMultipleSelectedItems: boolean;
|
|
10
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
11
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
10
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
11
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
12
12
|
destinationSelectionableDataIds: string[];
|
|
13
13
|
destinationSelectionableIds: string;
|
|
14
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
14
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
15
15
|
sourceSelectedItemsMap: Record<string, {
|
|
16
16
|
datum: DSShuttleV2T.Datum;
|
|
17
17
|
index: number;
|
|
18
18
|
}>;
|
|
19
|
-
sourceSelectionItemArray:
|
|
19
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
20
20
|
sourceSelectionArray: string[];
|
|
21
21
|
sourceHasMultipleSelectedItems: boolean;
|
|
22
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
22
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
23
23
|
sourceSelectionableDataIds: string[];
|
|
24
24
|
sourceSelectionableIds: string;
|
|
25
25
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ZustandT } from '@elliemae/ds-zustand-helpers';
|
|
2
2
|
import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
|
|
3
3
|
export declare const PropsProvider: ({ createStore, children, }: {
|
|
4
|
-
createStore: () => ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps<
|
|
4
|
+
createStore: () => ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps<Record<string, unknown>> & {
|
|
5
5
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
6
6
|
scrollTo: (index: number) => void;
|
|
7
7
|
}>;
|
|
@@ -12,27 +12,27 @@ export declare const PropsProvider: ({ createStore, children, }: {
|
|
|
12
12
|
datum: DSShuttleV2T.Datum;
|
|
13
13
|
index: number;
|
|
14
14
|
}>;
|
|
15
|
-
destinationSelectionItemArray:
|
|
15
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
16
16
|
destinationSelectionArray: string[];
|
|
17
17
|
destinationHasMultipleSelectedItems: boolean;
|
|
18
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
19
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
18
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
19
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
20
20
|
destinationSelectionableDataIds: string[];
|
|
21
21
|
destinationSelectionableIds: string;
|
|
22
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
22
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
23
23
|
sourceSelectedItemsMap: Record<string, {
|
|
24
24
|
datum: DSShuttleV2T.Datum;
|
|
25
25
|
index: number;
|
|
26
26
|
}>;
|
|
27
|
-
sourceSelectionItemArray:
|
|
27
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
28
28
|
sourceSelectionArray: string[];
|
|
29
29
|
sourceHasMultipleSelectedItems: boolean;
|
|
30
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
30
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
31
31
|
sourceSelectionableDataIds: string[];
|
|
32
32
|
sourceSelectionableIds: string;
|
|
33
33
|
}>>;
|
|
34
34
|
children: import("react").ReactNode;
|
|
35
|
-
}) => import("react").FunctionComponentElement<import("react").ProviderProps<ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps<
|
|
35
|
+
}) => import("react").FunctionComponentElement<import("react").ProviderProps<ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps<Record<string, unknown>> & {
|
|
36
36
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
37
37
|
scrollTo: (index: number) => void;
|
|
38
38
|
}>;
|
|
@@ -43,26 +43,26 @@ export declare const PropsProvider: ({ createStore, children, }: {
|
|
|
43
43
|
datum: DSShuttleV2T.Datum;
|
|
44
44
|
index: number;
|
|
45
45
|
}>;
|
|
46
|
-
destinationSelectionItemArray:
|
|
46
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
47
47
|
destinationSelectionArray: string[];
|
|
48
48
|
destinationHasMultipleSelectedItems: boolean;
|
|
49
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
50
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
49
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
50
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
51
51
|
destinationSelectionableDataIds: string[];
|
|
52
52
|
destinationSelectionableIds: string;
|
|
53
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
53
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
54
54
|
sourceSelectedItemsMap: Record<string, {
|
|
55
55
|
datum: DSShuttleV2T.Datum;
|
|
56
56
|
index: number;
|
|
57
57
|
}>;
|
|
58
|
-
sourceSelectionItemArray:
|
|
58
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
59
59
|
sourceSelectionArray: string[];
|
|
60
60
|
sourceHasMultipleSelectedItems: boolean;
|
|
61
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
61
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
62
62
|
sourceSelectionableDataIds: string[];
|
|
63
63
|
sourceSelectionableIds: string;
|
|
64
64
|
}>> | undefined>>, usePropsStore: {
|
|
65
|
-
(): ZustandT.PropsStore<DSShuttleV2T.InternalProps<
|
|
65
|
+
(): ZustandT.PropsStore<DSShuttleV2T.InternalProps<Record<string, unknown>> & {
|
|
66
66
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
67
67
|
scrollTo: (index: number) => void;
|
|
68
68
|
}>;
|
|
@@ -73,26 +73,26 @@ export declare const PropsProvider: ({ createStore, children, }: {
|
|
|
73
73
|
datum: DSShuttleV2T.Datum;
|
|
74
74
|
index: number;
|
|
75
75
|
}>;
|
|
76
|
-
destinationSelectionItemArray:
|
|
76
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
77
77
|
destinationSelectionArray: string[];
|
|
78
78
|
destinationHasMultipleSelectedItems: boolean;
|
|
79
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
80
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
79
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
80
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
81
81
|
destinationSelectionableDataIds: string[];
|
|
82
82
|
destinationSelectionableIds: string;
|
|
83
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
83
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
84
84
|
sourceSelectedItemsMap: Record<string, {
|
|
85
85
|
datum: DSShuttleV2T.Datum;
|
|
86
86
|
index: number;
|
|
87
87
|
}>;
|
|
88
|
-
sourceSelectionItemArray:
|
|
88
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
89
89
|
sourceSelectionArray: string[];
|
|
90
90
|
sourceHasMultipleSelectedItems: boolean;
|
|
91
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
91
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
92
92
|
sourceSelectionableDataIds: string[];
|
|
93
93
|
sourceSelectionableIds: string;
|
|
94
94
|
}>;
|
|
95
|
-
<U>(selector: (state: ZustandT.PropsStore<DSShuttleV2T.InternalProps<
|
|
95
|
+
<U>(selector: (state: ZustandT.PropsStore<DSShuttleV2T.InternalProps<Record<string, unknown>> & {
|
|
96
96
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
97
97
|
scrollTo: (index: number) => void;
|
|
98
98
|
}>;
|
|
@@ -103,22 +103,22 @@ export declare const PropsProvider: ({ createStore, children, }: {
|
|
|
103
103
|
datum: DSShuttleV2T.Datum;
|
|
104
104
|
index: number;
|
|
105
105
|
}>;
|
|
106
|
-
destinationSelectionItemArray:
|
|
106
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
107
107
|
destinationSelectionArray: string[];
|
|
108
108
|
destinationHasMultipleSelectedItems: boolean;
|
|
109
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
110
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
109
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
110
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
111
111
|
destinationSelectionableDataIds: string[];
|
|
112
112
|
destinationSelectionableIds: string;
|
|
113
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
113
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
114
114
|
sourceSelectedItemsMap: Record<string, {
|
|
115
115
|
datum: DSShuttleV2T.Datum;
|
|
116
116
|
index: number;
|
|
117
117
|
}>;
|
|
118
|
-
sourceSelectionItemArray:
|
|
118
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
119
119
|
sourceSelectionArray: string[];
|
|
120
120
|
sourceHasMultipleSelectedItems: boolean;
|
|
121
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
121
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
122
122
|
sourceSelectionableDataIds: string[];
|
|
123
123
|
sourceSelectionableIds: string;
|
|
124
124
|
}>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined): U;
|
|
@@ -130,9 +130,9 @@ export declare const PropsProvider: ({ createStore, children, }: {
|
|
|
130
130
|
<U>(selector: (state: ZustandT.InternalStore<DSShuttleV2T.InternalAtoms, DSShuttleV2T.Selectors, DSShuttleV2T.Reducers>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined): U;
|
|
131
131
|
};
|
|
132
132
|
export declare const config: {
|
|
133
|
-
defaultProps: DSShuttleV2T.InternalProps
|
|
133
|
+
defaultProps: DSShuttleV2T.InternalProps;
|
|
134
134
|
internalAtomDefaultValues: DSShuttleV2T.InternalAtoms;
|
|
135
|
-
useAutoCalculated:
|
|
135
|
+
useAutoCalculated: (propsWithDefaults: DSShuttleV2T.InternalProps) => {
|
|
136
136
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
137
137
|
scrollTo: (index: number) => void;
|
|
138
138
|
}>;
|
|
@@ -143,22 +143,22 @@ export declare const config: {
|
|
|
143
143
|
datum: DSShuttleV2T.Datum;
|
|
144
144
|
index: number;
|
|
145
145
|
}>;
|
|
146
|
-
destinationSelectionItemArray:
|
|
146
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
147
147
|
destinationSelectionArray: string[];
|
|
148
148
|
destinationHasMultipleSelectedItems: boolean;
|
|
149
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
150
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
149
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
150
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
151
151
|
destinationSelectionableDataIds: string[];
|
|
152
152
|
destinationSelectionableIds: string;
|
|
153
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
153
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
154
154
|
sourceSelectedItemsMap: Record<string, {
|
|
155
155
|
datum: DSShuttleV2T.Datum;
|
|
156
156
|
index: number;
|
|
157
157
|
}>;
|
|
158
|
-
sourceSelectionItemArray:
|
|
158
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
159
159
|
sourceSelectionArray: string[];
|
|
160
160
|
sourceHasMultipleSelectedItems: boolean;
|
|
161
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
161
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
162
162
|
sourceSelectionableDataIds: string[];
|
|
163
163
|
sourceSelectionableIds: string;
|
|
164
164
|
};
|
|
@@ -166,7 +166,7 @@ export declare const config: {
|
|
|
166
166
|
reducers: ZustandT.ReducerObject<DSShuttleV2T.ShuttleInternalStore, DSShuttleV2T.Reducers>;
|
|
167
167
|
subscribers: ZustandT.Subscribers<DSShuttleV2T.ShuttleInternalStore>;
|
|
168
168
|
PropsProvider: ({ createStore, children, }: {
|
|
169
|
-
createStore: () => ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps<
|
|
169
|
+
createStore: () => ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps<Record<string, unknown>> & {
|
|
170
170
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
171
171
|
scrollTo: (index: number) => void;
|
|
172
172
|
}>;
|
|
@@ -177,27 +177,27 @@ export declare const config: {
|
|
|
177
177
|
datum: DSShuttleV2T.Datum;
|
|
178
178
|
index: number;
|
|
179
179
|
}>;
|
|
180
|
-
destinationSelectionItemArray:
|
|
180
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
181
181
|
destinationSelectionArray: string[];
|
|
182
182
|
destinationHasMultipleSelectedItems: boolean;
|
|
183
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
184
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
183
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
184
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
185
185
|
destinationSelectionableDataIds: string[];
|
|
186
186
|
destinationSelectionableIds: string;
|
|
187
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
187
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
188
188
|
sourceSelectedItemsMap: Record<string, {
|
|
189
189
|
datum: DSShuttleV2T.Datum;
|
|
190
190
|
index: number;
|
|
191
191
|
}>;
|
|
192
|
-
sourceSelectionItemArray:
|
|
192
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
193
193
|
sourceSelectionArray: string[];
|
|
194
194
|
sourceHasMultipleSelectedItems: boolean;
|
|
195
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
195
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
196
196
|
sourceSelectionableDataIds: string[];
|
|
197
197
|
sourceSelectionableIds: string;
|
|
198
198
|
}>>;
|
|
199
199
|
children: import("react").ReactNode;
|
|
200
|
-
}) => import("react").FunctionComponentElement<import("react").ProviderProps<ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps<
|
|
200
|
+
}) => import("react").FunctionComponentElement<import("react").ProviderProps<ZustandT.ZustandStore<ZustandT.PropsStore<DSShuttleV2T.InternalProps<Record<string, unknown>> & {
|
|
201
201
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
202
202
|
scrollTo: (index: number) => void;
|
|
203
203
|
}>;
|
|
@@ -208,27 +208,27 @@ export declare const config: {
|
|
|
208
208
|
datum: DSShuttleV2T.Datum;
|
|
209
209
|
index: number;
|
|
210
210
|
}>;
|
|
211
|
-
destinationSelectionItemArray:
|
|
211
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
212
212
|
destinationSelectionArray: string[];
|
|
213
213
|
destinationHasMultipleSelectedItems: boolean;
|
|
214
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
215
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
214
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
215
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
216
216
|
destinationSelectionableDataIds: string[];
|
|
217
217
|
destinationSelectionableIds: string;
|
|
218
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
218
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
219
219
|
sourceSelectedItemsMap: Record<string, {
|
|
220
220
|
datum: DSShuttleV2T.Datum;
|
|
221
221
|
index: number;
|
|
222
222
|
}>;
|
|
223
|
-
sourceSelectionItemArray:
|
|
223
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
224
224
|
sourceSelectionArray: string[];
|
|
225
225
|
sourceHasMultipleSelectedItems: boolean;
|
|
226
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
226
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
227
227
|
sourceSelectionableDataIds: string[];
|
|
228
228
|
sourceSelectionableIds: string;
|
|
229
229
|
}>> | undefined>>;
|
|
230
230
|
usePropsStore: {
|
|
231
|
-
(): ZustandT.PropsStore<DSShuttleV2T.InternalProps<
|
|
231
|
+
(): ZustandT.PropsStore<DSShuttleV2T.InternalProps<Record<string, unknown>> & {
|
|
232
232
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
233
233
|
scrollTo: (index: number) => void;
|
|
234
234
|
}>;
|
|
@@ -239,26 +239,26 @@ export declare const config: {
|
|
|
239
239
|
datum: DSShuttleV2T.Datum;
|
|
240
240
|
index: number;
|
|
241
241
|
}>;
|
|
242
|
-
destinationSelectionItemArray:
|
|
242
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
243
243
|
destinationSelectionArray: string[];
|
|
244
244
|
destinationHasMultipleSelectedItems: boolean;
|
|
245
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
246
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
245
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
246
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
247
247
|
destinationSelectionableDataIds: string[];
|
|
248
248
|
destinationSelectionableIds: string;
|
|
249
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
249
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
250
250
|
sourceSelectedItemsMap: Record<string, {
|
|
251
251
|
datum: DSShuttleV2T.Datum;
|
|
252
252
|
index: number;
|
|
253
253
|
}>;
|
|
254
|
-
sourceSelectionItemArray:
|
|
254
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
255
255
|
sourceSelectionArray: string[];
|
|
256
256
|
sourceHasMultipleSelectedItems: boolean;
|
|
257
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
257
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
258
258
|
sourceSelectionableDataIds: string[];
|
|
259
259
|
sourceSelectionableIds: string;
|
|
260
260
|
}>;
|
|
261
|
-
<U>(selector: (state: ZustandT.PropsStore<DSShuttleV2T.InternalProps<
|
|
261
|
+
<U>(selector: (state: ZustandT.PropsStore<DSShuttleV2T.InternalProps<Record<string, unknown>> & {
|
|
262
262
|
destinationVirtualRef: import("react").MutableRefObject<{
|
|
263
263
|
scrollTo: (index: number) => void;
|
|
264
264
|
}>;
|
|
@@ -269,22 +269,22 @@ export declare const config: {
|
|
|
269
269
|
datum: DSShuttleV2T.Datum;
|
|
270
270
|
index: number;
|
|
271
271
|
}>;
|
|
272
|
-
destinationSelectionItemArray:
|
|
272
|
+
destinationSelectionItemArray: Record<string, unknown>[];
|
|
273
273
|
destinationSelectionArray: string[];
|
|
274
274
|
destinationHasMultipleSelectedItems: boolean;
|
|
275
|
-
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
276
|
-
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
275
|
+
destinationConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
276
|
+
destinationSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
277
277
|
destinationSelectionableDataIds: string[];
|
|
278
278
|
destinationSelectionableIds: string;
|
|
279
|
-
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum[];
|
|
279
|
+
sourceConfiguredData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
280
280
|
sourceSelectedItemsMap: Record<string, {
|
|
281
281
|
datum: DSShuttleV2T.Datum;
|
|
282
282
|
index: number;
|
|
283
283
|
}>;
|
|
284
|
-
sourceSelectionItemArray:
|
|
284
|
+
sourceSelectionItemArray: Record<string, unknown>[];
|
|
285
285
|
sourceSelectionArray: string[];
|
|
286
286
|
sourceHasMultipleSelectedItems: boolean;
|
|
287
|
-
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum[];
|
|
287
|
+
sourceSelectionableData: DSShuttleV2T.ConfiguredDatum<Record<string, unknown>>[];
|
|
288
288
|
sourceSelectionableDataIds: string[];
|
|
289
289
|
sourceSelectionableIds: string;
|
|
290
290
|
}>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined): U;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { WeakValidationMap } from 'react';
|
|
2
2
|
import type { DSShuttleV2T } from '../react-desc-prop-types.js';
|
|
3
|
-
export declare const useValidateProps:
|
|
3
|
+
export declare const useValidateProps: (props: DSShuttleV2T.Props, propTypes: WeakValidationMap<unknown>) => void;
|
|
@@ -26,7 +26,6 @@ export declare const DSShuttleV2Slots: {
|
|
|
26
26
|
readonly MOVE_MULTIPLE_BTN: "move-multiple-btn";
|
|
27
27
|
readonly MOVE_MULTIPLE_LIVE_REGION: "move-multiple-live-region";
|
|
28
28
|
readonly LIST_WRAPPER_MID: "list-wrapper-mid";
|
|
29
|
-
readonly LIST_WRAPPER_MID_SCROLLER: "list-wrapper-mid-scroller";
|
|
30
29
|
readonly LIST_WRAPPER_TOP: "list-wrapper-top";
|
|
31
30
|
readonly AREA_SEARCH_WRAPPER: "area-search-wrapper";
|
|
32
31
|
readonly AREA_SEARCH_BAR: "area-search-bar";
|
|
@@ -67,7 +66,6 @@ export declare const DSShuttleV2DataTestIds: {
|
|
|
67
66
|
readonly MOVE_MULTIPLE_BTN: "ds-shuttlev2-move-multiple-btn";
|
|
68
67
|
readonly MOVE_MULTIPLE_LIVE_REGION: "ds-shuttlev2-move-multiple-live-region";
|
|
69
68
|
readonly LIST_WRAPPER_MID: "ds-shuttlev2-list-wrapper-mid";
|
|
70
|
-
readonly LIST_WRAPPER_MID_SCROLLER: "ds-shuttlev2-list-wrapper-mid-scroller";
|
|
71
69
|
readonly LIST_WRAPPER_TOP: "ds-shuttlev2-list-wrapper-top";
|
|
72
70
|
readonly AREA_SEARCH_WRAPPER: "ds-shuttlev2-area-search-wrapper";
|
|
73
71
|
readonly AREA_SEARCH_BAR: "ds-shuttlev2-area-search-bar";
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
|
|
3
3
|
export declare const StyledGripperButtonOrOverlay: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, {
|
|
4
4
|
isActive: boolean;
|
|
5
5
|
isDragOverlay?: boolean;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
} & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
|
|
8
8
|
export declare const StyledGripperWrapper: import("styled-components").StyledComponent<"div", import("@elliemae/ds-system").Theme, object & import("@elliemae/ds-system").OwnerInterface & import("@elliemae/ds-system").InnerRefInterface<"div">, never>;
|
|
9
|
-
export declare const DragHandle: React.ComponentType<
|
|
10
|
-
id: string;
|
|
11
|
-
innerRef: React.RefObject<HTMLDivElement> | React.RefCallback<HTMLDivElement>;
|
|
12
|
-
useSortableHelpers: ReturnType<typeof useSortable>;
|
|
13
|
-
isDndActive: boolean;
|
|
14
|
-
isDragging: boolean;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
ariaLabelledby?: string;
|
|
17
|
-
}>;
|
|
9
|
+
export declare const DragHandle: React.ComponentType<DSShuttleV2T.DragHandleArguments>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type DSShuttleV2T } from '../../react-desc-prop-types.js';
|
|
3
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
|
|
4
|
+
declare const ItemSortable: React.ComponentType<DSShuttleV2T.ItemMeta<Record<string, unknown>>>;
|
|
5
5
|
export { ItemSortable };
|
|
6
6
|
export default ItemSortable;
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { type DSShuttleV2T } from '../../../../react-desc-prop-types.js';
|
|
3
3
|
export declare const useGetDatumHydratables: (panelMetaInfo: DSShuttleV2T.PanelMetaInfo) => (item: DSShuttleV2T.ConfiguredDatum) => {
|
|
4
4
|
preventDrilldown?: boolean | undefined;
|
|
5
|
-
CustomRenderer?: React.ComponentType<DSShuttleV2T.ComponentProps
|
|
6
|
-
Icon?: React.ComponentType<DSShuttleV2T.ComponentProps
|
|
5
|
+
CustomRenderer?: React.ComponentType<DSShuttleV2T.ComponentProps<Record<string, unknown>>> | null | undefined;
|
|
6
|
+
Icon?: React.ComponentType<DSShuttleV2T.ComponentProps<Record<string, unknown>>> | undefined;
|
|
7
7
|
subtitle?: string | undefined;
|
|
8
8
|
id: string;
|
|
9
9
|
preventMove: boolean;
|