@haoyulong1112/jh-ui 0.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/dist/components/alert/index.d.ts +125 -0
- package/dist/components/alert/src/alert.vue.d.ts +73 -0
- package/dist/components/alert/src/props.d.ts +32 -0
- package/dist/components/alert/src/types.d.ts +2 -0
- package/dist/components/backtop/index.d.ts +102 -0
- package/dist/components/backtop/src/backtop.vue.d.ts +57 -0
- package/dist/components/backtop/src/props.d.ts +22 -0
- package/dist/components/backtop/src/types.d.ts +3 -0
- package/dist/components/badge/index.d.ts +101 -0
- package/dist/components/badge/src/badge.vue.d.ts +59 -0
- package/dist/components/badge/src/props.d.ts +24 -0
- package/dist/components/badge/src/types.d.ts +2 -0
- package/dist/components/button/index.d.ts +123 -0
- package/dist/components/button/src/button.vue.d.ts +69 -0
- package/dist/components/button/src/props.d.ts +33 -0
- package/dist/components/button/src/types.d.ts +3 -0
- package/dist/components/carousel/index.d.ts +187 -0
- package/dist/components/carousel/src/carousel-item.vue.d.ts +24 -0
- package/dist/components/carousel/src/carousel.vue.d.ts +86 -0
- package/dist/components/carousel/src/props.d.ts +44 -0
- package/dist/components/carousel/src/types.d.ts +11 -0
- package/dist/components/cascader/index.d.ts +68 -0
- package/dist/components/cascader/src/cascader.vue.d.ts +67 -0
- package/dist/components/cascader/src/props.d.ts +33 -0
- package/dist/components/cascader/src/types.d.ts +13 -0
- package/dist/components/checkbox/index.d.ts +139 -0
- package/dist/components/checkbox/src/checkbox-group.vue.d.ts +34 -0
- package/dist/components/checkbox/src/checkbox.vue.d.ts +44 -0
- package/dist/components/checkbox/src/props.d.ts +31 -0
- package/dist/components/checkbox/src/types.d.ts +8 -0
- package/dist/components/collapse/index.d.ts +120 -0
- package/dist/components/collapse/src/collapse-item.vue.d.ts +37 -0
- package/dist/components/collapse/src/collapse.vue.d.ts +33 -0
- package/dist/components/collapse/src/props.d.ts +24 -0
- package/dist/components/collapse/src/types.d.ts +8 -0
- package/dist/components/date-picker/index.d.ts +32 -0
- package/dist/components/date-picker/src/date-picker.vue.d.ts +30 -0
- package/dist/components/date-picker/src/props.d.ts +16 -0
- package/dist/components/date-picker/src/types.d.ts +1 -0
- package/dist/components/date-time-picker/index.d.ts +32 -0
- package/dist/components/date-time-picker/src/date-time-picker.vue.d.ts +30 -0
- package/dist/components/date-time-picker/src/props.d.ts +16 -0
- package/dist/components/date-time-picker/src/types.d.ts +1 -0
- package/dist/components/dialog/index.d.ts +97 -0
- package/dist/components/dialog/src/dialog.vue.d.ts +54 -0
- package/dist/components/dialog/src/props.d.ts +22 -0
- package/dist/components/dialog/src/types.d.ts +1 -0
- package/dist/components/drawer/index.d.ts +139 -0
- package/dist/components/drawer/src/drawer.vue.d.ts +79 -0
- package/dist/components/drawer/src/props.d.ts +33 -0
- package/dist/components/drawer/src/types.d.ts +2 -0
- package/dist/components/dropdown/index.d.ts +115 -0
- package/dist/components/dropdown/src/dropdown.vue.d.ts +67 -0
- package/dist/components/dropdown/src/props.d.ts +30 -0
- package/dist/components/dropdown/src/types.d.ts +9 -0
- package/dist/components/form/index.d.ts +127 -0
- package/dist/components/form/src/form-item.vue.d.ts +27 -0
- package/dist/components/form/src/form.vue.d.ts +45 -0
- package/dist/components/form/src/props.d.ts +24 -0
- package/dist/components/form/src/types.d.ts +19 -0
- package/dist/components/icon/index.d.ts +53 -0
- package/dist/components/icon/src/icon.vue.d.ts +31 -0
- package/dist/components/icon/src/props.d.ts +13 -0
- package/dist/components/icon/src/types.d.ts +1 -0
- package/dist/components/index.d.ts +6387 -0
- package/dist/components/infinite-scroll/index.d.ts +107 -0
- package/dist/components/infinite-scroll/src/infinite-scroll.vue.d.ts +59 -0
- package/dist/components/infinite-scroll/src/props.d.ts +21 -0
- package/dist/components/infinite-scroll/src/types.d.ts +5 -0
- package/dist/components/input/index.d.ts +110 -0
- package/dist/components/input/src/input.vue.d.ts +58 -0
- package/dist/components/input/src/props.d.ts +26 -0
- package/dist/components/input/src/types.d.ts +1 -0
- package/dist/components/link/index.d.ts +84 -0
- package/dist/components/link/src/link.vue.d.ts +48 -0
- package/dist/components/link/src/props.d.ts +23 -0
- package/dist/components/link/src/types.d.ts +2 -0
- package/dist/components/message/index.d.ts +7 -0
- package/dist/components/message/src/message.vue.d.ts +79 -0
- package/dist/components/message/src/props.d.ts +33 -0
- package/dist/components/message/src/types.d.ts +32 -0
- package/dist/components/message-box/index.d.ts +7 -0
- package/dist/components/message-box/src/message-box.vue.d.ts +101 -0
- package/dist/components/message-box/src/props.d.ts +42 -0
- package/dist/components/message-box/src/types.d.ts +27 -0
- package/dist/components/notification/index.d.ts +7 -0
- package/dist/components/notification/src/notification.vue.d.ts +95 -0
- package/dist/components/notification/src/props.d.ts +46 -0
- package/dist/components/notification/src/types.d.ts +36 -0
- package/dist/components/pagination/index.d.ts +45 -0
- package/dist/components/pagination/src/pagination.vue.d.ts +43 -0
- package/dist/components/pagination/src/props.d.ts +23 -0
- package/dist/components/pagination/src/types.d.ts +4 -0
- package/dist/components/radio/index.d.ts +112 -0
- package/dist/components/radio/src/props.d.ts +25 -0
- package/dist/components/radio/src/radio-group.vue.d.ts +27 -0
- package/dist/components/radio/src/radio.vue.d.ts +36 -0
- package/dist/components/radio/src/types.d.ts +8 -0
- package/dist/components/scrollbar/index.d.ts +60 -0
- package/dist/components/scrollbar/src/props.d.ts +14 -0
- package/dist/components/scrollbar/src/scrollbar.vue.d.ts +33 -0
- package/dist/components/scrollbar/src/types.d.ts +4 -0
- package/dist/components/select/index.d.ts +43 -0
- package/dist/components/select/src/props.d.ts +22 -0
- package/dist/components/select/src/select.vue.d.ts +42 -0
- package/dist/components/select/src/types.d.ts +6 -0
- package/dist/components/table/index.d.ts +147 -0
- package/dist/components/table/src/props.d.ts +31 -0
- package/dist/components/table/src/table.vue.d.ts +88 -0
- package/dist/components/table/src/types.d.ts +11 -0
- package/dist/components/tabs/index.d.ts +112 -0
- package/dist/components/tabs/src/props.d.ts +23 -0
- package/dist/components/tabs/src/tab-pane.vue.d.ts +35 -0
- package/dist/components/tabs/src/tabs.vue.d.ts +31 -0
- package/dist/components/tabs/src/types.d.ts +14 -0
- package/dist/components/text/index.d.ts +86 -0
- package/dist/components/text/src/props.d.ts +23 -0
- package/dist/components/text/src/text.vue.d.ts +51 -0
- package/dist/components/text/src/types.d.ts +3 -0
- package/dist/components/time-select/index.d.ts +64 -0
- package/dist/components/time-select/src/props.d.ts +29 -0
- package/dist/components/time-select/src/time-select.vue.d.ts +63 -0
- package/dist/components/time-select/src/types.d.ts +4 -0
- package/dist/components/tree/index.d.ts +167 -0
- package/dist/components/tree/src/props.d.ts +39 -0
- package/dist/components/tree/src/tree.vue.d.ts +97 -0
- package/dist/components/tree/src/types.d.ts +21 -0
- package/dist/components/upload/index.d.ts +89 -0
- package/dist/components/upload/src/props.d.ts +41 -0
- package/dist/components/upload/src/types.d.ts +11 -0
- package/dist/components/upload/src/upload.vue.d.ts +88 -0
- package/dist/components/waterfall/index.d.ts +195 -0
- package/dist/components/waterfall/src/props.d.ts +42 -0
- package/dist/components/waterfall/src/types.d.ts +17 -0
- package/dist/components/waterfall/src/waterfall.vue.d.ts +122 -0
- package/dist/es/components/alert/style/css.js +1 -0
- package/dist/es/components/alert/style/style.css +128 -0
- package/dist/es/components/backtop/style/css.js +1 -0
- package/dist/es/components/backtop/style/style.css +67 -0
- package/dist/es/components/badge/style/css.js +1 -0
- package/dist/es/components/badge/style/style.css +88 -0
- package/dist/es/components/button/style/css.js +1 -0
- package/dist/es/components/button/style/style.css +207 -0
- package/dist/es/components/carousel/style/css.js +1 -0
- package/dist/es/components/carousel/style/style.css +118 -0
- package/dist/es/components/cascader/style/css.js +1 -0
- package/dist/es/components/cascader/style/style.css +172 -0
- package/dist/es/components/checkbox/style/css.js +1 -0
- package/dist/es/components/checkbox/style/style.css +95 -0
- package/dist/es/components/collapse/style/css.js +1 -0
- package/dist/es/components/collapse/style/style.css +91 -0
- package/dist/es/components/date-picker/style/css.js +1 -0
- package/dist/es/components/date-picker/style/style.css +78 -0
- package/dist/es/components/date-time-picker/style/css.js +1 -0
- package/dist/es/components/date-time-picker/style/style.css +78 -0
- package/dist/es/components/dialog/style/css.js +1 -0
- package/dist/es/components/dialog/style/style.css +129 -0
- package/dist/es/components/drawer/style/css.js +1 -0
- package/dist/es/components/drawer/style/style.css +162 -0
- package/dist/es/components/dropdown/style/css.js +1 -0
- package/dist/es/components/dropdown/style/style.css +138 -0
- package/dist/es/components/form/style/css.js +1 -0
- package/dist/es/components/form/style/style.css +73 -0
- package/dist/es/components/icon/style/css.js +1 -0
- package/dist/es/components/icon/style/style.css +61 -0
- package/dist/es/components/infinite-scroll/style/css.js +1 -0
- package/dist/es/components/infinite-scroll/style/style.css +54 -0
- package/dist/es/components/input/style/css.js +1 -0
- package/dist/es/components/input/style/style.css +152 -0
- package/dist/es/components/link/style/css.js +1 -0
- package/dist/es/components/link/style/style.css +82 -0
- package/dist/es/components/message/style/css.js +1 -0
- package/dist/es/components/message/style/style.css +111 -0
- package/dist/es/components/message-box/style/css.js +1 -0
- package/dist/es/components/message-box/style/style.css +156 -0
- package/dist/es/components/notification/style/css.js +1 -0
- package/dist/es/components/notification/style/style.css +128 -0
- package/dist/es/components/pagination/style/css.js +1 -0
- package/dist/es/components/pagination/style/style.css +89 -0
- package/dist/es/components/radio/style/css.js +1 -0
- package/dist/es/components/radio/style/style.css +91 -0
- package/dist/es/components/scrollbar/style/css.js +1 -0
- package/dist/es/components/scrollbar/style/style.css +75 -0
- package/dist/es/components/select/style/css.js +1 -0
- package/dist/es/components/select/style/style.css +140 -0
- package/dist/es/components/table/style/css.js +1 -0
- package/dist/es/components/table/style/style.css +177 -0
- package/dist/es/components/tabs/style/css.js +1 -0
- package/dist/es/components/tabs/style/style.css +85 -0
- package/dist/es/components/text/style/css.js +1 -0
- package/dist/es/components/text/style/style.css +84 -0
- package/dist/es/components/time-select/style/css.js +1 -0
- package/dist/es/components/time-select/style/style.css +153 -0
- package/dist/es/components/tree/style/css.js +1 -0
- package/dist/es/components/tree/style/style.css +113 -0
- package/dist/es/components/upload/style/css.js +1 -0
- package/dist/es/components/upload/style/style.css +148 -0
- package/dist/es/components/waterfall/style/css.js +1 -0
- package/dist/es/components/waterfall/style/style.css +85 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.mjs +3341 -0
- package/dist/index.mjs.map +1 -0
- package/dist/resolver.cjs +2 -0
- package/dist/resolver.cjs.map +1 -0
- package/dist/resolver.d.ts +14 -0
- package/dist/resolver.mjs +59 -0
- package/dist/resolver.mjs.map +1 -0
- package/dist/utils/src/index.d.ts +1 -0
- package/dist/utils/src/install.d.ts +3 -0
- package/package.json +70 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export declare const JhAlert: import("../../utils/src/index").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
readonly title: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "";
|
|
6
|
+
};
|
|
7
|
+
readonly description: {
|
|
8
|
+
readonly type: StringConstructor;
|
|
9
|
+
readonly default: "";
|
|
10
|
+
};
|
|
11
|
+
readonly type: {
|
|
12
|
+
readonly type: import("vue").PropType<import("./index.js").AlertType>;
|
|
13
|
+
readonly default: "info";
|
|
14
|
+
readonly validator: (value: import("./index.js").AlertType) => boolean;
|
|
15
|
+
};
|
|
16
|
+
readonly effect: {
|
|
17
|
+
readonly type: import("vue").PropType<import("./index.js").AlertEffect>;
|
|
18
|
+
readonly default: "light";
|
|
19
|
+
readonly validator: (value: import("./index.js").AlertEffect) => boolean;
|
|
20
|
+
};
|
|
21
|
+
readonly closable: {
|
|
22
|
+
readonly type: BooleanConstructor;
|
|
23
|
+
readonly default: true;
|
|
24
|
+
};
|
|
25
|
+
readonly showIcon: BooleanConstructor;
|
|
26
|
+
}>> & Readonly<{
|
|
27
|
+
onClose?: (() => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
close: () => void;
|
|
30
|
+
}, import("vue").PublicProps, {
|
|
31
|
+
readonly type: import("./index.js").AlertType;
|
|
32
|
+
readonly title: string;
|
|
33
|
+
readonly description: string;
|
|
34
|
+
readonly effect: import("./index.js").AlertEffect;
|
|
35
|
+
readonly closable: boolean;
|
|
36
|
+
readonly showIcon: boolean;
|
|
37
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
38
|
+
P: {};
|
|
39
|
+
B: {};
|
|
40
|
+
D: {};
|
|
41
|
+
C: {};
|
|
42
|
+
M: {};
|
|
43
|
+
Defaults: {};
|
|
44
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
readonly title: {
|
|
46
|
+
readonly type: StringConstructor;
|
|
47
|
+
readonly default: "";
|
|
48
|
+
};
|
|
49
|
+
readonly description: {
|
|
50
|
+
readonly type: StringConstructor;
|
|
51
|
+
readonly default: "";
|
|
52
|
+
};
|
|
53
|
+
readonly type: {
|
|
54
|
+
readonly type: import("vue").PropType<import("./index.js").AlertType>;
|
|
55
|
+
readonly default: "info";
|
|
56
|
+
readonly validator: (value: import("./index.js").AlertType) => boolean;
|
|
57
|
+
};
|
|
58
|
+
readonly effect: {
|
|
59
|
+
readonly type: import("vue").PropType<import("./index.js").AlertEffect>;
|
|
60
|
+
readonly default: "light";
|
|
61
|
+
readonly validator: (value: import("./index.js").AlertEffect) => boolean;
|
|
62
|
+
};
|
|
63
|
+
readonly closable: {
|
|
64
|
+
readonly type: BooleanConstructor;
|
|
65
|
+
readonly default: true;
|
|
66
|
+
};
|
|
67
|
+
readonly showIcon: BooleanConstructor;
|
|
68
|
+
}>> & Readonly<{
|
|
69
|
+
onClose?: (() => any) | undefined;
|
|
70
|
+
}>, {}, {}, {}, {}, {
|
|
71
|
+
readonly type: import("./index.js").AlertType;
|
|
72
|
+
readonly title: string;
|
|
73
|
+
readonly description: string;
|
|
74
|
+
readonly effect: import("./index.js").AlertEffect;
|
|
75
|
+
readonly closable: boolean;
|
|
76
|
+
readonly showIcon: boolean;
|
|
77
|
+
}>;
|
|
78
|
+
__isFragment?: never;
|
|
79
|
+
__isTeleport?: never;
|
|
80
|
+
__isSuspense?: never;
|
|
81
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
82
|
+
readonly title: {
|
|
83
|
+
readonly type: StringConstructor;
|
|
84
|
+
readonly default: "";
|
|
85
|
+
};
|
|
86
|
+
readonly description: {
|
|
87
|
+
readonly type: StringConstructor;
|
|
88
|
+
readonly default: "";
|
|
89
|
+
};
|
|
90
|
+
readonly type: {
|
|
91
|
+
readonly type: import("vue").PropType<import("./index.js").AlertType>;
|
|
92
|
+
readonly default: "info";
|
|
93
|
+
readonly validator: (value: import("./index.js").AlertType) => boolean;
|
|
94
|
+
};
|
|
95
|
+
readonly effect: {
|
|
96
|
+
readonly type: import("vue").PropType<import("./index.js").AlertEffect>;
|
|
97
|
+
readonly default: "light";
|
|
98
|
+
readonly validator: (value: import("./index.js").AlertEffect) => boolean;
|
|
99
|
+
};
|
|
100
|
+
readonly closable: {
|
|
101
|
+
readonly type: BooleanConstructor;
|
|
102
|
+
readonly default: true;
|
|
103
|
+
};
|
|
104
|
+
readonly showIcon: BooleanConstructor;
|
|
105
|
+
}>> & Readonly<{
|
|
106
|
+
onClose?: (() => any) | undefined;
|
|
107
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
108
|
+
close: () => void;
|
|
109
|
+
}, string, {
|
|
110
|
+
readonly type: import("./index.js").AlertType;
|
|
111
|
+
readonly title: string;
|
|
112
|
+
readonly description: string;
|
|
113
|
+
readonly effect: import("./index.js").AlertEffect;
|
|
114
|
+
readonly closable: boolean;
|
|
115
|
+
readonly showIcon: boolean;
|
|
116
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
117
|
+
$slots: {
|
|
118
|
+
title?: (props: {}) => any;
|
|
119
|
+
} & {
|
|
120
|
+
default?: (props: {}) => any;
|
|
121
|
+
};
|
|
122
|
+
})>;
|
|
123
|
+
export default JhAlert;
|
|
124
|
+
export * from './src/props';
|
|
125
|
+
export * from './src/types';
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
title?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_3) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
readonly title: {
|
|
9
|
+
readonly type: StringConstructor;
|
|
10
|
+
readonly default: "";
|
|
11
|
+
};
|
|
12
|
+
readonly description: {
|
|
13
|
+
readonly type: StringConstructor;
|
|
14
|
+
readonly default: "";
|
|
15
|
+
};
|
|
16
|
+
readonly type: {
|
|
17
|
+
readonly type: import("vue").PropType<import("./types").AlertType>;
|
|
18
|
+
readonly default: "info";
|
|
19
|
+
readonly validator: (value: import("./types").AlertType) => boolean;
|
|
20
|
+
};
|
|
21
|
+
readonly effect: {
|
|
22
|
+
readonly type: import("vue").PropType<import("./types").AlertEffect>;
|
|
23
|
+
readonly default: "light";
|
|
24
|
+
readonly validator: (value: import("./types").AlertEffect) => boolean;
|
|
25
|
+
};
|
|
26
|
+
readonly closable: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly default: true;
|
|
29
|
+
};
|
|
30
|
+
readonly showIcon: BooleanConstructor;
|
|
31
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
close: () => void;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
readonly title: {
|
|
35
|
+
readonly type: StringConstructor;
|
|
36
|
+
readonly default: "";
|
|
37
|
+
};
|
|
38
|
+
readonly description: {
|
|
39
|
+
readonly type: StringConstructor;
|
|
40
|
+
readonly default: "";
|
|
41
|
+
};
|
|
42
|
+
readonly type: {
|
|
43
|
+
readonly type: import("vue").PropType<import("./types").AlertType>;
|
|
44
|
+
readonly default: "info";
|
|
45
|
+
readonly validator: (value: import("./types").AlertType) => boolean;
|
|
46
|
+
};
|
|
47
|
+
readonly effect: {
|
|
48
|
+
readonly type: import("vue").PropType<import("./types").AlertEffect>;
|
|
49
|
+
readonly default: "light";
|
|
50
|
+
readonly validator: (value: import("./types").AlertEffect) => boolean;
|
|
51
|
+
};
|
|
52
|
+
readonly closable: {
|
|
53
|
+
readonly type: BooleanConstructor;
|
|
54
|
+
readonly default: true;
|
|
55
|
+
};
|
|
56
|
+
readonly showIcon: BooleanConstructor;
|
|
57
|
+
}>> & Readonly<{
|
|
58
|
+
onClose?: (() => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
readonly type: import("./types").AlertType;
|
|
61
|
+
readonly title: string;
|
|
62
|
+
readonly description: string;
|
|
63
|
+
readonly effect: import("./types").AlertEffect;
|
|
64
|
+
readonly closable: boolean;
|
|
65
|
+
readonly showIcon: boolean;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
68
|
+
export default _default;
|
|
69
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
70
|
+
new (): {
|
|
71
|
+
$slots: S;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { AlertEffect, AlertType } from './types';
|
|
3
|
+
export declare const alertTypes: AlertType[];
|
|
4
|
+
export declare const alertEffects: AlertEffect[];
|
|
5
|
+
export declare const alertProps: {
|
|
6
|
+
readonly title: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: "";
|
|
9
|
+
};
|
|
10
|
+
readonly description: {
|
|
11
|
+
readonly type: StringConstructor;
|
|
12
|
+
readonly default: "";
|
|
13
|
+
};
|
|
14
|
+
readonly type: {
|
|
15
|
+
readonly type: PropType<AlertType>;
|
|
16
|
+
readonly default: "info";
|
|
17
|
+
readonly validator: (value: AlertType) => boolean;
|
|
18
|
+
};
|
|
19
|
+
readonly effect: {
|
|
20
|
+
readonly type: PropType<AlertEffect>;
|
|
21
|
+
readonly default: "light";
|
|
22
|
+
readonly validator: (value: AlertEffect) => boolean;
|
|
23
|
+
};
|
|
24
|
+
readonly closable: {
|
|
25
|
+
readonly type: BooleanConstructor;
|
|
26
|
+
readonly default: true;
|
|
27
|
+
};
|
|
28
|
+
readonly showIcon: BooleanConstructor;
|
|
29
|
+
};
|
|
30
|
+
export declare const alertEmits: {
|
|
31
|
+
close: () => boolean;
|
|
32
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export declare const JhBacktop: import("../../utils/src/index").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
readonly target: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "";
|
|
6
|
+
};
|
|
7
|
+
readonly visibilityHeight: {
|
|
8
|
+
readonly type: NumberConstructor;
|
|
9
|
+
readonly default: 200;
|
|
10
|
+
};
|
|
11
|
+
readonly right: {
|
|
12
|
+
readonly type: NumberConstructor;
|
|
13
|
+
readonly default: 40;
|
|
14
|
+
};
|
|
15
|
+
readonly bottom: {
|
|
16
|
+
readonly type: NumberConstructor;
|
|
17
|
+
readonly default: 40;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{
|
|
20
|
+
onClick?: ((payload: import("./index.js").BacktopClickPayload) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
handleScroll: () => void;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
click: (payload: import("./index.js").BacktopClickPayload) => void;
|
|
25
|
+
}, import("vue").PublicProps, {
|
|
26
|
+
readonly target: string;
|
|
27
|
+
readonly visibilityHeight: number;
|
|
28
|
+
readonly right: number;
|
|
29
|
+
readonly bottom: number;
|
|
30
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
31
|
+
P: {};
|
|
32
|
+
B: {};
|
|
33
|
+
D: {};
|
|
34
|
+
C: {};
|
|
35
|
+
M: {};
|
|
36
|
+
Defaults: {};
|
|
37
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
readonly target: {
|
|
39
|
+
readonly type: StringConstructor;
|
|
40
|
+
readonly default: "";
|
|
41
|
+
};
|
|
42
|
+
readonly visibilityHeight: {
|
|
43
|
+
readonly type: NumberConstructor;
|
|
44
|
+
readonly default: 200;
|
|
45
|
+
};
|
|
46
|
+
readonly right: {
|
|
47
|
+
readonly type: NumberConstructor;
|
|
48
|
+
readonly default: 40;
|
|
49
|
+
};
|
|
50
|
+
readonly bottom: {
|
|
51
|
+
readonly type: NumberConstructor;
|
|
52
|
+
readonly default: 40;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{
|
|
55
|
+
onClick?: ((payload: import("./index.js").BacktopClickPayload) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
handleScroll: () => void;
|
|
58
|
+
}, {}, {}, {}, {
|
|
59
|
+
readonly target: string;
|
|
60
|
+
readonly visibilityHeight: number;
|
|
61
|
+
readonly right: number;
|
|
62
|
+
readonly bottom: number;
|
|
63
|
+
}>;
|
|
64
|
+
__isFragment?: never;
|
|
65
|
+
__isTeleport?: never;
|
|
66
|
+
__isSuspense?: never;
|
|
67
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
readonly target: {
|
|
69
|
+
readonly type: StringConstructor;
|
|
70
|
+
readonly default: "";
|
|
71
|
+
};
|
|
72
|
+
readonly visibilityHeight: {
|
|
73
|
+
readonly type: NumberConstructor;
|
|
74
|
+
readonly default: 200;
|
|
75
|
+
};
|
|
76
|
+
readonly right: {
|
|
77
|
+
readonly type: NumberConstructor;
|
|
78
|
+
readonly default: 40;
|
|
79
|
+
};
|
|
80
|
+
readonly bottom: {
|
|
81
|
+
readonly type: NumberConstructor;
|
|
82
|
+
readonly default: 40;
|
|
83
|
+
};
|
|
84
|
+
}>> & Readonly<{
|
|
85
|
+
onClick?: ((payload: import("./index.js").BacktopClickPayload) => any) | undefined;
|
|
86
|
+
}>, {
|
|
87
|
+
handleScroll: () => void;
|
|
88
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
|
+
click: (payload: import("./index.js").BacktopClickPayload) => void;
|
|
90
|
+
}, string, {
|
|
91
|
+
readonly target: string;
|
|
92
|
+
readonly visibilityHeight: number;
|
|
93
|
+
readonly right: number;
|
|
94
|
+
readonly bottom: number;
|
|
95
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
96
|
+
$slots: {
|
|
97
|
+
default?: (props: {}) => any;
|
|
98
|
+
};
|
|
99
|
+
})>;
|
|
100
|
+
export default JhBacktop;
|
|
101
|
+
export * from './src/props';
|
|
102
|
+
export * from './src/types';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare var __VLS_5: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_5) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly target: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: "";
|
|
9
|
+
};
|
|
10
|
+
readonly visibilityHeight: {
|
|
11
|
+
readonly type: NumberConstructor;
|
|
12
|
+
readonly default: 200;
|
|
13
|
+
};
|
|
14
|
+
readonly right: {
|
|
15
|
+
readonly type: NumberConstructor;
|
|
16
|
+
readonly default: 40;
|
|
17
|
+
};
|
|
18
|
+
readonly bottom: {
|
|
19
|
+
readonly type: NumberConstructor;
|
|
20
|
+
readonly default: 40;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
handleScroll: () => void;
|
|
24
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
click: (payload: import("./types").BacktopClickPayload) => void;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
readonly target: {
|
|
28
|
+
readonly type: StringConstructor;
|
|
29
|
+
readonly default: "";
|
|
30
|
+
};
|
|
31
|
+
readonly visibilityHeight: {
|
|
32
|
+
readonly type: NumberConstructor;
|
|
33
|
+
readonly default: 200;
|
|
34
|
+
};
|
|
35
|
+
readonly right: {
|
|
36
|
+
readonly type: NumberConstructor;
|
|
37
|
+
readonly default: 40;
|
|
38
|
+
};
|
|
39
|
+
readonly bottom: {
|
|
40
|
+
readonly type: NumberConstructor;
|
|
41
|
+
readonly default: 40;
|
|
42
|
+
};
|
|
43
|
+
}>> & Readonly<{
|
|
44
|
+
onClick?: ((payload: import("./types").BacktopClickPayload) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
readonly target: string;
|
|
47
|
+
readonly visibilityHeight: number;
|
|
48
|
+
readonly right: number;
|
|
49
|
+
readonly bottom: number;
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { BacktopClickPayload } from './types';
|
|
2
|
+
export declare const backtopProps: {
|
|
3
|
+
readonly target: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "";
|
|
6
|
+
};
|
|
7
|
+
readonly visibilityHeight: {
|
|
8
|
+
readonly type: NumberConstructor;
|
|
9
|
+
readonly default: 200;
|
|
10
|
+
};
|
|
11
|
+
readonly right: {
|
|
12
|
+
readonly type: NumberConstructor;
|
|
13
|
+
readonly default: 40;
|
|
14
|
+
};
|
|
15
|
+
readonly bottom: {
|
|
16
|
+
readonly type: NumberConstructor;
|
|
17
|
+
readonly default: 40;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const backtopEmits: {
|
|
21
|
+
click: (payload: BacktopClickPayload) => boolean;
|
|
22
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export declare const JhBadge: import("../../utils/src/index").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
readonly value: {
|
|
4
|
+
readonly type: import("vue").PropType<import("./index.js").BadgeValue>;
|
|
5
|
+
readonly default: "";
|
|
6
|
+
};
|
|
7
|
+
readonly max: {
|
|
8
|
+
readonly type: NumberConstructor;
|
|
9
|
+
readonly default: 0;
|
|
10
|
+
};
|
|
11
|
+
readonly type: {
|
|
12
|
+
readonly type: import("vue").PropType<import("./index.js").BadgeType>;
|
|
13
|
+
readonly default: "danger";
|
|
14
|
+
readonly validator: (value: import("./index.js").BadgeType) => boolean;
|
|
15
|
+
};
|
|
16
|
+
readonly color: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly default: "";
|
|
19
|
+
};
|
|
20
|
+
readonly hidden: BooleanConstructor;
|
|
21
|
+
readonly isDot: BooleanConstructor;
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
23
|
+
readonly color: string;
|
|
24
|
+
readonly type: import("./index.js").BadgeType;
|
|
25
|
+
readonly value: import("./index.js").BadgeValue;
|
|
26
|
+
readonly max: number;
|
|
27
|
+
readonly hidden: boolean;
|
|
28
|
+
readonly isDot: boolean;
|
|
29
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
30
|
+
P: {};
|
|
31
|
+
B: {};
|
|
32
|
+
D: {};
|
|
33
|
+
C: {};
|
|
34
|
+
M: {};
|
|
35
|
+
Defaults: {};
|
|
36
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
readonly value: {
|
|
38
|
+
readonly type: import("vue").PropType<import("./index.js").BadgeValue>;
|
|
39
|
+
readonly default: "";
|
|
40
|
+
};
|
|
41
|
+
readonly max: {
|
|
42
|
+
readonly type: NumberConstructor;
|
|
43
|
+
readonly default: 0;
|
|
44
|
+
};
|
|
45
|
+
readonly type: {
|
|
46
|
+
readonly type: import("vue").PropType<import("./index.js").BadgeType>;
|
|
47
|
+
readonly default: "danger";
|
|
48
|
+
readonly validator: (value: import("./index.js").BadgeType) => boolean;
|
|
49
|
+
};
|
|
50
|
+
readonly color: {
|
|
51
|
+
readonly type: StringConstructor;
|
|
52
|
+
readonly default: "";
|
|
53
|
+
};
|
|
54
|
+
readonly hidden: BooleanConstructor;
|
|
55
|
+
readonly isDot: BooleanConstructor;
|
|
56
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
57
|
+
readonly color: string;
|
|
58
|
+
readonly type: import("./index.js").BadgeType;
|
|
59
|
+
readonly value: import("./index.js").BadgeValue;
|
|
60
|
+
readonly max: number;
|
|
61
|
+
readonly hidden: boolean;
|
|
62
|
+
readonly isDot: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
__isFragment?: never;
|
|
65
|
+
__isTeleport?: never;
|
|
66
|
+
__isSuspense?: never;
|
|
67
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
readonly value: {
|
|
69
|
+
readonly type: import("vue").PropType<import("./index.js").BadgeValue>;
|
|
70
|
+
readonly default: "";
|
|
71
|
+
};
|
|
72
|
+
readonly max: {
|
|
73
|
+
readonly type: NumberConstructor;
|
|
74
|
+
readonly default: 0;
|
|
75
|
+
};
|
|
76
|
+
readonly type: {
|
|
77
|
+
readonly type: import("vue").PropType<import("./index.js").BadgeType>;
|
|
78
|
+
readonly default: "danger";
|
|
79
|
+
readonly validator: (value: import("./index.js").BadgeType) => boolean;
|
|
80
|
+
};
|
|
81
|
+
readonly color: {
|
|
82
|
+
readonly type: StringConstructor;
|
|
83
|
+
readonly default: "";
|
|
84
|
+
};
|
|
85
|
+
readonly hidden: BooleanConstructor;
|
|
86
|
+
readonly isDot: BooleanConstructor;
|
|
87
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
88
|
+
readonly color: string;
|
|
89
|
+
readonly type: import("./index.js").BadgeType;
|
|
90
|
+
readonly value: import("./index.js").BadgeValue;
|
|
91
|
+
readonly max: number;
|
|
92
|
+
readonly hidden: boolean;
|
|
93
|
+
readonly isDot: boolean;
|
|
94
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
95
|
+
$slots: {
|
|
96
|
+
default?: (props: {}) => any;
|
|
97
|
+
};
|
|
98
|
+
})>;
|
|
99
|
+
export default JhBadge;
|
|
100
|
+
export * from './src/props';
|
|
101
|
+
export * from './src/types';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly value: {
|
|
7
|
+
readonly type: import("vue").PropType<import("./types").BadgeValue>;
|
|
8
|
+
readonly default: "";
|
|
9
|
+
};
|
|
10
|
+
readonly max: {
|
|
11
|
+
readonly type: NumberConstructor;
|
|
12
|
+
readonly default: 0;
|
|
13
|
+
};
|
|
14
|
+
readonly type: {
|
|
15
|
+
readonly type: import("vue").PropType<import("./types").BadgeType>;
|
|
16
|
+
readonly default: "danger";
|
|
17
|
+
readonly validator: (value: import("./types").BadgeType) => boolean;
|
|
18
|
+
};
|
|
19
|
+
readonly color: {
|
|
20
|
+
readonly type: StringConstructor;
|
|
21
|
+
readonly default: "";
|
|
22
|
+
};
|
|
23
|
+
readonly hidden: BooleanConstructor;
|
|
24
|
+
readonly isDot: BooleanConstructor;
|
|
25
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
readonly value: {
|
|
27
|
+
readonly type: import("vue").PropType<import("./types").BadgeValue>;
|
|
28
|
+
readonly default: "";
|
|
29
|
+
};
|
|
30
|
+
readonly max: {
|
|
31
|
+
readonly type: NumberConstructor;
|
|
32
|
+
readonly default: 0;
|
|
33
|
+
};
|
|
34
|
+
readonly type: {
|
|
35
|
+
readonly type: import("vue").PropType<import("./types").BadgeType>;
|
|
36
|
+
readonly default: "danger";
|
|
37
|
+
readonly validator: (value: import("./types").BadgeType) => boolean;
|
|
38
|
+
};
|
|
39
|
+
readonly color: {
|
|
40
|
+
readonly type: StringConstructor;
|
|
41
|
+
readonly default: "";
|
|
42
|
+
};
|
|
43
|
+
readonly hidden: BooleanConstructor;
|
|
44
|
+
readonly isDot: BooleanConstructor;
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
readonly color: string;
|
|
47
|
+
readonly type: import("./types").BadgeType;
|
|
48
|
+
readonly value: import("./types").BadgeValue;
|
|
49
|
+
readonly max: number;
|
|
50
|
+
readonly hidden: boolean;
|
|
51
|
+
readonly isDot: boolean;
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { BadgeType, BadgeValue } from './types';
|
|
3
|
+
export declare const badgeTypes: BadgeType[];
|
|
4
|
+
export declare const badgeProps: {
|
|
5
|
+
readonly value: {
|
|
6
|
+
readonly type: PropType<BadgeValue>;
|
|
7
|
+
readonly default: "";
|
|
8
|
+
};
|
|
9
|
+
readonly max: {
|
|
10
|
+
readonly type: NumberConstructor;
|
|
11
|
+
readonly default: 0;
|
|
12
|
+
};
|
|
13
|
+
readonly type: {
|
|
14
|
+
readonly type: PropType<BadgeType>;
|
|
15
|
+
readonly default: "danger";
|
|
16
|
+
readonly validator: (value: BadgeType) => boolean;
|
|
17
|
+
};
|
|
18
|
+
readonly color: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly default: "";
|
|
21
|
+
};
|
|
22
|
+
readonly hidden: BooleanConstructor;
|
|
23
|
+
readonly isDot: BooleanConstructor;
|
|
24
|
+
};
|