@expcat/tigercat-react 1.2.30 → 1.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-E43YLPOJ.mjs → chunk-AIXYHS2L.mjs} +53 -44
- package/dist/{chunk-R4OVIDAY.mjs → chunk-M26BTAIB.mjs} +28 -3
- package/dist/{chunk-77F5YT4E.js → chunk-O7WBBZ7J.js} +27 -2
- package/dist/{chunk-KYOO6JCF.js → chunk-VAZYY35F.js} +55 -46
- package/dist/{chunk-4LBTPCGE.js → chunk-VHHYTCZQ.js} +2 -2
- package/dist/{chunk-OXPKFDG6.mjs → chunk-VXOLIMK2.mjs} +1 -1
- package/dist/components/DataTableWithToolbar.js +3 -3
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/package.json +2 -2
|
@@ -487,6 +487,8 @@ import {
|
|
|
487
487
|
classNames,
|
|
488
488
|
getTableHeaderClasses,
|
|
489
489
|
getTableHeaderCellClasses,
|
|
490
|
+
getTableFixedHeaderCellClasses,
|
|
491
|
+
getFixedColumnStyle,
|
|
490
492
|
getCheckboxCellClasses,
|
|
491
493
|
getExpandIconCellClasses
|
|
492
494
|
} from "@expcat/tigercat-core";
|
|
@@ -513,17 +515,7 @@ function renderTableHeader(ctx, view) {
|
|
|
513
515
|
const isSorted = ctx.sortState.key === column.key;
|
|
514
516
|
const sortDirection = isSorted ? ctx.sortState.direction : null;
|
|
515
517
|
const ariaSort = column.sortable ? sortDirection === "asc" ? "ascending" : sortDirection === "desc" ? "descending" : "none" : void 0;
|
|
516
|
-
const
|
|
517
|
-
const isFixedRight = column.fixed === "right";
|
|
518
|
-
const fixedStyle = isFixedLeft ? {
|
|
519
|
-
position: "sticky",
|
|
520
|
-
left: `${ctx.fixedColumnsInfo.leftOffsets[column.key] || 0}px`,
|
|
521
|
-
zIndex: 15
|
|
522
|
-
} : isFixedRight ? {
|
|
523
|
-
position: "sticky",
|
|
524
|
-
right: `${ctx.fixedColumnsInfo.rightOffsets[column.key] || 0}px`,
|
|
525
|
-
zIndex: 15
|
|
526
|
-
} : void 0;
|
|
518
|
+
const fixedStyle = getFixedColumnStyle(column, ctx.fixedColumnsInfo, 15);
|
|
527
519
|
const widthStyle = column.width ? {
|
|
528
520
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
529
521
|
} : void 0;
|
|
@@ -540,7 +532,12 @@ function renderTableHeader(ctx, view) {
|
|
|
540
532
|
!!column.sortable,
|
|
541
533
|
column.headerClassName
|
|
542
534
|
),
|
|
543
|
-
(
|
|
535
|
+
getTableFixedHeaderCellClasses({
|
|
536
|
+
view: "table",
|
|
537
|
+
column,
|
|
538
|
+
stickyHeader,
|
|
539
|
+
fixedInfo: ctx.fixedColumnsInfo
|
|
540
|
+
})
|
|
544
541
|
),
|
|
545
542
|
style,
|
|
546
543
|
draggable: columnDraggable ? true : void 0,
|
|
@@ -605,6 +602,8 @@ import {
|
|
|
605
602
|
classNames as classNames2,
|
|
606
603
|
getTableRowClasses,
|
|
607
604
|
getTableCellClasses,
|
|
605
|
+
getTableFixedCellClasses,
|
|
606
|
+
getFixedColumnStyle as getFixedColumnStyle2,
|
|
608
607
|
getCheckboxCellClasses as getCheckboxCellClasses2,
|
|
609
608
|
getExpandIconCellClasses as getExpandIconCellClasses2,
|
|
610
609
|
getExpandedRowClasses,
|
|
@@ -713,26 +712,22 @@ function renderTableBody(ctx, view) {
|
|
|
713
712
|
ctx.displayColumns.map((column) => {
|
|
714
713
|
const dataKey = column.dataKey || column.key;
|
|
715
714
|
const cellValue = record[dataKey];
|
|
716
|
-
const
|
|
717
|
-
const isFixedRight = column.fixed === "right";
|
|
718
|
-
const fixedStyle = isFixedLeft ? {
|
|
719
|
-
position: "sticky",
|
|
720
|
-
left: `${ctx.fixedColumnsInfo.leftOffsets[column.key] || 0}px`,
|
|
721
|
-
zIndex: 10
|
|
722
|
-
} : isFixedRight ? {
|
|
723
|
-
position: "sticky",
|
|
724
|
-
right: `${ctx.fixedColumnsInfo.rightOffsets[column.key] || 0}px`,
|
|
725
|
-
zIndex: 10
|
|
726
|
-
} : void 0;
|
|
715
|
+
const fixedStyle = getFixedColumnStyle2(column, ctx.fixedColumnsInfo, 10);
|
|
727
716
|
const widthStyle = column.width ? {
|
|
728
717
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
729
718
|
} : void 0;
|
|
730
719
|
const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
|
|
731
|
-
const
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
720
|
+
const stickyCellClass = getTableFixedCellClasses({
|
|
721
|
+
view: "table",
|
|
722
|
+
column,
|
|
723
|
+
record,
|
|
724
|
+
rowIndex: index,
|
|
725
|
+
striped,
|
|
726
|
+
stripedActive: striped && index % 2 === 0,
|
|
727
|
+
selected: isSelected,
|
|
728
|
+
hoverable,
|
|
729
|
+
fixedInfo: ctx.fixedColumnsInfo
|
|
730
|
+
});
|
|
736
731
|
const isEditing = ctx.editingCell?.rowIndex === index && ctx.editingCell?.columnKey === column.key;
|
|
737
732
|
const cellEditable = ctx.isCellEditable(column.key, index);
|
|
738
733
|
return /* @__PURE__ */ jsx3(
|
|
@@ -831,8 +826,8 @@ function renderSummaryRow(ctx, view) {
|
|
|
831
826
|
// src/components/Table/render-pagination.tsx
|
|
832
827
|
import {
|
|
833
828
|
formatIntlNumber,
|
|
834
|
-
formatPageAriaLabel,
|
|
835
829
|
formatPaginationTotal,
|
|
830
|
+
formatPaginationPageIndicator,
|
|
836
831
|
getPaginationLabels,
|
|
837
832
|
getSimplePaginationContainerClasses,
|
|
838
833
|
getSimplePaginationTotalClasses,
|
|
@@ -843,14 +838,6 @@ import {
|
|
|
843
838
|
getSimplePaginationButtonsWrapperClasses
|
|
844
839
|
} from "@expcat/tigercat-core";
|
|
845
840
|
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
846
|
-
var DEFAULT_PREV_TEXT = "Previous";
|
|
847
|
-
var DEFAULT_NEXT_TEXT = "Next";
|
|
848
|
-
function formatDefaultTotalText(total, range) {
|
|
849
|
-
return `Showing ${range[0]} to ${range[1]} of ${total} results`;
|
|
850
|
-
}
|
|
851
|
-
function formatDefaultPageIndicatorText(current, total) {
|
|
852
|
-
return `Page ${current} of ${total}`;
|
|
853
|
-
}
|
|
854
841
|
function renderPagination(ctx, view) {
|
|
855
842
|
const { pagination } = view;
|
|
856
843
|
if (pagination === false || !ctx.paginationInfo) {
|
|
@@ -860,12 +847,20 @@ function renderPagination(ctx, view) {
|
|
|
860
847
|
const paginationConfig = pagination;
|
|
861
848
|
const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.length;
|
|
862
849
|
const locale = view.disableI18n ? void 0 : view.locale;
|
|
863
|
-
const labels =
|
|
850
|
+
const labels = getPaginationLabels(locale);
|
|
864
851
|
const localeCode = locale?.locale;
|
|
865
|
-
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) :
|
|
866
|
-
const finalPrevText = paginationConfig.prevText || labels
|
|
867
|
-
const finalNextText = paginationConfig.nextText || labels
|
|
868
|
-
const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage, totalPages) :
|
|
852
|
+
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : formatPaginationTotal(labels.totalText, total, [startIndex, endIndex], localeCode);
|
|
853
|
+
const finalPrevText = paginationConfig.prevText || labels.prevPageAriaLabel;
|
|
854
|
+
const finalNextText = paginationConfig.nextText || labels.nextPageAriaLabel;
|
|
855
|
+
const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage, totalPages) : formatPaginationPageIndicator(
|
|
856
|
+
labels.pageIndicatorText,
|
|
857
|
+
ctx.currentPage,
|
|
858
|
+
totalPages,
|
|
859
|
+
localeCode
|
|
860
|
+
);
|
|
861
|
+
const finalPrevAriaLabel = view.disableI18n ? finalPrevText : labels.prevPageAriaLabel;
|
|
862
|
+
const finalNextAriaLabel = view.disableI18n ? finalNextText : labels.nextPageAriaLabel;
|
|
863
|
+
const normalizedPageSizeOptions = paginationConfig.pageSizeOptions || [10, 20, 50, 100];
|
|
869
864
|
return /* @__PURE__ */ jsxs4("div", { className: getSimplePaginationContainerClasses(), children: [
|
|
870
865
|
paginationConfig.showTotal !== false && /* @__PURE__ */ jsx5("div", { className: getSimplePaginationTotalClasses(), children: finalTotalText }),
|
|
871
866
|
/* @__PURE__ */ jsxs4("div", { className: getSimplePaginationControlsClasses(), children: [
|
|
@@ -874,8 +869,13 @@ function renderPagination(ctx, view) {
|
|
|
874
869
|
{
|
|
875
870
|
className: getSimplePaginationSelectClasses(),
|
|
876
871
|
value: ctx.currentPageSize,
|
|
872
|
+
"aria-label": labels.itemsPerPageText,
|
|
877
873
|
onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value)),
|
|
878
|
-
children:
|
|
874
|
+
children: normalizedPageSizeOptions.map((option) => {
|
|
875
|
+
const value = typeof option === "number" ? option : option.value;
|
|
876
|
+
const label = typeof option === "number" ? `${formatIntlNumber(value, localeCode)} ${labels.itemsPerPageText}` : option.label ?? `${formatIntlNumber(value, localeCode)} ${labels.itemsPerPageText}`;
|
|
877
|
+
return /* @__PURE__ */ jsx5("option", { value, children: paginationConfig.pageSizeText ? paginationConfig.pageSizeText(value) : label }, value);
|
|
878
|
+
})
|
|
879
879
|
}
|
|
880
880
|
),
|
|
881
881
|
/* @__PURE__ */ jsxs4("div", { className: getSimplePaginationButtonsWrapperClasses(), children: [
|
|
@@ -884,16 +884,25 @@ function renderPagination(ctx, view) {
|
|
|
884
884
|
{
|
|
885
885
|
className: getSimplePaginationButtonClasses(!hasPrev),
|
|
886
886
|
disabled: !hasPrev,
|
|
887
|
+
"aria-label": finalPrevAriaLabel,
|
|
887
888
|
onClick: () => ctx.handlePageChange(ctx.currentPage - 1),
|
|
888
889
|
children: finalPrevText
|
|
889
890
|
}
|
|
890
891
|
),
|
|
891
|
-
/* @__PURE__ */ jsx5(
|
|
892
|
+
/* @__PURE__ */ jsx5(
|
|
893
|
+
"span",
|
|
894
|
+
{
|
|
895
|
+
className: getSimplePaginationPageIndicatorClasses(),
|
|
896
|
+
"aria-label": finalPageIndicatorText,
|
|
897
|
+
children: finalPageIndicatorText
|
|
898
|
+
}
|
|
899
|
+
),
|
|
892
900
|
/* @__PURE__ */ jsx5(
|
|
893
901
|
"button",
|
|
894
902
|
{
|
|
895
903
|
className: getSimplePaginationButtonClasses(!hasNext),
|
|
896
904
|
disabled: !hasNext,
|
|
905
|
+
"aria-label": finalNextAriaLabel,
|
|
897
906
|
onClick: () => ctx.handlePageChange(ctx.currentPage + 1),
|
|
898
907
|
children: finalNextText
|
|
899
908
|
}
|
|
@@ -8,11 +8,14 @@ import {
|
|
|
8
8
|
getVirtualRowKey,
|
|
9
9
|
getVirtualTableFixedInfo,
|
|
10
10
|
getVirtualTableFixedCellStyle,
|
|
11
|
+
getTableFixedCellClasses,
|
|
12
|
+
getTableFixedHeaderCellClasses,
|
|
11
13
|
virtualTableHeaderClasses,
|
|
12
14
|
virtualTableHeaderCellClasses,
|
|
13
15
|
virtualTableCellClasses,
|
|
14
16
|
virtualTableEmptyClasses,
|
|
15
|
-
virtualTableLoadingClasses
|
|
17
|
+
virtualTableLoadingClasses,
|
|
18
|
+
virtualTableRowSelectedClasses
|
|
16
19
|
} from "@expcat/tigercat-core";
|
|
17
20
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
21
|
var VirtualTable = ({
|
|
@@ -77,7 +80,15 @@ var VirtualTable = ({
|
|
|
77
80
|
return /* @__PURE__ */ jsx(
|
|
78
81
|
"th",
|
|
79
82
|
{
|
|
80
|
-
className:
|
|
83
|
+
className: classNames(
|
|
84
|
+
virtualTableHeaderCellClasses,
|
|
85
|
+
getTableFixedHeaderCellClasses({
|
|
86
|
+
view: "virtual-table",
|
|
87
|
+
column: col,
|
|
88
|
+
stickyHeader,
|
|
89
|
+
fixedInfo
|
|
90
|
+
})
|
|
91
|
+
),
|
|
81
92
|
style: { ...widthStyle, ...stickyStyle },
|
|
82
93
|
children: col.title ?? ""
|
|
83
94
|
},
|
|
@@ -101,7 +112,21 @@ var VirtualTable = ({
|
|
|
101
112
|
children: columns.map((col) => /* @__PURE__ */ jsx(
|
|
102
113
|
"td",
|
|
103
114
|
{
|
|
104
|
-
className:
|
|
115
|
+
className: classNames(
|
|
116
|
+
virtualTableCellClasses,
|
|
117
|
+
getTableFixedCellClasses({
|
|
118
|
+
view: "virtual-table",
|
|
119
|
+
column: col,
|
|
120
|
+
record: row,
|
|
121
|
+
rowIndex: globalIdx,
|
|
122
|
+
striped,
|
|
123
|
+
stripedActive: striped && globalIdx % 2 === 1,
|
|
124
|
+
selected: isSelected,
|
|
125
|
+
hoverable: true,
|
|
126
|
+
fixedInfo,
|
|
127
|
+
selectedClassName: virtualTableRowSelectedClasses
|
|
128
|
+
})
|
|
129
|
+
),
|
|
105
130
|
style: getVirtualTableFixedCellStyle(col.key, fixedInfo),
|
|
106
131
|
children: renderCell ? renderCell(row[col.key], row, col) : String(row[col.key] ?? "")
|
|
107
132
|
},
|
|
@@ -13,6 +13,9 @@ var _react = require('react');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
16
19
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
17
20
|
var _jsxruntime = require('react/jsx-runtime');
|
|
18
21
|
var VirtualTable = ({
|
|
@@ -77,7 +80,15 @@ var VirtualTable = ({
|
|
|
77
80
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
78
81
|
"th",
|
|
79
82
|
{
|
|
80
|
-
className: _tigercatcore.
|
|
83
|
+
className: _tigercatcore.classNames.call(void 0,
|
|
84
|
+
_tigercatcore.virtualTableHeaderCellClasses,
|
|
85
|
+
_tigercatcore.getTableFixedHeaderCellClasses.call(void 0, {
|
|
86
|
+
view: "virtual-table",
|
|
87
|
+
column: col,
|
|
88
|
+
stickyHeader,
|
|
89
|
+
fixedInfo
|
|
90
|
+
})
|
|
91
|
+
),
|
|
81
92
|
style: { ...widthStyle, ...stickyStyle },
|
|
82
93
|
children: _nullishCoalesce(col.title, () => ( ""))
|
|
83
94
|
},
|
|
@@ -101,7 +112,21 @@ var VirtualTable = ({
|
|
|
101
112
|
children: columns.map((col) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
102
113
|
"td",
|
|
103
114
|
{
|
|
104
|
-
className: _tigercatcore.
|
|
115
|
+
className: _tigercatcore.classNames.call(void 0,
|
|
116
|
+
_tigercatcore.virtualTableCellClasses,
|
|
117
|
+
_tigercatcore.getTableFixedCellClasses.call(void 0, {
|
|
118
|
+
view: "virtual-table",
|
|
119
|
+
column: col,
|
|
120
|
+
record: row,
|
|
121
|
+
rowIndex: globalIdx,
|
|
122
|
+
striped,
|
|
123
|
+
stripedActive: striped && globalIdx % 2 === 1,
|
|
124
|
+
selected: isSelected,
|
|
125
|
+
hoverable: true,
|
|
126
|
+
fixedInfo,
|
|
127
|
+
selectedClassName: _tigercatcore.virtualTableRowSelectedClasses
|
|
128
|
+
})
|
|
129
|
+
),
|
|
105
130
|
style: _tigercatcore.getVirtualTableFixedCellStyle.call(void 0, col.key, fixedInfo),
|
|
106
131
|
children: renderCell ? renderCell(row[col.key], row, col) : String(_nullishCoalesce(row[col.key], () => ( "")))
|
|
107
132
|
},
|
|
@@ -491,6 +491,8 @@ function useTableState(input) {
|
|
|
491
491
|
|
|
492
492
|
|
|
493
493
|
|
|
494
|
+
|
|
495
|
+
|
|
494
496
|
function renderTableHeader(ctx, view) {
|
|
495
497
|
const { size, stickyHeader, rowSelection, expandable, columnLockable, columnDraggable } = view;
|
|
496
498
|
const expandHeaderTh = expandable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "th", { className: _tigercatcore.getExpandIconCellClasses.call(void 0, size), "aria-label": "Expand" }) : null;
|
|
@@ -513,17 +515,7 @@ function renderTableHeader(ctx, view) {
|
|
|
513
515
|
const isSorted = ctx.sortState.key === column.key;
|
|
514
516
|
const sortDirection = isSorted ? ctx.sortState.direction : null;
|
|
515
517
|
const ariaSort = column.sortable ? sortDirection === "asc" ? "ascending" : sortDirection === "desc" ? "descending" : "none" : void 0;
|
|
516
|
-
const
|
|
517
|
-
const isFixedRight = column.fixed === "right";
|
|
518
|
-
const fixedStyle = isFixedLeft ? {
|
|
519
|
-
position: "sticky",
|
|
520
|
-
left: `${ctx.fixedColumnsInfo.leftOffsets[column.key] || 0}px`,
|
|
521
|
-
zIndex: 15
|
|
522
|
-
} : isFixedRight ? {
|
|
523
|
-
position: "sticky",
|
|
524
|
-
right: `${ctx.fixedColumnsInfo.rightOffsets[column.key] || 0}px`,
|
|
525
|
-
zIndex: 15
|
|
526
|
-
} : void 0;
|
|
518
|
+
const fixedStyle = _tigercatcore.getFixedColumnStyle.call(void 0, column, ctx.fixedColumnsInfo, 15);
|
|
527
519
|
const widthStyle = column.width ? {
|
|
528
520
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
529
521
|
} : void 0;
|
|
@@ -540,7 +532,12 @@ function renderTableHeader(ctx, view) {
|
|
|
540
532
|
!!column.sortable,
|
|
541
533
|
column.headerClassName
|
|
542
534
|
),
|
|
543
|
-
(
|
|
535
|
+
_tigercatcore.getTableFixedHeaderCellClasses.call(void 0, {
|
|
536
|
+
view: "table",
|
|
537
|
+
column,
|
|
538
|
+
stickyHeader,
|
|
539
|
+
fixedInfo: ctx.fixedColumnsInfo
|
|
540
|
+
})
|
|
544
541
|
),
|
|
545
542
|
style,
|
|
546
543
|
draggable: columnDraggable ? true : void 0,
|
|
@@ -616,6 +613,8 @@ function renderTableHeader(ctx, view) {
|
|
|
616
613
|
|
|
617
614
|
|
|
618
615
|
|
|
616
|
+
|
|
617
|
+
|
|
619
618
|
function renderTableBody(ctx, view) {
|
|
620
619
|
const {
|
|
621
620
|
size,
|
|
@@ -713,26 +712,22 @@ function renderTableBody(ctx, view) {
|
|
|
713
712
|
ctx.displayColumns.map((column) => {
|
|
714
713
|
const dataKey = column.dataKey || column.key;
|
|
715
714
|
const cellValue = record[dataKey];
|
|
716
|
-
const
|
|
717
|
-
const isFixedRight = column.fixed === "right";
|
|
718
|
-
const fixedStyle = isFixedLeft ? {
|
|
719
|
-
position: "sticky",
|
|
720
|
-
left: `${ctx.fixedColumnsInfo.leftOffsets[column.key] || 0}px`,
|
|
721
|
-
zIndex: 10
|
|
722
|
-
} : isFixedRight ? {
|
|
723
|
-
position: "sticky",
|
|
724
|
-
right: `${ctx.fixedColumnsInfo.rightOffsets[column.key] || 0}px`,
|
|
725
|
-
zIndex: 10
|
|
726
|
-
} : void 0;
|
|
715
|
+
const fixedStyle = _tigercatcore.getFixedColumnStyle.call(void 0, column, ctx.fixedColumnsInfo, 10);
|
|
727
716
|
const widthStyle = column.width ? {
|
|
728
717
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
729
718
|
} : void 0;
|
|
730
719
|
const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
|
|
731
|
-
const
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
720
|
+
const stickyCellClass = _tigercatcore.getTableFixedCellClasses.call(void 0, {
|
|
721
|
+
view: "table",
|
|
722
|
+
column,
|
|
723
|
+
record,
|
|
724
|
+
rowIndex: index,
|
|
725
|
+
striped,
|
|
726
|
+
stripedActive: striped && index % 2 === 0,
|
|
727
|
+
selected: isSelected,
|
|
728
|
+
hoverable,
|
|
729
|
+
fixedInfo: ctx.fixedColumnsInfo
|
|
730
|
+
});
|
|
736
731
|
const isEditing = _optionalChain([ctx, 'access', _61 => _61.editingCell, 'optionalAccess', _62 => _62.rowIndex]) === index && _optionalChain([ctx, 'access', _63 => _63.editingCell, 'optionalAccess', _64 => _64.columnKey]) === column.key;
|
|
737
732
|
const cellEditable = ctx.isCellEditable(column.key, index);
|
|
738
733
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -843,14 +838,6 @@ function renderSummaryRow(ctx, view) {
|
|
|
843
838
|
|
|
844
839
|
|
|
845
840
|
|
|
846
|
-
var DEFAULT_PREV_TEXT = "Previous";
|
|
847
|
-
var DEFAULT_NEXT_TEXT = "Next";
|
|
848
|
-
function formatDefaultTotalText(total, range) {
|
|
849
|
-
return `Showing ${range[0]} to ${range[1]} of ${total} results`;
|
|
850
|
-
}
|
|
851
|
-
function formatDefaultPageIndicatorText(current, total) {
|
|
852
|
-
return `Page ${current} of ${total}`;
|
|
853
|
-
}
|
|
854
841
|
function renderPagination(ctx, view) {
|
|
855
842
|
const { pagination } = view;
|
|
856
843
|
if (pagination === false || !ctx.paginationInfo) {
|
|
@@ -860,12 +847,20 @@ function renderPagination(ctx, view) {
|
|
|
860
847
|
const paginationConfig = pagination;
|
|
861
848
|
const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.length;
|
|
862
849
|
const locale = view.disableI18n ? void 0 : view.locale;
|
|
863
|
-
const labels =
|
|
850
|
+
const labels = _tigercatcore.getPaginationLabels.call(void 0, locale);
|
|
864
851
|
const localeCode = _optionalChain([locale, 'optionalAccess', _66 => _66.locale]);
|
|
865
|
-
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) :
|
|
866
|
-
const finalPrevText = paginationConfig.prevText ||
|
|
867
|
-
const finalNextText = paginationConfig.nextText ||
|
|
868
|
-
const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage, totalPages) :
|
|
852
|
+
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : _tigercatcore.formatPaginationTotal.call(void 0, labels.totalText, total, [startIndex, endIndex], localeCode);
|
|
853
|
+
const finalPrevText = paginationConfig.prevText || labels.prevPageAriaLabel;
|
|
854
|
+
const finalNextText = paginationConfig.nextText || labels.nextPageAriaLabel;
|
|
855
|
+
const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage, totalPages) : _tigercatcore.formatPaginationPageIndicator.call(void 0,
|
|
856
|
+
labels.pageIndicatorText,
|
|
857
|
+
ctx.currentPage,
|
|
858
|
+
totalPages,
|
|
859
|
+
localeCode
|
|
860
|
+
);
|
|
861
|
+
const finalPrevAriaLabel = view.disableI18n ? finalPrevText : labels.prevPageAriaLabel;
|
|
862
|
+
const finalNextAriaLabel = view.disableI18n ? finalNextText : labels.nextPageAriaLabel;
|
|
863
|
+
const normalizedPageSizeOptions = paginationConfig.pageSizeOptions || [10, 20, 50, 100];
|
|
869
864
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getSimplePaginationContainerClasses.call(void 0, ), children: [
|
|
870
865
|
paginationConfig.showTotal !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ), children: finalTotalText }),
|
|
871
866
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getSimplePaginationControlsClasses.call(void 0, ), children: [
|
|
@@ -874,8 +869,13 @@ function renderPagination(ctx, view) {
|
|
|
874
869
|
{
|
|
875
870
|
className: _tigercatcore.getSimplePaginationSelectClasses.call(void 0, ),
|
|
876
871
|
value: ctx.currentPageSize,
|
|
872
|
+
"aria-label": labels.itemsPerPageText,
|
|
877
873
|
onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value)),
|
|
878
|
-
children:
|
|
874
|
+
children: normalizedPageSizeOptions.map((option) => {
|
|
875
|
+
const value = typeof option === "number" ? option : option.value;
|
|
876
|
+
const label = typeof option === "number" ? `${_tigercatcore.formatIntlNumber.call(void 0, value, localeCode)} ${labels.itemsPerPageText}` : _nullishCoalesce(option.label, () => ( `${_tigercatcore.formatIntlNumber.call(void 0, value, localeCode)} ${labels.itemsPerPageText}`));
|
|
877
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "option", { value, children: paginationConfig.pageSizeText ? paginationConfig.pageSizeText(value) : label }, value);
|
|
878
|
+
})
|
|
879
879
|
}
|
|
880
880
|
),
|
|
881
881
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getSimplePaginationButtonsWrapperClasses.call(void 0, ), children: [
|
|
@@ -884,16 +884,25 @@ function renderPagination(ctx, view) {
|
|
|
884
884
|
{
|
|
885
885
|
className: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasPrev),
|
|
886
886
|
disabled: !hasPrev,
|
|
887
|
+
"aria-label": finalPrevAriaLabel,
|
|
887
888
|
onClick: () => ctx.handlePageChange(ctx.currentPage - 1),
|
|
888
889
|
children: finalPrevText
|
|
889
890
|
}
|
|
890
891
|
),
|
|
891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
892
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
893
|
+
"span",
|
|
894
|
+
{
|
|
895
|
+
className: _tigercatcore.getSimplePaginationPageIndicatorClasses.call(void 0, ),
|
|
896
|
+
"aria-label": finalPageIndicatorText,
|
|
897
|
+
children: finalPageIndicatorText
|
|
898
|
+
}
|
|
899
|
+
),
|
|
892
900
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
893
901
|
"button",
|
|
894
902
|
{
|
|
895
903
|
className: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasNext),
|
|
896
904
|
disabled: !hasNext,
|
|
905
|
+
"aria-label": finalNextAriaLabel,
|
|
897
906
|
onClick: () => ctx.handlePageChange(ctx.currentPage + 1),
|
|
898
907
|
children: finalNextText
|
|
899
908
|
}
|
|
@@ -1136,7 +1145,7 @@ function Table({
|
|
|
1136
1145
|
const key = ctx.pageRowKeys[index];
|
|
1137
1146
|
const isExpanded = ctx.expandedRowKeySet.has(key);
|
|
1138
1147
|
const isRowExpandable = internalExpandable ? internalExpandable.rowExpandable ? internalExpandable.rowExpandable(record) : true : false;
|
|
1139
|
-
const expandedContent = internalExpandable && isExpanded && isRowExpandable ? _optionalChain([internalExpandable, 'access',
|
|
1148
|
+
const expandedContent = internalExpandable && isExpanded && isRowExpandable ? _optionalChain([internalExpandable, 'access', _67 => _67.expandedRowRender, 'optionalCall', _68 => _68(record, index)]) : null;
|
|
1140
1149
|
const expandedNode = expandedContent;
|
|
1141
1150
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1142
1151
|
"div",
|
|
@@ -1144,13 +1153,13 @@ function Table({
|
|
|
1144
1153
|
className: _tigercatcore.tableResponsiveCardClasses,
|
|
1145
1154
|
onClick: () => ctx.handleRowClick(record, index, key),
|
|
1146
1155
|
children: [
|
|
1147
|
-
_optionalChain([internalRowSelection, 'optionalAccess',
|
|
1156
|
+
_optionalChain([internalRowSelection, 'optionalAccess', _69 => _69.showCheckbox]) !== false && internalRowSelection || internalExpandable && isRowExpandable ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2 flex items-center gap-3", children: [
|
|
1148
1157
|
internalRowSelection && internalRowSelection.showCheckbox !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1149
1158
|
"input",
|
|
1150
1159
|
{
|
|
1151
1160
|
type: internalRowSelection.type === "radio" ? "radio" : "checkbox",
|
|
1152
1161
|
checked: ctx.selectedRowKeySet.has(key),
|
|
1153
|
-
disabled: _optionalChain([internalRowSelection, 'access',
|
|
1162
|
+
disabled: _optionalChain([internalRowSelection, 'access', _70 => _70.getCheckboxProps, 'optionalCall', _71 => _71(record), 'optionalAccess', _72 => _72.disabled]),
|
|
1154
1163
|
onClick: (event) => event.stopPropagation(),
|
|
1155
1164
|
onChange: (event) => ctx.handleSelectRow(key, event.target.checked)
|
|
1156
1165
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkVAZYY35Fjs = require('./chunk-VAZYY35F.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk6Z4LLPZAjs = require('./chunk-6Z4LLPZA.js');
|
|
@@ -248,7 +248,7 @@ var DataTableWithToolbar = ({
|
|
|
248
248
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: wrapperClasses, "data-tiger-data-table-with-toolbar": true, children: [
|
|
249
249
|
renderToolbar(),
|
|
250
250
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
251
|
-
|
|
251
|
+
_chunkVAZYY35Fjs.Table,
|
|
252
252
|
{
|
|
253
253
|
...remainingTableProps,
|
|
254
254
|
bordered,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkVHHYTCZQjs = require('../chunk-VHHYTCZQ.js');
|
|
5
|
+
require('../chunk-VAZYY35F.js');
|
|
6
6
|
require('../chunk-6Z4LLPZA.js');
|
|
7
7
|
require('../chunk-TDODFBBO.js');
|
|
8
8
|
require('../chunk-ZYJTHGQW.js');
|
|
@@ -11,4 +11,4 @@ require('../chunk-YMKA4L3Z.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.DataTableWithToolbar =
|
|
14
|
+
exports.DataTableWithToolbar = _chunkVHHYTCZQjs.DataTableWithToolbar; exports.default = _chunkVHHYTCZQjs.DataTableWithToolbar_default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataTableWithToolbar,
|
|
3
3
|
DataTableWithToolbar_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-VXOLIMK2.mjs";
|
|
5
|
+
import "../chunk-AIXYHS2L.mjs";
|
|
6
6
|
import "../chunk-T4OVGM4X.mjs";
|
|
7
7
|
import "../chunk-QAIBQHIO.mjs";
|
|
8
8
|
import "../chunk-WNLUUD5N.mjs";
|
package/dist/components/Table.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkVAZYY35Fjs = require('../chunk-VAZYY35F.js');
|
|
4
4
|
require('../chunk-TDODFBBO.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.Table =
|
|
7
|
+
exports.Table = _chunkVAZYY35Fjs.Table;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkO7WBBZ7Jjs = require('../chunk-O7WBBZ7J.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.VirtualTable =
|
|
8
|
+
exports.VirtualTable = _chunkO7WBBZ7Jjs.VirtualTable; exports.default = _chunkO7WBBZ7Jjs.VirtualTable_default;
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ var _chunkCBYJXDW4js = require('./chunk-CBYJXDW4.js');
|
|
|
21
21
|
var _chunkUHFHOTNIjs = require('./chunk-UHFHOTNI.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkO7WBBZ7Jjs = require('./chunk-O7WBBZ7J.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunk4SO4LANYjs = require('./chunk-4SO4LANY.js');
|
|
@@ -266,10 +266,10 @@ var _chunkSXHP4Q7Ojs = require('./chunk-SXHP4Q7O.js');
|
|
|
266
266
|
var _chunkFI53LYZ6js = require('./chunk-FI53LYZ6.js');
|
|
267
267
|
|
|
268
268
|
|
|
269
|
-
var
|
|
269
|
+
var _chunkVHHYTCZQjs = require('./chunk-VHHYTCZQ.js');
|
|
270
270
|
|
|
271
271
|
|
|
272
|
-
var
|
|
272
|
+
var _chunkVAZYY35Fjs = require('./chunk-VAZYY35F.js');
|
|
273
273
|
|
|
274
274
|
|
|
275
275
|
var _chunk6Z4LLPZAjs = require('./chunk-6Z4LLPZA.js');
|
|
@@ -907,4 +907,4 @@ var version = "1.2.0";
|
|
|
907
907
|
|
|
908
908
|
|
|
909
909
|
|
|
910
|
-
exports.ActivityFeed = _chunkUVWLYRACjs.ActivityFeed; exports.Affix = _chunkRYIYE2PYjs.Affix; exports.Alert = _chunkVNMWPJDNjs.Alert; exports.Anchor = _chunkSQGFNVYTjs.Anchor; exports.AnchorLink = _chunkSQGFNVYTjs.AnchorLink; exports.AreaChart = _chunkDCKBVRLIjs.AreaChart; exports.AutoComplete = _chunkU356F7GUjs.AutoComplete; exports.Avatar = _chunk4MQCUKICjs.Avatar; exports.AvatarGroup = _chunkTQOWIDQTjs.AvatarGroup; exports.BackTop = _chunk4LIDROT4js.BackTop; exports.Badge = _chunkPNAWOJ32js.Badge; exports.BarChart = _chunkNMKFR435js.BarChart; exports.Breadcrumb = _chunkVDF2BD2Ajs.Breadcrumb; exports.BreadcrumbItem = _chunkVDF2BD2Ajs.BreadcrumbItem; exports.Button = _chunk56ZV3VVYjs.Button; exports.ButtonGroup = _chunkYMKA4L3Zjs.ButtonGroup; exports.Calendar = _chunk5EVHVZG5js.Calendar; exports.Card = _chunkUIO6O4MIjs.Card; exports.Carousel = _chunkB5TUTAVXjs.Carousel; exports.Cascader = _chunkTC6JLEGZjs.Cascader; exports.ChartAxis = _chunkE5GD3H7Ljs.ChartAxis; exports.ChartCanvas = _chunkUKLVOR4Ejs.ChartCanvas; exports.ChartGrid = _chunk3QFHVAZTjs.ChartGrid; exports.ChartLegend = _chunkWV5XHYW6js.ChartLegend; exports.ChartSeries = _chunkAX5XRD2Qjs.ChartSeries; exports.ChartTooltip = _chunkUVMQJOTXjs.ChartTooltip; exports.ChatWindow = _chunk7KPALCG3js.ChatWindow; exports.Checkbox = _chunkF7H4ALKNjs.Checkbox; exports.CheckboxGroup = _chunkJLRRXRZOjs.CheckboxGroup; exports.Code = _chunkRTHC4KWMjs.Code; exports.CodeEditor = _chunk3E76U2RGjs.CodeEditor; exports.Col = _chunkQQKP437Ljs.Col; exports.Collapse = _chunkQ2GPRAF4js.Collapse; exports.CollapsePanel = _chunkWN3ZI7FNjs.CollapsePanel; exports.ColorPicker = _chunkJB33A4S6js.ColorPicker; exports.ColorSwatch = _chunkJ4SNBXJMjs.ColorSwatch; exports.CommentThread = _chunkJCINYGGMjs.CommentThread; exports.ConfigProvider = _chunkTDODFBBOjs.ConfigProvider; exports.Container = _chunkW3VLCSJLjs.Container; exports.Content = _chunkOFCKGWTSjs.Content; exports.Countdown = _chunkU3M24RPHjs.Countdown; exports.CronEditor = _chunkNRLGZRK2js.CronEditor; exports.CropUpload = _chunkKTV3ZDSQjs.CropUpload; exports.DataTableWithToolbar =
|
|
910
|
+
exports.ActivityFeed = _chunkUVWLYRACjs.ActivityFeed; exports.Affix = _chunkRYIYE2PYjs.Affix; exports.Alert = _chunkVNMWPJDNjs.Alert; exports.Anchor = _chunkSQGFNVYTjs.Anchor; exports.AnchorLink = _chunkSQGFNVYTjs.AnchorLink; exports.AreaChart = _chunkDCKBVRLIjs.AreaChart; exports.AutoComplete = _chunkU356F7GUjs.AutoComplete; exports.Avatar = _chunk4MQCUKICjs.Avatar; exports.AvatarGroup = _chunkTQOWIDQTjs.AvatarGroup; exports.BackTop = _chunk4LIDROT4js.BackTop; exports.Badge = _chunkPNAWOJ32js.Badge; exports.BarChart = _chunkNMKFR435js.BarChart; exports.Breadcrumb = _chunkVDF2BD2Ajs.Breadcrumb; exports.BreadcrumbItem = _chunkVDF2BD2Ajs.BreadcrumbItem; exports.Button = _chunk56ZV3VVYjs.Button; exports.ButtonGroup = _chunkYMKA4L3Zjs.ButtonGroup; exports.Calendar = _chunk5EVHVZG5js.Calendar; exports.Card = _chunkUIO6O4MIjs.Card; exports.Carousel = _chunkB5TUTAVXjs.Carousel; exports.Cascader = _chunkTC6JLEGZjs.Cascader; exports.ChartAxis = _chunkE5GD3H7Ljs.ChartAxis; exports.ChartCanvas = _chunkUKLVOR4Ejs.ChartCanvas; exports.ChartGrid = _chunk3QFHVAZTjs.ChartGrid; exports.ChartLegend = _chunkWV5XHYW6js.ChartLegend; exports.ChartSeries = _chunkAX5XRD2Qjs.ChartSeries; exports.ChartTooltip = _chunkUVMQJOTXjs.ChartTooltip; exports.ChatWindow = _chunk7KPALCG3js.ChatWindow; exports.Checkbox = _chunkF7H4ALKNjs.Checkbox; exports.CheckboxGroup = _chunkJLRRXRZOjs.CheckboxGroup; exports.Code = _chunkRTHC4KWMjs.Code; exports.CodeEditor = _chunk3E76U2RGjs.CodeEditor; exports.Col = _chunkQQKP437Ljs.Col; exports.Collapse = _chunkQ2GPRAF4js.Collapse; exports.CollapsePanel = _chunkWN3ZI7FNjs.CollapsePanel; exports.ColorPicker = _chunkJB33A4S6js.ColorPicker; exports.ColorSwatch = _chunkJ4SNBXJMjs.ColorSwatch; exports.CommentThread = _chunkJCINYGGMjs.CommentThread; exports.ConfigProvider = _chunkTDODFBBOjs.ConfigProvider; exports.Container = _chunkW3VLCSJLjs.Container; exports.Content = _chunkOFCKGWTSjs.Content; exports.Countdown = _chunkU3M24RPHjs.Countdown; exports.CronEditor = _chunkNRLGZRK2js.CronEditor; exports.CropUpload = _chunkKTV3ZDSQjs.CropUpload; exports.DataTableWithToolbar = _chunkVHHYTCZQjs.DataTableWithToolbar; exports.DatePicker = _chunkTSJYAEFZjs.DatePicker; exports.Descriptions = _chunk6CWZXS5Bjs.Descriptions; exports.Divider = _chunkIZXU7DF6js.Divider; exports.DonutChart = _chunkK2TXT5HQjs.DonutChart; exports.Drawer = _chunkOHSJ4KTUjs.Drawer; exports.Dropdown = _chunkAKZY7QYAjs.Dropdown; exports.DropdownItem = _chunkC3NKZZQQjs.DropdownItem; exports.DropdownMenu = _chunkAKZY7QYAjs.DropdownMenu; exports.Empty = _chunkZRHDNGWOjs.Empty; exports.FileManager = _chunkHR5GBE3Pjs.FileManager; exports.FloatButton = _chunkXFPJYKBQjs.FloatButton; exports.FloatButtonGroup = _chunkXFPJYKBQjs.FloatButtonGroup; exports.Footer = _chunkTB2UHDOZjs.Footer; exports.Form = _chunkUPPHGL64js.Form; exports.FormItem = _chunkBCQQYERGjs.FormItem; exports.FormWizard = _chunkP4INKEQ3js.FormWizard; exports.FunnelChart = _chunkQIKR5EFIjs.FunnelChart; exports.Gantt = _chunkQMK4OFC5js.Gantt; exports.GaugeChart = _chunkT7KO6EVKjs.GaugeChart; exports.Header = _chunkVJJ76I7Ujs.Header; exports.HeatmapChart = _chunkH6NC6SBXjs.HeatmapChart; exports.Icon = _chunkIHH2O7YKjs.Icon; exports.Image = _chunkCGIBGSNEjs.Image; exports.ImageAnnotation = _chunkEHIXCFD7js.ImageAnnotation; exports.ImageCropper = _chunkFI53LYZ6js.ImageCropper; exports.ImageGroup = _chunkMB6U72CIjs.ImageGroup; exports.ImageGroupContext = _chunkMB6U72CIjs.ImageGroupContext; exports.ImagePreview = _chunk4U5HSR2Hjs.ImagePreview; exports.ImageViewer = _chunkUXUYCWQCjs.ImageViewer; exports.InfiniteScroll = _chunkM73NMNZXjs.InfiniteScroll; exports.Input = _chunkZYJTHGQWjs.Input; exports.InputGroup = _chunkI3CDTF4Ujs.InputGroup; exports.InputGroupAddon = _chunkI3CDTF4Ujs.InputGroupAddon; exports.InputNumber = _chunkSKMZTW3Kjs.InputNumber; exports.Kanban = _chunkK5B4XXAIjs.Kanban; exports.Layout = _chunkD6TKXVEBjs.Layout; exports.LineChart = _chunkEQD2U4KMjs.LineChart; exports.Link = _chunkQYYAXM5Fjs.Link; exports.List = _chunkWG3YS2QVjs.List; exports.Loading = _chunk3MRP3XYIjs.Loading; exports.MarkdownEditor = _chunkBFAZZUD6js.MarkdownEditor; exports.Mentions = _chunkXRNKHQTLjs.Mentions; exports.Menu = _chunkZDGBH4NAjs.Menu; exports.MenuItem = _chunkZDGBH4NAjs.MenuItem; exports.MenuItemGroup = _chunkZDGBH4NAjs.MenuItemGroup; exports.Message = _chunkLMTUM3J3js.Message; exports.MessageContainer = _chunkLMTUM3J3js.MessageContainer; exports.Modal = _chunkSXHP4Q7Ojs.Modal; exports.NotificationCenter = _chunkFZIF5LZWjs.NotificationCenter; exports.NotificationContainer = _chunkNMEVQPODjs.NotificationContainer; exports.NumberKeyboard = _chunkG5USITWFjs.NumberKeyboard; exports.OrgChart = _chunk4DTMFQCYjs.OrgChart; exports.Pagination = _chunkKEF2PEP4js.Pagination; exports.PieChart = _chunkBO45CU4Qjs.PieChart; exports.Popconfirm = _chunkJNRUOQNTjs.Popconfirm; exports.Popover = _chunkIAONLOJNjs.Popover; exports.PrintLayout = _chunkQ4JMAQXJjs.PrintLayout; exports.PrintPageBreak = _chunkQ4JMAQXJjs.PrintPageBreak; exports.Progress = _chunkLODDAS62js.Progress; exports.QRCode = _chunkAUW7DCXLjs.QRCode; exports.RadarChart = _chunkEOU6WZTSjs.RadarChart; exports.Radio = _chunkTMON4MPOjs.Radio; exports.RadioGroup = _chunkZFMMAYSXjs.RadioGroup; exports.Rate = _chunkGG72T6JKjs.Rate; exports.Resizable = _chunkPFYK2V3Ejs.Resizable; exports.Result = _chunkYID7J6ZKjs.Result; exports.RichTextEditor = _chunkONTRGV5Tjs.RichTextEditor; exports.Row = _chunkVE3SYUMHjs.Row; exports.ScatterChart = _chunkW6AWN7BCjs.ScatterChart; exports.ScrollSpy = _chunkFBFCJCONjs.ScrollSpy; exports.Segmented = _chunkN2JYU4JIjs.Segmented; exports.Select = _chunk6Z4LLPZAjs.Select; exports.Sidebar = _chunkYWTZALG5js.Sidebar; exports.Signature = _chunk7ISEWLA3js.Signature; exports.Skeleton = _chunk4PPTEEDIjs.Skeleton; exports.Slider = _chunk7Z64GEMNjs.Slider; exports.Space = _chunkPTEDJ6MAjs.Space; exports.Splitter = _chunkH4AR4GXHjs.Splitter; exports.Spotlight = _chunkKYP7U6FKjs.Spotlight; exports.Statistic = _chunkZDXIP33Yjs.Statistic; exports.Stepper = _chunkMB3QU3USjs.Stepper; exports.Steps = _chunkM7HBWFQOjs.Steps; exports.StepsItem = _chunkM7HBWFQOjs.StepsItem; exports.SubMenu = _chunkZDGBH4NAjs.SubMenu; exports.SunburstChart = _chunkUIIOZEUPjs.SunburstChart; exports.Switch = _chunk4TEILQSNjs.Switch; exports.TabPane = _chunkRFHPG4KNjs.TabPane; exports.Table = _chunkVAZYY35Fjs.Table; exports.Tabs = _chunkRFHPG4KNjs.Tabs; exports.Tag = _chunkVCULFIZ5js.Tag; exports.TaskBoard = _chunkFXVKJWUPjs.TaskBoard; exports.Text = _chunkUF3DXKCIjs.Text; exports.Textarea = _chunkWVVXZKNIjs.Textarea; exports.TimePicker = _chunk4SO4LANYjs.TimePicker; exports.Timeline = _chunkPR3PQUKMjs.Timeline; exports.Tooltip = _chunkKRFD27WAjs.Tooltip; exports.Tour = _chunkKQ5I7PRMjs.Tour; exports.Transfer = _chunkEF5ZTNHXjs.Transfer; exports.Tree = _chunkSIY6FDKJjs.Tree; exports.TreeMapChart = _chunkX7JAYXPYjs.TreeMapChart; exports.TreeSelect = _chunkCBYJXDW4js.TreeSelect; exports.Upload = _chunkUHFHOTNIjs.Upload; exports.VirtualList = _chunkP36GX65Njs.VirtualList; exports.VirtualTable = _chunkO7WBBZ7Jjs.VirtualTable; exports.Watermark = _chunkCHPJPIW6js.Watermark; exports.notification = _chunkNMEVQPODjs.notification; exports.useAnchorContext = _chunkSQGFNVYTjs.useAnchorContext; exports.useBreadcrumbContext = _chunkVDF2BD2Ajs.useBreadcrumbContext; exports.useChartInteraction = _chunkXTV5JLLCjs.useChartInteraction; exports.useCollapseContext = _chunkQ2GPRAF4js.useCollapseContext; exports.useControlledState = _chunkUKGQ7256js.useControlledState; exports.useDrag = useDrag; exports.useFormContext = _chunkUPPHGL64js.useFormContext; exports.useFormController = useFormController; exports.useMenuContext = _chunkZDGBH4NAjs.useMenuContext; exports.useStepsContext = _chunkM7HBWFQOjs.useStepsContext; exports.useTabsContext = _chunkRFHPG4KNjs.useTabsContext; exports.useTigerConfig = _chunkTDODFBBOjs.useTigerConfig; exports.version = version;
|
package/dist/index.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-3ZNZLGQO.mjs";
|
|
22
22
|
import {
|
|
23
23
|
VirtualTable
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-M26BTAIB.mjs";
|
|
25
25
|
import {
|
|
26
26
|
TimePicker
|
|
27
27
|
} from "./chunk-VNVGSPBI.mjs";
|
|
@@ -266,10 +266,10 @@ import {
|
|
|
266
266
|
} from "./chunk-SY23FAXK.mjs";
|
|
267
267
|
import {
|
|
268
268
|
DataTableWithToolbar
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-VXOLIMK2.mjs";
|
|
270
270
|
import {
|
|
271
271
|
Table
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-AIXYHS2L.mjs";
|
|
273
273
|
import {
|
|
274
274
|
Select
|
|
275
275
|
} from "./chunk-T4OVGM4X.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.33",
|
|
4
4
|
"description": "React components for Tigercat UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yizhe Wang",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@expcat/tigercat-core": "1.2.
|
|
50
|
+
"@expcat/tigercat-core": "1.2.33"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/node": "^25.6.0",
|