zhihao-ui 1.1.2 → 1.1.4
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/components.ts +4 -0
- package/dist/es/BaseInfo-BkvnHbZn.js +53 -0
- package/dist/es/DetailHeader-BYcPM2qZ.js +57 -0
- package/dist/es/{Dialog-BASeD5f8.js → Dialog-BEZ3yodA.js} +1 -1
- package/dist/es/{MessageBox-26ImfgOR.js → MessageBox-DrIbylqd.js} +1 -1
- package/dist/es/index.js +12 -8
- package/dist/index.css +1 -1
- package/dist/types/components/BaseInfo/BaseInfo.vue.d.ts +48 -0
- package/dist/types/components/BaseInfo/index.d.ts +101 -0
- package/dist/types/components/BaseInfo/types.d.ts +7 -0
- package/dist/types/components/DetailHeader/DetailHeader.vue.d.ts +25 -0
- package/dist/types/components/DetailHeader/index.d.ts +62 -0
- package/dist/types/components/DetailHeader/types.d.ts +10 -0
- package/dist/types/components/Grid/Grid.vue.d.ts +1 -1
- package/dist/types/components/Grid/index.d.ts +15 -15
- package/dist/types/components/Input/Input.vue.d.ts +9 -9
- package/dist/types/components/Input/index.d.ts +15 -15
- package/dist/types/components/MessageBox/MessageBox.vue.d.ts +2 -2
- package/dist/types/components/MessageBox/index.d.ts +3 -3
- package/dist/types/components/MoneyInput/MoneyInput.vue.d.ts +4 -4
- package/dist/types/components/MoneyInput/index.d.ts +6 -6
- package/dist/types/components/index.d.ts +2 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +11 -11
- package/index.ts +7 -0
- package/package.json +1 -21
- package/vite.es.config.ts +62 -0
- package/vite.umd.config.ts +54 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { BaseInfoProps } from './types';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseInfoProps>, {
|
|
7
|
+
labelWidth: string;
|
|
8
|
+
contentWidth: undefined;
|
|
9
|
+
infoDirection: string;
|
|
10
|
+
cols: number;
|
|
11
|
+
gap: number;
|
|
12
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BaseInfoProps>, {
|
|
13
|
+
labelWidth: string;
|
|
14
|
+
contentWidth: undefined;
|
|
15
|
+
infoDirection: string;
|
|
16
|
+
cols: number;
|
|
17
|
+
gap: number;
|
|
18
|
+
}>>> & Readonly<{}>, {
|
|
19
|
+
contentWidth: string | number;
|
|
20
|
+
labelWidth: string | number;
|
|
21
|
+
infoDirection: "horizontal" | "vertical";
|
|
22
|
+
cols: number;
|
|
23
|
+
gap: [number, number] | number;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_WithDefaults<P, D> = {
|
|
37
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
+
default: D[K];
|
|
39
|
+
}> : P[K];
|
|
40
|
+
};
|
|
41
|
+
type __VLS_Prettify<T> = {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} & {};
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
export declare const ZhBaseInfo: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
contentWidth: {
|
|
4
|
+
type: import('vue').PropType<string | number>;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
labelWidth: {
|
|
8
|
+
type: import('vue').PropType<string | number>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
infoDirection: {
|
|
12
|
+
type: import('vue').PropType<"horizontal" | "vertical">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
cols: {
|
|
16
|
+
type: import('vue').PropType<number>;
|
|
17
|
+
required: true;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
gap: {
|
|
21
|
+
type: import('vue').PropType<number | [number, number]>;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
25
|
+
contentWidth: string | number;
|
|
26
|
+
labelWidth: string | number;
|
|
27
|
+
infoDirection: "horizontal" | "vertical";
|
|
28
|
+
cols: number;
|
|
29
|
+
gap: [number, number] | 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
|
+
contentWidth: {
|
|
39
|
+
type: import('vue').PropType<string | number>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
labelWidth: {
|
|
43
|
+
type: import('vue').PropType<string | number>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
infoDirection: {
|
|
47
|
+
type: import('vue').PropType<"horizontal" | "vertical">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
cols: {
|
|
51
|
+
type: import('vue').PropType<number>;
|
|
52
|
+
required: true;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
gap: {
|
|
56
|
+
type: import('vue').PropType<number | [number, number]>;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
60
|
+
contentWidth: string | number;
|
|
61
|
+
labelWidth: string | number;
|
|
62
|
+
infoDirection: "horizontal" | "vertical";
|
|
63
|
+
cols: number;
|
|
64
|
+
gap: [number, number] | number;
|
|
65
|
+
}>;
|
|
66
|
+
__isFragment?: never;
|
|
67
|
+
__isTeleport?: never;
|
|
68
|
+
__isSuspense?: never;
|
|
69
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
70
|
+
contentWidth: {
|
|
71
|
+
type: import('vue').PropType<string | number>;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
labelWidth: {
|
|
75
|
+
type: import('vue').PropType<string | number>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
infoDirection: {
|
|
79
|
+
type: import('vue').PropType<"horizontal" | "vertical">;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
cols: {
|
|
83
|
+
type: import('vue').PropType<number>;
|
|
84
|
+
required: true;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
gap: {
|
|
88
|
+
type: import('vue').PropType<number | [number, number]>;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
92
|
+
contentWidth: string | number;
|
|
93
|
+
labelWidth: string | number;
|
|
94
|
+
infoDirection: "horizontal" | "vertical";
|
|
95
|
+
cols: number;
|
|
96
|
+
gap: [number, number] | number;
|
|
97
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
98
|
+
$slots: {
|
|
99
|
+
default?(_: {}): any;
|
|
100
|
+
};
|
|
101
|
+
}) & import('vue').Plugin;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DetailHeaderProps } from './types';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
menu?(_: {}): any;
|
|
5
|
+
"extra-info"?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
"right-infos"?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DetailHeaderProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<DetailHeaderProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const ZhDetailHeader: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
title: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
leftInfos: {
|
|
8
|
+
type: import('vue').PropType<import('./types').Info[]>;
|
|
9
|
+
};
|
|
10
|
+
rightInfos: {
|
|
11
|
+
type: import('vue').PropType<import('./types').Info[]>;
|
|
12
|
+
};
|
|
13
|
+
stateMeta: {
|
|
14
|
+
type: import('vue').PropType<any>;
|
|
15
|
+
};
|
|
16
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
17
|
+
P: {};
|
|
18
|
+
B: {};
|
|
19
|
+
D: {};
|
|
20
|
+
C: {};
|
|
21
|
+
M: {};
|
|
22
|
+
Defaults: {};
|
|
23
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
title: {
|
|
25
|
+
type: import('vue').PropType<string>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
leftInfos: {
|
|
29
|
+
type: import('vue').PropType<import('./types').Info[]>;
|
|
30
|
+
};
|
|
31
|
+
rightInfos: {
|
|
32
|
+
type: import('vue').PropType<import('./types').Info[]>;
|
|
33
|
+
};
|
|
34
|
+
stateMeta: {
|
|
35
|
+
type: import('vue').PropType<any>;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
38
|
+
__isFragment?: never;
|
|
39
|
+
__isTeleport?: never;
|
|
40
|
+
__isSuspense?: never;
|
|
41
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
+
title: {
|
|
43
|
+
type: import('vue').PropType<string>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
leftInfos: {
|
|
47
|
+
type: import('vue').PropType<import('./types').Info[]>;
|
|
48
|
+
};
|
|
49
|
+
rightInfos: {
|
|
50
|
+
type: import('vue').PropType<import('./types').Info[]>;
|
|
51
|
+
};
|
|
52
|
+
stateMeta: {
|
|
53
|
+
type: import('vue').PropType<any>;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
56
|
+
$slots: {
|
|
57
|
+
menu?(_: {}): any;
|
|
58
|
+
"extra-info"?(_: {}): any;
|
|
59
|
+
default?(_: {}): any;
|
|
60
|
+
"right-infos"?(_: {}): any;
|
|
61
|
+
};
|
|
62
|
+
}) & import('vue').Plugin;
|
|
@@ -35,9 +35,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
35
35
|
gap: number;
|
|
36
36
|
}>>> & Readonly<{}>, {
|
|
37
37
|
cols: number | Record<BreakPoint, number>;
|
|
38
|
+
gap: [number, number] | number;
|
|
38
39
|
collapsed: boolean;
|
|
39
40
|
collapsedRows: number;
|
|
40
|
-
gap: [number, number] | number;
|
|
41
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
43
|
export default _default;
|
|
@@ -10,6 +10,10 @@ export declare const ZhGrid: {
|
|
|
10
10
|
xl: number;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
+
gap: {
|
|
14
|
+
type: import('vue').PropType<number | [number, number]>;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
13
17
|
collapsed: {
|
|
14
18
|
type: import('vue').PropType<boolean>;
|
|
15
19
|
default: boolean;
|
|
@@ -18,17 +22,13 @@ export declare const ZhGrid: {
|
|
|
18
22
|
type: import('vue').PropType<number>;
|
|
19
23
|
default: number;
|
|
20
24
|
};
|
|
21
|
-
gap: {
|
|
22
|
-
type: import('vue').PropType<number | [number, number]>;
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
25
|
}>> & Readonly<{}>, {
|
|
26
26
|
breakPoint: import('vue').Ref<import('./interface').BreakPoint, import('./interface').BreakPoint>;
|
|
27
27
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
28
28
|
cols: number | Record<import('./interface').BreakPoint, number>;
|
|
29
|
+
gap: [number, number] | number;
|
|
29
30
|
collapsed: boolean;
|
|
30
31
|
collapsedRows: number;
|
|
31
|
-
gap: [number, number] | number;
|
|
32
32
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
33
33
|
P: {};
|
|
34
34
|
B: {};
|
|
@@ -47,6 +47,10 @@ export declare const ZhGrid: {
|
|
|
47
47
|
xl: number;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
|
+
gap: {
|
|
51
|
+
type: import('vue').PropType<number | [number, number]>;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
50
54
|
collapsed: {
|
|
51
55
|
type: import('vue').PropType<boolean>;
|
|
52
56
|
default: boolean;
|
|
@@ -55,17 +59,13 @@ export declare const ZhGrid: {
|
|
|
55
59
|
type: import('vue').PropType<number>;
|
|
56
60
|
default: number;
|
|
57
61
|
};
|
|
58
|
-
gap: {
|
|
59
|
-
type: import('vue').PropType<number | [number, number]>;
|
|
60
|
-
default: number;
|
|
61
|
-
};
|
|
62
62
|
}>> & Readonly<{}>, {
|
|
63
63
|
breakPoint: import('vue').Ref<import('./interface').BreakPoint, import('./interface').BreakPoint>;
|
|
64
64
|
}, {}, {}, {}, {
|
|
65
65
|
cols: number | Record<import('./interface').BreakPoint, number>;
|
|
66
|
+
gap: [number, number] | number;
|
|
66
67
|
collapsed: boolean;
|
|
67
68
|
collapsedRows: number;
|
|
68
|
-
gap: [number, number] | number;
|
|
69
69
|
}>;
|
|
70
70
|
__isFragment?: never;
|
|
71
71
|
__isTeleport?: never;
|
|
@@ -81,6 +81,10 @@ export declare const ZhGrid: {
|
|
|
81
81
|
xl: number;
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
|
+
gap: {
|
|
85
|
+
type: import('vue').PropType<number | [number, number]>;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
84
88
|
collapsed: {
|
|
85
89
|
type: import('vue').PropType<boolean>;
|
|
86
90
|
default: boolean;
|
|
@@ -89,17 +93,13 @@ export declare const ZhGrid: {
|
|
|
89
93
|
type: import('vue').PropType<number>;
|
|
90
94
|
default: number;
|
|
91
95
|
};
|
|
92
|
-
gap: {
|
|
93
|
-
type: import('vue').PropType<number | [number, number]>;
|
|
94
|
-
default: number;
|
|
95
|
-
};
|
|
96
96
|
}>> & Readonly<{}>, {
|
|
97
97
|
breakPoint: import('vue').Ref<import('./interface').BreakPoint, import('./interface').BreakPoint>;
|
|
98
98
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
99
99
|
cols: number | Record<import('./interface').BreakPoint, number>;
|
|
100
|
+
gap: [number, number] | number;
|
|
100
101
|
collapsed: boolean;
|
|
101
102
|
collapsedRows: number;
|
|
102
|
-
gap: [number, number] | number;
|
|
103
103
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
104
104
|
$slots: {
|
|
105
105
|
default?(_: {}): any;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
declare function __VLS_template(): Partial<Record<import('vue').Slot<any>, (_: any) => any>>;
|
|
3
3
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
5
|
-
|
|
6
|
-
type: import('vue').PropType<
|
|
5
|
+
class: {
|
|
6
|
+
type: import('vue').PropType<string>;
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
style: {
|
|
10
10
|
type: import('vue').PropType<any>;
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
type: import('vue').PropType<
|
|
12
|
+
size: {
|
|
13
|
+
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
className: {
|
|
@@ -18,23 +18,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
18
18
|
};
|
|
19
19
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
21
|
-
|
|
22
|
-
type: import('vue').PropType<
|
|
21
|
+
class: {
|
|
22
|
+
type: import('vue').PropType<string>;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
style: {
|
|
26
26
|
type: import('vue').PropType<any>;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
type: import('vue').PropType<
|
|
28
|
+
size: {
|
|
29
|
+
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
className: {
|
|
33
33
|
type: import('vue').PropType<string>;
|
|
34
34
|
};
|
|
35
35
|
}>> & Readonly<{}>, {
|
|
36
|
-
size: "small" | "default" | "larger";
|
|
37
36
|
class: "zh-default-input" | "zh-fill-input" | string;
|
|
37
|
+
size: "small" | "default" | "larger";
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
40
|
export default _default;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export declare const ZhInput: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
4
|
-
|
|
5
|
-
type: import('vue').PropType<
|
|
4
|
+
class: {
|
|
5
|
+
type: import('vue').PropType<string>;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
style: {
|
|
9
9
|
type: import('vue').PropType<any>;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
type: import('vue').PropType<
|
|
11
|
+
size: {
|
|
12
|
+
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
className: {
|
|
16
16
|
type: import('vue').PropType<string>;
|
|
17
17
|
};
|
|
18
18
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
19
|
-
size: "small" | "default" | "larger";
|
|
20
19
|
class: "zh-default-input" | "zh-fill-input" | string;
|
|
20
|
+
size: "small" | "default" | "larger";
|
|
21
21
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
22
22
|
P: {};
|
|
23
23
|
B: {};
|
|
@@ -27,46 +27,46 @@ export declare const ZhInput: {
|
|
|
27
27
|
Defaults: {};
|
|
28
28
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
29
29
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
30
|
-
|
|
31
|
-
type: import('vue').PropType<
|
|
30
|
+
class: {
|
|
31
|
+
type: import('vue').PropType<string>;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
style: {
|
|
35
35
|
type: import('vue').PropType<any>;
|
|
36
36
|
};
|
|
37
|
-
|
|
38
|
-
type: import('vue').PropType<
|
|
37
|
+
size: {
|
|
38
|
+
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
className: {
|
|
42
42
|
type: import('vue').PropType<string>;
|
|
43
43
|
};
|
|
44
44
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
45
|
-
size: "small" | "default" | "larger";
|
|
46
45
|
class: "zh-default-input" | "zh-fill-input" | string;
|
|
46
|
+
size: "small" | "default" | "larger";
|
|
47
47
|
}>;
|
|
48
48
|
__isFragment?: never;
|
|
49
49
|
__isTeleport?: never;
|
|
50
50
|
__isSuspense?: never;
|
|
51
51
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
52
52
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
53
|
-
|
|
54
|
-
type: import('vue').PropType<
|
|
53
|
+
class: {
|
|
54
|
+
type: import('vue').PropType<string>;
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
57
|
style: {
|
|
58
58
|
type: import('vue').PropType<any>;
|
|
59
59
|
};
|
|
60
|
-
|
|
61
|
-
type: import('vue').PropType<
|
|
60
|
+
size: {
|
|
61
|
+
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
62
62
|
default: string;
|
|
63
63
|
};
|
|
64
64
|
className: {
|
|
65
65
|
type: import('vue').PropType<string>;
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
68
|
-
size: "small" | "default" | "larger";
|
|
69
68
|
class: "zh-default-input" | "zh-fill-input" | string;
|
|
69
|
+
size: "small" | "default" | "larger";
|
|
70
70
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
71
71
|
$slots: Partial<Record<import('vue').Slot<any>, (_: any) => any>>;
|
|
72
72
|
}) & import('vue').Plugin;
|
|
@@ -59,7 +59,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
59
59
|
readonly id?: string | undefined;
|
|
60
60
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
61
61
|
readonly placeholder?: string | undefined;
|
|
62
|
-
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "
|
|
62
|
+
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
63
63
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
64
64
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
65
65
|
readonly formatter?: Function | undefined;
|
|
@@ -167,7 +167,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
167
167
|
readonly id?: string | undefined;
|
|
168
168
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
169
169
|
readonly placeholder?: string | undefined;
|
|
170
|
-
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "
|
|
170
|
+
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
171
171
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
172
172
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
173
173
|
readonly formatter?: Function | undefined;
|
|
@@ -59,7 +59,7 @@ export declare const ZhMessageBox: {
|
|
|
59
59
|
readonly id?: string | undefined;
|
|
60
60
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
61
61
|
readonly placeholder?: string | undefined;
|
|
62
|
-
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "
|
|
62
|
+
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
63
63
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
64
64
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
65
65
|
readonly formatter?: Function | undefined;
|
|
@@ -177,7 +177,7 @@ export declare const ZhMessageBox: {
|
|
|
177
177
|
readonly id?: string | undefined;
|
|
178
178
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
179
179
|
readonly placeholder?: string | undefined;
|
|
180
|
-
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "
|
|
180
|
+
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
181
181
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
182
182
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
183
183
|
readonly formatter?: Function | undefined;
|
|
@@ -289,7 +289,7 @@ export declare const ZhMessageBox: {
|
|
|
289
289
|
readonly id?: string | undefined;
|
|
290
290
|
readonly prefixIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
291
291
|
readonly placeholder?: string | undefined;
|
|
292
|
-
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "
|
|
292
|
+
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown> | undefined;
|
|
293
293
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
294
294
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
295
295
|
readonly formatter?: Function | undefined;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
|
|
3
3
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
5
|
-
|
|
5
|
+
class: {
|
|
6
6
|
type: import('vue').PropType<any>;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
style: {
|
|
9
9
|
type: import('vue').PropType<any>;
|
|
10
10
|
};
|
|
11
11
|
showTooltip: {
|
|
@@ -16,10 +16,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
16
16
|
"update:modelValue": (value: number) => void;
|
|
17
17
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
18
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
19
|
-
|
|
19
|
+
class: {
|
|
20
20
|
type: import('vue').PropType<any>;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
style: {
|
|
23
23
|
type: import('vue').PropType<any>;
|
|
24
24
|
};
|
|
25
25
|
showTooltip: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const ZhMoneyInput: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
4
|
-
|
|
4
|
+
class: {
|
|
5
5
|
type: import('vue').PropType<any>;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
style: {
|
|
8
8
|
type: import('vue').PropType<any>;
|
|
9
9
|
};
|
|
10
10
|
showTooltip: {
|
|
@@ -26,10 +26,10 @@ export declare const ZhMoneyInput: {
|
|
|
26
26
|
Defaults: {};
|
|
27
27
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
28
28
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
29
|
-
|
|
29
|
+
class: {
|
|
30
30
|
type: import('vue').PropType<any>;
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
style: {
|
|
33
33
|
type: import('vue').PropType<any>;
|
|
34
34
|
};
|
|
35
35
|
showTooltip: {
|
|
@@ -46,10 +46,10 @@ export declare const ZhMoneyInput: {
|
|
|
46
46
|
__isSuspense?: never;
|
|
47
47
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
48
48
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
49
|
-
|
|
49
|
+
class: {
|
|
50
50
|
type: import('vue').PropType<any>;
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
style: {
|
|
53
53
|
type: import('vue').PropType<any>;
|
|
54
54
|
};
|
|
55
55
|
showTooltip: {
|