@expcat/tigercat-vue 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-MTYDCYGW.mjs → chunk-7M4UUCJF.mjs} +63 -52
- package/dist/{chunk-AGVXMB4Q.js → chunk-CTR462T2.js} +27 -2
- package/dist/{chunk-C7VGTRHE.mjs → chunk-G44EGPJB.mjs} +28 -3
- package/dist/{chunk-F4FPIIVT.js → chunk-MCRT64VS.js} +2 -2
- package/dist/{chunk-DPHLBHJY.js → chunk-OA3HAUBT.js} +66 -55
- package/dist/{chunk-LFQWJILV.mjs → chunk-PHWAXBFG.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
|
@@ -649,6 +649,8 @@ import {
|
|
|
649
649
|
classNames,
|
|
650
650
|
getTableHeaderClasses,
|
|
651
651
|
getTableHeaderCellClasses,
|
|
652
|
+
getTableFixedHeaderCellClasses,
|
|
653
|
+
getFixedColumnStyle,
|
|
652
654
|
getCheckboxCellClasses,
|
|
653
655
|
getExpandIconCellClasses
|
|
654
656
|
} from "@expcat/tigercat-core";
|
|
@@ -686,17 +688,7 @@ function renderTableHeader(ctx, props, slots) {
|
|
|
686
688
|
const isSorted = ctx.sortState.value.key === column.key;
|
|
687
689
|
const sortDirection = isSorted ? ctx.sortState.value.direction : null;
|
|
688
690
|
const ariaSort = column.sortable ? sortDirection === "asc" ? "ascending" : sortDirection === "desc" ? "descending" : "none" : void 0;
|
|
689
|
-
const
|
|
690
|
-
const isFixedRight = column.fixed === "right";
|
|
691
|
-
const fixedStyle = isFixedLeft ? {
|
|
692
|
-
position: "sticky",
|
|
693
|
-
left: `${ctx.fixedColumnsInfo.value.leftOffsets[column.key] || 0}px`,
|
|
694
|
-
zIndex: 15
|
|
695
|
-
} : isFixedRight ? {
|
|
696
|
-
position: "sticky",
|
|
697
|
-
right: `${ctx.fixedColumnsInfo.value.rightOffsets[column.key] || 0}px`,
|
|
698
|
-
zIndex: 15
|
|
699
|
-
} : void 0;
|
|
691
|
+
const fixedStyle = getFixedColumnStyle(column, ctx.fixedColumnsInfo.value, 15);
|
|
700
692
|
const widthStyle = column.width ? {
|
|
701
693
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
702
694
|
} : void 0;
|
|
@@ -747,7 +739,12 @@ function renderTableHeader(ctx, props, slots) {
|
|
|
747
739
|
!!column.sortable,
|
|
748
740
|
column.headerClassName
|
|
749
741
|
),
|
|
750
|
-
(
|
|
742
|
+
getTableFixedHeaderCellClasses({
|
|
743
|
+
view: "table",
|
|
744
|
+
column,
|
|
745
|
+
stickyHeader: props.stickyHeader,
|
|
746
|
+
fixedInfo: ctx.fixedColumnsInfo.value
|
|
747
|
+
})
|
|
751
748
|
),
|
|
752
749
|
style,
|
|
753
750
|
draggable: props.columnDraggable ? "true" : void 0,
|
|
@@ -798,6 +795,8 @@ import {
|
|
|
798
795
|
classNames as classNames2,
|
|
799
796
|
getTableRowClasses,
|
|
800
797
|
getTableCellClasses,
|
|
798
|
+
getTableFixedCellClasses,
|
|
799
|
+
getFixedColumnStyle as getFixedColumnStyle2,
|
|
801
800
|
getCheckboxCellClasses as getCheckboxCellClasses2,
|
|
802
801
|
getExpandIconCellClasses as getExpandIconCellClasses2,
|
|
803
802
|
getExpandedRowClasses,
|
|
@@ -931,26 +930,22 @@ function renderTableBody(ctx, props, slots) {
|
|
|
931
930
|
ctx.displayColumns.value.forEach((column) => {
|
|
932
931
|
const dataKey = column.dataKey || column.key;
|
|
933
932
|
const cellValue = record[dataKey];
|
|
934
|
-
const
|
|
935
|
-
const isFixedRight = column.fixed === "right";
|
|
936
|
-
const fixedStyle = isFixedLeft ? {
|
|
937
|
-
position: "sticky",
|
|
938
|
-
left: `${ctx.fixedColumnsInfo.value.leftOffsets[column.key] || 0}px`,
|
|
939
|
-
zIndex: 10
|
|
940
|
-
} : isFixedRight ? {
|
|
941
|
-
position: "sticky",
|
|
942
|
-
right: `${ctx.fixedColumnsInfo.value.rightOffsets[column.key] || 0}px`,
|
|
943
|
-
zIndex: 10
|
|
944
|
-
} : void 0;
|
|
933
|
+
const fixedStyle = getFixedColumnStyle2(column, ctx.fixedColumnsInfo.value, 10);
|
|
945
934
|
const widthStyle = column.width ? {
|
|
946
935
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
947
936
|
} : void 0;
|
|
948
937
|
const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
|
|
949
|
-
const
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
938
|
+
const stickyCellClass = getTableFixedCellClasses({
|
|
939
|
+
view: "table",
|
|
940
|
+
column,
|
|
941
|
+
record,
|
|
942
|
+
rowIndex: index,
|
|
943
|
+
striped: props.striped,
|
|
944
|
+
stripedActive: props.striped && index % 2 === 0,
|
|
945
|
+
selected: isSelected,
|
|
946
|
+
hoverable: props.hoverable,
|
|
947
|
+
fixedInfo: ctx.fixedColumnsInfo.value
|
|
948
|
+
});
|
|
954
949
|
const isEditing = ctx.editingCell.value?.rowIndex === index && ctx.editingCell.value?.columnKey === column.key;
|
|
955
950
|
const isEditableCell = ctx.isCellEditable(column.key, index);
|
|
956
951
|
const cellContent = isEditing ? h3("input", {
|
|
@@ -1085,8 +1080,8 @@ function renderSummaryRow(ctx, props) {
|
|
|
1085
1080
|
import { h as h5 } from "vue";
|
|
1086
1081
|
import {
|
|
1087
1082
|
formatIntlNumber,
|
|
1088
|
-
formatPageAriaLabel,
|
|
1089
1083
|
formatPaginationTotal,
|
|
1084
|
+
formatPaginationPageIndicator,
|
|
1090
1085
|
getPaginationLabels,
|
|
1091
1086
|
getSimplePaginationContainerClasses,
|
|
1092
1087
|
getSimplePaginationTotalClasses,
|
|
@@ -1096,45 +1091,52 @@ import {
|
|
|
1096
1091
|
getSimplePaginationPageIndicatorClasses,
|
|
1097
1092
|
getSimplePaginationButtonsWrapperClasses
|
|
1098
1093
|
} from "@expcat/tigercat-core";
|
|
1099
|
-
|
|
1100
|
-
var DEFAULT_NEXT_TEXT = "Next";
|
|
1101
|
-
function formatDefaultTotalText(total, range) {
|
|
1102
|
-
return `Showing ${range[0]} to ${range[1]} of ${total} results`;
|
|
1103
|
-
}
|
|
1104
|
-
function formatDefaultPageIndicatorText(current, total) {
|
|
1105
|
-
return `Page ${current} of ${total}`;
|
|
1106
|
-
}
|
|
1107
|
-
function renderPagination(ctx, props, options = {}) {
|
|
1094
|
+
function renderPagination(ctx, props, view) {
|
|
1108
1095
|
if (props.pagination === false || !ctx.paginationInfo.value) {
|
|
1109
1096
|
return null;
|
|
1110
1097
|
}
|
|
1111
1098
|
const { totalPages, startIndex, endIndex, hasNext, hasPrev } = ctx.paginationInfo.value;
|
|
1112
1099
|
const paginationConfig = props.pagination;
|
|
1113
1100
|
const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.value.length;
|
|
1114
|
-
const locale =
|
|
1115
|
-
const labels =
|
|
1101
|
+
const locale = view?.disableI18n ? void 0 : view?.locale;
|
|
1102
|
+
const labels = getPaginationLabels(locale);
|
|
1116
1103
|
const localeCode = locale?.locale;
|
|
1117
|
-
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) :
|
|
1118
|
-
const finalPrevText = paginationConfig.prevText || labels
|
|
1119
|
-
const finalNextText = paginationConfig.nextText || labels
|
|
1120
|
-
const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage.value, totalPages) :
|
|
1104
|
+
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : formatPaginationTotal(labels.totalText, total, [startIndex, endIndex], localeCode);
|
|
1105
|
+
const finalPrevText = paginationConfig.prevText || labels.prevPageAriaLabel;
|
|
1106
|
+
const finalNextText = paginationConfig.nextText || labels.nextPageAriaLabel;
|
|
1107
|
+
const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage.value, totalPages) : formatPaginationPageIndicator(
|
|
1108
|
+
labels.pageIndicatorText,
|
|
1109
|
+
ctx.currentPage.value,
|
|
1110
|
+
totalPages,
|
|
1111
|
+
localeCode
|
|
1112
|
+
);
|
|
1113
|
+
const finalPrevAriaLabel = view?.disableI18n ? finalPrevText : labels.prevPageAriaLabel;
|
|
1114
|
+
const finalNextAriaLabel = view?.disableI18n ? finalNextText : labels.nextPageAriaLabel;
|
|
1115
|
+
const normalizedPageSizeOptions = paginationConfig.pageSizeOptions || [10, 20, 50, 100];
|
|
1121
1116
|
return h5("div", { class: getSimplePaginationContainerClasses() }, [
|
|
1122
|
-
paginationConfig.showTotal !== false && h5(
|
|
1117
|
+
paginationConfig.showTotal !== false && h5(
|
|
1118
|
+
"div",
|
|
1119
|
+
{ class: getSimplePaginationTotalClasses() },
|
|
1120
|
+
finalTotalText
|
|
1121
|
+
),
|
|
1123
1122
|
h5("div", { class: getSimplePaginationControlsClasses() }, [
|
|
1124
1123
|
paginationConfig.showSizeChanger !== false && h5(
|
|
1125
1124
|
"select",
|
|
1126
1125
|
{
|
|
1127
1126
|
class: getSimplePaginationSelectClasses(),
|
|
1128
1127
|
value: ctx.currentPageSize.value,
|
|
1128
|
+
"aria-label": labels.itemsPerPageText,
|
|
1129
1129
|
onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value))
|
|
1130
1130
|
},
|
|
1131
|
-
(
|
|
1132
|
-
|
|
1131
|
+
normalizedPageSizeOptions.map((option) => {
|
|
1132
|
+
const value = typeof option === "number" ? option : option.value;
|
|
1133
|
+
const label = typeof option === "number" ? `${formatIntlNumber(value, localeCode)} ${labels.itemsPerPageText}` : option.label ?? `${formatIntlNumber(value, localeCode)} ${labels.itemsPerPageText}`;
|
|
1134
|
+
return h5(
|
|
1133
1135
|
"option",
|
|
1134
|
-
{ value:
|
|
1135
|
-
paginationConfig.pageSizeText ? paginationConfig.pageSizeText(
|
|
1136
|
-
)
|
|
1137
|
-
)
|
|
1136
|
+
{ value, key: value },
|
|
1137
|
+
paginationConfig.pageSizeText ? paginationConfig.pageSizeText(value) : label
|
|
1138
|
+
);
|
|
1139
|
+
})
|
|
1138
1140
|
),
|
|
1139
1141
|
h5("div", { class: getSimplePaginationButtonsWrapperClasses() }, [
|
|
1140
1142
|
h5(
|
|
@@ -1142,16 +1144,25 @@ function renderPagination(ctx, props, options = {}) {
|
|
|
1142
1144
|
{
|
|
1143
1145
|
class: getSimplePaginationButtonClasses(!hasPrev),
|
|
1144
1146
|
disabled: !hasPrev,
|
|
1147
|
+
"aria-label": finalPrevAriaLabel,
|
|
1145
1148
|
onClick: () => ctx.handlePageChange(ctx.currentPage.value - 1)
|
|
1146
1149
|
},
|
|
1147
1150
|
finalPrevText
|
|
1148
1151
|
),
|
|
1149
|
-
h5(
|
|
1152
|
+
h5(
|
|
1153
|
+
"span",
|
|
1154
|
+
{
|
|
1155
|
+
class: getSimplePaginationPageIndicatorClasses(),
|
|
1156
|
+
"aria-label": finalPageIndicatorText
|
|
1157
|
+
},
|
|
1158
|
+
finalPageIndicatorText
|
|
1159
|
+
),
|
|
1150
1160
|
h5(
|
|
1151
1161
|
"button",
|
|
1152
1162
|
{
|
|
1153
1163
|
class: getSimplePaginationButtonClasses(!hasNext),
|
|
1154
1164
|
disabled: !hasNext,
|
|
1165
|
+
"aria-label": finalNextAriaLabel,
|
|
1155
1166
|
onClick: () => ctx.handlePageChange(ctx.currentPage.value + 1)
|
|
1156
1167
|
},
|
|
1157
1168
|
finalNextText
|
|
@@ -14,6 +14,9 @@ var _vue = require('vue');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
17
20
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
18
21
|
var VirtualTable = _vue.defineComponent.call(void 0, {
|
|
19
22
|
name: "TigerVirtualTable",
|
|
@@ -82,7 +85,15 @@ var VirtualTable = _vue.defineComponent.call(void 0, {
|
|
|
82
85
|
"th",
|
|
83
86
|
{
|
|
84
87
|
key: col.key,
|
|
85
|
-
class: _tigercatcore.
|
|
88
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
89
|
+
_tigercatcore.virtualTableHeaderCellClasses,
|
|
90
|
+
_tigercatcore.getTableFixedHeaderCellClasses.call(void 0, {
|
|
91
|
+
view: "virtual-table",
|
|
92
|
+
column: col,
|
|
93
|
+
stickyHeader: props.stickyHeader,
|
|
94
|
+
fixedInfo: fi
|
|
95
|
+
})
|
|
96
|
+
),
|
|
86
97
|
style: { ...widthStyle, ...stickyStyle }
|
|
87
98
|
},
|
|
88
99
|
_nullishCoalesce(col.title, () => ( ""))
|
|
@@ -107,7 +118,21 @@ var VirtualTable = _vue.defineComponent.call(void 0, {
|
|
|
107
118
|
"td",
|
|
108
119
|
{
|
|
109
120
|
key: col.key,
|
|
110
|
-
class: _tigercatcore.
|
|
121
|
+
class: _tigercatcore.classNames.call(void 0,
|
|
122
|
+
_tigercatcore.virtualTableCellClasses,
|
|
123
|
+
_tigercatcore.getTableFixedCellClasses.call(void 0, {
|
|
124
|
+
view: "virtual-table",
|
|
125
|
+
column: col,
|
|
126
|
+
record: row,
|
|
127
|
+
rowIndex: globalIdx,
|
|
128
|
+
striped: props.striped,
|
|
129
|
+
stripedActive: props.striped && globalIdx % 2 === 1,
|
|
130
|
+
selected: isSelected,
|
|
131
|
+
hoverable: true,
|
|
132
|
+
fixedInfo: fi,
|
|
133
|
+
selectedClassName: _tigercatcore.virtualTableRowSelectedClasses
|
|
134
|
+
})
|
|
135
|
+
),
|
|
111
136
|
style: _tigercatcore.getVirtualTableFixedCellStyle.call(void 0, col.key, fi)
|
|
112
137
|
},
|
|
113
138
|
String(_nullishCoalesce(row[col.key], () => ( "")))
|
|
@@ -9,11 +9,14 @@ import {
|
|
|
9
9
|
getVirtualRowKey,
|
|
10
10
|
getVirtualTableFixedInfo,
|
|
11
11
|
getVirtualTableFixedCellStyle,
|
|
12
|
+
getTableFixedCellClasses,
|
|
13
|
+
getTableFixedHeaderCellClasses,
|
|
12
14
|
virtualTableHeaderClasses,
|
|
13
15
|
virtualTableHeaderCellClasses,
|
|
14
16
|
virtualTableCellClasses,
|
|
15
17
|
virtualTableEmptyClasses,
|
|
16
|
-
virtualTableLoadingClasses
|
|
18
|
+
virtualTableLoadingClasses,
|
|
19
|
+
virtualTableRowSelectedClasses
|
|
17
20
|
} from "@expcat/tigercat-core";
|
|
18
21
|
var VirtualTable = defineComponent({
|
|
19
22
|
name: "TigerVirtualTable",
|
|
@@ -82,7 +85,15 @@ var VirtualTable = defineComponent({
|
|
|
82
85
|
"th",
|
|
83
86
|
{
|
|
84
87
|
key: col.key,
|
|
85
|
-
class:
|
|
88
|
+
class: classNames(
|
|
89
|
+
virtualTableHeaderCellClasses,
|
|
90
|
+
getTableFixedHeaderCellClasses({
|
|
91
|
+
view: "virtual-table",
|
|
92
|
+
column: col,
|
|
93
|
+
stickyHeader: props.stickyHeader,
|
|
94
|
+
fixedInfo: fi
|
|
95
|
+
})
|
|
96
|
+
),
|
|
86
97
|
style: { ...widthStyle, ...stickyStyle }
|
|
87
98
|
},
|
|
88
99
|
col.title ?? ""
|
|
@@ -107,7 +118,21 @@ var VirtualTable = defineComponent({
|
|
|
107
118
|
"td",
|
|
108
119
|
{
|
|
109
120
|
key: col.key,
|
|
110
|
-
class:
|
|
121
|
+
class: classNames(
|
|
122
|
+
virtualTableCellClasses,
|
|
123
|
+
getTableFixedCellClasses({
|
|
124
|
+
view: "virtual-table",
|
|
125
|
+
column: col,
|
|
126
|
+
record: row,
|
|
127
|
+
rowIndex: globalIdx,
|
|
128
|
+
striped: props.striped,
|
|
129
|
+
stripedActive: props.striped && globalIdx % 2 === 1,
|
|
130
|
+
selected: isSelected,
|
|
131
|
+
hoverable: true,
|
|
132
|
+
fixedInfo: fi,
|
|
133
|
+
selectedClassName: virtualTableRowSelectedClasses
|
|
134
|
+
})
|
|
135
|
+
),
|
|
111
136
|
style: getVirtualTableFixedCellStyle(col.key, fi)
|
|
112
137
|
},
|
|
113
138
|
String(row[col.key] ?? "")
|
|
@@ -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 _chunkOA3HAUBTjs = require('./chunk-OA3HAUBT.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkBGMAWKWVjs = require('./chunk-BGMAWKWV.js');
|
|
@@ -414,7 +414,7 @@ var DataTableWithToolbar = _vue.defineComponent.call(void 0, {
|
|
|
414
414
|
style: wrapperStyle.value,
|
|
415
415
|
"data-tiger-data-table-with-toolbar": ""
|
|
416
416
|
},
|
|
417
|
-
[renderToolbar(), _vue.h.call(void 0,
|
|
417
|
+
[renderToolbar(), _vue.h.call(void 0, _chunkOA3HAUBTjs.Table, tableProps)]
|
|
418
418
|
);
|
|
419
419
|
};
|
|
420
420
|
}
|
|
@@ -652,6 +652,8 @@ var LoadingSpinner = () => {
|
|
|
652
652
|
|
|
653
653
|
|
|
654
654
|
|
|
655
|
+
|
|
656
|
+
|
|
655
657
|
function renderTableHeader(ctx, props, slots) {
|
|
656
658
|
const headerCells = [];
|
|
657
659
|
const expandAtStart = props.expandable && props.expandable.expandIconPosition !== "end";
|
|
@@ -686,17 +688,7 @@ function renderTableHeader(ctx, props, slots) {
|
|
|
686
688
|
const isSorted = ctx.sortState.value.key === column.key;
|
|
687
689
|
const sortDirection = isSorted ? ctx.sortState.value.direction : null;
|
|
688
690
|
const ariaSort = column.sortable ? sortDirection === "asc" ? "ascending" : sortDirection === "desc" ? "descending" : "none" : void 0;
|
|
689
|
-
const
|
|
690
|
-
const isFixedRight = column.fixed === "right";
|
|
691
|
-
const fixedStyle = isFixedLeft ? {
|
|
692
|
-
position: "sticky",
|
|
693
|
-
left: `${ctx.fixedColumnsInfo.value.leftOffsets[column.key] || 0}px`,
|
|
694
|
-
zIndex: 15
|
|
695
|
-
} : isFixedRight ? {
|
|
696
|
-
position: "sticky",
|
|
697
|
-
right: `${ctx.fixedColumnsInfo.value.rightOffsets[column.key] || 0}px`,
|
|
698
|
-
zIndex: 15
|
|
699
|
-
} : void 0;
|
|
691
|
+
const fixedStyle = _tigercatcore.getFixedColumnStyle.call(void 0, column, ctx.fixedColumnsInfo.value, 15);
|
|
700
692
|
const widthStyle = column.width ? {
|
|
701
693
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
702
694
|
} : void 0;
|
|
@@ -747,7 +739,12 @@ function renderTableHeader(ctx, props, slots) {
|
|
|
747
739
|
!!column.sortable,
|
|
748
740
|
column.headerClassName
|
|
749
741
|
),
|
|
750
|
-
(
|
|
742
|
+
_tigercatcore.getTableFixedHeaderCellClasses.call(void 0, {
|
|
743
|
+
view: "table",
|
|
744
|
+
column,
|
|
745
|
+
stickyHeader: props.stickyHeader,
|
|
746
|
+
fixedInfo: ctx.fixedColumnsInfo.value
|
|
747
|
+
})
|
|
751
748
|
),
|
|
752
749
|
style,
|
|
753
750
|
draggable: props.columnDraggable ? "true" : void 0,
|
|
@@ -808,6 +805,8 @@ function renderTableHeader(ctx, props, slots) {
|
|
|
808
805
|
|
|
809
806
|
|
|
810
807
|
|
|
808
|
+
|
|
809
|
+
|
|
811
810
|
function renderTableBody(ctx, props, slots) {
|
|
812
811
|
if (props.loading) {
|
|
813
812
|
return null;
|
|
@@ -931,26 +930,22 @@ function renderTableBody(ctx, props, slots) {
|
|
|
931
930
|
ctx.displayColumns.value.forEach((column) => {
|
|
932
931
|
const dataKey = column.dataKey || column.key;
|
|
933
932
|
const cellValue = record[dataKey];
|
|
934
|
-
const
|
|
935
|
-
const isFixedRight = column.fixed === "right";
|
|
936
|
-
const fixedStyle = isFixedLeft ? {
|
|
937
|
-
position: "sticky",
|
|
938
|
-
left: `${ctx.fixedColumnsInfo.value.leftOffsets[column.key] || 0}px`,
|
|
939
|
-
zIndex: 10
|
|
940
|
-
} : isFixedRight ? {
|
|
941
|
-
position: "sticky",
|
|
942
|
-
right: `${ctx.fixedColumnsInfo.value.rightOffsets[column.key] || 0}px`,
|
|
943
|
-
zIndex: 10
|
|
944
|
-
} : void 0;
|
|
933
|
+
const fixedStyle = _tigercatcore.getFixedColumnStyle.call(void 0, column, ctx.fixedColumnsInfo.value, 10);
|
|
945
934
|
const widthStyle = column.width ? {
|
|
946
935
|
width: typeof column.width === "number" ? `${column.width}px` : column.width
|
|
947
936
|
} : void 0;
|
|
948
937
|
const style = fixedStyle ? { ...widthStyle, ...fixedStyle } : widthStyle;
|
|
949
|
-
const
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
938
|
+
const stickyCellClass = _tigercatcore.getTableFixedCellClasses.call(void 0, {
|
|
939
|
+
view: "table",
|
|
940
|
+
column,
|
|
941
|
+
record,
|
|
942
|
+
rowIndex: index,
|
|
943
|
+
striped: props.striped,
|
|
944
|
+
stripedActive: props.striped && index % 2 === 0,
|
|
945
|
+
selected: isSelected,
|
|
946
|
+
hoverable: props.hoverable,
|
|
947
|
+
fixedInfo: ctx.fixedColumnsInfo.value
|
|
948
|
+
});
|
|
954
949
|
const isEditing = _optionalChain([ctx, 'access', _69 => _69.editingCell, 'access', _70 => _70.value, 'optionalAccess', _71 => _71.rowIndex]) === index && _optionalChain([ctx, 'access', _72 => _72.editingCell, 'access', _73 => _73.value, 'optionalAccess', _74 => _74.columnKey]) === column.key;
|
|
955
950
|
const isEditableCell = ctx.isCellEditable(column.key, index);
|
|
956
951
|
const cellContent = isEditing ? _vue.h.call(void 0, "input", {
|
|
@@ -1096,45 +1091,52 @@ function renderSummaryRow(ctx, props) {
|
|
|
1096
1091
|
|
|
1097
1092
|
|
|
1098
1093
|
|
|
1099
|
-
|
|
1100
|
-
var DEFAULT_NEXT_TEXT = "Next";
|
|
1101
|
-
function formatDefaultTotalText(total, range) {
|
|
1102
|
-
return `Showing ${range[0]} to ${range[1]} of ${total} results`;
|
|
1103
|
-
}
|
|
1104
|
-
function formatDefaultPageIndicatorText(current, total) {
|
|
1105
|
-
return `Page ${current} of ${total}`;
|
|
1106
|
-
}
|
|
1107
|
-
function renderPagination(ctx, props, options = {}) {
|
|
1094
|
+
function renderPagination(ctx, props, view) {
|
|
1108
1095
|
if (props.pagination === false || !ctx.paginationInfo.value) {
|
|
1109
1096
|
return null;
|
|
1110
1097
|
}
|
|
1111
1098
|
const { totalPages, startIndex, endIndex, hasNext, hasPrev } = ctx.paginationInfo.value;
|
|
1112
1099
|
const paginationConfig = props.pagination;
|
|
1113
1100
|
const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.value.length;
|
|
1114
|
-
const locale =
|
|
1115
|
-
const labels =
|
|
1116
|
-
const localeCode = _optionalChain([locale, 'optionalAccess',
|
|
1117
|
-
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) :
|
|
1118
|
-
const finalPrevText = paginationConfig.prevText ||
|
|
1119
|
-
const finalNextText = paginationConfig.nextText ||
|
|
1120
|
-
const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage.value, totalPages) :
|
|
1101
|
+
const locale = _optionalChain([view, 'optionalAccess', _81 => _81.disableI18n]) ? void 0 : _optionalChain([view, 'optionalAccess', _82 => _82.locale]);
|
|
1102
|
+
const labels = _tigercatcore.getPaginationLabels.call(void 0, locale);
|
|
1103
|
+
const localeCode = _optionalChain([locale, 'optionalAccess', _83 => _83.locale]);
|
|
1104
|
+
const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : _tigercatcore.formatPaginationTotal.call(void 0, labels.totalText, total, [startIndex, endIndex], localeCode);
|
|
1105
|
+
const finalPrevText = paginationConfig.prevText || labels.prevPageAriaLabel;
|
|
1106
|
+
const finalNextText = paginationConfig.nextText || labels.nextPageAriaLabel;
|
|
1107
|
+
const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage.value, totalPages) : _tigercatcore.formatPaginationPageIndicator.call(void 0,
|
|
1108
|
+
labels.pageIndicatorText,
|
|
1109
|
+
ctx.currentPage.value,
|
|
1110
|
+
totalPages,
|
|
1111
|
+
localeCode
|
|
1112
|
+
);
|
|
1113
|
+
const finalPrevAriaLabel = _optionalChain([view, 'optionalAccess', _84 => _84.disableI18n]) ? finalPrevText : labels.prevPageAriaLabel;
|
|
1114
|
+
const finalNextAriaLabel = _optionalChain([view, 'optionalAccess', _85 => _85.disableI18n]) ? finalNextText : labels.nextPageAriaLabel;
|
|
1115
|
+
const normalizedPageSizeOptions = paginationConfig.pageSizeOptions || [10, 20, 50, 100];
|
|
1121
1116
|
return _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationContainerClasses.call(void 0, ) }, [
|
|
1122
|
-
paginationConfig.showTotal !== false && _vue.h.call(void 0,
|
|
1117
|
+
paginationConfig.showTotal !== false && _vue.h.call(void 0,
|
|
1118
|
+
"div",
|
|
1119
|
+
{ class: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ) },
|
|
1120
|
+
finalTotalText
|
|
1121
|
+
),
|
|
1123
1122
|
_vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationControlsClasses.call(void 0, ) }, [
|
|
1124
1123
|
paginationConfig.showSizeChanger !== false && _vue.h.call(void 0,
|
|
1125
1124
|
"select",
|
|
1126
1125
|
{
|
|
1127
1126
|
class: _tigercatcore.getSimplePaginationSelectClasses.call(void 0, ),
|
|
1128
1127
|
value: ctx.currentPageSize.value,
|
|
1128
|
+
"aria-label": labels.itemsPerPageText,
|
|
1129
1129
|
onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value))
|
|
1130
1130
|
},
|
|
1131
|
-
(
|
|
1132
|
-
|
|
1131
|
+
normalizedPageSizeOptions.map((option) => {
|
|
1132
|
+
const value = typeof option === "number" ? option : option.value;
|
|
1133
|
+
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}`));
|
|
1134
|
+
return _vue.h.call(void 0,
|
|
1133
1135
|
"option",
|
|
1134
|
-
{ value:
|
|
1135
|
-
paginationConfig.pageSizeText ? paginationConfig.pageSizeText(
|
|
1136
|
-
)
|
|
1137
|
-
)
|
|
1136
|
+
{ value, key: value },
|
|
1137
|
+
paginationConfig.pageSizeText ? paginationConfig.pageSizeText(value) : label
|
|
1138
|
+
);
|
|
1139
|
+
})
|
|
1138
1140
|
),
|
|
1139
1141
|
_vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationButtonsWrapperClasses.call(void 0, ) }, [
|
|
1140
1142
|
_vue.h.call(void 0,
|
|
@@ -1142,16 +1144,25 @@ function renderPagination(ctx, props, options = {}) {
|
|
|
1142
1144
|
{
|
|
1143
1145
|
class: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasPrev),
|
|
1144
1146
|
disabled: !hasPrev,
|
|
1147
|
+
"aria-label": finalPrevAriaLabel,
|
|
1145
1148
|
onClick: () => ctx.handlePageChange(ctx.currentPage.value - 1)
|
|
1146
1149
|
},
|
|
1147
1150
|
finalPrevText
|
|
1148
1151
|
),
|
|
1149
|
-
_vue.h.call(void 0,
|
|
1152
|
+
_vue.h.call(void 0,
|
|
1153
|
+
"span",
|
|
1154
|
+
{
|
|
1155
|
+
class: _tigercatcore.getSimplePaginationPageIndicatorClasses.call(void 0, ),
|
|
1156
|
+
"aria-label": finalPageIndicatorText
|
|
1157
|
+
},
|
|
1158
|
+
finalPageIndicatorText
|
|
1159
|
+
),
|
|
1150
1160
|
_vue.h.call(void 0,
|
|
1151
1161
|
"button",
|
|
1152
1162
|
{
|
|
1153
1163
|
class: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasNext),
|
|
1154
1164
|
disabled: !hasNext,
|
|
1165
|
+
"aria-label": finalNextAriaLabel,
|
|
1155
1166
|
onClick: () => ctx.handlePageChange(ctx.currentPage.value + 1)
|
|
1156
1167
|
},
|
|
1157
1168
|
finalNextText
|
|
@@ -1272,7 +1283,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1272
1283
|
const rows = ctx.displayColumns.value.map((column) => {
|
|
1273
1284
|
const dataKey = column.dataKey || column.key;
|
|
1274
1285
|
const cellValue = record[dataKey];
|
|
1275
|
-
const cellContent = _nullishCoalesce(_optionalChain([slots, 'access',
|
|
1286
|
+
const cellContent = _nullishCoalesce(_optionalChain([slots, 'access', _86 => _86[`cell-${column.key}`], 'optionalCall', _87 => _87({ record, index })]), () => ( (column.render ? column.render(record, index) : cellValue)));
|
|
1276
1287
|
return _vue.h.call(void 0, "div", { key: column.key, class: _tigercatcore.tableResponsiveCardRowClasses }, [
|
|
1277
1288
|
_vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardLabelClasses }, column.title),
|
|
1278
1289
|
_vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardValueClasses }, [cellContent])
|
|
@@ -1280,7 +1291,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1280
1291
|
});
|
|
1281
1292
|
const controls = [];
|
|
1282
1293
|
if (resolvedProps.rowSelection && resolvedProps.rowSelection.showCheckbox !== false) {
|
|
1283
|
-
const checkboxProps = _optionalChain([resolvedProps, 'access',
|
|
1294
|
+
const checkboxProps = _optionalChain([resolvedProps, 'access', _88 => _88.rowSelection, 'access', _89 => _89.getCheckboxProps, 'optionalCall', _90 => _90(record)]) || {};
|
|
1284
1295
|
controls.push(
|
|
1285
1296
|
_vue.h.call(void 0, "input", {
|
|
1286
1297
|
type: resolvedProps.rowSelection.type === "radio" ? "radio" : "checkbox",
|
|
@@ -1308,7 +1319,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1308
1319
|
)
|
|
1309
1320
|
);
|
|
1310
1321
|
}
|
|
1311
|
-
const expandedContent = resolvedProps.expandable && isExpanded && isRowExpandable ? _nullishCoalesce(_optionalChain([slots, 'access',
|
|
1322
|
+
const expandedContent = resolvedProps.expandable && isExpanded && isRowExpandable ? _nullishCoalesce(_optionalChain([slots, 'access', _91 => _91["expanded-row"], 'optionalCall', _92 => _92({ record, index })]), () => ( _optionalChain([resolvedProps, 'access', _93 => _93.expandable, 'access', _94 => _94.expandedRowRender, 'optionalCall', _95 => _95(record, index)]))) : null;
|
|
1312
1323
|
return _vue.h.call(void 0,
|
|
1313
1324
|
"div",
|
|
1314
1325
|
{
|
|
@@ -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 _chunkMCRT64VSjs = require('../chunk-MCRT64VS.js');
|
|
5
|
+
require('../chunk-OA3HAUBT.js');
|
|
6
6
|
require('../chunk-BGMAWKWV.js');
|
|
7
7
|
require('../chunk-25EYT2CB.js');
|
|
8
8
|
require('../chunk-BYNMOQBB.js');
|
|
@@ -11,4 +11,4 @@ require('../chunk-7ADONGSB.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.DataTableWithToolbar =
|
|
14
|
+
exports.DataTableWithToolbar = _chunkMCRT64VSjs.DataTableWithToolbar; exports.default = _chunkMCRT64VSjs.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-PHWAXBFG.mjs";
|
|
5
|
+
import "../chunk-7M4UUCJF.mjs";
|
|
6
6
|
import "../chunk-PYT5DTQQ.mjs";
|
|
7
7
|
import "../chunk-VG6E4NX6.mjs";
|
|
8
8
|
import "../chunk-2WJADO6O.mjs";
|
package/dist/components/Table.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOA3HAUBTjs = require('../chunk-OA3HAUBT.js');
|
|
5
5
|
require('../chunk-25EYT2CB.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Table =
|
|
9
|
+
exports.Table = _chunkOA3HAUBTjs.Table; exports.default = _chunkOA3HAUBTjs.Table_default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCTR462T2js = require('../chunk-CTR462T2.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.VirtualTable =
|
|
8
|
+
exports.VirtualTable = _chunkCTR462T2js.VirtualTable; exports.default = _chunkCTR462T2js.VirtualTable_default;
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ var _chunkJFIVDZFKjs = require('./chunk-JFIVDZFK.js');
|
|
|
21
21
|
var _chunkS6K6IR3Yjs = require('./chunk-S6K6IR3Y.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkCTR462T2js = require('./chunk-CTR462T2.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkMUJLT2YGjs = require('./chunk-MUJLT2YG.js');
|
|
@@ -261,10 +261,10 @@ var _chunk6CSTMVB2js = require('./chunk-6CSTMVB2.js');
|
|
|
261
261
|
var _chunkWUEP3PFNjs = require('./chunk-WUEP3PFN.js');
|
|
262
262
|
|
|
263
263
|
|
|
264
|
-
var
|
|
264
|
+
var _chunkMCRT64VSjs = require('./chunk-MCRT64VS.js');
|
|
265
265
|
|
|
266
266
|
|
|
267
|
-
var
|
|
267
|
+
var _chunkOA3HAUBTjs = require('./chunk-OA3HAUBT.js');
|
|
268
268
|
|
|
269
269
|
|
|
270
270
|
var _chunkBGMAWKWVjs = require('./chunk-BGMAWKWV.js');
|
|
@@ -835,4 +835,4 @@ var version = "1.2.0";
|
|
|
835
835
|
|
|
836
836
|
|
|
837
837
|
|
|
838
|
-
exports.ActivityFeed = _chunkFKLK6RHZjs.ActivityFeed; exports.Affix = _chunkCWNEDREVjs.Affix; exports.Alert = _chunkFUGSQXFRjs.Alert; exports.Anchor = _chunkQYSFZA5Vjs.Anchor; exports.AnchorLink = _chunkQYSFZA5Vjs.AnchorLink; exports.AreaChart = _chunk5VSKQLK3js.AreaChart; exports.AutoComplete = _chunkP7RXZVLTjs.AutoComplete; exports.Avatar = _chunkZ6HBM73Wjs.Avatar; exports.AvatarGroup = _chunkODQOYMUQjs.AvatarGroup; exports.BackTop = _chunkDZXZ3YELjs.BackTop; exports.Badge = _chunkPQMZ3YN3js.Badge; exports.BarChart = _chunkSVWZOIBIjs.BarChart; exports.Breadcrumb = _chunkEJZBG5RTjs.Breadcrumb; exports.BreadcrumbItem = _chunkEJZBG5RTjs.BreadcrumbItem; exports.Button = _chunk4VLNT2EDjs.Button; exports.ButtonGroup = _chunk7ADONGSBjs.ButtonGroup; exports.Calendar = _chunkXAQID5IOjs.Calendar; exports.Card = _chunkXGXGAK27js.Card; exports.Carousel = _chunkXH4ZZ6KJjs.Carousel; exports.Cascader = _chunkZSCOAOJJjs.Cascader; exports.ChartAxis = _chunk5PXTMXXSjs.ChartAxis; exports.ChartCanvas = _chunkUHVUKLHFjs.ChartCanvas; exports.ChartGrid = _chunk57MJTNDLjs.ChartGrid; exports.ChartLegend = _chunkACYYQJ6Mjs.ChartLegend; exports.ChartSeries = _chunkHBFFINAIjs.ChartSeries; exports.ChartTooltip = _chunkZOUJFFG4js.ChartTooltip; exports.ChatWindow = _chunkVES3OJOPjs.ChatWindow; exports.Checkbox = _chunk2YFXJUBTjs.Checkbox; exports.CheckboxGroup = _chunkQ4MH333Pjs.CheckboxGroup; exports.Code = _chunkNCLUMDZBjs.Code; exports.CodeEditor = _chunkRKZN3UROjs.CodeEditor; exports.Col = _chunkMSKAWM7Kjs.Col; exports.Collapse = _chunkK2DJDJZRjs.Collapse; exports.CollapsePanel = _chunkMQ23PX3Sjs.CollapsePanel; exports.ColorPicker = _chunk43BLH7DEjs.ColorPicker; exports.ColorSwatch = _chunkXSMDZOBFjs.ColorSwatch; exports.CommentThread = _chunkL6W3XL3Ajs.CommentThread; exports.ConfigProvider = _chunk25EYT2CBjs.ConfigProvider; exports.Container = _chunk54VVFMYIjs.Container; exports.Content = _chunkI4LQXUMWjs.Content; exports.Countdown = _chunkUI7N2ZDUjs.Countdown; exports.CronEditor = _chunk5UOAWXOQjs.CronEditor; exports.CropUpload = _chunkDEDRUUK4js.CropUpload; exports.DataTableWithToolbar =
|
|
838
|
+
exports.ActivityFeed = _chunkFKLK6RHZjs.ActivityFeed; exports.Affix = _chunkCWNEDREVjs.Affix; exports.Alert = _chunkFUGSQXFRjs.Alert; exports.Anchor = _chunkQYSFZA5Vjs.Anchor; exports.AnchorLink = _chunkQYSFZA5Vjs.AnchorLink; exports.AreaChart = _chunk5VSKQLK3js.AreaChart; exports.AutoComplete = _chunkP7RXZVLTjs.AutoComplete; exports.Avatar = _chunkZ6HBM73Wjs.Avatar; exports.AvatarGroup = _chunkODQOYMUQjs.AvatarGroup; exports.BackTop = _chunkDZXZ3YELjs.BackTop; exports.Badge = _chunkPQMZ3YN3js.Badge; exports.BarChart = _chunkSVWZOIBIjs.BarChart; exports.Breadcrumb = _chunkEJZBG5RTjs.Breadcrumb; exports.BreadcrumbItem = _chunkEJZBG5RTjs.BreadcrumbItem; exports.Button = _chunk4VLNT2EDjs.Button; exports.ButtonGroup = _chunk7ADONGSBjs.ButtonGroup; exports.Calendar = _chunkXAQID5IOjs.Calendar; exports.Card = _chunkXGXGAK27js.Card; exports.Carousel = _chunkXH4ZZ6KJjs.Carousel; exports.Cascader = _chunkZSCOAOJJjs.Cascader; exports.ChartAxis = _chunk5PXTMXXSjs.ChartAxis; exports.ChartCanvas = _chunkUHVUKLHFjs.ChartCanvas; exports.ChartGrid = _chunk57MJTNDLjs.ChartGrid; exports.ChartLegend = _chunkACYYQJ6Mjs.ChartLegend; exports.ChartSeries = _chunkHBFFINAIjs.ChartSeries; exports.ChartTooltip = _chunkZOUJFFG4js.ChartTooltip; exports.ChatWindow = _chunkVES3OJOPjs.ChatWindow; exports.Checkbox = _chunk2YFXJUBTjs.Checkbox; exports.CheckboxGroup = _chunkQ4MH333Pjs.CheckboxGroup; exports.Code = _chunkNCLUMDZBjs.Code; exports.CodeEditor = _chunkRKZN3UROjs.CodeEditor; exports.Col = _chunkMSKAWM7Kjs.Col; exports.Collapse = _chunkK2DJDJZRjs.Collapse; exports.CollapsePanel = _chunkMQ23PX3Sjs.CollapsePanel; exports.ColorPicker = _chunk43BLH7DEjs.ColorPicker; exports.ColorSwatch = _chunkXSMDZOBFjs.ColorSwatch; exports.CommentThread = _chunkL6W3XL3Ajs.CommentThread; exports.ConfigProvider = _chunk25EYT2CBjs.ConfigProvider; exports.Container = _chunk54VVFMYIjs.Container; exports.Content = _chunkI4LQXUMWjs.Content; exports.Countdown = _chunkUI7N2ZDUjs.Countdown; exports.CronEditor = _chunk5UOAWXOQjs.CronEditor; exports.CropUpload = _chunkDEDRUUK4js.CropUpload; exports.DataTableWithToolbar = _chunkMCRT64VSjs.DataTableWithToolbar; exports.DatePicker = _chunkZUPVK5L7js.DatePicker; exports.Descriptions = _chunkDE5WMG6Pjs.Descriptions; exports.Divider = _chunkLUBUJUSHjs.Divider; exports.DonutChart = _chunkTAU447CLjs.DonutChart; exports.Drawer = _chunkIQZX54SQjs.Drawer; exports.Dropdown = _chunkFAYSOSR7js.Dropdown; exports.DropdownItem = _chunkMVZGR3ZBjs.DropdownItem; exports.DropdownMenu = _chunkFAYSOSR7js.DropdownMenu; exports.Empty = _chunkNOZ65AMOjs.Empty; exports.FileManager = _chunk7QX4QWWNjs.FileManager; exports.FloatButton = _chunk2S5CNU36js.FloatButton; exports.FloatButtonGroup = _chunk2S5CNU36js.FloatButtonGroup; exports.Footer = _chunkSWOQMMOTjs.Footer; exports.Form = _chunkB2RH4CMGjs.Form; exports.FormItem = _chunkFRI62O2Jjs.FormItem; exports.FormWizard = _chunk6G5IMGTCjs.FormWizard; exports.FunnelChart = _chunkJKEF7NB3js.FunnelChart; exports.Gantt = _chunkZMGNQKXLjs.Gantt; exports.GaugeChart = _chunkXZMU7B54js.GaugeChart; exports.Header = _chunkCKXZONMOjs.Header; exports.HeatmapChart = _chunkVAXO5NEMjs.HeatmapChart; exports.Icon = _chunkRY2I56HBjs.Icon; exports.Image = _chunkSGAUVRUSjs.Image; exports.ImageAnnotation = _chunkPY6P4N2Qjs.ImageAnnotation; exports.ImageCropper = _chunkWUEP3PFNjs.ImageCropper; exports.ImageGroup = _chunkKDA4XDXTjs.ImageGroup; exports.ImagePreview = _chunkX6FG4RPFjs.ImagePreview; exports.ImageViewer = _chunkVXULMOIWjs.ImageViewer; exports.InfiniteScroll = _chunkXJXGVNNFjs.InfiniteScroll; exports.Input = _chunkBYNMOQBBjs.Input; exports.InputGroup = _chunkDYSLYJ2Wjs.InputGroup; exports.InputGroupAddon = _chunkDYSLYJ2Wjs.InputGroupAddon; exports.InputNumber = _chunkUUJ7A3CNjs.InputNumber; exports.Kanban = _chunk663C2UX7js.Kanban; exports.Layout = _chunkTLXEFLPAjs.Layout; exports.LineChart = _chunkKA7DILCIjs.LineChart; exports.Link = _chunk2DC3BMEDjs.Link; exports.List = _chunkS6Q7TD6Hjs.List; exports.Loading = _chunk2LNNB55Ejs.Loading; exports.MarkdownEditor = _chunkX5CFXNVKjs.MarkdownEditor; exports.Mentions = _chunkA5HRX7EGjs.Mentions; exports.Menu = _chunkZNGRSXFKjs.Menu; exports.MenuItem = _chunkZNGRSXFKjs.MenuItem; exports.MenuItemGroup = _chunkZNGRSXFKjs.MenuItemGroup; exports.Message = _chunkJZJEZKGNjs.Message; exports.MessageContainer = _chunkJZJEZKGNjs.MessageContainer; exports.Modal = _chunk6CSTMVB2js.Modal; exports.NotificationCenter = _chunkH5JDEKIVjs.NotificationCenter; exports.NotificationContainer = _chunkCSJQKBDJjs.NotificationContainer; exports.NumberKeyboard = _chunk5JKQPOG2js.NumberKeyboard; exports.OrgChart = _chunkU36NBQWPjs.OrgChart; exports.Pagination = _chunkQO2JYX6Qjs.Pagination; exports.PieChart = _chunkQUIRQ7OAjs.PieChart; exports.Popconfirm = _chunk33YTJPF7js.Popconfirm; exports.Popover = _chunkA5HHG53Zjs.Popover; exports.PrintLayout = _chunkXTMGF5YPjs.PrintLayout; exports.PrintPageBreak = _chunkXTMGF5YPjs.PrintPageBreak; exports.Progress = _chunkQY6PYAJAjs.Progress; exports.QRCode = _chunk3NRRNQYJjs.QRCode; exports.RadarChart = _chunkFUI6WG2Fjs.RadarChart; exports.Radio = _chunk3QV2D54Hjs.Radio; exports.RadioGroup = _chunkFC7RXQTMjs.RadioGroup; exports.Rate = _chunkBZBVSB43js.Rate; exports.Resizable = _chunkLG6KGO5Djs.Resizable; exports.Result = _chunkG3SWTL27js.Result; exports.RichTextEditor = _chunkGOBWUEHVjs.RichTextEditor; exports.Row = _chunkXUOGT4HGjs.Row; exports.ScatterChart = _chunkM2XA7VU5js.ScatterChart; exports.ScrollSpy = _chunkOXIODAJSjs.ScrollSpy; exports.Segmented = _chunkDJCTERZHjs.Segmented; exports.Select = _chunkBGMAWKWVjs.Select; exports.Sidebar = _chunkETTYERGOjs.Sidebar; exports.Signature = _chunkMHNCH2YIjs.Signature; exports.Skeleton = _chunkT4DF24UVjs.Skeleton; exports.Slider = _chunkSLYUQ67Pjs.Slider; exports.Space = _chunkZNVQ2OFXjs.Space; exports.Splitter = _chunkK3CIXMN4js.Splitter; exports.Spotlight = _chunkCWQOEU6Gjs.Spotlight; exports.Statistic = _chunkCTAQ5WENjs.Statistic; exports.Stepper = _chunkA7FN3S4Ijs.Stepper; exports.Steps = _chunkDS7RQFEGjs.Steps; exports.StepsItem = _chunkDS7RQFEGjs.StepsItem; exports.SubMenu = _chunkZNGRSXFKjs.SubMenu; exports.SunburstChart = _chunkULUH6UNVjs.SunburstChart; exports.Switch = _chunkRAUERIPSjs.Switch; exports.TabPane = _chunk44N7LE3Qjs.TabPane; exports.Table = _chunkOA3HAUBTjs.Table; exports.Tabs = _chunk44N7LE3Qjs.Tabs; exports.Tag = _chunk2KDSHEZTjs.Tag; exports.TaskBoard = _chunkEU4IGIPCjs.TaskBoard; exports.Text = _chunkTGHB5XSTjs.Text; exports.Textarea = _chunk6FXYRDYHjs.Textarea; exports.TimePicker = _chunkMUJLT2YGjs.TimePicker; exports.Timeline = _chunk27T3QDSFjs.Timeline; exports.Tooltip = _chunkTOE2XSEOjs.Tooltip; exports.Tour = _chunkPCJHGWTUjs.Tour; exports.Transfer = _chunkFE2HR4E5js.Transfer; exports.Tree = _chunkL5E3L6IDjs.Tree; exports.TreeMapChart = _chunkFP7SBCPOjs.TreeMapChart; exports.TreeSelect = _chunkJFIVDZFKjs.TreeSelect; exports.Upload = _chunkS6K6IR3Yjs.Upload; exports.VirtualList = _chunk5F6P5Y4Kjs.VirtualList; exports.VirtualTable = _chunkCTR462T2js.VirtualTable; exports.Watermark = _chunkJKZ5ZRDGjs.Watermark; exports.notification = _chunkCSJQKBDJjs.notification; exports.useChartInteraction = _chunk2VOZFFW6js.useChartInteraction; exports.useDrag = useDrag; exports.useFormController = useFormController; exports.useTigerConfig = _chunk25EYT2CBjs.useTigerConfig; exports.version = version;
|
package/dist/index.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-LILAZ4UJ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
VirtualTable
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-G44EGPJB.mjs";
|
|
25
25
|
import {
|
|
26
26
|
TimePicker
|
|
27
27
|
} from "./chunk-KVJIJJ4M.mjs";
|
|
@@ -261,10 +261,10 @@ import {
|
|
|
261
261
|
} from "./chunk-DEJKRMMU.mjs";
|
|
262
262
|
import {
|
|
263
263
|
DataTableWithToolbar
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-PHWAXBFG.mjs";
|
|
265
265
|
import {
|
|
266
266
|
Table
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-7M4UUCJF.mjs";
|
|
268
268
|
import {
|
|
269
269
|
Select
|
|
270
270
|
} from "./chunk-PYT5DTQQ.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expcat/tigercat-vue",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.33",
|
|
4
4
|
"description": "Vue 3 components for Tigercat UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Yizhe Wang",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@expcat/tigercat-core": "1.2.
|
|
51
|
+
"@expcat/tigercat-core": "1.2.33"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^25.6.0",
|