@haoyulong1112/jh-ui 0.1.0 → 0.1.1
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 +3 -3
- package/dist/components/alert/src/alert.vue.d.ts +4 -4
- package/dist/components/carousel/index.d.ts +3 -3
- package/dist/components/carousel/src/carousel.vue.d.ts +1 -1
- package/dist/components/dialog/src/dialog.vue.d.ts +3 -3
- package/dist/components/drawer/index.d.ts +3 -3
- package/dist/components/drawer/src/drawer.vue.d.ts +1 -1
- package/dist/components/icon/src/types.d.ts +1 -1
- package/dist/components/index.d.ts +2359 -1498
- package/dist/components/input/index.d.ts +33 -18
- package/dist/components/input/src/input.vue.d.ts +16 -7
- package/dist/components/input/src/props.d.ts +4 -0
- package/dist/components/message/src/message.vue.d.ts +3 -3
- package/dist/components/message/src/types.d.ts +2 -1
- package/dist/components/message-box/src/message-box.vue.d.ts +6 -6
- package/dist/components/notification/src/notification.vue.d.ts +3 -3
- package/dist/components/slider/index.d.ts +56 -0
- package/dist/components/slider/src/props.d.ts +27 -0
- package/dist/components/slider/src/slider.vue.d.ts +55 -0
- package/dist/components/switch/index.d.ts +52 -0
- package/dist/components/switch/src/props.d.ts +26 -0
- package/dist/components/switch/src/switch.vue.d.ts +51 -0
- package/dist/components/table/index.d.ts +47 -0
- package/dist/components/table/src/props.d.ts +7 -0
- package/dist/components/table/src/table.vue.d.ts +36 -4
- package/dist/components/table/src/types.d.ts +4 -0
- package/dist/components/tooltip/index.d.ts +161 -0
- package/dist/components/tooltip/src/props.d.ts +41 -0
- package/dist/components/tooltip/src/tooltip.vue.d.ts +93 -0
- package/dist/components/tree/index.d.ts +3 -3
- package/dist/components/tree/src/tree.vue.d.ts +1 -1
- package/dist/es/components/alert/style/style.css +1 -5
- package/dist/es/components/input/style/style.css +10 -0
- package/dist/es/components/message/style/style.css +3 -5
- package/dist/es/components/message-box/style/style.css +1 -5
- package/dist/es/components/notification/style/style.css +3 -6
- package/dist/es/components/slider/style/css.js +1 -0
- package/dist/es/components/slider/style/style.css +110 -0
- package/dist/es/components/switch/style/css.js +1 -0
- package/dist/es/components/switch/style/style.css +112 -0
- package/dist/es/components/table/style/style.css +97 -14
- package/dist/es/components/tooltip/style/css.js +1 -0
- package/dist/es/components/tooltip/style/style.css +181 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.mjs +2401 -1797
- package/dist/index.mjs.map +1 -1
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.cjs.map +1 -1
- package/dist/resolver.mjs +10 -7
- package/dist/resolver.mjs.map +1 -1
- package/package.json +4 -1
|
@@ -28,9 +28,9 @@ export declare const JhAlert: import("../../utils/src/index").SFCWithInstall<{
|
|
|
28
28
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
29
|
close: () => void;
|
|
30
30
|
}, import("vue").PublicProps, {
|
|
31
|
-
readonly type: import("./index.js").AlertType;
|
|
32
31
|
readonly title: string;
|
|
33
32
|
readonly description: string;
|
|
33
|
+
readonly type: import("./index.js").AlertType;
|
|
34
34
|
readonly effect: import("./index.js").AlertEffect;
|
|
35
35
|
readonly closable: boolean;
|
|
36
36
|
readonly showIcon: boolean;
|
|
@@ -68,9 +68,9 @@ export declare const JhAlert: import("../../utils/src/index").SFCWithInstall<{
|
|
|
68
68
|
}>> & Readonly<{
|
|
69
69
|
onClose?: (() => any) | undefined;
|
|
70
70
|
}>, {}, {}, {}, {}, {
|
|
71
|
-
readonly type: import("./index.js").AlertType;
|
|
72
71
|
readonly title: string;
|
|
73
72
|
readonly description: string;
|
|
73
|
+
readonly type: import("./index.js").AlertType;
|
|
74
74
|
readonly effect: import("./index.js").AlertEffect;
|
|
75
75
|
readonly closable: boolean;
|
|
76
76
|
readonly showIcon: boolean;
|
|
@@ -107,9 +107,9 @@ export declare const JhAlert: import("../../utils/src/index").SFCWithInstall<{
|
|
|
107
107
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
108
108
|
close: () => void;
|
|
109
109
|
}, string, {
|
|
110
|
-
readonly type: import("./index.js").AlertType;
|
|
111
110
|
readonly title: string;
|
|
112
111
|
readonly description: string;
|
|
112
|
+
readonly type: import("./index.js").AlertType;
|
|
113
113
|
readonly effect: import("./index.js").AlertEffect;
|
|
114
114
|
readonly closable: boolean;
|
|
115
115
|
readonly showIcon: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare var
|
|
1
|
+
declare var __VLS_5: {}, __VLS_7: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
|
-
title?: (props: typeof
|
|
3
|
+
title?: (props: typeof __VLS_5) => any;
|
|
4
4
|
} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_7) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
readonly title: {
|
|
@@ -57,9 +57,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
57
57
|
}>> & Readonly<{
|
|
58
58
|
onClose?: (() => any) | undefined;
|
|
59
59
|
}>, {
|
|
60
|
-
readonly type: import("./types").AlertType;
|
|
61
60
|
readonly title: string;
|
|
62
61
|
readonly description: string;
|
|
62
|
+
readonly type: import("./types").AlertType;
|
|
63
63
|
readonly effect: import("./types").AlertEffect;
|
|
64
64
|
readonly closable: boolean;
|
|
65
65
|
readonly showIcon: boolean;
|
|
@@ -36,8 +36,8 @@ export declare const JhCarousel: import("../../utils/src/index").SFCWithInstall<
|
|
|
36
36
|
change: (current: number, previous: number) => void;
|
|
37
37
|
"update:modelValue": (value: number) => void;
|
|
38
38
|
}, import("vue").PublicProps, {
|
|
39
|
-
readonly modelValue: number;
|
|
40
39
|
readonly height: string;
|
|
40
|
+
readonly modelValue: number;
|
|
41
41
|
readonly autoplay: boolean;
|
|
42
42
|
readonly interval: number;
|
|
43
43
|
readonly loop: boolean;
|
|
@@ -84,8 +84,8 @@ export declare const JhCarousel: import("../../utils/src/index").SFCWithInstall<
|
|
|
84
84
|
onChange?: ((current: number, previous: number) => any) | undefined;
|
|
85
85
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
86
86
|
}>, {}, {}, {}, {}, {
|
|
87
|
-
readonly modelValue: number;
|
|
88
87
|
readonly height: string;
|
|
88
|
+
readonly modelValue: number;
|
|
89
89
|
readonly autoplay: boolean;
|
|
90
90
|
readonly interval: number;
|
|
91
91
|
readonly loop: boolean;
|
|
@@ -132,8 +132,8 @@ export declare const JhCarousel: import("../../utils/src/index").SFCWithInstall<
|
|
|
132
132
|
change: (current: number, previous: number) => void;
|
|
133
133
|
"update:modelValue": (value: number) => void;
|
|
134
134
|
}, string, {
|
|
135
|
-
readonly modelValue: number;
|
|
136
135
|
readonly height: string;
|
|
136
|
+
readonly modelValue: number;
|
|
137
137
|
readonly autoplay: boolean;
|
|
138
138
|
readonly interval: number;
|
|
139
139
|
readonly loop: boolean;
|
|
@@ -69,8 +69,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
69
69
|
onChange?: ((current: number, previous: number) => any) | undefined;
|
|
70
70
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
71
71
|
}>, {
|
|
72
|
-
readonly modelValue: number;
|
|
73
72
|
readonly height: string;
|
|
73
|
+
readonly modelValue: number;
|
|
74
74
|
readonly autoplay: boolean;
|
|
75
75
|
readonly interval: number;
|
|
76
76
|
readonly loop: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare var __VLS_13: {},
|
|
1
|
+
declare var __VLS_13: {}, __VLS_19: {}, __VLS_21: {};
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
header?: (props: typeof __VLS_13) => any;
|
|
4
4
|
} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_19) => any;
|
|
6
6
|
} & {
|
|
7
|
-
footer?: (props: typeof
|
|
7
|
+
footer?: (props: typeof __VLS_21) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
10
|
readonly modelValue: BooleanConstructor;
|
|
@@ -36,9 +36,9 @@ export declare const JhDrawer: import("../../utils/src/index").SFCWithInstall<{
|
|
|
36
36
|
readonly size: string;
|
|
37
37
|
readonly title: string;
|
|
38
38
|
readonly modelValue: boolean;
|
|
39
|
+
readonly direction: import("./index.js").DrawerDirection;
|
|
39
40
|
readonly closeOnClickModal: boolean;
|
|
40
41
|
readonly beforeClose: import("./index.js").DrawerBeforeClose;
|
|
41
|
-
readonly direction: import("./index.js").DrawerDirection;
|
|
42
42
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
43
43
|
P: {};
|
|
44
44
|
B: {};
|
|
@@ -78,9 +78,9 @@ export declare const JhDrawer: import("../../utils/src/index").SFCWithInstall<{
|
|
|
78
78
|
readonly size: string;
|
|
79
79
|
readonly title: string;
|
|
80
80
|
readonly modelValue: boolean;
|
|
81
|
+
readonly direction: import("./index.js").DrawerDirection;
|
|
81
82
|
readonly closeOnClickModal: boolean;
|
|
82
83
|
readonly beforeClose: import("./index.js").DrawerBeforeClose;
|
|
83
|
-
readonly direction: import("./index.js").DrawerDirection;
|
|
84
84
|
}>;
|
|
85
85
|
__isFragment?: never;
|
|
86
86
|
__isTeleport?: never;
|
|
@@ -122,9 +122,9 @@ export declare const JhDrawer: import("../../utils/src/index").SFCWithInstall<{
|
|
|
122
122
|
readonly size: string;
|
|
123
123
|
readonly title: string;
|
|
124
124
|
readonly modelValue: boolean;
|
|
125
|
+
readonly direction: import("./index.js").DrawerDirection;
|
|
125
126
|
readonly closeOnClickModal: boolean;
|
|
126
127
|
readonly beforeClose: import("./index.js").DrawerBeforeClose;
|
|
127
|
-
readonly direction: import("./index.js").DrawerDirection;
|
|
128
128
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
129
129
|
$slots: {
|
|
130
130
|
header?: (props: {}) => any;
|
|
@@ -66,9 +66,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
66
66
|
readonly size: string;
|
|
67
67
|
readonly title: string;
|
|
68
68
|
readonly modelValue: boolean;
|
|
69
|
+
readonly direction: import("./types").DrawerDirection;
|
|
69
70
|
readonly closeOnClickModal: boolean;
|
|
70
71
|
readonly beforeClose: import("./types").DrawerBeforeClose;
|
|
71
|
-
readonly direction: import("./types").DrawerDirection;
|
|
72
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
73
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
74
74
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type IconName = 'plus' | 'close' | 'search' | 'eye' | 'eye-off' | 'loading' | 'arrow-left' | 'arrow-right';
|
|
1
|
+
export type IconName = 'plus' | 'close' | 'search' | 'eye' | 'eye-off' | 'loading' | 'arrow-left' | 'arrow-right' | 'caret-up' | 'caret-down' | 'check' | 'warning' | 'info' | 'error' | 'edit' | 'delete' | 'setting' | 'user' | 'home' | 'calendar' | 'clock' | 'refresh' | 'upload' | 'download' | 'star' | 'heart' | 'message' | 'menu' | 'more' | 'document' | 'folder';
|