zhihao-ui 1.0.2 → 1.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.
Files changed (77) hide show
  1. package/dist/es/Button-DnpxJA88.js +22 -0
  2. package/dist/es/DatePicker-DdLVvq3M.js +57 -0
  3. package/dist/es/DetailSubTitle-BWNtw5qC.js +35 -0
  4. package/dist/es/Dialog-D9YXcRFu.js +112 -0
  5. package/dist/es/EditInfoPair-Dkj9ohlm.js +36 -0
  6. package/dist/es/FileWrapper-D9UO6aN1.js +77 -0
  7. package/dist/es/Grid-D8odZrqs.js +96 -0
  8. package/dist/es/InfoPair-BXFe3add.js +36 -0
  9. package/dist/es/Input-wPjJsk3b.js +88 -0
  10. package/dist/es/Loading-ClJhDU4h.js +22 -0
  11. package/dist/es/MessageBox-BbG8P2uz.js +100 -0
  12. package/dist/es/MoneyInput-CbCeKV_v.js +53 -0
  13. package/dist/es/PageHeadPanel-BaNhcn2t.js +32 -0
  14. package/dist/es/ToolTips-Dm28zKim.js +37 -0
  15. package/dist/es/index.js +34 -0
  16. package/dist/es/utils-amzq0_Yw.js +14 -0
  17. package/dist/es/vendor-Cv1TpEaZ.js +12409 -0
  18. package/dist/{style.css → index.css} +1 -1
  19. package/dist/types/components/Button/Button.vue.d.ts +20 -0
  20. package/dist/types/components/Button/index.d.ts +36 -0
  21. package/dist/types/components/Button/types.d.ts +7 -0
  22. package/dist/types/components/DatePicker/DatePicker.vue.d.ts +28 -0
  23. package/dist/types/components/DatePicker/index.d.ts +70 -0
  24. package/dist/types/components/DatePicker/types.d.ts +1 -0
  25. package/dist/types/components/DetailSubTitle/DetailSubTitle.vue.d.ts +30 -0
  26. package/dist/types/components/DetailSubTitle/index.d.ts +59 -0
  27. package/dist/types/components/DetailSubTitle/types.d.ts +7 -0
  28. package/dist/types/components/Dialog/Dialog.vue.d.ts +14 -0
  29. package/dist/types/components/Dialog/index.d.ts +19 -0
  30. package/dist/types/components/Dialog/types.d.ts +25 -0
  31. package/dist/types/components/EditInfoPair/EditInfoPair.vue.d.ts +30 -0
  32. package/dist/types/components/EditInfoPair/index.d.ts +59 -0
  33. package/dist/types/components/EditInfoPair/types.d.ts +1 -0
  34. package/dist/types/components/FileWrapper/FileWrapper.vue.d.ts +64 -0
  35. package/dist/types/components/FileWrapper/index.d.ts +119 -0
  36. package/dist/types/components/FileWrapper/types.d.ts +1 -0
  37. package/dist/types/components/Grid/Grid.vue.d.ts +65 -0
  38. package/dist/types/components/Grid/index.d.ts +107 -0
  39. package/dist/types/components/Grid/interface/index.d.ts +5 -0
  40. package/dist/types/components/Grid/types.d.ts +1 -0
  41. package/dist/types/components/InfoPair/InfoPair.vue.d.ts +30 -0
  42. package/dist/types/components/InfoPair/index.d.ts +59 -0
  43. package/dist/types/components/InfoPair/types.d.ts +1 -0
  44. package/dist/types/components/Input/Input.vue.d.ts +45 -0
  45. package/dist/types/components/Input/index.d.ts +72 -0
  46. package/dist/types/components/Input/types.d.ts +1 -0
  47. package/dist/types/components/InputNumber/InputNumber.vue.d.ts +33 -0
  48. package/dist/types/components/InputNumber/index.d.ts +67 -0
  49. package/dist/types/components/InputNumber/types.d.ts +1 -0
  50. package/dist/types/components/Loading/Loading.vue.d.ts +2 -0
  51. package/dist/types/components/Loading/index.d.ts +13 -0
  52. package/dist/types/components/Loading/types.d.ts +1 -0
  53. package/dist/types/components/MessageBox/MessageBox.vue.d.ts +219 -0
  54. package/dist/types/components/MessageBox/index.d.ts +343 -0
  55. package/dist/types/components/MessageBox/types.d.ts +20 -0
  56. package/dist/types/components/MoneyInput/MoneyInput.vue.d.ts +40 -0
  57. package/dist/types/components/MoneyInput/index.d.ts +67 -0
  58. package/dist/types/components/MoneyInput/types.d.ts +1 -0
  59. package/dist/types/components/PageHeadPanel/PageHeadPanel.vue.d.ts +30 -0
  60. package/dist/types/components/PageHeadPanel/index.d.ts +32 -0
  61. package/dist/types/components/PageHeadPanel/types.d.ts +1 -0
  62. package/dist/types/components/ToolTips/ToolTips.vue.d.ts +33 -0
  63. package/dist/types/components/ToolTips/index.d.ts +53 -0
  64. package/dist/types/components/ToolTips/types.d.ts +1 -0
  65. package/dist/types/components/const.d.ts +4 -0
  66. package/dist/types/components/index.d.ts +15 -0
  67. package/dist/types/components/utils.d.ts +4 -0
  68. package/dist/types/components/vitest.config.d.ts +2 -0
  69. package/dist/types/core/index.d.ts +3 -0
  70. package/dist/types/utils/index.d.ts +1 -0
  71. package/dist/types/utils/install.d.ts +6 -0
  72. package/dist/umd/index.css +1 -0
  73. package/dist/umd/index.umd.cjs +40 -0
  74. package/package.json +47 -44
  75. package/README.md +0 -14
  76. package/dist/zhihao-ui.js +0 -40
  77. package/dist/zhihao-ui.mjs +0 -14309
@@ -0,0 +1,20 @@
1
+ import { ButtonProps } from './types';
2
+
3
+ declare function __VLS_template(): Readonly<Record<string, any>> & Record<string, any>;
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ButtonProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ButtonProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,36 @@
1
+ export declare const ZhButton: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ type: {
4
+ type: import('vue').PropType<import('./types').ButtonType>;
5
+ };
6
+ size: {
7
+ type: import('vue').PropType<import('./types').ButtonSize>;
8
+ };
9
+ }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
10
+ P: {};
11
+ B: {};
12
+ D: {};
13
+ C: {};
14
+ M: {};
15
+ Defaults: {};
16
+ }, Readonly<import('vue').ExtractPropTypes<{
17
+ type: {
18
+ type: import('vue').PropType<import('./types').ButtonType>;
19
+ };
20
+ size: {
21
+ type: import('vue').PropType<import('./types').ButtonSize>;
22
+ };
23
+ }>> & Readonly<{}>, {}, {}, {}, {}, {}>;
24
+ __isFragment?: never;
25
+ __isTeleport?: never;
26
+ __isSuspense?: never;
27
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
28
+ type: {
29
+ type: import('vue').PropType<import('./types').ButtonType>;
30
+ };
31
+ size: {
32
+ type: import('vue').PropType<import('./types').ButtonSize>;
33
+ };
34
+ }>> & 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 () => {
35
+ $slots: Readonly<Record<string, any>> & Record<string, any>;
36
+ }) & import('vue').Plugin;
@@ -0,0 +1,7 @@
1
+ export type ButtonType = "primary" | "sucess" | "danger";
2
+ export type ButtonSize = "small" | "normal";
3
+ export type NativeTyps = "button" | "submit";
4
+ export interface ButtonProps {
5
+ type?: ButtonType;
6
+ size?: ButtonSize;
7
+ }
@@ -0,0 +1,28 @@
1
+
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ [key: string]: any;
4
+ style?: any;
5
+ class?: any;
6
+ modelValue: string | number | undefined;
7
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:modelValue": (...args: any[]) => void;
9
+ change: (...args: any[]) => void;
10
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
+ [key: string]: any;
12
+ style?: any;
13
+ class?: any;
14
+ modelValue: string | number | undefined;
15
+ }>>> & Readonly<{
16
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
17
+ onChange?: ((...args: any[]) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
+ export default _default;
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToRuntimeProps<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
@@ -0,0 +1,70 @@
1
+ export declare const ZhDatePicker: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ [x: string]: {
4
+ type: import('vue').PropType<any>;
5
+ };
6
+ style: {
7
+ type: import('vue').PropType<any>;
8
+ };
9
+ class: {
10
+ type: import('vue').PropType<any>;
11
+ };
12
+ modelValue: {
13
+ type: import('vue').PropType<string | number | undefined>;
14
+ required: true;
15
+ };
16
+ }>> & Readonly<{
17
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
18
+ onChange?: ((...args: any[]) => any) | undefined;
19
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:modelValue": (...args: any[]) => void;
21
+ change: (...args: any[]) => void;
22
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
23
+ P: {};
24
+ B: {};
25
+ D: {};
26
+ C: {};
27
+ M: {};
28
+ Defaults: {};
29
+ }, Readonly<import('vue').ExtractPropTypes<{
30
+ [x: string]: {
31
+ type: import('vue').PropType<any>;
32
+ };
33
+ style: {
34
+ type: import('vue').PropType<any>;
35
+ };
36
+ class: {
37
+ type: import('vue').PropType<any>;
38
+ };
39
+ modelValue: {
40
+ type: import('vue').PropType<string | number | undefined>;
41
+ required: true;
42
+ };
43
+ }>> & Readonly<{
44
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
+ onChange?: ((...args: any[]) => any) | undefined;
46
+ }>, {}, {}, {}, {}, {}>;
47
+ __isFragment?: never;
48
+ __isTeleport?: never;
49
+ __isSuspense?: never;
50
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
51
+ [x: string]: {
52
+ type: import('vue').PropType<any>;
53
+ };
54
+ style: {
55
+ type: import('vue').PropType<any>;
56
+ };
57
+ class: {
58
+ type: import('vue').PropType<any>;
59
+ };
60
+ modelValue: {
61
+ type: import('vue').PropType<string | number | undefined>;
62
+ required: true;
63
+ };
64
+ }>> & Readonly<{
65
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
+ onChange?: ((...args: any[]) => any) | undefined;
67
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
+ "update:modelValue": (...args: any[]) => void;
69
+ change: (...args: any[]) => void;
70
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,30 @@
1
+ declare function __VLS_template(): {
2
+ value?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ title: string;
6
+ value?: string | number;
7
+ ellipsis?: boolean;
8
+ tip?: string;
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ title: string;
11
+ value?: string | number;
12
+ ellipsis?: boolean;
13
+ tip?: string;
14
+ }>>> & 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,59 @@
1
+ export declare const ZhDetailSubTitle: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ title: {
4
+ type: import('vue').PropType<string>;
5
+ required: true;
6
+ };
7
+ value: {
8
+ type: import('vue').PropType<string | number>;
9
+ };
10
+ ellipsis: {
11
+ type: import('vue').PropType<boolean>;
12
+ };
13
+ tip: {
14
+ type: import('vue').PropType<string>;
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
+ value: {
29
+ type: import('vue').PropType<string | number>;
30
+ };
31
+ ellipsis: {
32
+ type: import('vue').PropType<boolean>;
33
+ };
34
+ tip: {
35
+ type: import('vue').PropType<string>;
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
+ value: {
47
+ type: import('vue').PropType<string | number>;
48
+ };
49
+ ellipsis: {
50
+ type: import('vue').PropType<boolean>;
51
+ };
52
+ tip: {
53
+ type: import('vue').PropType<string>;
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
+ value?(_: {}): any;
58
+ };
59
+ }) & import('vue').Plugin;
@@ -0,0 +1,7 @@
1
+ export type ButtonType = "primary" | "sucess" | "danger";
2
+ export type ButtonSize = "small" | "normal";
3
+ export type NativeTyps = "button" | "submit";
4
+ export interface ButtonProps {
5
+ type?: ButtonType;
6
+ size?: ButtonSize;
7
+ }
@@ -0,0 +1,14 @@
1
+
2
+ declare function __VLS_template(): {
3
+ default?(_: {}): any;
4
+ operation?(_: {}): any;
5
+ footer?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,19 @@
1
+ export declare const ZhDialog: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
13
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & 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 () => {
14
+ $slots: {
15
+ default?(_: {}): any;
16
+ operation?(_: {}): any;
17
+ footer?(_: {}): any;
18
+ };
19
+ }) & import('vue').Plugin;
@@ -0,0 +1,25 @@
1
+ import { FormRules } from 'element-plus';
2
+ import { ExtractPropTypes } from 'vue';
3
+
4
+ interface ElementAttributes {
5
+ [key: string]: string | null;
6
+ }
7
+ export interface FormItemProps extends ExtractPropTypes {
8
+ formItem: ElementAttributes;
9
+ attrs: NamedNodeMap & ElementAttributes;
10
+ }
11
+ interface FormOptions<T> {
12
+ model?: T;
13
+ form: any;
14
+ columns: FormItemProps[];
15
+ rules: FormRules<T>[];
16
+ }
17
+ export interface BaseDialogFormProps {
18
+ dialogSubmitText?: string;
19
+ dialogCancelText?: string;
20
+ dialogTitle?: string;
21
+ formOptions?: FormOptions;
22
+ headerIcon?: string;
23
+ width?: string;
24
+ }
25
+ export {};
@@ -0,0 +1,30 @@
1
+ declare function __VLS_template(): {
2
+ value?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ title: string;
6
+ value?: string | number;
7
+ ellipsis?: boolean;
8
+ tip?: string;
9
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ title: string;
11
+ value?: string | number;
12
+ ellipsis?: boolean;
13
+ tip?: string;
14
+ }>>> & 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,59 @@
1
+ export declare const ZhEditInfoPair: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ title: {
4
+ type: import('vue').PropType<string>;
5
+ required: true;
6
+ };
7
+ value: {
8
+ type: import('vue').PropType<string | number>;
9
+ };
10
+ ellipsis: {
11
+ type: import('vue').PropType<boolean>;
12
+ };
13
+ tip: {
14
+ type: import('vue').PropType<string>;
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
+ value: {
29
+ type: import('vue').PropType<string | number>;
30
+ };
31
+ ellipsis: {
32
+ type: import('vue').PropType<boolean>;
33
+ };
34
+ tip: {
35
+ type: import('vue').PropType<string>;
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
+ value: {
47
+ type: import('vue').PropType<string | number>;
48
+ };
49
+ ellipsis: {
50
+ type: import('vue').PropType<boolean>;
51
+ };
52
+ tip: {
53
+ type: import('vue').PropType<string>;
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
+ value?(_: {}): any;
58
+ };
59
+ }) & import('vue').Plugin;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,64 @@
1
+
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ downLoadUrl: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ canPreview: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ fileName: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ canDelete: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ title: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ fileId: {
24
+ type: NumberConstructor;
25
+ default: number;
26
+ };
27
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ deleteFile: (...args: any[]) => void;
29
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
30
+ downLoadUrl: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ canPreview: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ fileName: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ canDelete: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ title: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ fileId: {
51
+ type: NumberConstructor;
52
+ default: number;
53
+ };
54
+ }>> & Readonly<{
55
+ onDeleteFile?: ((...args: any[]) => any) | undefined;
56
+ }>, {
57
+ title: string;
58
+ downLoadUrl: string;
59
+ canPreview: boolean;
60
+ fileName: string;
61
+ canDelete: boolean;
62
+ fileId: number;
63
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
64
+ export default _default;
@@ -0,0 +1,119 @@
1
+ export declare const ZhFileWrapper: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ downLoadUrl: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ canPreview: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ fileName: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ canDelete: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ title: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ fileId: {
24
+ type: NumberConstructor;
25
+ default: number;
26
+ };
27
+ }>> & Readonly<{
28
+ onDeleteFile?: ((...args: any[]) => any) | undefined;
29
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
+ deleteFile: (...args: any[]) => void;
31
+ }, import('vue').PublicProps, {
32
+ title: string;
33
+ downLoadUrl: string;
34
+ canPreview: boolean;
35
+ fileName: string;
36
+ canDelete: boolean;
37
+ fileId: number;
38
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
39
+ P: {};
40
+ B: {};
41
+ D: {};
42
+ C: {};
43
+ M: {};
44
+ Defaults: {};
45
+ }, Readonly<import('vue').ExtractPropTypes<{
46
+ downLoadUrl: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ canPreview: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ fileName: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ canDelete: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ title: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ fileId: {
67
+ type: NumberConstructor;
68
+ default: number;
69
+ };
70
+ }>> & Readonly<{
71
+ onDeleteFile?: ((...args: any[]) => any) | undefined;
72
+ }>, {}, {}, {}, {}, {
73
+ title: string;
74
+ downLoadUrl: string;
75
+ canPreview: boolean;
76
+ fileName: string;
77
+ canDelete: boolean;
78
+ fileId: number;
79
+ }>;
80
+ __isFragment?: never;
81
+ __isTeleport?: never;
82
+ __isSuspense?: never;
83
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
84
+ downLoadUrl: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ canPreview: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ fileName: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ canDelete: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ title: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ fileId: {
105
+ type: NumberConstructor;
106
+ default: number;
107
+ };
108
+ }>> & Readonly<{
109
+ onDeleteFile?: ((...args: any[]) => any) | undefined;
110
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
111
+ deleteFile: (...args: any[]) => void;
112
+ }, string, {
113
+ title: string;
114
+ downLoadUrl: string;
115
+ canPreview: boolean;
116
+ fileName: string;
117
+ canDelete: boolean;
118
+ fileId: number;
119
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
@@ -0,0 +1 @@
1
+ export {};