@king-one/antdv 2.3.3 → 2.3.5
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 +12 -0
- package/dist/es/components/dept-selector/src/dept.mjs +34 -33
- package/dist/es/components/index.mjs +45 -42
- package/dist/es/components/pro-form-render/src/index.vue2.mjs +20 -20
- package/dist/es/components/pro-form-render/src/module/AioArrayInput.vue.mjs +42 -41
- package/dist/es/components/pro-form-render/src/module/AioDatePicker.vue.mjs +1 -1
- package/dist/es/components/pro-form-render/src/module/AioInput.vue.mjs +1 -1
- package/dist/es/components/pro-form-render/src/module/AioInputNumber.vue.mjs +1 -1
- package/dist/es/components/pro-form-render/src/module/AioSelect.vue.mjs +1 -1
- package/dist/es/components/pro-form-render/src/module/AioSubForm.vue.mjs +7 -7
- package/dist/es/components/pro-form-render/src/module/AioTextarea.vue.mjs +1 -1
- package/dist/es/components/pro-form-render/src/module/AioTimePicker.vue.mjs +1 -1
- package/dist/es/components/pro-picker/apis/pro-picker.api.mjs +6 -6
- package/dist/es/components/pro-picker/src/ProPicker.vue2.mjs +28 -28
- package/dist/es/components/pro-picker/src/types.mjs +4 -0
- package/dist/es/components/pro-selector/index.mjs +13 -10
- package/dist/es/components/pro-selector/src/components/org-tree.mjs +47 -47
- package/dist/es/components/pro-selector/src/components/user.mjs +22 -12
- package/dist/es/components/pro-selector/src/pro-user.mjs +22 -22
- package/dist/es/components/pro-selector-group/index.mjs +11 -0
- package/dist/es/components/pro-selector-group/src/compoents/dept-tree.vue.mjs +4 -0
- package/dist/es/components/pro-selector-group/src/compoents/dept-tree.vue2.mjs +124 -0
- package/dist/es/components/pro-selector-group/src/compoents/dept.vue.mjs +47 -0
- package/dist/es/components/pro-selector-group/src/compoents/dept.vue2.mjs +4 -0
- package/dist/es/components/pro-selector-group/src/compoents/index.mjs +3 -0
- package/dist/es/components/pro-selector-group/src/compoents/role.vue.mjs +129 -0
- package/dist/es/components/pro-selector-group/src/compoents/role.vue2.mjs +4 -0
- package/dist/es/components/pro-selector-group/src/compoents/select-box.vue.mjs +4 -0
- package/dist/es/components/pro-selector-group/src/compoents/select-box.vue2.mjs +95 -0
- package/dist/es/components/pro-selector-group/src/compoents/user.vue.mjs +148 -0
- package/dist/es/components/pro-selector-group/src/compoents/user.vue2.mjs +4 -0
- package/dist/es/components/pro-selector-group/src/hooks/useApi.mjs +60 -0
- package/dist/es/components/pro-selector-group/src/index.vue.mjs +4 -0
- package/dist/es/components/pro-selector-group/src/index.vue2.mjs +186 -0
- package/dist/es/components/pro-selector-group/src/style/index.mjs +2 -0
- package/dist/es/components/pro-selector-group/src/types.mjs +4 -0
- package/dist/es/components/pro-sign/src/components/add-signature.vue2.mjs +57 -49
- package/dist/es/components/pro-sign/src/components/batch.vue2.mjs +133 -125
- package/dist/es/components/pro-sign/src/components/date.vue.mjs +23 -23
- package/dist/es/components/pro-sign/src/components/loader.vue2.mjs +48 -48
- package/dist/es/components/pro-sign/src/components/middle.vue.mjs +151 -147
- package/dist/es/components/pro-sign/src/components/signature.vue.mjs +39 -39
- package/dist/es/components/pro-sign/src/components/verify.vue2.mjs +50 -42
- package/dist/es/components/pro-table/src/field/field.vue2.mjs +60 -60
- package/dist/es/components/pro-table/src/form-render.vue2.mjs +51 -45
- package/dist/es/components/pro-table/src/pro-table.vue2.mjs +96 -89
- package/dist/es/components/pro-user-avatar/src/index.vue2.mjs +52 -52
- package/dist/es/components/role-selector/src/role.mjs +23 -20
- package/dist/es/components/scale-virtual-list/component/scale-virtual-list.vue2.mjs +19 -19
- package/dist/es/index.mjs +93 -86
- package/dist/lib/components/dept-selector/src/dept.js +1 -1
- package/dist/lib/components/index.js +1 -1
- package/dist/lib/components/pro-form-render/src/index.vue2.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioArrayInput.vue.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioDatePicker.vue.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioInput.vue.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioInputNumber.vue.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioSelect.vue.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioSubForm.vue.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioTextarea.vue.js +1 -1
- package/dist/lib/components/pro-form-render/src/module/AioTimePicker.vue.js +1 -1
- package/dist/lib/components/pro-picker/apis/pro-picker.api.js +1 -1
- package/dist/lib/components/pro-picker/src/ProPicker.vue2.js +1 -1
- package/dist/lib/components/pro-picker/src/types.js +1 -1
- package/dist/lib/components/pro-selector/index.js +1 -1
- package/dist/lib/components/pro-selector/src/components/user.js +1 -1
- package/dist/lib/components/pro-selector-group/index.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/dept-tree.vue.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/dept-tree.vue2.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/dept.vue.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/dept.vue2.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/index.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/role.vue.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/role.vue2.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/select-box.vue.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/select-box.vue2.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/user.vue.js +1 -0
- package/dist/lib/components/pro-selector-group/src/compoents/user.vue2.js +1 -0
- package/dist/lib/components/pro-selector-group/src/hooks/useApi.js +1 -0
- package/dist/lib/components/pro-selector-group/src/index.vue.js +1 -0
- package/dist/lib/components/pro-selector-group/src/index.vue2.js +1 -0
- package/dist/lib/components/pro-selector-group/src/style/index.js +1 -0
- package/dist/lib/components/pro-selector-group/src/types.js +1 -0
- package/dist/lib/components/pro-sign/src/components/add-signature.vue2.js +1 -1
- package/dist/lib/components/pro-sign/src/components/batch.vue2.js +1 -1
- package/dist/lib/components/pro-sign/src/components/date.vue.js +1 -1
- package/dist/lib/components/pro-sign/src/components/loader.vue2.js +2 -2
- package/dist/lib/components/pro-sign/src/components/middle.vue.js +1 -1
- package/dist/lib/components/pro-sign/src/components/signature.vue.js +1 -1
- package/dist/lib/components/pro-sign/src/components/verify.vue2.js +1 -1
- 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/lib/components/pro-table/src/pro-table.vue2.js +1 -1
- package/dist/lib/components/pro-user-avatar/src/index.vue2.js +1 -1
- package/dist/lib/components/scale-virtual-list/component/scale-virtual-list.vue2.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/theme-chalk/icon.css +1 -1
- package/dist/theme-chalk/index.css +1 -1
- package/dist/theme-chalk/pro-selector-group.css +1 -0
- package/dist/types/components/collapse-transtion/index.d.ts +5 -10
- package/dist/types/components/collapse-transtion/src/collapse-transtion.vue.d.ts +4 -4
- package/dist/types/components/cover-scroll-bar/hooks/use-has-scroll.d.ts +2 -2
- package/dist/types/components/cover-scroll-bar/index.d.ts +9 -9
- package/dist/types/components/cover-scroll-bar/src/cover-scroll-bar.d.ts +9 -9
- package/dist/types/components/dept-selector/index.d.ts +7 -7
- package/dist/types/components/dept-selector/src/dept.d.ts +7 -7
- 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 +8 -14
- 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/index.d.ts +1 -0
- package/dist/types/components/plus-upload/index.d.ts +12 -46
- package/dist/types/components/plus-upload/src/plus-upload.vue.d.ts +6 -6
- 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-cell/index.d.ts +7 -254
- package/dist/types/components/pro-cell/src/index.vue.d.ts +3 -42
- package/dist/types/components/pro-cell-group/index.d.ts +5 -164
- package/dist/types/components/pro-cell-group/src/index.vue.d.ts +2 -11
- package/dist/types/components/pro-contract-view/hooks/use-contract-view.d.ts +20 -0
- package/dist/types/components/pro-contract-view/index.d.ts +76 -5
- package/dist/types/components/pro-contract-view/src/pro-contract-view.vue.d.ts +76 -5
- package/dist/types/components/pro-form-render/index.d.ts +651 -8
- package/dist/types/components/pro-form-render/src/index.vue.d.ts +651 -8
- package/dist/types/components/pro-form-render/src/module/AioArrayInput.vue.d.ts +7 -7
- package/dist/types/components/pro-form-render/src/module/AioDatePicker.vue.d.ts +7 -7
- package/dist/types/components/pro-form-render/src/module/AioInput.vue.d.ts +7 -7
- package/dist/types/components/pro-form-render/src/module/AioInputNumber.vue.d.ts +7 -7
- package/dist/types/components/pro-form-render/src/module/AioSelect.vue.d.ts +7 -7
- package/dist/types/components/pro-form-render/src/module/AioSubForm.vue.d.ts +687 -9
- package/dist/types/components/pro-form-render/src/module/AioSwitch.vue.d.ts +7 -7
- package/dist/types/components/pro-form-render/src/module/AioTextarea.vue.d.ts +7 -7
- package/dist/types/components/pro-form-render/src/module/AioTimePicker.vue.d.ts +7 -7
- package/dist/types/components/pro-modal/hooks/useProModal.d.ts +1 -1
- package/dist/types/components/pro-modal/index.d.ts +12 -28
- package/dist/types/components/pro-modal/src/Modal.d.ts +5 -5
- package/dist/types/components/pro-modal/src/ProModal.vue.d.ts +7 -5
- package/dist/types/components/pro-overlay/index.d.ts +4 -4
- package/dist/types/components/pro-overlay/src/pro-overlay.vue.d.ts +2 -2
- package/dist/types/components/pro-picker/apis/pro-picker.api.d.ts +4 -4
- package/dist/types/components/pro-picker/index.d.ts +18 -8
- package/dist/types/components/pro-picker/src/ProPicker.vue.d.ts +18 -8
- package/dist/types/components/pro-picker/src/types.d.ts +4 -0
- package/dist/types/components/pro-selector/index.d.ts +48 -9
- package/dist/types/components/pro-selector/src/components/org-tree.d.ts +6 -6
- package/dist/types/components/pro-selector/src/components/user.d.ts +8 -8
- package/dist/types/components/pro-selector/src/pro-user.d.ts +13 -12
- package/dist/types/components/pro-selector-group/index.d.ts +25 -0
- package/dist/types/components/pro-selector-group/src/compoents/dept-tree.vue.d.ts +13 -0
- package/dist/types/components/pro-selector-group/src/compoents/dept.vue.d.ts +10 -0
- package/dist/types/components/pro-selector-group/src/compoents/index.d.ts +3 -0
- package/dist/types/components/pro-selector-group/src/compoents/role.vue.d.ts +10 -0
- package/dist/types/components/pro-selector-group/src/compoents/select-box.vue.d.ts +16 -0
- package/dist/types/components/pro-selector-group/src/compoents/user.vue.d.ts +10 -0
- package/dist/types/components/pro-selector-group/src/hooks/useApi.d.ts +102 -0
- package/dist/types/components/pro-selector-group/src/index.vue.d.ts +22 -0
- package/dist/types/components/pro-selector-group/src/types.d.ts +30 -0
- package/dist/types/components/pro-selector-group/src/utils/index.d.ts +2 -0
- package/dist/types/components/pro-sign/index.d.ts +4 -4
- package/dist/types/components/pro-sign/src/components/add-signature.vue.d.ts +121 -11
- package/dist/types/components/pro-sign/src/components/batch.vue.d.ts +6 -6
- package/dist/types/components/pro-sign/src/components/date.vue.d.ts +2 -2
- package/dist/types/components/pro-sign/src/components/files.vue.d.ts +2 -2
- package/dist/types/components/pro-sign/src/components/info.vue.d.ts +2 -2
- package/dist/types/components/pro-sign/src/components/loader.vue.d.ts +93 -62
- package/dist/types/components/pro-sign/src/components/middle.vue.d.ts +137 -2
- package/dist/types/components/pro-sign/src/components/pro-sign.vue.d.ts +4 -4
- package/dist/types/components/pro-sign/src/components/seals.vue.d.ts +2 -2
- package/dist/types/components/pro-sign/src/components/signature.vue.d.ts +2 -2
- package/dist/types/components/pro-sign/src/components/verify.vue.d.ts +6 -6
- package/dist/types/components/pro-sign/src/hook/useScrollDetection.d.ts +2 -2
- package/dist/types/components/pro-sign/src/hook/useSms.d.ts +2 -2
- package/dist/types/components/pro-signature/index.d.ts +9 -7
- package/dist/types/components/pro-signature/src/ProSignature.vue.d.ts +9 -7
- 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 +5 -14
- package/dist/types/components/pro-table/src/field/field-input/field-input.vue.d.ts +5 -14
- package/dist/types/components/pro-table/src/field/field-radio/field-radio.vue.d.ts +5 -14
- package/dist/types/components/pro-table/src/field/field-select/field-select.vue.d.ts +5 -14
- package/dist/types/components/pro-table/src/field/field.vue.d.ts +2 -11
- package/dist/types/components/pro-table/src/form-render.vue.d.ts +646 -3
- 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 +49 -3
- 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-tag-group/index.d.ts +9 -7
- package/dist/types/components/pro-tag-group/src/ProTagGroup.vue.d.ts +9 -7
- package/dist/types/components/pro-title/index.d.ts +7 -24
- package/dist/types/components/pro-title/src/ProTitle.vue.d.ts +5 -5
- package/dist/types/components/pro-upload/index.d.ts +35 -107
- package/dist/types/components/pro-upload/src/file-list.d.ts +6 -6
- package/dist/types/components/pro-upload/src/gd-upload.d.ts +35 -107
- package/dist/types/components/pro-user-avatar/index.d.ts +18 -106
- package/dist/types/components/pro-user-avatar/src/index.vue.d.ts +9 -34
- package/dist/types/components/role-selector/index.d.ts +13 -13
- package/dist/types/components/role-selector/src/role.d.ts +7 -7
- package/dist/types/components/scale-virtual-list/component/scale-virtual-list.vue.d.ts +10 -29
- package/dist/types/components/scale-virtual-list/index.d.ts +21 -73
- 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/useModelValue.d.ts +1 -1
- package/dist/types/hooks/useProForm.d.ts +2 -2
- package/global.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,125 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { FileListType } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { FileType } from 'ant-design-vue/es/upload/interface';
|
|
4
4
|
declare const _default: DefineComponent<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type: PropType< UploadPropsType["fileList"]>;
|
|
20
|
-
required: boolean;
|
|
21
|
-
default: () => never[];
|
|
22
|
-
};
|
|
23
|
-
accept: {
|
|
24
|
-
type: PropType< UploadPropsType["accept"]>;
|
|
25
|
-
};
|
|
26
|
-
disabled: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
maxSize: {
|
|
31
|
-
type: PropType< UploadPropsType["maxSize"]>;
|
|
32
|
-
default: number;
|
|
33
|
-
};
|
|
34
|
-
maxCount: {
|
|
35
|
-
type: NumberConstructor;
|
|
36
|
-
default: number;
|
|
37
|
-
};
|
|
38
|
-
http: {
|
|
39
|
-
type: PropType< UploadPropsType["http"]>;
|
|
40
|
-
required: boolean;
|
|
41
|
-
};
|
|
42
|
-
itemWidth: {
|
|
43
|
-
type: PropType< UploadPropsType["itemWidth"]>;
|
|
44
|
-
default: number;
|
|
45
|
-
};
|
|
46
|
-
itemHeight: {
|
|
47
|
-
type: PropType< UploadPropsType["itemHeight"]>;
|
|
48
|
-
default: number;
|
|
49
|
-
};
|
|
50
|
-
prefix: {
|
|
51
|
-
type: PropType< UploadPropsType["prefix"]>;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
itemWidth?: number | undefined;
|
|
7
|
+
itemHeight?: number | undefined;
|
|
8
|
+
prefix?: string | undefined;
|
|
9
|
+
fileList?: object[] | undefined;
|
|
10
|
+
accept?: string[] | undefined;
|
|
11
|
+
beforeUpload?: ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
|
|
12
|
+
maxCount?: number | undefined;
|
|
13
|
+
proxyPrefix?: string | undefined;
|
|
14
|
+
maxSize?: number | undefined;
|
|
15
|
+
http?: object | undefined;
|
|
16
|
+
uploadName?: string | undefined;
|
|
17
|
+
business?: string | undefined;
|
|
18
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
55
19
|
'update:fileList': (val: FileListType[]) => true;
|
|
56
20
|
'upload-success': (fileList: FileListType[]) => FileListType[];
|
|
57
21
|
change: (fileList: FileListType[]) => FileListType[];
|
|
58
22
|
'upload-error': (err: any) => any;
|
|
59
23
|
'delete-success': (fileList: FileListType[], delItem: FileListType) => true;
|
|
60
|
-
}, string, PublicProps, Readonly<
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
type: PropType< UploadPropsType["fileList"]>;
|
|
76
|
-
required: boolean;
|
|
77
|
-
default: () => never[];
|
|
78
|
-
};
|
|
79
|
-
accept: {
|
|
80
|
-
type: PropType< UploadPropsType["accept"]>;
|
|
81
|
-
};
|
|
82
|
-
disabled: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
maxSize: {
|
|
87
|
-
type: PropType< UploadPropsType["maxSize"]>;
|
|
88
|
-
default: number;
|
|
89
|
-
};
|
|
90
|
-
maxCount: {
|
|
91
|
-
type: NumberConstructor;
|
|
92
|
-
default: number;
|
|
93
|
-
};
|
|
94
|
-
http: {
|
|
95
|
-
type: PropType< UploadPropsType["http"]>;
|
|
96
|
-
required: boolean;
|
|
97
|
-
};
|
|
98
|
-
itemWidth: {
|
|
99
|
-
type: PropType< UploadPropsType["itemWidth"]>;
|
|
100
|
-
default: number;
|
|
101
|
-
};
|
|
102
|
-
itemHeight: {
|
|
103
|
-
type: PropType< UploadPropsType["itemHeight"]>;
|
|
104
|
-
default: number;
|
|
105
|
-
};
|
|
106
|
-
prefix: {
|
|
107
|
-
type: PropType< UploadPropsType["prefix"]>;
|
|
108
|
-
default: string;
|
|
109
|
-
};
|
|
110
|
-
}>> & {
|
|
24
|
+
}, string, PublicProps, Readonly<{
|
|
25
|
+
disabled?: boolean | undefined;
|
|
26
|
+
itemWidth?: number | undefined;
|
|
27
|
+
itemHeight?: number | undefined;
|
|
28
|
+
prefix?: string | undefined;
|
|
29
|
+
fileList?: object[] | undefined;
|
|
30
|
+
accept?: string[] | undefined;
|
|
31
|
+
beforeUpload?: ((file: FileType, FileList: FileType[]) => (string | boolean | void | Blob | FileType) | Promise<string | boolean | void | Blob | FileType>) | undefined;
|
|
32
|
+
maxCount?: number | undefined;
|
|
33
|
+
proxyPrefix?: string | undefined;
|
|
34
|
+
maxSize?: number | undefined;
|
|
35
|
+
http?: object | undefined;
|
|
36
|
+
uploadName?: string | undefined;
|
|
37
|
+
business?: string | undefined;
|
|
38
|
+
}> & Readonly<{
|
|
111
39
|
onChange?: ((fileList: FileListType[]) => any) | undefined;
|
|
112
40
|
"onUpdate:fileList"?: ((val: FileListType[]) => any) | undefined;
|
|
113
41
|
"onUpload-success"?: ((fileList: FileListType[]) => any) | undefined;
|
|
114
42
|
"onUpload-error"?: ((err: any) => any) | undefined;
|
|
115
43
|
"onDelete-success"?: ((fileList: FileListType[], delItem: FileListType) => any) | undefined;
|
|
116
|
-
}
|
|
44
|
+
}>, {
|
|
45
|
+
disabled: boolean;
|
|
117
46
|
itemWidth: number | undefined;
|
|
118
47
|
itemHeight: number | undefined;
|
|
119
|
-
disabled: boolean;
|
|
120
48
|
prefix: string | undefined;
|
|
121
49
|
fileList: object[];
|
|
122
50
|
maxCount: number;
|
|
123
51
|
maxSize: number | undefined;
|
|
124
|
-
}, {}>;
|
|
52
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
125
53
|
export default _default;
|
|
@@ -1,129 +1,41 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../utils/install';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
import { SizeType } from './src/types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { Props, SizeType } from './src/types';
|
|
4
4
|
export * from './src/types';
|
|
5
|
-
export declare const KUserAvatar: SFCWithInstall<DefineComponent<{
|
|
6
|
-
name: {
|
|
7
|
-
type: PropType<string>;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
size: {
|
|
11
|
-
type: PropType<SizeType>;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
fontSize: {
|
|
15
|
-
type: PropType<string>;
|
|
16
|
-
};
|
|
17
|
-
round: {
|
|
18
|
-
type: PropType<string>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
preview: {
|
|
22
|
-
type: PropType<boolean>;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
avatar: {
|
|
26
|
-
type: PropType<string>;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
5
|
+
export declare const KUserAvatar: SFCWithInstall<DefineComponent<Props, {
|
|
29
6
|
handlePreview: () => void;
|
|
30
7
|
checkLazyLoading: () => {
|
|
31
8
|
hasNativeLazyLoading: boolean;
|
|
32
9
|
hasStartedLoading: boolean;
|
|
33
10
|
};
|
|
34
|
-
},
|
|
35
|
-
error: (event: Event) =>
|
|
36
|
-
}, string, PublicProps, Readonly<
|
|
37
|
-
name: {
|
|
38
|
-
type: PropType<string>;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
size: {
|
|
42
|
-
type: PropType<SizeType>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
fontSize: {
|
|
46
|
-
type: PropType<string>;
|
|
47
|
-
};
|
|
48
|
-
round: {
|
|
49
|
-
type: PropType<string>;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
preview: {
|
|
53
|
-
type: PropType<boolean>;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
avatar: {
|
|
57
|
-
type: PropType<string>;
|
|
58
|
-
};
|
|
59
|
-
}>> & {
|
|
11
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
error: (event: Event) => any;
|
|
13
|
+
}, string, PublicProps, Readonly< Props> & Readonly<{
|
|
60
14
|
onError?: ((event: Event) => any) | undefined;
|
|
61
|
-
}
|
|
15
|
+
}>, {
|
|
62
16
|
name: string;
|
|
63
17
|
size: SizeType;
|
|
64
18
|
round: string;
|
|
65
19
|
preview: boolean;
|
|
66
|
-
}, {}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
size: {
|
|
73
|
-
type: PropType<SizeType>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
fontSize: {
|
|
77
|
-
type: PropType<string>;
|
|
78
|
-
};
|
|
79
|
-
round: {
|
|
80
|
-
type: PropType<string>;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
preview: {
|
|
84
|
-
type: PropType<boolean>;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
avatar: {
|
|
88
|
-
type: PropType<string>;
|
|
89
|
-
};
|
|
90
|
-
}, {
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
21
|
+
imgRef: HTMLImageElement;
|
|
22
|
+
}, HTMLDivElement>>;
|
|
23
|
+
export declare const KProUserAvatar: SFCWithInstall<DefineComponent<Props, {
|
|
91
24
|
handlePreview: () => void;
|
|
92
25
|
checkLazyLoading: () => {
|
|
93
26
|
hasNativeLazyLoading: boolean;
|
|
94
27
|
hasStartedLoading: boolean;
|
|
95
28
|
};
|
|
96
|
-
},
|
|
97
|
-
error: (event: Event) =>
|
|
98
|
-
}, string, PublicProps, Readonly<
|
|
99
|
-
name: {
|
|
100
|
-
type: PropType<string>;
|
|
101
|
-
default: string;
|
|
102
|
-
};
|
|
103
|
-
size: {
|
|
104
|
-
type: PropType<SizeType>;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
fontSize: {
|
|
108
|
-
type: PropType<string>;
|
|
109
|
-
};
|
|
110
|
-
round: {
|
|
111
|
-
type: PropType<string>;
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
|
-
preview: {
|
|
115
|
-
type: PropType<boolean>;
|
|
116
|
-
default: boolean;
|
|
117
|
-
};
|
|
118
|
-
avatar: {
|
|
119
|
-
type: PropType<string>;
|
|
120
|
-
};
|
|
121
|
-
}>> & {
|
|
29
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
30
|
+
error: (event: Event) => any;
|
|
31
|
+
}, string, PublicProps, Readonly< Props> & Readonly<{
|
|
122
32
|
onError?: ((event: Event) => any) | undefined;
|
|
123
|
-
}
|
|
33
|
+
}>, {
|
|
124
34
|
name: string;
|
|
125
35
|
size: SizeType;
|
|
126
36
|
round: string;
|
|
127
37
|
preview: boolean;
|
|
128
|
-
}, {}
|
|
38
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
39
|
+
imgRef: HTMLImageElement;
|
|
40
|
+
}, HTMLDivElement>>;
|
|
129
41
|
export default KUserAvatar;
|
|
@@ -1,46 +1,21 @@
|
|
|
1
1
|
import { Props, SizeType } from './types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
4
|
-
size: string;
|
|
5
|
-
name: string;
|
|
6
|
-
round: string;
|
|
7
|
-
preview: boolean;
|
|
8
|
-
}>, {
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<Props, {
|
|
9
4
|
handlePreview: () => void;
|
|
10
5
|
checkLazyLoading: () => {
|
|
11
6
|
hasNativeLazyLoading: boolean;
|
|
12
7
|
hasStartedLoading: boolean;
|
|
13
8
|
};
|
|
14
|
-
},
|
|
15
|
-
error: (event: Event) =>
|
|
16
|
-
}, string, PublicProps, Readonly<
|
|
17
|
-
size: string;
|
|
18
|
-
name: string;
|
|
19
|
-
round: string;
|
|
20
|
-
preview: boolean;
|
|
21
|
-
}>>> & {
|
|
9
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
+
error: (event: Event) => any;
|
|
11
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
22
12
|
onError?: ((event: Event) => any) | undefined;
|
|
23
|
-
}
|
|
13
|
+
}>, {
|
|
24
14
|
name: string;
|
|
25
15
|
size: SizeType;
|
|
26
16
|
round: string;
|
|
27
17
|
preview: boolean;
|
|
28
|
-
}, {}
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
19
|
+
imgRef: HTMLImageElement;
|
|
20
|
+
}, HTMLDivElement>;
|
|
29
21
|
export default _default;
|
|
30
|
-
type __VLS_WithDefaults<P, D> = {
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_PrettifyLocal<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../utils/install';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { RoleSelectorOption } from './src/types';
|
|
4
4
|
export * from './src/types';
|
|
5
|
-
export declare const KRoleSelector: SFCWithInstall<DefineComponent<{
|
|
5
|
+
export declare const KRoleSelector: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
6
6
|
readonly visible: BooleanConstructor;
|
|
7
7
|
readonly modelValue: {
|
|
8
8
|
readonly type: PropType< RoleSelectorOption[] | RoleSelectorOption>;
|
|
@@ -29,7 +29,7 @@ export declare const KRoleSelector: SFCWithInstall<DefineComponent<{
|
|
|
29
29
|
readonly type: BooleanConstructor;
|
|
30
30
|
readonly default: false;
|
|
31
31
|
};
|
|
32
|
-
}
|
|
32
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
33
|
'update:visible': (value: boolean) => boolean;
|
|
34
34
|
'update:modelValue': (value: RoleSelectorOption[] | RoleSelectorOption) => boolean;
|
|
35
35
|
confirm: (value: RoleSelectorOption[] | RoleSelectorOption) => boolean;
|
|
@@ -61,12 +61,12 @@ export declare const KRoleSelector: SFCWithInstall<DefineComponent<{
|
|
|
61
61
|
readonly type: BooleanConstructor;
|
|
62
62
|
readonly default: false;
|
|
63
63
|
};
|
|
64
|
-
}>> & {
|
|
64
|
+
}>> & Readonly<{
|
|
65
65
|
onCancel?: (() => any) | undefined;
|
|
66
|
-
onConfirm?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
67
66
|
"onUpdate:modelValue"?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
67
|
+
onConfirm?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
68
68
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
69
|
-
}
|
|
69
|
+
}>, {
|
|
70
70
|
readonly type: "checkbox" | "radio";
|
|
71
71
|
readonly visible: boolean;
|
|
72
72
|
readonly modelValue: RoleSelectorOption | RoleSelectorOption[];
|
|
@@ -74,8 +74,8 @@ export declare const KRoleSelector: SFCWithInstall<DefineComponent<{
|
|
|
74
74
|
readonly http: any;
|
|
75
75
|
readonly isBuiltInRequest: boolean;
|
|
76
76
|
readonly hideSlot: boolean;
|
|
77
|
-
}, {}>>;
|
|
78
|
-
export declare const KProRoleSelector: SFCWithInstall<DefineComponent<{
|
|
77
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
|
|
78
|
+
export declare const KProRoleSelector: SFCWithInstall<DefineComponent<ExtractPropTypes<{
|
|
79
79
|
readonly visible: BooleanConstructor;
|
|
80
80
|
readonly modelValue: {
|
|
81
81
|
readonly type: PropType< RoleSelectorOption[] | RoleSelectorOption>;
|
|
@@ -102,7 +102,7 @@ export declare const KProRoleSelector: SFCWithInstall<DefineComponent<{
|
|
|
102
102
|
readonly type: BooleanConstructor;
|
|
103
103
|
readonly default: false;
|
|
104
104
|
};
|
|
105
|
-
}
|
|
105
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
106
106
|
'update:visible': (value: boolean) => boolean;
|
|
107
107
|
'update:modelValue': (value: RoleSelectorOption[] | RoleSelectorOption) => boolean;
|
|
108
108
|
confirm: (value: RoleSelectorOption[] | RoleSelectorOption) => boolean;
|
|
@@ -134,12 +134,12 @@ export declare const KProRoleSelector: SFCWithInstall<DefineComponent<{
|
|
|
134
134
|
readonly type: BooleanConstructor;
|
|
135
135
|
readonly default: false;
|
|
136
136
|
};
|
|
137
|
-
}>> & {
|
|
137
|
+
}>> & Readonly<{
|
|
138
138
|
onCancel?: (() => any) | undefined;
|
|
139
|
-
onConfirm?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
140
139
|
"onUpdate:modelValue"?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
140
|
+
onConfirm?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
141
141
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
142
|
-
}
|
|
142
|
+
}>, {
|
|
143
143
|
readonly type: "checkbox" | "radio";
|
|
144
144
|
readonly visible: boolean;
|
|
145
145
|
readonly modelValue: RoleSelectorOption | RoleSelectorOption[];
|
|
@@ -147,5 +147,5 @@ export declare const KProRoleSelector: SFCWithInstall<DefineComponent<{
|
|
|
147
147
|
readonly http: any;
|
|
148
148
|
readonly isBuiltInRequest: boolean;
|
|
149
149
|
readonly hideSlot: boolean;
|
|
150
|
-
}, {}>>;
|
|
150
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
|
|
151
151
|
export default KRoleSelector;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RoleSelectorOption } from './types';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const RoleSelector: DefineComponent<{
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const RoleSelector: DefineComponent<ExtractPropTypes<{
|
|
4
4
|
readonly visible: BooleanConstructor;
|
|
5
5
|
readonly modelValue: {
|
|
6
6
|
readonly type: PropType<RoleSelectorOption[] | RoleSelectorOption>;
|
|
@@ -27,7 +27,7 @@ declare const RoleSelector: DefineComponent<{
|
|
|
27
27
|
readonly type: BooleanConstructor;
|
|
28
28
|
readonly default: false;
|
|
29
29
|
};
|
|
30
|
-
}
|
|
30
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
31
31
|
'update:visible': (value: boolean) => boolean;
|
|
32
32
|
'update:modelValue': (value: RoleSelectorOption[] | RoleSelectorOption) => boolean;
|
|
33
33
|
confirm: (value: RoleSelectorOption[] | RoleSelectorOption) => boolean;
|
|
@@ -59,12 +59,12 @@ declare const RoleSelector: DefineComponent<{
|
|
|
59
59
|
readonly type: BooleanConstructor;
|
|
60
60
|
readonly default: false;
|
|
61
61
|
};
|
|
62
|
-
}>> & {
|
|
62
|
+
}>> & Readonly<{
|
|
63
63
|
onCancel?: (() => any) | undefined;
|
|
64
|
-
onConfirm?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
65
64
|
"onUpdate:modelValue"?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
65
|
+
onConfirm?: ((value: RoleSelectorOption | RoleSelectorOption[]) => any) | undefined;
|
|
66
66
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
67
|
-
}
|
|
67
|
+
}>, {
|
|
68
68
|
readonly type: "checkbox" | "radio";
|
|
69
69
|
readonly visible: boolean;
|
|
70
70
|
readonly modelValue: RoleSelectorOption | RoleSelectorOption[];
|
|
@@ -72,5 +72,5 @@ declare const RoleSelector: DefineComponent<{
|
|
|
72
72
|
readonly http: any;
|
|
73
73
|
readonly isBuiltInRequest: boolean;
|
|
74
74
|
readonly hideSlot: boolean;
|
|
75
|
-
}, {}>;
|
|
75
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
76
76
|
export default RoleSelector;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseVirtualListState } from '../hooks/useVirtualList';
|
|
2
2
|
import { VirtualListProps, VirtualListSlot } from './types';
|
|
3
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
attrs: Partial<{}>;
|
|
6
6
|
slots: Readonly<VirtualListSlot> & VirtualListSlot;
|
|
@@ -10,42 +10,23 @@ declare function __VLS_template(): {
|
|
|
10
10
|
rootEl: HTMLDivElement;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: DefineComponent<
|
|
14
|
-
itemClassName: string;
|
|
15
|
-
}>, {
|
|
13
|
+
declare const __VLS_component: DefineComponent<VirtualListProps, {
|
|
16
14
|
scrollTo: (index: number) => void;
|
|
17
15
|
scaleTo: (s: number) => void;
|
|
18
|
-
state: Ref<UseVirtualListState>;
|
|
19
|
-
},
|
|
20
|
-
"update:state": (state: UseVirtualListState | null) =>
|
|
21
|
-
}, string, PublicProps, Readonly<
|
|
22
|
-
itemClassName: string;
|
|
23
|
-
}>>> & {
|
|
16
|
+
state: Ref<UseVirtualListState, UseVirtualListState>;
|
|
17
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
|
+
"update:state": (state: UseVirtualListState | null) => any;
|
|
19
|
+
}, string, PublicProps, Readonly<VirtualListProps> & Readonly<{
|
|
24
20
|
"onUpdate:state"?: ((state: UseVirtualListState | null) => any) | undefined;
|
|
25
|
-
}
|
|
21
|
+
}>, {
|
|
26
22
|
itemClassName: string;
|
|
27
|
-
}, {}
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
24
|
+
wrapperRef: HTMLDivElement;
|
|
25
|
+
}, HTMLDivElement>;
|
|
28
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
27
|
export default _default;
|
|
30
|
-
type __VLS_WithDefaults<P, D> = {
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
29
|
new (): {
|
|
46
30
|
$slots: S;
|
|
47
31
|
};
|
|
48
32
|
};
|
|
49
|
-
type __VLS_PrettifyLocal<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|
|
@@ -1,104 +1,52 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../utils/install';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
+
import { VirtualListProps, VirtualListSlot } from './component/types';
|
|
4
|
+
import { UseVirtualListState } from './hooks/useVirtualList';
|
|
5
5
|
export * from './style/index';
|
|
6
6
|
export * from './component/types';
|
|
7
7
|
export declare const KScaleVirtualList: SFCWithInstall<{
|
|
8
|
-
new (...args: any[]):
|
|
9
|
-
option: {
|
|
10
|
-
type: PropType<UseVirtualListOptions>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
list: {
|
|
14
|
-
type: PropType<any[]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
itemClassName: {
|
|
18
|
-
type: PropType<string>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
}>> & {
|
|
8
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< VirtualListProps> & Readonly<{
|
|
22
9
|
"onUpdate:state"?: ((state: UseVirtualListState | null) => any) | undefined;
|
|
23
|
-
}
|
|
10
|
+
}>, {
|
|
24
11
|
scrollTo: (index: number) => void;
|
|
25
12
|
scaleTo: (s: number) => void;
|
|
26
|
-
state: Ref<UseVirtualListState>;
|
|
27
|
-
},
|
|
28
|
-
"update:state": (state: UseVirtualListState | null) =>
|
|
29
|
-
},
|
|
30
|
-
option: {
|
|
31
|
-
type: PropType<UseVirtualListOptions>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
list: {
|
|
35
|
-
type: PropType<any[]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
itemClassName: {
|
|
39
|
-
type: PropType<string>;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
}>> & {
|
|
43
|
-
"onUpdate:state"?: ((state: UseVirtualListState | null) => any) | undefined;
|
|
44
|
-
}, {
|
|
13
|
+
state: Ref<UseVirtualListState, UseVirtualListState>;
|
|
14
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
|
+
"update:state": (state: UseVirtualListState | null) => any;
|
|
16
|
+
}, PublicProps, {
|
|
45
17
|
itemClassName: string;
|
|
46
|
-
},
|
|
18
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
19
|
+
wrapperRef: HTMLDivElement;
|
|
20
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
47
21
|
P: {};
|
|
48
22
|
B: {};
|
|
49
23
|
D: {};
|
|
50
24
|
C: {};
|
|
51
25
|
M: {};
|
|
52
26
|
Defaults: {};
|
|
53
|
-
}, Readonly<
|
|
54
|
-
option: {
|
|
55
|
-
type: PropType<UseVirtualListOptions>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
list: {
|
|
59
|
-
type: PropType<any[]>;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
itemClassName: {
|
|
63
|
-
type: PropType<string>;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
}>> & {
|
|
27
|
+
}, Readonly< VirtualListProps> & Readonly<{
|
|
67
28
|
"onUpdate:state"?: ((state: UseVirtualListState | null) => any) | undefined;
|
|
68
|
-
}
|
|
29
|
+
}>, {
|
|
69
30
|
scrollTo: (index: number) => void;
|
|
70
31
|
scaleTo: (s: number) => void;
|
|
71
|
-
state: Ref<UseVirtualListState>;
|
|
32
|
+
state: Ref<UseVirtualListState, UseVirtualListState>;
|
|
72
33
|
}, {}, {}, {}, {
|
|
73
34
|
itemClassName: string;
|
|
74
35
|
}>;
|
|
75
36
|
__isFragment?: never;
|
|
76
37
|
__isTeleport?: never;
|
|
77
38
|
__isSuspense?: never;
|
|
78
|
-
} & ComponentOptionsBase<Readonly<
|
|
79
|
-
option: {
|
|
80
|
-
type: PropType<UseVirtualListOptions>;
|
|
81
|
-
required: true;
|
|
82
|
-
};
|
|
83
|
-
list: {
|
|
84
|
-
type: PropType<any[]>;
|
|
85
|
-
required: true;
|
|
86
|
-
};
|
|
87
|
-
itemClassName: {
|
|
88
|
-
type: PropType<string>;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
}>> & {
|
|
39
|
+
} & ComponentOptionsBase<Readonly< VirtualListProps> & Readonly<{
|
|
92
40
|
"onUpdate:state"?: ((state: UseVirtualListState | null) => any) | undefined;
|
|
93
|
-
}
|
|
41
|
+
}>, {
|
|
94
42
|
scrollTo: (index: number) => void;
|
|
95
43
|
scaleTo: (s: number) => void;
|
|
96
|
-
state: Ref<UseVirtualListState>;
|
|
97
|
-
},
|
|
98
|
-
"update:state": (state: UseVirtualListState | null) =>
|
|
44
|
+
state: Ref<UseVirtualListState, UseVirtualListState>;
|
|
45
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
46
|
+
"update:state": (state: UseVirtualListState | null) => any;
|
|
99
47
|
}, string, {
|
|
100
48
|
itemClassName: string;
|
|
101
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
49
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
102
50
|
$slots: Readonly< VirtualListSlot> & VirtualListSlot;
|
|
103
51
|
})>;
|
|
104
52
|
export default KScaleVirtualList;
|