@expcat/tigercat-vue 1.2.33 → 1.2.37
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-MCRT64VS.js → chunk-2HT6YGRY.js} +12 -2
- package/dist/{chunk-TOE2XSEO.js → chunk-3EVCDIZE.js} +4 -4
- package/dist/{chunk-A5HHG53Z.js → chunk-6DYGPOYH.js} +4 -4
- package/dist/{chunk-2LNNB55E.js → chunk-6XI4VDU4.js} +3 -3
- package/dist/{chunk-7RIWAO2A.mjs → chunk-BDTPFPSB.mjs} +2 -1
- package/dist/{chunk-6G5IMGTC.js → chunk-BXS7OSVF.js} +37 -35
- package/dist/{chunk-6CSTMVB2.js → chunk-DMNOK6OP.js} +27 -11
- package/dist/{chunk-JDCVS4SJ.js → chunk-EQW6IUHG.js} +2 -1
- package/dist/{chunk-NZUQ2KCW.mjs → chunk-F7WZCYYD.mjs} +19 -5
- package/dist/{chunk-YR75F34D.mjs → chunk-FATIMV7O.mjs} +1 -1
- package/dist/{chunk-FAYSOSR7.js → chunk-FKCZSBM6.js} +4 -4
- package/dist/{chunk-33YTJPF7.js → chunk-HSMN5FWL.js} +4 -4
- package/dist/{chunk-DEDRUUK4.js → chunk-ICECZVMX.js} +2 -2
- package/dist/{chunk-PHWAXBFG.mjs → chunk-ILTIUESE.mjs} +11 -1
- package/dist/{chunk-ZNGRSXFK.js → chunk-JE7AWY34.js} +3 -3
- package/dist/{chunk-OF4MY6EC.mjs → chunk-JKJ7HMFO.mjs} +1 -1
- package/dist/{chunk-CWQOEU6G.js → chunk-JNIKT6AL.js} +5 -5
- package/dist/{chunk-QO2JYX6Q.js → chunk-LAWBHGPK.js} +19 -5
- package/dist/{chunk-663C2UX7.js → chunk-LZHCKW2Z.js} +2 -2
- package/dist/{chunk-MVZGR3ZB.js → chunk-MD7S2A55.js} +2 -2
- package/dist/{chunk-IXJSZIAE.mjs → chunk-NP6KUJ4X.mjs} +1 -1
- package/dist/{chunk-RHAIJVMW.mjs → chunk-NYH6GSP7.mjs} +1 -1
- package/dist/{chunk-CBECE4ZO.mjs → chunk-OGDZTDZ6.mjs} +1 -1
- package/dist/{chunk-EU4IGIPC.js → chunk-OKLDFVDJ.js} +8 -2
- package/dist/{chunk-GVZRR2WP.mjs → chunk-PC2FNA4J.mjs} +2 -2
- package/dist/{chunk-4GYBJBFJ.mjs → chunk-QIXG7OIN.mjs} +1 -1
- package/dist/{chunk-IQZX54SQ.js → chunk-QJLFHHI2.js} +21 -7
- package/dist/{chunk-OA3HAUBT.js → chunk-RRI3F52B.js} +29 -9
- package/dist/{chunk-LWDA7ABQ.js → chunk-S3KTGULC.js} +4 -4
- package/dist/{chunk-DSHV7EAX.mjs → chunk-SZFEDBLT.mjs} +17 -3
- package/dist/{chunk-4CWRNKPE.mjs → chunk-U2PPTMQX.mjs} +2 -2
- package/dist/{chunk-4J5EK3WY.mjs → chunk-UETVHC4K.mjs} +1 -1
- package/dist/{chunk-DBTS5QBX.mjs → chunk-UJZPEXF5.mjs} +1 -1
- package/dist/{chunk-4Z4XMXCO.mjs → chunk-V2IDOR7Y.mjs} +23 -7
- package/dist/{chunk-H5JDEKIV.js → chunk-V6T5GRLE.js} +2 -2
- package/dist/{chunk-7M4UUCJF.mjs → chunk-W54LFA7A.mjs} +30 -10
- package/dist/{chunk-OZLSZQXF.mjs → chunk-WH4J6PHF.mjs} +37 -35
- package/dist/{chunk-FKLK6RHZ.js → chunk-WIQPVVUQ.js} +2 -2
- package/dist/{chunk-BMT5PGAQ.mjs → chunk-WT3LV7OQ.mjs} +2 -2
- package/dist/{chunk-PCUUTKQZ.mjs → chunk-XQRKFOXS.mjs} +1 -1
- package/dist/{chunk-AQE5RZDE.mjs → chunk-ZDKGABPQ.mjs} +1 -1
- package/dist/components/ActivityFeed.js +4 -4
- package/dist/components/ActivityFeed.mjs +3 -3
- package/dist/components/CropUpload.js +5 -4
- package/dist/components/CropUpload.mjs +4 -3
- package/dist/components/DataTableWithToolbar.d.mts +21 -1
- package/dist/components/DataTableWithToolbar.d.ts +21 -1
- package/dist/components/DataTableWithToolbar.js +3 -3
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/Drawer.d.mts +17 -1
- package/dist/components/Drawer.d.ts +17 -1
- package/dist/components/Drawer.js +4 -3
- package/dist/components/Drawer.mjs +3 -2
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Dropdown.mjs +2 -2
- package/dist/components/DropdownItem.js +4 -4
- package/dist/components/DropdownItem.mjs +3 -3
- package/dist/components/DropdownMenu.js +4 -4
- package/dist/components/DropdownMenu.mjs +2 -2
- package/dist/components/FormWizard.d.mts +11 -1
- package/dist/components/FormWizard.d.ts +11 -1
- package/dist/components/FormWizard.js +2 -2
- package/dist/components/FormWizard.mjs +1 -1
- package/dist/components/Kanban.js +3 -3
- package/dist/components/Kanban.mjs +2 -2
- package/dist/components/Loading.js +3 -3
- package/dist/components/Loading.mjs +2 -2
- package/dist/components/Menu.js +3 -3
- package/dist/components/Menu.mjs +2 -2
- package/dist/components/MenuItem.js +4 -4
- package/dist/components/MenuItem.mjs +2 -2
- package/dist/components/MenuItemGroup.js +4 -4
- package/dist/components/MenuItemGroup.mjs +2 -2
- package/dist/components/Modal.d.mts +17 -1
- package/dist/components/Modal.d.ts +17 -1
- package/dist/components/Modal.js +4 -3
- package/dist/components/Modal.mjs +3 -2
- package/dist/components/NotificationCenter.js +4 -4
- package/dist/components/NotificationCenter.mjs +3 -3
- package/dist/components/Pagination.d.mts +21 -1
- package/dist/components/Pagination.d.ts +21 -1
- package/dist/components/Pagination.js +3 -2
- package/dist/components/Pagination.mjs +2 -1
- package/dist/components/Popconfirm.js +4 -4
- package/dist/components/Popconfirm.mjs +3 -3
- package/dist/components/Popover.js +4 -4
- package/dist/components/Popover.mjs +3 -3
- package/dist/components/Spotlight.js +3 -3
- package/dist/components/Spotlight.mjs +2 -2
- package/dist/components/SubMenu.js +4 -4
- package/dist/components/SubMenu.mjs +2 -2
- package/dist/components/Table.d.mts +14 -4
- package/dist/components/Table.d.ts +14 -4
- package/dist/components/Table.js +2 -2
- package/dist/components/Table.mjs +1 -1
- package/dist/components/TaskBoard.d.mts +11 -1
- package/dist/components/TaskBoard.d.ts +11 -1
- package/dist/components/TaskBoard.js +2 -2
- package/dist/components/TaskBoard.mjs +1 -1
- package/dist/components/Tooltip.js +4 -4
- package/dist/components/Tooltip.mjs +3 -3
- package/dist/index.js +22 -22
- package/dist/index.mjs +21 -21
- package/package.json +2 -2
|
@@ -15,8 +15,10 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
classNames as classNames3,
|
|
17
17
|
createTableResizeObserverController,
|
|
18
|
+
getCardColumns,
|
|
18
19
|
getImmediateTigerLocale,
|
|
19
20
|
getTableWrapperClasses,
|
|
21
|
+
getTableResponsiveCardListClasses,
|
|
20
22
|
getTableResponsiveTableClasses,
|
|
21
23
|
getTableVirtualRecommendation,
|
|
22
24
|
isLazyTigerLocale,
|
|
@@ -25,8 +27,8 @@ import {
|
|
|
25
27
|
tableBaseClasses,
|
|
26
28
|
tableResponsiveCardClasses,
|
|
27
29
|
tableResponsiveCardLabelClasses,
|
|
28
|
-
tableResponsiveCardListClasses,
|
|
29
30
|
tableResponsiveCardRowClasses,
|
|
31
|
+
tableResponsiveCardTitleClasses,
|
|
30
32
|
tableResponsiveCardValueClasses,
|
|
31
33
|
tableLoadingOverlayClasses
|
|
32
34
|
} from "@expcat/tigercat-core";
|
|
@@ -126,6 +128,10 @@ var tableProps = {
|
|
|
126
128
|
type: String,
|
|
127
129
|
default: "scroll"
|
|
128
130
|
},
|
|
131
|
+
cardBreakpoint: {
|
|
132
|
+
type: String,
|
|
133
|
+
default: "sm"
|
|
134
|
+
},
|
|
129
135
|
// --- v0.6.0 props ---
|
|
130
136
|
virtual: { type: Boolean, default: false },
|
|
131
137
|
autoVirtual: { type: Boolean, default: true },
|
|
@@ -1256,7 +1262,10 @@ var Table = defineComponent({
|
|
|
1256
1262
|
ref: tableRef,
|
|
1257
1263
|
class: classNames3(
|
|
1258
1264
|
tableBaseClasses,
|
|
1259
|
-
getTableResponsiveTableClasses(
|
|
1265
|
+
getTableResponsiveTableClasses(
|
|
1266
|
+
resolvedProps.responsiveMode,
|
|
1267
|
+
resolvedProps.cardBreakpoint
|
|
1268
|
+
),
|
|
1260
1269
|
resolvedProps.tableLayout === "fixed" ? "table-fixed" : "table-auto"
|
|
1261
1270
|
),
|
|
1262
1271
|
style: ctx.fixedColumnsInfo.value.hasFixedColumns && ctx.fixedColumnsInfo.value.minTableWidth ? { minWidth: `${ctx.fixedColumnsInfo.value.minTableWidth}px` } : void 0
|
|
@@ -1275,20 +1284,30 @@ var Table = defineComponent({
|
|
|
1275
1284
|
) : tableInner;
|
|
1276
1285
|
const cardContent = resolvedProps.responsiveMode === "card" ? h6(
|
|
1277
1286
|
"div",
|
|
1278
|
-
{
|
|
1287
|
+
{
|
|
1288
|
+
class: getTableResponsiveCardListClasses(resolvedProps.cardBreakpoint),
|
|
1289
|
+
"data-tiger-table-mobile": "card"
|
|
1290
|
+
},
|
|
1279
1291
|
ctx.paginatedData.value.length === 0 ? [h6("div", { class: tableResponsiveCardClasses }, resolvedProps.emptyText)] : ctx.paginatedData.value.map((record, index) => {
|
|
1280
1292
|
const key = ctx.paginatedRowKeys.value[index];
|
|
1281
1293
|
const isExpanded = ctx.expandedRowKeySet.value.has(key);
|
|
1282
1294
|
const isRowExpandable = resolvedProps.expandable ? resolvedProps.expandable.rowExpandable ? resolvedProps.expandable.rowExpandable(record) : true : false;
|
|
1283
|
-
const
|
|
1295
|
+
const { titleColumn, bodyColumns } = getCardColumns(ctx.displayColumns.value);
|
|
1296
|
+
const renderCardCellContent = (column) => {
|
|
1284
1297
|
const dataKey = column.dataKey || column.key;
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1298
|
+
return slots[`cell-${column.key}`]?.({ record, index }) ?? (column.render ? column.render(record, index) : record[dataKey]);
|
|
1299
|
+
};
|
|
1300
|
+
const titleNode = titleColumn ? h6("div", { class: tableResponsiveCardTitleClasses }, [
|
|
1301
|
+
renderCardCellContent(titleColumn)
|
|
1302
|
+
]) : null;
|
|
1303
|
+
const rows = bodyColumns.map(
|
|
1304
|
+
(column) => h6("div", { key: column.key, class: tableResponsiveCardRowClasses }, [
|
|
1288
1305
|
h6("div", { class: tableResponsiveCardLabelClasses }, column.title),
|
|
1289
|
-
h6("div", { class: tableResponsiveCardValueClasses }, [
|
|
1290
|
-
|
|
1291
|
-
|
|
1306
|
+
h6("div", { class: tableResponsiveCardValueClasses }, [
|
|
1307
|
+
renderCardCellContent(column)
|
|
1308
|
+
])
|
|
1309
|
+
])
|
|
1310
|
+
);
|
|
1292
1311
|
const controls = [];
|
|
1293
1312
|
if (resolvedProps.rowSelection && resolvedProps.rowSelection.showCheckbox !== false) {
|
|
1294
1313
|
const checkboxProps = resolvedProps.rowSelection.getCheckboxProps?.(record) || {};
|
|
@@ -1329,6 +1348,7 @@ var Table = defineComponent({
|
|
|
1329
1348
|
},
|
|
1330
1349
|
[
|
|
1331
1350
|
controls.length ? h6("div", { class: "mb-2 flex items-center gap-3" }, controls) : null,
|
|
1351
|
+
titleNode,
|
|
1332
1352
|
...rows,
|
|
1333
1353
|
expandedContent ? h6(
|
|
1334
1354
|
"div",
|
|
@@ -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
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunk27T3QDSFjs = require('./chunk-27T3QDSF.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk6XI4VDU4js = require('./chunk-6XI4VDU4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk2DC3BMEDjs = require('./chunk-2DC3BMED.js');
|
|
@@ -202,7 +202,7 @@ var ActivityFeed = _vue.defineComponent.call(void 0, {
|
|
|
202
202
|
const feedAriaBusy = _vue.computed.call(void 0, () => _nullishCoalesce(attrs["aria-busy"], () => ( (props.loading ? "true" : void 0))));
|
|
203
203
|
return () => {
|
|
204
204
|
if (props.loading) {
|
|
205
|
-
const loadingNode = slots.loading ? slots.loading() : _vue.h.call(void 0,
|
|
205
|
+
const loadingNode = slots.loading ? slots.loading() : _vue.h.call(void 0, _chunk6XI4VDU4js.Loading, { text: props.loadingText, class: "text-blue-500 dark:text-blue-400 font-medium" });
|
|
206
206
|
return _vue.h.call(void 0,
|
|
207
207
|
"div",
|
|
208
208
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFloatingPopup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UJZPEXF5.mjs";
|
|
4
4
|
import {
|
|
5
5
|
renderVueBodyTeleport
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BDTPFPSB.mjs";
|
|
7
7
|
|
|
8
8
|
// src/components/Tooltip.ts
|
|
9
9
|
import { defineComponent, computed, h } from "vue";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWIQPVVUQjs = require('../chunk-WIQPVVUQ.js');
|
|
5
5
|
require('../chunk-27T3QDSF.js');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-6XI4VDU4.js');
|
|
7
7
|
require('../chunk-2DC3BMED.js');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-EQW6IUHG.js');
|
|
9
9
|
require('../chunk-2KDSHEZT.js');
|
|
10
10
|
require('../chunk-TGHB5XST.js');
|
|
11
11
|
require('../chunk-XGXGAK27.js');
|
|
@@ -14,4 +14,4 @@ require('../chunk-ODQOYMUQ.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.ActivityFeed =
|
|
17
|
+
exports.ActivityFeed = _chunkWIQPVVUQjs.ActivityFeed; exports.default = _chunkWIQPVVUQjs.ActivityFeed_default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActivityFeed,
|
|
3
3
|
ActivityFeed_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-QIXG7OIN.mjs";
|
|
5
5
|
import "../chunk-LBGTABIU.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-XQRKFOXS.mjs";
|
|
7
7
|
import "../chunk-3MO7A4GU.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-BDTPFPSB.mjs";
|
|
9
9
|
import "../chunk-3G4VPV4D.mjs";
|
|
10
10
|
import "../chunk-NN6AINLG.mjs";
|
|
11
11
|
import "../chunk-KOTSKHPQ.mjs";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkICECZVMXjs = require('../chunk-ICECZVMX.js');
|
|
5
|
+
require('../chunk-DMNOK6OP.js');
|
|
6
6
|
require('../chunk-WUEP3PFN.js');
|
|
7
|
+
require('../chunk-25EYT2CB.js');
|
|
7
8
|
require('../chunk-4VLNT2ED.js');
|
|
8
9
|
require('../chunk-7ADONGSB.js');
|
|
9
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-EQW6IUHG.js');
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
exports.CropUpload =
|
|
14
|
+
exports.CropUpload = _chunkICECZVMXjs.CropUpload; exports.default = _chunkICECZVMXjs.CropUpload_default;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CropUpload,
|
|
3
3
|
CropUpload_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-JKJ7HMFO.mjs";
|
|
5
|
+
import "../chunk-V2IDOR7Y.mjs";
|
|
6
6
|
import "../chunk-DEJKRMMU.mjs";
|
|
7
|
+
import "../chunk-VG6E4NX6.mjs";
|
|
7
8
|
import "../chunk-PO5GVU4Q.mjs";
|
|
8
9
|
import "../chunk-Z2ZECCGD.mjs";
|
|
9
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-BDTPFPSB.mjs";
|
|
10
11
|
export {
|
|
11
12
|
CropUpload,
|
|
12
13
|
CropUpload_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { TableColumn, SortState, TableSize, RowSelectionConfig, TableToolbarProps, PaginationConfig, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
|
|
3
|
+
import { TableColumn, SortState, TableSize, RowSelectionConfig, TableResponsiveMode, TableCardBreakpoint, TableToolbarProps, PaginationConfig, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueTableToolbarProps extends Omit<TableToolbarProps, 'onSearchChange' | 'onSearch' | 'onFiltersChange' | 'onBulkAction'> {
|
|
6
6
|
}
|
|
@@ -23,6 +23,8 @@ interface VueDataTableWithToolbarProps {
|
|
|
23
23
|
rowClassName?: string | ((record: Record<string, unknown>, index: number) => string);
|
|
24
24
|
stickyHeader?: boolean;
|
|
25
25
|
maxHeight?: string | number;
|
|
26
|
+
responsiveMode?: TableResponsiveMode;
|
|
27
|
+
cardBreakpoint?: TableCardBreakpoint;
|
|
26
28
|
toolbar?: VueTableToolbarProps;
|
|
27
29
|
pagination?: PaginationConfig | false;
|
|
28
30
|
className?: string;
|
|
@@ -101,6 +103,14 @@ declare const DataTableWithToolbar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
101
103
|
type: PropType<string | number>;
|
|
102
104
|
default: undefined;
|
|
103
105
|
};
|
|
106
|
+
responsiveMode: {
|
|
107
|
+
type: PropType<TableResponsiveMode>;
|
|
108
|
+
default: TableResponsiveMode;
|
|
109
|
+
};
|
|
110
|
+
cardBreakpoint: {
|
|
111
|
+
type: PropType<TableCardBreakpoint>;
|
|
112
|
+
default: TableCardBreakpoint;
|
|
113
|
+
};
|
|
104
114
|
toolbar: {
|
|
105
115
|
type: PropType<VueTableToolbarProps>;
|
|
106
116
|
default: undefined;
|
|
@@ -204,6 +214,14 @@ declare const DataTableWithToolbar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
204
214
|
type: PropType<string | number>;
|
|
205
215
|
default: undefined;
|
|
206
216
|
};
|
|
217
|
+
responsiveMode: {
|
|
218
|
+
type: PropType<TableResponsiveMode>;
|
|
219
|
+
default: TableResponsiveMode;
|
|
220
|
+
};
|
|
221
|
+
cardBreakpoint: {
|
|
222
|
+
type: PropType<TableCardBreakpoint>;
|
|
223
|
+
default: TableCardBreakpoint;
|
|
224
|
+
};
|
|
207
225
|
toolbar: {
|
|
208
226
|
type: PropType<VueTableToolbarProps>;
|
|
209
227
|
default: undefined;
|
|
@@ -255,6 +273,8 @@ declare const DataTableWithToolbar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
255
273
|
stickyHeader: boolean;
|
|
256
274
|
maxHeight: string | number;
|
|
257
275
|
tableLayout: "fixed" | "auto";
|
|
276
|
+
responsiveMode: TableResponsiveMode;
|
|
277
|
+
cardBreakpoint: TableCardBreakpoint;
|
|
258
278
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
259
279
|
|
|
260
280
|
export { DataTableWithToolbar, type VueDataTableWithToolbarProps, type VueTableToolbarProps, DataTableWithToolbar as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { TableColumn, SortState, TableSize, RowSelectionConfig, TableToolbarProps, PaginationConfig, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
|
|
3
|
+
import { TableColumn, SortState, TableSize, RowSelectionConfig, TableResponsiveMode, TableCardBreakpoint, TableToolbarProps, PaginationConfig, TableToolbarFilterValue, TableToolbarAction } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueTableToolbarProps extends Omit<TableToolbarProps, 'onSearchChange' | 'onSearch' | 'onFiltersChange' | 'onBulkAction'> {
|
|
6
6
|
}
|
|
@@ -23,6 +23,8 @@ interface VueDataTableWithToolbarProps {
|
|
|
23
23
|
rowClassName?: string | ((record: Record<string, unknown>, index: number) => string);
|
|
24
24
|
stickyHeader?: boolean;
|
|
25
25
|
maxHeight?: string | number;
|
|
26
|
+
responsiveMode?: TableResponsiveMode;
|
|
27
|
+
cardBreakpoint?: TableCardBreakpoint;
|
|
26
28
|
toolbar?: VueTableToolbarProps;
|
|
27
29
|
pagination?: PaginationConfig | false;
|
|
28
30
|
className?: string;
|
|
@@ -101,6 +103,14 @@ declare const DataTableWithToolbar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
101
103
|
type: PropType<string | number>;
|
|
102
104
|
default: undefined;
|
|
103
105
|
};
|
|
106
|
+
responsiveMode: {
|
|
107
|
+
type: PropType<TableResponsiveMode>;
|
|
108
|
+
default: TableResponsiveMode;
|
|
109
|
+
};
|
|
110
|
+
cardBreakpoint: {
|
|
111
|
+
type: PropType<TableCardBreakpoint>;
|
|
112
|
+
default: TableCardBreakpoint;
|
|
113
|
+
};
|
|
104
114
|
toolbar: {
|
|
105
115
|
type: PropType<VueTableToolbarProps>;
|
|
106
116
|
default: undefined;
|
|
@@ -204,6 +214,14 @@ declare const DataTableWithToolbar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
204
214
|
type: PropType<string | number>;
|
|
205
215
|
default: undefined;
|
|
206
216
|
};
|
|
217
|
+
responsiveMode: {
|
|
218
|
+
type: PropType<TableResponsiveMode>;
|
|
219
|
+
default: TableResponsiveMode;
|
|
220
|
+
};
|
|
221
|
+
cardBreakpoint: {
|
|
222
|
+
type: PropType<TableCardBreakpoint>;
|
|
223
|
+
default: TableCardBreakpoint;
|
|
224
|
+
};
|
|
207
225
|
toolbar: {
|
|
208
226
|
type: PropType<VueTableToolbarProps>;
|
|
209
227
|
default: undefined;
|
|
@@ -255,6 +273,8 @@ declare const DataTableWithToolbar: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
255
273
|
stickyHeader: boolean;
|
|
256
274
|
maxHeight: string | number;
|
|
257
275
|
tableLayout: "fixed" | "auto";
|
|
276
|
+
responsiveMode: TableResponsiveMode;
|
|
277
|
+
cardBreakpoint: TableCardBreakpoint;
|
|
258
278
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
259
279
|
|
|
260
280
|
export { DataTableWithToolbar, type VueDataTableWithToolbarProps, type VueTableToolbarProps, DataTableWithToolbar as default };
|
|
@@ -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 _chunk2HT6YGRYjs = require('../chunk-2HT6YGRY.js');
|
|
5
|
+
require('../chunk-RRI3F52B.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 = _chunk2HT6YGRYjs.DataTableWithToolbar; exports.default = _chunk2HT6YGRYjs.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-ILTIUESE.mjs";
|
|
5
|
+
import "../chunk-W54LFA7A.mjs";
|
|
6
6
|
import "../chunk-PYT5DTQQ.mjs";
|
|
7
7
|
import "../chunk-VG6E4NX6.mjs";
|
|
8
8
|
import "../chunk-2WJADO6O.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { DrawerPlacement, DrawerSize, StyleValue, TigerLocale } from '@expcat/tigercat-core';
|
|
3
|
+
import { DrawerPlacement, DrawerSize, StyleValue, TigerLocale, TigerLocaleDrawer } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueDrawerProps {
|
|
6
6
|
open?: boolean;
|
|
@@ -22,6 +22,7 @@ interface VueDrawerProps {
|
|
|
22
22
|
style?: Record<string, unknown>;
|
|
23
23
|
closeAriaLabel?: string;
|
|
24
24
|
locale?: Partial<TigerLocale>;
|
|
25
|
+
labels?: Partial<TigerLocaleDrawer>;
|
|
25
26
|
}
|
|
26
27
|
declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
27
28
|
/**
|
|
@@ -168,6 +169,13 @@ declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
168
169
|
type: PropType<Partial<TigerLocale>>;
|
|
169
170
|
default: undefined;
|
|
170
171
|
};
|
|
172
|
+
/**
|
|
173
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
174
|
+
*/
|
|
175
|
+
labels: {
|
|
176
|
+
type: PropType<Partial<TigerLocaleDrawer>>;
|
|
177
|
+
default: undefined;
|
|
178
|
+
};
|
|
171
179
|
/**
|
|
172
180
|
* Disable teleport (useful for testing)
|
|
173
181
|
* @default false
|
|
@@ -322,6 +330,13 @@ declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
322
330
|
type: PropType<Partial<TigerLocale>>;
|
|
323
331
|
default: undefined;
|
|
324
332
|
};
|
|
333
|
+
/**
|
|
334
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
335
|
+
*/
|
|
336
|
+
labels: {
|
|
337
|
+
type: PropType<Partial<TigerLocaleDrawer>>;
|
|
338
|
+
default: undefined;
|
|
339
|
+
};
|
|
325
340
|
/**
|
|
326
341
|
* Disable teleport (useful for testing)
|
|
327
342
|
* @default false
|
|
@@ -345,6 +360,7 @@ declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
345
360
|
closable: boolean;
|
|
346
361
|
closeAriaLabel: string;
|
|
347
362
|
locale: Partial<TigerLocale>;
|
|
363
|
+
labels: Partial<TigerLocaleDrawer>;
|
|
348
364
|
mask: boolean;
|
|
349
365
|
open: boolean;
|
|
350
366
|
width: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { DrawerPlacement, DrawerSize, StyleValue, TigerLocale } from '@expcat/tigercat-core';
|
|
3
|
+
import { DrawerPlacement, DrawerSize, StyleValue, TigerLocale, TigerLocaleDrawer } from '@expcat/tigercat-core';
|
|
4
4
|
|
|
5
5
|
interface VueDrawerProps {
|
|
6
6
|
open?: boolean;
|
|
@@ -22,6 +22,7 @@ interface VueDrawerProps {
|
|
|
22
22
|
style?: Record<string, unknown>;
|
|
23
23
|
closeAriaLabel?: string;
|
|
24
24
|
locale?: Partial<TigerLocale>;
|
|
25
|
+
labels?: Partial<TigerLocaleDrawer>;
|
|
25
26
|
}
|
|
26
27
|
declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
27
28
|
/**
|
|
@@ -168,6 +169,13 @@ declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
168
169
|
type: PropType<Partial<TigerLocale>>;
|
|
169
170
|
default: undefined;
|
|
170
171
|
};
|
|
172
|
+
/**
|
|
173
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
174
|
+
*/
|
|
175
|
+
labels: {
|
|
176
|
+
type: PropType<Partial<TigerLocaleDrawer>>;
|
|
177
|
+
default: undefined;
|
|
178
|
+
};
|
|
171
179
|
/**
|
|
172
180
|
* Disable teleport (useful for testing)
|
|
173
181
|
* @default false
|
|
@@ -322,6 +330,13 @@ declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
322
330
|
type: PropType<Partial<TigerLocale>>;
|
|
323
331
|
default: undefined;
|
|
324
332
|
};
|
|
333
|
+
/**
|
|
334
|
+
* Flat custom-text overrides for single-language use (no i18n needed).
|
|
335
|
+
*/
|
|
336
|
+
labels: {
|
|
337
|
+
type: PropType<Partial<TigerLocaleDrawer>>;
|
|
338
|
+
default: undefined;
|
|
339
|
+
};
|
|
325
340
|
/**
|
|
326
341
|
* Disable teleport (useful for testing)
|
|
327
342
|
* @default false
|
|
@@ -345,6 +360,7 @@ declare const Drawer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
345
360
|
closable: boolean;
|
|
346
361
|
closeAriaLabel: string;
|
|
347
362
|
locale: Partial<TigerLocale>;
|
|
363
|
+
labels: Partial<TigerLocaleDrawer>;
|
|
348
364
|
mask: boolean;
|
|
349
365
|
open: boolean;
|
|
350
366
|
width: string | number;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkQJLFHHI2js = require('../chunk-QJLFHHI2.js');
|
|
5
|
+
require('../chunk-25EYT2CB.js');
|
|
6
|
+
require('../chunk-EQW6IUHG.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
|
-
exports.Drawer =
|
|
10
|
+
exports.Drawer = _chunkQJLFHHI2js.Drawer; exports.default = _chunkQJLFHHI2js.Drawer_default;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
6
|
+
var _chunkFKCZSBM6js = require('../chunk-FKCZSBM6.js');
|
|
7
|
+
require('../chunk-EQW6IUHG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.Dropdown =
|
|
13
|
+
exports.Dropdown = _chunkFKCZSBM6js.Dropdown; exports.DropdownContextKey = _chunkFKCZSBM6js.DropdownContextKey; exports.DropdownMenu = _chunkFKCZSBM6js.DropdownMenu; exports.default = _chunkFKCZSBM6js.Dropdown_default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var _chunkMD7S2A55js = require('../chunk-MD7S2A55.js');
|
|
5
|
+
require('../chunk-FKCZSBM6.js');
|
|
6
|
+
require('../chunk-EQW6IUHG.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.DropdownItem =
|
|
10
|
+
exports.DropdownItem = _chunkMD7S2A55js.DropdownItem; exports.default = _chunkMD7S2A55js.DropdownItem_default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DropdownItem,
|
|
3
3
|
DropdownItem_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-FATIMV7O.mjs";
|
|
5
|
+
import "../chunk-NYH6GSP7.mjs";
|
|
6
|
+
import "../chunk-BDTPFPSB.mjs";
|
|
7
7
|
export {
|
|
8
8
|
DropdownItem,
|
|
9
9
|
DropdownItem_default as default
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkFKCZSBM6js = require('../chunk-FKCZSBM6.js');
|
|
4
|
+
require('../chunk-EQW6IUHG.js');
|
|
5
5
|
|
|
6
6
|
// src/components/DropdownMenu.ts
|
|
7
|
-
var DropdownMenu_default =
|
|
7
|
+
var DropdownMenu_default = _chunkFKCZSBM6js.DropdownMenu;
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.DropdownMenu =
|
|
11
|
+
exports.DropdownMenu = _chunkFKCZSBM6js.DropdownMenu; exports.default = DropdownMenu_default;
|