@expcat/tigercat-vue 1.2.31 → 1.2.34
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-F5S26BR3.mjs → chunk-25VVIM45.mjs} +8 -2
- package/dist/{chunk-4Z4XMXCO.mjs → chunk-5HUZ33NC.mjs} +22 -6
- package/dist/{chunk-7U673KY5.mjs → chunk-7M4UUCJF.mjs} +53 -44
- package/dist/{chunk-6G5IMGTC.js → chunk-BXS7OSVF.js} +37 -35
- package/dist/{chunk-AGVXMB4Q.js → chunk-CTR462T2.js} +27 -2
- package/dist/{chunk-DSHV7EAX.mjs → chunk-DRQ2QXZT.mjs} +16 -2
- package/dist/{chunk-NZUQ2KCW.mjs → chunk-F7WZCYYD.mjs} +19 -5
- package/dist/{chunk-C7VGTRHE.mjs → chunk-G44EGPJB.mjs} +28 -3
- package/dist/{chunk-DEDRUUK4.js → chunk-IBB54GHF.js} +2 -2
- package/dist/{chunk-QO2JYX6Q.js → chunk-LAWBHGPK.js} +19 -5
- package/dist/{chunk-663C2UX7.js → chunk-LZHCKW2Z.js} +2 -2
- package/dist/{chunk-CNRBYRK6.js → chunk-MCRT64VS.js} +2 -2
- package/dist/{chunk-YS6YQKYU.js → chunk-OA3HAUBT.js} +55 -46
- package/dist/{chunk-EU4IGIPC.js → chunk-OKLDFVDJ.js} +8 -2
- package/dist/{chunk-6CSTMVB2.js → chunk-PACAXQQ4.js} +22 -6
- package/dist/{chunk-PKMSTN65.mjs → chunk-PHWAXBFG.mjs} +1 -1
- package/dist/{chunk-OF4MY6EC.mjs → chunk-U5RXZ2IL.mjs} +1 -1
- package/dist/{chunk-IQZX54SQ.js → chunk-UC3UXUVN.js} +16 -2
- package/dist/{chunk-OZLSZQXF.mjs → chunk-WH4J6PHF.mjs} +37 -35
- package/dist/{chunk-AQE5RZDE.mjs → chunk-ZDKGABPQ.mjs} +1 -1
- package/dist/components/ActivityFeed.d.mts +2 -2
- package/dist/components/ActivityFeed.d.ts +2 -2
- package/dist/components/Alert.d.mts +5 -5
- package/dist/components/Alert.d.ts +5 -5
- package/dist/components/Anchor.d.mts +2 -2
- package/dist/components/Anchor.d.ts +2 -2
- package/dist/components/BackTop.d.mts +1 -1
- package/dist/components/BackTop.d.ts +1 -1
- package/dist/components/ButtonGroup.d.mts +1 -1
- package/dist/components/ButtonGroup.d.ts +1 -1
- package/dist/components/Card.d.mts +1 -1
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/CodeEditor.d.mts +1 -1
- package/dist/components/CodeEditor.d.ts +1 -1
- package/dist/components/CollapsePanel.d.mts +1 -1
- package/dist/components/CollapsePanel.d.ts +1 -1
- package/dist/components/CommentThread.d.mts +1 -1
- package/dist/components/CommentThread.d.ts +1 -1
- package/dist/components/Countdown.d.mts +1 -1
- package/dist/components/Countdown.d.ts +1 -1
- package/dist/components/CropUpload.js +4 -3
- package/dist/components/CropUpload.mjs +3 -2
- package/dist/components/DataTableWithToolbar.d.mts +3 -3
- package/dist/components/DataTableWithToolbar.d.ts +3 -3
- package/dist/components/DataTableWithToolbar.js +3 -3
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/DatePicker.d.mts +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/Descriptions.d.mts +1 -1
- package/dist/components/Descriptions.d.ts +1 -1
- package/dist/components/Drawer.d.mts +21 -5
- package/dist/components/Drawer.d.ts +21 -5
- package/dist/components/Drawer.js +3 -2
- package/dist/components/Drawer.mjs +2 -1
- package/dist/components/Empty.d.mts +1 -1
- package/dist/components/Empty.d.ts +1 -1
- package/dist/components/FileManager.d.mts +1 -1
- package/dist/components/FileManager.d.ts +1 -1
- package/dist/components/FormWizard.d.mts +14 -4
- package/dist/components/FormWizard.d.ts +14 -4
- package/dist/components/FormWizard.js +2 -2
- package/dist/components/FormWizard.mjs +1 -1
- package/dist/components/HeatmapChart.d.mts +1 -1
- package/dist/components/HeatmapChart.d.ts +1 -1
- package/dist/components/InfiniteScroll.d.mts +1 -1
- package/dist/components/InfiniteScroll.d.ts +1 -1
- package/dist/components/Kanban.d.mts +1 -1
- package/dist/components/Kanban.d.ts +1 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/List.d.mts +2 -2
- package/dist/components/List.d.ts +2 -2
- package/dist/components/MarkdownEditor.d.mts +1 -1
- package/dist/components/MarkdownEditor.d.ts +1 -1
- package/dist/components/Menu.d.mts +5 -5
- package/dist/components/Menu.d.ts +5 -5
- package/dist/components/Modal.d.mts +25 -9
- package/dist/components/Modal.d.ts +25 -9
- package/dist/components/Modal.js +3 -2
- package/dist/components/Modal.mjs +2 -1
- package/dist/components/NotificationCenter.d.mts +3 -3
- package/dist/components/NotificationCenter.d.ts +3 -3
- package/dist/components/NumberKeyboard.d.mts +1 -1
- package/dist/components/NumberKeyboard.d.ts +1 -1
- package/dist/components/Pagination.d.mts +23 -3
- package/dist/components/Pagination.d.ts +23 -3
- package/dist/components/Pagination.js +3 -2
- package/dist/components/Pagination.mjs +2 -1
- package/dist/components/Popconfirm.d.mts +5 -5
- package/dist/components/Popconfirm.d.ts +5 -5
- package/dist/components/Popover.d.mts +1 -1
- package/dist/components/Popover.d.ts +1 -1
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/Result.d.ts +1 -1
- package/dist/components/ScrollSpy.d.mts +1 -1
- package/dist/components/ScrollSpy.d.ts +1 -1
- package/dist/components/Space.d.mts +1 -1
- package/dist/components/Space.d.ts +1 -1
- package/dist/components/Splitter.d.mts +1 -1
- package/dist/components/Splitter.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/Table.d.mts +1 -1
- package/dist/components/Table.d.ts +1 -1
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/Tabs.d.mts +2 -2
- package/dist/components/Tabs.d.ts +2 -2
- package/dist/components/Tag.d.mts +2 -2
- package/dist/components/Tag.d.ts +2 -2
- package/dist/components/TaskBoard.d.mts +12 -2
- package/dist/components/TaskBoard.d.ts +12 -2
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/TimePicker.d.mts +2 -2
- package/dist/components/TimePicker.d.ts +2 -2
- package/dist/components/Timeline.d.mts +2 -2
- package/dist/components/Timeline.d.ts +2 -2
- package/dist/components/Tour.d.mts +4 -4
- package/dist/components/Tour.d.ts +4 -4
- package/dist/components/Tree.d.mts +2 -2
- package/dist/components/Tree.d.ts +2 -2
- package/dist/components/Upload.d.mts +4 -4
- package/dist/components/Upload.d.ts +4 -4
- package/dist/components/VirtualTable.d.mts +1 -1
- package/dist/components/VirtualTable.d.ts +1 -1
- package/dist/components/VirtualTable.js +2 -2
- package/dist/components/VirtualTable.mjs +1 -1
- package/dist/index.js +11 -11
- package/dist/index.mjs +10 -10
- package/package.json +2 -2
|
@@ -1,4 +1,8 @@
|
|
|
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; }
|
|
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
|
+
|
|
3
|
+
var _chunk25EYT2CBjs = require('./chunk-25EYT2CB.js');
|
|
4
|
+
|
|
5
|
+
// src/components/Pagination.ts
|
|
2
6
|
|
|
3
7
|
|
|
4
8
|
|
|
@@ -32,6 +36,7 @@ var _vue = require('vue');
|
|
|
32
36
|
|
|
33
37
|
|
|
34
38
|
|
|
39
|
+
|
|
35
40
|
|
|
36
41
|
|
|
37
42
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
@@ -184,6 +189,13 @@ var Pagination = _vue.defineComponent.call(void 0, {
|
|
|
184
189
|
type: [Object, Function],
|
|
185
190
|
default: void 0
|
|
186
191
|
},
|
|
192
|
+
/**
|
|
193
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
194
|
+
*/
|
|
195
|
+
labels: {
|
|
196
|
+
type: Object,
|
|
197
|
+
default: void 0
|
|
198
|
+
},
|
|
187
199
|
quickJumperValidation: {
|
|
188
200
|
type: Object,
|
|
189
201
|
default: void 0
|
|
@@ -194,6 +206,7 @@ var Pagination = _vue.defineComponent.call(void 0, {
|
|
|
194
206
|
const attrsRecord = attrs;
|
|
195
207
|
const attrsClass = attrsRecord.class;
|
|
196
208
|
const attrsStyle = attrsRecord.style;
|
|
209
|
+
const config = _chunk25EYT2CBjs.useTigerConfig.call(void 0, );
|
|
197
210
|
const resolvedLocale = _vue.ref.call(void 0,
|
|
198
211
|
_tigercatcore.getImmediateTigerLocale.call(void 0, props.locale)
|
|
199
212
|
);
|
|
@@ -218,9 +231,10 @@ var Pagination = _vue.defineComponent.call(void 0, {
|
|
|
218
231
|
},
|
|
219
232
|
{ immediate: true }
|
|
220
233
|
);
|
|
221
|
-
const
|
|
222
|
-
const
|
|
223
|
-
const
|
|
234
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, resolvedLocale.value));
|
|
235
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getPaginationLabels.call(void 0, mergedLocale.value, props.labels));
|
|
236
|
+
const localeCode = _vue.computed.call(void 0, () => _optionalChain([mergedLocale, 'access', _ => _.value, 'optionalAccess', _2 => _2.locale]));
|
|
237
|
+
const isRtl = _vue.computed.call(void 0, () => _tigercatcore.getLocaleDirection.call(void 0, mergedLocale.value) === "rtl");
|
|
224
238
|
const internalCurrent = _vue.ref.call(void 0, props.defaultCurrent);
|
|
225
239
|
const internalPageSize = _vue.ref.call(void 0, props.defaultPageSize);
|
|
226
240
|
const quickJumperValue = _vue.ref.call(void 0, "");
|
|
@@ -334,7 +348,7 @@ var Pagination = _vue.defineComponent.call(void 0, {
|
|
|
334
348
|
const prevDisabled = page <= 1 || props.disabled;
|
|
335
349
|
const nextDisabled = page >= pages || props.disabled;
|
|
336
350
|
if (props.showTotal) {
|
|
337
|
-
const totalTextFn = props.totalText || (_optionalChain([
|
|
351
|
+
const totalTextFn = props.totalText || (_optionalChain([props, 'access', _3 => _3.labels, 'optionalAccess', _4 => _4.totalText]) || _optionalChain([mergedLocale, 'access', _5 => _5.value, 'optionalAccess', _6 => _6.pagination, 'optionalAccess', _7 => _7.totalText]) ? (value, range) => _tigercatcore.formatPaginationTotal.call(void 0, labels.value.totalText, value, range, localeCode.value) : _tigercatcore.defaultTotalText);
|
|
338
352
|
elements.push(
|
|
339
353
|
_vue.h.call(void 0, "span", { class: _tigercatcore.getTotalTextClasses.call(void 0, size) }, totalTextFn(props.total, pageRange.value))
|
|
340
354
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkOKLDFVDJjs = require('./chunk-OKLDFVDJ.js');
|
|
4
4
|
|
|
5
5
|
// src/components/Kanban.ts
|
|
6
6
|
var _vue = require('vue');
|
|
@@ -56,7 +56,7 @@ var Kanban = _vue.defineComponent.call(void 0, {
|
|
|
56
56
|
emit("card-add", colId);
|
|
57
57
|
};
|
|
58
58
|
return () => _vue.h.call(void 0,
|
|
59
|
-
|
|
59
|
+
_chunkOKLDFVDJjs.TaskBoard,
|
|
60
60
|
{
|
|
61
61
|
...attrs,
|
|
62
62
|
columns: props.columns,
|
|
@@ -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
|
{
|
|
@@ -81,6 +81,10 @@ var TaskBoard = _vue.defineComponent.call(void 0, {
|
|
|
81
81
|
type: Object,
|
|
82
82
|
default: void 0
|
|
83
83
|
},
|
|
84
|
+
labels: {
|
|
85
|
+
type: Object,
|
|
86
|
+
default: void 0
|
|
87
|
+
},
|
|
84
88
|
className: {
|
|
85
89
|
type: String,
|
|
86
90
|
default: void 0
|
|
@@ -94,7 +98,7 @@ var TaskBoard = _vue.defineComponent.call(void 0, {
|
|
|
94
98
|
setup(props, { slots, attrs, emit }) {
|
|
95
99
|
const config = _chunk25EYT2CBjs.useTigerConfig.call(void 0, );
|
|
96
100
|
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
97
|
-
const labels = _vue.computed.call(void 0, () => _tigercatcore.getTaskBoardLabels.call(void 0, mergedLocale.value));
|
|
101
|
+
const labels = _vue.computed.call(void 0, () => _tigercatcore.getTaskBoardLabels.call(void 0, mergedLocale.value, props.labels));
|
|
98
102
|
const innerColumns = _vue.ref.call(void 0, _nullishCoalesce(_nullishCoalesce(props.columns, () => ( props.defaultColumns)), () => ( [])));
|
|
99
103
|
_vue.watch.call(void 0,
|
|
100
104
|
() => props.columns,
|
|
@@ -251,7 +255,9 @@ var TaskBoard = _vue.defineComponent.call(void 0, {
|
|
|
251
255
|
`(${column.cards.length}/${column.wipLimit})`
|
|
252
256
|
) : _vue.h.call(void 0,
|
|
253
257
|
"span",
|
|
254
|
-
{
|
|
258
|
+
{
|
|
259
|
+
class: "ml-2 text-xs font-normal px-1.5 py-0.5 rounded bg-[var(--tiger-border,#e5e7eb)]/20 text-[var(--tiger-text-secondary,#6b7280)] opacity-70"
|
|
260
|
+
},
|
|
255
261
|
String(column.cards.length)
|
|
256
262
|
)
|
|
257
263
|
]),
|
|
@@ -1,5 +1,8 @@
|
|
|
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 _chunk25EYT2CBjs = require('./chunk-25EYT2CB.js');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunk4VLNT2EDjs = require('./chunk-4VLNT2ED.js');
|
|
4
7
|
|
|
5
8
|
|
|
@@ -40,6 +43,7 @@ var _vue = require('vue');
|
|
|
40
43
|
|
|
41
44
|
|
|
42
45
|
|
|
46
|
+
|
|
43
47
|
|
|
44
48
|
|
|
45
49
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
@@ -180,6 +184,13 @@ var Modal = _vue.defineComponent.call(void 0, {
|
|
|
180
184
|
type: Object,
|
|
181
185
|
default: void 0
|
|
182
186
|
},
|
|
187
|
+
/**
|
|
188
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
189
|
+
*/
|
|
190
|
+
labels: {
|
|
191
|
+
type: Object,
|
|
192
|
+
default: void 0
|
|
193
|
+
},
|
|
183
194
|
/**
|
|
184
195
|
* Whether to render a default footer when no `footer` slot is provided
|
|
185
196
|
* @default false
|
|
@@ -208,6 +219,8 @@ var Modal = _vue.defineComponent.call(void 0, {
|
|
|
208
219
|
},
|
|
209
220
|
emits: ["update:open", "close", "cancel", "ok"],
|
|
210
221
|
setup(props, { slots, emit, attrs }) {
|
|
222
|
+
const config = _chunk25EYT2CBjs.useTigerConfig.call(void 0, );
|
|
223
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
211
224
|
const instanceId = _vue.ref.call(void 0, createModalId());
|
|
212
225
|
const hasBeenOpened = _vue.ref.call(void 0, props.open);
|
|
213
226
|
const dialogRef = _vue.ref.call(void 0, null);
|
|
@@ -373,8 +386,9 @@ var Modal = _vue.defineComponent.call(void 0, {
|
|
|
373
386
|
"aria-label": _tigercatcore.resolveLocaleText.call(void 0,
|
|
374
387
|
"Close",
|
|
375
388
|
props.closeAriaLabel,
|
|
376
|
-
_optionalChain([props, 'access', _7 => _7.
|
|
377
|
-
_optionalChain([
|
|
389
|
+
_optionalChain([props, 'access', _7 => _7.labels, 'optionalAccess', _8 => _8.closeAriaLabel]),
|
|
390
|
+
_optionalChain([mergedLocale, 'access', _9 => _9.value, 'optionalAccess', _10 => _10.modal, 'optionalAccess', _11 => _11.closeAriaLabel]),
|
|
391
|
+
_optionalChain([mergedLocale, 'access', _12 => _12.value, 'optionalAccess', _13 => _13.common, 'optionalAccess', _14 => _14.closeText])
|
|
378
392
|
),
|
|
379
393
|
ref: closeButtonRef
|
|
380
394
|
},
|
|
@@ -395,8 +409,9 @@ var Modal = _vue.defineComponent.call(void 0, {
|
|
|
395
409
|
default: () => _tigercatcore.resolveLocaleText.call(void 0,
|
|
396
410
|
"\u53D6\u6D88",
|
|
397
411
|
props.cancelText,
|
|
398
|
-
_optionalChain([props, 'access',
|
|
399
|
-
_optionalChain([
|
|
412
|
+
_optionalChain([props, 'access', _15 => _15.labels, 'optionalAccess', _16 => _16.cancelText]),
|
|
413
|
+
_optionalChain([mergedLocale, 'access', _17 => _17.value, 'optionalAccess', _18 => _18.modal, 'optionalAccess', _19 => _19.cancelText]),
|
|
414
|
+
_optionalChain([mergedLocale, 'access', _20 => _20.value, 'optionalAccess', _21 => _21.common, 'optionalAccess', _22 => _22.cancelText])
|
|
400
415
|
)
|
|
401
416
|
}
|
|
402
417
|
),
|
|
@@ -407,8 +422,9 @@ var Modal = _vue.defineComponent.call(void 0, {
|
|
|
407
422
|
default: () => _tigercatcore.resolveLocaleText.call(void 0,
|
|
408
423
|
"\u786E\u5B9A",
|
|
409
424
|
props.okText,
|
|
410
|
-
_optionalChain([props, 'access',
|
|
411
|
-
_optionalChain([
|
|
425
|
+
_optionalChain([props, 'access', _23 => _23.labels, 'optionalAccess', _24 => _24.okText]),
|
|
426
|
+
_optionalChain([mergedLocale, 'access', _25 => _25.value, 'optionalAccess', _26 => _26.modal, 'optionalAccess', _27 => _27.okText]),
|
|
427
|
+
_optionalChain([mergedLocale, 'access', _28 => _28.value, 'optionalAccess', _29 => _29.common, 'optionalAccess', _30 => _30.okText])
|
|
412
428
|
)
|
|
413
429
|
}
|
|
414
430
|
)
|
|
@@ -1,5 +1,8 @@
|
|
|
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 _chunk25EYT2CBjs = require('./chunk-25EYT2CB.js');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
|
|
4
7
|
|
|
5
8
|
|
|
@@ -40,6 +43,7 @@ var _vue = require('vue');
|
|
|
40
43
|
|
|
41
44
|
|
|
42
45
|
|
|
46
|
+
|
|
43
47
|
|
|
44
48
|
|
|
45
49
|
var _tigercatcore = require('@expcat/tigercat-core');
|
|
@@ -193,6 +197,13 @@ var Drawer = _vue.defineComponent.call(void 0, {
|
|
|
193
197
|
type: Object,
|
|
194
198
|
default: void 0
|
|
195
199
|
},
|
|
200
|
+
/**
|
|
201
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
202
|
+
*/
|
|
203
|
+
labels: {
|
|
204
|
+
type: Object,
|
|
205
|
+
default: void 0
|
|
206
|
+
},
|
|
196
207
|
/**
|
|
197
208
|
* Disable teleport (useful for testing)
|
|
198
209
|
* @default false
|
|
@@ -205,6 +216,8 @@ var Drawer = _vue.defineComponent.call(void 0, {
|
|
|
205
216
|
},
|
|
206
217
|
emits: ["update:open", "close", "after-enter", "after-leave"],
|
|
207
218
|
setup(props, { slots, emit, attrs }) {
|
|
219
|
+
const config = _chunk25EYT2CBjs.useTigerConfig.call(void 0, );
|
|
220
|
+
const mergedLocale = _vue.computed.call(void 0, () => _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, props.locale));
|
|
208
221
|
const instanceId = _vue.ref.call(void 0, createDrawerId());
|
|
209
222
|
const hasBeenOpened = _vue.ref.call(void 0, false);
|
|
210
223
|
const deferredRendered = _vue.ref.call(void 0, props.open);
|
|
@@ -337,8 +350,9 @@ var Drawer = _vue.defineComponent.call(void 0, {
|
|
|
337
350
|
const resolvedCloseAriaLabel = _tigercatcore.resolveLocaleText.call(void 0,
|
|
338
351
|
"Close drawer",
|
|
339
352
|
props.closeAriaLabel,
|
|
340
|
-
_optionalChain([props, 'access', _2 => _2.
|
|
341
|
-
_optionalChain([
|
|
353
|
+
_optionalChain([props, 'access', _2 => _2.labels, 'optionalAccess', _3 => _3.closeAriaLabel]),
|
|
354
|
+
_optionalChain([mergedLocale, 'access', _4 => _4.value, 'optionalAccess', _5 => _5.drawer, 'optionalAccess', _6 => _6.closeAriaLabel]),
|
|
355
|
+
_optionalChain([mergedLocale, 'access', _7 => _7.value, 'optionalAccess', _8 => _8.common, 'optionalAccess', _9 => _9.closeText])
|
|
342
356
|
);
|
|
343
357
|
const closeIcon = _vue.h.call(void 0,
|
|
344
358
|
"svg",
|
|
@@ -136,6 +136,10 @@ var FormWizard = defineComponent({
|
|
|
136
136
|
type: Object,
|
|
137
137
|
default: void 0
|
|
138
138
|
},
|
|
139
|
+
labels: {
|
|
140
|
+
type: Object,
|
|
141
|
+
default: void 0
|
|
142
|
+
},
|
|
139
143
|
bordered: {
|
|
140
144
|
type: Boolean,
|
|
141
145
|
default: true
|
|
@@ -157,7 +161,7 @@ var FormWizard = defineComponent({
|
|
|
157
161
|
setup(props, { slots, attrs, emit }) {
|
|
158
162
|
const config = useTigerConfig();
|
|
159
163
|
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
160
|
-
const labels = computed(() => getFormWizardLabels(mergedLocale.value));
|
|
164
|
+
const labels = computed(() => getFormWizardLabels(mergedLocale.value, props.labels));
|
|
161
165
|
const innerCurrent = ref(props.current ?? props.defaultCurrent);
|
|
162
166
|
watch(
|
|
163
167
|
() => props.current,
|
|
@@ -291,42 +295,40 @@ var FormWizard = defineComponent({
|
|
|
291
295
|
]) : null,
|
|
292
296
|
h(
|
|
293
297
|
"div",
|
|
294
|
-
{
|
|
298
|
+
{
|
|
299
|
+
class: "px-8 py-6 flex flex-col items-center w-full min-h-[120px] transition-all duration-300"
|
|
300
|
+
},
|
|
295
301
|
{ default: () => renderContent() }
|
|
296
302
|
),
|
|
297
|
-
props.showActions ? h(
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
)
|
|
328
|
-
]
|
|
329
|
-
) : null
|
|
303
|
+
props.showActions ? h("div", { class: actionsContainerClass }, [
|
|
304
|
+
!isFirst ? h(
|
|
305
|
+
Button,
|
|
306
|
+
{
|
|
307
|
+
type: "button",
|
|
308
|
+
variant: "secondary",
|
|
309
|
+
class: "group",
|
|
310
|
+
onClick: handlePrev,
|
|
311
|
+
size: props.size === "small" ? "sm" : "md",
|
|
312
|
+
icon: renderArrowLeftIcon()
|
|
313
|
+
},
|
|
314
|
+
{ default: () => resolveLocaleText(labels.value.prevText, props.prevText) }
|
|
315
|
+
) : h("div"),
|
|
316
|
+
h(
|
|
317
|
+
Button,
|
|
318
|
+
{
|
|
319
|
+
type: "button",
|
|
320
|
+
variant: "primary",
|
|
321
|
+
class: "group",
|
|
322
|
+
onClick: handleNext,
|
|
323
|
+
size: props.size === "small" ? "sm" : "md",
|
|
324
|
+
icon: isLast ? renderCheckIcon() : renderArrowRightIcon(),
|
|
325
|
+
iconPosition: isLast ? "left" : "right"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
default: () => isLast ? resolveLocaleText(labels.value.finishText, props.finishText) : resolveLocaleText(labels.value.nextText, props.nextText)
|
|
329
|
+
}
|
|
330
|
+
)
|
|
331
|
+
]) : null
|
|
330
332
|
]
|
|
331
333
|
);
|
|
332
334
|
};
|
|
@@ -107,10 +107,10 @@ 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
110
|
loadingText: string;
|
|
113
111
|
emptyText: string;
|
|
112
|
+
className: string;
|
|
113
|
+
style: Record<string, string | number>;
|
|
114
114
|
loading: boolean;
|
|
115
115
|
groupBy: (item: ActivityItem) => string;
|
|
116
116
|
items: ActivityItem[];
|
|
@@ -107,10 +107,10 @@ 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
110
|
loadingText: string;
|
|
113
111
|
emptyText: string;
|
|
112
|
+
className: string;
|
|
113
|
+
style: Record<string, string | number>;
|
|
114
114
|
loading: boolean;
|
|
115
115
|
groupBy: (item: ActivityItem) => string;
|
|
116
116
|
items: ActivityItem[];
|
|
@@ -205,15 +205,15 @@ declare const Alert: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
205
205
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
206
206
|
}>, {
|
|
207
207
|
type: AlertType;
|
|
208
|
+
closeAriaLabel: string;
|
|
208
209
|
size: AlertSize;
|
|
210
|
+
className: string;
|
|
211
|
+
style: Record<string, string | number>;
|
|
209
212
|
title: string;
|
|
210
|
-
description: string;
|
|
211
|
-
showIcon: boolean;
|
|
212
213
|
closable: boolean;
|
|
213
|
-
|
|
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>;
|