@expcat/tigercat-vue 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.
- package/dist/{chunk-7U673KY5.mjs → chunk-7M4UUCJF.mjs} +53 -44
- package/dist/{chunk-AGVXMB4Q.js → chunk-CTR462T2.js} +27 -2
- package/dist/{chunk-C7VGTRHE.mjs → chunk-G44EGPJB.mjs} +28 -3
- package/dist/{chunk-CNRBYRK6.js → chunk-MCRT64VS.js} +2 -2
- package/dist/{chunk-YS6YQKYU.js → chunk-OA3HAUBT.js} +55 -46
- package/dist/{chunk-PKMSTN65.mjs → chunk-PHWAXBFG.mjs} +1 -1
- package/dist/components/ActivityFeed.d.mts +6 -6
- package/dist/components/ActivityFeed.d.ts +6 -6
- package/dist/components/Alert.d.mts +5 -5
- package/dist/components/Alert.d.ts +5 -5
- package/dist/components/Anchor.d.mts +1 -1
- package/dist/components/Anchor.d.ts +1 -1
- package/dist/components/AreaChart.d.mts +2 -2
- package/dist/components/AreaChart.d.ts +2 -2
- package/dist/components/AutoComplete.d.mts +2 -2
- package/dist/components/AutoComplete.d.ts +2 -2
- package/dist/components/Avatar.d.mts +1 -1
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/BackTop.d.mts +1 -1
- package/dist/components/BackTop.d.ts +1 -1
- package/dist/components/Badge.d.mts +3 -3
- package/dist/components/Badge.d.ts +3 -3
- package/dist/components/BarChart.d.mts +1 -1
- package/dist/components/BarChart.d.ts +1 -1
- package/dist/components/Breadcrumb.d.mts +2 -2
- package/dist/components/Breadcrumb.d.ts +2 -2
- package/dist/components/Button.d.mts +3 -3
- package/dist/components/Button.d.ts +3 -3
- package/dist/components/Calendar.d.mts +1 -1
- package/dist/components/Calendar.d.ts +1 -1
- package/dist/components/Card.d.mts +2 -2
- package/dist/components/Card.d.ts +2 -2
- package/dist/components/ChartGrid.d.mts +1 -1
- package/dist/components/ChartGrid.d.ts +1 -1
- package/dist/components/ChatWindow.d.mts +3 -3
- package/dist/components/ChatWindow.d.ts +3 -3
- package/dist/components/CodeEditor.d.mts +2 -2
- package/dist/components/CodeEditor.d.ts +2 -2
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/Collapse.d.ts +1 -1
- package/dist/components/ColorSwatch.d.mts +1 -1
- package/dist/components/ColorSwatch.d.ts +1 -1
- package/dist/components/CommentThread.d.mts +3 -3
- package/dist/components/CommentThread.d.ts +3 -3
- package/dist/components/ConfigProvider.d.mts +1 -1
- package/dist/components/ConfigProvider.d.ts +1 -1
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/Countdown.d.ts +1 -1
- package/dist/components/DataTableWithToolbar.d.mts +6 -6
- package/dist/components/DataTableWithToolbar.d.ts +6 -6
- package/dist/components/DataTableWithToolbar.js +3 -3
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/DatePicker.d.mts +2 -2
- package/dist/components/DatePicker.d.ts +2 -2
- package/dist/components/Descriptions.d.mts +3 -3
- package/dist/components/Descriptions.d.ts +3 -3
- package/dist/components/DonutChart.d.mts +2 -2
- package/dist/components/DonutChart.d.ts +2 -2
- package/dist/components/Drawer.d.mts +3 -3
- package/dist/components/Drawer.d.ts +3 -3
- package/dist/components/Empty.d.mts +1 -1
- package/dist/components/Empty.d.ts +1 -1
- package/dist/components/FileManager.d.mts +2 -2
- package/dist/components/FileManager.d.ts +2 -2
- package/dist/components/FloatButton.d.mts +3 -3
- package/dist/components/FloatButton.d.ts +3 -3
- package/dist/components/Form.d.mts +1 -1
- package/dist/components/Form.d.ts +1 -1
- package/dist/components/FormWizard.d.mts +2 -2
- package/dist/components/FormWizard.d.ts +2 -2
- package/dist/components/FunnelChart.d.mts +1 -1
- package/dist/components/FunnelChart.d.ts +1 -1
- package/dist/components/Gantt.d.mts +1 -1
- package/dist/components/Gantt.d.ts +1 -1
- package/dist/components/GaugeChart.d.mts +1 -1
- package/dist/components/GaugeChart.d.ts +1 -1
- package/dist/components/HeatmapChart.d.mts +2 -2
- package/dist/components/HeatmapChart.d.ts +2 -2
- package/dist/components/Image.d.mts +2 -2
- package/dist/components/Image.d.ts +2 -2
- package/dist/components/ImageAnnotation.d.mts +4 -4
- package/dist/components/ImageAnnotation.d.ts +4 -4
- package/dist/components/InfiniteScroll.d.mts +2 -2
- package/dist/components/InfiniteScroll.d.ts +2 -2
- package/dist/components/Input.d.mts +4 -4
- package/dist/components/Input.d.ts +4 -4
- package/dist/components/InputGroup.d.mts +1 -1
- package/dist/components/InputGroup.d.ts +1 -1
- package/dist/components/InputNumber.d.mts +1 -1
- package/dist/components/InputNumber.d.ts +1 -1
- package/dist/components/LineChart.d.mts +2 -2
- package/dist/components/LineChart.d.ts +2 -2
- package/dist/components/Link.d.mts +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/List.d.mts +5 -5
- package/dist/components/List.d.ts +5 -5
- package/dist/components/Loading.d.mts +5 -5
- package/dist/components/Loading.d.ts +5 -5
- package/dist/components/MarkdownEditor.d.mts +1 -1
- package/dist/components/MarkdownEditor.d.ts +1 -1
- package/dist/components/Mentions.d.mts +2 -2
- package/dist/components/Mentions.d.ts +2 -2
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Menu.d.ts +5 -5
- package/dist/components/Modal.d.mts +5 -5
- package/dist/components/Modal.d.ts +5 -5
- package/dist/components/NotificationCenter.d.mts +7 -7
- package/dist/components/NotificationCenter.d.ts +7 -7
- package/dist/components/NumberKeyboard.d.mts +1 -1
- package/dist/components/NumberKeyboard.d.ts +1 -1
- package/dist/components/OrgChart.d.mts +1 -1
- package/dist/components/OrgChart.d.ts +1 -1
- package/dist/components/Pagination.d.mts +2 -2
- package/dist/components/Pagination.d.ts +2 -2
- package/dist/components/PieChart.d.mts +2 -2
- package/dist/components/PieChart.d.ts +2 -2
- package/dist/components/Popconfirm.d.mts +4 -4
- package/dist/components/Popconfirm.d.ts +4 -4
- package/dist/components/Popover.d.mts +2 -2
- package/dist/components/Popover.d.ts +2 -2
- package/dist/components/Progress.d.mts +3 -3
- package/dist/components/Progress.d.ts +3 -3
- package/dist/components/QRCode.d.mts +1 -1
- package/dist/components/QRCode.d.ts +1 -1
- package/dist/components/RadarChart.d.mts +2 -2
- package/dist/components/RadarChart.d.ts +2 -2
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/Result.d.ts +1 -1
- package/dist/components/RichTextEditor.d.mts +1 -1
- package/dist/components/RichTextEditor.d.ts +1 -1
- package/dist/components/Row.d.mts +1 -1
- package/dist/components/Row.d.ts +1 -1
- package/dist/components/ScatterChart.d.mts +1 -1
- package/dist/components/ScatterChart.d.ts +1 -1
- package/dist/components/ScrollSpy.d.mts +1 -1
- package/dist/components/ScrollSpy.d.ts +1 -1
- package/dist/components/Select.d.mts +1 -1
- package/dist/components/Select.d.ts +1 -1
- package/dist/components/Signature.d.mts +2 -2
- package/dist/components/Signature.d.ts +2 -2
- package/dist/components/Skeleton.d.mts +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Space.d.mts +1 -1
- package/dist/components/Space.d.ts +1 -1
- package/dist/components/Spotlight.d.mts +4 -4
- package/dist/components/Spotlight.d.ts +4 -4
- package/dist/components/Statistic.d.mts +1 -1
- package/dist/components/Statistic.d.ts +1 -1
- package/dist/components/Steps.d.mts +2 -2
- package/dist/components/Steps.d.ts +2 -2
- package/dist/components/SunburstChart.d.mts +1 -1
- package/dist/components/SunburstChart.d.ts +1 -1
- package/dist/components/Table.d.mts +5 -5
- package/dist/components/Table.d.ts +5 -5
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/Tabs.d.mts +3 -3
- package/dist/components/Tabs.d.ts +3 -3
- package/dist/components/Tag.d.mts +2 -2
- package/dist/components/Tag.d.ts +2 -2
- package/dist/components/Text.d.mts +3 -3
- package/dist/components/Text.d.ts +3 -3
- package/dist/components/Textarea.d.mts +1 -1
- package/dist/components/Textarea.d.ts +1 -1
- package/dist/components/TimePicker.d.mts +2 -2
- package/dist/components/TimePicker.d.ts +2 -2
- package/dist/components/Timeline.d.mts +1 -1
- package/dist/components/Timeline.d.ts +1 -1
- package/dist/components/Tooltip.d.mts +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Tour.d.mts +3 -3
- package/dist/components/Tour.d.ts +3 -3
- package/dist/components/Tree.d.mts +4 -4
- package/dist/components/Tree.d.ts +4 -4
- package/dist/components/TreeMapChart.d.mts +1 -1
- package/dist/components/TreeMapChart.d.ts +1 -1
- package/dist/components/Upload.d.mts +4 -4
- package/dist/components/Upload.d.ts +4 -4
- package/dist/components/VirtualTable.d.mts +3 -3
- package/dist/components/VirtualTable.d.ts +3 -3
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/components/Watermark.d.ts +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,
|
|
@@ -1104,18 +1099,20 @@ function renderPagination(ctx, props, view) {
|
|
|
1104
1099
|
const paginationConfig = props.pagination;
|
|
1105
1100
|
const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.value.length;
|
|
1106
1101
|
const locale = view?.disableI18n ? void 0 : view?.locale;
|
|
1107
|
-
const labels =
|
|
1102
|
+
const labels = getPaginationLabels(locale);
|
|
1108
1103
|
const localeCode = locale?.locale;
|
|
1109
|
-
const
|
|
1110
|
-
const
|
|
1111
|
-
const
|
|
1112
|
-
const
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
const
|
|
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];
|
|
1119
1116
|
return h5("div", { class: getSimplePaginationContainerClasses() }, [
|
|
1120
1117
|
paginationConfig.showTotal !== false && h5(
|
|
1121
1118
|
"div",
|
|
@@ -1128,11 +1125,18 @@ function renderPagination(ctx, props, view) {
|
|
|
1128
1125
|
{
|
|
1129
1126
|
class: getSimplePaginationSelectClasses(),
|
|
1130
1127
|
value: ctx.currentPageSize.value,
|
|
1128
|
+
"aria-label": labels.itemsPerPageText,
|
|
1131
1129
|
onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value))
|
|
1132
1130
|
},
|
|
1133
|
-
(
|
|
1134
|
-
|
|
1135
|
-
|
|
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(
|
|
1135
|
+
"option",
|
|
1136
|
+
{ value, key: value },
|
|
1137
|
+
paginationConfig.pageSizeText ? paginationConfig.pageSizeText(value) : label
|
|
1138
|
+
);
|
|
1139
|
+
})
|
|
1136
1140
|
),
|
|
1137
1141
|
h5("div", { class: getSimplePaginationButtonsWrapperClasses() }, [
|
|
1138
1142
|
h5(
|
|
@@ -1140,13 +1144,17 @@ function renderPagination(ctx, props, view) {
|
|
|
1140
1144
|
{
|
|
1141
1145
|
class: getSimplePaginationButtonClasses(!hasPrev),
|
|
1142
1146
|
disabled: !hasPrev,
|
|
1147
|
+
"aria-label": finalPrevAriaLabel,
|
|
1143
1148
|
onClick: () => ctx.handlePageChange(ctx.currentPage.value - 1)
|
|
1144
1149
|
},
|
|
1145
1150
|
finalPrevText
|
|
1146
1151
|
),
|
|
1147
1152
|
h5(
|
|
1148
1153
|
"span",
|
|
1149
|
-
{
|
|
1154
|
+
{
|
|
1155
|
+
class: getSimplePaginationPageIndicatorClasses(),
|
|
1156
|
+
"aria-label": finalPageIndicatorText
|
|
1157
|
+
},
|
|
1150
1158
|
finalPageIndicatorText
|
|
1151
1159
|
),
|
|
1152
1160
|
h5(
|
|
@@ -1154,6 +1162,7 @@ function renderPagination(ctx, props, view) {
|
|
|
1154
1162
|
{
|
|
1155
1163
|
class: getSimplePaginationButtonClasses(!hasNext),
|
|
1156
1164
|
disabled: !hasNext,
|
|
1165
|
+
"aria-label": finalNextAriaLabel,
|
|
1157
1166
|
onClick: () => ctx.handlePageChange(ctx.currentPage.value + 1)
|
|
1158
1167
|
},
|
|
1159
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", {
|
|
@@ -1104,18 +1099,20 @@ function renderPagination(ctx, props, view) {
|
|
|
1104
1099
|
const paginationConfig = props.pagination;
|
|
1105
1100
|
const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.value.length;
|
|
1106
1101
|
const locale = _optionalChain([view, 'optionalAccess', _81 => _81.disableI18n]) ? void 0 : _optionalChain([view, 'optionalAccess', _82 => _82.locale]);
|
|
1107
|
-
const labels =
|
|
1102
|
+
const labels = _tigercatcore.getPaginationLabels.call(void 0, locale);
|
|
1108
1103
|
const localeCode = _optionalChain([locale, 'optionalAccess', _83 => _83.locale]);
|
|
1109
|
-
const
|
|
1110
|
-
const
|
|
1111
|
-
const
|
|
1112
|
-
const
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
const
|
|
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];
|
|
1119
1116
|
return _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationContainerClasses.call(void 0, ) }, [
|
|
1120
1117
|
paginationConfig.showTotal !== false && _vue.h.call(void 0,
|
|
1121
1118
|
"div",
|
|
@@ -1128,11 +1125,18 @@ function renderPagination(ctx, props, view) {
|
|
|
1128
1125
|
{
|
|
1129
1126
|
class: _tigercatcore.getSimplePaginationSelectClasses.call(void 0, ),
|
|
1130
1127
|
value: ctx.currentPageSize.value,
|
|
1128
|
+
"aria-label": labels.itemsPerPageText,
|
|
1131
1129
|
onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value))
|
|
1132
1130
|
},
|
|
1133
|
-
(
|
|
1134
|
-
|
|
1135
|
-
|
|
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,
|
|
1135
|
+
"option",
|
|
1136
|
+
{ value, key: value },
|
|
1137
|
+
paginationConfig.pageSizeText ? paginationConfig.pageSizeText(value) : label
|
|
1138
|
+
);
|
|
1139
|
+
})
|
|
1136
1140
|
),
|
|
1137
1141
|
_vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationButtonsWrapperClasses.call(void 0, ) }, [
|
|
1138
1142
|
_vue.h.call(void 0,
|
|
@@ -1140,13 +1144,17 @@ function renderPagination(ctx, props, view) {
|
|
|
1140
1144
|
{
|
|
1141
1145
|
class: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasPrev),
|
|
1142
1146
|
disabled: !hasPrev,
|
|
1147
|
+
"aria-label": finalPrevAriaLabel,
|
|
1143
1148
|
onClick: () => ctx.handlePageChange(ctx.currentPage.value - 1)
|
|
1144
1149
|
},
|
|
1145
1150
|
finalPrevText
|
|
1146
1151
|
),
|
|
1147
1152
|
_vue.h.call(void 0,
|
|
1148
1153
|
"span",
|
|
1149
|
-
{
|
|
1154
|
+
{
|
|
1155
|
+
class: _tigercatcore.getSimplePaginationPageIndicatorClasses.call(void 0, ),
|
|
1156
|
+
"aria-label": finalPageIndicatorText
|
|
1157
|
+
},
|
|
1150
1158
|
finalPageIndicatorText
|
|
1151
1159
|
),
|
|
1152
1160
|
_vue.h.call(void 0,
|
|
@@ -1154,6 +1162,7 @@ function renderPagination(ctx, props, view) {
|
|
|
1154
1162
|
{
|
|
1155
1163
|
class: _tigercatcore.getSimplePaginationButtonClasses.call(void 0, !hasNext),
|
|
1156
1164
|
disabled: !hasNext,
|
|
1165
|
+
"aria-label": finalNextAriaLabel,
|
|
1157
1166
|
onClick: () => ctx.handlePageChange(ctx.currentPage.value + 1)
|
|
1158
1167
|
},
|
|
1159
1168
|
finalNextText
|
|
@@ -1274,7 +1283,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1274
1283
|
const rows = ctx.displayColumns.value.map((column) => {
|
|
1275
1284
|
const dataKey = column.dataKey || column.key;
|
|
1276
1285
|
const cellValue = record[dataKey];
|
|
1277
|
-
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)));
|
|
1278
1287
|
return _vue.h.call(void 0, "div", { key: column.key, class: _tigercatcore.tableResponsiveCardRowClasses }, [
|
|
1279
1288
|
_vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardLabelClasses }, column.title),
|
|
1280
1289
|
_vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardValueClasses }, [cellContent])
|
|
@@ -1282,7 +1291,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1282
1291
|
});
|
|
1283
1292
|
const controls = [];
|
|
1284
1293
|
if (resolvedProps.rowSelection && resolvedProps.rowSelection.showCheckbox !== false) {
|
|
1285
|
-
const checkboxProps = _optionalChain([resolvedProps, 'access',
|
|
1294
|
+
const checkboxProps = _optionalChain([resolvedProps, 'access', _88 => _88.rowSelection, 'access', _89 => _89.getCheckboxProps, 'optionalCall', _90 => _90(record)]) || {};
|
|
1286
1295
|
controls.push(
|
|
1287
1296
|
_vue.h.call(void 0, "input", {
|
|
1288
1297
|
type: resolvedProps.rowSelection.type === "radio" ? "radio" : "checkbox",
|
|
@@ -1310,7 +1319,7 @@ var Table = _vue.defineComponent.call(void 0, {
|
|
|
1310
1319
|
)
|
|
1311
1320
|
);
|
|
1312
1321
|
}
|
|
1313
|
-
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;
|
|
1314
1323
|
return _vue.h.call(void 0,
|
|
1315
1324
|
"div",
|
|
1316
1325
|
{
|
|
@@ -107,18 +107,18 @@ declare const ActivityFeed: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
107
107
|
default: undefined;
|
|
108
108
|
};
|
|
109
109
|
}>> & Readonly<{}>, {
|
|
110
|
-
className: string;
|
|
111
|
-
style: Record<string, string | number>;
|
|
112
|
-
loadingText: string;
|
|
113
|
-
emptyText: string;
|
|
114
|
-
loading: boolean;
|
|
115
|
-
groupBy: (item: ActivityItem) => string;
|
|
116
110
|
items: ActivityItem[];
|
|
117
111
|
groups: ActivityGroup[];
|
|
112
|
+
groupBy: (item: ActivityItem) => string;
|
|
118
113
|
groupOrder: string[];
|
|
114
|
+
loading: boolean;
|
|
115
|
+
loadingText: string;
|
|
116
|
+
emptyText: string;
|
|
119
117
|
showAvatar: boolean;
|
|
120
118
|
showTime: boolean;
|
|
121
119
|
showGroupTitle: boolean;
|
|
120
|
+
className: string;
|
|
121
|
+
style: Record<string, string | number>;
|
|
122
122
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
123
123
|
|
|
124
124
|
export { ActivityFeed, type VueActivityFeedProps, ActivityFeed as default };
|
|
@@ -107,18 +107,18 @@ declare const ActivityFeed: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
107
107
|
default: undefined;
|
|
108
108
|
};
|
|
109
109
|
}>> & Readonly<{}>, {
|
|
110
|
-
className: string;
|
|
111
|
-
style: Record<string, string | number>;
|
|
112
|
-
loadingText: string;
|
|
113
|
-
emptyText: string;
|
|
114
|
-
loading: boolean;
|
|
115
|
-
groupBy: (item: ActivityItem) => string;
|
|
116
110
|
items: ActivityItem[];
|
|
117
111
|
groups: ActivityGroup[];
|
|
112
|
+
groupBy: (item: ActivityItem) => string;
|
|
118
113
|
groupOrder: string[];
|
|
114
|
+
loading: boolean;
|
|
115
|
+
loadingText: string;
|
|
116
|
+
emptyText: string;
|
|
119
117
|
showAvatar: boolean;
|
|
120
118
|
showTime: boolean;
|
|
121
119
|
showGroupTitle: boolean;
|
|
120
|
+
className: string;
|
|
121
|
+
style: Record<string, string | number>;
|
|
122
122
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
123
123
|
|
|
124
124
|
export { ActivityFeed, type VueActivityFeedProps, ActivityFeed as default };
|
|
@@ -204,16 +204,16 @@ declare const Alert: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
204
204
|
}>> & Readonly<{
|
|
205
205
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
206
206
|
}>, {
|
|
207
|
-
type: AlertType;
|
|
208
207
|
size: AlertSize;
|
|
208
|
+
className: string;
|
|
209
|
+
style: Record<string, string | number>;
|
|
210
|
+
type: AlertType;
|
|
209
211
|
title: string;
|
|
210
|
-
description: string;
|
|
211
|
-
showIcon: boolean;
|
|
212
212
|
closable: boolean;
|
|
213
213
|
closeAriaLabel: string;
|
|
214
|
+
showIcon: boolean;
|
|
215
|
+
description: string;
|
|
214
216
|
duration: number;
|
|
215
|
-
className: string;
|
|
216
|
-
style: Record<string, string | number>;
|
|
217
217
|
banner: boolean;
|
|
218
218
|
showCountdown: boolean;
|
|
219
219
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -204,16 +204,16 @@ declare const Alert: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
204
204
|
}>> & Readonly<{
|
|
205
205
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
206
206
|
}>, {
|
|
207
|
-
type: AlertType;
|
|
208
207
|
size: AlertSize;
|
|
208
|
+
className: string;
|
|
209
|
+
style: Record<string, string | number>;
|
|
210
|
+
type: AlertType;
|
|
209
211
|
title: string;
|
|
210
|
-
description: string;
|
|
211
|
-
showIcon: boolean;
|
|
212
212
|
closable: boolean;
|
|
213
213
|
closeAriaLabel: string;
|
|
214
|
+
showIcon: boolean;
|
|
215
|
+
description: string;
|
|
214
216
|
duration: number;
|
|
215
|
-
className: string;
|
|
216
|
-
style: Record<string, string | number>;
|
|
217
217
|
banner: boolean;
|
|
218
218
|
showCountdown: boolean;
|
|
219
219
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -84,8 +84,8 @@ declare const AnchorLink: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
84
84
|
default: undefined;
|
|
85
85
|
};
|
|
86
86
|
}>> & Readonly<{}>, {
|
|
87
|
-
title: string;
|
|
88
87
|
className: string;
|
|
88
|
+
title: string;
|
|
89
89
|
target: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
91
|
declare const Anchor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -84,8 +84,8 @@ declare const AnchorLink: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
84
84
|
default: undefined;
|
|
85
85
|
};
|
|
86
86
|
}>> & Readonly<{}>, {
|
|
87
|
-
title: string;
|
|
88
87
|
className: string;
|
|
88
|
+
title: string;
|
|
89
89
|
target: string;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
91
|
declare const Anchor: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -403,12 +403,12 @@ declare const AreaChart: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
403
403
|
"onSeries-click"?: ((...args: any[]) => any) | undefined;
|
|
404
404
|
"onSeries-hover"?: ((...args: any[]) => any) | undefined;
|
|
405
405
|
}>, {
|
|
406
|
+
hoverable: boolean;
|
|
407
|
+
strokeWidth: number;
|
|
406
408
|
width: number;
|
|
407
409
|
height: number;
|
|
408
410
|
padding: ChartPadding;
|
|
409
411
|
gradient: boolean;
|
|
410
|
-
hoverable: boolean;
|
|
411
|
-
strokeWidth: number;
|
|
412
412
|
fillOpacity: number;
|
|
413
413
|
selectable: boolean;
|
|
414
414
|
xTicks: number;
|