@expcat/tigercat-react 1.2.39 → 1.2.41
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/{chunk-JDJFSO2D.mjs → chunk-2VE2CP7E.mjs} +102 -8
- package/dist/{chunk-LJDILPI6.js → chunk-36I5APFX.js} +2 -2
- package/dist/{chunk-C3NKZZQQ.js → chunk-AE2QE2C6.js} +2 -2
- package/dist/{chunk-ZDEOTMXP.mjs → chunk-C44WSDEY.mjs} +2 -1
- package/dist/{chunk-3LCISRAV.js → chunk-JIFSUUGA.js} +2 -1
- package/dist/{chunk-AKZY7QYA.js → chunk-JLQBG5XU.js} +23 -17
- package/dist/{chunk-FZX7USS4.js → chunk-LHBE3N3U.js} +124 -30
- package/dist/{chunk-XU4TF2YA.js → chunk-LYYL2JMP.js} +2 -2
- package/dist/{chunk-LJARWKJT.mjs → chunk-MV54EEKO.mjs} +1 -1
- package/dist/{chunk-AT2GRD6F.js → chunk-OBY4FYRZ.js} +2 -2
- package/dist/{chunk-TAYQDWXN.mjs → chunk-TANTMMR7.mjs} +1 -1
- package/dist/{chunk-WVTUGFWO.mjs → chunk-TYZNV54N.mjs} +23 -17
- package/dist/{chunk-TSZKBVTA.mjs → chunk-WYGO6XC7.mjs} +35 -4
- package/dist/{chunk-M36PT6BS.js → chunk-XUETAIF3.js} +76 -45
- package/dist/{chunk-PCPAMUAE.mjs → chunk-ZDS5WL22.mjs} +1 -1
- package/dist/{chunk-73OAHAPC.mjs → chunk-ZL44XLSB.mjs} +1 -1
- package/dist/components/DataTableWithToolbar.d.mts +2 -2
- package/dist/components/DataTableWithToolbar.d.ts +2 -2
- package/dist/components/DataTableWithToolbar.js +6 -3
- package/dist/components/DataTableWithToolbar.mjs +5 -2
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Dropdown.mjs +1 -1
- package/dist/components/DropdownItem.js +3 -3
- package/dist/components/DropdownItem.mjs +2 -2
- package/dist/components/DropdownMenu.js +2 -2
- package/dist/components/DropdownMenu.mjs +1 -1
- package/dist/components/Popconfirm.js +3 -3
- package/dist/components/Popconfirm.mjs +2 -2
- package/dist/components/Popover.js +3 -3
- package/dist/components/Popover.mjs +2 -2
- package/dist/components/Table.d.mts +2 -2
- package/dist/components/Table.d.ts +2 -2
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/Tooltip.mjs +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -11
- package/dist/index.mjs +10 -10
- package/dist/{types-mtq1tZJd.d.mts → types-CHmCMNEM.d.mts} +1 -0
- package/dist/{types-mtq1tZJd.d.ts → types-CHmCMNEM.d.ts} +1 -0
- package/package.json +2 -2
|
@@ -118,10 +118,13 @@ var LoadingSpinner = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
|
|
121
|
+
|
|
121
122
|
function useTableState(input) {
|
|
122
123
|
const {
|
|
123
124
|
columns,
|
|
124
125
|
dataSource,
|
|
126
|
+
hiddenColumnKeys,
|
|
127
|
+
defaultHiddenColumnKeys,
|
|
125
128
|
sort,
|
|
126
129
|
defaultSort,
|
|
127
130
|
filters,
|
|
@@ -143,6 +146,7 @@ function useTableState(input) {
|
|
|
143
146
|
onSelectionChange,
|
|
144
147
|
onSortChange,
|
|
145
148
|
onFilterChange,
|
|
149
|
+
onHiddenColumnsChange,
|
|
146
150
|
onPageChange,
|
|
147
151
|
onExpandChange,
|
|
148
152
|
onCellChange,
|
|
@@ -152,6 +156,7 @@ function useTableState(input) {
|
|
|
152
156
|
} = input;
|
|
153
157
|
const isSortControlled = sort !== void 0;
|
|
154
158
|
const isFiltersControlled = filters !== void 0;
|
|
159
|
+
const isHiddenColumnsControlled = hiddenColumnKeys !== void 0;
|
|
155
160
|
const paginationConfig = pagination !== false && typeof pagination === "object" ? pagination : null;
|
|
156
161
|
const isCurrentPageControlled = _optionalChain([paginationConfig, 'optionalAccess', _ => _.current]) !== void 0;
|
|
157
162
|
const isPageSizeControlled = _optionalChain([paginationConfig, 'optionalAccess', _2 => _2.pageSize]) !== void 0;
|
|
@@ -160,6 +165,9 @@ function useTableState(input) {
|
|
|
160
165
|
const [uncontrolledSortState, setUncontrolledSortState] = _react.useState.call(void 0,
|
|
161
166
|
_nullishCoalesce(defaultSort, () => ( { key: null, direction: null }))
|
|
162
167
|
);
|
|
168
|
+
const [uncontrolledHiddenColumnKeys, setUncontrolledHiddenColumnKeys] = _react.useState.call(void 0,
|
|
169
|
+
_nullishCoalesce(_nullishCoalesce(defaultHiddenColumnKeys, () => ( hiddenColumnKeys)), () => ( []))
|
|
170
|
+
);
|
|
163
171
|
const [uncontrolledFilterState, setUncontrolledFilterState] = _react.useState.call(void 0,
|
|
164
172
|
_nullishCoalesce(defaultFilters, () => ( {}))
|
|
165
173
|
);
|
|
@@ -172,6 +180,7 @@ function useTableState(input) {
|
|
|
172
180
|
const [uncontrolledSelectedRowKeys, setUncontrolledSelectedRowKeys] = _react.useState.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([rowSelection, 'optionalAccess', _9 => _9.defaultSelectedRowKeys]), () => ( _optionalChain([rowSelection, 'optionalAccess', _10 => _10.selectedRowKeys]))), () => ( [])));
|
|
173
181
|
const [uncontrolledExpandedRowKeys, setUncontrolledExpandedRowKeys] = _react.useState.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([expandable, 'optionalAccess', _11 => _11.defaultExpandedRowKeys]), () => ( _optionalChain([expandable, 'optionalAccess', _12 => _12.expandedRowKeys]))), () => ( [])));
|
|
174
182
|
const sortState = isSortControlled ? sort : uncontrolledSortState;
|
|
183
|
+
const effectiveHiddenColumnKeys = isHiddenColumnsControlled ? hiddenColumnKeys : uncontrolledHiddenColumnKeys;
|
|
175
184
|
const filterState = isFiltersControlled ? filters : uncontrolledFilterState;
|
|
176
185
|
const currentPage = isCurrentPageControlled ? paginationConfig.current : uncontrolledCurrentPage;
|
|
177
186
|
const currentPageSize = isPageSizeControlled ? paginationConfig.pageSize : uncontrolledCurrentPageSize;
|
|
@@ -202,6 +211,11 @@ function useTableState(input) {
|
|
|
202
211
|
setUncontrolledSelectedRowKeys(_nullishCoalesce(_optionalChain([rowSelection, 'optionalAccess', _17 => _17.selectedRowKeys]), () => ( [])));
|
|
203
212
|
}
|
|
204
213
|
}, [isSelectionControlled, _optionalChain([rowSelection, 'optionalAccess', _18 => _18.selectedRowKeys])]);
|
|
214
|
+
_react.useEffect.call(void 0, () => {
|
|
215
|
+
if (isHiddenColumnsControlled && hiddenColumnKeys) {
|
|
216
|
+
setUncontrolledHiddenColumnKeys(hiddenColumnKeys);
|
|
217
|
+
}
|
|
218
|
+
}, [isHiddenColumnsControlled, hiddenColumnKeys]);
|
|
205
219
|
_react.useEffect.call(void 0, () => {
|
|
206
220
|
if (isExpandControlled) {
|
|
207
221
|
setUncontrolledExpandedRowKeys(_nullishCoalesce(_optionalChain([expandable, 'optionalAccess', _19 => _19.expandedRowKeys]), () => ( [])));
|
|
@@ -209,14 +223,15 @@ function useTableState(input) {
|
|
|
209
223
|
}, [isExpandControlled, _optionalChain([expandable, 'optionalAccess', _20 => _20.expandedRowKeys])]);
|
|
210
224
|
const [fixedOverrides, setFixedOverrides] = _react.useState.call(void 0, {});
|
|
211
225
|
const displayColumns = _react.useMemo.call(void 0, () => {
|
|
212
|
-
|
|
226
|
+
const mapped = columns.map((column) => {
|
|
213
227
|
const hasOverride = Object.prototype.hasOwnProperty.call(fixedOverrides, column.key);
|
|
214
228
|
return {
|
|
215
229
|
...column,
|
|
216
230
|
fixed: hasOverride ? fixedOverrides[column.key] : column.fixed
|
|
217
231
|
};
|
|
218
232
|
});
|
|
219
|
-
|
|
233
|
+
return _tigercatcore.filterHiddenColumns.call(void 0, mapped, effectiveHiddenColumnKeys);
|
|
234
|
+
}, [columns, fixedOverrides, effectiveHiddenColumnKeys]);
|
|
220
235
|
const totalColumnCount = _react.useMemo.call(void 0, () => {
|
|
221
236
|
let count = displayColumns.length;
|
|
222
237
|
if (rowSelection && rowSelection.showCheckbox !== false) count++;
|
|
@@ -234,9 +249,15 @@ function useTableState(input) {
|
|
|
234
249
|
() => _tigercatcore.getFixedColumnOffsets.call(void 0, displayColumns, measuredColumnWidths),
|
|
235
250
|
[displayColumns, measuredColumnWidths]
|
|
236
251
|
);
|
|
252
|
+
function handleSetHiddenColumns(hiddenKeys) {
|
|
253
|
+
if (!isHiddenColumnsControlled) {
|
|
254
|
+
setUncontrolledHiddenColumnKeys(hiddenKeys);
|
|
255
|
+
}
|
|
256
|
+
_optionalChain([onHiddenColumnsChange, 'optionalCall', _21 => _21(hiddenKeys)]);
|
|
257
|
+
}
|
|
237
258
|
function toggleColumnLock(columnKey) {
|
|
238
259
|
setFixedOverrides((prev) => {
|
|
239
|
-
const original = _optionalChain([columns, 'access',
|
|
260
|
+
const original = _optionalChain([columns, 'access', _22 => _22.find, 'call', _23 => _23((c) => c.key === columnKey), 'optionalAccess', _24 => _24.fixed]);
|
|
240
261
|
const current = Object.prototype.hasOwnProperty.call(prev, columnKey) ? prev[columnKey] : original;
|
|
241
262
|
const isLocked = current === "left" || current === "right";
|
|
242
263
|
return {
|
|
@@ -254,7 +275,7 @@ function useTableState(input) {
|
|
|
254
275
|
}
|
|
255
276
|
if (sortState.key && sortState.direction) {
|
|
256
277
|
const column = columnByKey[sortState.key];
|
|
257
|
-
data = _tigercatcore.sortData.call(void 0, data, sortState.key, sortState.direction, _optionalChain([column, 'optionalAccess',
|
|
278
|
+
data = _tigercatcore.sortData.call(void 0, data, sortState.key, sortState.direction, _optionalChain([column, 'optionalAccess', _25 => _25.sortFn]));
|
|
258
279
|
}
|
|
259
280
|
return data;
|
|
260
281
|
}, [dataSource, filterState, sortState, columnByKey, filterMode, advancedFilterRules]);
|
|
@@ -280,15 +301,15 @@ function useTableState(input) {
|
|
|
280
301
|
if (pagination === false) {
|
|
281
302
|
return null;
|
|
282
303
|
}
|
|
283
|
-
const total = _optionalChain([paginationConfig, 'optionalAccess',
|
|
304
|
+
const total = _optionalChain([paginationConfig, 'optionalAccess', _26 => _26.total]) !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : processedData.length;
|
|
284
305
|
return _tigercatcore.calculatePagination.call(void 0, total, currentPage, currentPageSize);
|
|
285
|
-
}, [processedData.length, currentPage, currentPageSize, pagination, _optionalChain([paginationConfig, 'optionalAccess',
|
|
306
|
+
}, [processedData.length, currentPage, currentPageSize, pagination, _optionalChain([paginationConfig, 'optionalAccess', _27 => _27.total])]);
|
|
286
307
|
function handleSetSort(newSortState) {
|
|
287
308
|
if (!isSortControlled) {
|
|
288
309
|
setUncontrolledSortState(newSortState);
|
|
289
310
|
}
|
|
290
|
-
_optionalChain([onSortChange, 'optionalCall',
|
|
291
|
-
_optionalChain([onChange, 'optionalCall',
|
|
311
|
+
_optionalChain([onSortChange, 'optionalCall', _28 => _28(newSortState)]);
|
|
312
|
+
_optionalChain([onChange, 'optionalCall', _29 => _29({
|
|
292
313
|
sort: newSortState,
|
|
293
314
|
filters: filterState,
|
|
294
315
|
pagination: pagination !== false ? { current: currentPage, pageSize: currentPageSize } : null
|
|
@@ -316,8 +337,8 @@ function useTableState(input) {
|
|
|
316
337
|
setUncontrolledFilterState(newFilterState);
|
|
317
338
|
}
|
|
318
339
|
setUncontrolledCurrentPage(1);
|
|
319
|
-
_optionalChain([onFilterChange, 'optionalCall',
|
|
320
|
-
_optionalChain([onChange, 'optionalCall',
|
|
340
|
+
_optionalChain([onFilterChange, 'optionalCall', _30 => _30(newFilterState)]);
|
|
341
|
+
_optionalChain([onChange, 'optionalCall', _31 => _31({
|
|
321
342
|
sort: sortState,
|
|
322
343
|
filters: newFilterState,
|
|
323
344
|
pagination: pagination !== false ? { current: 1, pageSize: currentPageSize } : null
|
|
@@ -325,8 +346,8 @@ function useTableState(input) {
|
|
|
325
346
|
}
|
|
326
347
|
function handlePageChange(page) {
|
|
327
348
|
setUncontrolledCurrentPage(page);
|
|
328
|
-
_optionalChain([onPageChange, 'optionalCall',
|
|
329
|
-
_optionalChain([onChange, 'optionalCall',
|
|
349
|
+
_optionalChain([onPageChange, 'optionalCall', _32 => _32({ current: page, pageSize: currentPageSize })]);
|
|
350
|
+
_optionalChain([onChange, 'optionalCall', _33 => _33({
|
|
330
351
|
sort: sortState,
|
|
331
352
|
filters: filterState,
|
|
332
353
|
pagination: { current: page, pageSize: currentPageSize }
|
|
@@ -335,8 +356,8 @@ function useTableState(input) {
|
|
|
335
356
|
function handlePageSizeChange(pageSize) {
|
|
336
357
|
setUncontrolledCurrentPageSize(pageSize);
|
|
337
358
|
setUncontrolledCurrentPage(1);
|
|
338
|
-
_optionalChain([onPageChange, 'optionalCall',
|
|
339
|
-
_optionalChain([onChange, 'optionalCall',
|
|
359
|
+
_optionalChain([onPageChange, 'optionalCall', _34 => _34({ current: 1, pageSize })]);
|
|
360
|
+
_optionalChain([onChange, 'optionalCall', _35 => _35({
|
|
340
361
|
sort: sortState,
|
|
341
362
|
filters: filterState,
|
|
342
363
|
pagination: { current: 1, pageSize }
|
|
@@ -348,12 +369,12 @@ function useTableState(input) {
|
|
|
348
369
|
if (!isExpandControlled) {
|
|
349
370
|
setUncontrolledExpandedRowKeys(newKeys);
|
|
350
371
|
}
|
|
351
|
-
_optionalChain([onExpandChange, 'optionalCall',
|
|
372
|
+
_optionalChain([onExpandChange, 'optionalCall', _36 => _36(newKeys, record, !isExpanded)]);
|
|
352
373
|
}
|
|
353
374
|
function handleRowClick(record, index, key) {
|
|
354
|
-
_optionalChain([onRowClick, 'optionalCall',
|
|
355
|
-
if (_optionalChain([expandable, 'optionalAccess',
|
|
356
|
-
const isExpandableRow = _optionalChain([expandable, 'optionalAccess',
|
|
375
|
+
_optionalChain([onRowClick, 'optionalCall', _37 => _37(record, index)]);
|
|
376
|
+
if (_optionalChain([expandable, 'optionalAccess', _38 => _38.expandRowByClick])) {
|
|
377
|
+
const isExpandableRow = _optionalChain([expandable, 'optionalAccess', _39 => _39.rowExpandable]) ? expandable.rowExpandable(record) : true;
|
|
357
378
|
if (isExpandableRow) {
|
|
358
379
|
handleToggleExpand(key, record);
|
|
359
380
|
}
|
|
@@ -361,7 +382,7 @@ function useTableState(input) {
|
|
|
361
382
|
}
|
|
362
383
|
function handleSelectRow(key, checked) {
|
|
363
384
|
let newKeys;
|
|
364
|
-
if (_optionalChain([rowSelection, 'optionalAccess',
|
|
385
|
+
if (_optionalChain([rowSelection, 'optionalAccess', _40 => _40.type]) === "radio") {
|
|
365
386
|
newKeys = checked ? [key] : [];
|
|
366
387
|
} else {
|
|
367
388
|
if (checked) {
|
|
@@ -373,7 +394,7 @@ function useTableState(input) {
|
|
|
373
394
|
if (!isSelectionControlled) {
|
|
374
395
|
setUncontrolledSelectedRowKeys(newKeys);
|
|
375
396
|
}
|
|
376
|
-
_optionalChain([onSelectionChange, 'optionalCall',
|
|
397
|
+
_optionalChain([onSelectionChange, 'optionalCall', _41 => _41(newKeys)]);
|
|
377
398
|
}
|
|
378
399
|
function handleSelectAll(checked) {
|
|
379
400
|
if (checked) {
|
|
@@ -381,12 +402,12 @@ function useTableState(input) {
|
|
|
381
402
|
if (!isSelectionControlled) {
|
|
382
403
|
setUncontrolledSelectedRowKeys(newKeys);
|
|
383
404
|
}
|
|
384
|
-
_optionalChain([onSelectionChange, 'optionalCall',
|
|
405
|
+
_optionalChain([onSelectionChange, 'optionalCall', _42 => _42(newKeys)]);
|
|
385
406
|
} else {
|
|
386
407
|
if (!isSelectionControlled) {
|
|
387
408
|
setUncontrolledSelectedRowKeys([]);
|
|
388
409
|
}
|
|
389
|
-
_optionalChain([onSelectionChange, 'optionalCall',
|
|
410
|
+
_optionalChain([onSelectionChange, 'optionalCall', _43 => _43([])]);
|
|
390
411
|
}
|
|
391
412
|
}
|
|
392
413
|
const allSelected = _react.useMemo.call(void 0, () => {
|
|
@@ -404,7 +425,7 @@ function useTableState(input) {
|
|
|
404
425
|
function isCellEditable(columnKey, rowIndex) {
|
|
405
426
|
if (!editable) return false;
|
|
406
427
|
if (!editableCells) return true;
|
|
407
|
-
return !!_optionalChain([editableCells, 'access',
|
|
428
|
+
return !!_optionalChain([editableCells, 'access', _44 => _44.get, 'call', _45 => _45(columnKey), 'optionalAccess', _46 => _46.has, 'call', _47 => _47(rowIndex)]);
|
|
408
429
|
}
|
|
409
430
|
function startEditing(rowIndex, columnKey, currentValue) {
|
|
410
431
|
setEditingCell({ rowIndex, columnKey });
|
|
@@ -412,7 +433,7 @@ function useTableState(input) {
|
|
|
412
433
|
}
|
|
413
434
|
function commitEdit() {
|
|
414
435
|
if (editingCell) {
|
|
415
|
-
_optionalChain([onCellChange, 'optionalCall',
|
|
436
|
+
_optionalChain([onCellChange, 'optionalCall', _48 => _48(editingCell.rowIndex, editingCell.columnKey, editingValue)]);
|
|
416
437
|
setEditingCell(null);
|
|
417
438
|
}
|
|
418
439
|
}
|
|
@@ -422,7 +443,7 @@ function useTableState(input) {
|
|
|
422
443
|
function handleExport() {
|
|
423
444
|
const content = _tigercatcore.exportTableData.call(void 0, displayColumns, processedData, exportFormat);
|
|
424
445
|
_tigercatcore.downloadTableExport.call(void 0, content, exportFilename, exportFormat);
|
|
425
|
-
_optionalChain([onExport, 'optionalCall',
|
|
446
|
+
_optionalChain([onExport, 'optionalCall', _49 => _49(content)]);
|
|
426
447
|
}
|
|
427
448
|
const [dragColumnKey, setDragColumnKey] = _react.useState.call(void 0, null);
|
|
428
449
|
function handleDragStart(columnKey) {
|
|
@@ -436,7 +457,7 @@ function useTableState(input) {
|
|
|
436
457
|
if (fromIdx >= 0 && toIdx >= 0) {
|
|
437
458
|
const [moved] = cols.splice(fromIdx, 1);
|
|
438
459
|
cols.splice(toIdx, 0, moved);
|
|
439
|
-
_optionalChain([onColumnOrderChange, 'optionalCall',
|
|
460
|
+
_optionalChain([onColumnOrderChange, 'optionalCall', _50 => _50(cols)]);
|
|
440
461
|
}
|
|
441
462
|
setDragColumnKey(null);
|
|
442
463
|
}
|
|
@@ -452,7 +473,7 @@ function useTableState(input) {
|
|
|
452
473
|
if (fromIdx >= 0 && toIdx >= 0) {
|
|
453
474
|
const [moved] = rows.splice(fromIdx, 1);
|
|
454
475
|
rows.splice(toIdx, 0, moved);
|
|
455
|
-
_optionalChain([onRowOrderChange, 'optionalCall',
|
|
476
|
+
_optionalChain([onRowOrderChange, 'optionalCall', _51 => _51(rows)]);
|
|
456
477
|
}
|
|
457
478
|
setDragRowKey(null);
|
|
458
479
|
}
|
|
@@ -477,10 +498,12 @@ function useTableState(input) {
|
|
|
477
498
|
sortState,
|
|
478
499
|
currentPage,
|
|
479
500
|
currentPageSize,
|
|
501
|
+
hiddenColumnKeys: effectiveHiddenColumnKeys,
|
|
480
502
|
editingCell,
|
|
481
503
|
editingValue,
|
|
482
504
|
setEditingValue,
|
|
483
505
|
toggleColumnLock,
|
|
506
|
+
handleSetHiddenColumns,
|
|
484
507
|
handleSort,
|
|
485
508
|
handleFilter,
|
|
486
509
|
handlePageChange,
|
|
@@ -516,7 +539,7 @@ function useTableState(input) {
|
|
|
516
539
|
function renderTableHeader(ctx, view) {
|
|
517
540
|
const { size, stickyHeader, rowSelection, expandable, columnLockable, columnDraggable } = view;
|
|
518
541
|
const expandHeaderTh = expandable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { className: _tigercatcore.getExpandIconCellClasses.call(void 0, size), "aria-label": "Expand" }) : null;
|
|
519
|
-
const expandAtStart = _optionalChain([expandable, 'optionalAccess',
|
|
542
|
+
const expandAtStart = _optionalChain([expandable, 'optionalAccess', _52 => _52.expandIconPosition]) !== "end";
|
|
520
543
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { className: _tigercatcore.getTableHeaderClasses.call(void 0, stickyHeader), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { children: [
|
|
521
544
|
expandAtStart && expandHeaderTh,
|
|
522
545
|
rowSelection && rowSelection.showCheckbox !== false && rowSelection.type !== "radio" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { className: _tigercatcore.getCheckboxCellClasses.call(void 0, size), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -654,7 +677,7 @@ function renderTableBody(ctx, view) {
|
|
|
654
677
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tbody", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tr", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { colSpan: ctx.totalColumnCount, className: _tigercatcore.tableEmptyStateClasses, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "status", "aria-live": "polite", children: emptyText }) }) }) });
|
|
655
678
|
}
|
|
656
679
|
function getDelegatedRow(event) {
|
|
657
|
-
const row = _optionalChain([event, 'access',
|
|
680
|
+
const row = _optionalChain([event, 'access', _53 => _53.target, 'optionalAccess', _54 => _54.closest, 'call', _55 => _55(
|
|
658
681
|
"tr[data-tiger-table-row-index]"
|
|
659
682
|
)]);
|
|
660
683
|
if (!row) return null;
|
|
@@ -706,7 +729,7 @@ function renderTableBody(ctx, view) {
|
|
|
706
729
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExpandIcon, { expanded: isExpanded })
|
|
707
730
|
}
|
|
708
731
|
) }) : null;
|
|
709
|
-
const expandAtStart = _optionalChain([expandable, 'optionalAccess',
|
|
732
|
+
const expandAtStart = _optionalChain([expandable, 'optionalAccess', _56 => _56.expandIconPosition]) !== "end";
|
|
710
733
|
const rowNode = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
711
734
|
"tr",
|
|
712
735
|
{
|
|
@@ -721,10 +744,10 @@ function renderTableBody(ctx, view) {
|
|
|
721
744
|
rowSelection && rowSelection.showCheckbox !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: _tigercatcore.getCheckboxCellClasses.call(void 0, size), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
722
745
|
"input",
|
|
723
746
|
{
|
|
724
|
-
type: _optionalChain([rowSelection, 'optionalAccess',
|
|
725
|
-
className: _optionalChain([rowSelection, 'optionalAccess',
|
|
747
|
+
type: _optionalChain([rowSelection, 'optionalAccess', _57 => _57.type]) === "radio" ? "radio" : "checkbox",
|
|
748
|
+
className: _optionalChain([rowSelection, 'optionalAccess', _58 => _58.type]) === "radio" ? "border-gray-300 text-[var(--tiger-primary,#2563eb)] focus:ring-[var(--tiger-primary,#2563eb)]" : "rounded border-gray-300 text-[var(--tiger-primary,#2563eb)] focus:ring-[var(--tiger-primary,#2563eb)]",
|
|
726
749
|
checked: isSelected,
|
|
727
|
-
disabled: _optionalChain([rowSelection, 'optionalAccess',
|
|
750
|
+
disabled: _optionalChain([rowSelection, 'optionalAccess', _59 => _59.getCheckboxProps, 'optionalCall', _60 => _60(record), 'optionalAccess', _61 => _61.disabled]),
|
|
728
751
|
onChange: (e) => ctx.handleSelectRow(key, e.target.checked),
|
|
729
752
|
onClick: (e) => e.stopPropagation()
|
|
730
753
|
}
|
|
@@ -748,7 +771,7 @@ function renderTableBody(ctx, view) {
|
|
|
748
771
|
hoverable,
|
|
749
772
|
fixedInfo: ctx.fixedColumnsInfo
|
|
750
773
|
});
|
|
751
|
-
const isEditing = _optionalChain([ctx, 'access',
|
|
774
|
+
const isEditing = _optionalChain([ctx, 'access', _62 => _62.editingCell, 'optionalAccess', _63 => _63.rowIndex]) === index && _optionalChain([ctx, 'access', _64 => _64.editingCell, 'optionalAccess', _65 => _65.columnKey]) === column.key;
|
|
752
775
|
const cellEditable = ctx.isCellEditable(column.key, index);
|
|
753
776
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
754
777
|
"td",
|
|
@@ -835,7 +858,7 @@ function renderTableBody(ctx, view) {
|
|
|
835
858
|
|
|
836
859
|
function renderSummaryRow(ctx, view) {
|
|
837
860
|
const { size, rowSelection, expandable, summaryRow } = view;
|
|
838
|
-
if (!_optionalChain([summaryRow, 'optionalAccess',
|
|
861
|
+
if (!_optionalChain([summaryRow, 'optionalAccess', _66 => _66.show])) return null;
|
|
839
862
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "tfoot", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "tr", { className: _tigercatcore.tableSummaryRowClasses, children: [
|
|
840
863
|
rowSelection && rowSelection.showCheckbox !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: _tigercatcore.getTableCellClasses.call(void 0, size, "left") }),
|
|
841
864
|
expandable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "td", { className: _tigercatcore.getTableCellClasses.call(void 0, size, "left") }),
|
|
@@ -868,7 +891,7 @@ function renderPagination(ctx, view) {
|
|
|
868
891
|
const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.length;
|
|
869
892
|
const locale = view.disableI18n ? void 0 : view.locale;
|
|
870
893
|
const labels = _tigercatcore.getPaginationLabels.call(void 0, locale);
|
|
871
|
-
const localeCode = _optionalChain([locale, 'optionalAccess',
|
|
894
|
+
const localeCode = _optionalChain([locale, 'optionalAccess', _67 => _67.locale]);
|
|
872
895
|
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : _tigercatcore.formatPaginationTotal.call(void 0, labels.totalText, total, [startIndex, endIndex], localeCode);
|
|
873
896
|
const finalPrevText = paginationConfig.prevText || labels.prevPageAriaLabel;
|
|
874
897
|
const finalNextText = paginationConfig.nextText || labels.nextPageAriaLabel;
|
|
@@ -938,6 +961,8 @@ function Table({
|
|
|
938
961
|
columns,
|
|
939
962
|
columnLockable = false,
|
|
940
963
|
dataSource = [],
|
|
964
|
+
hiddenColumnKeys,
|
|
965
|
+
defaultHiddenColumnKeys,
|
|
941
966
|
sort,
|
|
942
967
|
defaultSort,
|
|
943
968
|
filters,
|
|
@@ -992,6 +1017,7 @@ function Table({
|
|
|
992
1017
|
onSelectionChange,
|
|
993
1018
|
onSortChange,
|
|
994
1019
|
onFilterChange,
|
|
1020
|
+
onHiddenColumnsChange,
|
|
995
1021
|
onPageChange,
|
|
996
1022
|
onExpandChange,
|
|
997
1023
|
onCellChange,
|
|
@@ -1021,7 +1047,9 @@ function Table({
|
|
|
1021
1047
|
() => tableLocaleInput ? _tigercatcore.getImmediateTigerLocale.call(void 0, tableLocaleInput) : void 0,
|
|
1022
1048
|
[tableLocaleInput]
|
|
1023
1049
|
);
|
|
1024
|
-
const [resolvedTableLocale, setResolvedTableLocale] = _react.useState.call(void 0,
|
|
1050
|
+
const [resolvedTableLocale, setResolvedTableLocale] = _react.useState.call(void 0,
|
|
1051
|
+
immediateTableLocale
|
|
1052
|
+
);
|
|
1025
1053
|
_react.useEffect.call(void 0, () => {
|
|
1026
1054
|
let active = true;
|
|
1027
1055
|
setResolvedPaginationLocale(immediatePaginationLocale);
|
|
@@ -1069,6 +1097,8 @@ function Table({
|
|
|
1069
1097
|
const ctx = useTableState({
|
|
1070
1098
|
columns,
|
|
1071
1099
|
dataSource,
|
|
1100
|
+
hiddenColumnKeys,
|
|
1101
|
+
defaultHiddenColumnKeys,
|
|
1072
1102
|
sort,
|
|
1073
1103
|
defaultSort,
|
|
1074
1104
|
filters,
|
|
@@ -1090,6 +1120,7 @@ function Table({
|
|
|
1090
1120
|
onSelectionChange,
|
|
1091
1121
|
onSortChange,
|
|
1092
1122
|
onFilterChange,
|
|
1123
|
+
onHiddenColumnsChange,
|
|
1093
1124
|
onPageChange,
|
|
1094
1125
|
onExpandChange,
|
|
1095
1126
|
onCellChange,
|
|
@@ -1204,7 +1235,7 @@ function Table({
|
|
|
1204
1235
|
className: _tigercatcore.getTableResponsiveCardListClasses.call(void 0, cardBreakpoint),
|
|
1205
1236
|
"data-tiger-table-mobile": "card",
|
|
1206
1237
|
children: [
|
|
1207
|
-
_optionalChain([internalRowSelection, 'optionalAccess',
|
|
1238
|
+
_optionalChain([internalRowSelection, 'optionalAccess', _68 => _68.type]) !== "radio" && _optionalChain([internalRowSelection, 'optionalAccess', _69 => _69.showCheckbox]) !== false && internalRowSelection && ctx.paginatedData.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-between rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] px-3 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1208
1239
|
_chunkF7H4ALKNjs.Checkbox,
|
|
1209
1240
|
{
|
|
1210
1241
|
size: "sm",
|
|
@@ -1251,7 +1282,7 @@ function Table({
|
|
|
1251
1282
|
const isExpanded = ctx.expandedRowKeySet.has(key);
|
|
1252
1283
|
const isSelected = ctx.selectedRowKeySet.has(key);
|
|
1253
1284
|
const isRowExpandable = internalExpandable ? internalExpandable.rowExpandable ? internalExpandable.rowExpandable(record) : true : false;
|
|
1254
|
-
const expandedContent = internalExpandable && isExpanded && isRowExpandable ? _optionalChain([internalExpandable, 'access',
|
|
1285
|
+
const expandedContent = internalExpandable && isExpanded && isRowExpandable ? _optionalChain([internalExpandable, 'access', _70 => _70.expandedRowRender, 'optionalCall', _71 => _71(record, index)]) : null;
|
|
1255
1286
|
const expandedNode = expandedContent;
|
|
1256
1287
|
const renderContext = {
|
|
1257
1288
|
record,
|
|
@@ -1262,7 +1293,7 @@ function Table({
|
|
|
1262
1293
|
toggleExpand: () => ctx.handleToggleExpand(key, record),
|
|
1263
1294
|
selectRow: (checked) => ctx.handleSelectRow(key, checked)
|
|
1264
1295
|
};
|
|
1265
|
-
const customCard = _optionalChain([renderCard, 'optionalCall',
|
|
1296
|
+
const customCard = _optionalChain([renderCard, 'optionalCall', _72 => _72(renderContext)]);
|
|
1266
1297
|
const resolvedCardClassName = typeof cardClassName === "function" ? cardClassName(record, index) : cardClassName;
|
|
1267
1298
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1268
1299
|
"div",
|
|
@@ -1270,17 +1301,17 @@ function Table({
|
|
|
1270
1301
|
className: _tigercatcore.classNames.call(void 0, _tigercatcore.tableResponsiveCardClasses, resolvedCardClassName),
|
|
1271
1302
|
onClick: () => ctx.handleRowClick(record, index, key),
|
|
1272
1303
|
children: customCard !== void 0 && customCard !== null ? customCard : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1273
|
-
_optionalChain([internalRowSelection, 'optionalAccess',
|
|
1304
|
+
_optionalChain([internalRowSelection, 'optionalAccess', _73 => _73.showCheckbox]) !== false && internalRowSelection || internalExpandable && isRowExpandable ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2 flex items-center gap-3", children: [
|
|
1274
1305
|
internalRowSelection && internalRowSelection.showCheckbox !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { onClick: (event) => event.stopPropagation(), children: internalRowSelection.type === "radio" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1275
1306
|
_chunkTMON4MPOjs.Radio,
|
|
1276
1307
|
{
|
|
1277
1308
|
value: key,
|
|
1278
1309
|
checked: isSelected,
|
|
1279
|
-
disabled: _optionalChain([internalRowSelection, 'access',
|
|
1310
|
+
disabled: _optionalChain([internalRowSelection, 'access', _74 => _74.getCheckboxProps, 'optionalCall', _75 => _75(record), 'optionalAccess', _76 => _76.disabled]),
|
|
1280
1311
|
"aria-label": _tigercatcore.formatTableSelectRowAriaLabel.call(void 0,
|
|
1281
1312
|
tableLabels.selectRowAriaLabel,
|
|
1282
1313
|
index + 1,
|
|
1283
|
-
_optionalChain([tableLocale, 'optionalAccess',
|
|
1314
|
+
_optionalChain([tableLocale, 'optionalAccess', _77 => _77.locale])
|
|
1284
1315
|
),
|
|
1285
1316
|
onChange: () => ctx.handleSelectRow(key, true)
|
|
1286
1317
|
}
|
|
@@ -1289,11 +1320,11 @@ function Table({
|
|
|
1289
1320
|
{
|
|
1290
1321
|
size: "sm",
|
|
1291
1322
|
checked: isSelected,
|
|
1292
|
-
disabled: _optionalChain([internalRowSelection, 'access',
|
|
1323
|
+
disabled: _optionalChain([internalRowSelection, 'access', _78 => _78.getCheckboxProps, 'optionalCall', _79 => _79(record), 'optionalAccess', _80 => _80.disabled]),
|
|
1293
1324
|
"aria-label": _tigercatcore.formatTableSelectRowAriaLabel.call(void 0,
|
|
1294
1325
|
tableLabels.selectRowAriaLabel,
|
|
1295
1326
|
index + 1,
|
|
1296
|
-
_optionalChain([tableLocale, 'optionalAccess',
|
|
1327
|
+
_optionalChain([tableLocale, 'optionalAccess', _81 => _81.locale])
|
|
1297
1328
|
),
|
|
1298
1329
|
onChange: (checked) => ctx.handleSelectRow(key, checked)
|
|
1299
1330
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TableToolbarProps, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
|
|
4
|
-
import { T as TableProps } from '../types-
|
|
4
|
+
import { T as TableProps } from '../types-CHmCMNEM.mjs';
|
|
5
5
|
|
|
6
6
|
interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<TableProps<T>, 'className' | 'onPageChange'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'onChange'> {
|
|
7
7
|
/**
|
|
@@ -41,6 +41,6 @@ interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<Ta
|
|
|
41
41
|
*/
|
|
42
42
|
tableClassName?: string;
|
|
43
43
|
}
|
|
44
|
-
declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, pagination, onPageChange, onPageSizeChange, className, tableClassName, ...tableProps }: DataTableWithToolbarProps<T>) => react_jsx_runtime.JSX.Element;
|
|
44
|
+
declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, hiddenColumnKeys, defaultHiddenColumnKeys, onHiddenColumnsChange, pagination, onPageChange, onPageSizeChange, className, tableClassName, ...tableProps }: DataTableWithToolbarProps<T>) => react_jsx_runtime.JSX.Element;
|
|
45
45
|
|
|
46
46
|
export { DataTableWithToolbar, type DataTableWithToolbarProps, DataTableWithToolbar as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { TableToolbarProps, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
|
|
4
|
-
import { T as TableProps } from '../types-
|
|
4
|
+
import { T as TableProps } from '../types-CHmCMNEM.js';
|
|
5
5
|
|
|
6
6
|
interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<TableProps<T>, 'className' | 'onPageChange'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'onChange'> {
|
|
7
7
|
/**
|
|
@@ -41,6 +41,6 @@ interface DataTableWithToolbarProps<T = Record<string, unknown>> extends Omit<Ta
|
|
|
41
41
|
*/
|
|
42
42
|
tableClassName?: string;
|
|
43
43
|
}
|
|
44
|
-
declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, pagination, onPageChange, onPageSizeChange, className, tableClassName, ...tableProps }: DataTableWithToolbarProps<T>) => react_jsx_runtime.JSX.Element;
|
|
44
|
+
declare const DataTableWithToolbar: <T extends Record<string, unknown> = Record<string, unknown>>({ toolbar, locale, labels, onSearchChange, onSearch, onFiltersChange, onBulkAction, hiddenColumnKeys, defaultHiddenColumnKeys, onHiddenColumnsChange, pagination, onPageChange, onPageSizeChange, className, tableClassName, ...tableProps }: DataTableWithToolbarProps<T>) => react_jsx_runtime.JSX.Element;
|
|
45
45
|
|
|
46
46
|
export { DataTableWithToolbar, type DataTableWithToolbarProps, DataTableWithToolbar as default };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkLHBE3N3Ujs = require('../chunk-LHBE3N3U.js');
|
|
5
|
+
require('../chunk-XUETAIF3.js');
|
|
6
6
|
require('../chunk-6Z4LLPZA.js');
|
|
7
|
+
require('../chunk-LYYL2JMP.js');
|
|
7
8
|
require('../chunk-TMON4MPO.js');
|
|
8
9
|
require('../chunk-ZFMMAYSX.js');
|
|
10
|
+
require('../chunk-JIFSUUGA.js');
|
|
9
11
|
require('../chunk-TDODFBBO.js');
|
|
10
12
|
require('../chunk-ZYJTHGQW.js');
|
|
11
13
|
require('../chunk-ZRHDNGWO.js');
|
|
@@ -14,7 +16,8 @@ require('../chunk-JLRRXRZO.js');
|
|
|
14
16
|
require('../chunk-UKGQ7256.js');
|
|
15
17
|
require('../chunk-56ZV3VVY.js');
|
|
16
18
|
require('../chunk-YMKA4L3Z.js');
|
|
19
|
+
require('../chunk-STTQ5LXX.js');
|
|
17
20
|
|
|
18
21
|
|
|
19
22
|
|
|
20
|
-
exports.DataTableWithToolbar =
|
|
23
|
+
exports.DataTableWithToolbar = _chunkLHBE3N3Ujs.DataTableWithToolbar; exports.default = _chunkLHBE3N3Ujs.DataTableWithToolbar_default;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataTableWithToolbar,
|
|
3
3
|
DataTableWithToolbar_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-2VE2CP7E.mjs";
|
|
5
|
+
import "../chunk-WYGO6XC7.mjs";
|
|
6
6
|
import "../chunk-T4OVGM4X.mjs";
|
|
7
|
+
import "../chunk-TANTMMR7.mjs";
|
|
7
8
|
import "../chunk-NPTXXUXF.mjs";
|
|
8
9
|
import "../chunk-IG75YSX3.mjs";
|
|
10
|
+
import "../chunk-C44WSDEY.mjs";
|
|
9
11
|
import "../chunk-QAIBQHIO.mjs";
|
|
10
12
|
import "../chunk-WNLUUD5N.mjs";
|
|
11
13
|
import "../chunk-WIWTY74F.mjs";
|
|
@@ -14,6 +16,7 @@ import "../chunk-DKT2EYVM.mjs";
|
|
|
14
16
|
import "../chunk-UQMPEMY7.mjs";
|
|
15
17
|
import "../chunk-USWK2S3Y.mjs";
|
|
16
18
|
import "../chunk-ZJWUBR2X.mjs";
|
|
19
|
+
import "../chunk-SEWNVIHH.mjs";
|
|
17
20
|
export {
|
|
18
21
|
DataTableWithToolbar,
|
|
19
22
|
DataTableWithToolbar_default as default
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkJLQBG5XUjs = require('../chunk-JLQBG5XU.js');
|
|
6
6
|
require('../chunk-STTQ5LXX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.Dropdown =
|
|
11
|
+
exports.Dropdown = _chunkJLQBG5XUjs.Dropdown; exports.DropdownContext = _chunkJLQBG5XUjs.DropdownContext; exports.DropdownMenu = _chunkJLQBG5XUjs.DropdownMenu;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkAE2QE2C6js = require('../chunk-AE2QE2C6.js');
|
|
4
|
+
require('../chunk-JLQBG5XU.js');
|
|
5
5
|
require('../chunk-STTQ5LXX.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.DropdownItem =
|
|
8
|
+
exports.DropdownItem = _chunkAE2QE2C6js.DropdownItem;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJLQBG5XUjs = require('../chunk-JLQBG5XU.js');
|
|
4
4
|
require('../chunk-STTQ5LXX.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.DropdownMenu =
|
|
8
|
+
exports.DropdownMenu = _chunkJLQBG5XUjs.DropdownMenu; exports.default = _chunkJLQBG5XUjs.DropdownMenu;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk36I5APFXjs = require('../chunk-36I5APFX.js');
|
|
4
|
+
require('../chunk-JIFSUUGA.js');
|
|
5
5
|
require('../chunk-STTQ5LXX.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Popconfirm =
|
|
8
|
+
exports.Popconfirm = _chunk36I5APFXjs.Popconfirm;
|