zhihao-ui 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/{Button-CUB5krFr.js → Button-Q7GkKwFF.js} +3 -2
- package/dist/es/DatePicker-D8LPaPf6.js +57 -0
- package/dist/es/DetailSubTitle-C5pVYJhX.js +35 -0
- package/dist/es/Dialog-BASeD5f8.js +74 -0
- package/dist/es/EditInfoPair-CM5piQwT.js +36 -0
- package/dist/es/FileWrapper-DN-KKB9p.js +77 -0
- package/dist/es/Grid-Ds-Jy0Mn.js +96 -0
- package/dist/es/InfoPair-CnBR3fy9.js +36 -0
- package/dist/es/Input-C1s8JqmI.js +88 -0
- package/dist/es/Loading-DELLXz7f.js +22 -0
- package/dist/es/MessageBox-26ImfgOR.js +100 -0
- package/dist/es/MoneyInput-Dt_ZE-zv.js +53 -0
- package/dist/es/PageHeadPanel-CdohXWA9.js +32 -0
- package/dist/es/ToolTips-CxyQMewg.js +37 -0
- package/dist/es/index.js +32 -5
- package/dist/es/{utils-Dj4hZBjs.js → utils-DBdiSe6_.js} +1 -1
- package/dist/es/vendor-mKFy0Hb6.js +12409 -0
- package/dist/index.css +1 -1
- package/dist/types/components/DatePicker/DatePicker.vue.d.ts +28 -0
- package/dist/types/components/DatePicker/index.d.ts +70 -0
- package/dist/types/components/DatePicker/types.d.ts +1 -0
- package/dist/types/components/DetailSubTitle/DetailSubTitle.vue.d.ts +30 -0
- package/dist/types/components/DetailSubTitle/index.d.ts +59 -0
- package/dist/types/components/DetailSubTitle/types.d.ts +7 -0
- package/dist/types/components/Dialog/Dialog.vue.d.ts +48 -0
- package/dist/types/components/Dialog/index.d.ts +77 -0
- package/dist/types/components/Dialog/types.d.ts +6 -0
- package/dist/types/components/EditInfoPair/EditInfoPair.vue.d.ts +30 -0
- package/dist/types/components/EditInfoPair/index.d.ts +59 -0
- package/dist/types/components/EditInfoPair/types.d.ts +1 -0
- package/dist/types/components/FileWrapper/FileWrapper.vue.d.ts +64 -0
- package/dist/types/components/FileWrapper/index.d.ts +119 -0
- package/dist/types/components/FileWrapper/types.d.ts +1 -0
- package/dist/types/components/Grid/Grid.vue.d.ts +65 -0
- package/dist/types/components/Grid/index.d.ts +107 -0
- package/dist/types/components/Grid/interface/index.d.ts +5 -0
- package/dist/types/components/Grid/types.d.ts +1 -0
- package/dist/types/components/InfoPair/InfoPair.vue.d.ts +30 -0
- package/dist/types/components/InfoPair/index.d.ts +59 -0
- package/dist/types/components/InfoPair/types.d.ts +1 -0
- package/dist/types/components/Input/Input.vue.d.ts +45 -0
- package/dist/types/components/Input/index.d.ts +72 -0
- package/dist/types/components/Input/types.d.ts +1 -0
- package/dist/types/components/InputNumber/InputNumber.vue.d.ts +33 -0
- package/dist/types/components/InputNumber/index.d.ts +67 -0
- package/dist/types/components/InputNumber/types.d.ts +1 -0
- package/dist/types/components/Loading/Loading.vue.d.ts +2 -0
- package/dist/types/components/Loading/index.d.ts +13 -0
- package/dist/types/components/Loading/types.d.ts +1 -0
- package/dist/types/components/MessageBox/MessageBox.vue.d.ts +219 -0
- package/dist/types/components/MessageBox/index.d.ts +343 -0
- package/dist/types/components/MessageBox/types.d.ts +20 -0
- package/dist/types/components/MoneyInput/MoneyInput.vue.d.ts +40 -0
- package/dist/types/components/MoneyInput/index.d.ts +67 -0
- package/dist/types/components/MoneyInput/types.d.ts +1 -0
- package/dist/types/components/PageHeadPanel/PageHeadPanel.vue.d.ts +30 -0
- package/dist/types/components/PageHeadPanel/index.d.ts +32 -0
- package/dist/types/components/PageHeadPanel/types.d.ts +1 -0
- package/dist/types/components/ToolTips/ToolTips.vue.d.ts +33 -0
- package/dist/types/components/ToolTips/index.d.ts +53 -0
- package/dist/types/components/ToolTips/types.d.ts +1 -0
- package/dist/types/components/const.d.ts +4 -0
- package/dist/types/components/index.d.ts +14 -0
- package/dist/types/components/utils.d.ts +4 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +40 -1
- package/package.json +1 -1
- package/dist/es/vendor-Co4JjPth.js +0 -157
- package/dist/types/components/vitest.config.d.ts +0 -2
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const ZhMoneyInput: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: import('vue').PropType<string | number | undefined>;
|
|
4
|
+
style: {
|
|
5
|
+
type: import('vue').PropType<any>;
|
|
6
|
+
};
|
|
7
|
+
class: {
|
|
8
|
+
type: import('vue').PropType<any>;
|
|
9
|
+
};
|
|
10
|
+
showTooltip: {
|
|
11
|
+
type: import('vue').PropType<boolean>;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: number) => void;
|
|
18
|
+
}, import('vue').PublicProps, {
|
|
19
|
+
showTooltip: boolean;
|
|
20
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
21
|
+
P: {};
|
|
22
|
+
B: {};
|
|
23
|
+
D: {};
|
|
24
|
+
C: {};
|
|
25
|
+
M: {};
|
|
26
|
+
Defaults: {};
|
|
27
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
modelValue: import('vue').PropType<string | number | undefined>;
|
|
29
|
+
style: {
|
|
30
|
+
type: import('vue').PropType<any>;
|
|
31
|
+
};
|
|
32
|
+
class: {
|
|
33
|
+
type: import('vue').PropType<any>;
|
|
34
|
+
};
|
|
35
|
+
showTooltip: {
|
|
36
|
+
type: import('vue').PropType<boolean>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{
|
|
40
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, {
|
|
42
|
+
showTooltip: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
__isFragment?: never;
|
|
45
|
+
__isTeleport?: never;
|
|
46
|
+
__isSuspense?: never;
|
|
47
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
modelValue: import('vue').PropType<string | number | undefined>;
|
|
49
|
+
style: {
|
|
50
|
+
type: import('vue').PropType<any>;
|
|
51
|
+
};
|
|
52
|
+
class: {
|
|
53
|
+
type: import('vue').PropType<any>;
|
|
54
|
+
};
|
|
55
|
+
showTooltip: {
|
|
56
|
+
type: import('vue').PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{
|
|
60
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
61
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
|
+
"update:modelValue": (value: number) => void;
|
|
63
|
+
}, string, {
|
|
64
|
+
showTooltip: boolean;
|
|
65
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
66
|
+
$slots: Partial<Record<string, (_: any) => any>>;
|
|
67
|
+
}) & import('vue').Plugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface DataSourceType {
|
|
2
|
+
name: string;
|
|
3
|
+
no?: number | string;
|
|
4
|
+
status?: string;
|
|
5
|
+
extendLabel?: string;
|
|
6
|
+
extendValue?: string | number;
|
|
7
|
+
}
|
|
8
|
+
interface propsType {
|
|
9
|
+
dataSource: DataSourceType;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
extend?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<propsType>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<propsType>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const ZhPageHeadPanel: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
dataSource: {
|
|
4
|
+
type: import('vue').PropType<import('./PageHeadPanel.vue').DataSourceType>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
8
|
+
P: {};
|
|
9
|
+
B: {};
|
|
10
|
+
D: {};
|
|
11
|
+
C: {};
|
|
12
|
+
M: {};
|
|
13
|
+
Defaults: {};
|
|
14
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
dataSource: {
|
|
16
|
+
type: import('vue').PropType<import('./PageHeadPanel.vue').DataSourceType>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
20
|
+
__isFragment?: never;
|
|
21
|
+
__isTeleport?: never;
|
|
22
|
+
__isSuspense?: never;
|
|
23
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
dataSource: {
|
|
25
|
+
type: import('vue').PropType<import('./PageHeadPanel.vue').DataSourceType>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
}>> & 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 () => {
|
|
29
|
+
$slots: {
|
|
30
|
+
extend?(_: {}): any;
|
|
31
|
+
};
|
|
32
|
+
}) & import('vue').Plugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
placement: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
content: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
placement: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
content: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
|
+
placement: string;
|
|
25
|
+
content: string;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const ZhToolTips: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
+
placement: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
content: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
12
|
+
placement: string;
|
|
13
|
+
content: string;
|
|
14
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
15
|
+
P: {};
|
|
16
|
+
B: {};
|
|
17
|
+
D: {};
|
|
18
|
+
C: {};
|
|
19
|
+
M: {};
|
|
20
|
+
Defaults: {};
|
|
21
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
+
placement: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
content: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
31
|
+
placement: string;
|
|
32
|
+
content: string;
|
|
33
|
+
}>;
|
|
34
|
+
__isFragment?: never;
|
|
35
|
+
__isTeleport?: never;
|
|
36
|
+
__isSuspense?: never;
|
|
37
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
placement: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
content: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
47
|
+
placement: string;
|
|
48
|
+
content: string;
|
|
49
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
50
|
+
$slots: {
|
|
51
|
+
default?(_: {}): any;
|
|
52
|
+
};
|
|
53
|
+
}) & import('vue').Plugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1,15 @@
|
|
|
1
1
|
export * from './Button';
|
|
2
|
+
export * from './DatePicker';
|
|
3
|
+
export * from './DetailSubTitle';
|
|
4
|
+
export * from './Dialog';
|
|
5
|
+
export * from './EditInfoPair';
|
|
6
|
+
export * from './FileWrapper';
|
|
7
|
+
export * from './Grid';
|
|
8
|
+
export * from './InfoPair';
|
|
9
|
+
export * from './Input';
|
|
10
|
+
export * from './InputNumber';
|
|
11
|
+
export * from './Loading';
|
|
12
|
+
export * from './MessageBox';
|
|
13
|
+
export * from './MoneyInput';
|
|
14
|
+
export * from './PageHeadPanel';
|
|
15
|
+
export * from './ToolTips';
|