@elliemae/ds-data-table 2.0.0-rc.6 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/addons/Editables/TextEditableCell/TextEditableCell.js +16 -0
- package/cjs/addons/Filters/Components/CurrencyRangeFilter/index.js +4 -1
- package/cjs/addons/Filters/Components/DateSwitcherFilter/index.js +4 -1
- package/cjs/addons/Filters/Components/NumberRangeFilter/index.js +4 -1
- package/cjs/addons/Filters/Components/SelectFilter/BaseSelectFilter.js +3 -3
- package/cjs/exported-related/EditableCell.js +11 -5
- package/cjs/exported-related/FilterPopover.js +1 -1
- package/cjs/parts/HoC/withConditionalDnDColumnContext.js +20 -3
- package/cjs/parts/HoC/withConditionalDnDRowContext.js +2 -2
- package/cjs/styled.js +16 -11
- package/esm/addons/Editables/TextEditableCell/TextEditableCell.js +16 -0
- package/esm/addons/Filters/Components/CurrencyRangeFilter/index.js +4 -1
- package/esm/addons/Filters/Components/DateSwitcherFilter/index.js +4 -1
- package/esm/addons/Filters/Components/NumberRangeFilter/index.js +4 -1
- package/esm/addons/Filters/Components/SelectFilter/BaseSelectFilter.js +3 -3
- package/esm/exported-related/EditableCell.js +11 -5
- package/esm/exported-related/FilterPopover.js +1 -1
- package/esm/parts/HoC/withConditionalDnDColumnContext.js +19 -2
- package/esm/parts/HoC/withConditionalDnDRowContext.js +1 -1
- package/esm/styled.js +16 -11
- package/package.json +24 -85
- package/types/DataTable.d.ts +245 -43
- package/types/DataTableSchema.d.ts +245 -43
- package/types/parts/FilterBar/styled.d.ts +163 -28
- package/types/styled.d.ts +3 -1
- package/cjs/helpers/dndkit/hierarchy/customCollisionDetection.js +0 -89
- package/cjs/helpers/dndkit/hierarchy/getHierarchyKeyboardCoordinates.js +0 -143
- package/cjs/helpers/dndkit/hierarchy/types.js +0 -2
- package/cjs/helpers/dndkit/hierarchy/useHierarchyActionHandlers.js +0 -55
- package/cjs/helpers/dndkit/hierarchy/useHierarchyAnnouncements.js +0 -36
- package/cjs/helpers/dndkit/hierarchy/useHierarchyDndkitConfig.js +0 -111
- package/cjs/helpers/dndkit/hierarchy/useHierarchyPreviewHandlers.js +0 -87
- package/cjs/helpers/dndkit/tree/customCollisionDetection.js +0 -118
- package/cjs/helpers/dndkit/tree/getTreeKeyboardCoordinates.js +0 -134
- package/cjs/helpers/dndkit/tree/types.js +0 -2
- package/cjs/helpers/dndkit/tree/useTreeActionHandlers.js +0 -75
- package/cjs/helpers/dndkit/tree/useTreeAnnouncements.js +0 -55
- package/cjs/helpers/dndkit/tree/useTreeDndkitConfig.js +0 -141
- package/cjs/helpers/dndkit/tree/useTreePreviewHandlers.js +0 -54
- package/cjs/helpers/dndkit/types.js +0 -2
- package/cjs/helpers/dndkit/utilities.js +0 -52
- package/esm/helpers/dndkit/hierarchy/customCollisionDetection.js +0 -85
- package/esm/helpers/dndkit/hierarchy/getHierarchyKeyboardCoordinates.js +0 -135
- package/esm/helpers/dndkit/hierarchy/types.js +0 -1
- package/esm/helpers/dndkit/hierarchy/useHierarchyActionHandlers.js +0 -51
- package/esm/helpers/dndkit/hierarchy/useHierarchyAnnouncements.js +0 -32
- package/esm/helpers/dndkit/hierarchy/useHierarchyDndkitConfig.js +0 -105
- package/esm/helpers/dndkit/hierarchy/useHierarchyPreviewHandlers.js +0 -83
- package/esm/helpers/dndkit/tree/customCollisionDetection.js +0 -114
- package/esm/helpers/dndkit/tree/getTreeKeyboardCoordinates.js +0 -126
- package/esm/helpers/dndkit/tree/types.js +0 -1
- package/esm/helpers/dndkit/tree/useTreeActionHandlers.js +0 -71
- package/esm/helpers/dndkit/tree/useTreeAnnouncements.js +0 -51
- package/esm/helpers/dndkit/tree/useTreeDndkitConfig.js +0 -135
- package/esm/helpers/dndkit/tree/useTreePreviewHandlers.js +0 -50
- package/esm/helpers/dndkit/types.js +0 -1
- package/esm/helpers/dndkit/utilities.js +0 -47
- package/types/helpers/dndkit/hierarchy/customCollisionDetection.d.ts +0 -3
- package/types/helpers/dndkit/hierarchy/getHierarchyKeyboardCoordinates.d.ts +0 -3
- package/types/helpers/dndkit/hierarchy/types.d.ts +0 -66
- package/types/helpers/dndkit/hierarchy/useHierarchyActionHandlers.d.ts +0 -2
- package/types/helpers/dndkit/hierarchy/useHierarchyAnnouncements.d.ts +0 -3
- package/types/helpers/dndkit/hierarchy/useHierarchyDndkitConfig.d.ts +0 -3
- package/types/helpers/dndkit/hierarchy/useHierarchyPreviewHandlers.d.ts +0 -2
- package/types/helpers/dndkit/tree/customCollisionDetection.d.ts +0 -4
- package/types/helpers/dndkit/tree/getTreeKeyboardCoordinates.d.ts +0 -3
- package/types/helpers/dndkit/tree/types.d.ts +0 -82
- package/types/helpers/dndkit/tree/useTreeActionHandlers.d.ts +0 -2
- package/types/helpers/dndkit/tree/useTreeAnnouncements.d.ts +0 -4
- package/types/helpers/dndkit/tree/useTreeDndkitConfig.d.ts +0 -3
- package/types/helpers/dndkit/tree/useTreePreviewHandlers.d.ts +0 -2
- package/types/helpers/dndkit/types.d.ts +0 -20
- package/types/helpers/dndkit/utilities.d.ts +0 -7
|
@@ -1,45 +1,247 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const DataTableSchema: {
|
|
2
|
-
columns:
|
|
3
|
-
data:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
3
|
+
columns: import("react-desc").PropTypesDescValidator;
|
|
4
|
+
data: {
|
|
5
|
+
defaultValue<T = unknown>(arg: T): {
|
|
6
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
+
};
|
|
8
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
height: {
|
|
11
|
+
defaultValue<T = unknown>(arg: T): {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
width: {
|
|
17
|
+
defaultValue<T = unknown>(arg: T): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
renderRowActions: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
isExpandable: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
uniqueRowAccessor: {
|
|
32
|
+
defaultValue<T = unknown>(arg: T): {
|
|
33
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
+
};
|
|
35
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
disabledRows: {
|
|
38
|
+
defaultValue<T = unknown>(arg: T): {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
expandedRows: {
|
|
44
|
+
defaultValue<T = unknown>(arg: T): {
|
|
45
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
onRowExpand: {
|
|
50
|
+
defaultValue<T = unknown>(arg: T): {
|
|
51
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
cellRendererProps: {
|
|
56
|
+
defaultValue<T = unknown>(arg: T): {
|
|
57
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
selectSingle: {
|
|
62
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
64
|
+
selection: {
|
|
65
|
+
defaultValue<T = unknown>(arg: T): {
|
|
66
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
67
|
+
};
|
|
68
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
69
|
+
};
|
|
70
|
+
onSelectionChange: {
|
|
71
|
+
defaultValue<T = unknown>(arg: T): {
|
|
72
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
|
+
};
|
|
74
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
75
|
+
};
|
|
76
|
+
groupedRowsRenderHeader: {
|
|
77
|
+
defaultValue<T = unknown>(arg: T): {
|
|
78
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
79
|
+
};
|
|
80
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
81
|
+
};
|
|
82
|
+
isResizeable: {
|
|
83
|
+
defaultValue<T = unknown>(arg: T): {
|
|
84
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
85
|
+
};
|
|
86
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
87
|
+
};
|
|
88
|
+
filters: {
|
|
89
|
+
defaultValue<T = unknown>(arg: T): {
|
|
90
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
91
|
+
};
|
|
92
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
93
|
+
};
|
|
94
|
+
withFilterBar: {
|
|
95
|
+
defaultValue<T = unknown>(arg: T): {
|
|
96
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
97
|
+
};
|
|
98
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
99
|
+
};
|
|
100
|
+
filterBarProps: {
|
|
101
|
+
defaultValue<T = unknown>(arg: T): {
|
|
102
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
103
|
+
};
|
|
104
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
105
|
+
};
|
|
106
|
+
onFiltersChange: {
|
|
107
|
+
defaultValue<T = unknown>(arg: T): {
|
|
108
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
109
|
+
};
|
|
110
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
111
|
+
};
|
|
112
|
+
pagination: {
|
|
113
|
+
defaultValue<T = unknown>(arg: T): {
|
|
114
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
115
|
+
};
|
|
116
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
117
|
+
};
|
|
118
|
+
colsLayoutStyle: {
|
|
119
|
+
defaultValue<T = unknown>(arg: T): {
|
|
120
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
121
|
+
};
|
|
122
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
123
|
+
};
|
|
124
|
+
hiddenColumns: {
|
|
125
|
+
defaultValue<T = unknown>(arg: T): {
|
|
126
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
127
|
+
};
|
|
128
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
129
|
+
};
|
|
130
|
+
dragAndDropRows: {
|
|
131
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
132
|
+
};
|
|
133
|
+
onRowsReorder: {
|
|
134
|
+
defaultValue<T = unknown>(arg: T): {
|
|
135
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
136
|
+
};
|
|
137
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
138
|
+
};
|
|
139
|
+
maxDragAndDropLevel: {
|
|
140
|
+
defaultValue<T = unknown>(arg: T): {
|
|
141
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
142
|
+
};
|
|
143
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
144
|
+
};
|
|
145
|
+
dragAndDropColumns: {
|
|
146
|
+
defaultValue<T = unknown>(arg: T): {
|
|
147
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
148
|
+
};
|
|
149
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
150
|
+
};
|
|
151
|
+
onColumnsReorder: {
|
|
152
|
+
defaultValue<T = unknown>(arg: T): {
|
|
153
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
154
|
+
};
|
|
155
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
156
|
+
};
|
|
157
|
+
textWrap: {
|
|
158
|
+
defaultValue<T = unknown>(arg: T): {
|
|
159
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
160
|
+
};
|
|
161
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
162
|
+
};
|
|
163
|
+
noResultsMessage: {
|
|
164
|
+
defaultValue<T = unknown>(arg: T): {
|
|
165
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
166
|
+
};
|
|
167
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
168
|
+
};
|
|
169
|
+
noResultsSecondaryMessage: {
|
|
170
|
+
defaultValue<T = unknown>(arg: T): {
|
|
171
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
172
|
+
};
|
|
173
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
174
|
+
};
|
|
175
|
+
noResultsButtonLabel: {
|
|
176
|
+
defaultValue<T = unknown>(arg: T): {
|
|
177
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
178
|
+
};
|
|
179
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
180
|
+
};
|
|
181
|
+
noResultsPlaceholder: {
|
|
182
|
+
defaultValue<T = unknown>(arg: T): {
|
|
183
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
184
|
+
};
|
|
185
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
186
|
+
};
|
|
187
|
+
isLoading: {
|
|
188
|
+
defaultValue<T = unknown>(arg: T): {
|
|
189
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
190
|
+
};
|
|
191
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
192
|
+
};
|
|
193
|
+
isLoadingAppended: {
|
|
194
|
+
defaultValue<T = unknown>(arg: T): {
|
|
195
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
196
|
+
};
|
|
197
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
198
|
+
};
|
|
199
|
+
onColumnResize: {
|
|
200
|
+
defaultValue<T = unknown>(arg: T): {
|
|
201
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
202
|
+
};
|
|
203
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
204
|
+
};
|
|
205
|
+
isNoMoreDataAppended: {
|
|
206
|
+
defaultValue<T = unknown>(arg: T): {
|
|
207
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
208
|
+
};
|
|
209
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
210
|
+
};
|
|
211
|
+
noMoreDataMessage: {
|
|
212
|
+
defaultValue<T = unknown>(arg: T): {
|
|
213
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
214
|
+
};
|
|
215
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
216
|
+
};
|
|
217
|
+
onRowClick: {
|
|
218
|
+
defaultValue<T = unknown>(arg: T): {
|
|
219
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
220
|
+
};
|
|
221
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
222
|
+
};
|
|
223
|
+
onRowFocus: {
|
|
224
|
+
defaultValue<T = unknown>(arg: T): {
|
|
225
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
226
|
+
};
|
|
227
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
228
|
+
};
|
|
229
|
+
onCellValueChange: {
|
|
230
|
+
defaultValue<T = unknown>(arg: T): {
|
|
231
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
232
|
+
};
|
|
233
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
234
|
+
};
|
|
235
|
+
onColumnSortChange: {
|
|
236
|
+
defaultValue<T = unknown>(arg: T): {
|
|
237
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
238
|
+
};
|
|
239
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
240
|
+
};
|
|
241
|
+
actionRef: {
|
|
242
|
+
defaultValue<T = unknown>(arg: T): {
|
|
243
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
244
|
+
};
|
|
245
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
246
|
+
};
|
|
45
247
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
export declare const StyledWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
4
|
export declare const StyledDropdownMenu: import("styled-components").StyledComponent<{
|
|
@@ -32,33 +33,167 @@ export declare const StyledDropdownMenu: import("styled-components").StyledCompo
|
|
|
32
33
|
hideIfNotVisible: any;
|
|
33
34
|
}): JSX.Element;
|
|
34
35
|
propTypes: {
|
|
35
|
-
hideIfNotVisible:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
36
|
+
hideIfNotVisible: {
|
|
37
|
+
defaultValue<T = unknown>(arg: T): {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
41
|
+
};
|
|
42
|
+
containerProps: {
|
|
43
|
+
defaultValue<T_1 = unknown>(arg: T_1): {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
48
|
+
contentStyle: {
|
|
49
|
+
defaultValue<T_2 = unknown>(arg: T_2): {
|
|
50
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
51
|
+
};
|
|
52
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
options: {
|
|
55
|
+
defaultValue<T_3 = unknown>(arg: T_3): {
|
|
56
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
57
|
+
};
|
|
58
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
onSelectMenuItem: {
|
|
61
|
+
defaultValue<T_4 = unknown>(arg: T_4): {
|
|
62
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
+
};
|
|
64
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
65
|
+
};
|
|
66
|
+
onOpenMenu: {
|
|
67
|
+
defaultValue<T_5 = unknown>(arg: T_5): {
|
|
68
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
69
|
+
};
|
|
70
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
71
|
+
};
|
|
72
|
+
onClickOutsideMenu: {
|
|
73
|
+
defaultValue<T_6 = unknown>(arg: T_6): {
|
|
74
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
75
|
+
};
|
|
76
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
78
|
+
preventOverflow: {
|
|
79
|
+
defaultValue<T_7 = unknown>(arg: T_7): {
|
|
80
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
81
|
+
};
|
|
82
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
83
|
+
};
|
|
84
|
+
placement: {
|
|
85
|
+
defaultValue<T_8 = unknown>(arg: T_8): {
|
|
86
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
87
|
+
};
|
|
88
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
89
|
+
};
|
|
90
|
+
interactionType: {
|
|
91
|
+
defaultValue<T_9 = unknown>(arg: T_9): {
|
|
92
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
93
|
+
};
|
|
94
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
96
|
+
triggerComponent: {
|
|
97
|
+
defaultValue<T_10 = unknown>(arg: T_10): {
|
|
98
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
99
|
+
};
|
|
100
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
101
|
+
};
|
|
102
|
+
customMenu: {
|
|
103
|
+
defaultValue<T_11 = unknown>(arg: T_11): {
|
|
104
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
105
|
+
};
|
|
106
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
107
|
+
};
|
|
108
|
+
isOpen: {
|
|
109
|
+
defaultValue<T_12 = unknown>(arg: T_12): {
|
|
110
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
111
|
+
};
|
|
112
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
113
|
+
};
|
|
114
|
+
selection: {
|
|
115
|
+
defaultValue<T_13 = unknown>(arg: T_13): {
|
|
116
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
117
|
+
};
|
|
118
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
119
|
+
};
|
|
120
|
+
menuProps: {
|
|
121
|
+
defaultValue<T_14 = unknown>(arg: T_14): {
|
|
122
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
123
|
+
};
|
|
124
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
125
|
+
};
|
|
126
|
+
itemsRenderer: {
|
|
127
|
+
defaultValue<T_15 = unknown>(arg: T_15): {
|
|
128
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
129
|
+
};
|
|
130
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
131
|
+
};
|
|
132
|
+
type: {
|
|
133
|
+
defaultValue<T_16 = unknown>(arg: T_16): {
|
|
134
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
135
|
+
};
|
|
136
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
137
|
+
};
|
|
138
|
+
minWidth: {
|
|
139
|
+
defaultValue<T_17 = unknown>(arg: T_17): {
|
|
140
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
141
|
+
};
|
|
142
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
143
|
+
};
|
|
144
|
+
maxWidth: {
|
|
145
|
+
defaultValue<T_18 = unknown>(arg: T_18): {
|
|
146
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
147
|
+
};
|
|
148
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
149
|
+
};
|
|
150
|
+
responsiveHeight: {
|
|
151
|
+
defaultValue<T_19 = unknown>(arg: T_19): {
|
|
152
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
153
|
+
};
|
|
154
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
155
|
+
};
|
|
156
|
+
zIndex: {
|
|
157
|
+
defaultValue<T_20 = unknown>(arg: T_20): {
|
|
158
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
159
|
+
};
|
|
160
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
161
|
+
};
|
|
162
|
+
className: {
|
|
163
|
+
defaultValue<T_21 = unknown>(arg: T_21): {
|
|
164
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
165
|
+
};
|
|
166
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
167
|
+
};
|
|
168
|
+
focusOnOpen: {
|
|
169
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
170
|
+
};
|
|
171
|
+
loading: {
|
|
172
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
173
|
+
};
|
|
174
|
+
referenceNode: {
|
|
175
|
+
defaultValue<T_22 = unknown>(arg: T_22): {
|
|
176
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
177
|
+
};
|
|
178
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
179
|
+
};
|
|
180
|
+
onClose: {
|
|
181
|
+
defaultValue<T_23 = unknown>(arg: T_23): {
|
|
182
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
183
|
+
};
|
|
184
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
185
|
+
};
|
|
186
|
+
onSelectChange: {
|
|
187
|
+
defaultValue<T_24 = unknown>(arg: T_24): {
|
|
188
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
189
|
+
};
|
|
190
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
191
|
+
};
|
|
192
|
+
singleGroupSelection: {
|
|
193
|
+
defaultValue<T_25 = unknown>(arg: T_25): {
|
|
194
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
195
|
+
};
|
|
196
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
197
|
+
};
|
|
63
198
|
};
|
|
64
199
|
}, import("styled-components").DefaultTheme, {}, never>;
|
package/types/styled.d.ts
CHANGED
|
@@ -27,7 +27,9 @@ export declare const StyledCell: import("styled-components").StyledComponent<"di
|
|
|
27
27
|
}, never>;
|
|
28
28
|
export declare const StyledCellContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
29
29
|
export declare const StyledPencilIcon: import("styled-components").StyledComponent<(rest: any) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
30
|
-
export declare const StyledEditableContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
30
|
+
export declare const StyledEditableContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
31
|
+
shouldDisplayEditIcon: string;
|
|
32
|
+
}, never>;
|
|
31
33
|
export declare const StyledFullsizeGrid: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
32
34
|
export declare const GroupHeaderContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
33
35
|
padding: string;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
6
|
-
require('core-js/modules/esnext.iterator.constructor.js');
|
|
7
|
-
require('core-js/modules/esnext.iterator.filter.js');
|
|
8
|
-
require('core-js/modules/esnext.async-iterator.find.js');
|
|
9
|
-
require('core-js/modules/esnext.iterator.find.js');
|
|
10
|
-
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
11
|
-
require('core-js/modules/esnext.iterator.for-each.js');
|
|
12
|
-
var constants = require('../../../configs/constants.js');
|
|
13
|
-
require('core-js/modules/web.dom-collections.iterator.js');
|
|
14
|
-
require('core-js/modules/esnext.async-iterator.reduce.js');
|
|
15
|
-
require('core-js/modules/esnext.iterator.reduce.js');
|
|
16
|
-
require('react');
|
|
17
|
-
require('react-virtual');
|
|
18
|
-
require('../../../configs/useRowFlattenization.js');
|
|
19
|
-
require('@babel/runtime/helpers/defineProperty');
|
|
20
|
-
require('core-js/modules/esnext.async-iterator.map.js');
|
|
21
|
-
require('core-js/modules/esnext.iterator.map.js');
|
|
22
|
-
require('@babel/runtime/helpers/jsx');
|
|
23
|
-
require('@elliemae/ds-icons');
|
|
24
|
-
require('styled-components');
|
|
25
|
-
require('../../../styled.js');
|
|
26
|
-
require('react/jsx-runtime');
|
|
27
|
-
require('@elliemae/ds-form');
|
|
28
|
-
require('../../../parts/TableContent.js');
|
|
29
|
-
require('@elliemae/ds-grid');
|
|
30
|
-
require('@elliemae/ds-circular-progress-indicator');
|
|
31
|
-
require('@elliemae/ds-system');
|
|
32
|
-
require('@elliemae/ds-button');
|
|
33
|
-
require('../../../DataTableContext.js');
|
|
34
|
-
require('../../../parts/Row.js');
|
|
35
|
-
require('../../../parts/Footer.js');
|
|
36
|
-
require('../../../parts/HoC/SortableItemContext.js');
|
|
37
|
-
|
|
38
|
-
const customCollisionDetection = (activeId, activeParent, dndItems) => _ref => {
|
|
39
|
-
var _document$querySelect, _document$querySelect2;
|
|
40
|
-
|
|
41
|
-
let {
|
|
42
|
-
droppableContainers,
|
|
43
|
-
collisionRect
|
|
44
|
-
} = _ref;
|
|
45
|
-
const entriesWithSameParent = droppableContainers.filter(_ref2 => {
|
|
46
|
-
var _dndItems$find;
|
|
47
|
-
|
|
48
|
-
let {
|
|
49
|
-
id
|
|
50
|
-
} = _ref2;
|
|
51
|
-
return ((_dndItems$find = dndItems.find(item => item.id === id)) === null || _dndItems$find === void 0 ? void 0 : _dndItems$find.parentId) === activeParent;
|
|
52
|
-
});
|
|
53
|
-
const dragOverlayRect = (_document$querySelect = (_document$querySelect2 = document.querySelector("[data-testid=\"".concat(constants.DATA_TESTID.DATA_TABLE_COLUMN_DRAG_OVERLAY, "\"]"))) === null || _document$querySelect2 === void 0 ? void 0 : _document$querySelect2.getBoundingClientRect()) !== null && _document$querySelect !== void 0 ? _document$querySelect : {
|
|
54
|
-
width: 150
|
|
55
|
-
};
|
|
56
|
-
const originalContainer = entriesWithSameParent.find(_ref3 => {
|
|
57
|
-
let {
|
|
58
|
-
id
|
|
59
|
-
} = _ref3;
|
|
60
|
-
return id === activeId;
|
|
61
|
-
});
|
|
62
|
-
const originalRect = originalContainer.rect.current;
|
|
63
|
-
|
|
64
|
-
if (originalRect.offsetLeft <= collisionRect.offsetLeft && collisionRect.offsetLeft <= originalRect.offsetLeft + originalRect.width) {
|
|
65
|
-
return originalContainer.id;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
const isLeft = collisionRect.offsetLeft <= originalRect.offsetLeft + dragOverlayRect.width / 2 + 5;
|
|
69
|
-
let match = null; // If going to the left, search the closest offset left
|
|
70
|
-
// Otherwise, get the closest offset right
|
|
71
|
-
|
|
72
|
-
const collisionPoint = collisionRect.offsetLeft + dragOverlayRect.width / 2;
|
|
73
|
-
entriesWithSameParent.forEach(entry => {
|
|
74
|
-
const {
|
|
75
|
-
rect: {
|
|
76
|
-
current: rect
|
|
77
|
-
}
|
|
78
|
-
} = entry;
|
|
79
|
-
const offsetRight = rect.offsetLeft + rect.width;
|
|
80
|
-
if (!match) match = entry;else if (isLeft && Math.abs(collisionPoint - rect.offsetLeft) <= Math.abs(collisionPoint - match.rect.current.offsetLeft)) {
|
|
81
|
-
match = entry;
|
|
82
|
-
} else if (!isLeft && Math.abs(collisionPoint - offsetRight) <= Math.abs(collisionPoint - match.rect.current.offsetLeft - match.rect.current.width)) {
|
|
83
|
-
match = entry;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
return match === null ? null : match.id;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
exports.customCollisionDetection = customCollisionDetection;
|