@elliemae/ds-data-table 2.3.0-next.0 → 2.3.0-next.4
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-data-table",
|
|
3
|
-
"version": "2.3.0-next.
|
|
3
|
+
"version": "2.3.0-next.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Table",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -570,23 +570,23 @@
|
|
|
570
570
|
"dependencies": {
|
|
571
571
|
"@dnd-kit/core": "~4.0.1",
|
|
572
572
|
"@dnd-kit/sortable": "~5.0.0",
|
|
573
|
-
"@elliemae/ds-button": "2.3.0-next.
|
|
574
|
-
"@elliemae/ds-circular-progress-indicator": "2.3.0-next.
|
|
575
|
-
"@elliemae/ds-controlled-form": "2.3.0-next.
|
|
576
|
-
"@elliemae/ds-drag-and-drop": "2.3.0-next.
|
|
577
|
-
"@elliemae/ds-dropdownmenu": "2.3.0-next.
|
|
578
|
-
"@elliemae/ds-form": "2.3.0-next.
|
|
579
|
-
"@elliemae/ds-form-layout-blocks": "2.3.0-next.
|
|
580
|
-
"@elliemae/ds-grid": "2.3.0-next.
|
|
581
|
-
"@elliemae/ds-icons": "2.3.0-next.
|
|
582
|
-
"@elliemae/ds-indeterminate-progress-indicator": "2.3.0-next.
|
|
583
|
-
"@elliemae/ds-pagination": "2.3.0-next.
|
|
584
|
-
"@elliemae/ds-pills": "2.3.0-next.
|
|
585
|
-
"@elliemae/ds-popperjs": "2.3.0-next.
|
|
586
|
-
"@elliemae/ds-system": "2.3.0-next.
|
|
587
|
-
"@elliemae/ds-toolbar": "2.3.0-next.
|
|
588
|
-
"@elliemae/ds-truncated-tooltip-text": "2.3.0-next.
|
|
589
|
-
"@elliemae/ds-utilities": "2.3.0-next.
|
|
573
|
+
"@elliemae/ds-button": "2.3.0-next.4",
|
|
574
|
+
"@elliemae/ds-circular-progress-indicator": "2.3.0-next.4",
|
|
575
|
+
"@elliemae/ds-controlled-form": "2.3.0-next.4",
|
|
576
|
+
"@elliemae/ds-drag-and-drop": "2.3.0-next.4",
|
|
577
|
+
"@elliemae/ds-dropdownmenu": "2.3.0-next.4",
|
|
578
|
+
"@elliemae/ds-form": "2.3.0-next.4",
|
|
579
|
+
"@elliemae/ds-form-layout-blocks": "2.3.0-next.4",
|
|
580
|
+
"@elliemae/ds-grid": "2.3.0-next.4",
|
|
581
|
+
"@elliemae/ds-icons": "2.3.0-next.4",
|
|
582
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.3.0-next.4",
|
|
583
|
+
"@elliemae/ds-pagination": "2.3.0-next.4",
|
|
584
|
+
"@elliemae/ds-pills": "2.3.0-next.4",
|
|
585
|
+
"@elliemae/ds-popperjs": "2.3.0-next.4",
|
|
586
|
+
"@elliemae/ds-system": "2.3.0-next.4",
|
|
587
|
+
"@elliemae/ds-toolbar": "2.3.0-next.4",
|
|
588
|
+
"@elliemae/ds-truncated-tooltip-text": "2.3.0-next.4",
|
|
589
|
+
"@elliemae/ds-utilities": "2.3.0-next.4",
|
|
590
590
|
"@reduxjs/toolkit": "~1.6.2",
|
|
591
591
|
"csstype": "~3.0.9",
|
|
592
592
|
"moment": "~2.29.1",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const headersSlice: import("@reduxjs/toolkit").Slice<{}, {
|
|
2
|
+
patchHeaderFilterButtonAndMenuAction(state: import("immer/dist/internal").WritableDraft<{}>, action: {
|
|
3
|
+
payload: any;
|
|
4
|
+
type: string;
|
|
5
|
+
}): void;
|
|
6
|
+
patchUpdateOneHeaderAction(state: import("immer/dist/internal").WritableDraft<{}>, action: {
|
|
7
|
+
payload: any;
|
|
8
|
+
type: string;
|
|
9
|
+
}): void;
|
|
10
|
+
}, "headers">;
|
|
11
|
+
export declare const patchHeaderFilterButtonAndMenuAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, patchUpdateOneHeaderAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
12
|
+
export declare const reducer: import("redux").Reducer<{}, import("redux").AnyAction>;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
export declare const rowsSlice: import("@reduxjs/toolkit").Slice<{
|
|
2
|
+
isDraggingRow: boolean;
|
|
3
|
+
isKeyboardDraggingRow: boolean;
|
|
4
|
+
relativeRowMouseCord: {
|
|
5
|
+
isBefore: boolean;
|
|
6
|
+
isAfter: boolean;
|
|
7
|
+
isValid: boolean;
|
|
8
|
+
hoveredRowIndex: null;
|
|
9
|
+
x: null;
|
|
10
|
+
y: null;
|
|
11
|
+
relativeElementDOMRect: null;
|
|
12
|
+
relativeElementIndex: null;
|
|
13
|
+
};
|
|
14
|
+
draggedRowId: null;
|
|
15
|
+
hoverRowId: null;
|
|
16
|
+
activeRowId: null;
|
|
17
|
+
selectedRowId: null;
|
|
18
|
+
focusedRowId: null;
|
|
19
|
+
}, {
|
|
20
|
+
setRowsIsDraggingAction(state: import("immer/dist/internal").WritableDraft<{
|
|
21
|
+
isDraggingRow: boolean;
|
|
22
|
+
isKeyboardDraggingRow: boolean;
|
|
23
|
+
relativeRowMouseCord: {
|
|
24
|
+
isBefore: boolean;
|
|
25
|
+
isAfter: boolean;
|
|
26
|
+
isValid: boolean;
|
|
27
|
+
hoveredRowIndex: null;
|
|
28
|
+
x: null;
|
|
29
|
+
y: null;
|
|
30
|
+
relativeElementDOMRect: null;
|
|
31
|
+
relativeElementIndex: null;
|
|
32
|
+
};
|
|
33
|
+
draggedRowId: null;
|
|
34
|
+
hoverRowId: null;
|
|
35
|
+
activeRowId: null;
|
|
36
|
+
selectedRowId: null;
|
|
37
|
+
focusedRowId: null;
|
|
38
|
+
}>, action: {
|
|
39
|
+
payload: any;
|
|
40
|
+
type: string;
|
|
41
|
+
}): void;
|
|
42
|
+
setRowIsKeyboardDraggingAction(state: import("immer/dist/internal").WritableDraft<{
|
|
43
|
+
isDraggingRow: boolean;
|
|
44
|
+
isKeyboardDraggingRow: boolean;
|
|
45
|
+
relativeRowMouseCord: {
|
|
46
|
+
isBefore: boolean;
|
|
47
|
+
isAfter: boolean;
|
|
48
|
+
isValid: boolean;
|
|
49
|
+
hoveredRowIndex: null;
|
|
50
|
+
x: null;
|
|
51
|
+
y: null;
|
|
52
|
+
relativeElementDOMRect: null;
|
|
53
|
+
relativeElementIndex: null;
|
|
54
|
+
};
|
|
55
|
+
draggedRowId: null;
|
|
56
|
+
hoverRowId: null;
|
|
57
|
+
activeRowId: null;
|
|
58
|
+
selectedRowId: null;
|
|
59
|
+
focusedRowId: null;
|
|
60
|
+
}>, action: {
|
|
61
|
+
payload: any;
|
|
62
|
+
type: string;
|
|
63
|
+
}): void;
|
|
64
|
+
setRowRelativeMouseCoordAction(state: import("immer/dist/internal").WritableDraft<{
|
|
65
|
+
isDraggingRow: boolean;
|
|
66
|
+
isKeyboardDraggingRow: boolean;
|
|
67
|
+
relativeRowMouseCord: {
|
|
68
|
+
isBefore: boolean;
|
|
69
|
+
isAfter: boolean;
|
|
70
|
+
isValid: boolean;
|
|
71
|
+
hoveredRowIndex: null;
|
|
72
|
+
x: null;
|
|
73
|
+
y: null;
|
|
74
|
+
relativeElementDOMRect: null;
|
|
75
|
+
relativeElementIndex: null;
|
|
76
|
+
};
|
|
77
|
+
draggedRowId: null;
|
|
78
|
+
hoverRowId: null;
|
|
79
|
+
activeRowId: null;
|
|
80
|
+
selectedRowId: null;
|
|
81
|
+
focusedRowId: null;
|
|
82
|
+
}>, action: {
|
|
83
|
+
payload: any;
|
|
84
|
+
type: string;
|
|
85
|
+
}): void;
|
|
86
|
+
setRowDraggedRowIdAction(state: import("immer/dist/internal").WritableDraft<{
|
|
87
|
+
isDraggingRow: boolean;
|
|
88
|
+
isKeyboardDraggingRow: boolean;
|
|
89
|
+
relativeRowMouseCord: {
|
|
90
|
+
isBefore: boolean;
|
|
91
|
+
isAfter: boolean;
|
|
92
|
+
isValid: boolean;
|
|
93
|
+
hoveredRowIndex: null;
|
|
94
|
+
x: null;
|
|
95
|
+
y: null;
|
|
96
|
+
relativeElementDOMRect: null;
|
|
97
|
+
relativeElementIndex: null;
|
|
98
|
+
};
|
|
99
|
+
draggedRowId: null;
|
|
100
|
+
hoverRowId: null;
|
|
101
|
+
activeRowId: null;
|
|
102
|
+
selectedRowId: null;
|
|
103
|
+
focusedRowId: null;
|
|
104
|
+
}>, action: {
|
|
105
|
+
payload: any;
|
|
106
|
+
type: string;
|
|
107
|
+
}): void;
|
|
108
|
+
setRowHoverRowIdAction(state: import("immer/dist/internal").WritableDraft<{
|
|
109
|
+
isDraggingRow: boolean;
|
|
110
|
+
isKeyboardDraggingRow: boolean;
|
|
111
|
+
relativeRowMouseCord: {
|
|
112
|
+
isBefore: boolean;
|
|
113
|
+
isAfter: boolean;
|
|
114
|
+
isValid: boolean;
|
|
115
|
+
hoveredRowIndex: null;
|
|
116
|
+
x: null;
|
|
117
|
+
y: null;
|
|
118
|
+
relativeElementDOMRect: null;
|
|
119
|
+
relativeElementIndex: null;
|
|
120
|
+
};
|
|
121
|
+
draggedRowId: null;
|
|
122
|
+
hoverRowId: null;
|
|
123
|
+
activeRowId: null;
|
|
124
|
+
selectedRowId: null;
|
|
125
|
+
focusedRowId: null;
|
|
126
|
+
}>, action: {
|
|
127
|
+
payload: any;
|
|
128
|
+
type: string;
|
|
129
|
+
}): void;
|
|
130
|
+
setRowSelectedRowIdAction(state: import("immer/dist/internal").WritableDraft<{
|
|
131
|
+
isDraggingRow: boolean;
|
|
132
|
+
isKeyboardDraggingRow: boolean;
|
|
133
|
+
relativeRowMouseCord: {
|
|
134
|
+
isBefore: boolean;
|
|
135
|
+
isAfter: boolean;
|
|
136
|
+
isValid: boolean;
|
|
137
|
+
hoveredRowIndex: null;
|
|
138
|
+
x: null;
|
|
139
|
+
y: null;
|
|
140
|
+
relativeElementDOMRect: null;
|
|
141
|
+
relativeElementIndex: null;
|
|
142
|
+
};
|
|
143
|
+
draggedRowId: null;
|
|
144
|
+
hoverRowId: null;
|
|
145
|
+
activeRowId: null;
|
|
146
|
+
selectedRowId: null;
|
|
147
|
+
focusedRowId: null;
|
|
148
|
+
}>, action: {
|
|
149
|
+
payload: any;
|
|
150
|
+
type: string;
|
|
151
|
+
}): void;
|
|
152
|
+
setRowFocusedRowIdAction(state: import("immer/dist/internal").WritableDraft<{
|
|
153
|
+
isDraggingRow: boolean;
|
|
154
|
+
isKeyboardDraggingRow: boolean;
|
|
155
|
+
relativeRowMouseCord: {
|
|
156
|
+
isBefore: boolean;
|
|
157
|
+
isAfter: boolean;
|
|
158
|
+
isValid: boolean;
|
|
159
|
+
hoveredRowIndex: null;
|
|
160
|
+
x: null;
|
|
161
|
+
y: null;
|
|
162
|
+
relativeElementDOMRect: null;
|
|
163
|
+
relativeElementIndex: null;
|
|
164
|
+
};
|
|
165
|
+
draggedRowId: null;
|
|
166
|
+
hoverRowId: null;
|
|
167
|
+
activeRowId: null;
|
|
168
|
+
selectedRowId: null;
|
|
169
|
+
focusedRowId: null;
|
|
170
|
+
}>, action: {
|
|
171
|
+
payload: any;
|
|
172
|
+
type: string;
|
|
173
|
+
}): void;
|
|
174
|
+
setRowDnDActiveRowIdAction(state: import("immer/dist/internal").WritableDraft<{
|
|
175
|
+
isDraggingRow: boolean;
|
|
176
|
+
isKeyboardDraggingRow: boolean;
|
|
177
|
+
relativeRowMouseCord: {
|
|
178
|
+
isBefore: boolean;
|
|
179
|
+
isAfter: boolean;
|
|
180
|
+
isValid: boolean;
|
|
181
|
+
hoveredRowIndex: null;
|
|
182
|
+
x: null;
|
|
183
|
+
y: null;
|
|
184
|
+
relativeElementDOMRect: null;
|
|
185
|
+
relativeElementIndex: null;
|
|
186
|
+
};
|
|
187
|
+
draggedRowId: null;
|
|
188
|
+
hoverRowId: null;
|
|
189
|
+
activeRowId: null;
|
|
190
|
+
selectedRowId: null;
|
|
191
|
+
focusedRowId: null;
|
|
192
|
+
}>, action: {
|
|
193
|
+
payload: any;
|
|
194
|
+
type: string;
|
|
195
|
+
}): void;
|
|
196
|
+
}, "rows">;
|
|
197
|
+
export declare const setRowsIsDraggingAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setRowIsKeyboardDraggingAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setRowDraggedRowIdAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setRowHoverRowIdAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setRowSelectedRowIdAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setRowFocusedRowIdAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setRowRelativeMouseCoordAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setRowDnDActiveRowIdAction: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
198
|
+
export declare const reducer: import("redux").Reducer<{
|
|
199
|
+
isDraggingRow: boolean;
|
|
200
|
+
isKeyboardDraggingRow: boolean;
|
|
201
|
+
relativeRowMouseCord: {
|
|
202
|
+
isBefore: boolean;
|
|
203
|
+
isAfter: boolean;
|
|
204
|
+
isValid: boolean;
|
|
205
|
+
hoveredRowIndex: null;
|
|
206
|
+
x: null;
|
|
207
|
+
y: null;
|
|
208
|
+
relativeElementDOMRect: null;
|
|
209
|
+
relativeElementIndex: null;
|
|
210
|
+
};
|
|
211
|
+
draggedRowId: null;
|
|
212
|
+
hoverRowId: null;
|
|
213
|
+
activeRowId: null;
|
|
214
|
+
selectedRowId: null;
|
|
215
|
+
focusedRowId: null;
|
|
216
|
+
}, import("redux").AnyAction>;
|