@king-one/antdv 1.0.92 → 1.0.94
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/CHANGELOG.md +18 -0
- package/dist/es/components/pro-table/src/field/field.vue2.mjs +39 -39
- package/dist/es/components/pro-table/src/form-render.vue2.mjs +44 -44
- package/dist/lib/components/pro-table/src/field/field.vue2.js +1 -1
- package/dist/lib/components/pro-table/src/form-render.vue2.js +1 -1
- package/dist/theme-chalk/icon.css +1 -1
- package/dist/theme-chalk/index.css +1 -1
- package/dist/types/components/collapse-transtion/index.d.ts +10 -5
- package/dist/types/components/collapse-transtion/src/collapse-transtion.vue.d.ts +4 -4
- package/dist/types/components/form/component/form-item.vue.d.ts +4 -4
- package/dist/types/components/form/component/form.vue.d.ts +2 -2
- package/dist/types/components/form/index.d.ts +14 -8
- package/dist/types/components/icon/index.d.ts +5 -5
- package/dist/types/components/icon/src/icon.vue.d.ts +5 -5
- package/dist/types/components/pro-area/hooks/use-pro-area.d.ts +1 -1
- package/dist/types/components/pro-area/index.d.ts +8 -8
- package/dist/types/components/pro-area/src/ProArea.vue.d.ts +8 -8
- package/dist/types/components/pro-modal/hooks/useProModal.d.ts +1 -1
- package/dist/types/components/pro-modal/index.d.ts +28 -12
- package/dist/types/components/pro-modal/src/Modal.d.ts +5 -5
- package/dist/types/components/pro-modal/src/ProModal.vue.d.ts +5 -7
- package/dist/types/components/pro-picker/index.d.ts +8 -9
- package/dist/types/components/pro-picker/src/ProPicker.vue.d.ts +8 -9
- package/dist/types/components/pro-signature/index.d.ts +7 -9
- package/dist/types/components/pro-signature/src/ProSignature.vue.d.ts +7 -9
- package/dist/types/components/pro-table/hooks/use-pro-table.d.ts +1 -1
- package/dist/types/components/pro-table/src/field/field-date-range/field-date-range.vue.d.ts +14 -5
- package/dist/types/components/pro-table/src/field/field-input/field-input.vue.d.ts +14 -5
- package/dist/types/components/pro-table/src/field/field-radio/field-radio.vue.d.ts +14 -5
- package/dist/types/components/pro-table/src/field/field-select/field-select.vue.d.ts +14 -5
- package/dist/types/components/pro-table/src/field/field.vue.d.ts +11 -2
- package/dist/types/components/pro-table/src/form-render.vue.d.ts +3 -646
- package/dist/types/components/pro-table/src/hooks/use-form.d.ts +1 -1
- package/dist/types/components/pro-table/src/pro-table.vue.d.ts +3 -49
- package/dist/types/components/pro-tag/index.d.ts +6 -6
- package/dist/types/components/pro-tag/src/ProTag.vue.d.ts +6 -6
- package/dist/types/components/pro-title/index.d.ts +24 -7
- package/dist/types/components/pro-title/src/ProTitle.vue.d.ts +5 -5
- package/dist/types/components/pro-upload/index.d.ts +103 -0
- package/dist/types/components/pro-upload/src/data.d.ts +9 -0
- package/dist/types/components/pro-upload/src/file-list.d.ts +46 -0
- package/dist/types/components/pro-upload/src/gd-upload.d.ts +99 -0
- package/dist/types/components/pro-upload/src/hooks/index.d.ts +2 -0
- package/dist/types/components/pro-upload/src/hooks/resType.d.ts +35 -0
- package/dist/types/components/pro-upload/src/hooks/useHttp.d.ts +15 -0
- package/dist/types/components/pro-upload/src/hooks/useUpload.d.ts +11 -0
- package/dist/types/components/pro-upload/src/props.d.ts +46 -0
- package/dist/types/components/pro-upload/src/types.d.ts +61 -0
- package/dist/types/components/pro-upload/src/utils/emitter.d.ts +7 -0
- package/dist/types/components/pro-upload/src/utils/index.d.ts +30 -0
- package/dist/types/components/scale-virtual-list/component/scale-virtual-list.vue.d.ts +29 -10
- package/dist/types/components/scale-virtual-list/index.d.ts +73 -21
- package/dist/types/components/scroll-bar/index.d.ts +12 -12
- package/dist/types/components/scroll-bar/src/scroll-bar.d.ts +12 -12
- package/dist/types/hooks/useProForm.d.ts +2 -2
- package/global.d.ts +1 -0
- package/package.json +9 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../utils/install';
|
|
2
|
-
import { DefineComponent,
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import { levelType, AreaOptions, FieldNames } from './src/types';
|
|
4
4
|
export * from './src/types';
|
|
5
|
-
export declare const KProArea: SFCWithInstall<DefineComponent<
|
|
5
|
+
export declare const KProArea: SFCWithInstall<DefineComponent<{
|
|
6
6
|
level: {
|
|
7
7
|
readonly type: PropType<levelType>;
|
|
8
8
|
readonly default: 3;
|
|
@@ -27,12 +27,12 @@ export declare const KProArea: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
|
27
27
|
}>;
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
|
-
}
|
|
30
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
31
31
|
"update:modelValue": (value: {
|
|
32
32
|
province?: string;
|
|
33
33
|
city?: string;
|
|
34
34
|
county?: string;
|
|
35
|
-
}) =>
|
|
35
|
+
}) => void;
|
|
36
36
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
37
37
|
level: {
|
|
38
38
|
readonly type: PropType<levelType>;
|
|
@@ -58,15 +58,15 @@ export declare const KProArea: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
|
58
58
|
}>;
|
|
59
59
|
required: true;
|
|
60
60
|
};
|
|
61
|
-
}>> &
|
|
61
|
+
}>> & {
|
|
62
62
|
"onUpdate:modelValue"?: ((value: {
|
|
63
63
|
province?: string;
|
|
64
64
|
city?: string;
|
|
65
65
|
county?: string;
|
|
66
66
|
}) => any) | undefined;
|
|
67
|
-
}
|
|
68
|
-
fieldNames: FieldNames;
|
|
67
|
+
}, {
|
|
69
68
|
level: 1 | 2 | 3;
|
|
70
|
-
|
|
69
|
+
fieldNames: FieldNames;
|
|
70
|
+
}, {}>>;
|
|
71
71
|
export * from './hooks/use-pro-area';
|
|
72
72
|
export default KProArea;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AreaOptions, FieldNames, levelType } from './types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
4
|
level: {
|
|
5
5
|
readonly type: PropType<levelType>;
|
|
6
6
|
readonly default: 3;
|
|
@@ -25,12 +25,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
25
25
|
}>;
|
|
26
26
|
required: true;
|
|
27
27
|
};
|
|
28
|
-
}
|
|
28
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
29
|
"update:modelValue": (value: {
|
|
30
30
|
province?: string;
|
|
31
31
|
city?: string;
|
|
32
32
|
county?: string;
|
|
33
|
-
}) =>
|
|
33
|
+
}) => void;
|
|
34
34
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
35
35
|
level: {
|
|
36
36
|
readonly type: PropType<levelType>;
|
|
@@ -56,14 +56,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
56
56
|
}>;
|
|
57
57
|
required: true;
|
|
58
58
|
};
|
|
59
|
-
}>> &
|
|
59
|
+
}>> & {
|
|
60
60
|
"onUpdate:modelValue"?: ((value: {
|
|
61
61
|
province?: string;
|
|
62
62
|
city?: string;
|
|
63
63
|
county?: string;
|
|
64
64
|
}) => any) | undefined;
|
|
65
|
-
}
|
|
66
|
-
fieldNames: FieldNames;
|
|
65
|
+
}, {
|
|
67
66
|
level: 1 | 2 | 3;
|
|
68
|
-
|
|
67
|
+
fieldNames: FieldNames;
|
|
68
|
+
}, {}>;
|
|
69
69
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../utils/install';
|
|
2
|
-
import {
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
3
|
import { ModalFuncProps } from 'ant-design-vue';
|
|
4
4
|
import { ProModalSlots } from './src/types';
|
|
5
5
|
export * from './hooks/useProModal';
|
|
6
6
|
export declare const KProModal: SFCWithInstall<{
|
|
7
|
-
new (...args: any[]):
|
|
7
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
8
|
modalProps: {
|
|
9
9
|
readonly type: PropType<Omit< ModalFuncProps & {
|
|
10
10
|
confirmLoading?: boolean;
|
|
@@ -18,17 +18,33 @@ export declare const KProModal: SFCWithInstall<{
|
|
|
18
18
|
readonly type: StringConstructor;
|
|
19
19
|
readonly required: true;
|
|
20
20
|
};
|
|
21
|
-
}>> &
|
|
21
|
+
}>> & {
|
|
22
22
|
onOnCancel?: ((...args: any[]) => any) | undefined;
|
|
23
23
|
onOnConfirm?: ((...args: any[]) => any) | undefined;
|
|
24
24
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
25
|
-
}
|
|
25
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
26
|
onCancel: (...args: any[]) => void;
|
|
27
27
|
onConfirm: (...args: any[]) => void;
|
|
28
28
|
"update:modelValue": (value: boolean) => void;
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
30
|
+
modalProps: {
|
|
31
|
+
readonly type: PropType<Omit< ModalFuncProps & {
|
|
32
|
+
confirmLoading?: boolean;
|
|
33
|
+
}, "open" | "title">>;
|
|
34
|
+
};
|
|
35
|
+
modelValue: {
|
|
36
|
+
readonly type: BooleanConstructor;
|
|
37
|
+
readonly required: true;
|
|
38
|
+
};
|
|
39
|
+
title: {
|
|
40
|
+
readonly type: StringConstructor;
|
|
41
|
+
readonly required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
onOnCancel?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
onOnConfirm?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
47
|
+
}, {}, true, {}, {}, {
|
|
32
48
|
P: {};
|
|
33
49
|
B: {};
|
|
34
50
|
D: {};
|
|
@@ -49,11 +65,11 @@ export declare const KProModal: SFCWithInstall<{
|
|
|
49
65
|
readonly type: StringConstructor;
|
|
50
66
|
readonly required: true;
|
|
51
67
|
};
|
|
52
|
-
}>> &
|
|
68
|
+
}>> & {
|
|
53
69
|
onOnCancel?: ((...args: any[]) => any) | undefined;
|
|
54
70
|
onOnConfirm?: ((...args: any[]) => any) | undefined;
|
|
55
71
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
56
|
-
}
|
|
72
|
+
}, {}, {}, {}, {}, {}>;
|
|
57
73
|
__isFragment?: never;
|
|
58
74
|
__isTeleport?: never;
|
|
59
75
|
__isSuspense?: never;
|
|
@@ -71,15 +87,15 @@ export declare const KProModal: SFCWithInstall<{
|
|
|
71
87
|
readonly type: StringConstructor;
|
|
72
88
|
readonly required: true;
|
|
73
89
|
};
|
|
74
|
-
}>> &
|
|
90
|
+
}>> & {
|
|
75
91
|
onOnCancel?: ((...args: any[]) => any) | undefined;
|
|
76
92
|
onOnConfirm?: ((...args: any[]) => any) | undefined;
|
|
77
93
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
78
|
-
}
|
|
94
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
79
95
|
onCancel: (...args: any[]) => void;
|
|
80
96
|
onConfirm: (...args: any[]) => void;
|
|
81
97
|
"update:modelValue": (value: boolean) => void;
|
|
82
|
-
}, string, {}, {}, string, {}
|
|
98
|
+
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
83
99
|
$slots: Readonly< ProModalSlots> & ProModalSlots;
|
|
84
100
|
})>;
|
|
85
101
|
export default KProModal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DefineComponent,
|
|
1
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ModalFuncProps } from 'ant-design-vue';
|
|
3
|
-
declare const _default: DefineComponent<
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
4
|
readonly modalProps: {
|
|
5
5
|
readonly type: PropType<Omit< ModalFuncProps & {
|
|
6
6
|
confirmLoading?: boolean;
|
|
@@ -14,7 +14,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
14
14
|
readonly type: StringConstructor;
|
|
15
15
|
readonly required: true;
|
|
16
16
|
};
|
|
17
|
-
}
|
|
17
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("onCancel" | "onConfirm" | "update:modelValue")[], "onCancel" | "onConfirm" | "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
18
18
|
readonly modalProps: {
|
|
19
19
|
readonly type: PropType<Omit< ModalFuncProps & {
|
|
20
20
|
confirmLoading?: boolean;
|
|
@@ -28,9 +28,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
28
28
|
readonly type: StringConstructor;
|
|
29
29
|
readonly required: true;
|
|
30
30
|
};
|
|
31
|
-
}>> &
|
|
31
|
+
}>> & {
|
|
32
32
|
onOnCancel?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
onOnConfirm?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}
|
|
35
|
+
}, {}, {}>;
|
|
36
36
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProModalSlots } from './types';
|
|
2
|
-
import { DefineComponent,
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import { ModalFuncProps } from 'ant-design-vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
attrs: Partial<{}>;
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
rootEl: any;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: DefineComponent<
|
|
13
|
+
declare const __VLS_component: DefineComponent<{
|
|
14
14
|
modalProps: {
|
|
15
15
|
readonly type: PropType<Omit< ModalFuncProps & {
|
|
16
16
|
confirmLoading?: boolean;
|
|
@@ -24,7 +24,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
24
24
|
readonly type: StringConstructor;
|
|
25
25
|
readonly required: true;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
28
|
onCancel: (...args: any[]) => void;
|
|
29
29
|
onConfirm: (...args: any[]) => void;
|
|
30
30
|
"update:modelValue": (value: boolean) => void;
|
|
@@ -42,13 +42,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
42
42
|
readonly type: StringConstructor;
|
|
43
43
|
readonly required: true;
|
|
44
44
|
};
|
|
45
|
-
}>> &
|
|
45
|
+
}>> & {
|
|
46
46
|
onOnCancel?: ((...args: any[]) => any) | undefined;
|
|
47
47
|
onOnConfirm?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
49
|
-
}
|
|
50
|
-
modalTitleRef: HTMLDivElement;
|
|
51
|
-
}, any>;
|
|
49
|
+
}, {}, {}>;
|
|
52
50
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
51
|
export default _default;
|
|
54
52
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../utils/install';
|
|
2
|
-
import { DefineComponent,
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import { ProPickerType, ProPickerOption } from './src/types';
|
|
4
4
|
export * from './src/types';
|
|
5
|
-
export declare const KProPicker: SFCWithInstall<DefineComponent<
|
|
5
|
+
export declare const KProPicker: SFCWithInstall<DefineComponent<{
|
|
6
6
|
type: {
|
|
7
7
|
readonly type: PropType<ProPickerType>;
|
|
8
8
|
readonly default: "company";
|
|
@@ -21,10 +21,9 @@ export declare const KProPicker: SFCWithInstall<DefineComponent<ExtractPropTypes
|
|
|
21
21
|
value: {
|
|
22
22
|
type: PropType<string | number | string[] | number[]>;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
change: (value?: ProPickerOption | ProPickerOption[] | undefined) => any;
|
|
24
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
+
change: (value?: ProPickerOption | ProPickerOption[] | undefined) => void;
|
|
26
|
+
"update:value": (value: string | number | string[] | number[]) => void;
|
|
28
27
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
29
28
|
type: {
|
|
30
29
|
readonly type: PropType<ProPickerType>;
|
|
@@ -44,12 +43,12 @@ export declare const KProPicker: SFCWithInstall<DefineComponent<ExtractPropTypes
|
|
|
44
43
|
value: {
|
|
45
44
|
type: PropType<string | number | string[] | number[]>;
|
|
46
45
|
};
|
|
47
|
-
}>> &
|
|
46
|
+
}>> & {
|
|
48
47
|
onChange?: ((value?: ProPickerOption | ProPickerOption[] | undefined) => any) | undefined;
|
|
49
48
|
"onUpdate:value"?: ((value: string | number | string[] | number[]) => any) | undefined;
|
|
50
|
-
}
|
|
49
|
+
}, {
|
|
51
50
|
type: "company" | "user" | "department" | "flowApplication";
|
|
52
51
|
placeholder: string;
|
|
53
52
|
delay: number;
|
|
54
|
-
}, {}
|
|
53
|
+
}, {}>>;
|
|
55
54
|
export default KProPicker;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProPickerOption, ProPickerType } from './types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
4
|
type: {
|
|
5
5
|
readonly type: PropType<ProPickerType>;
|
|
6
6
|
readonly default: "company";
|
|
@@ -19,10 +19,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
19
19
|
value: {
|
|
20
20
|
type: PropType<string | number | string[] | number[]>;
|
|
21
21
|
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
change: (value?: ProPickerOption | ProPickerOption[] | undefined) => any;
|
|
22
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
|
+
change: (value?: ProPickerOption | ProPickerOption[] | undefined) => void;
|
|
24
|
+
"update:value": (value: string | number | string[] | number[]) => void;
|
|
26
25
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
27
26
|
type: {
|
|
28
27
|
readonly type: PropType<ProPickerType>;
|
|
@@ -42,12 +41,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
42
41
|
value: {
|
|
43
42
|
type: PropType<string | number | string[] | number[]>;
|
|
44
43
|
};
|
|
45
|
-
}>> &
|
|
44
|
+
}>> & {
|
|
46
45
|
onChange?: ((value?: ProPickerOption | ProPickerOption[] | undefined) => any) | undefined;
|
|
47
46
|
"onUpdate:value"?: ((value: string | number | string[] | number[]) => any) | undefined;
|
|
48
|
-
}
|
|
47
|
+
}, {
|
|
49
48
|
type: "company" | "user" | "department" | "flowApplication";
|
|
50
49
|
placeholder: string;
|
|
51
50
|
delay: number;
|
|
52
|
-
}, {}
|
|
51
|
+
}, {}>;
|
|
53
52
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../utils/install';
|
|
2
|
-
import { DefineComponent,
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
export * from './src/types';
|
|
4
|
-
export declare const KProSignature: SFCWithInstall<DefineComponent<
|
|
4
|
+
export declare const KProSignature: SFCWithInstall<DefineComponent<{
|
|
5
5
|
width: {
|
|
6
6
|
type: PropType<number>;
|
|
7
7
|
default: number;
|
|
@@ -36,13 +36,13 @@ export declare const KProSignature: SFCWithInstall<DefineComponent<ExtractPropTy
|
|
|
36
36
|
type: NumberConstructor;
|
|
37
37
|
default: number;
|
|
38
38
|
};
|
|
39
|
-
}
|
|
39
|
+
}, {
|
|
40
40
|
generate: (options?: {
|
|
41
41
|
format?: string;
|
|
42
42
|
quality?: number;
|
|
43
43
|
}) => Promise<string>;
|
|
44
44
|
reset: () => void;
|
|
45
|
-
},
|
|
45
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
46
46
|
"update:bgColor": (...args: any[]) => void;
|
|
47
47
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
48
48
|
width: {
|
|
@@ -79,9 +79,9 @@ export declare const KProSignature: SFCWithInstall<DefineComponent<ExtractPropTy
|
|
|
79
79
|
type: NumberConstructor;
|
|
80
80
|
default: number;
|
|
81
81
|
};
|
|
82
|
-
}>> &
|
|
82
|
+
}>> & {
|
|
83
83
|
"onUpdate:bgColor"?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
}
|
|
84
|
+
}, {
|
|
85
85
|
width: number;
|
|
86
86
|
height: number;
|
|
87
87
|
lineWidth: number;
|
|
@@ -91,7 +91,5 @@ export declare const KProSignature: SFCWithInstall<DefineComponent<ExtractPropTy
|
|
|
91
91
|
isClearBgColor: boolean;
|
|
92
92
|
format: string;
|
|
93
93
|
quality: number;
|
|
94
|
-
}, {}
|
|
95
|
-
canvas: HTMLCanvasElement;
|
|
96
|
-
}, HTMLCanvasElement>>;
|
|
94
|
+
}, {}>>;
|
|
97
95
|
export default KProSignature;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DefineComponent,
|
|
1
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
declare function generate(options?: {
|
|
3
3
|
format?: string;
|
|
4
4
|
quality?: number;
|
|
5
5
|
}): Promise<string>;
|
|
6
6
|
declare function reset(): void;
|
|
7
|
-
declare const _default: DefineComponent<
|
|
7
|
+
declare const _default: DefineComponent<{
|
|
8
8
|
width: {
|
|
9
9
|
type: PropType<number>;
|
|
10
10
|
default: number;
|
|
@@ -39,10 +39,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
39
39
|
type: NumberConstructor;
|
|
40
40
|
default: number;
|
|
41
41
|
};
|
|
42
|
-
}
|
|
42
|
+
}, {
|
|
43
43
|
generate: typeof generate;
|
|
44
44
|
reset: typeof reset;
|
|
45
|
-
},
|
|
45
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
46
46
|
"update:bgColor": (...args: any[]) => void;
|
|
47
47
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
48
48
|
width: {
|
|
@@ -79,9 +79,9 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
79
79
|
type: NumberConstructor;
|
|
80
80
|
default: number;
|
|
81
81
|
};
|
|
82
|
-
}>> &
|
|
82
|
+
}>> & {
|
|
83
83
|
"onUpdate:bgColor"?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
}
|
|
84
|
+
}, {
|
|
85
85
|
width: number;
|
|
86
86
|
height: number;
|
|
87
87
|
lineWidth: number;
|
|
@@ -91,7 +91,5 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
91
91
|
isClearBgColor: boolean;
|
|
92
92
|
format: string;
|
|
93
93
|
quality: number;
|
|
94
|
-
}, {}
|
|
95
|
-
canvas: HTMLCanvasElement;
|
|
96
|
-
}, HTMLCanvasElement>;
|
|
94
|
+
}, {}>;
|
|
97
95
|
export default _default;
|
package/dist/types/components/pro-table/src/field/field-date-range/field-date-range.vue.d.ts
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
type __VLS_PublicProps = {
|
|
3
3
|
'modelValue': any;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: DefineComponent<__VLS_PublicProps
|
|
6
|
-
"update:modelValue": (value: any) =>
|
|
7
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps
|
|
5
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: any) => void;
|
|
7
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
9
|
-
}
|
|
9
|
+
}, {}, {}>;
|
|
10
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToOption<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
type __VLS_PublicProps = {
|
|
3
3
|
'modelValue': any;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: DefineComponent<__VLS_PublicProps
|
|
6
|
-
"update:modelValue": (value: any) =>
|
|
7
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps
|
|
5
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: any) => void;
|
|
7
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
9
|
-
}
|
|
9
|
+
}, {}, {}>;
|
|
10
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToOption<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
type __VLS_PublicProps = {
|
|
3
3
|
'modelValue': any;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: DefineComponent<__VLS_PublicProps
|
|
6
|
-
"update:modelValue": (value: any) =>
|
|
7
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps
|
|
5
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: any) => void;
|
|
7
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
9
|
-
}
|
|
9
|
+
}, {}, {}>;
|
|
10
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToOption<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
type __VLS_PublicProps = {
|
|
3
3
|
'modelValue': any;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: DefineComponent<__VLS_PublicProps
|
|
6
|
-
"update:modelValue": (value: any) =>
|
|
7
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps
|
|
5
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: any) => void;
|
|
7
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
8
8
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
9
|
-
}
|
|
9
|
+
}, {}, {}>;
|
|
10
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToOption<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { ColumnInside } from '../..';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
column: ColumnInside;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: DefineComponent<__VLS_Props
|
|
6
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<__VLS_Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>>, {}, {}>;
|
|
7
7
|
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|