kui-vue 5.4.1 → 5.6.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/index.js +2 -2
- package/es/index.js +4586 -1858
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/lib/index.cjs +9 -0
- package/lib/locale/{de.js → de.cjs} +1 -1
- package/lib/locale/{el.js → el.cjs} +1 -1
- package/lib/locale/{en.js → en.cjs} +1 -1
- package/lib/locale/{fr.js → fr.cjs} +1 -1
- package/lib/locale/{it.js → it.cjs} +1 -1
- package/lib/locale/{ja.js → ja.cjs} +1 -1
- package/lib/locale/{ko.js → ko.cjs} +1 -1
- package/lib/locale/{ru.js → ru.cjs} +1 -1
- package/lib/locale/{th.js → th.cjs} +1 -1
- package/lib/locale/{uk.js → uk.cjs} +1 -1
- package/lib/locale/{vi.js → vi.cjs} +1 -1
- package/lib/locale/{zh-CN.js → zh-CN.cjs} +1 -1
- package/lib/locale/{zh-TW.js → zh-TW.cjs} +1 -1
- package/package.json +62 -26
- package/style/base.css +9 -0
- package/style/components.css +9 -0
- package/style/index.css +2 -2
- package/style/theme.css +9 -0
- package/types/affix/index.d.ts +11 -9
- package/types/alert/index.d.ts +27 -1
- package/types/anchor/anchor.d.ts +18 -9
- package/types/anchor/context.d.ts +8 -0
- package/types/avatar/avatar-group.d.ts +12 -9
- package/types/avatar/avatar.d.ts +15 -9
- package/types/avatar/context.d.ts +8 -0
- package/types/badge/index.d.ts +8 -2
- package/types/breadcrumb/breadcrumb.d.ts +5 -5
- package/types/card/card-meta.d.ts +17 -0
- package/types/card/index.d.ts +34 -2
- package/types/checkbox/checkbox-group.d.ts +8 -13
- package/types/checkbox/checkbox.d.ts +4 -8
- package/types/checkbox/index.d.ts +3 -2
- package/types/checkbox/types.d.ts +11 -0
- package/types/collapse/collapse-panel.d.ts +0 -4
- package/types/collapse/collapse.d.ts +27 -1
- package/types/collapse/context.d.ts +7 -0
- package/types/color-picker/alpha.d.ts +3 -2
- package/types/color-picker/index.d.ts +82 -2
- package/types/color-picker/mode.d.ts +4 -3
- package/types/color-picker/paint.d.ts +3 -3
- package/types/components.d.ts +27 -13
- package/types/config/index.d.ts +14 -2
- package/types/config/popup.d.ts +4 -0
- package/types/const/types.d.ts +11 -2
- package/types/date-picker/index.d.ts +214 -16
- package/types/descriptions/descriptions.d.ts +14 -1
- package/types/drawer/index.d.ts +5 -11
- package/types/dropdown/dropdown-context.d.ts +11 -0
- package/types/dropdown/dropdown.d.ts +1 -2
- package/types/feature-card/index.d.ts +59 -0
- package/types/feedback-panel/feedback-panel.d.ts +64 -0
- package/types/feedback-panel/index.d.ts +4 -0
- package/types/flame-wrap/engine.d.ts +65 -0
- package/types/flame-wrap/index.d.ts +72 -0
- package/types/flex/index.d.ts +3 -4
- package/types/flex/types.d.ts +4 -0
- package/types/form/form.d.ts +4 -15
- package/types/form/index.d.ts +4 -2
- package/types/form/types.d.ts +11 -2
- package/types/global.d.ts +34 -2
- package/types/grid/grid.d.ts +5 -1
- package/types/icon/index.d.ts +2 -4
- package/types/icon/types.d.ts +4 -0
- package/types/image/context.d.ts +9 -0
- package/types/image/image.d.ts +31 -4
- package/types/image/index.d.ts +2 -2
- package/types/image/instance.d.ts +9 -1
- package/types/image/utils.d.ts +1 -1
- package/types/index.d.cts +11 -0
- package/types/index.d.ts +1 -1
- package/types/input/input-box.d.ts +7 -7
- package/types/input/input.d.ts +3 -3
- package/types/input/textarea.d.ts +2 -2
- package/types/input-otp/index.d.ts +4 -0
- package/types/input-otp/input-otp.d.ts +39 -0
- package/types/input-otp/types.d.ts +1 -0
- package/types/locale/de.d.cts +65 -0
- package/types/locale/el.d.cts +65 -0
- package/types/locale/en.d.cts +65 -0
- package/types/locale/fr.d.cts +65 -0
- package/types/locale/it.d.cts +65 -0
- package/types/locale/ja.d.cts +65 -0
- package/types/locale/ko.d.cts +65 -0
- package/types/locale/ru.d.cts +65 -0
- package/types/locale/th.d.cts +65 -0
- package/types/locale/uk.d.cts +65 -0
- package/types/locale/vi.d.cts +65 -0
- package/types/locale/zh-CN.d.cts +65 -0
- package/types/locale/zh-TW.d.cts +65 -0
- package/types/menu/index.d.ts +3 -2
- package/types/menu/menu-context.d.ts +19 -0
- package/types/menu/menu-group.d.ts +4 -13
- package/types/menu/menu-item.d.ts +3 -6
- package/types/menu/menu.d.ts +3 -14
- package/types/menu/recursive-menu.d.ts +1 -4
- package/types/menu/sub-menu.d.ts +4 -9
- package/types/menu/types.d.ts +14 -0
- package/types/modal/index.d.ts +4 -3
- package/types/modal/modal.d.ts +110 -11
- package/types/notice/content.d.ts +76 -2
- package/types/notice/index.d.ts +1 -0
- package/types/page/index.d.ts +14 -1
- package/types/popconfirm/index.d.ts +54 -4
- package/types/poptip/index.d.ts +50 -5
- package/types/progress/index.d.ts +6 -8
- package/types/qrcode/index.d.ts +28 -3
- package/types/radio/index.d.ts +2 -1
- package/types/radio/radio-button.d.ts +4 -4
- package/types/radio/radio-group.d.ts +1 -8
- package/types/radio/types.d.ts +7 -0
- package/types/rate/index.d.ts +7 -7
- package/types/rate/star.d.ts +8 -7
- package/types/result/index.d.ts +4 -0
- package/types/result/result.d.ts +34 -0
- package/types/ripple/engine.d.ts +48 -0
- package/types/ripple/index.d.ts +42 -0
- package/types/row-col/col.d.ts +36 -1
- package/types/row-col/index.d.ts +1 -1
- package/types/select/index.d.ts +2 -1
- package/types/select/option.d.ts +2 -4
- package/types/select/select.d.ts +8 -12
- package/types/select/types.d.ts +10 -0
- package/types/skeleton/skeleton-avatar.d.ts +8 -8
- package/types/skeleton/skeleton-button.d.ts +8 -8
- package/types/skeleton/skeleton-image.d.ts +8 -8
- package/types/skeleton/skeleton-text.d.ts +8 -8
- package/types/skeleton/skeleton.d.ts +8 -8
- package/types/skeleton/types.d.ts +4 -4
- package/types/skeleton/use-skeleton-loading.d.ts +2 -0
- package/types/slider/thumb.d.ts +2 -2
- package/types/stat-card/index.d.ts +2 -1
- package/types/stat-card/stat-card.d.ts +30 -13
- package/types/stat-card/types.d.ts +14 -0
- package/types/stat-card/utils/countup.d.ts +5 -5
- package/types/switch/index.d.ts +14 -1
- package/types/table/index.d.ts +104 -38
- package/types/table/types.d.ts +23 -0
- package/types/table/utils.d.ts +13 -0
- package/types/tabs/types.d.ts +1 -1
- package/types/tag/index.d.ts +4 -3
- package/types/time-line/index.d.ts +2 -1
- package/types/time-line/timeline-item.d.ts +4 -3
- package/types/time-line/timeline.d.ts +2 -1
- package/types/tooltip/index.d.ts +37 -9
- package/types/tree/context.d.ts +6 -0
- package/types/tree/index.d.ts +5 -14
- package/types/tree/types.d.ts +6 -0
- package/types/tree/utils.d.ts +1 -1
- package/types/tree-select/index.d.ts +3 -16
- package/types/upload/file-list.d.ts +5 -4
- package/types/upload/index.d.ts +10 -24
- package/types/upload/selector.d.ts +9 -7
- package/types/upload/types.d.ts +17 -0
- package/types/utils/checked.d.ts +1 -1
- package/types/utils/element.d.ts +17 -4
- package/types/utils/number.d.ts +4 -4
- package/types/utils/share.d.ts +4 -4
- package/types/utils/vnode.d.ts +5 -2
- package/types/utils/vue.d.ts +2 -2
- package/types/watermark/index.d.ts +6 -15
- package/types/watermark/types.d.ts +11 -0
- package/vetur/attributes.json +4791 -5919
- package/vetur/tags.json +1579 -1473
- package/vetur/web-types.json +6776 -9826
- package/lib/index.js +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { BooleanType } from '../const/types';
|
|
2
|
+
import { BooleanType, ShapeType, ThemeType } from '../const/types';
|
|
3
3
|
declare const collapseProps: {
|
|
4
4
|
openKeys: {
|
|
5
5
|
type: PropType<(string | number)[]>;
|
|
@@ -7,6 +7,14 @@ declare const collapseProps: {
|
|
|
7
7
|
};
|
|
8
8
|
accordion: BooleanType;
|
|
9
9
|
sample: BooleanType;
|
|
10
|
+
theme: {
|
|
11
|
+
type: PropType<ThemeType>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
shape: {
|
|
15
|
+
type: PropType<ShapeType>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
10
18
|
onChange: PropType<(key: string | number) => void>;
|
|
11
19
|
};
|
|
12
20
|
export type CollapseProps = ExtractPropTypes<typeof collapseProps>;
|
|
@@ -17,6 +25,14 @@ declare const Collapse: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
17
25
|
};
|
|
18
26
|
accordion: BooleanType;
|
|
19
27
|
sample: BooleanType;
|
|
28
|
+
theme: {
|
|
29
|
+
type: PropType<ThemeType>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
shape: {
|
|
33
|
+
type: PropType<ShapeType>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
20
36
|
onChange: PropType<(key: string | number) => void>;
|
|
21
37
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
22
38
|
openKeys: {
|
|
@@ -25,8 +41,18 @@ declare const Collapse: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
25
41
|
};
|
|
26
42
|
accordion: BooleanType;
|
|
27
43
|
sample: BooleanType;
|
|
44
|
+
theme: {
|
|
45
|
+
type: PropType<ThemeType>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
shape: {
|
|
49
|
+
type: PropType<ShapeType>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
28
52
|
onChange: PropType<(key: string | number) => void>;
|
|
29
53
|
}>> & Readonly<{}>, {
|
|
54
|
+
theme: ThemeType;
|
|
55
|
+
shape: ShapeType;
|
|
30
56
|
openKeys: (string | number)[];
|
|
31
57
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
58
|
export default Collapse;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
export type CollapseKey = string | number;
|
|
3
|
+
export interface CollapseContext {
|
|
4
|
+
openKeys: Ref<CollapseKey[]>;
|
|
5
|
+
toggle: (key: CollapseKey) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const collapseContextKey: InjectionKey<CollapseContext>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { default as Color } from 'color';
|
|
1
2
|
import { PropType } from 'vue';
|
|
2
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
4
|
modelValue: {
|
|
4
|
-
type: PropType<
|
|
5
|
+
type: PropType<Parameters<typeof Color>[0]>;
|
|
5
6
|
required: true;
|
|
6
7
|
};
|
|
7
8
|
onUpdateAlpha: PropType<(alpha: number) => void>;
|
|
8
9
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
10
|
modelValue: {
|
|
10
|
-
type: PropType<
|
|
11
|
+
type: PropType<Parameters<typeof Color>[0]>;
|
|
11
12
|
required: true;
|
|
12
13
|
};
|
|
13
14
|
onUpdateAlpha: PropType<(alpha: number) => void>;
|
|
@@ -3,6 +3,7 @@ import { BooleanType, DropPlacementsType, SizeType } from '../const/types';
|
|
|
3
3
|
type ColorMode = "hex" | "rgb" | "hsl";
|
|
4
4
|
declare const colorPickerProps: {
|
|
5
5
|
modelValue: StringConstructor;
|
|
6
|
+
opened: BooleanType;
|
|
6
7
|
disabled: BooleanType;
|
|
7
8
|
disabledAlpha: BooleanType;
|
|
8
9
|
showText: BooleanType;
|
|
@@ -33,10 +34,12 @@ declare const colorPickerProps: {
|
|
|
33
34
|
onOpenChange: {
|
|
34
35
|
type: PropType<(open: boolean) => void>;
|
|
35
36
|
};
|
|
37
|
+
panelOnly: BooleanType;
|
|
36
38
|
};
|
|
37
39
|
export type ColorPickerProps = ExtractPropTypes<typeof colorPickerProps>;
|
|
38
40
|
declare const ColorPicker: import('vue').DefineComponent<ExtractPropTypes<{
|
|
39
41
|
modelValue: StringConstructor;
|
|
42
|
+
opened: BooleanType;
|
|
40
43
|
disabled: BooleanType;
|
|
41
44
|
disabledAlpha: BooleanType;
|
|
42
45
|
showText: BooleanType;
|
|
@@ -67,8 +70,10 @@ declare const ColorPicker: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
67
70
|
onOpenChange: {
|
|
68
71
|
type: PropType<(open: boolean) => void>;
|
|
69
72
|
};
|
|
70
|
-
|
|
73
|
+
panelOnly: BooleanType;
|
|
74
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
71
75
|
modelValue: StringConstructor;
|
|
76
|
+
opened: BooleanType;
|
|
72
77
|
disabled: BooleanType;
|
|
73
78
|
disabledAlpha: BooleanType;
|
|
74
79
|
showText: BooleanType;
|
|
@@ -99,12 +104,87 @@ declare const ColorPicker: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
99
104
|
onOpenChange: {
|
|
100
105
|
type: PropType<(open: boolean) => void>;
|
|
101
106
|
};
|
|
107
|
+
panelOnly: BooleanType;
|
|
102
108
|
}>> & Readonly<{}>, {
|
|
103
109
|
mode: ColorMode;
|
|
104
110
|
placement: DropPlacementsType;
|
|
105
111
|
trigger: "click" | "hover";
|
|
106
112
|
}, {}, {}, {
|
|
107
|
-
transfer: import('vue').ObjectDirective<any, any, string, any>;
|
|
108
113
|
resize: import('vue').ObjectDirective<any, any, string, any>;
|
|
109
114
|
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
115
|
+
export declare const ColorPickerPanel: import('vue').DefineComponent<ExtractPropTypes<{
|
|
116
|
+
modelValue: StringConstructor;
|
|
117
|
+
opened: BooleanType;
|
|
118
|
+
disabled: BooleanType;
|
|
119
|
+
disabledAlpha: BooleanType;
|
|
120
|
+
showText: BooleanType;
|
|
121
|
+
placement: {
|
|
122
|
+
type: PropType<DropPlacementsType>;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
trigger: {
|
|
126
|
+
type: PropType<"hover" | "click">;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
size: {
|
|
130
|
+
type: PropType<SizeType>;
|
|
131
|
+
};
|
|
132
|
+
mode: {
|
|
133
|
+
type: PropType<ColorMode>;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
presets: {
|
|
137
|
+
type: PropType<string[]>;
|
|
138
|
+
};
|
|
139
|
+
onChange: {
|
|
140
|
+
type: PropType<(color: string) => void>;
|
|
141
|
+
};
|
|
142
|
+
onUpdateMode: {
|
|
143
|
+
type: PropType<(mode: ColorMode) => void>;
|
|
144
|
+
};
|
|
145
|
+
onOpenChange: {
|
|
146
|
+
type: PropType<(open: boolean) => void>;
|
|
147
|
+
};
|
|
148
|
+
panelOnly: BooleanType;
|
|
149
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
150
|
+
[key: string]: any;
|
|
151
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
152
|
+
modelValue: StringConstructor;
|
|
153
|
+
opened: BooleanType;
|
|
154
|
+
disabled: BooleanType;
|
|
155
|
+
disabledAlpha: BooleanType;
|
|
156
|
+
showText: BooleanType;
|
|
157
|
+
placement: {
|
|
158
|
+
type: PropType<DropPlacementsType>;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
trigger: {
|
|
162
|
+
type: PropType<"hover" | "click">;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
size: {
|
|
166
|
+
type: PropType<SizeType>;
|
|
167
|
+
};
|
|
168
|
+
mode: {
|
|
169
|
+
type: PropType<ColorMode>;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
presets: {
|
|
173
|
+
type: PropType<string[]>;
|
|
174
|
+
};
|
|
175
|
+
onChange: {
|
|
176
|
+
type: PropType<(color: string) => void>;
|
|
177
|
+
};
|
|
178
|
+
onUpdateMode: {
|
|
179
|
+
type: PropType<(mode: ColorMode) => void>;
|
|
180
|
+
};
|
|
181
|
+
onOpenChange: {
|
|
182
|
+
type: PropType<(open: boolean) => void>;
|
|
183
|
+
};
|
|
184
|
+
panelOnly: BooleanType;
|
|
185
|
+
}>> & Readonly<{}>, {
|
|
186
|
+
mode: ColorMode;
|
|
187
|
+
placement: DropPlacementsType;
|
|
188
|
+
trigger: "click" | "hover";
|
|
189
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
110
190
|
export default ColorPicker;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ColorInstance } from 'color';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
import { BooleanType } from '../const/types';
|
|
4
|
+
type ColorMode = "hex" | "rgb" | "hsl";
|
|
4
5
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
6
|
modelValue: (ObjectConstructor | StringConstructor)[];
|
|
6
7
|
mode: {
|
|
7
|
-
type: PropType<
|
|
8
|
+
type: PropType<ColorMode>;
|
|
8
9
|
default: string;
|
|
9
10
|
};
|
|
10
11
|
disabledAlpha: BooleanType;
|
|
@@ -13,13 +14,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
13
14
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
15
|
modelValue: (ObjectConstructor | StringConstructor)[];
|
|
15
16
|
mode: {
|
|
16
|
-
type: PropType<
|
|
17
|
+
type: PropType<ColorMode>;
|
|
17
18
|
default: string;
|
|
18
19
|
};
|
|
19
20
|
disabledAlpha: BooleanType;
|
|
20
21
|
onUpdateMode: PropType<(mode: "hex" | "rgb" | "hsl") => void>;
|
|
21
22
|
onUpdateColorValue: PropType<(color: ColorInstance) => void>;
|
|
22
23
|
}>> & Readonly<{}>, {
|
|
23
|
-
mode:
|
|
24
|
+
mode: ColorMode;
|
|
24
25
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
26
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorObject } from 'color';
|
|
1
|
+
import { default as Color, ColorObject } from 'color';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
hue: {
|
|
@@ -6,7 +6,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
6
6
|
default: number;
|
|
7
7
|
};
|
|
8
8
|
modelValue: {
|
|
9
|
-
type: PropType<
|
|
9
|
+
type: PropType<Parameters<typeof Color>[0]>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
onUpdateRGB: PropType<(color: ColorObject) => void>;
|
|
@@ -16,7 +16,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
16
16
|
default: number;
|
|
17
17
|
};
|
|
18
18
|
modelValue: {
|
|
19
|
-
type: PropType<
|
|
19
|
+
type: PropType<Parameters<typeof Color>[0]>;
|
|
20
20
|
required: true;
|
|
21
21
|
};
|
|
22
22
|
onUpdateRGB: PropType<(color: ColorObject) => void>;
|
package/types/components.d.ts
CHANGED
|
@@ -16,17 +16,21 @@ export { Button, ButtonGroup } from './button';
|
|
|
16
16
|
export type { ButtonGroupProps, ButtonProps } from './button';
|
|
17
17
|
export { default as Cascader } from './cascader';
|
|
18
18
|
export type { CascaderOption, CascaderProps } from './cascader/types';
|
|
19
|
-
export { default as Card } from './card';
|
|
20
|
-
export type { CardProps } from './card';
|
|
19
|
+
export { default as Card, CardMeta } from './card';
|
|
20
|
+
export type { CardMetaProps, CardProps } from './card';
|
|
21
|
+
export { default as FeatureCard } from './feature-card';
|
|
22
|
+
export type { FeatureCardProps } from './feature-card';
|
|
23
|
+
export { default as FlameWrap } from './flame-wrap';
|
|
24
|
+
export type { FlameWrapInstance, FlameWrapOptions, FlameWrapProps } from './flame-wrap';
|
|
21
25
|
export { Carousel, CarouselItem } from './carousel';
|
|
22
26
|
export type { CarouselProps } from './carousel';
|
|
23
27
|
export { Checkbox, CheckboxGroup } from './checkbox';
|
|
24
28
|
export type { ChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps } from './checkbox';
|
|
25
29
|
export { Collapse, CollapsePanel } from './collapse';
|
|
26
30
|
export type { CollapsePanelProps, CollapseProps } from './collapse';
|
|
27
|
-
export { default as ColorPicker } from './color-picker';
|
|
31
|
+
export { ColorPickerPanel, default as ColorPicker } from './color-picker';
|
|
28
32
|
export type { ColorPickerProps } from './color-picker';
|
|
29
|
-
export { default as DatePicker } from './date-picker';
|
|
33
|
+
export { DatePickerPanel, default as DatePicker } from './date-picker';
|
|
30
34
|
export type { DatePickerProps } from './date-picker';
|
|
31
35
|
export { Descriptions, DescriptionsItem } from './descriptions';
|
|
32
36
|
export type { DescriptionsItemProps, DescriptionsProps } from './descriptions';
|
|
@@ -45,12 +49,14 @@ export { default as Flex } from './flex';
|
|
|
45
49
|
export type { FlexAlignType, FlexJustifyType, FlexProps, FlexSizeType } from './flex';
|
|
46
50
|
export { Grid, GridItem } from './grid';
|
|
47
51
|
export type { GridItemProps, GridProps } from './grid';
|
|
48
|
-
export {
|
|
52
|
+
export { Image, ImageGroup } from './image';
|
|
49
53
|
export type { ImageGroupProps, ImageProps } from './image';
|
|
50
54
|
export { default as Icon } from './icon';
|
|
51
55
|
export type { IconProps, IconType } from './icon';
|
|
52
56
|
export { Input, InputGroup, TextArea } from './input';
|
|
53
57
|
export type { InputGroupProps, InputProps, TextAreaProps } from './input';
|
|
58
|
+
export { default as InputOTP } from './input-otp';
|
|
59
|
+
export type { InputOTPProps, InputOTPValidator } from './input-otp';
|
|
54
60
|
export { default as InputNumber } from './input-number';
|
|
55
61
|
export type { InputNumberProps } from './input-number';
|
|
56
62
|
export { Content, Footer, Header, Layout, Sider } from './layout';
|
|
@@ -60,27 +66,35 @@ export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu } from './menu';
|
|
|
60
66
|
export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps, } from './menu';
|
|
61
67
|
export { default as message } from './message';
|
|
62
68
|
export type { MessageOptions } from './message';
|
|
63
|
-
export {
|
|
69
|
+
export { MessagePanel, NoticePanel } from './notice/content';
|
|
70
|
+
export { modal, ModalPanel, default as Modal } from './modal';
|
|
64
71
|
export type { ModalApiProps, ModalProps } from './modal';
|
|
65
72
|
export { default as notice } from './notice';
|
|
66
73
|
export type { NoticeOptions } from './notice';
|
|
67
74
|
export { default as Page } from './page';
|
|
68
75
|
export type { PageProps } from './page';
|
|
69
|
-
export { default as Poptip } from './poptip';
|
|
76
|
+
export { PoptipPanel, default as Poptip } from './poptip';
|
|
70
77
|
export type { PoptipProps } from './poptip';
|
|
71
|
-
export { default as Popconfirm } from './popconfirm';
|
|
78
|
+
export { PopconfirmPanel, default as Popconfirm } from './popconfirm';
|
|
72
79
|
export type { PopconfirmProps } from './popconfirm';
|
|
73
80
|
export { default as Progress } from './progress';
|
|
74
81
|
export type { ProgressProps, ProgressStatus, ProgressStroke, ProgressType } from './progress';
|
|
82
|
+
export { default as Ripple } from './ripple';
|
|
83
|
+
export type { RippleInstance, RippleOptions, RippleProps, RippleTrigger } from './ripple';
|
|
75
84
|
export { default as QRCode } from './qrcode';
|
|
76
85
|
export type { QRCodeErrorLevel, QRCodeProps, QRCodeStatus } from './qrcode';
|
|
77
86
|
export { Radio, RadioButton, RadioGroup } from './radio';
|
|
78
87
|
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio';
|
|
79
88
|
export { default as Rate } from './rate';
|
|
80
89
|
export type { RateProps } from './rate';
|
|
90
|
+
export { default as Result } from './result';
|
|
91
|
+
export type { ResultProps, ResultStatus } from './result';
|
|
92
|
+
export { default as FeedbackPanel } from './feedback-panel';
|
|
93
|
+
export type { FeedbackPanelKind, FeedbackPanelProps } from './feedback-panel';
|
|
81
94
|
export { Option, Select } from './select';
|
|
82
95
|
export type { OptionProps, SelectOption, SelectProps } from './select';
|
|
83
96
|
export { default as ConfigProvider } from './config';
|
|
97
|
+
export type { ConfigProviderProps } from './config';
|
|
84
98
|
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText } from './skeleton';
|
|
85
99
|
export type { SkeletonProps } from './skeleton';
|
|
86
100
|
export { StatCard, StatNumber } from './stat-card';
|
|
@@ -91,13 +105,13 @@ export { default as Space } from './space';
|
|
|
91
105
|
export type { SpaceProps } from './space';
|
|
92
106
|
export { default as Spin } from './spin';
|
|
93
107
|
export type { SpinProps } from './spin';
|
|
94
|
-
export { default as
|
|
108
|
+
export { default as Switch } from './switch';
|
|
95
109
|
export type { SwitchProps } from './switch';
|
|
96
110
|
export { Splitter, SplitterPanel } from './splitter';
|
|
97
111
|
export type { SplitterPanelProps, SplitterProps } from './splitter';
|
|
98
112
|
export { default as Table } from './table';
|
|
99
|
-
export type { Column, SortState, TableProps } from './table';
|
|
100
|
-
export { default as Tooltip } from './tooltip';
|
|
113
|
+
export type { Column, SortState, TableKey, TableProps, TableRecord, TableTreeRow } from './table';
|
|
114
|
+
export { TooltipPanel, default as Tooltip } from './tooltip';
|
|
101
115
|
export type { TooltipProps } from './tooltip';
|
|
102
116
|
export { TabPanel, Tabs } from './tabs';
|
|
103
117
|
export type { TabPanelProps, TabsProps } from './tabs';
|
|
@@ -110,10 +124,10 @@ export type { TreeSelectProps } from './tree-select';
|
|
|
110
124
|
export { default as Tag } from './tag';
|
|
111
125
|
export type { TagProps } from './tag';
|
|
112
126
|
export { Col, Row } from './row-col';
|
|
113
|
-
export type { ColProps, RowProps } from './row-col';
|
|
127
|
+
export type { ColProps, ColResponsiveSize, ColSize, RowProps } from './row-col';
|
|
114
128
|
export { default as Upload } from './upload';
|
|
115
129
|
export type { UploadChangeEvent, UploadContext, UploadFile, UploadProps } from './upload';
|
|
116
130
|
export { default as Watermark } from './watermark';
|
|
117
|
-
export type { WatermarkLayoutType, WatermarkProps } from './watermark';
|
|
131
|
+
export type { WatermarkFont, WatermarkLayoutType, WatermarkProps, WatermarkTextItem, } from './watermark';
|
|
118
132
|
export { default as theme } from './utils/theme';
|
|
119
133
|
export type { AlignType, BooleanType, ButtonType, ColorType, DirectionType, DrawerPlacementsType, DropPlacementsType, PlacementsType, RadioType, ShapeType, SizeType, SpinModeType, ThemeType, UploadStatusType, } from './const/types';
|
package/types/config/index.d.ts
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { PopupContainerGetter } from './popup';
|
|
3
|
+
declare const configProviderProps: {
|
|
2
4
|
locale: {
|
|
3
5
|
type: ObjectConstructor;
|
|
4
6
|
default: () => null;
|
|
5
7
|
};
|
|
8
|
+
getPopupContainer: PropType<PopupContainerGetter>;
|
|
9
|
+
};
|
|
10
|
+
export type ConfigProviderProps = Partial<ExtractPropTypes<typeof configProviderProps>>;
|
|
11
|
+
declare const ConfigProvider: import('vue').DefineComponent<ExtractPropTypes<{
|
|
12
|
+
locale: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: () => null;
|
|
15
|
+
};
|
|
16
|
+
getPopupContainer: PropType<PopupContainerGetter>;
|
|
6
17
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
18
|
[key: string]: any;
|
|
8
|
-
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
19
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
9
20
|
locale: {
|
|
10
21
|
type: ObjectConstructor;
|
|
11
22
|
default: () => null;
|
|
12
23
|
};
|
|
24
|
+
getPopupContainer: PropType<PopupContainerGetter>;
|
|
13
25
|
}>> & Readonly<{}>, {
|
|
14
26
|
locale: Record<string, any>;
|
|
15
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
package/types/const/types.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ export type DrawerPlacementsType = "left" | "right" | "top" | "bottom";
|
|
|
5
5
|
export type DropPlacementsType = "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right";
|
|
6
6
|
export type ValueType = "string" | "number" | "boolean";
|
|
7
7
|
export type SizeType = "small" | "medium" | "large";
|
|
8
|
-
export type ShapeType = "circle" | "square" | "round";
|
|
8
|
+
export type ShapeType = "circle" | "square" | "round" | "default";
|
|
9
9
|
export type BooleanType = PropType<boolean | undefined>;
|
|
10
10
|
export type ButtonType = "primary" | "danger" | "warning" | "default" | "text" | "link";
|
|
11
|
-
export type ThemeType = "outline" | "fill" | "default" | "solid" | "dashed" | "card";
|
|
11
|
+
export type ThemeType = "outline" | "fill" | "plain" | "default" | "solid" | "dashed" | "card" | "underlined";
|
|
12
12
|
export type RadioType = "radio" | "button";
|
|
13
13
|
export type DirectionType = "horizontal" | "vertical" | "inline";
|
|
14
14
|
export type AlignType = "start" | "center" | "end";
|
|
@@ -17,3 +17,12 @@ export type UploadStatusType = "success" | "error" | "uploading" | "waiting";
|
|
|
17
17
|
export type SpinModeType = "bounce" | "flip" | "rotate" | "zoom";
|
|
18
18
|
export type TriggerType = "hover" | "click" | "contextmenu";
|
|
19
19
|
export type NoticeType = "info" | "success" | "warning" | "error" | "loading";
|
|
20
|
+
export type BadgeStatusType = "default" | "success" | "error" | "warning";
|
|
21
|
+
export type FeedbackPanelKind = "positive" | "negative" | "caution" | "neutral";
|
|
22
|
+
export type TimelineMode = "left" | "right" | "center" | "alternate";
|
|
23
|
+
export type ResultStatus = "success" | "error" | "info" | "warning" | "403" | "404" | "500";
|
|
24
|
+
export type ProgressStatus = "active" | "exception" | "success" | "normal";
|
|
25
|
+
export type ProgressStroke = "round" | "butt" | "square";
|
|
26
|
+
export type ProgressType = "line" | "circle" | "dashboard";
|
|
27
|
+
export type QRCodeStatus = "active" | "loading" | "expired" | "scanned";
|
|
28
|
+
export type QRCodeErrorLevel = "L" | "M" | "Q" | "H";
|