sakana-element 2.4.2 → 2.5.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/dist/es/Alert-Bh6HeGRU.js +57 -0
- package/dist/es/Avatar-NF4bQN7G.js +5 -0
- package/dist/es/Badge-CHgxCwjo.js +7 -0
- package/dist/es/Breadcrumb-lEWE4Gu6.js +6 -0
- package/dist/es/Button-BM129Q7H.js +28 -0
- package/dist/es/Card-DAAF5q-g.js +8 -0
- package/dist/es/Carousel-Cc98Eg3m.js +11 -0
- package/dist/es/ChatBubble-DvRSjkcV.js +5 -0
- package/dist/es/Checkbox-WwH8lZhh.js +228 -0
- package/dist/es/Collapse-CR_RWE5e.js +11 -0
- package/dist/es/Collapsible-BHg6BxmU.js +12 -0
- package/dist/es/Command-DM1kXZ6n.js +45 -0
- package/dist/es/ConfigProvider-Bfp86-Oj.js +35 -0
- package/dist/es/Diff-Cs62zIBX.js +17 -0
- package/dist/es/Divider-Yq-jZAD6.js +5 -0
- package/dist/es/Drawer-DTIUkiIQ.js +6 -0
- package/dist/es/Dropdown-uSRkAnxr.js +115 -0
- package/dist/es/FileInput-rT_BAYOK.js +113 -0
- package/dist/es/Filter-pj4lwoJ3.js +13 -0
- package/dist/es/Icon-DXRJjblp.js +3 -0
- package/dist/es/Indicator-BeFoSuXk.js +5 -0
- package/dist/es/Input-DL5clGaQ.js +8 -0
- package/dist/es/Kbd-BK_mWOUQ.js +5 -0
- package/dist/es/Link-t_r2AmyI.js +5 -0
- package/dist/es/Loading-CfMeogGy.js +27 -0
- package/dist/es/Message-DVd-37vE.js +51 -0
- package/dist/es/Notification-DzFscVIb.js +22 -0
- package/dist/es/Pixelate-CnY7ulip.js +12 -0
- package/dist/es/Popconfirm-BeIJD0c1.js +8 -0
- package/dist/es/Progress-DkjXY0in.js +6 -0
- package/dist/es/Radio-BEFq7s6x.js +11 -0
- package/dist/es/Resizable-CiWcvscr.js +59 -0
- package/dist/es/Select-_AakAT4E.js +31 -0
- package/dist/es/Skeleton-HaEvHu7t.js +7 -0
- package/dist/es/Switch-DTwoMkmG.js +11 -0
- package/dist/es/Table-CtnNz-I3.js +5 -0
- package/dist/es/Tooltip-C3XS2Ue8.js +4 -0
- package/dist/es/Validator-B_i9IpaG.js +16 -0
- package/dist/es/index.js +41 -140
- package/dist/index.css +2 -1
- package/dist/theme/Alert.css +1 -295
- package/dist/theme/Avatar.css +1 -86
- package/dist/theme/Badge.css +1 -214
- package/dist/theme/Breadcrumb.css +1 -192
- package/dist/theme/Button.css +1 -1570
- package/dist/theme/Card.css +1 -347
- package/dist/theme/Carousel.css +1 -0
- package/dist/theme/ChatBubble.css +1 -218
- package/dist/theme/Checkbox.css +1 -604
- package/dist/theme/Collapse.css +1 -764
- package/dist/theme/Collapsible.css +1 -0
- package/dist/theme/Command.css +1 -0
- package/dist/theme/Diff.css +1 -110
- package/dist/theme/Divider.css +1 -150
- package/dist/theme/Drawer.css +1 -206
- package/dist/theme/Dropdown.css +1 -471
- package/dist/theme/FileInput.css +1 -397
- package/dist/theme/Filter.css +1 -598
- package/dist/theme/Indicator.css +1 -159
- package/dist/theme/Input.css +1 -647
- package/dist/theme/Kbd.css +1 -104
- package/dist/theme/Link.css +1 -69
- package/dist/theme/Loading.css +1 -266
- package/dist/theme/Message.css +1 -565
- package/dist/theme/Notification.css +1 -316
- package/dist/theme/Popconfirm.css +1 -46
- package/dist/theme/Progress.css +1 -278
- package/dist/theme/Radio.css +1 -492
- package/dist/theme/Resizable.css +1 -95
- package/dist/theme/Select.css +1 -584
- package/dist/theme/Skeleton.css +1 -192
- package/dist/theme/Switch.css +1 -323
- package/dist/theme/Table.css +1 -680
- package/dist/theme/Validator.css +1 -25
- package/dist/theme/index.css +1 -341
- package/dist/types/components/Badge/types.d.ts +2 -0
- package/dist/types/components/Carousel/constants.d.ts +6 -0
- package/dist/types/components/Carousel/index.d.ts +77 -0
- package/dist/types/components/Carousel/types.d.ts +27 -0
- package/dist/types/components/Collapsible/constants.d.ts +6 -0
- package/dist/types/components/Collapsible/index.d.ts +85 -0
- package/dist/types/components/Collapsible/types.d.ts +22 -0
- package/dist/types/components/Command/constants.d.ts +4 -0
- package/dist/types/components/Command/index.d.ts +216 -0
- package/dist/types/components/Command/types.d.ts +59 -0
- package/dist/types/components/Validator/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/hooks/index.d.ts +1 -1
- package/dist/umd/index.css +2 -1
- package/dist/umd/index.css.gz +0 -0
- package/dist/umd/index.umd.cjs +1255 -5
- package/dist/umd/index.umd.cjs.gz +0 -0
- package/package.json +1 -2
- package/dist/es/Alert-DdAShH-x.js +0 -19
- package/dist/es/Avatar-BGTH7x40.js +0 -9
- package/dist/es/Badge-CYZ55qNe.js +0 -14
- package/dist/es/Breadcrumb-BTWTtzrN.js +0 -15
- package/dist/es/Button-GsSCWg5x.js +0 -24
- package/dist/es/Card-BhgzwQqo.js +0 -16
- package/dist/es/ChatBubble-4F481Agj.js +0 -9
- package/dist/es/Checkbox-C7vZGSTh.js +0 -51
- package/dist/es/Collapse-CbcSQig5.js +0 -53
- package/dist/es/ConfigProvider-K1UzjlRm.js +0 -45
- package/dist/es/Diff-B747pgwb.js +0 -64
- package/dist/es/Divider-BSu_1-AU.js +0 -9
- package/dist/es/Drawer-I2lCgyba.js +0 -40
- package/dist/es/Dropdown-B0J_c8Wv.js +0 -104
- package/dist/es/FileInput-CFg1wpsH.js +0 -33
- package/dist/es/Filter-nA8j-62U.js +0 -40
- package/dist/es/Form-C1b8Igns.js +0 -123
- package/dist/es/Icon-BulvH9Wm.js +0 -27
- package/dist/es/Indicator-BbW4iUkh.js +0 -9
- package/dist/es/Input-BUHFulIW.js +0 -42
- package/dist/es/Kbd-CeP2wkdE.js +0 -13
- package/dist/es/Link-Dks2bXo8.js +0 -11
- package/dist/es/Loading-DoBtVGWo.js +0 -92
- package/dist/es/Message-Ba_P4Wvy.js +0 -152
- package/dist/es/Notification-DzG8dLuk.js +0 -69
- package/dist/es/Overlay-DeyTycv0.js +0 -12
- package/dist/es/Pixelate-B21HKbSE.js +0 -39
- package/dist/es/Popconfirm-BqN3JxJ_.js +0 -23
- package/dist/es/Progress--6EJjbbM.js +0 -12
- package/dist/es/Radio-CrdrvrFH.js +0 -33
- package/dist/es/Resizable-By3ijQf0.js +0 -151
- package/dist/es/Select-Cq1Ucs_U.js +0 -133
- package/dist/es/Skeleton-ChCVgMSk.js +0 -15
- package/dist/es/Switch-DURmSH-T.js +0 -34
- package/dist/es/Table-BE2f9u65.js +0 -10
- package/dist/es/Tooltip-DR4Mc5Fh.js +0 -74
- package/dist/es/Validator-BYn72MYn.js +0 -40
- package/dist/es/hooks-dJGu-5DG.js +0 -170
- package/dist/es/utils-CnCdZsHG.js +0 -155
- package/dist/es/vendor-eombfMkP.js +0 -1351
- package/dist/theme/Form.css +0 -83
- package/dist/theme/Icon.css +0 -168
- package/dist/theme/Overlay.css +0 -12
- package/dist/theme/Tooltip.css +0 -235
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
export declare const PxCommand: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/core').CommandProps> & Readonly<{
|
|
3
|
+
onSelect?: ((value: string) => any) | undefined;
|
|
4
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
focus: () => void;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
select: (value: string) => any;
|
|
9
|
+
"update:modelValue": (value: string) => any;
|
|
10
|
+
}, import('vue').PublicProps, {
|
|
11
|
+
modelValue: string;
|
|
12
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
13
|
+
rootRef: HTMLDivElement;
|
|
14
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
15
|
+
P: {};
|
|
16
|
+
B: {};
|
|
17
|
+
D: {};
|
|
18
|
+
C: {};
|
|
19
|
+
M: {};
|
|
20
|
+
Defaults: {};
|
|
21
|
+
}, Readonly<import('packages/core').CommandProps> & Readonly<{
|
|
22
|
+
onSelect?: ((value: string) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
focus: () => void;
|
|
26
|
+
}, {}, {}, {}, {
|
|
27
|
+
modelValue: string;
|
|
28
|
+
}>;
|
|
29
|
+
__isFragment?: never;
|
|
30
|
+
__isTeleport?: never;
|
|
31
|
+
__isSuspense?: never;
|
|
32
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('packages/core').CommandProps> & Readonly<{
|
|
33
|
+
onSelect?: ((value: string) => any) | undefined;
|
|
34
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
focus: () => void;
|
|
37
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
38
|
+
select: (value: string) => any;
|
|
39
|
+
"update:modelValue": (value: string) => any;
|
|
40
|
+
}, string, {
|
|
41
|
+
modelValue: string;
|
|
42
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
43
|
+
$slots: {
|
|
44
|
+
default?(_: {}): any;
|
|
45
|
+
};
|
|
46
|
+
}) & import('vue').Plugin;
|
|
47
|
+
export declare const PxCommandDialog: {
|
|
48
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/core').CommandDialogProps> & Readonly<{
|
|
49
|
+
onClose?: (() => any) | undefined;
|
|
50
|
+
onOpen?: (() => any) | undefined;
|
|
51
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
52
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
53
|
+
close: () => any;
|
|
54
|
+
open: () => any;
|
|
55
|
+
"update:modelValue": (value: boolean) => any;
|
|
56
|
+
}, import('vue').PublicProps, {
|
|
57
|
+
modelValue: boolean;
|
|
58
|
+
shortcut: boolean;
|
|
59
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
60
|
+
dialogRef: HTMLDivElement;
|
|
61
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
62
|
+
P: {};
|
|
63
|
+
B: {};
|
|
64
|
+
D: {};
|
|
65
|
+
C: {};
|
|
66
|
+
M: {};
|
|
67
|
+
Defaults: {};
|
|
68
|
+
}, Readonly<import('packages/core').CommandDialogProps> & Readonly<{
|
|
69
|
+
onClose?: (() => any) | undefined;
|
|
70
|
+
onOpen?: (() => any) | undefined;
|
|
71
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
72
|
+
}>, {}, {}, {}, {}, {
|
|
73
|
+
modelValue: boolean;
|
|
74
|
+
shortcut: boolean;
|
|
75
|
+
}>;
|
|
76
|
+
__isFragment?: never;
|
|
77
|
+
__isTeleport?: never;
|
|
78
|
+
__isSuspense?: never;
|
|
79
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('packages/core').CommandDialogProps> & Readonly<{
|
|
80
|
+
onClose?: (() => any) | undefined;
|
|
81
|
+
onOpen?: (() => any) | undefined;
|
|
82
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
83
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
84
|
+
close: () => any;
|
|
85
|
+
open: () => any;
|
|
86
|
+
"update:modelValue": (value: boolean) => any;
|
|
87
|
+
}, string, {
|
|
88
|
+
modelValue: boolean;
|
|
89
|
+
shortcut: boolean;
|
|
90
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
91
|
+
$slots: {
|
|
92
|
+
default?(_: {}): any;
|
|
93
|
+
};
|
|
94
|
+
}) & import('vue').Plugin;
|
|
95
|
+
export declare const PxCommandEmpty: {
|
|
96
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
97
|
+
P: {};
|
|
98
|
+
B: {};
|
|
99
|
+
D: {};
|
|
100
|
+
C: {};
|
|
101
|
+
M: {};
|
|
102
|
+
Defaults: {};
|
|
103
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
104
|
+
__isFragment?: never;
|
|
105
|
+
__isTeleport?: never;
|
|
106
|
+
__isSuspense?: never;
|
|
107
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
108
|
+
$slots: {
|
|
109
|
+
default?(_: {}): any;
|
|
110
|
+
};
|
|
111
|
+
}) & import('vue').Plugin;
|
|
112
|
+
export declare const PxCommandGroup: {
|
|
113
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/core').CommandGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
114
|
+
P: {};
|
|
115
|
+
B: {};
|
|
116
|
+
D: {};
|
|
117
|
+
C: {};
|
|
118
|
+
M: {};
|
|
119
|
+
Defaults: {};
|
|
120
|
+
}, Readonly<import('packages/core').CommandGroupProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
121
|
+
__isFragment?: never;
|
|
122
|
+
__isTeleport?: never;
|
|
123
|
+
__isSuspense?: never;
|
|
124
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('packages/core').CommandGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
125
|
+
$slots: {
|
|
126
|
+
default?(_: {}): any;
|
|
127
|
+
};
|
|
128
|
+
}) & import('vue').Plugin;
|
|
129
|
+
export declare const PxCommandInput: {
|
|
130
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/core').CommandInputProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
131
|
+
icon: string;
|
|
132
|
+
placeholder: string;
|
|
133
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
134
|
+
P: {};
|
|
135
|
+
B: {};
|
|
136
|
+
D: {};
|
|
137
|
+
C: {};
|
|
138
|
+
M: {};
|
|
139
|
+
Defaults: {};
|
|
140
|
+
}, Readonly<import('packages/core').CommandInputProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
141
|
+
icon: string;
|
|
142
|
+
placeholder: string;
|
|
143
|
+
}>;
|
|
144
|
+
__isFragment?: never;
|
|
145
|
+
__isTeleport?: never;
|
|
146
|
+
__isSuspense?: never;
|
|
147
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('packages/core').CommandInputProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
148
|
+
icon: string;
|
|
149
|
+
placeholder: string;
|
|
150
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
151
|
+
export declare const PxCommandItem: {
|
|
152
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/core').CommandItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
153
|
+
disabled: boolean;
|
|
154
|
+
keywords: string[];
|
|
155
|
+
shortcut: string[];
|
|
156
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
157
|
+
P: {};
|
|
158
|
+
B: {};
|
|
159
|
+
D: {};
|
|
160
|
+
C: {};
|
|
161
|
+
M: {};
|
|
162
|
+
Defaults: {};
|
|
163
|
+
}, Readonly<import('packages/core').CommandItemProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
164
|
+
disabled: boolean;
|
|
165
|
+
keywords: string[];
|
|
166
|
+
shortcut: string[];
|
|
167
|
+
}>;
|
|
168
|
+
__isFragment?: never;
|
|
169
|
+
__isTeleport?: never;
|
|
170
|
+
__isSuspense?: never;
|
|
171
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('packages/core').CommandItemProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
172
|
+
disabled: boolean;
|
|
173
|
+
keywords: string[];
|
|
174
|
+
shortcut: string[];
|
|
175
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
176
|
+
$slots: {
|
|
177
|
+
default?(_: {}): any;
|
|
178
|
+
};
|
|
179
|
+
}) & import('vue').Plugin;
|
|
180
|
+
export declare const PxCommandList: {
|
|
181
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/core').CommandListProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
182
|
+
maxHeight: string;
|
|
183
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
184
|
+
P: {};
|
|
185
|
+
B: {};
|
|
186
|
+
D: {};
|
|
187
|
+
C: {};
|
|
188
|
+
M: {};
|
|
189
|
+
Defaults: {};
|
|
190
|
+
}, Readonly<import('packages/core').CommandListProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
191
|
+
maxHeight: string;
|
|
192
|
+
}>;
|
|
193
|
+
__isFragment?: never;
|
|
194
|
+
__isTeleport?: never;
|
|
195
|
+
__isSuspense?: never;
|
|
196
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('packages/core').CommandListProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
197
|
+
maxHeight: string;
|
|
198
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
199
|
+
$slots: {
|
|
200
|
+
default?(_: {}): any;
|
|
201
|
+
};
|
|
202
|
+
}) & import('vue').Plugin;
|
|
203
|
+
export declare const PxCommandSeparator: {
|
|
204
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
205
|
+
P: {};
|
|
206
|
+
B: {};
|
|
207
|
+
D: {};
|
|
208
|
+
C: {};
|
|
209
|
+
M: {};
|
|
210
|
+
Defaults: {};
|
|
211
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
212
|
+
__isFragment?: never;
|
|
213
|
+
__isTeleport?: never;
|
|
214
|
+
__isSuspense?: never;
|
|
215
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
|
|
216
|
+
export * from './types';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
export interface CommandProps {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
filter?: (value: string, search: string, keywords?: string[]) => boolean;
|
|
5
|
+
label?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CommandEmits {
|
|
8
|
+
(e: 'update:modelValue', value: string): void;
|
|
9
|
+
(e: 'select', value: string): void;
|
|
10
|
+
}
|
|
11
|
+
export interface CommandInputProps {
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
icon?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface CommandListProps {
|
|
16
|
+
maxHeight?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface CommandItemProps {
|
|
19
|
+
value: string;
|
|
20
|
+
keywords?: string[];
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
icon?: string;
|
|
23
|
+
shortcut?: string[];
|
|
24
|
+
}
|
|
25
|
+
export interface CommandGroupProps {
|
|
26
|
+
heading?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface CommandDialogProps {
|
|
29
|
+
modelValue?: boolean;
|
|
30
|
+
shortcut?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface CommandDialogEmits {
|
|
33
|
+
(e: 'update:modelValue', value: boolean): void;
|
|
34
|
+
(e: 'open'): void;
|
|
35
|
+
(e: 'close'): void;
|
|
36
|
+
}
|
|
37
|
+
export interface CommandItemRegistration {
|
|
38
|
+
uid: symbol;
|
|
39
|
+
value: string;
|
|
40
|
+
keywords: string[];
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
groupId?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface CommandContext {
|
|
45
|
+
searchTerm: Ref<string>;
|
|
46
|
+
filterFn: ComputedRef<(value: string, search: string, keywords?: string[]) => boolean>;
|
|
47
|
+
highlightedValue: Ref<string | null>;
|
|
48
|
+
visibleItems: ComputedRef<CommandItemRegistration[]>;
|
|
49
|
+
visibleUids: ComputedRef<Set<symbol>>;
|
|
50
|
+
groupVisibleCounts: ComputedRef<Map<string, number>>;
|
|
51
|
+
registerItem: (item: CommandItemRegistration) => void;
|
|
52
|
+
unregisterItem: (uid: symbol) => void;
|
|
53
|
+
updateItem: (uid: symbol, patch: Partial<Omit<CommandItemRegistration, 'uid'>>) => void;
|
|
54
|
+
handleSelect: (value: string) => void;
|
|
55
|
+
setHighlightedValue: (value: string | null) => void;
|
|
56
|
+
}
|
|
57
|
+
export interface CommandInstance {
|
|
58
|
+
focus: () => void;
|
|
59
|
+
}
|
|
@@ -4,9 +4,12 @@ export * from './Badge';
|
|
|
4
4
|
export * from './Breadcrumb';
|
|
5
5
|
export * from './Button';
|
|
6
6
|
export * from './Card';
|
|
7
|
+
export * from './Carousel';
|
|
7
8
|
export * from './ChatBubble';
|
|
8
9
|
export * from './Checkbox';
|
|
9
10
|
export * from './Collapse';
|
|
11
|
+
export * from './Collapsible';
|
|
12
|
+
export * from './Command';
|
|
10
13
|
export * from './ConfigProvider';
|
|
11
14
|
export * from './Diff';
|
|
12
15
|
export * from './Divider';
|
|
@@ -10,7 +10,7 @@ import { default as useOffset } from './useOffset';
|
|
|
10
10
|
import { default as useZIndex } from './useZIndex';
|
|
11
11
|
export type { UseDraggableOptions } from './useDraggable';
|
|
12
12
|
export type { UseFocusControllerOptions } from './useFocusController';
|
|
13
|
+
export { I18N_INJECTION_KEY } from './useLocale';
|
|
13
14
|
export { useSystemTheme } from './useSystemTheme';
|
|
14
15
|
export { type Theme, useTheme } from './useTheme';
|
|
15
|
-
export { I18N_INJECTION_KEY } from './useLocale';
|
|
16
16
|
export { useClickOutside, useDraggable, useEventListener, useDisabledStyle, useFocusController, useFocusTrap, useLocale, useOffset, useZIndex, useId, };
|