@expcat/tigercat-vue 2.0.4 → 2.1.0
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/README.md +20 -10
- package/dist/chunk-26QCTL2E.mjs +180 -0
- package/dist/{chunk-GS4SV2HK.mjs → chunk-32X54QKW.mjs} +1 -1
- package/dist/chunk-3ONCXHE5.mjs +184 -0
- package/dist/{chunk-KOG3HKOF.mjs → chunk-6AMWX5K4.mjs} +1 -4
- package/dist/chunk-6GR3XC5V.mjs +281 -0
- package/dist/chunk-6GR5U4UB.mjs +225 -0
- package/dist/chunk-7DWWNFRP.mjs +302 -0
- package/dist/chunk-AECXFT7D.mjs +121 -0
- package/dist/chunk-AOLRZG4E.mjs +347 -0
- package/dist/chunk-AY7CGLMO.mjs +368 -0
- package/dist/chunk-BBNCP55O.mjs +156 -0
- package/dist/chunk-F3ZVVVYD.mjs +257 -0
- package/dist/{chunk-OTGGPXDT.mjs → chunk-IEAEB4TX.mjs} +255 -44
- package/dist/chunk-P6FMU4AT.mjs +54 -0
- package/dist/chunk-PFIV5MXD.mjs +48 -0
- package/dist/chunk-TBOXTAIA.mjs +94 -0
- package/dist/{chunk-H6FZBFRT.mjs → chunk-TPESRDUG.mjs} +6 -1
- package/dist/{chunk-2XCXK3NQ.mjs → chunk-U4B5QT72.mjs} +1 -1
- package/dist/chunk-UUWPSRNV.mjs +337 -0
- package/dist/chunk-UXJRH72H.mjs +834 -0
- package/dist/chunk-VFS5XAZ3.mjs +602 -0
- package/dist/{chunk-WC5MKASU.mjs → chunk-VN2TWPRC.mjs} +169 -55
- package/dist/components/ActivityFeed.d.mts +1 -1
- package/dist/components/ActivityFeed.mjs +1 -1
- package/dist/components/Alert.d.mts +2 -2
- package/dist/components/AreaChart.mjs +2 -2
- package/dist/components/AspectRatio.d.mts +44 -0
- package/dist/components/AspectRatio.mjs +8 -0
- package/dist/components/BarChart.mjs +2 -2
- package/dist/components/Carousel.d.mts +1 -1
- package/dist/components/Cascader.d.mts +34 -0
- package/dist/components/Cascader.mjs +1 -1
- package/dist/components/ChartLegend.d.mts +1 -1
- package/dist/components/ChatWindow.mjs +1 -1
- package/dist/components/CodeEditor.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +1 -1
- package/dist/components/ContextMenu.d.mts +234 -0
- package/dist/components/ContextMenu.mjs +17 -0
- package/dist/components/DataTableWithToolbar.d.mts +1 -1
- package/dist/components/DataTableWithToolbar.mjs +2 -2
- package/dist/components/DonutChart.mjs +3 -3
- package/dist/components/Dropdown.d.mts +1 -1
- package/dist/components/FloatButton.d.mts +2 -2
- package/dist/components/FunnelChart.d.mts +1 -1
- package/dist/components/FunnelChart.mjs +2 -2
- package/dist/components/Highlight.d.mts +146 -0
- package/dist/components/Highlight.mjs +8 -0
- package/dist/components/ImageCompare.d.mts +284 -0
- package/dist/components/ImageCompare.mjs +8 -0
- package/dist/components/Input.d.mts +1 -1
- package/dist/components/InputOTP.d.mts +261 -0
- package/dist/components/InputOTP.mjs +11 -0
- package/dist/components/Kbd.d.mts +118 -0
- package/dist/components/Kbd.mjs +8 -0
- package/dist/components/LineChart.mjs +2 -2
- package/dist/components/List.d.mts +1 -1
- package/dist/components/List.mjs +1 -1
- package/dist/components/LoadingBar.d.mts +8 -0
- package/dist/components/LoadingBar.mjs +114 -0
- package/dist/components/LoadingBarContainer.d.mts +78 -0
- package/dist/components/LoadingBarContainer.mjs +8 -0
- package/dist/components/LoadingBarRoot.d.mts +6 -0
- package/dist/components/LoadingBarRoot.mjs +6 -0
- package/dist/components/Marquee.d.mts +158 -0
- package/dist/components/Marquee.mjs +8 -0
- package/dist/components/MaskInput.d.mts +201 -0
- package/dist/components/MaskInput.mjs +11 -0
- package/dist/components/Masonry.d.mts +66 -0
- package/dist/components/Masonry.mjs +8 -0
- package/dist/components/Menu.d.mts +2 -2
- package/dist/components/Modal.d.mts +1 -1
- package/dist/components/NavigationMenu.d.mts +411 -0
- package/dist/components/NavigationMenu.mjs +25 -0
- package/dist/components/NotificationCenter.d.mts +1 -1
- package/dist/components/NotificationCenter.mjs +2 -2
- package/dist/components/PageHeader.d.mts +140 -0
- package/dist/components/PageHeader.mjs +11 -0
- package/dist/components/PieChart.mjs +2 -2
- package/dist/components/Popconfirm.d.mts +3 -3
- package/dist/components/Popover.d.mts +2 -2
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/ScatterChart.mjs +2 -2
- package/dist/components/ScrollArea.d.mts +136 -0
- package/dist/components/ScrollArea.mjs +8 -0
- package/dist/components/SplitButton.d.mts +286 -0
- package/dist/components/SplitButton.mjs +12 -0
- package/dist/components/Spotlight.d.mts +1 -1
- package/dist/components/SunburstChart.mjs +2 -2
- package/dist/components/TagsInput.d.mts +214 -0
- package/dist/components/TagsInput.mjs +12 -0
- package/dist/components/Timeline.d.mts +1 -1
- package/dist/components/Tooltip.d.mts +2 -2
- package/dist/components/Tour.d.mts +3 -3
- package/dist/components/Tree.d.mts +1 -1
- package/dist/components/TreeMapChart.d.mts +1 -1
- package/dist/components/TreeMapChart.mjs +2 -2
- package/dist/components/TreeSelect.d.mts +51 -0
- package/dist/components/TreeSelect.mjs +2 -1
- package/dist/components/Upload.d.mts +1 -1
- package/dist/components/VirtualTable.d.mts +1 -1
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/index.d.mts +17 -1
- package/dist/index.mjs +356 -0
- package/package.json +117 -2
- package/dist/{chunk-MAKOSWR6.mjs → chunk-37W7XTA6.mjs} +3 -3
- package/dist/{chunk-WUQMFKQ6.mjs → chunk-66OS5A4D.mjs} +3 -3
- package/dist/{chunk-NNC75I7F.mjs → chunk-CHEXI7MO.mjs} +3 -3
- package/dist/{chunk-KFJIZED5.mjs → chunk-EHGFW5GX.mjs} +3 -3
- package/dist/{chunk-ZGA66PSG.mjs → chunk-EZYOCPMM.mjs} +3 -3
- package/dist/{chunk-XGXZF27U.mjs → chunk-JHMT5Q6P.mjs} +3 -3
- package/dist/{chunk-NGAA73CV.mjs → chunk-VLW3UBIR.mjs} +3 -3
- package/dist/{chunk-OTHJIFDV.mjs → chunk-W5XFWVNV.mjs} +3 -3
- package/dist/{chunk-3KITFMBJ.mjs → chunk-ZOYHZF4N.mjs} +3 -3
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VirtualList
|
|
3
|
+
} from "./chunk-HS4YQGZQ.mjs";
|
|
1
4
|
import {
|
|
2
5
|
renderVueOverlayTeleport,
|
|
3
6
|
useVueAnchoredOverlay
|
|
@@ -7,22 +10,28 @@ import {
|
|
|
7
10
|
} from "./chunk-UOJOJBEU.mjs";
|
|
8
11
|
|
|
9
12
|
// src/components/TreeSelect.ts
|
|
10
|
-
import { defineComponent, h, ref, computed } from "vue";
|
|
13
|
+
import { defineComponent, h, ref, computed, watch, nextTick } from "vue";
|
|
11
14
|
import {
|
|
12
15
|
treeSelectBaseClasses,
|
|
13
|
-
treeSelectDropdownClasses,
|
|
14
16
|
treeSelectSearchClasses,
|
|
15
17
|
treeSelectEmptyClasses,
|
|
16
18
|
getTreeSelectTriggerClasses,
|
|
17
19
|
getTreeSelectNodeClasses,
|
|
20
|
+
getTreeSelectDropdownClasses,
|
|
18
21
|
getTreeSelectDisplayLabel,
|
|
19
22
|
getAllTreeSelectKeys,
|
|
20
23
|
flattenTreeSelectNodes,
|
|
21
24
|
filterTreeSelectNodes,
|
|
25
|
+
getTreeSelectVisibleIndex,
|
|
26
|
+
alignTreeSelectVirtualScroll,
|
|
27
|
+
TREE_SELECT_DEFAULT_HEIGHT,
|
|
28
|
+
TREE_SELECT_DEFAULT_ITEM_HEIGHT,
|
|
22
29
|
getPickerComboboxAria,
|
|
23
30
|
getPickerListboxAria,
|
|
24
31
|
getPickerOptionAria,
|
|
25
32
|
getPickerTriggerKeyAction,
|
|
33
|
+
getPickerNavigationIndex,
|
|
34
|
+
findFirstEnabledIndex,
|
|
26
35
|
coerceClassValue,
|
|
27
36
|
classNames,
|
|
28
37
|
icon20ViewBox,
|
|
@@ -116,6 +125,30 @@ var TreeSelect = defineComponent({
|
|
|
116
125
|
type: Boolean,
|
|
117
126
|
default: false
|
|
118
127
|
},
|
|
128
|
+
/**
|
|
129
|
+
* Enable virtualized rendering of the dropdown tree.
|
|
130
|
+
* Visible flattened rows are rendered through VirtualList with fixed item height.
|
|
131
|
+
*/
|
|
132
|
+
virtual: {
|
|
133
|
+
type: Boolean,
|
|
134
|
+
default: false
|
|
135
|
+
},
|
|
136
|
+
/**
|
|
137
|
+
* Pixel height of the virtualized dropdown viewport.
|
|
138
|
+
* @default 400
|
|
139
|
+
*/
|
|
140
|
+
height: {
|
|
141
|
+
type: Number,
|
|
142
|
+
default: TREE_SELECT_DEFAULT_HEIGHT
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* Pixel height of each virtualized tree row.
|
|
146
|
+
* @default 32
|
|
147
|
+
*/
|
|
148
|
+
itemHeight: {
|
|
149
|
+
type: Number,
|
|
150
|
+
default: TREE_SELECT_DEFAULT_ITEM_HEIGHT
|
|
151
|
+
},
|
|
119
152
|
/**
|
|
120
153
|
* Locale overrides merged on top of ConfigProvider locale
|
|
121
154
|
*/
|
|
@@ -136,6 +169,9 @@ var TreeSelect = defineComponent({
|
|
|
136
169
|
const containerRef = ref(null);
|
|
137
170
|
const triggerRef = ref(null);
|
|
138
171
|
const dropdownRef = ref(null);
|
|
172
|
+
const virtualListWrapperRef = ref(null);
|
|
173
|
+
const activeIndex = ref(-1);
|
|
174
|
+
const lastActiveKey = ref();
|
|
139
175
|
const overlay = useVueAnchoredOverlay({
|
|
140
176
|
enabled: isOpen,
|
|
141
177
|
referenceRef: triggerRef,
|
|
@@ -173,6 +209,58 @@ var TreeSelect = defineComponent({
|
|
|
173
209
|
if (!matchedKeys.value) return flatNodes.value;
|
|
174
210
|
return flatNodes.value.filter((f) => matchedKeys.value.has(f.node.key));
|
|
175
211
|
});
|
|
212
|
+
function isNodeDisabled(item) {
|
|
213
|
+
return !!item.node.disabled;
|
|
214
|
+
}
|
|
215
|
+
function getVirtualScrollEl() {
|
|
216
|
+
const wrapper = virtualListWrapperRef.value;
|
|
217
|
+
return wrapper?.firstElementChild ?? wrapper;
|
|
218
|
+
}
|
|
219
|
+
function resolveActiveIndex() {
|
|
220
|
+
const selected = getTreeSelectVisibleIndex(visibleNodes.value, props.modelValue);
|
|
221
|
+
if (selected >= 0 && !visibleNodes.value[selected]?.node.disabled) return selected;
|
|
222
|
+
return findFirstEnabledIndex(visibleNodes.value, isNodeDisabled);
|
|
223
|
+
}
|
|
224
|
+
function commitActiveIndex(index) {
|
|
225
|
+
activeIndex.value = index;
|
|
226
|
+
lastActiveKey.value = index >= 0 ? visibleNodes.value[index]?.node.key : void 0;
|
|
227
|
+
}
|
|
228
|
+
function alignVirtualScroll(index) {
|
|
229
|
+
if (!props.virtual) return;
|
|
230
|
+
alignTreeSelectVirtualScroll(getVirtualScrollEl(), index, props.itemHeight, props.height);
|
|
231
|
+
}
|
|
232
|
+
watch(isOpen, (open) => {
|
|
233
|
+
if (!open) {
|
|
234
|
+
commitActiveIndex(-1);
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
if (!props.virtual) return;
|
|
238
|
+
commitActiveIndex(resolveActiveIndex());
|
|
239
|
+
nextTick(() => alignVirtualScroll(activeIndex.value));
|
|
240
|
+
});
|
|
241
|
+
watch(activeIndex, (idx) => {
|
|
242
|
+
if (!props.virtual || !isOpen.value) return;
|
|
243
|
+
nextTick(() => alignVirtualScroll(idx));
|
|
244
|
+
});
|
|
245
|
+
watch(searchQuery, () => {
|
|
246
|
+
if (!props.virtual || !isOpen.value) return;
|
|
247
|
+
commitActiveIndex(resolveActiveIndex());
|
|
248
|
+
});
|
|
249
|
+
watch([expandedKeys, () => props.treeData], () => {
|
|
250
|
+
if (!props.virtual || !isOpen.value) return;
|
|
251
|
+
const remapped = getTreeSelectVisibleIndex(visibleNodes.value, lastActiveKey.value);
|
|
252
|
+
if (remapped >= 0) activeIndex.value = remapped;
|
|
253
|
+
});
|
|
254
|
+
function handleVirtualListKeyDown(e) {
|
|
255
|
+
if (e.key !== "ArrowDown" && e.key !== "ArrowUp" && e.key !== "Home" && e.key !== "End") {
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
e.preventDefault();
|
|
259
|
+
e.stopPropagation();
|
|
260
|
+
commitActiveIndex(
|
|
261
|
+
getPickerNavigationIndex(visibleNodes.value, activeIndex.value, e.key, isNodeDisabled)
|
|
262
|
+
);
|
|
263
|
+
}
|
|
176
264
|
function openDropdown() {
|
|
177
265
|
if (props.disabled) return;
|
|
178
266
|
isOpen.value = true;
|
|
@@ -241,6 +329,57 @@ var TreeSelect = defineComponent({
|
|
|
241
329
|
closeDropdown();
|
|
242
330
|
}
|
|
243
331
|
}
|
|
332
|
+
function renderFlatNode(flatNode) {
|
|
333
|
+
const { node, level, hasChildren, isExpanded } = flatNode;
|
|
334
|
+
const selected = isSelected(node.key);
|
|
335
|
+
const indent = level * 20;
|
|
336
|
+
return h(
|
|
337
|
+
"div",
|
|
338
|
+
{
|
|
339
|
+
key: node.key,
|
|
340
|
+
...getPickerOptionAria({ selected, disabled: !!node.disabled }),
|
|
341
|
+
class: getTreeSelectNodeClasses(selected, !!node.disabled, props.size),
|
|
342
|
+
style: { paddingLeft: `${indent + 8}px`, height: props.virtual ? "100%" : void 0 },
|
|
343
|
+
onClick: (e) => {
|
|
344
|
+
e.stopPropagation();
|
|
345
|
+
handleNodeSelect(node);
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
[
|
|
349
|
+
hasChildren ? h(
|
|
350
|
+
"span",
|
|
351
|
+
{
|
|
352
|
+
class: classNames(
|
|
353
|
+
"inline-flex items-center justify-center w-4 h-4 mr-1 transition-transform",
|
|
354
|
+
isExpanded ? "rotate-90" : ""
|
|
355
|
+
),
|
|
356
|
+
onClick: (e) => {
|
|
357
|
+
e.stopPropagation();
|
|
358
|
+
toggleExpand(node.key);
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
[
|
|
362
|
+
h(
|
|
363
|
+
"svg",
|
|
364
|
+
{
|
|
365
|
+
class: "w-3 h-3",
|
|
366
|
+
viewBox: icon20ViewBox,
|
|
367
|
+
fill: "currentColor"
|
|
368
|
+
},
|
|
369
|
+
[
|
|
370
|
+
h("path", {
|
|
371
|
+
d: chevronRightSolidIcon20PathD,
|
|
372
|
+
"fill-rule": "evenodd",
|
|
373
|
+
"clip-rule": "evenodd"
|
|
374
|
+
})
|
|
375
|
+
]
|
|
376
|
+
)
|
|
377
|
+
]
|
|
378
|
+
) : h("span", { class: "w-4 mr-1" }),
|
|
379
|
+
h("span", { class: "flex-1 truncate" }, node.label)
|
|
380
|
+
]
|
|
381
|
+
);
|
|
382
|
+
}
|
|
244
383
|
return () => {
|
|
245
384
|
const containerClasses = classNames(treeSelectBaseClasses, coerceClassValue(attrs.class));
|
|
246
385
|
return h("div", { ref: containerRef, class: containerClasses }, [
|
|
@@ -295,7 +434,10 @@ var TreeSelect = defineComponent({
|
|
|
295
434
|
{
|
|
296
435
|
ref: dropdownRef,
|
|
297
436
|
...getPickerListboxAria({ id: listboxId }),
|
|
298
|
-
class: classNames(
|
|
437
|
+
class: classNames(
|
|
438
|
+
getTreeSelectDropdownClasses(props.virtual),
|
|
439
|
+
overlay.floatingClasses.value
|
|
440
|
+
),
|
|
299
441
|
style: overlay.floatingStyles.value,
|
|
300
442
|
"data-positioned": overlay.positioned.value
|
|
301
443
|
},
|
|
@@ -316,59 +458,31 @@ var TreeSelect = defineComponent({
|
|
|
316
458
|
onInput: (e) => updateSearchValue(e.target.value)
|
|
317
459
|
}) : null,
|
|
318
460
|
// Tree nodes
|
|
319
|
-
visibleNodes.value.length > 0 ?
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
461
|
+
visibleNodes.value.length > 0 ? props.virtual ? h(
|
|
462
|
+
"div",
|
|
463
|
+
{
|
|
464
|
+
ref: virtualListWrapperRef,
|
|
465
|
+
"data-tiger-treeselect-virtual": "",
|
|
466
|
+
tabindex: 0,
|
|
467
|
+
onKeydown: handleVirtualListKeyDown
|
|
468
|
+
},
|
|
469
|
+
[
|
|
470
|
+
h(
|
|
471
|
+
VirtualList,
|
|
472
|
+
{
|
|
473
|
+
itemCount: visibleNodes.value.length,
|
|
474
|
+
itemHeight: props.itemHeight,
|
|
475
|
+
height: props.height
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
default: ({ index }) => {
|
|
479
|
+
const item = visibleNodes.value[index];
|
|
480
|
+
return item ? renderFlatNode(item) : null;
|
|
481
|
+
}
|
|
333
482
|
}
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
hasChildren ? h(
|
|
338
|
-
"span",
|
|
339
|
-
{
|
|
340
|
-
class: classNames(
|
|
341
|
-
"inline-flex items-center justify-center w-4 h-4 mr-1 transition-transform",
|
|
342
|
-
isExpanded ? "rotate-90" : ""
|
|
343
|
-
),
|
|
344
|
-
onClick: (e) => {
|
|
345
|
-
e.stopPropagation();
|
|
346
|
-
toggleExpand(node.key);
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
[
|
|
350
|
-
h(
|
|
351
|
-
"svg",
|
|
352
|
-
{
|
|
353
|
-
class: "w-3 h-3",
|
|
354
|
-
viewBox: icon20ViewBox,
|
|
355
|
-
fill: "currentColor"
|
|
356
|
-
},
|
|
357
|
-
[
|
|
358
|
-
h("path", {
|
|
359
|
-
d: chevronRightSolidIcon20PathD,
|
|
360
|
-
"fill-rule": "evenodd",
|
|
361
|
-
"clip-rule": "evenodd"
|
|
362
|
-
})
|
|
363
|
-
]
|
|
364
|
-
)
|
|
365
|
-
]
|
|
366
|
-
) : h("span", { class: "w-4 mr-1" }),
|
|
367
|
-
// Label
|
|
368
|
-
h("span", { class: "flex-1 truncate" }, node.label)
|
|
369
|
-
]
|
|
370
|
-
);
|
|
371
|
-
}) : h(
|
|
483
|
+
)
|
|
484
|
+
]
|
|
485
|
+
) : visibleNodes.value.map((flatNode) => renderFlatNode(flatNode)) : h(
|
|
372
486
|
"div",
|
|
373
487
|
{ class: treeSelectEmptyClasses },
|
|
374
488
|
resolveLocaleText(
|
|
@@ -112,9 +112,9 @@ declare const ActivityFeed: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
112
112
|
className: string;
|
|
113
113
|
style: Record<string, string | number>;
|
|
114
114
|
loading: boolean;
|
|
115
|
+
groups: ActivityGroup[];
|
|
115
116
|
groupBy: (item: ActivityItem) => string;
|
|
116
117
|
items: ActivityItem[];
|
|
117
|
-
groups: ActivityGroup[];
|
|
118
118
|
groupOrder: string[];
|
|
119
119
|
showAvatar: boolean;
|
|
120
120
|
showTime: boolean;
|
|
@@ -8,9 +8,9 @@ import "../chunk-AUMTHL6N.mjs";
|
|
|
8
8
|
import "../chunk-342DH5CF.mjs";
|
|
9
9
|
import "../chunk-NN6AINLG.mjs";
|
|
10
10
|
import "../chunk-TC6ZPQFT.mjs";
|
|
11
|
-
import "../chunk-Q7Y22OFX.mjs";
|
|
12
11
|
import "../chunk-ZFTRR3KW.mjs";
|
|
13
12
|
import "../chunk-JHFM6IFO.mjs";
|
|
13
|
+
import "../chunk-Q7Y22OFX.mjs";
|
|
14
14
|
import "../chunk-UOJOJBEU.mjs";
|
|
15
15
|
import "../chunk-TGXBCKOU.mjs";
|
|
16
16
|
export {
|
|
@@ -210,10 +210,10 @@ declare const Alert: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
210
210
|
className: string;
|
|
211
211
|
style: Record<string, string | number>;
|
|
212
212
|
title: string;
|
|
213
|
-
description: string;
|
|
214
213
|
closable: boolean;
|
|
215
|
-
showIcon: boolean;
|
|
216
214
|
duration: number;
|
|
215
|
+
description: string;
|
|
216
|
+
showIcon: boolean;
|
|
217
217
|
banner: boolean;
|
|
218
218
|
showCountdown: boolean;
|
|
219
219
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AreaChart,
|
|
3
3
|
AreaChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EZYOCPMM.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
|
+
import "../chunk-2ZUEXCVJ.mjs";
|
|
6
7
|
import "../chunk-SPFL55TF.mjs";
|
|
7
8
|
import "../chunk-ZWVA7HT3.mjs";
|
|
8
9
|
import "../chunk-W5RZPTFD.mjs";
|
|
9
10
|
import "../chunk-MI6TL3CQ.mjs";
|
|
10
11
|
import "../chunk-V443QIJM.mjs";
|
|
11
|
-
import "../chunk-2ZUEXCVJ.mjs";
|
|
12
12
|
export {
|
|
13
13
|
AreaChart,
|
|
14
14
|
AreaChart_default as default
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { AspectRatioValue } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueAspectRatioProps {
|
|
6
|
+
ratio?: AspectRatioValue;
|
|
7
|
+
className?: string;
|
|
8
|
+
contentClassName?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const AspectRatio: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
11
|
+
ratio: {
|
|
12
|
+
type: PropType<AspectRatioValue>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
className: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
contentClassName: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
26
|
+
ratio: {
|
|
27
|
+
type: PropType<AspectRatioValue>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
className: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
contentClassName: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{}>, {
|
|
39
|
+
className: string;
|
|
40
|
+
ratio: AspectRatioValue;
|
|
41
|
+
contentClassName: string;
|
|
42
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
|
|
44
|
+
export { AspectRatio, type VueAspectRatioProps, AspectRatio as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BarChart,
|
|
3
3
|
BarChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-W5XFWVNV.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
|
+
import "../chunk-2ZUEXCVJ.mjs";
|
|
6
7
|
import "../chunk-SPFL55TF.mjs";
|
|
7
8
|
import "../chunk-ZWVA7HT3.mjs";
|
|
8
9
|
import "../chunk-W5RZPTFD.mjs";
|
|
9
10
|
import "../chunk-MI6TL3CQ.mjs";
|
|
10
11
|
import "../chunk-V443QIJM.mjs";
|
|
11
|
-
import "../chunk-2ZUEXCVJ.mjs";
|
|
12
12
|
export {
|
|
13
13
|
BarChart,
|
|
14
14
|
BarChart_default as default
|
|
@@ -269,6 +269,7 @@ declare const Carousel: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
269
269
|
style: Record<string, string | number>;
|
|
270
270
|
dots: boolean;
|
|
271
271
|
infinite: boolean;
|
|
272
|
+
pauseOnHover: boolean;
|
|
272
273
|
currentIndex: number;
|
|
273
274
|
autoplay: boolean;
|
|
274
275
|
autoplaySpeed: number;
|
|
@@ -277,7 +278,6 @@ declare const Carousel: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
277
278
|
arrows: boolean;
|
|
278
279
|
speed: number;
|
|
279
280
|
defaultCurrentIndex: number;
|
|
280
|
-
pauseOnHover: boolean;
|
|
281
281
|
pauseOnFocus: boolean;
|
|
282
282
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
283
283
|
|
|
@@ -16,6 +16,8 @@ interface VueCascaderProps {
|
|
|
16
16
|
changeOnSelect?: boolean;
|
|
17
17
|
separator?: string;
|
|
18
18
|
emptyText?: string;
|
|
19
|
+
virtual?: boolean;
|
|
20
|
+
listHeight?: number;
|
|
19
21
|
locale?: Partial<TigerLocale>;
|
|
20
22
|
}
|
|
21
23
|
declare const Cascader: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
@@ -71,6 +73,21 @@ declare const Cascader: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
71
73
|
type: StringConstructor;
|
|
72
74
|
default: undefined;
|
|
73
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* Whether to use virtual scrolling for column and search lists
|
|
78
|
+
*/
|
|
79
|
+
virtual: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Height of each column panel (and searchable list) in pixels
|
|
85
|
+
* @default 256
|
|
86
|
+
*/
|
|
87
|
+
listHeight: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
74
91
|
/**
|
|
75
92
|
* Locale overrides merged on top of ConfigProvider locale
|
|
76
93
|
*/
|
|
@@ -133,6 +150,21 @@ declare const Cascader: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
133
150
|
type: StringConstructor;
|
|
134
151
|
default: undefined;
|
|
135
152
|
};
|
|
153
|
+
/**
|
|
154
|
+
* Whether to use virtual scrolling for column and search lists
|
|
155
|
+
*/
|
|
156
|
+
virtual: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Height of each column panel (and searchable list) in pixels
|
|
162
|
+
* @default 256
|
|
163
|
+
*/
|
|
164
|
+
listHeight: {
|
|
165
|
+
type: NumberConstructor;
|
|
166
|
+
default: number;
|
|
167
|
+
};
|
|
136
168
|
/**
|
|
137
169
|
* Locale overrides merged on top of ConfigProvider locale
|
|
138
170
|
*/
|
|
@@ -153,10 +185,12 @@ declare const Cascader: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
153
185
|
disabled: boolean;
|
|
154
186
|
modelValue: CascaderValue;
|
|
155
187
|
searchable: boolean | CascaderSearchConfig;
|
|
188
|
+
virtual: boolean;
|
|
156
189
|
options: CascaderOption[];
|
|
157
190
|
searchValue: string;
|
|
158
191
|
defaultSearchValue: string;
|
|
159
192
|
clearable: boolean;
|
|
193
|
+
listHeight: number;
|
|
160
194
|
expandTrigger: CascaderExpandTrigger;
|
|
161
195
|
changeOnSelect: boolean;
|
|
162
196
|
separator: string;
|
|
@@ -76,8 +76,8 @@ declare const ChartLegend: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
76
76
|
}>, {
|
|
77
77
|
ariaLabel: string;
|
|
78
78
|
position: ChartLegendPosition;
|
|
79
|
-
markerSize: number;
|
|
80
79
|
gap: number;
|
|
80
|
+
markerSize: number;
|
|
81
81
|
interactive: boolean;
|
|
82
82
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
83
83
|
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "../chunk-PYRKFQ6J.mjs";
|
|
5
5
|
import "../chunk-HS4YQGZQ.mjs";
|
|
6
6
|
import "../chunk-XLNK3Z2P.mjs";
|
|
7
|
-
import "../chunk-SJINC5NF.mjs";
|
|
8
7
|
import "../chunk-P2LZ2MR5.mjs";
|
|
8
|
+
import "../chunk-SJINC5NF.mjs";
|
|
9
9
|
import "../chunk-2OI6GWOT.mjs";
|
|
10
10
|
import "../chunk-VIIGYWUY.mjs";
|
|
11
11
|
import "../chunk-YZBQ6IR7.mjs";
|
|
@@ -71,8 +71,8 @@ declare const ColorSwatch: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
71
71
|
size: ComponentSize;
|
|
72
72
|
disabled: boolean;
|
|
73
73
|
modelValue: string;
|
|
74
|
-
columns: number;
|
|
75
74
|
groups: ColorSwatchGroup[];
|
|
75
|
+
columns: number;
|
|
76
76
|
colors: ColorSwatchOptionInput[];
|
|
77
77
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
78
78
|
|