@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PieChart,
|
|
3
3
|
PieChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CHEXI7MO.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
|
+
import "../chunk-2ZUEXCVJ.mjs";
|
|
6
7
|
import "../chunk-SPFL55TF.mjs";
|
|
7
8
|
import "../chunk-W5RZPTFD.mjs";
|
|
8
9
|
import "../chunk-V443QIJM.mjs";
|
|
9
|
-
import "../chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
export {
|
|
11
11
|
PieChart,
|
|
12
12
|
PieChart_default as default
|
|
@@ -78,7 +78,7 @@ declare const Popconfirm: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
78
78
|
};
|
|
79
79
|
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
80
80
|
[key: string]: any;
|
|
81
|
-
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("cancel" | "
|
|
81
|
+
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("cancel" | "update:open" | "open-change" | "confirm")[], "cancel" | "update:open" | "open-change" | "confirm", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
82
82
|
/** Whether the popconfirm is open (controlled mode) */
|
|
83
83
|
open: {
|
|
84
84
|
type: BooleanConstructor;
|
|
@@ -150,9 +150,9 @@ declare const Popconfirm: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
150
150
|
};
|
|
151
151
|
}>> & Readonly<{
|
|
152
152
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
153
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
154
153
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
155
154
|
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
157
|
okText: string;
|
|
158
158
|
cancelText: string;
|
|
@@ -164,8 +164,8 @@ declare const Popconfirm: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
164
164
|
placement: FloatingPlacement;
|
|
165
165
|
offset: number;
|
|
166
166
|
open: boolean;
|
|
167
|
-
description: string;
|
|
168
167
|
defaultOpen: boolean;
|
|
168
|
+
description: string;
|
|
169
169
|
showIcon: boolean;
|
|
170
170
|
okType: "primary" | "danger";
|
|
171
171
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -128,11 +128,11 @@ declare const Popover: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
128
128
|
disabled: boolean;
|
|
129
129
|
placement: FloatingPlacement;
|
|
130
130
|
offset: number;
|
|
131
|
+
trigger: PopoverTrigger;
|
|
131
132
|
open: boolean;
|
|
133
|
+
defaultOpen: boolean;
|
|
132
134
|
width: string | number;
|
|
133
135
|
content: string;
|
|
134
|
-
trigger: PopoverTrigger;
|
|
135
|
-
defaultOpen: boolean;
|
|
136
136
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
137
137
|
|
|
138
138
|
export { Popover, type VuePopoverProps, Popover as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RadarChart,
|
|
3
3
|
RadarChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VLW3UBIR.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
|
+
import "../chunk-2ZUEXCVJ.mjs";
|
|
6
7
|
import "../chunk-SPFL55TF.mjs";
|
|
7
8
|
import "../chunk-W5RZPTFD.mjs";
|
|
8
9
|
import "../chunk-V443QIJM.mjs";
|
|
9
|
-
import "../chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
export {
|
|
11
11
|
RadarChart,
|
|
12
12
|
RadarChart_default as default
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ScatterChart,
|
|
3
3
|
ScatterChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-66OS5A4D.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
|
import "../chunk-UOJOJBEU.mjs";
|
|
13
13
|
import "../chunk-TGXBCKOU.mjs";
|
|
14
14
|
export {
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { ScrollAreaDirection, ScrollAreaScrollbarVisibility, ScrollAreaScrollbarSize } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueScrollAreaProps {
|
|
6
|
+
direction?: ScrollAreaDirection;
|
|
7
|
+
scrollbar?: ScrollAreaScrollbarVisibility;
|
|
8
|
+
scrollbarSize?: ScrollAreaScrollbarSize;
|
|
9
|
+
shadow?: boolean;
|
|
10
|
+
minThumbSize?: number;
|
|
11
|
+
height?: number | string;
|
|
12
|
+
maxHeight?: number | string;
|
|
13
|
+
width?: number | string;
|
|
14
|
+
maxWidth?: number | string;
|
|
15
|
+
ariaLabel?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
viewportClassName?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const ScrollArea: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
20
|
+
direction: {
|
|
21
|
+
type: PropType<ScrollAreaDirection>;
|
|
22
|
+
default: ScrollAreaDirection;
|
|
23
|
+
};
|
|
24
|
+
scrollbar: {
|
|
25
|
+
type: PropType<ScrollAreaScrollbarVisibility>;
|
|
26
|
+
default: ScrollAreaScrollbarVisibility;
|
|
27
|
+
};
|
|
28
|
+
scrollbarSize: {
|
|
29
|
+
type: PropType<ScrollAreaScrollbarSize>;
|
|
30
|
+
default: ScrollAreaScrollbarSize;
|
|
31
|
+
};
|
|
32
|
+
shadow: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
minThumbSize: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
height: {
|
|
41
|
+
type: PropType<number | string>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
maxHeight: {
|
|
45
|
+
type: PropType<number | string>;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
width: {
|
|
49
|
+
type: PropType<number | string>;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
maxWidth: {
|
|
53
|
+
type: PropType<number | string>;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
ariaLabel: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
className: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
viewportClassName: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, "scroll"[], "scroll", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
71
|
+
direction: {
|
|
72
|
+
type: PropType<ScrollAreaDirection>;
|
|
73
|
+
default: ScrollAreaDirection;
|
|
74
|
+
};
|
|
75
|
+
scrollbar: {
|
|
76
|
+
type: PropType<ScrollAreaScrollbarVisibility>;
|
|
77
|
+
default: ScrollAreaScrollbarVisibility;
|
|
78
|
+
};
|
|
79
|
+
scrollbarSize: {
|
|
80
|
+
type: PropType<ScrollAreaScrollbarSize>;
|
|
81
|
+
default: ScrollAreaScrollbarSize;
|
|
82
|
+
};
|
|
83
|
+
shadow: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
minThumbSize: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
height: {
|
|
92
|
+
type: PropType<number | string>;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
95
|
+
maxHeight: {
|
|
96
|
+
type: PropType<number | string>;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
width: {
|
|
100
|
+
type: PropType<number | string>;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
maxWidth: {
|
|
104
|
+
type: PropType<number | string>;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
|
+
ariaLabel: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
className: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
viewportClassName: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
}>> & Readonly<{
|
|
120
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
|
121
|
+
}>, {
|
|
122
|
+
direction: ScrollAreaDirection;
|
|
123
|
+
ariaLabel: string;
|
|
124
|
+
className: string;
|
|
125
|
+
width: string | number;
|
|
126
|
+
height: string | number;
|
|
127
|
+
scrollbar: ScrollAreaScrollbarVisibility;
|
|
128
|
+
maxWidth: string | number;
|
|
129
|
+
maxHeight: string | number;
|
|
130
|
+
shadow: boolean;
|
|
131
|
+
scrollbarSize: ScrollAreaScrollbarSize;
|
|
132
|
+
minThumbSize: number;
|
|
133
|
+
viewportClassName: string;
|
|
134
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
135
|
+
|
|
136
|
+
export { ScrollArea, type VueScrollAreaProps, ScrollArea as default };
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { PropType, VNode } from 'vue';
|
|
3
|
+
import { ButtonVariant, ButtonSize, ButtonHtmlType, ButtonIconPosition, FloatingPlacement } from '@expcat/tigercat-core';
|
|
4
|
+
|
|
5
|
+
interface VueSplitButtonProps {
|
|
6
|
+
variant?: ButtonVariant;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
danger?: boolean;
|
|
11
|
+
block?: boolean;
|
|
12
|
+
htmlType?: ButtonHtmlType;
|
|
13
|
+
iconPosition?: ButtonIconPosition;
|
|
14
|
+
open?: boolean;
|
|
15
|
+
defaultOpen?: boolean;
|
|
16
|
+
closeOnClick?: boolean;
|
|
17
|
+
portal?: boolean;
|
|
18
|
+
triggerAriaLabel?: string;
|
|
19
|
+
placement?: FloatingPlacement;
|
|
20
|
+
offset?: number;
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
declare const SplitButton: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
25
|
+
/**
|
|
26
|
+
* Visual variant applied to the primary action and the menu trigger
|
|
27
|
+
* @default 'primary'
|
|
28
|
+
*/
|
|
29
|
+
variant: {
|
|
30
|
+
type: PropType<ButtonVariant>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Size applied to the primary action and the menu trigger
|
|
35
|
+
* @default 'md'
|
|
36
|
+
*/
|
|
37
|
+
size: {
|
|
38
|
+
type: PropType<ButtonSize>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Whether both the primary action and the menu trigger are disabled
|
|
43
|
+
*/
|
|
44
|
+
disabled: BooleanConstructor;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the primary action is in a loading state. Also disables the menu trigger.
|
|
47
|
+
*/
|
|
48
|
+
loading: BooleanConstructor;
|
|
49
|
+
/**
|
|
50
|
+
* Whether to apply danger/destructive styling to both buttons
|
|
51
|
+
*/
|
|
52
|
+
danger: BooleanConstructor;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the split control should take the full width of its parent
|
|
55
|
+
*/
|
|
56
|
+
block: BooleanConstructor;
|
|
57
|
+
/**
|
|
58
|
+
* HTML button type for the primary action
|
|
59
|
+
* @default 'button'
|
|
60
|
+
*/
|
|
61
|
+
htmlType: {
|
|
62
|
+
type: PropType<ButtonHtmlType>;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Position of the icon relative to the primary action text
|
|
67
|
+
* @default 'left'
|
|
68
|
+
*/
|
|
69
|
+
iconPosition: {
|
|
70
|
+
type: PropType<ButtonIconPosition>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Whether the menu is open (controlled mode)
|
|
75
|
+
*/
|
|
76
|
+
open: {
|
|
77
|
+
type: PropType<boolean | undefined>;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Default open state (uncontrolled mode)
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
defaultOpen: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Whether to close the menu when a menu item is clicked
|
|
90
|
+
* @default true
|
|
91
|
+
*/
|
|
92
|
+
closeOnClick: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Render the menu into document.body (Teleport)
|
|
98
|
+
* @default true
|
|
99
|
+
*/
|
|
100
|
+
portal: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Accessible name for the chevron menu trigger
|
|
106
|
+
* @default 'More options'
|
|
107
|
+
*/
|
|
108
|
+
triggerAriaLabel: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Dropdown placement relative to the chevron trigger
|
|
114
|
+
* @default 'bottom-end'
|
|
115
|
+
*/
|
|
116
|
+
placement: {
|
|
117
|
+
type: PropType<FloatingPlacement>;
|
|
118
|
+
default: FloatingPlacement;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Offset distance from the chevron trigger
|
|
122
|
+
* @default 4
|
|
123
|
+
*/
|
|
124
|
+
offset: {
|
|
125
|
+
type: NumberConstructor;
|
|
126
|
+
default: number;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Additional CSS classes
|
|
130
|
+
*/
|
|
131
|
+
className: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Inline styles
|
|
137
|
+
*/
|
|
138
|
+
style: {
|
|
139
|
+
type: PropType<Record<string, unknown>>;
|
|
140
|
+
default: undefined;
|
|
141
|
+
};
|
|
142
|
+
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("click" | "update:open" | "open-change")[], "click" | "update:open" | "open-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
145
|
+
/**
|
|
146
|
+
* Visual variant applied to the primary action and the menu trigger
|
|
147
|
+
* @default 'primary'
|
|
148
|
+
*/
|
|
149
|
+
variant: {
|
|
150
|
+
type: PropType<ButtonVariant>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Size applied to the primary action and the menu trigger
|
|
155
|
+
* @default 'md'
|
|
156
|
+
*/
|
|
157
|
+
size: {
|
|
158
|
+
type: PropType<ButtonSize>;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Whether both the primary action and the menu trigger are disabled
|
|
163
|
+
*/
|
|
164
|
+
disabled: BooleanConstructor;
|
|
165
|
+
/**
|
|
166
|
+
* Whether the primary action is in a loading state. Also disables the menu trigger.
|
|
167
|
+
*/
|
|
168
|
+
loading: BooleanConstructor;
|
|
169
|
+
/**
|
|
170
|
+
* Whether to apply danger/destructive styling to both buttons
|
|
171
|
+
*/
|
|
172
|
+
danger: BooleanConstructor;
|
|
173
|
+
/**
|
|
174
|
+
* Whether the split control should take the full width of its parent
|
|
175
|
+
*/
|
|
176
|
+
block: BooleanConstructor;
|
|
177
|
+
/**
|
|
178
|
+
* HTML button type for the primary action
|
|
179
|
+
* @default 'button'
|
|
180
|
+
*/
|
|
181
|
+
htmlType: {
|
|
182
|
+
type: PropType<ButtonHtmlType>;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Position of the icon relative to the primary action text
|
|
187
|
+
* @default 'left'
|
|
188
|
+
*/
|
|
189
|
+
iconPosition: {
|
|
190
|
+
type: PropType<ButtonIconPosition>;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Whether the menu is open (controlled mode)
|
|
195
|
+
*/
|
|
196
|
+
open: {
|
|
197
|
+
type: PropType<boolean | undefined>;
|
|
198
|
+
default: undefined;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Default open state (uncontrolled mode)
|
|
202
|
+
* @default false
|
|
203
|
+
*/
|
|
204
|
+
defaultOpen: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Whether to close the menu when a menu item is clicked
|
|
210
|
+
* @default true
|
|
211
|
+
*/
|
|
212
|
+
closeOnClick: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
default: boolean;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Render the menu into document.body (Teleport)
|
|
218
|
+
* @default true
|
|
219
|
+
*/
|
|
220
|
+
portal: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Accessible name for the chevron menu trigger
|
|
226
|
+
* @default 'More options'
|
|
227
|
+
*/
|
|
228
|
+
triggerAriaLabel: {
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
default: undefined;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Dropdown placement relative to the chevron trigger
|
|
234
|
+
* @default 'bottom-end'
|
|
235
|
+
*/
|
|
236
|
+
placement: {
|
|
237
|
+
type: PropType<FloatingPlacement>;
|
|
238
|
+
default: FloatingPlacement;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Offset distance from the chevron trigger
|
|
242
|
+
* @default 4
|
|
243
|
+
*/
|
|
244
|
+
offset: {
|
|
245
|
+
type: NumberConstructor;
|
|
246
|
+
default: number;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Additional CSS classes
|
|
250
|
+
*/
|
|
251
|
+
className: {
|
|
252
|
+
type: StringConstructor;
|
|
253
|
+
default: undefined;
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Inline styles
|
|
257
|
+
*/
|
|
258
|
+
style: {
|
|
259
|
+
type: PropType<Record<string, unknown>>;
|
|
260
|
+
default: undefined;
|
|
261
|
+
};
|
|
262
|
+
}>> & Readonly<{
|
|
263
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
264
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
265
|
+
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
266
|
+
}>, {
|
|
267
|
+
triggerAriaLabel: string;
|
|
268
|
+
size: ButtonSize;
|
|
269
|
+
className: string;
|
|
270
|
+
style: Record<string, unknown>;
|
|
271
|
+
disabled: boolean;
|
|
272
|
+
loading: boolean;
|
|
273
|
+
block: boolean;
|
|
274
|
+
danger: boolean;
|
|
275
|
+
variant: ButtonVariant;
|
|
276
|
+
iconPosition: ButtonIconPosition;
|
|
277
|
+
htmlType: ButtonHtmlType;
|
|
278
|
+
placement: FloatingPlacement;
|
|
279
|
+
offset: number;
|
|
280
|
+
open: boolean | undefined;
|
|
281
|
+
defaultOpen: boolean;
|
|
282
|
+
closeOnClick: boolean;
|
|
283
|
+
portal: boolean;
|
|
284
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
285
|
+
|
|
286
|
+
export { SplitButton, type VueSplitButtonProps, SplitButton as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SplitButton,
|
|
3
|
+
SplitButton_default
|
|
4
|
+
} from "../chunk-7DWWNFRP.mjs";
|
|
5
|
+
import "../chunk-KROVW4AW.mjs";
|
|
6
|
+
import "../chunk-YZBQ6IR7.mjs";
|
|
7
|
+
import "../chunk-Z2ZECCGD.mjs";
|
|
8
|
+
import "../chunk-Q7Y22OFX.mjs";
|
|
9
|
+
export {
|
|
10
|
+
SplitButton,
|
|
11
|
+
SplitButton_default as default
|
|
12
|
+
};
|
|
@@ -188,8 +188,8 @@ declare const Spotlight: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
188
188
|
title: string;
|
|
189
189
|
mask: boolean;
|
|
190
190
|
open: boolean | undefined;
|
|
191
|
-
limit: number;
|
|
192
191
|
defaultOpen: boolean;
|
|
192
|
+
limit: number;
|
|
193
193
|
zIndex: number;
|
|
194
194
|
maskClosable: boolean;
|
|
195
195
|
items: SpotlightItem[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SunburstChart,
|
|
3
3
|
SunburstChart_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ZOYHZF4N.mjs";
|
|
5
5
|
import "../chunk-PE5OA4YG.mjs";
|
|
6
|
+
import "../chunk-2ZUEXCVJ.mjs";
|
|
6
7
|
import "../chunk-SPFL55TF.mjs";
|
|
7
8
|
import "../chunk-W5RZPTFD.mjs";
|
|
8
9
|
import "../chunk-V443QIJM.mjs";
|
|
9
|
-
import "../chunk-2ZUEXCVJ.mjs";
|
|
10
10
|
export {
|
|
11
11
|
SunburstChart,
|
|
12
12
|
SunburstChart_default as default
|