@keyblade/pro-components 1.12.3 → 1.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/{style.css → pro-components.css} +1 -1
- package/es/pro-image-upload/image-upload.vue.d.ts +12 -12
- package/es/pro-image-upload/index.d.ts +138 -138
- package/es/pro-keep-alive-router-view/index.d.ts +3 -3
- package/es/pro-layout/hooks.d.ts +1 -1
- package/es/pro-layout/index.d.ts +21 -9
- package/es/pro-layout/pro-layout.vue.d.ts +30 -12
- package/es/pro-layout/pro-layout.vue.js +112 -96
- package/es/pro-menu/index.d.ts +8 -8
- package/es/pro-menu/pro-menu.vue.d.ts +2 -2
- package/es/pro-menu/pro-menu.vue.js +47 -54
- package/es/pro-page-container/index.d.ts +51 -51
- package/es/pro-page-container/pro-page-container.vue.d.ts +36 -28
- package/es/pro-page-header/index.d.ts +12 -12
- package/es/pro-page-header/pro-page-header.vue.d.ts +5 -5
- package/es/pro-reuse-tabs/index.d.ts +9 -9
- package/es/pro-reuse-tabs/pro-reuse-tabs.vue.d.ts +4 -4
- package/package.json +1 -1
|
@@ -4,42 +4,42 @@ declare const ProImageUpload: {
|
|
|
4
4
|
modelValue: import('@arco-design/web-vue').FileItem[];
|
|
5
5
|
} & {
|
|
6
6
|
action: string;
|
|
7
|
-
handlerResponse?: (
|
|
8
|
-
[key: string]: any;
|
|
7
|
+
handlerResponse?: (response: any) => Promise<{
|
|
9
8
|
success: boolean;
|
|
10
|
-
url?: string
|
|
11
|
-
errorMessage?: string
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
9
|
+
url?: string;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>;
|
|
13
|
+
headers?: Record<string, any>;
|
|
14
|
+
data?: Record<string, any>;
|
|
15
|
+
name?: string;
|
|
16
|
+
tip?: string;
|
|
17
|
+
accept?: string[];
|
|
18
|
+
multiple?: boolean;
|
|
19
|
+
singleLimit?: number;
|
|
20
|
+
limit?: number;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
hideInnerBeforeUploadLoading?: boolean;
|
|
23
|
+
checkOptions?: import('@keyblade/one-travel').ImageUploadCheckOptions;
|
|
24
|
+
compressorOptions?: import('@keyblade/one-travel').ImageUploadCompressorOptions;
|
|
25
|
+
cropOptions?: import('@keyblade/one-travel').ImageUploadCropOptions;
|
|
26
|
+
onSuccess?: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
27
|
+
onError?: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
28
|
+
onExceed?: (fileList: import('@arco-design/web-vue').FileItem[], files: File[]) => void;
|
|
29
|
+
onBeforeUpload?: (file: File) => boolean | Promise<any>;
|
|
30
|
+
onInnerBeforeUploadStart?: (file: File, index: number, type: import('./types').EImageUploadInnerBeforeUploadStep) => void;
|
|
31
|
+
onInnerBeforeUploadEnd?: (file: File, index: number, type: import('./types').EImageUploadInnerBeforeUploadStep, result: {
|
|
32
32
|
success: boolean;
|
|
33
33
|
error?: {
|
|
34
|
-
size?: boolean
|
|
35
|
-
format?: boolean
|
|
36
|
-
transform?: boolean
|
|
37
|
-
pixel?: boolean
|
|
38
|
-
compress?: boolean
|
|
39
|
-
crop?: boolean
|
|
40
|
-
}
|
|
41
|
-
errorMessage?: string
|
|
42
|
-
}) => void
|
|
34
|
+
size?: boolean;
|
|
35
|
+
format?: boolean;
|
|
36
|
+
transform?: boolean;
|
|
37
|
+
pixel?: boolean;
|
|
38
|
+
compress?: boolean;
|
|
39
|
+
crop?: boolean;
|
|
40
|
+
};
|
|
41
|
+
errorMessage?: string;
|
|
42
|
+
}) => void;
|
|
43
43
|
}> & Readonly<{
|
|
44
44
|
onCropperImgLoad?: ((value: File) => any) | undefined;
|
|
45
45
|
"onUpdate:modelValue"?: ((value: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
@@ -107,12 +107,12 @@ declare const ProImageUpload: {
|
|
|
107
107
|
action?: string | undefined;
|
|
108
108
|
headers?: Record<string, string> | undefined;
|
|
109
109
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
110
|
-
imageLoading?: "
|
|
110
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
111
111
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
112
112
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
113
113
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
114
114
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
115
|
-
onButtonClick?: ((event: Event) =>
|
|
115
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
116
116
|
}> & {
|
|
117
117
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
118
118
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -123,7 +123,7 @@ declare const ProImageUpload: {
|
|
|
123
123
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
prefixCls: string;
|
|
126
|
-
render: () =>
|
|
126
|
+
render: () => false | JSX.Element;
|
|
127
127
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
128
128
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
129
129
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -233,12 +233,12 @@ declare const ProImageUpload: {
|
|
|
233
233
|
action?: string | undefined;
|
|
234
234
|
headers?: Record<string, string> | undefined;
|
|
235
235
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
236
|
-
imageLoading?: "
|
|
236
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
237
237
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
238
238
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
239
239
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
240
240
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
241
|
-
onButtonClick?: ((event: Event) =>
|
|
241
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
242
242
|
}> & {
|
|
243
243
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
244
244
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -249,7 +249,7 @@ declare const ProImageUpload: {
|
|
|
249
249
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
250
250
|
}, {
|
|
251
251
|
prefixCls: string;
|
|
252
|
-
render: () =>
|
|
252
|
+
render: () => false | JSX.Element;
|
|
253
253
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
254
254
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
255
255
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -344,12 +344,12 @@ declare const ProImageUpload: {
|
|
|
344
344
|
action?: string | undefined;
|
|
345
345
|
headers?: Record<string, string> | undefined;
|
|
346
346
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
347
|
-
imageLoading?: "
|
|
347
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
348
348
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
349
349
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
350
350
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
351
351
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
352
|
-
onButtonClick?: ((event: Event) =>
|
|
352
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
353
353
|
}> & {
|
|
354
354
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
355
355
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -360,7 +360,7 @@ declare const ProImageUpload: {
|
|
|
360
360
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
361
361
|
}, {
|
|
362
362
|
prefixCls: string;
|
|
363
|
-
render: () =>
|
|
363
|
+
render: () => false | JSX.Element;
|
|
364
364
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
365
365
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
366
366
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -470,12 +470,12 @@ declare const ProImageUpload: {
|
|
|
470
470
|
action?: string | undefined;
|
|
471
471
|
headers?: Record<string, string> | undefined;
|
|
472
472
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
473
|
-
imageLoading?: "
|
|
473
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
474
474
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
475
475
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
476
476
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
477
477
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
478
|
-
onButtonClick?: ((event: Event) =>
|
|
478
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
479
479
|
}> & {
|
|
480
480
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
481
481
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -486,7 +486,7 @@ declare const ProImageUpload: {
|
|
|
486
486
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
487
487
|
}, {
|
|
488
488
|
prefixCls: string;
|
|
489
|
-
render: () =>
|
|
489
|
+
render: () => false | JSX.Element;
|
|
490
490
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
491
491
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
492
492
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -542,42 +542,42 @@ declare const ProImageUpload: {
|
|
|
542
542
|
modelValue: import('@arco-design/web-vue').FileItem[];
|
|
543
543
|
} & {
|
|
544
544
|
action: string;
|
|
545
|
-
handlerResponse?: (
|
|
546
|
-
[key: string]: any;
|
|
545
|
+
handlerResponse?: (response: any) => Promise<{
|
|
547
546
|
success: boolean;
|
|
548
|
-
url?: string
|
|
549
|
-
errorMessage?: string
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
547
|
+
url?: string;
|
|
548
|
+
errorMessage?: string;
|
|
549
|
+
[key: string]: any;
|
|
550
|
+
}>;
|
|
551
|
+
headers?: Record<string, any>;
|
|
552
|
+
data?: Record<string, any>;
|
|
553
|
+
name?: string;
|
|
554
|
+
tip?: string;
|
|
555
|
+
accept?: string[];
|
|
556
|
+
multiple?: boolean;
|
|
557
|
+
singleLimit?: number;
|
|
558
|
+
limit?: number;
|
|
559
|
+
disabled?: boolean;
|
|
560
|
+
hideInnerBeforeUploadLoading?: boolean;
|
|
561
|
+
checkOptions?: import('@keyblade/one-travel').ImageUploadCheckOptions;
|
|
562
|
+
compressorOptions?: import('@keyblade/one-travel').ImageUploadCompressorOptions;
|
|
563
|
+
cropOptions?: import('@keyblade/one-travel').ImageUploadCropOptions;
|
|
564
|
+
onSuccess?: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
565
|
+
onError?: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
566
|
+
onExceed?: (fileList: import('@arco-design/web-vue').FileItem[], files: File[]) => void;
|
|
567
|
+
onBeforeUpload?: (file: File) => boolean | Promise<any>;
|
|
568
|
+
onInnerBeforeUploadStart?: (file: File, index: number, type: import('./types').EImageUploadInnerBeforeUploadStep) => void;
|
|
569
|
+
onInnerBeforeUploadEnd?: (file: File, index: number, type: import('./types').EImageUploadInnerBeforeUploadStep, result: {
|
|
570
570
|
success: boolean;
|
|
571
571
|
error?: {
|
|
572
|
-
size?: boolean
|
|
573
|
-
format?: boolean
|
|
574
|
-
transform?: boolean
|
|
575
|
-
pixel?: boolean
|
|
576
|
-
compress?: boolean
|
|
577
|
-
crop?: boolean
|
|
578
|
-
}
|
|
579
|
-
errorMessage?: string
|
|
580
|
-
}) => void
|
|
572
|
+
size?: boolean;
|
|
573
|
+
format?: boolean;
|
|
574
|
+
transform?: boolean;
|
|
575
|
+
pixel?: boolean;
|
|
576
|
+
compress?: boolean;
|
|
577
|
+
crop?: boolean;
|
|
578
|
+
};
|
|
579
|
+
errorMessage?: string;
|
|
580
|
+
}) => void;
|
|
581
581
|
}> & Readonly<{
|
|
582
582
|
onCropperImgLoad?: ((value: File) => any) | undefined;
|
|
583
583
|
"onUpdate:modelValue"?: ((value: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
@@ -645,12 +645,12 @@ declare const ProImageUpload: {
|
|
|
645
645
|
action?: string | undefined;
|
|
646
646
|
headers?: Record<string, string> | undefined;
|
|
647
647
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
648
|
-
imageLoading?: "
|
|
648
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
649
649
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
650
650
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
651
651
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
652
652
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
653
|
-
onButtonClick?: ((event: Event) =>
|
|
653
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
654
654
|
}> & {
|
|
655
655
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
656
656
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -661,7 +661,7 @@ declare const ProImageUpload: {
|
|
|
661
661
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
662
662
|
}, {
|
|
663
663
|
prefixCls: string;
|
|
664
|
-
render: () =>
|
|
664
|
+
render: () => false | JSX.Element;
|
|
665
665
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
666
666
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
667
667
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -771,12 +771,12 @@ declare const ProImageUpload: {
|
|
|
771
771
|
action?: string | undefined;
|
|
772
772
|
headers?: Record<string, string> | undefined;
|
|
773
773
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
774
|
-
imageLoading?: "
|
|
774
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
775
775
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
776
776
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
777
777
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
778
778
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
779
|
-
onButtonClick?: ((event: Event) =>
|
|
779
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
780
780
|
}> & {
|
|
781
781
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
782
782
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -787,7 +787,7 @@ declare const ProImageUpload: {
|
|
|
787
787
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
788
788
|
}, {
|
|
789
789
|
prefixCls: string;
|
|
790
|
-
render: () =>
|
|
790
|
+
render: () => false | JSX.Element;
|
|
791
791
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
792
792
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
793
793
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -882,12 +882,12 @@ declare const ProImageUpload: {
|
|
|
882
882
|
action?: string | undefined;
|
|
883
883
|
headers?: Record<string, string> | undefined;
|
|
884
884
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
885
|
-
imageLoading?: "
|
|
885
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
886
886
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
887
887
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
888
888
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
889
889
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
890
|
-
onButtonClick?: ((event: Event) =>
|
|
890
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
891
891
|
}> & {
|
|
892
892
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
893
893
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -898,7 +898,7 @@ declare const ProImageUpload: {
|
|
|
898
898
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
899
899
|
}, {
|
|
900
900
|
prefixCls: string;
|
|
901
|
-
render: () =>
|
|
901
|
+
render: () => false | JSX.Element;
|
|
902
902
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
903
903
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
904
904
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -1008,12 +1008,12 @@ declare const ProImageUpload: {
|
|
|
1008
1008
|
action?: string | undefined;
|
|
1009
1009
|
headers?: Record<string, string> | undefined;
|
|
1010
1010
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
1011
|
-
imageLoading?: "
|
|
1011
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
1012
1012
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
1013
1013
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
1014
1014
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
1015
1015
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
1016
|
-
onButtonClick?: ((event: Event) =>
|
|
1016
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
1017
1017
|
}> & {
|
|
1018
1018
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
1019
1019
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -1024,7 +1024,7 @@ declare const ProImageUpload: {
|
|
|
1024
1024
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
1025
1025
|
}, {
|
|
1026
1026
|
prefixCls: string;
|
|
1027
|
-
render: () =>
|
|
1027
|
+
render: () => false | JSX.Element;
|
|
1028
1028
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
1029
1029
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
1030
1030
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -1066,49 +1066,49 @@ declare const ProImageUpload: {
|
|
|
1066
1066
|
disabled: boolean;
|
|
1067
1067
|
hideInnerBeforeUploadLoading: boolean;
|
|
1068
1068
|
}>;
|
|
1069
|
-
__isFragment?:
|
|
1070
|
-
__isTeleport?:
|
|
1071
|
-
__isSuspense?:
|
|
1069
|
+
__isFragment?: never;
|
|
1070
|
+
__isTeleport?: never;
|
|
1071
|
+
__isSuspense?: never;
|
|
1072
1072
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1073
1073
|
modelValue: import('@arco-design/web-vue').FileItem[];
|
|
1074
1074
|
} & {
|
|
1075
1075
|
action: string;
|
|
1076
|
-
handlerResponse?: (
|
|
1077
|
-
[key: string]: any;
|
|
1076
|
+
handlerResponse?: (response: any) => Promise<{
|
|
1078
1077
|
success: boolean;
|
|
1079
|
-
url?: string
|
|
1080
|
-
errorMessage?: string
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1078
|
+
url?: string;
|
|
1079
|
+
errorMessage?: string;
|
|
1080
|
+
[key: string]: any;
|
|
1081
|
+
}>;
|
|
1082
|
+
headers?: Record<string, any>;
|
|
1083
|
+
data?: Record<string, any>;
|
|
1084
|
+
name?: string;
|
|
1085
|
+
tip?: string;
|
|
1086
|
+
accept?: string[];
|
|
1087
|
+
multiple?: boolean;
|
|
1088
|
+
singleLimit?: number;
|
|
1089
|
+
limit?: number;
|
|
1090
|
+
disabled?: boolean;
|
|
1091
|
+
hideInnerBeforeUploadLoading?: boolean;
|
|
1092
|
+
checkOptions?: import('@keyblade/one-travel').ImageUploadCheckOptions;
|
|
1093
|
+
compressorOptions?: import('@keyblade/one-travel').ImageUploadCompressorOptions;
|
|
1094
|
+
cropOptions?: import('@keyblade/one-travel').ImageUploadCropOptions;
|
|
1095
|
+
onSuccess?: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
1096
|
+
onError?: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
1097
|
+
onExceed?: (fileList: import('@arco-design/web-vue').FileItem[], files: File[]) => void;
|
|
1098
|
+
onBeforeUpload?: (file: File) => boolean | Promise<any>;
|
|
1099
|
+
onInnerBeforeUploadStart?: (file: File, index: number, type: import('./types').EImageUploadInnerBeforeUploadStep) => void;
|
|
1100
|
+
onInnerBeforeUploadEnd?: (file: File, index: number, type: import('./types').EImageUploadInnerBeforeUploadStep, result: {
|
|
1101
1101
|
success: boolean;
|
|
1102
1102
|
error?: {
|
|
1103
|
-
size?: boolean
|
|
1104
|
-
format?: boolean
|
|
1105
|
-
transform?: boolean
|
|
1106
|
-
pixel?: boolean
|
|
1107
|
-
compress?: boolean
|
|
1108
|
-
crop?: boolean
|
|
1109
|
-
}
|
|
1110
|
-
errorMessage?: string
|
|
1111
|
-
}) => void
|
|
1103
|
+
size?: boolean;
|
|
1104
|
+
format?: boolean;
|
|
1105
|
+
transform?: boolean;
|
|
1106
|
+
pixel?: boolean;
|
|
1107
|
+
compress?: boolean;
|
|
1108
|
+
crop?: boolean;
|
|
1109
|
+
};
|
|
1110
|
+
errorMessage?: string;
|
|
1111
|
+
}) => void;
|
|
1112
1112
|
}> & Readonly<{
|
|
1113
1113
|
onCropperImgLoad?: ((value: File) => any) | undefined;
|
|
1114
1114
|
"onUpdate:modelValue"?: ((value: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
@@ -1176,12 +1176,12 @@ declare const ProImageUpload: {
|
|
|
1176
1176
|
action?: string | undefined;
|
|
1177
1177
|
headers?: Record<string, string> | undefined;
|
|
1178
1178
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
1179
|
-
imageLoading?: "
|
|
1179
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
1180
1180
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
1181
1181
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
1182
1182
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
1183
1183
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
1184
|
-
onButtonClick?: ((event: Event) =>
|
|
1184
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
1185
1185
|
}> & {
|
|
1186
1186
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
1187
1187
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -1192,7 +1192,7 @@ declare const ProImageUpload: {
|
|
|
1192
1192
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
1193
1193
|
}, {
|
|
1194
1194
|
prefixCls: string;
|
|
1195
|
-
render: () =>
|
|
1195
|
+
render: () => false | JSX.Element;
|
|
1196
1196
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
1197
1197
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
1198
1198
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -1302,12 +1302,12 @@ declare const ProImageUpload: {
|
|
|
1302
1302
|
action?: string | undefined;
|
|
1303
1303
|
headers?: Record<string, string> | undefined;
|
|
1304
1304
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
1305
|
-
imageLoading?: "
|
|
1305
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
1306
1306
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
1307
1307
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
1308
1308
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
1309
1309
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
1310
|
-
onButtonClick?: ((event: Event) =>
|
|
1310
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
1311
1311
|
}> & {
|
|
1312
1312
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
1313
1313
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -1318,7 +1318,7 @@ declare const ProImageUpload: {
|
|
|
1318
1318
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
1319
1319
|
}, {
|
|
1320
1320
|
prefixCls: string;
|
|
1321
|
-
render: () =>
|
|
1321
|
+
render: () => false | JSX.Element;
|
|
1322
1322
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
1323
1323
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
1324
1324
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -1413,12 +1413,12 @@ declare const ProImageUpload: {
|
|
|
1413
1413
|
action?: string | undefined;
|
|
1414
1414
|
headers?: Record<string, string> | undefined;
|
|
1415
1415
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
1416
|
-
imageLoading?: "
|
|
1416
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
1417
1417
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
1418
1418
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
1419
1419
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
1420
1420
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
1421
|
-
onButtonClick?: ((event: Event) =>
|
|
1421
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
1422
1422
|
}> & {
|
|
1423
1423
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
1424
1424
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -1429,7 +1429,7 @@ declare const ProImageUpload: {
|
|
|
1429
1429
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
1430
1430
|
}, {
|
|
1431
1431
|
prefixCls: string;
|
|
1432
|
-
render: () =>
|
|
1432
|
+
render: () => false | JSX.Element;
|
|
1433
1433
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
1434
1434
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
1435
1435
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -1539,12 +1539,12 @@ declare const ProImageUpload: {
|
|
|
1539
1539
|
action?: string | undefined;
|
|
1540
1540
|
headers?: Record<string, string> | undefined;
|
|
1541
1541
|
customRequest?: ((option: import('@arco-design/web-vue').RequestOption) => import('@arco-design/web-vue').UploadRequest) | undefined;
|
|
1542
|
-
imageLoading?: "
|
|
1542
|
+
imageLoading?: "eager" | "lazy" | undefined;
|
|
1543
1543
|
responseUrlKey?: string | ((fileItem: import('@arco-design/web-vue').FileItem) => string) | undefined;
|
|
1544
1544
|
customIcon?: import('@arco-design/web-vue').CustomIcon | undefined;
|
|
1545
1545
|
onBeforeUpload?: ((file: File) => boolean | Promise<boolean | File>) | undefined;
|
|
1546
1546
|
onBeforeRemove?: ((fileItem: import('@arco-design/web-vue').FileItem) => Promise<boolean>) | undefined;
|
|
1547
|
-
onButtonClick?: ((event: Event) =>
|
|
1547
|
+
onButtonClick?: ((event: Event) => Promise<FileList> | void) | undefined;
|
|
1548
1548
|
}> & {
|
|
1549
1549
|
onChange?: ((fileList: import('@arco-design/web-vue').FileItem[], fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
1550
1550
|
onError?: ((fileItem: import('@arco-design/web-vue').FileItem) => any) | undefined;
|
|
@@ -1555,7 +1555,7 @@ declare const ProImageUpload: {
|
|
|
1555
1555
|
"onUpdate:fileList"?: ((fileList: import('@arco-design/web-vue').FileItem[]) => any) | undefined;
|
|
1556
1556
|
}, {
|
|
1557
1557
|
prefixCls: string;
|
|
1558
|
-
render: () =>
|
|
1558
|
+
render: () => false | JSX.Element;
|
|
1559
1559
|
innerSubmit: (fileItem?: import('@arco-design/web-vue').FileItem | undefined) => void;
|
|
1560
1560
|
innerAbort: (fileItem: import('@arco-design/web-vue').FileItem) => void;
|
|
1561
1561
|
innerUpdateFile: (id: string, file: File) => void;
|
|
@@ -48,9 +48,9 @@ declare const ProKeepAliveRouterView: {
|
|
|
48
48
|
keepAliveExclude: string[];
|
|
49
49
|
keepAliveMax: number;
|
|
50
50
|
}>;
|
|
51
|
-
__isFragment?:
|
|
52
|
-
__isTeleport?:
|
|
53
|
-
__isSuspense?:
|
|
51
|
+
__isFragment?: never;
|
|
52
|
+
__isTeleport?: never;
|
|
53
|
+
__isSuspense?: never;
|
|
54
54
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
55
55
|
keepAliveInclude: {
|
|
56
56
|
type: import('vue').PropType<string[]>;
|
package/es/pro-layout/hooks.d.ts
CHANGED