@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,107 @@
|
|
|
1
|
+
export declare const JhInfiniteScroll: import("../../utils/src/index").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
readonly height: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "240px";
|
|
6
|
+
};
|
|
7
|
+
readonly distance: {
|
|
8
|
+
readonly type: NumberConstructor;
|
|
9
|
+
readonly default: 0;
|
|
10
|
+
};
|
|
11
|
+
readonly delay: {
|
|
12
|
+
readonly type: NumberConstructor;
|
|
13
|
+
readonly default: 200;
|
|
14
|
+
};
|
|
15
|
+
readonly disabled: BooleanConstructor;
|
|
16
|
+
readonly loading: BooleanConstructor;
|
|
17
|
+
readonly immediate: BooleanConstructor;
|
|
18
|
+
}>> & Readonly<{
|
|
19
|
+
onLoad?: ((payload: import("./index.js").InfiniteScrollLoadPayload) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
check: () => void;
|
|
22
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
load: (payload: import("./index.js").InfiniteScrollLoadPayload) => void;
|
|
24
|
+
}, import("vue").PublicProps, {
|
|
25
|
+
readonly loading: boolean;
|
|
26
|
+
readonly disabled: boolean;
|
|
27
|
+
readonly immediate: boolean;
|
|
28
|
+
readonly height: string;
|
|
29
|
+
readonly distance: number;
|
|
30
|
+
readonly delay: number;
|
|
31
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
readonly height: {
|
|
40
|
+
readonly type: StringConstructor;
|
|
41
|
+
readonly default: "240px";
|
|
42
|
+
};
|
|
43
|
+
readonly distance: {
|
|
44
|
+
readonly type: NumberConstructor;
|
|
45
|
+
readonly default: 0;
|
|
46
|
+
};
|
|
47
|
+
readonly delay: {
|
|
48
|
+
readonly type: NumberConstructor;
|
|
49
|
+
readonly default: 200;
|
|
50
|
+
};
|
|
51
|
+
readonly disabled: BooleanConstructor;
|
|
52
|
+
readonly loading: BooleanConstructor;
|
|
53
|
+
readonly immediate: BooleanConstructor;
|
|
54
|
+
}>> & Readonly<{
|
|
55
|
+
onLoad?: ((payload: import("./index.js").InfiniteScrollLoadPayload) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
check: () => void;
|
|
58
|
+
}, {}, {}, {}, {
|
|
59
|
+
readonly loading: boolean;
|
|
60
|
+
readonly disabled: boolean;
|
|
61
|
+
readonly immediate: boolean;
|
|
62
|
+
readonly height: string;
|
|
63
|
+
readonly distance: number;
|
|
64
|
+
readonly delay: number;
|
|
65
|
+
}>;
|
|
66
|
+
__isFragment?: never;
|
|
67
|
+
__isTeleport?: never;
|
|
68
|
+
__isSuspense?: never;
|
|
69
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
readonly height: {
|
|
71
|
+
readonly type: StringConstructor;
|
|
72
|
+
readonly default: "240px";
|
|
73
|
+
};
|
|
74
|
+
readonly distance: {
|
|
75
|
+
readonly type: NumberConstructor;
|
|
76
|
+
readonly default: 0;
|
|
77
|
+
};
|
|
78
|
+
readonly delay: {
|
|
79
|
+
readonly type: NumberConstructor;
|
|
80
|
+
readonly default: 200;
|
|
81
|
+
};
|
|
82
|
+
readonly disabled: BooleanConstructor;
|
|
83
|
+
readonly loading: BooleanConstructor;
|
|
84
|
+
readonly immediate: BooleanConstructor;
|
|
85
|
+
}>> & Readonly<{
|
|
86
|
+
onLoad?: ((payload: import("./index.js").InfiniteScrollLoadPayload) => any) | undefined;
|
|
87
|
+
}>, {
|
|
88
|
+
check: () => void;
|
|
89
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
+
load: (payload: import("./index.js").InfiniteScrollLoadPayload) => void;
|
|
91
|
+
}, string, {
|
|
92
|
+
readonly loading: boolean;
|
|
93
|
+
readonly disabled: boolean;
|
|
94
|
+
readonly immediate: boolean;
|
|
95
|
+
readonly height: string;
|
|
96
|
+
readonly distance: number;
|
|
97
|
+
readonly delay: number;
|
|
98
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
99
|
+
$slots: {
|
|
100
|
+
default?: (props: {}) => any;
|
|
101
|
+
} & {
|
|
102
|
+
loading?: (props: {}) => any;
|
|
103
|
+
};
|
|
104
|
+
})>;
|
|
105
|
+
export default JhInfiniteScroll;
|
|
106
|
+
export * from './src/props';
|
|
107
|
+
export * from './src/types';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
loading?: (props: typeof __VLS_3) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
readonly height: {
|
|
9
|
+
readonly type: StringConstructor;
|
|
10
|
+
readonly default: "240px";
|
|
11
|
+
};
|
|
12
|
+
readonly distance: {
|
|
13
|
+
readonly type: NumberConstructor;
|
|
14
|
+
readonly default: 0;
|
|
15
|
+
};
|
|
16
|
+
readonly delay: {
|
|
17
|
+
readonly type: NumberConstructor;
|
|
18
|
+
readonly default: 200;
|
|
19
|
+
};
|
|
20
|
+
readonly disabled: BooleanConstructor;
|
|
21
|
+
readonly loading: BooleanConstructor;
|
|
22
|
+
readonly immediate: BooleanConstructor;
|
|
23
|
+
}>, {
|
|
24
|
+
check: () => void;
|
|
25
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
load: (payload: import("./types").InfiniteScrollLoadPayload) => void;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
readonly height: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: "240px";
|
|
31
|
+
};
|
|
32
|
+
readonly distance: {
|
|
33
|
+
readonly type: NumberConstructor;
|
|
34
|
+
readonly default: 0;
|
|
35
|
+
};
|
|
36
|
+
readonly delay: {
|
|
37
|
+
readonly type: NumberConstructor;
|
|
38
|
+
readonly default: 200;
|
|
39
|
+
};
|
|
40
|
+
readonly disabled: BooleanConstructor;
|
|
41
|
+
readonly loading: BooleanConstructor;
|
|
42
|
+
readonly immediate: BooleanConstructor;
|
|
43
|
+
}>> & Readonly<{
|
|
44
|
+
onLoad?: ((payload: import("./types").InfiniteScrollLoadPayload) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
readonly loading: boolean;
|
|
47
|
+
readonly disabled: boolean;
|
|
48
|
+
readonly immediate: boolean;
|
|
49
|
+
readonly height: string;
|
|
50
|
+
readonly distance: number;
|
|
51
|
+
readonly delay: number;
|
|
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,21 @@
|
|
|
1
|
+
import type { InfiniteScrollLoadPayload } from './types';
|
|
2
|
+
export declare const infiniteScrollProps: {
|
|
3
|
+
readonly height: {
|
|
4
|
+
readonly type: StringConstructor;
|
|
5
|
+
readonly default: "240px";
|
|
6
|
+
};
|
|
7
|
+
readonly distance: {
|
|
8
|
+
readonly type: NumberConstructor;
|
|
9
|
+
readonly default: 0;
|
|
10
|
+
};
|
|
11
|
+
readonly delay: {
|
|
12
|
+
readonly type: NumberConstructor;
|
|
13
|
+
readonly default: 200;
|
|
14
|
+
};
|
|
15
|
+
readonly disabled: BooleanConstructor;
|
|
16
|
+
readonly loading: BooleanConstructor;
|
|
17
|
+
readonly immediate: BooleanConstructor;
|
|
18
|
+
};
|
|
19
|
+
export declare const infiniteScrollEmits: {
|
|
20
|
+
load: (payload: InfiniteScrollLoadPayload) => boolean;
|
|
21
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export declare const JhInput: import("../../utils/src/index").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
readonly modelValue: {
|
|
4
|
+
readonly type: import("vue").PropType<import("./index.js").InputModelValue>;
|
|
5
|
+
readonly default: "";
|
|
6
|
+
};
|
|
7
|
+
readonly placeholder: StringConstructor;
|
|
8
|
+
readonly disabled: BooleanConstructor;
|
|
9
|
+
readonly clearable: BooleanConstructor;
|
|
10
|
+
readonly password: BooleanConstructor;
|
|
11
|
+
readonly prefixIcon: import("vue").PropType<import("../index.js").IconName>;
|
|
12
|
+
readonly suffixIcon: import("vue").PropType<import("../index.js").IconName>;
|
|
13
|
+
readonly name: StringConstructor;
|
|
14
|
+
readonly autocomplete: StringConstructor;
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
onInput?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
17
|
+
onClear?: (() => any) | undefined;
|
|
18
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
19
|
+
onChange?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
20
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
input: (_value: import("./index.js").InputModelValue) => void;
|
|
24
|
+
clear: () => void;
|
|
25
|
+
blur: (event: FocusEvent) => void;
|
|
26
|
+
change: (_value: import("./index.js").InputModelValue) => void;
|
|
27
|
+
focus: (event: FocusEvent) => void;
|
|
28
|
+
"update:modelValue": (_value: import("./index.js").InputModelValue) => void;
|
|
29
|
+
}, import("vue").PublicProps, {
|
|
30
|
+
readonly disabled: boolean;
|
|
31
|
+
readonly modelValue: import("./index.js").InputModelValue;
|
|
32
|
+
readonly clearable: boolean;
|
|
33
|
+
readonly password: boolean;
|
|
34
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
readonly modelValue: {
|
|
43
|
+
readonly type: import("vue").PropType<import("./index.js").InputModelValue>;
|
|
44
|
+
readonly default: "";
|
|
45
|
+
};
|
|
46
|
+
readonly placeholder: StringConstructor;
|
|
47
|
+
readonly disabled: BooleanConstructor;
|
|
48
|
+
readonly clearable: BooleanConstructor;
|
|
49
|
+
readonly password: BooleanConstructor;
|
|
50
|
+
readonly prefixIcon: import("vue").PropType<import("../index.js").IconName>;
|
|
51
|
+
readonly suffixIcon: import("vue").PropType<import("../index.js").IconName>;
|
|
52
|
+
readonly name: StringConstructor;
|
|
53
|
+
readonly autocomplete: StringConstructor;
|
|
54
|
+
}>> & Readonly<{
|
|
55
|
+
onInput?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
56
|
+
onClear?: (() => any) | undefined;
|
|
57
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
58
|
+
onChange?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
59
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
60
|
+
"onUpdate:modelValue"?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
61
|
+
}>, {}, {}, {}, {}, {
|
|
62
|
+
readonly disabled: boolean;
|
|
63
|
+
readonly modelValue: import("./index.js").InputModelValue;
|
|
64
|
+
readonly clearable: boolean;
|
|
65
|
+
readonly password: boolean;
|
|
66
|
+
}>;
|
|
67
|
+
__isFragment?: never;
|
|
68
|
+
__isTeleport?: never;
|
|
69
|
+
__isSuspense?: never;
|
|
70
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
+
readonly modelValue: {
|
|
72
|
+
readonly type: import("vue").PropType<import("./index.js").InputModelValue>;
|
|
73
|
+
readonly default: "";
|
|
74
|
+
};
|
|
75
|
+
readonly placeholder: StringConstructor;
|
|
76
|
+
readonly disabled: BooleanConstructor;
|
|
77
|
+
readonly clearable: BooleanConstructor;
|
|
78
|
+
readonly password: BooleanConstructor;
|
|
79
|
+
readonly prefixIcon: import("vue").PropType<import("../index.js").IconName>;
|
|
80
|
+
readonly suffixIcon: import("vue").PropType<import("../index.js").IconName>;
|
|
81
|
+
readonly name: StringConstructor;
|
|
82
|
+
readonly autocomplete: StringConstructor;
|
|
83
|
+
}>> & Readonly<{
|
|
84
|
+
onInput?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
85
|
+
onClear?: (() => any) | undefined;
|
|
86
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
87
|
+
onChange?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
88
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
89
|
+
"onUpdate:modelValue"?: ((_value: import("./index.js").InputModelValue) => any) | undefined;
|
|
90
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
91
|
+
input: (_value: import("./index.js").InputModelValue) => void;
|
|
92
|
+
clear: () => void;
|
|
93
|
+
blur: (event: FocusEvent) => void;
|
|
94
|
+
change: (_value: import("./index.js").InputModelValue) => void;
|
|
95
|
+
focus: (event: FocusEvent) => void;
|
|
96
|
+
"update:modelValue": (_value: import("./index.js").InputModelValue) => void;
|
|
97
|
+
}, string, {
|
|
98
|
+
readonly disabled: boolean;
|
|
99
|
+
readonly modelValue: import("./index.js").InputModelValue;
|
|
100
|
+
readonly clearable: boolean;
|
|
101
|
+
readonly password: boolean;
|
|
102
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
103
|
+
$slots: {
|
|
104
|
+
prefix?: () => unknown;
|
|
105
|
+
suffix?: () => unknown;
|
|
106
|
+
};
|
|
107
|
+
})>;
|
|
108
|
+
export default JhInput;
|
|
109
|
+
export * from './src/props';
|
|
110
|
+
export * from './src/types';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { InputModelValue } from './types';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
prefix?: () => unknown;
|
|
4
|
+
suffix?: () => unknown;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
+
readonly modelValue: {
|
|
8
|
+
readonly type: import("vue").PropType<InputModelValue>;
|
|
9
|
+
readonly default: "";
|
|
10
|
+
};
|
|
11
|
+
readonly placeholder: StringConstructor;
|
|
12
|
+
readonly disabled: BooleanConstructor;
|
|
13
|
+
readonly clearable: BooleanConstructor;
|
|
14
|
+
readonly password: BooleanConstructor;
|
|
15
|
+
readonly prefixIcon: import("vue").PropType<import("../..").IconName>;
|
|
16
|
+
readonly suffixIcon: import("vue").PropType<import("../..").IconName>;
|
|
17
|
+
readonly name: StringConstructor;
|
|
18
|
+
readonly autocomplete: StringConstructor;
|
|
19
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
input: (_value: InputModelValue) => void;
|
|
21
|
+
clear: () => void;
|
|
22
|
+
blur: (event: FocusEvent) => void;
|
|
23
|
+
change: (_value: InputModelValue) => void;
|
|
24
|
+
focus: (event: FocusEvent) => void;
|
|
25
|
+
"update:modelValue": (_value: InputModelValue) => void;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
readonly modelValue: {
|
|
28
|
+
readonly type: import("vue").PropType<InputModelValue>;
|
|
29
|
+
readonly default: "";
|
|
30
|
+
};
|
|
31
|
+
readonly placeholder: StringConstructor;
|
|
32
|
+
readonly disabled: BooleanConstructor;
|
|
33
|
+
readonly clearable: BooleanConstructor;
|
|
34
|
+
readonly password: BooleanConstructor;
|
|
35
|
+
readonly prefixIcon: import("vue").PropType<import("../..").IconName>;
|
|
36
|
+
readonly suffixIcon: import("vue").PropType<import("../..").IconName>;
|
|
37
|
+
readonly name: StringConstructor;
|
|
38
|
+
readonly autocomplete: StringConstructor;
|
|
39
|
+
}>> & Readonly<{
|
|
40
|
+
onInput?: ((_value: InputModelValue) => any) | undefined;
|
|
41
|
+
onClear?: (() => any) | undefined;
|
|
42
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
43
|
+
onChange?: ((_value: InputModelValue) => any) | undefined;
|
|
44
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
45
|
+
"onUpdate:modelValue"?: ((_value: InputModelValue) => any) | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
readonly disabled: boolean;
|
|
48
|
+
readonly modelValue: InputModelValue;
|
|
49
|
+
readonly clearable: boolean;
|
|
50
|
+
readonly password: boolean;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { IconName } from '../../icon';
|
|
3
|
+
import type { InputModelValue } from './types';
|
|
4
|
+
export declare const inputProps: {
|
|
5
|
+
readonly modelValue: {
|
|
6
|
+
readonly type: PropType<InputModelValue>;
|
|
7
|
+
readonly default: "";
|
|
8
|
+
};
|
|
9
|
+
readonly placeholder: StringConstructor;
|
|
10
|
+
readonly disabled: BooleanConstructor;
|
|
11
|
+
readonly clearable: BooleanConstructor;
|
|
12
|
+
readonly password: BooleanConstructor;
|
|
13
|
+
readonly prefixIcon: PropType<IconName>;
|
|
14
|
+
readonly suffixIcon: PropType<IconName>;
|
|
15
|
+
readonly name: StringConstructor;
|
|
16
|
+
readonly autocomplete: StringConstructor;
|
|
17
|
+
};
|
|
18
|
+
export declare const inputEmits: {
|
|
19
|
+
'update:modelValue': (_value: InputModelValue) => boolean;
|
|
20
|
+
input: (_value: InputModelValue) => boolean;
|
|
21
|
+
change: (_value: InputModelValue) => boolean;
|
|
22
|
+
clear: () => boolean;
|
|
23
|
+
focus: (event: FocusEvent) => boolean;
|
|
24
|
+
blur: (event: FocusEvent) => boolean;
|
|
25
|
+
};
|
|
26
|
+
export type InputProps = ExtractPropTypes<typeof inputProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type InputModelValue = string | number;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export declare const JhLink: import("../../utils/src/index").SFCWithInstall<{
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
readonly type: {
|
|
4
|
+
readonly type: import("vue").PropType<import("./index.js").LinkType>;
|
|
5
|
+
readonly default: "default";
|
|
6
|
+
readonly validator: (value: import("./index.js").LinkType) => boolean;
|
|
7
|
+
};
|
|
8
|
+
readonly href: StringConstructor;
|
|
9
|
+
readonly target: import("vue").PropType<import("./index.js").LinkTarget>;
|
|
10
|
+
readonly disabled: BooleanConstructor;
|
|
11
|
+
readonly underline: {
|
|
12
|
+
readonly type: BooleanConstructor;
|
|
13
|
+
readonly default: true;
|
|
14
|
+
};
|
|
15
|
+
readonly icon: import("vue").PropType<import("../index.js").IconName>;
|
|
16
|
+
}>> & Readonly<{
|
|
17
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
click: (event: MouseEvent) => void;
|
|
20
|
+
}, import("vue").PublicProps, {
|
|
21
|
+
readonly type: import("./index.js").LinkType;
|
|
22
|
+
readonly disabled: boolean;
|
|
23
|
+
readonly underline: boolean;
|
|
24
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
25
|
+
P: {};
|
|
26
|
+
B: {};
|
|
27
|
+
D: {};
|
|
28
|
+
C: {};
|
|
29
|
+
M: {};
|
|
30
|
+
Defaults: {};
|
|
31
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
readonly type: {
|
|
33
|
+
readonly type: import("vue").PropType<import("./index.js").LinkType>;
|
|
34
|
+
readonly default: "default";
|
|
35
|
+
readonly validator: (value: import("./index.js").LinkType) => boolean;
|
|
36
|
+
};
|
|
37
|
+
readonly href: StringConstructor;
|
|
38
|
+
readonly target: import("vue").PropType<import("./index.js").LinkTarget>;
|
|
39
|
+
readonly disabled: BooleanConstructor;
|
|
40
|
+
readonly underline: {
|
|
41
|
+
readonly type: BooleanConstructor;
|
|
42
|
+
readonly default: true;
|
|
43
|
+
};
|
|
44
|
+
readonly icon: import("vue").PropType<import("../index.js").IconName>;
|
|
45
|
+
}>> & Readonly<{
|
|
46
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
47
|
+
}>, {}, {}, {}, {}, {
|
|
48
|
+
readonly type: import("./index.js").LinkType;
|
|
49
|
+
readonly disabled: boolean;
|
|
50
|
+
readonly underline: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
__isFragment?: never;
|
|
53
|
+
__isTeleport?: never;
|
|
54
|
+
__isSuspense?: never;
|
|
55
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
readonly type: {
|
|
57
|
+
readonly type: import("vue").PropType<import("./index.js").LinkType>;
|
|
58
|
+
readonly default: "default";
|
|
59
|
+
readonly validator: (value: import("./index.js").LinkType) => boolean;
|
|
60
|
+
};
|
|
61
|
+
readonly href: StringConstructor;
|
|
62
|
+
readonly target: import("vue").PropType<import("./index.js").LinkTarget>;
|
|
63
|
+
readonly disabled: BooleanConstructor;
|
|
64
|
+
readonly underline: {
|
|
65
|
+
readonly type: BooleanConstructor;
|
|
66
|
+
readonly default: true;
|
|
67
|
+
};
|
|
68
|
+
readonly icon: import("vue").PropType<import("../index.js").IconName>;
|
|
69
|
+
}>> & Readonly<{
|
|
70
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
71
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
+
click: (event: MouseEvent) => void;
|
|
73
|
+
}, string, {
|
|
74
|
+
readonly type: import("./index.js").LinkType;
|
|
75
|
+
readonly disabled: boolean;
|
|
76
|
+
readonly underline: boolean;
|
|
77
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
78
|
+
$slots: {
|
|
79
|
+
default?: (props: {}) => any;
|
|
80
|
+
};
|
|
81
|
+
})>;
|
|
82
|
+
export default JhLink;
|
|
83
|
+
export * from './src/props';
|
|
84
|
+
export * from './src/types';
|
|
@@ -0,0 +1,48 @@
|
|
|
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 type: {
|
|
7
|
+
readonly type: import("vue").PropType<import("./types").LinkType>;
|
|
8
|
+
readonly default: "default";
|
|
9
|
+
readonly validator: (value: import("./types").LinkType) => boolean;
|
|
10
|
+
};
|
|
11
|
+
readonly href: StringConstructor;
|
|
12
|
+
readonly target: import("vue").PropType<import("./types").LinkTarget>;
|
|
13
|
+
readonly disabled: BooleanConstructor;
|
|
14
|
+
readonly underline: {
|
|
15
|
+
readonly type: BooleanConstructor;
|
|
16
|
+
readonly default: true;
|
|
17
|
+
};
|
|
18
|
+
readonly icon: import("vue").PropType<import("../..").IconName>;
|
|
19
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
click: (event: MouseEvent) => void;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
readonly type: {
|
|
23
|
+
readonly type: import("vue").PropType<import("./types").LinkType>;
|
|
24
|
+
readonly default: "default";
|
|
25
|
+
readonly validator: (value: import("./types").LinkType) => boolean;
|
|
26
|
+
};
|
|
27
|
+
readonly href: StringConstructor;
|
|
28
|
+
readonly target: import("vue").PropType<import("./types").LinkTarget>;
|
|
29
|
+
readonly disabled: BooleanConstructor;
|
|
30
|
+
readonly underline: {
|
|
31
|
+
readonly type: BooleanConstructor;
|
|
32
|
+
readonly default: true;
|
|
33
|
+
};
|
|
34
|
+
readonly icon: import("vue").PropType<import("../..").IconName>;
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
readonly type: import("./types").LinkType;
|
|
39
|
+
readonly disabled: boolean;
|
|
40
|
+
readonly underline: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { IconName } from '../../icon';
|
|
3
|
+
import type { LinkTarget, LinkType } from './types';
|
|
4
|
+
export declare const linkTypes: LinkType[];
|
|
5
|
+
export declare const linkProps: {
|
|
6
|
+
readonly type: {
|
|
7
|
+
readonly type: PropType<LinkType>;
|
|
8
|
+
readonly default: "default";
|
|
9
|
+
readonly validator: (value: LinkType) => boolean;
|
|
10
|
+
};
|
|
11
|
+
readonly href: StringConstructor;
|
|
12
|
+
readonly target: PropType<LinkTarget>;
|
|
13
|
+
readonly disabled: BooleanConstructor;
|
|
14
|
+
readonly underline: {
|
|
15
|
+
readonly type: BooleanConstructor;
|
|
16
|
+
readonly default: true;
|
|
17
|
+
};
|
|
18
|
+
readonly icon: PropType<IconName>;
|
|
19
|
+
};
|
|
20
|
+
export declare const linkEmits: {
|
|
21
|
+
click: (event: MouseEvent) => boolean;
|
|
22
|
+
};
|
|
23
|
+
export type LinkProps = ExtractPropTypes<typeof linkProps>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare var __VLS_9: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_9) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly id: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly required: true;
|
|
9
|
+
};
|
|
10
|
+
readonly message: {
|
|
11
|
+
readonly type: StringConstructor;
|
|
12
|
+
readonly default: "";
|
|
13
|
+
};
|
|
14
|
+
readonly type: {
|
|
15
|
+
readonly type: import("vue").PropType<import("./types").MessageType>;
|
|
16
|
+
readonly default: "info";
|
|
17
|
+
readonly validator: (value: import("./types").MessageType) => boolean;
|
|
18
|
+
};
|
|
19
|
+
readonly duration: {
|
|
20
|
+
readonly type: NumberConstructor;
|
|
21
|
+
readonly default: 3000;
|
|
22
|
+
};
|
|
23
|
+
readonly showClose: BooleanConstructor;
|
|
24
|
+
readonly offset: {
|
|
25
|
+
readonly type: NumberConstructor;
|
|
26
|
+
readonly default: 20;
|
|
27
|
+
};
|
|
28
|
+
readonly zIndex: {
|
|
29
|
+
readonly type: NumberConstructor;
|
|
30
|
+
readonly default: 3000;
|
|
31
|
+
};
|
|
32
|
+
readonly onClose: import("vue").PropType<() => void>;
|
|
33
|
+
readonly onDestroy: import("vue").PropType<() => void>;
|
|
34
|
+
}>, {
|
|
35
|
+
close: () => void;
|
|
36
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
readonly id: {
|
|
38
|
+
readonly type: StringConstructor;
|
|
39
|
+
readonly required: true;
|
|
40
|
+
};
|
|
41
|
+
readonly message: {
|
|
42
|
+
readonly type: StringConstructor;
|
|
43
|
+
readonly default: "";
|
|
44
|
+
};
|
|
45
|
+
readonly type: {
|
|
46
|
+
readonly type: import("vue").PropType<import("./types").MessageType>;
|
|
47
|
+
readonly default: "info";
|
|
48
|
+
readonly validator: (value: import("./types").MessageType) => boolean;
|
|
49
|
+
};
|
|
50
|
+
readonly duration: {
|
|
51
|
+
readonly type: NumberConstructor;
|
|
52
|
+
readonly default: 3000;
|
|
53
|
+
};
|
|
54
|
+
readonly showClose: BooleanConstructor;
|
|
55
|
+
readonly offset: {
|
|
56
|
+
readonly type: NumberConstructor;
|
|
57
|
+
readonly default: 20;
|
|
58
|
+
};
|
|
59
|
+
readonly zIndex: {
|
|
60
|
+
readonly type: NumberConstructor;
|
|
61
|
+
readonly default: 3000;
|
|
62
|
+
};
|
|
63
|
+
readonly onClose: import("vue").PropType<() => void>;
|
|
64
|
+
readonly onDestroy: import("vue").PropType<() => void>;
|
|
65
|
+
}>> & Readonly<{}>, {
|
|
66
|
+
readonly type: import("./types").MessageType;
|
|
67
|
+
readonly duration: number;
|
|
68
|
+
readonly message: string;
|
|
69
|
+
readonly showClose: boolean;
|
|
70
|
+
readonly offset: number;
|
|
71
|
+
readonly zIndex: number;
|
|
72
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
74
|
+
export default _default;
|
|
75
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
76
|
+
new (): {
|
|
77
|
+
$slots: S;
|
|
78
|
+
};
|
|
79
|
+
};
|