@expcat/tigercat-react 1.2.31 → 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.
@@ -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 isFixedLeft = column.fixed === "left";
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
- (isFixedLeft || isFixedRight) && "bg-[var(--tiger-surface-muted,#f9fafb)]"
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 isFixedLeft = column.fixed === "left";
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 stickyBgClass = striped && index % 2 === 0 ? "bg-[var(--tiger-surface-muted,#f9fafb)]/50" : "bg-[var(--tiger-surface,#ffffff)]";
732
- const stickyCellClass = isFixedLeft || isFixedRight ? classNames2(
733
- stickyBgClass,
734
- hoverable && "group-hover:bg-[var(--tiger-surface-muted,#f9fafb)]"
735
- ) : void 0;
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,
@@ -852,18 +847,20 @@ function renderPagination(ctx, view) {
852
847
  const paginationConfig = pagination;
853
848
  const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.length;
854
849
  const locale = view.disableI18n ? void 0 : view.locale;
855
- const labels = locale ? getPaginationLabels(locale) : void 0;
850
+ const labels = getPaginationLabels(locale);
856
851
  const localeCode = locale?.locale;
857
- const isZh = !!localeCode?.startsWith("zh") || locale?.formWizard?.prevText === "\u4E0A\u4E00\u6B65" || locale?.upload?.clickToUploadText === "\u70B9\u51FB\u4E0A\u4F20";
858
- const defaultTotalText = (t, range) => isZh ? `\u5171 ${t} \u6761` : `Showing ${range[0]} to ${range[1]} of ${t} results`;
859
- const defaultPrevText = isZh ? "\u4E0A\u4E00\u9875" : "Previous";
860
- const defaultNextText = isZh ? "\u4E0B\u4E00\u9875" : "Next";
861
- const defaultPageIndicatorText = (current, total2) => isZh ? `\u7B2C ${current} \u9875 / \u5171 ${total2} \u9875` : `Page ${current} of ${total2}`;
862
- const defaultPageSizeText = (size) => isZh ? `${size} \u6761/\u9875` : `${size} / page`;
863
- const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : labels ? formatPaginationTotal(labels.totalText, total, [startIndex, endIndex], localeCode) : defaultTotalText(total, [startIndex, endIndex]);
864
- const finalPrevText = paginationConfig.prevText || labels?.prevPageAriaLabel || defaultPrevText;
865
- const finalNextText = paginationConfig.nextText || labels?.nextPageAriaLabel || defaultNextText;
866
- const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage, totalPages) : labels ? `${formatPageAriaLabel(labels.pageAriaLabel, ctx.currentPage, localeCode)} / ${formatIntlNumber(totalPages, localeCode)} ${labels.pageText}` : defaultPageIndicatorText(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];
867
864
  return /* @__PURE__ */ jsxs4("div", { className: getSimplePaginationContainerClasses(), children: [
868
865
  paginationConfig.showTotal !== false && /* @__PURE__ */ jsx5("div", { className: getSimplePaginationTotalClasses(), children: finalTotalText }),
869
866
  /* @__PURE__ */ jsxs4("div", { className: getSimplePaginationControlsClasses(), children: [
@@ -872,8 +869,13 @@ function renderPagination(ctx, view) {
872
869
  {
873
870
  className: getSimplePaginationSelectClasses(),
874
871
  value: ctx.currentPageSize,
872
+ "aria-label": labels.itemsPerPageText,
875
873
  onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value)),
876
- children: (paginationConfig.pageSizeOptions || [10, 20, 50, 100]).map((size) => /* @__PURE__ */ jsx5("option", { value: size, children: paginationConfig.pageSizeText ? paginationConfig.pageSizeText(size) : labels ? `${formatIntlNumber(size, localeCode)} ${labels.itemsPerPageText}` : defaultPageSizeText(size) }, size))
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
+ })
877
879
  }
878
880
  ),
879
881
  /* @__PURE__ */ jsxs4("div", { className: getSimplePaginationButtonsWrapperClasses(), children: [
@@ -882,16 +884,25 @@ function renderPagination(ctx, view) {
882
884
  {
883
885
  className: getSimplePaginationButtonClasses(!hasPrev),
884
886
  disabled: !hasPrev,
887
+ "aria-label": finalPrevAriaLabel,
885
888
  onClick: () => ctx.handlePageChange(ctx.currentPage - 1),
886
889
  children: finalPrevText
887
890
  }
888
891
  ),
889
- /* @__PURE__ */ jsx5("span", { className: getSimplePaginationPageIndicatorClasses(), children: finalPageIndicatorText }),
892
+ /* @__PURE__ */ jsx5(
893
+ "span",
894
+ {
895
+ className: getSimplePaginationPageIndicatorClasses(),
896
+ "aria-label": finalPageIndicatorText,
897
+ children: finalPageIndicatorText
898
+ }
899
+ ),
890
900
  /* @__PURE__ */ jsx5(
891
901
  "button",
892
902
  {
893
903
  className: getSimplePaginationButtonClasses(!hasNext),
894
904
  disabled: !hasNext,
905
+ "aria-label": finalNextAriaLabel,
895
906
  onClick: () => ctx.handlePageChange(ctx.currentPage + 1),
896
907
  children: finalNextText
897
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: virtualTableHeaderCellClasses,
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: virtualTableCellClasses,
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.virtualTableHeaderCellClasses,
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.virtualTableCellClasses,
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 isFixedLeft = column.fixed === "left";
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
- (isFixedLeft || isFixedRight) && "bg-[var(--tiger-surface-muted,#f9fafb)]"
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 isFixedLeft = column.fixed === "left";
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 stickyBgClass = striped && index % 2 === 0 ? "bg-[var(--tiger-surface-muted,#f9fafb)]/50" : "bg-[var(--tiger-surface,#ffffff)]";
732
- const stickyCellClass = isFixedLeft || isFixedRight ? _tigercatcore.classNames.call(void 0,
733
- stickyBgClass,
734
- hoverable && "group-hover:bg-[var(--tiger-surface-muted,#f9fafb)]"
735
- ) : void 0;
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,
@@ -852,18 +847,20 @@ function renderPagination(ctx, view) {
852
847
  const paginationConfig = pagination;
853
848
  const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.length;
854
849
  const locale = view.disableI18n ? void 0 : view.locale;
855
- const labels = locale ? _tigercatcore.getPaginationLabels.call(void 0, locale) : void 0;
850
+ const labels = _tigercatcore.getPaginationLabels.call(void 0, locale);
856
851
  const localeCode = _optionalChain([locale, 'optionalAccess', _66 => _66.locale]);
857
- const isZh = !!_optionalChain([localeCode, 'optionalAccess', _67 => _67.startsWith, 'call', _68 => _68("zh")]) || _optionalChain([locale, 'optionalAccess', _69 => _69.formWizard, 'optionalAccess', _70 => _70.prevText]) === "\u4E0A\u4E00\u6B65" || _optionalChain([locale, 'optionalAccess', _71 => _71.upload, 'optionalAccess', _72 => _72.clickToUploadText]) === "\u70B9\u51FB\u4E0A\u4F20";
858
- const defaultTotalText = (t, range) => isZh ? `\u5171 ${t} \u6761` : `Showing ${range[0]} to ${range[1]} of ${t} results`;
859
- const defaultPrevText = isZh ? "\u4E0A\u4E00\u9875" : "Previous";
860
- const defaultNextText = isZh ? "\u4E0B\u4E00\u9875" : "Next";
861
- const defaultPageIndicatorText = (current, total2) => isZh ? `\u7B2C ${current} \u9875 / \u5171 ${total2} \u9875` : `Page ${current} of ${total2}`;
862
- const defaultPageSizeText = (size) => isZh ? `${size} \u6761/\u9875` : `${size} / page`;
863
- const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : labels ? _tigercatcore.formatPaginationTotal.call(void 0, labels.totalText, total, [startIndex, endIndex], localeCode) : defaultTotalText(total, [startIndex, endIndex]);
864
- const finalPrevText = paginationConfig.prevText || _optionalChain([labels, 'optionalAccess', _73 => _73.prevPageAriaLabel]) || defaultPrevText;
865
- const finalNextText = paginationConfig.nextText || _optionalChain([labels, 'optionalAccess', _74 => _74.nextPageAriaLabel]) || defaultNextText;
866
- const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage, totalPages) : labels ? `${_tigercatcore.formatPageAriaLabel.call(void 0, labels.pageAriaLabel, ctx.currentPage, localeCode)} / ${_tigercatcore.formatIntlNumber.call(void 0, totalPages, localeCode)} ${labels.pageText}` : defaultPageIndicatorText(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];
867
864
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getSimplePaginationContainerClasses.call(void 0, ), children: [
868
865
  paginationConfig.showTotal !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ), children: finalTotalText }),
869
866
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getSimplePaginationControlsClasses.call(void 0, ), children: [
@@ -872,8 +869,13 @@ function renderPagination(ctx, view) {
872
869
  {
873
870
  className: _tigercatcore.getSimplePaginationSelectClasses.call(void 0, ),
874
871
  value: ctx.currentPageSize,
872
+ "aria-label": labels.itemsPerPageText,
875
873
  onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value)),
876
- children: (paginationConfig.pageSizeOptions || [10, 20, 50, 100]).map((size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "option", { value: size, children: paginationConfig.pageSizeText ? paginationConfig.pageSizeText(size) : labels ? `${_tigercatcore.formatIntlNumber.call(void 0, size, localeCode)} ${labels.itemsPerPageText}` : defaultPageSizeText(size) }, size))
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
+ })
877
879
  }
878
880
  ),
879
881
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _tigercatcore.getSimplePaginationButtonsWrapperClasses.call(void 0, ), children: [
@@ -882,16 +884,25 @@ function renderPagination(ctx, view) {
882
884
  {
883
885
  className: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasPrev),
884
886
  disabled: !hasPrev,
887
+ "aria-label": finalPrevAriaLabel,
885
888
  onClick: () => ctx.handlePageChange(ctx.currentPage - 1),
886
889
  children: finalPrevText
887
890
  }
888
891
  ),
889
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _tigercatcore.getSimplePaginationPageIndicatorClasses.call(void 0, ), children: finalPageIndicatorText }),
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
+ ),
890
900
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
891
901
  "button",
892
902
  {
893
903
  className: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasNext),
894
904
  disabled: !hasNext,
905
+ "aria-label": finalNextAriaLabel,
895
906
  onClick: () => ctx.handlePageChange(ctx.currentPage + 1),
896
907
  children: finalNextText
897
908
  }
@@ -1134,7 +1145,7 @@ function Table({
1134
1145
  const key = ctx.pageRowKeys[index];
1135
1146
  const isExpanded = ctx.expandedRowKeySet.has(key);
1136
1147
  const isRowExpandable = internalExpandable ? internalExpandable.rowExpandable ? internalExpandable.rowExpandable(record) : true : false;
1137
- const expandedContent = internalExpandable && isExpanded && isRowExpandable ? _optionalChain([internalExpandable, 'access', _75 => _75.expandedRowRender, 'optionalCall', _76 => _76(record, index)]) : null;
1148
+ const expandedContent = internalExpandable && isExpanded && isRowExpandable ? _optionalChain([internalExpandable, 'access', _67 => _67.expandedRowRender, 'optionalCall', _68 => _68(record, index)]) : null;
1138
1149
  const expandedNode = expandedContent;
1139
1150
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1140
1151
  "div",
@@ -1142,13 +1153,13 @@ function Table({
1142
1153
  className: _tigercatcore.tableResponsiveCardClasses,
1143
1154
  onClick: () => ctx.handleRowClick(record, index, key),
1144
1155
  children: [
1145
- _optionalChain([internalRowSelection, 'optionalAccess', _77 => _77.showCheckbox]) !== false && internalRowSelection || internalExpandable && isRowExpandable ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2 flex items-center gap-3", children: [
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: [
1146
1157
  internalRowSelection && internalRowSelection.showCheckbox !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1147
1158
  "input",
1148
1159
  {
1149
1160
  type: internalRowSelection.type === "radio" ? "radio" : "checkbox",
1150
1161
  checked: ctx.selectedRowKeySet.has(key),
1151
- disabled: _optionalChain([internalRowSelection, 'access', _78 => _78.getCheckboxProps, 'optionalCall', _79 => _79(record), 'optionalAccess', _80 => _80.disabled]),
1162
+ disabled: _optionalChain([internalRowSelection, 'access', _70 => _70.getCheckboxProps, 'optionalCall', _71 => _71(record), 'optionalAccess', _72 => _72.disabled]),
1152
1163
  onClick: (event) => event.stopPropagation(),
1153
1164
  onChange: (event) => ctx.handleSelectRow(key, event.target.checked)
1154
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 _chunkIXHXSD2Ejs = require('./chunk-IXHXSD2E.js');
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
- _chunkIXHXSD2Ejs.Table,
251
+ _chunkVAZYY35Fjs.Table,
252
252
  {
253
253
  ...remainingTableProps,
254
254
  bordered,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Table
3
- } from "./chunk-IWLUYAZV.mjs";
3
+ } from "./chunk-AIXYHS2L.mjs";
4
4
  import {
5
5
  Select
6
6
  } from "./chunk-T4OVGM4X.mjs";
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkAPODZAVOjs = require('../chunk-APODZAVO.js');
5
- require('../chunk-IXHXSD2E.js');
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 = _chunkAPODZAVOjs.DataTableWithToolbar; exports.default = _chunkAPODZAVOjs.DataTableWithToolbar_default;
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-VUODYCCC.mjs";
5
- import "../chunk-IWLUYAZV.mjs";
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";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIXHXSD2Ejs = require('../chunk-IXHXSD2E.js');
3
+ var _chunkVAZYY35Fjs = require('../chunk-VAZYY35F.js');
4
4
  require('../chunk-TDODFBBO.js');
5
5
 
6
6
 
7
- exports.Table = _chunkIXHXSD2Ejs.Table;
7
+ exports.Table = _chunkVAZYY35Fjs.Table;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Table
3
- } from "../chunk-IWLUYAZV.mjs";
3
+ } from "../chunk-AIXYHS2L.mjs";
4
4
  import "../chunk-QAIBQHIO.mjs";
5
5
  export {
6
6
  Table
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk77F5YT4Ejs = require('../chunk-77F5YT4E.js');
4
+ var _chunkO7WBBZ7Jjs = require('../chunk-O7WBBZ7J.js');
5
5
 
6
6
 
7
7
 
8
- exports.VirtualTable = _chunk77F5YT4Ejs.VirtualTable; exports.default = _chunk77F5YT4Ejs.VirtualTable_default;
8
+ exports.VirtualTable = _chunkO7WBBZ7Jjs.VirtualTable; exports.default = _chunkO7WBBZ7Jjs.VirtualTable_default;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  VirtualTable,
3
3
  VirtualTable_default
4
- } from "../chunk-R4OVIDAY.mjs";
4
+ } from "../chunk-M26BTAIB.mjs";
5
5
  export {
6
6
  VirtualTable,
7
7
  VirtualTable_default as 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 _chunk77F5YT4Ejs = require('./chunk-77F5YT4E.js');
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 _chunkAPODZAVOjs = require('./chunk-APODZAVO.js');
269
+ var _chunkVHHYTCZQjs = require('./chunk-VHHYTCZQ.js');
270
270
 
271
271
 
272
- var _chunkIXHXSD2Ejs = require('./chunk-IXHXSD2E.js');
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 = _chunkAPODZAVOjs.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 = _chunkIXHXSD2Ejs.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 = _chunk77F5YT4Ejs.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;
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-R4OVIDAY.mjs";
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-VUODYCCC.mjs";
269
+ } from "./chunk-VXOLIMK2.mjs";
270
270
  import {
271
271
  Table
272
- } from "./chunk-IWLUYAZV.mjs";
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.31",
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.31"
50
+ "@expcat/tigercat-core": "1.2.33"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^25.6.0",