@progress/kendo-vue-upload 8.0.3-develop.1 → 8.0.3-develop.3
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/ExternalDropZone.d.ts +115 -0
- package/Upload.d.ts +301 -0
- package/UploadActionButtons.d.ts +50 -0
- package/UploadAddButton.d.ts +70 -0
- package/UploadDropZone.d.ts +118 -0
- package/UploadInput.d.ts +100 -0
- package/UploadList.d.ts +60 -0
- package/UploadListActionButton.d.ts +64 -0
- package/UploadListGroup.d.ts +57 -0
- package/UploadListMultiItem.d.ts +38 -0
- package/UploadListSingleItem.d.ts +41 -0
- package/UploadNavigation.d.ts +113 -0
- package/UploadStatus.d.ts +31 -0
- package/UploadUI.d.ts +150 -0
- package/dist/cdn/js/kendo-vue-upload.js +1 -1
- package/index.d.mts +27 -1091
- package/index.d.ts +27 -1091
- package/interfaces/BaseUploadEvent.d.ts +16 -0
- package/interfaces/FileGroup.d.ts +14 -0
- package/interfaces/UploadActionsLayout.d.ts +11 -0
- package/interfaces/UploadAdditionalData.d.ts +13 -0
- package/interfaces/UploadAsyncProps.d.ts +89 -0
- package/interfaces/UploadFileInfo.d.ts +48 -0
- package/interfaces/UploadFileRestrictions.d.ts +26 -0
- package/interfaces/UploadFileStatus.d.ts +40 -0
- package/interfaces/UploadHttpHeaders.d.ts +13 -0
- package/interfaces/UploadListItemProps.d.ts +26 -0
- package/interfaces/UploadOnAddEvent.d.ts +22 -0
- package/interfaces/UploadOnBeforeRemoveEvent.d.ts +28 -0
- package/interfaces/UploadOnBeforeUploadEvent.d.ts +28 -0
- package/interfaces/UploadOnCancelEvent.d.ts +17 -0
- package/interfaces/UploadOnProgressEvent.d.ts +22 -0
- package/interfaces/UploadOnRemoveEvent.d.ts +27 -0
- package/interfaces/UploadOnStatusChangeEvent.d.ts +27 -0
- package/interfaces/UploadProps.d.ts +125 -0
- package/interfaces/UploadResponse.d.ts +32 -0
- package/messages/main.d.ts +127 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +14 -8
- package/utils/connectionUtils.d.ts +24 -0
- package/utils/stateUtils.d.ts +33 -0
- package/utils/utils.d.ts +24 -0
- package/utils/validationUtils.d.ts +14 -0
package/UploadInput.d.ts
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { UploadAsyncProps } from './interfaces/UploadAsyncProps';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface UploadInputProps {
|
|
14
|
+
id: string;
|
|
15
|
+
async: UploadAsyncProps;
|
|
16
|
+
multiple?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
accept?: string;
|
|
19
|
+
hasFiles?: boolean;
|
|
20
|
+
ariaLabelledBy?: string;
|
|
21
|
+
ariaDescribedBy?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
declare const UploadInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
27
|
+
async: PropType<UploadAsyncProps>;
|
|
28
|
+
id: PropType<string>;
|
|
29
|
+
multiple: {
|
|
30
|
+
type: PropType<boolean>;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: PropType<boolean>;
|
|
35
|
+
default: any;
|
|
36
|
+
};
|
|
37
|
+
accept: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
default: any;
|
|
40
|
+
};
|
|
41
|
+
hasFiles: {
|
|
42
|
+
type: PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
ariaLabelledBy: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
default: any;
|
|
48
|
+
};
|
|
49
|
+
ariaDescribedBy: {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
inputRef: import('vue').Ref<any, any>;
|
|
55
|
+
}, {}, {}, {
|
|
56
|
+
onMouseDown(e: any): void;
|
|
57
|
+
onAdd(): void;
|
|
58
|
+
actionElement(): any;
|
|
59
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
60
|
+
mousedown: any;
|
|
61
|
+
add: any;
|
|
62
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
63
|
+
async: PropType<UploadAsyncProps>;
|
|
64
|
+
id: PropType<string>;
|
|
65
|
+
multiple: {
|
|
66
|
+
type: PropType<boolean>;
|
|
67
|
+
default: any;
|
|
68
|
+
};
|
|
69
|
+
disabled: {
|
|
70
|
+
type: PropType<boolean>;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
accept: {
|
|
74
|
+
type: PropType<string>;
|
|
75
|
+
default: any;
|
|
76
|
+
};
|
|
77
|
+
hasFiles: {
|
|
78
|
+
type: PropType<boolean>;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
ariaLabelledBy: {
|
|
82
|
+
type: PropType<string>;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
ariaDescribedBy: {
|
|
86
|
+
type: PropType<string>;
|
|
87
|
+
default: any;
|
|
88
|
+
};
|
|
89
|
+
}>> & Readonly<{
|
|
90
|
+
onMousedown?: (...args: any[] | unknown[]) => any;
|
|
91
|
+
onAdd?: (...args: any[] | unknown[]) => any;
|
|
92
|
+
}>, {
|
|
93
|
+
accept: string;
|
|
94
|
+
disabled: boolean;
|
|
95
|
+
multiple: boolean;
|
|
96
|
+
ariaDescribedBy: string;
|
|
97
|
+
ariaLabelledBy: string;
|
|
98
|
+
hasFiles: boolean;
|
|
99
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
100
|
+
export { UploadInput };
|
package/UploadList.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { GroupedFiles } from './interfaces/FileGroup';
|
|
9
|
+
import { UploadAsyncProps } from './interfaces/UploadAsyncProps';
|
|
10
|
+
import { PropType } from 'vue';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface UploadListProps {
|
|
15
|
+
groupedFiles: GroupedFiles;
|
|
16
|
+
async: UploadAsyncProps;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
navigationIndex?: number;
|
|
19
|
+
list?: any;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
declare const UploadList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
25
|
+
groupedFiles: PropType<GroupedFiles>;
|
|
26
|
+
async: PropType<UploadAsyncProps>;
|
|
27
|
+
disabled: PropType<boolean>;
|
|
28
|
+
navigationIndex: {
|
|
29
|
+
type: PropType<number>;
|
|
30
|
+
default: any;
|
|
31
|
+
};
|
|
32
|
+
list: PropType<any>;
|
|
33
|
+
}>, {}, {}, {}, {
|
|
34
|
+
onClick(navIndex: number | undefined): void;
|
|
35
|
+
onRetry(uid: string): void;
|
|
36
|
+
onRemove(uid: string): void;
|
|
37
|
+
onCancel(uid: string): void;
|
|
38
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
+
cancel: any;
|
|
40
|
+
click: any;
|
|
41
|
+
retry: any;
|
|
42
|
+
remove: any;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
groupedFiles: PropType<GroupedFiles>;
|
|
45
|
+
async: PropType<UploadAsyncProps>;
|
|
46
|
+
disabled: PropType<boolean>;
|
|
47
|
+
navigationIndex: {
|
|
48
|
+
type: PropType<number>;
|
|
49
|
+
default: any;
|
|
50
|
+
};
|
|
51
|
+
list: PropType<any>;
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
54
|
+
onCancel?: (...args: any[] | unknown[]) => any;
|
|
55
|
+
onRemove?: (...args: any[] | unknown[]) => any;
|
|
56
|
+
onRetry?: (...args: any[] | unknown[]) => any;
|
|
57
|
+
}>, {
|
|
58
|
+
navigationIndex: number;
|
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
export { UploadList };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { UploadAsyncProps } from './interfaces/UploadAsyncProps';
|
|
9
|
+
import { UploadFileStatus } from './interfaces/UploadFileStatus';
|
|
10
|
+
import { LocalizationService } from '@progress/kendo-vue-intl';
|
|
11
|
+
import { PropType } from 'vue';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export interface UploadListActionButtonProps {
|
|
16
|
+
progress: number;
|
|
17
|
+
uid: string;
|
|
18
|
+
status: UploadFileStatus;
|
|
19
|
+
async: UploadAsyncProps;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
files: any[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
declare const UploadListActionButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
27
|
+
progress: PropType<number>;
|
|
28
|
+
uid: PropType<string>;
|
|
29
|
+
status: PropType<UploadFileStatus>;
|
|
30
|
+
async: PropType<UploadAsyncProps>;
|
|
31
|
+
disabled: PropType<boolean>;
|
|
32
|
+
files: PropType<any[]>;
|
|
33
|
+
}>, {
|
|
34
|
+
kendoLocalizationService: {};
|
|
35
|
+
}, {
|
|
36
|
+
retryFocused: boolean;
|
|
37
|
+
actionFocused: boolean;
|
|
38
|
+
}, {}, {
|
|
39
|
+
actionButtonTitle(status: UploadFileStatus, localizationService: LocalizationService): string;
|
|
40
|
+
retryButtonTitle(localizationService: LocalizationService): string;
|
|
41
|
+
buttonClassNames(type: string): string;
|
|
42
|
+
onRetryFocus(): void;
|
|
43
|
+
onRetryBlur(): void;
|
|
44
|
+
onActionFocus(): void;
|
|
45
|
+
onActionBlur(): void;
|
|
46
|
+
onActionClick(): void;
|
|
47
|
+
onRetryClick(): void;
|
|
48
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
49
|
+
cancel: any;
|
|
50
|
+
retry: any;
|
|
51
|
+
remove: any;
|
|
52
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
53
|
+
progress: PropType<number>;
|
|
54
|
+
uid: PropType<string>;
|
|
55
|
+
status: PropType<UploadFileStatus>;
|
|
56
|
+
async: PropType<UploadAsyncProps>;
|
|
57
|
+
disabled: PropType<boolean>;
|
|
58
|
+
files: PropType<any[]>;
|
|
59
|
+
}>> & Readonly<{
|
|
60
|
+
onCancel?: (...args: any[] | unknown[]) => any;
|
|
61
|
+
onRemove?: (...args: any[] | unknown[]) => any;
|
|
62
|
+
onRetry?: (...args: any[] | unknown[]) => any;
|
|
63
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
export { UploadListActionButton };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { UploadFileInfo } from './interfaces/UploadFileInfo';
|
|
9
|
+
import { UploadAsyncProps } from './interfaces/UploadAsyncProps';
|
|
10
|
+
import { PropType } from 'vue';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface UploadListGroupProps {
|
|
15
|
+
files: Array<UploadFileInfo>;
|
|
16
|
+
async: UploadAsyncProps;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
navigationIndex: number | undefined;
|
|
19
|
+
list?: any;
|
|
20
|
+
index: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
declare const UploadListGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
26
|
+
files: PropType<UploadFileInfo[]>;
|
|
27
|
+
async: PropType<UploadAsyncProps>;
|
|
28
|
+
disabled: PropType<boolean>;
|
|
29
|
+
navigationIndex: PropType<number>;
|
|
30
|
+
list: PropType<any>;
|
|
31
|
+
index: PropType<number>;
|
|
32
|
+
}>, {
|
|
33
|
+
elementRef: import('vue').Ref<any, any>;
|
|
34
|
+
}, {}, {}, {
|
|
35
|
+
onClick(): void;
|
|
36
|
+
onRetry(uid: string): void;
|
|
37
|
+
onRemove(uid: string): void;
|
|
38
|
+
onCancel(uid: string): void;
|
|
39
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
+
cancel: any;
|
|
41
|
+
click: any;
|
|
42
|
+
retry: any;
|
|
43
|
+
remove: any;
|
|
44
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
files: PropType<UploadFileInfo[]>;
|
|
46
|
+
async: PropType<UploadAsyncProps>;
|
|
47
|
+
disabled: PropType<boolean>;
|
|
48
|
+
navigationIndex: PropType<number>;
|
|
49
|
+
list: PropType<any>;
|
|
50
|
+
index: PropType<number>;
|
|
51
|
+
}>> & Readonly<{
|
|
52
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
53
|
+
onCancel?: (...args: any[] | unknown[]) => any;
|
|
54
|
+
onRemove?: (...args: any[] | unknown[]) => any;
|
|
55
|
+
onRetry?: (...args: any[] | unknown[]) => any;
|
|
56
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
export { UploadListGroup };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { UploadFileInfo } from './interfaces/UploadFileInfo';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
declare const UploadListMultiItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
files: PropType<UploadFileInfo[]>;
|
|
15
|
+
disabled: PropType<boolean>;
|
|
16
|
+
async: PropType<import('.').UploadAsyncProps>;
|
|
17
|
+
}>, {
|
|
18
|
+
kendoLocalizationService: {};
|
|
19
|
+
}, {}, {}, {
|
|
20
|
+
onRetry(uid: string): void;
|
|
21
|
+
onRemove(uid: string): void;
|
|
22
|
+
onCancel(uid: string): void;
|
|
23
|
+
getFileValidationMessage(file: UploadFileInfo): string;
|
|
24
|
+
progress(): number;
|
|
25
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
cancel: any;
|
|
27
|
+
retry: any;
|
|
28
|
+
remove: any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
+
files: PropType<UploadFileInfo[]>;
|
|
31
|
+
disabled: PropType<boolean>;
|
|
32
|
+
async: PropType<import('.').UploadAsyncProps>;
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
onCancel?: (...args: any[] | unknown[]) => any;
|
|
35
|
+
onRemove?: (...args: any[] | unknown[]) => any;
|
|
36
|
+
onRetry?: (...args: any[] | unknown[]) => any;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export { UploadListMultiItem };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { UploadFileInfo } from './interfaces/UploadFileInfo';
|
|
9
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { PropType } from 'vue';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
declare const UploadListSingleItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
|
+
files: PropType<UploadFileInfo[]>;
|
|
16
|
+
disabled: PropType<boolean>;
|
|
17
|
+
async: PropType<import('.').UploadAsyncProps>;
|
|
18
|
+
}>, {
|
|
19
|
+
kendoLocalizationService: {};
|
|
20
|
+
}, {}, {}, {
|
|
21
|
+
onRetry(uid: string): void;
|
|
22
|
+
onRemove(uid: string): void;
|
|
23
|
+
onCancel(uid: string): void;
|
|
24
|
+
getFileExtension(file: UploadFileInfo): string;
|
|
25
|
+
getFileValidationMessage(file: UploadFileInfo, isUploadFailed: boolean): string;
|
|
26
|
+
getFileExtensionName(file: UploadFileInfo): string;
|
|
27
|
+
getFileExtensionSVG(file: UploadFileInfo): SVGIcon;
|
|
28
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
cancel: any;
|
|
30
|
+
retry: any;
|
|
31
|
+
remove: any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
files: PropType<UploadFileInfo[]>;
|
|
34
|
+
disabled: PropType<boolean>;
|
|
35
|
+
async: PropType<import('.').UploadAsyncProps>;
|
|
36
|
+
}>> & Readonly<{
|
|
37
|
+
onCancel?: (...args: any[] | unknown[]) => any;
|
|
38
|
+
onRemove?: (...args: any[] | unknown[]) => any;
|
|
39
|
+
onRetry?: (...args: any[] | unknown[]) => any;
|
|
40
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
export { UploadListSingleItem };
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
declare const UploadNavigation: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
async: PropType<Object>;
|
|
14
|
+
className: PropType<string>;
|
|
15
|
+
multiple: {
|
|
16
|
+
type: PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
showFileList: PropType<boolean>;
|
|
24
|
+
showActionButtons: PropType<boolean>;
|
|
25
|
+
actionsLayout: {
|
|
26
|
+
type: PropType<string>;
|
|
27
|
+
default: () => "end";
|
|
28
|
+
};
|
|
29
|
+
tabIndex: PropType<number>;
|
|
30
|
+
accept: PropType<string>;
|
|
31
|
+
groupedFiles: {
|
|
32
|
+
type: PropType<import('./interfaces/FileGroup').GroupedFiles>;
|
|
33
|
+
default: () => {};
|
|
34
|
+
};
|
|
35
|
+
notFocusedIndex: PropType<number>;
|
|
36
|
+
list: PropType<any>;
|
|
37
|
+
id: PropType<string>;
|
|
38
|
+
ariaLabelledBy: PropType<string>;
|
|
39
|
+
ariaDescribedBy: PropType<string>;
|
|
40
|
+
restrictions: PropType<import('.').UploadFileRestrictions>;
|
|
41
|
+
files: PropType<import('.').UploadFileInfo[]>;
|
|
42
|
+
defaultFiles: PropType<import('.').UploadFileInfo[]>;
|
|
43
|
+
}>, {
|
|
44
|
+
uploadUIRef: import('vue').Ref<any, any>;
|
|
45
|
+
}, {
|
|
46
|
+
currentNavIndex: number;
|
|
47
|
+
}, {}, {
|
|
48
|
+
actionElement(): any;
|
|
49
|
+
navIndex(navIndex?: number): any;
|
|
50
|
+
focus(): void;
|
|
51
|
+
onKeyDown(event: KeyboardEvent, isRtl: boolean): void;
|
|
52
|
+
onCancel(uid: string): void;
|
|
53
|
+
onClear(): void;
|
|
54
|
+
onUpload(): void;
|
|
55
|
+
onRetry(uid: string): void;
|
|
56
|
+
onRemove(uid: string): void;
|
|
57
|
+
onAdd(files: FileList): void;
|
|
58
|
+
onClick(navIndex: number): void;
|
|
59
|
+
onFocus(): void;
|
|
60
|
+
onBlurTimeout(): void;
|
|
61
|
+
onBlur(): void;
|
|
62
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
|
+
add: any;
|
|
64
|
+
cancel: any;
|
|
65
|
+
clear: any;
|
|
66
|
+
upload: any;
|
|
67
|
+
retry: any;
|
|
68
|
+
remove: any;
|
|
69
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
70
|
+
async: PropType<Object>;
|
|
71
|
+
className: PropType<string>;
|
|
72
|
+
multiple: {
|
|
73
|
+
type: PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
disabled: {
|
|
77
|
+
type: PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
showFileList: PropType<boolean>;
|
|
81
|
+
showActionButtons: PropType<boolean>;
|
|
82
|
+
actionsLayout: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
default: () => "end";
|
|
85
|
+
};
|
|
86
|
+
tabIndex: PropType<number>;
|
|
87
|
+
accept: PropType<string>;
|
|
88
|
+
groupedFiles: {
|
|
89
|
+
type: PropType<import('./interfaces/FileGroup').GroupedFiles>;
|
|
90
|
+
default: () => {};
|
|
91
|
+
};
|
|
92
|
+
notFocusedIndex: PropType<number>;
|
|
93
|
+
list: PropType<any>;
|
|
94
|
+
id: PropType<string>;
|
|
95
|
+
ariaLabelledBy: PropType<string>;
|
|
96
|
+
ariaDescribedBy: PropType<string>;
|
|
97
|
+
restrictions: PropType<import('.').UploadFileRestrictions>;
|
|
98
|
+
files: PropType<import('.').UploadFileInfo[]>;
|
|
99
|
+
defaultFiles: PropType<import('.').UploadFileInfo[]>;
|
|
100
|
+
}>> & Readonly<{
|
|
101
|
+
onCancel?: (...args: any[] | unknown[]) => any;
|
|
102
|
+
onClear?: (...args: any[] | unknown[]) => any;
|
|
103
|
+
onAdd?: (...args: any[] | unknown[]) => any;
|
|
104
|
+
onRemove?: (...args: any[] | unknown[]) => any;
|
|
105
|
+
onRetry?: (...args: any[] | unknown[]) => any;
|
|
106
|
+
onUpload?: (...args: any[] | unknown[]) => any;
|
|
107
|
+
}>, {
|
|
108
|
+
disabled: boolean;
|
|
109
|
+
multiple: boolean;
|
|
110
|
+
groupedFiles: import('./interfaces/FileGroup').GroupedFiles;
|
|
111
|
+
actionsLayout: string;
|
|
112
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
113
|
+
export { UploadNavigation };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface UploadStatusProps {
|
|
13
|
+
isUploading: boolean;
|
|
14
|
+
isUploaded: boolean;
|
|
15
|
+
isUploadFailed: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
declare const UploadStatus: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
21
|
+
isUploading: PropType<boolean>;
|
|
22
|
+
isUploaded: PropType<boolean>;
|
|
23
|
+
isUploadFailed: PropType<boolean>;
|
|
24
|
+
}>, {
|
|
25
|
+
kendoLocalizationService: {};
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
isUploading: PropType<boolean>;
|
|
28
|
+
isUploaded: PropType<boolean>;
|
|
29
|
+
isUploadFailed: PropType<boolean>;
|
|
30
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export { UploadStatus };
|
package/UploadUI.d.ts
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { GroupedFiles } from './interfaces/FileGroup';
|
|
9
|
+
import { UploadAsyncProps } from './interfaces/UploadAsyncProps';
|
|
10
|
+
import { PropType } from 'vue';
|
|
11
|
+
import { UploadFileRestrictions } from './interfaces/UploadFileRestrictions';
|
|
12
|
+
import { UploadFileInfo } from './interfaces/UploadFileInfo';
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export interface UploadUIProps extends UploadAsyncProps {
|
|
17
|
+
className?: string;
|
|
18
|
+
multiple?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
showFileList?: boolean;
|
|
21
|
+
showActionButtons?: boolean;
|
|
22
|
+
actionsLayout?: string;
|
|
23
|
+
tabIndex?: number;
|
|
24
|
+
accept?: string;
|
|
25
|
+
groupedFiles: GroupedFiles;
|
|
26
|
+
navigationIndex?: number;
|
|
27
|
+
notFocusedIndex?: number;
|
|
28
|
+
list?: any;
|
|
29
|
+
id?: string;
|
|
30
|
+
ariaLabelledBy?: string;
|
|
31
|
+
ariaDescribedBy?: string;
|
|
32
|
+
async?: Object;
|
|
33
|
+
addButtonIndex?: number;
|
|
34
|
+
restrictions?: UploadFileRestrictions;
|
|
35
|
+
files: UploadFileInfo[];
|
|
36
|
+
defaultFiles?: UploadFileInfo[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
declare const UploadUI: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
42
|
+
async: PropType<Object>;
|
|
43
|
+
className: PropType<string>;
|
|
44
|
+
multiple: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: PropType<boolean>;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
showFileList: PropType<boolean>;
|
|
53
|
+
showActionButtons: PropType<boolean>;
|
|
54
|
+
actionsLayout: {
|
|
55
|
+
type: PropType<string>;
|
|
56
|
+
default: () => string;
|
|
57
|
+
};
|
|
58
|
+
tabIndex: PropType<number>;
|
|
59
|
+
accept: PropType<string>;
|
|
60
|
+
groupedFiles: {
|
|
61
|
+
type: PropType<GroupedFiles>;
|
|
62
|
+
default: () => {};
|
|
63
|
+
};
|
|
64
|
+
navigationIndex: PropType<number>;
|
|
65
|
+
notFocusedIndex: PropType<number>;
|
|
66
|
+
list: PropType<any>;
|
|
67
|
+
id: PropType<string>;
|
|
68
|
+
ariaLabelledBy: PropType<string>;
|
|
69
|
+
ariaDescribedBy: PropType<string>;
|
|
70
|
+
}>, {
|
|
71
|
+
containerRef: import('vue').Ref<any, any>;
|
|
72
|
+
uploadDropZoneRef: import('vue').Ref<any, any>;
|
|
73
|
+
}, {}, {
|
|
74
|
+
groupsCount(): number;
|
|
75
|
+
lastGroupIndex(): number;
|
|
76
|
+
addButtonIndex(): number;
|
|
77
|
+
clearButtonIndex(): number;
|
|
78
|
+
uploadButtonIndex(): number;
|
|
79
|
+
isRtl(): boolean;
|
|
80
|
+
}, {
|
|
81
|
+
actionElement(): any;
|
|
82
|
+
focus(): any;
|
|
83
|
+
onAdd(files: FileList): void;
|
|
84
|
+
onRetry(uid: string): void;
|
|
85
|
+
onCancel(uid: string): void;
|
|
86
|
+
onClear(): void;
|
|
87
|
+
onUpload(): void;
|
|
88
|
+
onRemove(uid: string): void;
|
|
89
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
90
|
+
onFocus(event: any): void;
|
|
91
|
+
onBlur(event: any): void;
|
|
92
|
+
onClick(navIndex: number | undefined): void;
|
|
93
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
94
|
+
add: any;
|
|
95
|
+
retry: any;
|
|
96
|
+
cancel: any;
|
|
97
|
+
clear: any;
|
|
98
|
+
upload: any;
|
|
99
|
+
remove: any;
|
|
100
|
+
keydown: any;
|
|
101
|
+
click: any;
|
|
102
|
+
focus: any;
|
|
103
|
+
blur: any;
|
|
104
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
105
|
+
async: PropType<Object>;
|
|
106
|
+
className: PropType<string>;
|
|
107
|
+
multiple: {
|
|
108
|
+
type: PropType<boolean>;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
disabled: {
|
|
112
|
+
type: PropType<boolean>;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
showFileList: PropType<boolean>;
|
|
116
|
+
showActionButtons: PropType<boolean>;
|
|
117
|
+
actionsLayout: {
|
|
118
|
+
type: PropType<string>;
|
|
119
|
+
default: () => string;
|
|
120
|
+
};
|
|
121
|
+
tabIndex: PropType<number>;
|
|
122
|
+
accept: PropType<string>;
|
|
123
|
+
groupedFiles: {
|
|
124
|
+
type: PropType<GroupedFiles>;
|
|
125
|
+
default: () => {};
|
|
126
|
+
};
|
|
127
|
+
navigationIndex: PropType<number>;
|
|
128
|
+
notFocusedIndex: PropType<number>;
|
|
129
|
+
list: PropType<any>;
|
|
130
|
+
id: PropType<string>;
|
|
131
|
+
ariaLabelledBy: PropType<string>;
|
|
132
|
+
ariaDescribedBy: PropType<string>;
|
|
133
|
+
}>> & Readonly<{
|
|
134
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
135
|
+
onBlur?: (...args: any[] | unknown[]) => any;
|
|
136
|
+
onCancel?: (...args: any[] | unknown[]) => any;
|
|
137
|
+
onFocus?: (...args: any[] | unknown[]) => any;
|
|
138
|
+
onKeydown?: (...args: any[] | unknown[]) => any;
|
|
139
|
+
onClear?: (...args: any[] | unknown[]) => any;
|
|
140
|
+
onAdd?: (...args: any[] | unknown[]) => any;
|
|
141
|
+
onRemove?: (...args: any[] | unknown[]) => any;
|
|
142
|
+
onRetry?: (...args: any[] | unknown[]) => any;
|
|
143
|
+
onUpload?: (...args: any[] | unknown[]) => any;
|
|
144
|
+
}>, {
|
|
145
|
+
disabled: boolean;
|
|
146
|
+
multiple: boolean;
|
|
147
|
+
groupedFiles: GroupedFiles;
|
|
148
|
+
actionsLayout: string;
|
|
149
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
150
|
+
export { UploadUI };
|