kui-vue 5.2.0 → 5.2.2
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/affix/index.d.ts +49 -0
- package/es/alert/index.d.ts +61 -0
- package/es/anchor/anchor-link.d.ts +23 -0
- package/es/anchor/anchor.d.ts +67 -0
- package/es/anchor/index.d.ts +5 -0
- package/es/avatar/avatar-group.d.ts +39 -0
- package/es/avatar/avatar.d.ts +43 -0
- package/es/avatar/index.d.ts +5 -0
- package/es/back-top/index.d.ts +46 -0
- package/es/badge/index.d.ts +49 -0
- package/es/base/transition.d.ts +3 -0
- package/es/breadcrumb/breadcrumb-item.d.ts +15 -0
- package/es/breadcrumb/breadcrumb.d.ts +22 -0
- package/es/breadcrumb/index.d.ts +5 -0
- package/es/button/button-group.d.ts +21 -0
- package/es/button/button.d.ts +39 -0
- package/es/button/index.d.ts +5 -0
- package/es/card/index.d.ts +30 -0
- package/es/carousel/carousel-item.d.ts +2 -0
- package/es/carousel/carousel.d.ts +84 -0
- package/es/carousel/index.d.ts +4 -0
- package/es/checkbox/checkbox-group.d.ts +79 -0
- package/es/checkbox/checkbox.d.ts +105 -0
- package/es/checkbox/index.d.ts +6 -0
- package/es/collapse/collapse-panel.d.ts +15 -0
- package/es/collapse/collapse.d.ts +32 -0
- package/es/collapse/index.d.ts +6 -0
- package/es/color-picker/alpha.d.ts +15 -0
- package/es/color-picker/hue.d.ts +17 -0
- package/es/color-picker/index.d.ts +110 -0
- package/es/color-picker/mode.d.ts +25 -0
- package/es/color-picker/paint.d.ts +26 -0
- package/es/color-picker/presets.d.ts +20 -0
- package/es/components.d.ts +113 -0
- package/es/config/context.d.ts +10 -0
- package/es/config/index.d.ts +16 -0
- package/es/const/types.d.ts +19 -0
- package/es/const/var.d.ts +1 -0
- package/es/date-picker/index.d.ts +277 -0
- package/es/descriptions/descriptions-item.d.ts +35 -0
- package/es/descriptions/descriptions.d.ts +54 -0
- package/es/descriptions/index.d.ts +4 -0
- package/es/directives/outsiteclick.d.ts +2 -0
- package/es/directives/resize.d.ts +3 -0
- package/es/directives/scroll.d.ts +2 -0
- package/es/directives/transfer.d.ts +2 -0
- package/es/divider/index.d.ts +42 -0
- package/es/drawer/index.d.ts +177 -0
- package/es/dropdown/dropdown-button.d.ts +45 -0
- package/es/dropdown/dropdown.d.ts +72 -0
- package/es/dropdown/index.d.ts +4 -0
- package/es/dropdown/trigger.d.ts +11 -0
- package/es/empty/index.d.ts +9 -0
- package/es/flex/index.d.ts +45 -0
- package/es/form/form-item.d.ts +24 -0
- package/es/form/form.d.ts +92 -0
- package/es/form/index.d.ts +6 -0
- package/es/form/types.d.ts +14 -0
- package/es/grid/grid-item.d.ts +22 -0
- package/es/grid/grid.d.ts +39 -0
- package/es/grid/index.d.ts +5 -0
- package/es/grid/useBreakpoint.d.ts +3 -0
- package/es/icon/demo/search.d.ts +2 -0
- package/es/icon/demo/tags.d.ts +4 -0
- package/es/icon/index.d.ts +45 -0
- package/es/image/group.d.ts +11 -0
- package/es/image/image.d.ts +45 -0
- package/es/image/index.d.ts +5 -0
- package/es/image/instance.d.ts +2 -0
- package/es/image/preview.d.ts +36 -0
- package/es/image/utils.d.ts +6 -0
- package/es/index.d.ts +10 -0
- package/es/index.js +26 -22
- package/es/input/index.d.ts +8 -0
- package/es/input/input-box.d.ts +39 -0
- package/es/input/input-group.d.ts +58 -0
- package/es/input/input.d.ts +56 -0
- package/es/input/textarea.d.ts +25 -0
- package/es/input-number/index.d.ts +127 -0
- package/es/layout/index.d.ts +136 -0
- package/es/loading/index.d.ts +16 -0
- package/es/locale/de.d.ts +59 -0
- package/es/locale/de.js +1 -1
- package/es/locale/el.d.ts +59 -0
- package/es/locale/el.js +1 -1
- package/es/locale/en.d.ts +59 -0
- package/es/locale/en.js +1 -1
- package/es/locale/fr.d.ts +59 -0
- package/es/locale/fr.js +1 -1
- package/es/locale/it.d.ts +59 -0
- package/es/locale/it.js +1 -1
- package/es/locale/ja.d.ts +59 -0
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.d.ts +59 -0
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.d.ts +59 -0
- package/es/locale/ru.js +1 -1
- package/es/locale/th.d.ts +59 -0
- package/es/locale/th.js +1 -1
- package/es/locale/uk.d.ts +59 -0
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.d.ts +59 -0
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.d.ts +59 -0
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.d.ts +59 -0
- package/es/locale/zh-TW.js +1 -1
- package/es/menu/index.d.ts +7 -0
- package/es/menu/menu-divider.d.ts +2 -0
- package/es/menu/menu-group.d.ts +20 -0
- package/es/menu/menu-item.d.ts +22 -0
- package/es/menu/menu.d.ts +92 -0
- package/es/menu/recursive-menu.d.ts +17 -0
- package/es/menu/sub-menu.d.ts +24 -0
- package/es/message/index.d.ts +23 -0
- package/es/modal/index.d.ts +26 -0
- package/es/modal/modal.d.ts +176 -0
- package/es/modal/toast.d.ts +32 -0
- package/es/notice/container.d.ts +6 -0
- package/es/notice/content.d.ts +54 -0
- package/es/notice/index.d.ts +23 -0
- package/es/notice/instance.d.ts +8 -0
- package/es/page/index.d.ts +115 -0
- package/es/popconfirm/index.d.ts +75 -0
- package/es/poptip/index.d.ts +66 -0
- package/es/progress/index.d.ts +125 -0
- package/es/radio/index.d.ts +7 -0
- package/es/radio/radio-button.d.ts +76 -0
- package/es/radio/radio-group.d.ts +77 -0
- package/es/radio/radio.d.ts +73 -0
- package/es/radio/types.d.ts +5 -0
- package/es/rate/index.d.ts +99 -0
- package/es/rate/star.d.ts +65 -0
- package/es/row-col/col.d.ts +17 -0
- package/es/row-col/index.d.ts +5 -0
- package/es/row-col/row.d.ts +43 -0
- package/es/select/index.d.ts +5 -0
- package/es/select/option.d.ts +23 -0
- package/es/select/select.d.ts +150 -0
- package/es/skeleton/index.d.ts +7 -0
- package/es/skeleton/skeleton-avatar.d.ts +58 -0
- package/es/skeleton/skeleton-button.d.ts +58 -0
- package/es/skeleton/skeleton-image.d.ts +58 -0
- package/es/skeleton/skeleton-text.d.ts +58 -0
- package/es/skeleton/skeleton.d.ts +61 -0
- package/es/skeleton/types.d.ts +29 -0
- package/es/slider/index.d.ts +112 -0
- package/es/slider/thumb.d.ts +58 -0
- package/es/space/index.d.ts +50 -0
- package/es/spin/index.d.ts +58 -0
- package/es/splitter/index.d.ts +4 -0
- package/es/splitter/splitter-panel.d.ts +35 -0
- package/es/splitter/splitter.d.ts +32 -0
- package/es/stat-card/countup.d.ts +56 -0
- package/es/stat-card/index.d.ts +5 -0
- package/es/stat-card/rollup.d.ts +32 -0
- package/es/stat-card/stat-card.d.ts +72 -0
- package/es/stat-card/stat-number.d.ts +100 -0
- package/es/stat-card/utils/countup.d.ts +127 -0
- package/es/stat-card/utils/odometer.d.ts +13 -0
- package/es/switch/index.d.ts +72 -0
- package/es/table/index.d.ts +185 -0
- package/es/tabs/index.d.ts +5 -0
- package/es/tabs/tab-panel.d.ts +22 -0
- package/es/tabs/tabs.d.ts +44 -0
- package/es/tabs/types.d.ts +16 -0
- package/es/tag/index.d.ts +57 -0
- package/es/time-line/index.d.ts +5 -0
- package/es/time-line/timeline-item.d.ts +20 -0
- package/es/time-line/timeline.d.ts +26 -0
- package/es/tooltip/index.d.ts +42 -0
- package/es/tree/index.d.ts +179 -0
- package/es/tree/utils.d.ts +32 -0
- package/es/tree-select/index.d.ts +224 -0
- package/es/upload/file-list.d.ts +59 -0
- package/es/upload/index.d.ts +190 -0
- package/es/upload/selector.d.ts +73 -0
- package/es/utils/checked.d.ts +2 -0
- package/es/utils/color.d.ts +1 -0
- package/es/utils/element.d.ts +4 -0
- package/es/utils/mouse.d.ts +1 -0
- package/es/utils/number.d.ts +6 -0
- package/es/utils/placement.d.ts +16 -0
- package/es/utils/theme.d.ts +5 -0
- package/es/utils/vnode.d.ts +5 -0
- package/es/utils/vue.d.ts +5 -0
- package/lib/index.js +2 -2
- package/lib/locale/de.js +1 -1
- package/lib/locale/el.js +1 -1
- package/lib/locale/en.js +1 -1
- package/lib/locale/fr.js +1 -1
- package/lib/locale/it.js +1 -1
- package/lib/locale/ja.js +1 -1
- package/lib/locale/ko.js +1 -1
- package/lib/locale/ru.js +1 -1
- package/lib/locale/th.js +1 -1
- package/lib/locale/uk.js +1 -1
- package/lib/locale/vi.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/package.json +3 -2
- package/style/index.css +1 -1
- package/vetur/attributes.json +17 -33
- package/vetur/tags.json +5 -7
- package/vetur/web-types.json +34 -50
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const affixProps: {
|
|
3
|
+
offsetTop: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
offsetBottom: NumberConstructor;
|
|
8
|
+
target: {
|
|
9
|
+
type: PropType<() => any>;
|
|
10
|
+
default: () => (Window & typeof globalThis) | null;
|
|
11
|
+
};
|
|
12
|
+
onChange: {
|
|
13
|
+
type: PropType<(affixed: boolean) => void>;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type AffixProps = ExtractPropTypes<typeof affixProps>;
|
|
17
|
+
declare const Affix: import('vue').DefineComponent<ExtractPropTypes<{
|
|
18
|
+
offsetTop: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
offsetBottom: NumberConstructor;
|
|
23
|
+
target: {
|
|
24
|
+
type: PropType<() => any>;
|
|
25
|
+
default: () => (Window & typeof globalThis) | null;
|
|
26
|
+
};
|
|
27
|
+
onChange: {
|
|
28
|
+
type: PropType<(affixed: boolean) => void>;
|
|
29
|
+
};
|
|
30
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
31
|
+
offsetTop: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: number;
|
|
34
|
+
};
|
|
35
|
+
offsetBottom: NumberConstructor;
|
|
36
|
+
target: {
|
|
37
|
+
type: PropType<() => any>;
|
|
38
|
+
default: () => (Window & typeof globalThis) | null;
|
|
39
|
+
};
|
|
40
|
+
onChange: {
|
|
41
|
+
type: PropType<(affixed: boolean) => void>;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{}>, {
|
|
44
|
+
offsetTop: number;
|
|
45
|
+
target: () => any;
|
|
46
|
+
}, {}, {}, {
|
|
47
|
+
resize: import('vue').ObjectDirective<any, any, string, any>;
|
|
48
|
+
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default Affix;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { BooleanType } from '../const/types';
|
|
3
|
+
import { IconType } from '../icon';
|
|
4
|
+
declare const alertProps: {
|
|
5
|
+
type: {
|
|
6
|
+
type: PropType<"info" | "success" | "warning" | "error">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
closable: BooleanType;
|
|
10
|
+
showIcon: {
|
|
11
|
+
type: BooleanType;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
icon: PropType<IconType[]>;
|
|
15
|
+
message: StringConstructor;
|
|
16
|
+
description: StringConstructor;
|
|
17
|
+
bordered: BooleanType;
|
|
18
|
+
onClose: {
|
|
19
|
+
type: PropType<(e: MouseEvent) => void>;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export type AlertProps = ExtractPropTypes<typeof alertProps>;
|
|
23
|
+
declare const Alert: import('vue').DefineComponent<ExtractPropTypes<{
|
|
24
|
+
type: {
|
|
25
|
+
type: PropType<"info" | "success" | "warning" | "error">;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
closable: BooleanType;
|
|
29
|
+
showIcon: {
|
|
30
|
+
type: BooleanType;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
icon: PropType<IconType[]>;
|
|
34
|
+
message: StringConstructor;
|
|
35
|
+
description: StringConstructor;
|
|
36
|
+
bordered: BooleanType;
|
|
37
|
+
onClose: {
|
|
38
|
+
type: PropType<(e: MouseEvent) => void>;
|
|
39
|
+
};
|
|
40
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
41
|
+
type: {
|
|
42
|
+
type: PropType<"info" | "success" | "warning" | "error">;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
closable: BooleanType;
|
|
46
|
+
showIcon: {
|
|
47
|
+
type: BooleanType;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
icon: PropType<IconType[]>;
|
|
51
|
+
message: StringConstructor;
|
|
52
|
+
description: StringConstructor;
|
|
53
|
+
bordered: BooleanType;
|
|
54
|
+
onClose: {
|
|
55
|
+
type: PropType<(e: MouseEvent) => void>;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
|
+
type: "error" | "warning" | "success" | "info";
|
|
59
|
+
showIcon: boolean | undefined;
|
|
60
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
export default Alert;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const anchorLinkProps: {
|
|
3
|
+
href: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: boolean;
|
|
6
|
+
};
|
|
7
|
+
title: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
export type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>;
|
|
10
|
+
declare const AnchorLink: import('vue').DefineComponent<ExtractPropTypes<{
|
|
11
|
+
href: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: boolean;
|
|
14
|
+
};
|
|
15
|
+
title: StringConstructor;
|
|
16
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
17
|
+
href: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: boolean;
|
|
20
|
+
};
|
|
21
|
+
title: StringConstructor;
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default AnchorLink;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
|
+
import { BooleanType } from '../const/types';
|
|
3
|
+
export interface AnchorContext {
|
|
4
|
+
activeLink: Ref<string>;
|
|
5
|
+
registerLink: (link: string) => void;
|
|
6
|
+
unregisterLink: (link: string) => void;
|
|
7
|
+
handleScrollTo: (link: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const anchorProps: {
|
|
10
|
+
affix: {
|
|
11
|
+
type: BooleanType;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
offsetTop: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
bounds: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
container: PropType<string | HTMLElement | Window>;
|
|
23
|
+
onChange: {
|
|
24
|
+
type: PropType<(activeLink: string) => void>;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type AnchorProps = ExtractPropTypes<typeof anchorProps>;
|
|
28
|
+
declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
|
|
29
|
+
affix: {
|
|
30
|
+
type: BooleanType;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
offsetTop: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
bounds: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
container: PropType<string | HTMLElement | Window>;
|
|
42
|
+
onChange: {
|
|
43
|
+
type: PropType<(activeLink: string) => void>;
|
|
44
|
+
};
|
|
45
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
46
|
+
affix: {
|
|
47
|
+
type: BooleanType;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
offsetTop: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
bounds: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
container: PropType<string | HTMLElement | Window>;
|
|
59
|
+
onChange: {
|
|
60
|
+
type: PropType<(activeLink: string) => void>;
|
|
61
|
+
};
|
|
62
|
+
}>> & Readonly<{}>, {
|
|
63
|
+
offsetTop: number;
|
|
64
|
+
affix: boolean | undefined;
|
|
65
|
+
bounds: number;
|
|
66
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
export default Anchor;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ShapeType } from '../const/types';
|
|
3
|
+
export declare const avatarGroupProps: {
|
|
4
|
+
maxCount: NumberConstructor;
|
|
5
|
+
shape: {
|
|
6
|
+
type: PropType<ShapeType>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
size: {
|
|
10
|
+
type: PropType<number | "large" | "small" | "default">;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type AvatarGroupProps = ExtractPropTypes<typeof avatarGroupProps>;
|
|
15
|
+
declare const AvatarGroup: import('vue').DefineComponent<ExtractPropTypes<{
|
|
16
|
+
maxCount: NumberConstructor;
|
|
17
|
+
shape: {
|
|
18
|
+
type: PropType<ShapeType>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
type: PropType<number | "large" | "small" | "default">;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
26
|
+
maxCount: NumberConstructor;
|
|
27
|
+
shape: {
|
|
28
|
+
type: PropType<ShapeType>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
type: PropType<number | "large" | "small" | "default">;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
size: number | "default" | "small" | "large";
|
|
37
|
+
shape: ShapeType;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
export default AvatarGroup;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ShapeType } from '../const/types';
|
|
3
|
+
import { IconType } from '../icon';
|
|
4
|
+
declare const avatarProps: {
|
|
5
|
+
icon: PropType<IconType[]>;
|
|
6
|
+
shape: {
|
|
7
|
+
type: PropType<ShapeType>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: PropType<number | "large" | "small" | "default">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
src: StringConstructor;
|
|
15
|
+
};
|
|
16
|
+
export type AvatarProps = ExtractPropTypes<typeof avatarProps>;
|
|
17
|
+
declare const Avatar: import('vue').DefineComponent<ExtractPropTypes<{
|
|
18
|
+
icon: PropType<IconType[]>;
|
|
19
|
+
shape: {
|
|
20
|
+
type: PropType<ShapeType>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: PropType<number | "large" | "small" | "default">;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
src: StringConstructor;
|
|
28
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
29
|
+
icon: PropType<IconType[]>;
|
|
30
|
+
shape: {
|
|
31
|
+
type: PropType<ShapeType>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: PropType<number | "large" | "small" | "default">;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
src: StringConstructor;
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
|
+
size: number | "default" | "small" | "large";
|
|
41
|
+
shape: ShapeType;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
export default Avatar;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const backTopProps: {
|
|
3
|
+
height: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
right: NumberConstructor;
|
|
8
|
+
bottom: NumberConstructor;
|
|
9
|
+
target: {
|
|
10
|
+
type: PropType<() => HTMLElement | null>;
|
|
11
|
+
default: () => HTMLElement | null;
|
|
12
|
+
};
|
|
13
|
+
onClick: PropType<(e: MouseEvent) => void>;
|
|
14
|
+
};
|
|
15
|
+
export type BackTopProps = ExtractPropTypes<typeof backTopProps>;
|
|
16
|
+
declare const BackTop: import('vue').DefineComponent<ExtractPropTypes<{
|
|
17
|
+
height: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
right: NumberConstructor;
|
|
22
|
+
bottom: NumberConstructor;
|
|
23
|
+
target: {
|
|
24
|
+
type: PropType<() => HTMLElement | null>;
|
|
25
|
+
default: () => HTMLElement | null;
|
|
26
|
+
};
|
|
27
|
+
onClick: PropType<(e: MouseEvent) => void>;
|
|
28
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
29
|
+
height: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
right: NumberConstructor;
|
|
34
|
+
bottom: NumberConstructor;
|
|
35
|
+
target: {
|
|
36
|
+
type: PropType<() => HTMLElement | null>;
|
|
37
|
+
default: () => HTMLElement | null;
|
|
38
|
+
};
|
|
39
|
+
onClick: PropType<(e: MouseEvent) => void>;
|
|
40
|
+
}>> & Readonly<{}>, {
|
|
41
|
+
target: () => HTMLElement | null;
|
|
42
|
+
height: number;
|
|
43
|
+
}, {}, {}, {
|
|
44
|
+
scroll: import('vue').ObjectDirective<any, any, string, any>;
|
|
45
|
+
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
export default BackTop;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, VNode } from 'vue';
|
|
2
|
+
import { BooleanType } from '../const/types';
|
|
3
|
+
export type BadgeStatusType = "default" | "success" | "error" | "warning";
|
|
4
|
+
declare const badgeProps: {
|
|
5
|
+
count: (NumberConstructor | StringConstructor)[];
|
|
6
|
+
dot: BooleanType;
|
|
7
|
+
color: StringConstructor;
|
|
8
|
+
status: {
|
|
9
|
+
type: PropType<BadgeStatusType>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
text: PropType<string | VNode>;
|
|
13
|
+
maxCount: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
|
19
|
+
declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
|
|
20
|
+
count: (NumberConstructor | StringConstructor)[];
|
|
21
|
+
dot: BooleanType;
|
|
22
|
+
color: StringConstructor;
|
|
23
|
+
status: {
|
|
24
|
+
type: PropType<BadgeStatusType>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
text: PropType<string | VNode>;
|
|
28
|
+
maxCount: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
33
|
+
count: (NumberConstructor | StringConstructor)[];
|
|
34
|
+
dot: BooleanType;
|
|
35
|
+
color: StringConstructor;
|
|
36
|
+
status: {
|
|
37
|
+
type: PropType<BadgeStatusType>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
text: PropType<string | VNode>;
|
|
41
|
+
maxCount: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
maxCount: number;
|
|
47
|
+
status: BadgeStatusType;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default Badge;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { IconType } from '../icon';
|
|
3
|
+
declare const breadcrumbItemProps: {
|
|
4
|
+
href: StringConstructor;
|
|
5
|
+
icon: PropType<IconType[]>;
|
|
6
|
+
};
|
|
7
|
+
export type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;
|
|
8
|
+
declare const BreadcrumbItem: import('vue').DefineComponent<ExtractPropTypes<{
|
|
9
|
+
href: StringConstructor;
|
|
10
|
+
icon: PropType<IconType[]>;
|
|
11
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
12
|
+
href: StringConstructor;
|
|
13
|
+
icon: PropType<IconType[]>;
|
|
14
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default BreadcrumbItem;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const breadcrumbProps: {
|
|
3
|
+
separator: {
|
|
4
|
+
type: PropType<string | any>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>;
|
|
9
|
+
declare const Breadcrumb: import('vue').DefineComponent<ExtractPropTypes<{
|
|
10
|
+
separator: {
|
|
11
|
+
type: PropType<string | any>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
15
|
+
separator: {
|
|
16
|
+
type: PropType<string | any>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
separator: any;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as Breadcrumb } from './breadcrumb';
|
|
2
|
+
import { default as BreadcrumbItem } from './breadcrumb-item';
|
|
3
|
+
export type { BreadcrumbProps } from './breadcrumb';
|
|
4
|
+
export type { BreadcrumbItemProps } from './breadcrumb-item';
|
|
5
|
+
export { Breadcrumb, BreadcrumbItem };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ShapeType, SizeType } from '../const/types';
|
|
3
|
+
declare const buttonGroupProps: {
|
|
4
|
+
size: {
|
|
5
|
+
type: PropType<SizeType>;
|
|
6
|
+
};
|
|
7
|
+
shape: PropType<ShapeType>;
|
|
8
|
+
};
|
|
9
|
+
export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
|
|
10
|
+
declare const ButtonGroup: import('vue').DefineComponent<ExtractPropTypes<{
|
|
11
|
+
size: {
|
|
12
|
+
type: PropType<SizeType>;
|
|
13
|
+
};
|
|
14
|
+
shape: PropType<ShapeType>;
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
16
|
+
size: {
|
|
17
|
+
type: PropType<SizeType>;
|
|
18
|
+
};
|
|
19
|
+
shape: PropType<ShapeType>;
|
|
20
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default ButtonGroup;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, DefineComponent, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { BooleanType, ButtonType, ShapeType, SizeType, ThemeType } from '../const/types';
|
|
3
|
+
import { colors } from '../const/var';
|
|
4
|
+
import { IconType } from '../icon';
|
|
5
|
+
declare const buttonProps: {
|
|
6
|
+
htmlType: {
|
|
7
|
+
type: PropType<"button" | "submit" | "reset">;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
icon: PropType<IconType[]>;
|
|
11
|
+
block: {
|
|
12
|
+
type: BooleanType;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: PropType<SizeType>;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: PropType<(typeof colors)[number]>;
|
|
20
|
+
};
|
|
21
|
+
loading: {
|
|
22
|
+
type: BooleanType;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
type: {
|
|
26
|
+
type: PropType<ButtonType>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
disabled: BooleanType;
|
|
30
|
+
theme: {
|
|
31
|
+
type: PropType<ThemeType>;
|
|
32
|
+
};
|
|
33
|
+
shape: PropType<ShapeType>;
|
|
34
|
+
href: StringConstructor;
|
|
35
|
+
target: StringConstructor;
|
|
36
|
+
};
|
|
37
|
+
export type ButtonProps = Partial<ExtractPropTypes<typeof buttonProps>> & Omit<ButtonHTMLAttributes, "type">;
|
|
38
|
+
declare const _default: DefineComponent<ButtonProps>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { BooleanType } from '../const/types';
|
|
3
|
+
import { IconType } from '../icon';
|
|
4
|
+
declare const cardProps: {
|
|
5
|
+
bordered: {
|
|
6
|
+
type: BooleanType;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
title: StringConstructor;
|
|
10
|
+
icon: PropType<IconType[]>;
|
|
11
|
+
};
|
|
12
|
+
export type CardProps = ExtractPropTypes<typeof cardProps>;
|
|
13
|
+
declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
|
|
14
|
+
bordered: {
|
|
15
|
+
type: BooleanType;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
title: StringConstructor;
|
|
19
|
+
icon: PropType<IconType[]>;
|
|
20
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
21
|
+
bordered: {
|
|
22
|
+
type: BooleanType;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
title: StringConstructor;
|
|
26
|
+
icon: PropType<IconType[]>;
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
bordered: boolean | undefined;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export default Card;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const CarouselItem: import('vue').DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default CarouselItem;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { BooleanType } from '../const/types';
|
|
3
|
+
declare const carouselProps: {
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
loop: {
|
|
9
|
+
type: BooleanType;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
autoplay: BooleanType;
|
|
13
|
+
delay: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
height: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
vertical: BooleanConstructor;
|
|
22
|
+
dots: {
|
|
23
|
+
type: BooleanType;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type CarouselProps = ExtractPropTypes<typeof carouselProps>;
|
|
28
|
+
declare const Carousel: import('vue').DefineComponent<ExtractPropTypes<{
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
loop: {
|
|
34
|
+
type: BooleanType;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
autoplay: BooleanType;
|
|
38
|
+
delay: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
height: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
vertical: BooleanConstructor;
|
|
47
|
+
dots: {
|
|
48
|
+
type: BooleanType;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
52
|
+
modelValue: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
loop: {
|
|
57
|
+
type: BooleanType;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
autoplay: BooleanType;
|
|
61
|
+
delay: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
height: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
vertical: BooleanConstructor;
|
|
70
|
+
dots: {
|
|
71
|
+
type: BooleanType;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{}>, {
|
|
75
|
+
height: number;
|
|
76
|
+
vertical: boolean;
|
|
77
|
+
modelValue: number;
|
|
78
|
+
loop: boolean | undefined;
|
|
79
|
+
delay: number;
|
|
80
|
+
dots: boolean | undefined;
|
|
81
|
+
}, {}, {}, {
|
|
82
|
+
resize: import('vue').ObjectDirective<any, any, string, any>;
|
|
83
|
+
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
84
|
+
export default Carousel;
|