@geovi/the-datagrid 0.0.9 → 0.0.10
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/LICENSE +21 -0
- package/README.md +163 -72
- package/THIRD_PARTY_NOTICES.md +10 -0
- package/community-api-manifest.json +324 -0
- package/dist/BoolEditor.cjs +2 -0
- package/dist/BoolEditor.js +3503 -0
- package/dist/BoolFilter.cjs +2 -0
- package/dist/BoolFilter.js +3527 -0
- package/dist/DateEditor.cjs +2 -0
- package/dist/DateEditor.js +2922 -0
- package/dist/DateFilter.cjs +2 -0
- package/dist/DateFilter.js +2979 -0
- package/dist/NumberFilter.cjs +2 -0
- package/dist/NumberFilter.js +2968 -0
- package/dist/NumericEditor.cjs +2 -0
- package/dist/NumericEditor.js +2923 -0
- package/dist/SelectFilter.cjs +42 -0
- package/dist/SelectFilter.js +8275 -0
- package/dist/StringFilter.cjs +2 -0
- package/dist/StringFilter.js +2949 -0
- package/dist/base.css +1 -0
- package/dist/community-api-manifest.json +324 -0
- package/dist/community-package-manifest.json +35 -0
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +2 -2
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.d.ts +14 -1
- package/dist/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/editors/BoolEditor.d.ts +8 -0
- package/dist/editors/BoolEditor.d.ts.map +1 -0
- package/dist/editors/DateEditor.d.ts +17 -0
- package/dist/editors/DateEditor.d.ts.map +1 -0
- package/dist/editors/NumericEditor.d.ts +11 -0
- package/dist/editors/NumericEditor.d.ts.map +1 -0
- package/dist/editors/editorTypes.d.ts +21 -0
- package/dist/editors/editorTypes.d.ts.map +1 -0
- package/dist/editors/index.d.ts +8 -0
- package/dist/editors/index.d.ts.map +1 -0
- package/dist/filters/editors/BoolFilter.d.ts +21 -0
- package/dist/filters/editors/BoolFilter.d.ts.map +1 -0
- package/dist/filters/editors/DateFilter.d.ts +8 -9
- package/dist/filters/editors/DateFilter.d.ts.map +1 -1
- package/dist/filters/editors/NumberFilter.d.ts +8 -9
- package/dist/filters/editors/NumberFilter.d.ts.map +1 -1
- package/dist/filters/editors/SelectFilter.d.ts +10 -11
- package/dist/filters/editors/SelectFilter.d.ts.map +1 -1
- package/dist/filters/editors/StringFilter.d.ts +25 -0
- package/dist/filters/editors/StringFilter.d.ts.map +1 -0
- package/dist/filters/editors/editorTypes.d.ts +13 -0
- package/dist/filters/editors/editorTypes.d.ts.map +1 -0
- package/dist/filters/editors/index.d.ts +8 -0
- package/dist/filters/editors/index.d.ts.map +1 -1
- package/dist/filters/utils.d.ts +9 -0
- package/dist/filters/utils.d.ts.map +1 -1
- package/dist/grid/ReactDataGrid.d.ts +6 -4
- package/dist/grid/ReactDataGrid.d.ts.map +1 -1
- package/dist/grid/components/ColumnGroupHeaderCell.d.ts +29 -0
- package/dist/grid/components/ColumnGroupHeaderCell.d.ts.map +1 -0
- package/dist/grid/components/FilterCell.d.ts +11 -1
- package/dist/grid/components/FilterCell.d.ts.map +1 -1
- package/dist/grid/components/FilterOperatorMenu.d.ts +10 -1
- package/dist/grid/components/FilterOperatorMenu.d.ts.map +1 -1
- package/dist/grid/components/GridBody.d.ts +29 -1
- package/dist/grid/components/GridBody.d.ts.map +1 -1
- package/dist/grid/components/GridContextMenuLayer.d.ts +27 -0
- package/dist/grid/components/GridContextMenuLayer.d.ts.map +1 -0
- package/dist/grid/components/GridHeader.d.ts +37 -2
- package/dist/grid/components/GridHeader.d.ts.map +1 -1
- package/dist/grid/components/HeaderCell.d.ts +14 -2
- package/dist/grid/components/HeaderCell.d.ts.map +1 -1
- package/dist/grid/components/MobileGridList.d.ts +13 -2
- package/dist/grid/components/MobileGridList.d.ts.map +1 -1
- package/dist/grid/engine/tanstackAdapter.d.ts.map +1 -1
- package/dist/grid/utils/columnGroups.d.ts +75 -0
- package/dist/grid/utils/columnGroups.d.ts.map +1 -0
- package/dist/grid/utils/columnSizing.d.ts +2 -1
- package/dist/grid/utils/columnSizing.d.ts.map +1 -1
- package/dist/grid/utils/contextMenuPosition.d.ts +8 -0
- package/dist/grid/utils/contextMenuPosition.d.ts.map +1 -0
- package/dist/grid/utils/editing.d.ts +6 -1
- package/dist/grid/utils/editing.d.ts.map +1 -1
- package/dist/index.cjs +48 -0
- package/dist/index.css +1 -1
- package/dist/index.js +14180 -9784
- package/dist/main.d.ts +5 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/sorting/utils.d.ts +24 -7
- package/dist/sorting/utils.d.ts.map +1 -1
- package/dist/style/theme/amber-dark/index.css +1 -0
- package/dist/style/theme/amber-light/index.css +1 -0
- package/dist/style/theme/blue-dark/index.css +1 -0
- package/dist/style/theme/blue-light/index.css +1 -0
- package/dist/style/theme/default-dark/index.css +1 -0
- package/dist/style/theme/default-light/index.css +1 -0
- package/dist/style/theme/green-dark/index.css +1 -0
- package/dist/style/theme/green-light/index.css +1 -0
- package/dist/style/theme/pink-dark/index.css +1 -0
- package/dist/style/theme/pink-light/index.css +1 -0
- package/dist/types/TypeColumn.d.ts +2 -0
- package/dist/types/TypeColumn.d.ts.map +1 -0
- package/dist/types/TypeDataGridProps.d.ts +2 -0
- package/dist/types/TypeDataGridProps.d.ts.map +1 -0
- package/dist/types/TypeDataSource.d.ts +2 -0
- package/dist/types/TypeDataSource.d.ts.map +1 -0
- package/dist/types/TypeFilterValue.d.ts +2 -0
- package/dist/types/TypeFilterValue.d.ts.map +1 -0
- package/dist/types/TypePaginationProps.d.ts +2 -0
- package/dist/types/TypePaginationProps.d.ts.map +1 -0
- package/dist/types/TypeSelected.d.ts +2 -0
- package/dist/types/TypeSelected.d.ts.map +1 -0
- package/dist/types/TypeSize.d.ts +2 -0
- package/dist/types/TypeSize.d.ts.map +1 -0
- package/dist/types/TypeSortInfo.d.ts +2 -0
- package/dist/types/TypeSortInfo.d.ts.map +1 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +4 -0
- package/dist/types.d.ts +566 -20
- package/dist/types.d.ts.map +1 -1
- package/package.json +184 -8
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 2,
|
|
3
|
+
"scope": "documented Community behavior",
|
|
4
|
+
"upstream": {
|
|
5
|
+
"package": "@inovua/reactdatagrid-community",
|
|
6
|
+
"version": "5.10.2",
|
|
7
|
+
"apiReference": "https://web.archive.org/web/20230928052216/https://reactdatagrid.io/docs/api-reference",
|
|
8
|
+
"declarations": "https://unpkg.com/@inovua/reactdatagrid-community@5.10.2/index.d.ts"
|
|
9
|
+
},
|
|
10
|
+
"enterpriseExclusions": [
|
|
11
|
+
"clipboard",
|
|
12
|
+
"grouping",
|
|
13
|
+
"license-key-validation",
|
|
14
|
+
"live-pagination",
|
|
15
|
+
"locked-rows",
|
|
16
|
+
"master-detail",
|
|
17
|
+
"pivot",
|
|
18
|
+
"row-details",
|
|
19
|
+
"row-reorder",
|
|
20
|
+
"row-resize",
|
|
21
|
+
"tree-grid"
|
|
22
|
+
],
|
|
23
|
+
"computedMethods": [
|
|
24
|
+
"reload",
|
|
25
|
+
"getData",
|
|
26
|
+
"getCount",
|
|
27
|
+
"getState",
|
|
28
|
+
"getSkip",
|
|
29
|
+
"getLimit",
|
|
30
|
+
"setSkip",
|
|
31
|
+
"setLimit",
|
|
32
|
+
"hasNextPage",
|
|
33
|
+
"hasPrevPage",
|
|
34
|
+
"gotoNextPage",
|
|
35
|
+
"gotoPrevPage",
|
|
36
|
+
"gotoFirstPage",
|
|
37
|
+
"gotoLastPage",
|
|
38
|
+
"getSortInfo",
|
|
39
|
+
"setSortInfo",
|
|
40
|
+
"toggleColumnSort",
|
|
41
|
+
"setColumnSortInfo",
|
|
42
|
+
"unsortColumn",
|
|
43
|
+
"getFilterValue",
|
|
44
|
+
"setFilterValue",
|
|
45
|
+
"clearAllFilters",
|
|
46
|
+
"clearColumnFilter",
|
|
47
|
+
"getColumnFilterValue",
|
|
48
|
+
"setColumnFilterValue",
|
|
49
|
+
"computedOnColumnFilterValueChange",
|
|
50
|
+
"isColumnFiltered",
|
|
51
|
+
"getColumnOrder",
|
|
52
|
+
"setColumnOrder",
|
|
53
|
+
"getColumnsInOrder",
|
|
54
|
+
"getColumnBy",
|
|
55
|
+
"isColumnVisible",
|
|
56
|
+
"setColumnVisible",
|
|
57
|
+
"getDOMNode",
|
|
58
|
+
"getMenuPortalContainer",
|
|
59
|
+
"getScrollingElement",
|
|
60
|
+
"getDOMNodeForRowIndex",
|
|
61
|
+
"getRows",
|
|
62
|
+
"getHeader",
|
|
63
|
+
"focus",
|
|
64
|
+
"blur",
|
|
65
|
+
"isLoading",
|
|
66
|
+
"setLoading",
|
|
67
|
+
"setEnableFiltering",
|
|
68
|
+
"isFilterable",
|
|
69
|
+
"shouldShowFilteringMenuItems",
|
|
70
|
+
"setShowHeader",
|
|
71
|
+
"setShowCellBorders",
|
|
72
|
+
"setShowEmptyRows",
|
|
73
|
+
"setShowHoverRows",
|
|
74
|
+
"getItemId",
|
|
75
|
+
"getItemAt",
|
|
76
|
+
"getItemIdAt",
|
|
77
|
+
"getItemIndex",
|
|
78
|
+
"getRowIndexById",
|
|
79
|
+
"getItemIndexById",
|
|
80
|
+
"setItemPropertyAt",
|
|
81
|
+
"setItemPropertyForId",
|
|
82
|
+
"setItemAt",
|
|
83
|
+
"setItemsAt",
|
|
84
|
+
"getSelectedMap",
|
|
85
|
+
"setSelected",
|
|
86
|
+
"setUnselected",
|
|
87
|
+
"selectAll",
|
|
88
|
+
"deselectAll",
|
|
89
|
+
"isRowSelected",
|
|
90
|
+
"getSelectedCount",
|
|
91
|
+
"getUnselectedCount",
|
|
92
|
+
"isSelectionEmpty",
|
|
93
|
+
"setSelectedById",
|
|
94
|
+
"setSelectedAt",
|
|
95
|
+
"setRowSelected",
|
|
96
|
+
"setScrollLeft",
|
|
97
|
+
"incrementScrollLeft",
|
|
98
|
+
"getScrollLeft",
|
|
99
|
+
"getScrollLeftMax",
|
|
100
|
+
"setScrollTop",
|
|
101
|
+
"incrementScrollTop",
|
|
102
|
+
"getScrollTop",
|
|
103
|
+
"scrollToIndex",
|
|
104
|
+
"scrollToId",
|
|
105
|
+
"scrollToCell",
|
|
106
|
+
"scrollToColumn",
|
|
107
|
+
"scrollToIndexIfNeeded",
|
|
108
|
+
"getFirstVisibleIndex",
|
|
109
|
+
"isRowFullyVisible",
|
|
110
|
+
"isRowRendered",
|
|
111
|
+
"getRenderRange",
|
|
112
|
+
"getMenuAvailableHeight",
|
|
113
|
+
"updateMenuPositions",
|
|
114
|
+
"i18n",
|
|
115
|
+
"showColumnFilterContextMenu",
|
|
116
|
+
"hideColumnFilterContextMenu",
|
|
117
|
+
"showColumnContextMenu",
|
|
118
|
+
"hideColumnContextMenu",
|
|
119
|
+
"showRowContextMenu",
|
|
120
|
+
"hideRowContextMenu",
|
|
121
|
+
"loadNextPage",
|
|
122
|
+
"doSetLastActiveIndex",
|
|
123
|
+
"getActiveItem",
|
|
124
|
+
"setActiveIndex",
|
|
125
|
+
"incrementActiveIndex",
|
|
126
|
+
"toggleActiveRowSelection",
|
|
127
|
+
"getActiveCell",
|
|
128
|
+
"setActiveCell",
|
|
129
|
+
"getCellSelection",
|
|
130
|
+
"setCellSelection",
|
|
131
|
+
"isCellSelected",
|
|
132
|
+
"getCellSelectionIdKey",
|
|
133
|
+
"getCellSelectionKey",
|
|
134
|
+
"incrementActiveCell",
|
|
135
|
+
"toggleActiveCellSelection",
|
|
136
|
+
"getCellSelectionBetween",
|
|
137
|
+
"isCellVisible",
|
|
138
|
+
"setShowZebraRows",
|
|
139
|
+
"getCurrentEditInfo",
|
|
140
|
+
"startEdit",
|
|
141
|
+
"tryStartEdit",
|
|
142
|
+
"cancelEdit",
|
|
143
|
+
"completeEdit",
|
|
144
|
+
"setRowHeights",
|
|
145
|
+
"setRowHeightById",
|
|
146
|
+
"getRowHeightById",
|
|
147
|
+
"getRowHeight",
|
|
148
|
+
"computedOnColumnResize",
|
|
149
|
+
"onBatchColumnResize",
|
|
150
|
+
"setColumnFlexes",
|
|
151
|
+
"setColumnSizes",
|
|
152
|
+
"setColumnsSizesAuto",
|
|
153
|
+
"setColumnSizeAuto",
|
|
154
|
+
"setColumnSizesToFit",
|
|
155
|
+
"setReservedViewportWidth",
|
|
156
|
+
"silentSetData",
|
|
157
|
+
"setOriginalData",
|
|
158
|
+
"getVirtualList"
|
|
159
|
+
],
|
|
160
|
+
"virtualListMethods": [
|
|
161
|
+
"getContainerNode",
|
|
162
|
+
"getScrollerNode",
|
|
163
|
+
"getScrollingElement",
|
|
164
|
+
"getTotalRowHeight",
|
|
165
|
+
"getScrollHeight",
|
|
166
|
+
"getScrollSize",
|
|
167
|
+
"getClientSize",
|
|
168
|
+
"getRows",
|
|
169
|
+
"forEachRow",
|
|
170
|
+
"getRowAt",
|
|
171
|
+
"getVisibleCount",
|
|
172
|
+
"getVisibleRange",
|
|
173
|
+
"setRowIndex",
|
|
174
|
+
"scrollToIndex",
|
|
175
|
+
"smoothScrollTo",
|
|
176
|
+
"adjustHeights",
|
|
177
|
+
"refreshLayout",
|
|
178
|
+
"updateVisibleCount",
|
|
179
|
+
"isRowRendered",
|
|
180
|
+
"isRowVisible",
|
|
181
|
+
"getRenderedIndexes",
|
|
182
|
+
"getMaxRenderCount"
|
|
183
|
+
],
|
|
184
|
+
"plugins": ["sortable-columns", "filters", "menus", "cell-selection"],
|
|
185
|
+
"canonicalTypes": [
|
|
186
|
+
"CellProps",
|
|
187
|
+
"IColumn",
|
|
188
|
+
"RangeResultType",
|
|
189
|
+
"RowProps",
|
|
190
|
+
"SortDirection",
|
|
191
|
+
"TypeBatchUpdateQueue",
|
|
192
|
+
"TypeActiveCell",
|
|
193
|
+
"TypeCellProps",
|
|
194
|
+
"TypeCellSelection",
|
|
195
|
+
"TypeColumn",
|
|
196
|
+
"TypeColumnGroup",
|
|
197
|
+
"TypeColumnWithId",
|
|
198
|
+
"TypeColumns",
|
|
199
|
+
"TypeCommunityPlugin",
|
|
200
|
+
"TypeComputedColumn",
|
|
201
|
+
"TypeComputedColumnsMap",
|
|
202
|
+
"TypeComputedProps",
|
|
203
|
+
"TypeDataGridProps",
|
|
204
|
+
"TypeDataSource",
|
|
205
|
+
"TypeDataSourceArgs",
|
|
206
|
+
"TypeDataSourceResult",
|
|
207
|
+
"TypeConfig",
|
|
208
|
+
"TypeConstrainRegion",
|
|
209
|
+
"TypeDiff",
|
|
210
|
+
"TypeDragHelper",
|
|
211
|
+
"TypeEditInfo",
|
|
212
|
+
"TypeFilter",
|
|
213
|
+
"TypeFilterOperator",
|
|
214
|
+
"TypeFilterParam",
|
|
215
|
+
"TypeFilterType",
|
|
216
|
+
"TypeFilterTypes",
|
|
217
|
+
"TypeFilterValue",
|
|
218
|
+
"TypeFnParam",
|
|
219
|
+
"TypeGetColumnByParam",
|
|
220
|
+
"TypeHeaderProps",
|
|
221
|
+
"TypeI18n",
|
|
222
|
+
"TypePaginationProps",
|
|
223
|
+
"TypePlugin",
|
|
224
|
+
"TypeRowHeights",
|
|
225
|
+
"TypeRowProps",
|
|
226
|
+
"TypeRowSelection",
|
|
227
|
+
"TypeRowUnselected",
|
|
228
|
+
"TypeScrollProps",
|
|
229
|
+
"TypeSingleFilterValue",
|
|
230
|
+
"TypeSingleSortInfo",
|
|
231
|
+
"TypeSize",
|
|
232
|
+
"TypeSortInfo",
|
|
233
|
+
"TypeShowCellBorders",
|
|
234
|
+
"TypeWithId"
|
|
235
|
+
],
|
|
236
|
+
"declarationAudit": {
|
|
237
|
+
"upstreamComputedMemberCount": 372,
|
|
238
|
+
"upstreamTypeExportCount": 66,
|
|
239
|
+
"enterpriseNameTokens": [
|
|
240
|
+
"clipboard",
|
|
241
|
+
"collapsed",
|
|
242
|
+
"details",
|
|
243
|
+
"expanded",
|
|
244
|
+
"footer",
|
|
245
|
+
"group",
|
|
246
|
+
"license",
|
|
247
|
+
"locked",
|
|
248
|
+
"node",
|
|
249
|
+
"pivot",
|
|
250
|
+
"reorder",
|
|
251
|
+
"rowExpand",
|
|
252
|
+
"rowResize",
|
|
253
|
+
"sticky",
|
|
254
|
+
"summary",
|
|
255
|
+
"tree"
|
|
256
|
+
],
|
|
257
|
+
"enterpriseExactExclusions": [
|
|
258
|
+
"TypeDataSourceCache",
|
|
259
|
+
"collapseAllRows",
|
|
260
|
+
"computeDataStep",
|
|
261
|
+
"computeTreeData",
|
|
262
|
+
"expandAllRows",
|
|
263
|
+
"setColumnLocked"
|
|
264
|
+
],
|
|
265
|
+
"computedInternalExclusions": [
|
|
266
|
+
"ColumnLayout",
|
|
267
|
+
"activeRowHeight",
|
|
268
|
+
"activeRowRef",
|
|
269
|
+
"cellDragStartRowIndex",
|
|
270
|
+
"cellNavigationRef",
|
|
271
|
+
"columnContextMenuInfoRef",
|
|
272
|
+
"columnContextMenuInstanceProps",
|
|
273
|
+
"columnFilterContextMenuAlignToRef",
|
|
274
|
+
"computedDataSourceCache",
|
|
275
|
+
"computedWillReceiveFocusRef",
|
|
276
|
+
"coverHandleRef",
|
|
277
|
+
"dataIndexMap",
|
|
278
|
+
"dataMap",
|
|
279
|
+
"dataPromiseRef",
|
|
280
|
+
"enableCellBulkUpdate",
|
|
281
|
+
"getContinuousSelectedRangeFor",
|
|
282
|
+
"getSelfRestoreProperties",
|
|
283
|
+
"lastCellInRange",
|
|
284
|
+
"lastMouseDownEventPropsRef",
|
|
285
|
+
"lastSelectedCell",
|
|
286
|
+
"listenOnCellEnter",
|
|
287
|
+
"loadDataTrigger",
|
|
288
|
+
"maybeAddColumns",
|
|
289
|
+
"menusRef",
|
|
290
|
+
"minRowWidth",
|
|
291
|
+
"notifyColumnFilterVisibleStateChange",
|
|
292
|
+
"onCellClickAction",
|
|
293
|
+
"onCellEnter",
|
|
294
|
+
"onCellSelectionDraggerMouseDown",
|
|
295
|
+
"onNextRender",
|
|
296
|
+
"preventBlurOnContextMenuOpen",
|
|
297
|
+
"preventIEMenuCloseRef",
|
|
298
|
+
"renderActiveRowIndicator",
|
|
299
|
+
"renderInPortal",
|
|
300
|
+
"rowContextMenuInfoRef",
|
|
301
|
+
"rowHeightManager",
|
|
302
|
+
"selectionFixedCell",
|
|
303
|
+
"selectionIndexRef",
|
|
304
|
+
"setCellDragStartRowIndex",
|
|
305
|
+
"setColumnContextMenuProps",
|
|
306
|
+
"setDataIndexMap",
|
|
307
|
+
"setDataMap",
|
|
308
|
+
"setDataSourceCache",
|
|
309
|
+
"setLastCellInRange",
|
|
310
|
+
"setLastSelectedCell",
|
|
311
|
+
"setListenOnCellEnter",
|
|
312
|
+
"setLoadDataTrigger",
|
|
313
|
+
"setRowContextMenuProps",
|
|
314
|
+
"setSelectionFixedCell",
|
|
315
|
+
"setStateProperty",
|
|
316
|
+
"shiftKeyIndexRef",
|
|
317
|
+
"updateMainMenuPosition",
|
|
318
|
+
"useCellSelection",
|
|
319
|
+
"useNativeFlex",
|
|
320
|
+
"wasMountedRef",
|
|
321
|
+
"wasUnmountedRef"
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"upstream": {
|
|
4
|
+
"package": "@inovua/reactdatagrid-community",
|
|
5
|
+
"version": "5.10.2"
|
|
6
|
+
},
|
|
7
|
+
"moduleSystems": [
|
|
8
|
+
"esm",
|
|
9
|
+
"commonjs"
|
|
10
|
+
],
|
|
11
|
+
"editors": [
|
|
12
|
+
"BoolEditor",
|
|
13
|
+
"DateEditor",
|
|
14
|
+
"NumericEditor"
|
|
15
|
+
],
|
|
16
|
+
"filters": [
|
|
17
|
+
"StringFilter",
|
|
18
|
+
"BoolFilter",
|
|
19
|
+
"DateFilter",
|
|
20
|
+
"NumberFilter",
|
|
21
|
+
"SelectFilter"
|
|
22
|
+
],
|
|
23
|
+
"themes": [
|
|
24
|
+
"amber-dark",
|
|
25
|
+
"amber-light",
|
|
26
|
+
"blue-dark",
|
|
27
|
+
"blue-light",
|
|
28
|
+
"default-dark",
|
|
29
|
+
"default-light",
|
|
30
|
+
"green-dark",
|
|
31
|
+
"green-light",
|
|
32
|
+
"pink-dark",
|
|
33
|
+
"pink-light"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "default" | "
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
asChild?: boolean;
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): React.JSX.Element;
|
|
4
4
|
declare function DropdownMenuPortal({ container, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React.JSX.Element;
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
5
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): React.JSX.Element;
|
|
8
8
|
declare function DropdownMenuItem({ className, inset, variant, disabled, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
9
9
|
inset?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAUtE,iBAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,qBAEzD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,qBAU3D;AAED,
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAA;AAUtE,iBAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,qBAEzD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,MAAM,CAAC,qBAU3D;AAED,QAAA,MAAM,mBAAmB,gLASvB,CAAA;AAGF,QAAA,MAAM,mBAAmB,0KAuBvB,CAAA;AAGF,iBAAS,iBAAiB,CAAC,EACzB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,KAAK,CAAC,qBAI1D;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAK,EACL,OAAmB,EACnB,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,IAAI,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;CACpC,qBA8BA;AAED,iBAAS,wBAAwB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,YAAY,CAAC,qBAiCjE;AAED,iBAAS,sBAAsB,CAAC,EAC9B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,qBAO/D;AAED,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,SAAS,CAAC,qBAwC9D;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,qBAaA;AAED,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,SAAS,CAAC,qBAQ9D;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAW9B;AAED,iBAAS,eAAe,CAAC,EACvB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,GAAG,CAAC,qBAExD;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,GAAG;IACjE,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,qBAgBA;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,UAAU,CAAC,qBAgB/D;AAED,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,GACvB,CAAA"}
|
|
@@ -4,7 +4,20 @@ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimiti
|
|
|
4
4
|
viewportClassName?: string;
|
|
5
5
|
viewportStyle?: React.CSSProperties;
|
|
6
6
|
viewportRef?: React.Ref<HTMLDivElement>;
|
|
7
|
+
viewportProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
8
|
+
nativeScroll?: boolean;
|
|
9
|
+
scrollProps?: {
|
|
10
|
+
autoHide?: boolean;
|
|
11
|
+
scrollThumbMargin?: number;
|
|
12
|
+
scrollThumbWidth?: number;
|
|
13
|
+
scrollThumbOverWidth?: number;
|
|
14
|
+
scrollTrackStyle?: React.CSSProperties;
|
|
15
|
+
scrollThumbStyle?: React.CSSProperties;
|
|
16
|
+
scrollThumbRadius?: number | string;
|
|
17
|
+
};
|
|
7
18
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>
|
|
19
|
+
declare function ScrollBar({ className, orientation, thumbStyle, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar> & {
|
|
20
|
+
thumbStyle?: React.CSSProperties;
|
|
21
|
+
}): React.JSX.Element;
|
|
9
22
|
export { ScrollArea, ScrollBar };
|
|
10
23
|
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/components/ui/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAuBnE,QAAA,MAAM,UAAU;wBAhBM,MAAM;oBACV,KAAK,CAAC,aAAa;kBACrB,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC;oBACvB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;mBACrC,OAAO;kBACR;QACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACvC,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACvC,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACrC;wCA0HF,CAAC;AAGF,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,mBAAmB,CAAC,GAAG;IACxE,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAClC,qBAiCA;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TypeCommunityEditorProps } from './editorTypes.js';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export type BoolEditorProps = Omit<TypeCommunityEditorProps<boolean | null>, "editorProps"> & {
|
|
4
|
+
emptyValue?: boolean | null;
|
|
5
|
+
editorProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
6
|
+
};
|
|
7
|
+
export default function BoolEditor({ value, onChange, onComplete, onCancel, onTabNavigation, onKeyDown, autoFocus, disabled, readOnly, rtl, className, style, editorProps, }: BoolEditorProps): React.ReactElement;
|
|
8
|
+
//# sourceMappingURL=BoolEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoolEditor.d.ts","sourceRoot":"","sources":["../../src/editors/BoolEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,wBAAwB,CAAC,OAAO,GAAG,IAAI,CAAC,EACxC,aAAa,CACd,GAAG;IACF,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;CAC7D,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,KAAY,EACZ,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,eAAe,EACf,SAAS,EACT,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,SAAS,EACT,KAAK,EACL,WAAW,GACZ,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CAyDtC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TypeCommunityEditorProps } from './editorTypes.js';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export type DateEditorValue = string | Date | null;
|
|
4
|
+
export type DateEditorProps = TypeCommunityEditorProps<DateEditorValue> & {
|
|
5
|
+
relativeToViewport?: boolean;
|
|
6
|
+
constrainTo?: unknown;
|
|
7
|
+
renderPicker?: (...args: unknown[]) => React.ReactNode;
|
|
8
|
+
overlayProps?: Record<string, unknown>;
|
|
9
|
+
};
|
|
10
|
+
declare function DateEditor({ value, onChange, onComplete, onCancel, onTabNavigation, onKeyDown, autoFocus, disabled, readOnly, rtl, className, style, editorProps, }: DateEditorProps): React.ReactElement;
|
|
11
|
+
declare namespace DateEditor {
|
|
12
|
+
var defaultProps: {
|
|
13
|
+
relativeToViewport: boolean;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export default DateEditor;
|
|
17
|
+
//# sourceMappingURL=DateEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateEditor.d.ts","sourceRoot":"","sources":["../../src/editors/DateEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG,wBAAwB,CAAC,eAAe,CAAC,GAAG;IACxE,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC,CAAC;AAYF,iBAAwB,UAAU,CAAC,EACjC,KAAY,EACZ,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,eAAe,EACf,SAAS,EACT,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,SAAS,EACT,KAAK,EACL,WAAW,GACZ,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CAgDtC;kBA9DuB,UAAU;;;;;eAAV,UAAU"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TypeCommunityEditorProps } from './editorTypes.js';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export type NumericEditorValue = number | string | null;
|
|
4
|
+
export type NumericEditorProps = TypeCommunityEditorProps<NumericEditorValue> & {
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
emptyValue?: number | null;
|
|
9
|
+
};
|
|
10
|
+
export default function NumericEditor({ value, onChange, onComplete, onCancel, onTabNavigation, onKeyDown, autoFocus, disabled, readOnly, rtl, className, style, editorProps, min, max, step, }: NumericEditorProps): React.ReactElement;
|
|
11
|
+
//# sourceMappingURL=NumericEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumericEditor.d.ts","sourceRoot":"","sources":["../../src/editors/NumericEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAExD,MAAM,MAAM,kBAAkB,GAC5B,wBAAwB,CAAC,kBAAkB,CAAC,GAAG;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAQJ,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,KAAY,EACZ,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,eAAe,EACf,SAAS,EACT,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,SAAS,EACT,KAAK,EACL,WAAW,EACX,GAAG,EACH,GAAG,EACH,IAAI,GACL,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAmDzC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CellProps, TypeColumnEditorCell } from '../types.js';
|
|
2
|
+
import type * as React from "react";
|
|
3
|
+
export type TypeCommunityEditorProps<T> = {
|
|
4
|
+
value?: T;
|
|
5
|
+
onChange?: (value: T, event?: React.SyntheticEvent) => void;
|
|
6
|
+
onComplete?: (value: T, event?: React.SyntheticEvent) => void;
|
|
7
|
+
onCancel?: (event?: React.SyntheticEvent) => void;
|
|
8
|
+
onTabNavigation?: (complete?: boolean, direction?: -1 | 0 | 1, event?: React.KeyboardEvent<HTMLElement>) => void;
|
|
9
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
|
|
10
|
+
autoFocus?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
readOnly?: boolean;
|
|
13
|
+
rtl?: boolean;
|
|
14
|
+
theme?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
cell?: TypeColumnEditorCell;
|
|
18
|
+
cellProps?: CellProps;
|
|
19
|
+
editorProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=editorTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editorTypes.d.ts","sourceRoot":"","sources":["../../src/editors/editorTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhE,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACxC,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;IAC5D,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;IAC9D,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;IAClD,eAAe,CAAC,EAAE,CAChB,QAAQ,CAAC,EAAE,OAAO,EAClB,SAAS,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EACtB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KACrC,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;CAC3D,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as BoolEditor } from './BoolEditor.js';
|
|
2
|
+
export type { BoolEditorProps } from './BoolEditor.js';
|
|
3
|
+
export { default as DateEditor } from './DateEditor.js';
|
|
4
|
+
export type { DateEditorProps, DateEditorValue } from './DateEditor.js';
|
|
5
|
+
export { default as NumericEditor } from './NumericEditor.js';
|
|
6
|
+
export type { NumericEditorProps, NumericEditorValue } from './NumericEditor.js';
|
|
7
|
+
export type { TypeCommunityEditorProps } from './editorTypes.js';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/editors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,YAAY,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Checkbox } from '../../components/ui/checkbox.js';
|
|
2
|
+
import { TypeCommunityFilterChange, TypeCommunityFilterValue } from './editorTypes.js';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
export type BoolFilterProps = {
|
|
5
|
+
filterValue?: TypeCommunityFilterValue<boolean | null>;
|
|
6
|
+
value?: boolean | null;
|
|
7
|
+
onChange?: TypeCommunityFilterChange<boolean | null>;
|
|
8
|
+
emptyValue?: boolean | null;
|
|
9
|
+
filterDelay?: number;
|
|
10
|
+
readOnly?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
rtl?: boolean;
|
|
13
|
+
theme?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
i18n?: (key: string, defaultLabel: string) => React.ReactNode;
|
|
17
|
+
filterEditorProps?: React.ComponentPropsWithoutRef<typeof Checkbox> | ((props: BoolFilterProps) => React.ComponentPropsWithoutRef<typeof Checkbox>);
|
|
18
|
+
render?: (checkbox: React.ReactElement) => React.ReactNode;
|
|
19
|
+
};
|
|
20
|
+
export default function BoolFilter({ filterValue, value, onChange, emptyValue, filterDelay, readOnly, disabled, rtl, className, style, i18n, filterEditorProps, render, }: BoolFilterProps): React.ReactElement;
|
|
21
|
+
//# sourceMappingURL=BoolFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoolFilter.d.ts","sourceRoot":"","sources":["../../../src/filters/editors/BoolFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAExD,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAE9B,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,CAAC,EAAE,wBAAwB,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACvD,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,yBAAyB,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAC9D,iBAAiB,CAAC,EACd,KAAK,CAAC,wBAAwB,CAAC,OAAO,QAAQ,CAAC,GAC/C,CAAC,CACC,KAAK,EAAE,eAAe,KACnB,KAAK,CAAC,wBAAwB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;IAC1D,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,YAAY,KAAK,KAAK,CAAC,SAAS,CAAC;CAC5D,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,WAAW,EACX,KAAK,EACL,QAAQ,EACR,UAAiB,EACjB,WAAe,EACf,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,SAAS,EACT,KAAK,EACL,IAAI,EACJ,iBAAiB,EACjB,MAAM,GACP,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CAsFtC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { TypeCommunityFilterChange, TypeCommunityFilterValue } from './editorTypes.js';
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
export type DateFilterProps = {
|
|
3
|
-
filterValue?:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
onChange?: (value: any) => void;
|
|
4
|
+
filterValue?: TypeCommunityFilterValue<unknown>;
|
|
5
|
+
value?: unknown;
|
|
6
|
+
onChange?: TypeCommunityFilterChange<unknown>;
|
|
7
|
+
filterEditorProps?: Record<string, unknown> | ((editorProps: DateFilterProps, meta: {
|
|
8
|
+
index: number;
|
|
9
|
+
value: unknown;
|
|
10
|
+
}) => Record<string, unknown> | undefined);
|
|
11
11
|
/**
|
|
12
12
|
* Inovua commonly passes placeholder via filterEditorProps.
|
|
13
13
|
* If you want different placeholders for range, pass:
|
|
@@ -20,7 +20,6 @@ export type DateFilterProps = {
|
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
className?: string;
|
|
22
22
|
style?: React.CSSProperties;
|
|
23
|
-
[key: string]: any;
|
|
24
23
|
};
|
|
25
24
|
export default function DateFilter(props: DateFilterProps): React.ReactElement;
|
|
26
25
|
//# sourceMappingURL=DateFilter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateFilter.d.ts","sourceRoot":"","sources":["../../../src/filters/editors/DateFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DateFilter.d.ts","sourceRoot":"","sources":["../../../src/filters/editors/DateFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAE9B,MAAM,eAAe,CAAC;AAsDvB,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAC9C,iBAAiB,CAAC,EACd,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACvB,CAAC,CACC,WAAW,EAAE,eAAe,EAC5B,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,KACpC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,CAAC;IAE9C;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CAgI7E"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { TypeCommunityFilterChange, TypeCommunityFilterValue } from './editorTypes.js';
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
export type NumberFilterProps = {
|
|
3
|
-
filterValue?:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
onChange?: (value: any) => void;
|
|
4
|
+
filterValue?: TypeCommunityFilterValue<unknown>;
|
|
5
|
+
value?: unknown;
|
|
6
|
+
onChange?: TypeCommunityFilterChange<unknown>;
|
|
7
|
+
filterEditorProps?: Record<string, unknown> | ((editorProps: NumberFilterProps, meta: {
|
|
8
|
+
index: number;
|
|
9
|
+
value: unknown;
|
|
10
|
+
}) => Record<string, unknown> | undefined);
|
|
11
11
|
placeholder?: string;
|
|
12
12
|
startPlaceholder?: string;
|
|
13
13
|
endPlaceholder?: string;
|
|
@@ -17,7 +17,6 @@ export type NumberFilterProps = {
|
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
className?: string;
|
|
19
19
|
style?: React.CSSProperties;
|
|
20
|
-
[key: string]: any;
|
|
21
20
|
};
|
|
22
21
|
export default function NumberFilter(props: NumberFilterProps): React.ReactElement;
|
|
23
22
|
//# sourceMappingURL=NumberFilter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberFilter.d.ts","sourceRoot":"","sources":["../../../src/filters/editors/NumberFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberFilter.d.ts","sourceRoot":"","sources":["../../../src/filters/editors/NumberFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAE9B,MAAM,eAAe,CAAC;AAavB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,CAAC,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAC9C,iBAAiB,CAAC,EACd,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACvB,CAAC,CACC,WAAW,EAAE,iBAAiB,EAC9B,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,KACpC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,CAAC;IAE9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,KAAK,EAAE,iBAAiB,GACvB,KAAK,CAAC,YAAY,CAiIpB"}
|