@progress/kendo-vue-upload 2.7.2-dev.202201051440 → 2.8.0-dev.202201111325
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/dist/cdn/js/kendo-vue-upload.js +1 -1
- package/dist/es/ExternalDropZone.d.ts +5 -6
- package/dist/es/ExternalDropZone.js +3 -3
- package/dist/es/Upload.d.ts +5 -6
- package/dist/es/Upload.js +3 -3
- package/dist/es/UploadActionButtons.d.ts +5 -6
- package/dist/es/UploadActionButtons.js +21 -12
- package/dist/es/UploadAddButton.d.ts +5 -6
- package/dist/es/UploadAddButton.js +4 -4
- package/dist/es/UploadDropZone.d.ts +5 -6
- package/dist/es/UploadDropZone.js +3 -3
- package/dist/es/UploadInput.d.ts +5 -6
- package/dist/es/UploadInput.js +3 -3
- package/dist/es/UploadList.d.ts +5 -6
- package/dist/es/UploadList.js +3 -3
- package/dist/es/UploadListActionButton.d.ts +5 -6
- package/dist/es/UploadListActionButton.js +3 -3
- package/dist/es/UploadListGroup.d.ts +5 -6
- package/dist/es/UploadListGroup.js +3 -3
- package/dist/es/UploadListMultiItem.d.ts +5 -6
- package/dist/es/UploadListMultiItem.js +3 -3
- package/dist/es/UploadListSingleItem.d.ts +5 -6
- package/dist/es/UploadListSingleItem.js +3 -3
- package/dist/es/UploadNavigation.d.ts +5 -6
- package/dist/es/UploadNavigation.js +3 -3
- package/dist/es/UploadStatus.d.ts +5 -6
- package/dist/es/UploadStatus.js +3 -3
- package/dist/es/UploadUI.d.ts +5 -6
- package/dist/es/UploadUI.js +3 -3
- package/dist/es/additionalTypes.ts +7 -1
- package/dist/es/main.d.ts +7 -7
- package/dist/es/main.js +7 -7
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/ExternalDropZone.d.ts +5 -6
- package/dist/npm/ExternalDropZone.js +5 -5
- package/dist/npm/Upload.d.ts +5 -6
- package/dist/npm/Upload.js +5 -5
- package/dist/npm/UploadActionButtons.d.ts +5 -6
- package/dist/npm/UploadActionButtons.js +24 -14
- package/dist/npm/UploadAddButton.d.ts +5 -6
- package/dist/npm/UploadAddButton.js +6 -6
- package/dist/npm/UploadDropZone.d.ts +5 -6
- package/dist/npm/UploadDropZone.js +5 -5
- package/dist/npm/UploadInput.d.ts +5 -6
- package/dist/npm/UploadInput.js +5 -5
- package/dist/npm/UploadList.d.ts +5 -6
- package/dist/npm/UploadList.js +5 -5
- package/dist/npm/UploadListActionButton.d.ts +5 -6
- package/dist/npm/UploadListActionButton.js +5 -5
- package/dist/npm/UploadListGroup.d.ts +5 -6
- package/dist/npm/UploadListGroup.js +5 -5
- package/dist/npm/UploadListMultiItem.d.ts +5 -6
- package/dist/npm/UploadListMultiItem.js +5 -5
- package/dist/npm/UploadListSingleItem.d.ts +5 -6
- package/dist/npm/UploadListSingleItem.js +5 -5
- package/dist/npm/UploadNavigation.d.ts +5 -6
- package/dist/npm/UploadNavigation.js +5 -5
- package/dist/npm/UploadStatus.d.ts +5 -6
- package/dist/npm/UploadStatus.js +5 -5
- package/dist/npm/UploadUI.d.ts +5 -6
- package/dist/npm/UploadUI.js +5 -5
- package/dist/npm/additionalTypes.ts +7 -1
- package/dist/npm/main.d.ts +7 -7
- package/dist/npm/main.js +7 -7
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +4 -3
package/dist/es/UploadStatus.js
CHANGED
|
@@ -15,7 +15,7 @@ import { messages, headerStatusUploading, headerStatusUploaded } from './message
|
|
|
15
15
|
* Represents the default `UploadStatus` component.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var UploadStatusVue2 = {
|
|
19
19
|
props: {
|
|
20
20
|
isUploading: Boolean,
|
|
21
21
|
isUploaded: Boolean,
|
|
@@ -58,5 +58,5 @@ var UploadStatus = {
|
|
|
58
58
|
}), statusText]);
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
var
|
|
62
|
-
export { UploadStatus,
|
|
61
|
+
var UploadStatus = UploadStatusVue2;
|
|
62
|
+
export { UploadStatus, UploadStatusVue2 };
|
package/dist/es/UploadUI.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -69,7 +68,7 @@ export interface UploadUIComputed {
|
|
|
69
68
|
/**
|
|
70
69
|
* @hidden
|
|
71
70
|
*/
|
|
72
|
-
export interface UploadUIAll extends UploadUIMethods, UploadUIState, UploadUIData, UploadUIComputed,
|
|
71
|
+
export interface UploadUIAll extends UploadUIMethods, UploadUIState, UploadUIData, UploadUIComputed, Vue2type {
|
|
73
72
|
}
|
|
74
73
|
/**
|
|
75
74
|
* @hidden
|
|
@@ -77,6 +76,6 @@ export interface UploadUIAll extends UploadUIMethods, UploadUIState, UploadUIDat
|
|
|
77
76
|
/**
|
|
78
77
|
* Represents the default `UploadUI` component.
|
|
79
78
|
*/
|
|
80
|
-
declare let
|
|
81
|
-
declare const
|
|
82
|
-
export { UploadUI,
|
|
79
|
+
declare let UploadUIVue2: ComponentOptions<Vue2type, DefaultData<UploadUIData>, DefaultMethods<UploadUIAll>, UploadUIComputed, RecordPropsDefinition<UploadUIProps>>;
|
|
80
|
+
declare const UploadUI: DefineComponent<UploadUIProps, any, UploadUIData, UploadUIComputed, UploadUIMethods, {}, {}, {}, string, UploadUIProps, UploadUIProps, {}>;
|
|
81
|
+
export { UploadUI, UploadUIVue2 };
|
package/dist/es/UploadUI.js
CHANGED
|
@@ -16,7 +16,7 @@ var ADD_BUTTON_NAV_INDEX = -1;
|
|
|
16
16
|
* Represents the default `UploadUI` component.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var UploadUIVue2 = {
|
|
20
20
|
name: 'KendoVueUploadUI',
|
|
21
21
|
props: {
|
|
22
22
|
async: Object,
|
|
@@ -262,5 +262,5 @@ var UploadUI = {
|
|
|
262
262
|
}) : undefined]);
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
|
-
var
|
|
266
|
-
export { UploadUI,
|
|
265
|
+
var UploadUI = UploadUIVue2;
|
|
266
|
+
export { UploadUI, UploadUIVue2 };
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DefineComponent } from 'vue';
|
|
3
|
-
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
import * as Vue from 'vue';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
type Vue2type = Vue.default;
|
|
7
|
+
// @ts-ignore
|
|
8
|
+
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
9
|
+
export { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type };
|
package/dist/es/main.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UploadUI,
|
|
2
|
-
import { Upload,
|
|
3
|
-
import { UploadListSingleItem,
|
|
4
|
-
import { UploadListMultiItem,
|
|
1
|
+
import { UploadUI, UploadUIVue2, UploadUIProps } from './UploadUI';
|
|
2
|
+
import { Upload, UploadVue2 } from './Upload';
|
|
3
|
+
import { UploadListSingleItem, UploadListSingleItemVue2 } from './UploadListSingleItem';
|
|
4
|
+
import { UploadListMultiItem, UploadListMultiItemVue2 } from './UploadListMultiItem';
|
|
5
5
|
import utils from './utils/utils';
|
|
6
|
-
import { UploadListActionButton,
|
|
6
|
+
import { UploadListActionButton, UploadListActionButtonVue2 } from './UploadListActionButton';
|
|
7
7
|
import { UploadOnAddEvent } from './interfaces/UploadOnAddEvent';
|
|
8
8
|
import { UploadOnBeforeRemoveEvent } from './interfaces/UploadOnBeforeRemoveEvent';
|
|
9
9
|
import { UploadOnBeforeUploadEvent } from './interfaces/UploadOnBeforeUploadEvent';
|
|
@@ -21,5 +21,5 @@ import { UploadListItemProps } from './interfaces/UploadListItemProps';
|
|
|
21
21
|
import { UploadProps } from './interfaces/UploadProps';
|
|
22
22
|
import { UploadOnCancelEvent } from './interfaces/UploadOnCancelEvent';
|
|
23
23
|
import { UploadActionsLayout } from './interfaces/UploadActionsLayout';
|
|
24
|
-
import { ExternalDropZone,
|
|
25
|
-
export { UploadUI,
|
|
24
|
+
import { ExternalDropZone, ExternalDropZoneVue2 } from './ExternalDropZone';
|
|
25
|
+
export { UploadUI, UploadUIVue2, UploadUIProps, UploadFileRestrictions, Upload, UploadVue2, UploadProps, UploadOnAddEvent, UploadOnBeforeRemoveEvent, UploadOnBeforeUploadEvent, UploadOnProgressEvent, UploadOnRemoveEvent, UploadOnStatusChangeEvent, UploadOnCancelEvent, UploadResponse, UploadFileStatus, UploadAdditionalData, UploadAsyncProps, UploadFileInfo, UploadHttpHeaders, UploadListItemProps, UploadActionsLayout, ExternalDropZone, ExternalDropZoneVue2, UploadListSingleItem, UploadListSingleItemVue2, UploadListMultiItem, UploadListMultiItemVue2, UploadListActionButton, UploadListActionButtonVue2, utils };
|
package/dist/es/main.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UploadUI,
|
|
2
|
-
import { Upload,
|
|
3
|
-
import { UploadListSingleItem,
|
|
4
|
-
import { UploadListMultiItem,
|
|
1
|
+
import { UploadUI, UploadUIVue2 } from './UploadUI';
|
|
2
|
+
import { Upload, UploadVue2 } from './Upload';
|
|
3
|
+
import { UploadListSingleItem, UploadListSingleItemVue2 } from './UploadListSingleItem';
|
|
4
|
+
import { UploadListMultiItem, UploadListMultiItemVue2 } from './UploadListMultiItem';
|
|
5
5
|
import utils from './utils/utils';
|
|
6
|
-
import { UploadListActionButton,
|
|
6
|
+
import { UploadListActionButton, UploadListActionButtonVue2 } from './UploadListActionButton';
|
|
7
7
|
import { UploadFileStatus } from './interfaces/UploadFileStatus';
|
|
8
|
-
import { ExternalDropZone,
|
|
9
|
-
export { UploadUI,
|
|
8
|
+
import { ExternalDropZone, ExternalDropZoneVue2 } from './ExternalDropZone';
|
|
9
|
+
export { UploadUI, UploadUIVue2, Upload, UploadVue2, UploadFileStatus, ExternalDropZone, ExternalDropZoneVue2, UploadListSingleItem, UploadListSingleItemVue2, UploadListMultiItem, UploadListMultiItemVue2, UploadListActionButton, UploadListActionButtonVue2, utils };
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-upload',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1641907309,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -109,7 +108,7 @@ export interface ExternalDropZoneComputed {
|
|
|
109
108
|
/**
|
|
110
109
|
* @hidden
|
|
111
110
|
*/
|
|
112
|
-
export interface ExternalDropZoneAll extends ExternalDropZoneMethods, ExternalDropZoneState, ExternalDropZoneData, ExternalDropZoneComputed,
|
|
111
|
+
export interface ExternalDropZoneAll extends ExternalDropZoneMethods, ExternalDropZoneState, ExternalDropZoneData, ExternalDropZoneComputed, Vue2type {
|
|
113
112
|
}
|
|
114
113
|
/**
|
|
115
114
|
* @hidden
|
|
@@ -117,6 +116,6 @@ export interface ExternalDropZoneAll extends ExternalDropZoneMethods, ExternalDr
|
|
|
117
116
|
/**
|
|
118
117
|
* Represents the default `ExternalDropZone` component.
|
|
119
118
|
*/
|
|
120
|
-
declare let
|
|
121
|
-
declare const
|
|
122
|
-
export { ExternalDropZone,
|
|
119
|
+
declare let ExternalDropZoneVue2: ComponentOptions<Vue2type, DefaultData<ExternalDropZoneData>, DefaultMethods<ExternalDropZoneAll>, ExternalDropZoneComputed, RecordPropsDefinition<ExternalDropZoneProps>>;
|
|
120
|
+
declare const ExternalDropZone: DefineComponent<ExternalDropZoneProps, any, ExternalDropZoneData, ExternalDropZoneComputed, ExternalDropZoneMethods, {}, {}, {}, string, ExternalDropZoneProps, ExternalDropZoneProps, {}>;
|
|
121
|
+
export { ExternalDropZone, ExternalDropZoneVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.ExternalDropZoneVue2 = exports.ExternalDropZone = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -33,7 +33,7 @@ var TIME_TO_CHECK_DRAG = 100;
|
|
|
33
33
|
* Represents the default `ExternalDropZone` component.
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var ExternalDropZoneVue2 = {
|
|
37
37
|
name: 'KendoVueExternalDropZone',
|
|
38
38
|
props: {
|
|
39
39
|
id: String,
|
|
@@ -180,6 +180,6 @@ var ExternalDropZone = {
|
|
|
180
180
|
})]);
|
|
181
181
|
}
|
|
182
182
|
};
|
|
183
|
-
exports.
|
|
184
|
-
var
|
|
185
|
-
exports.
|
|
183
|
+
exports.ExternalDropZoneVue2 = ExternalDropZoneVue2;
|
|
184
|
+
var ExternalDropZone = ExternalDropZoneVue2;
|
|
185
|
+
exports.ExternalDropZone = ExternalDropZone;
|
package/dist/npm/Upload.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => UploadData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -38,7 +37,7 @@ export interface UploadComputed {
|
|
|
38
37
|
/**
|
|
39
38
|
* @hidden
|
|
40
39
|
*/
|
|
41
|
-
export interface UploadAll extends UploadMethods, UploadState, UploadData, UploadComputed,
|
|
40
|
+
export interface UploadAll extends UploadMethods, UploadState, UploadData, UploadComputed, Vue2type {
|
|
42
41
|
}
|
|
43
42
|
/**
|
|
44
43
|
* @hidden
|
|
@@ -46,6 +45,6 @@ export interface UploadAll extends UploadMethods, UploadState, UploadData, Uploa
|
|
|
46
45
|
/**
|
|
47
46
|
* Represents the default `Upload` component.
|
|
48
47
|
*/
|
|
49
|
-
declare let
|
|
50
|
-
declare const
|
|
51
|
-
export { Upload,
|
|
48
|
+
declare let UploadVue2: ComponentOptions<Vue2type, DefaultData<UploadData>, DefaultMethods<UploadAll>, UploadComputed, RecordPropsDefinition<UploadProps>>;
|
|
49
|
+
declare const Upload: DefineComponent<UploadProps, any, UploadData, UploadComputed, UploadMethods, {}, {}, {}, string, UploadProps, UploadProps, {}>;
|
|
50
|
+
export { Upload, UploadVue2 };
|
package/dist/npm/Upload.js
CHANGED
|
@@ -19,7 +19,7 @@ var __assign = undefined && undefined.__assign || function () {
|
|
|
19
19
|
Object.defineProperty(exports, "__esModule", {
|
|
20
20
|
value: true
|
|
21
21
|
});
|
|
22
|
-
exports.
|
|
22
|
+
exports.UploadVue2 = exports.Upload = void 0; // @ts-ignore
|
|
23
23
|
|
|
24
24
|
var Vue = require("vue");
|
|
25
25
|
|
|
@@ -53,7 +53,7 @@ var package_metadata_1 = require("./package-metadata");
|
|
|
53
53
|
*/
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var UploadVue2 = {
|
|
57
57
|
name: 'KendoVueUpload',
|
|
58
58
|
props: {
|
|
59
59
|
autoUpload: {
|
|
@@ -803,6 +803,6 @@ var Upload = {
|
|
|
803
803
|
);
|
|
804
804
|
}
|
|
805
805
|
};
|
|
806
|
-
exports.
|
|
807
|
-
var
|
|
808
|
-
exports.
|
|
806
|
+
exports.UploadVue2 = UploadVue2;
|
|
807
|
+
var Upload = UploadVue2;
|
|
808
|
+
exports.Upload = Upload;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => UploadActionButtonsData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -47,7 +46,7 @@ export interface UploadActionButtonsComputed {
|
|
|
47
46
|
/**
|
|
48
47
|
* @hidden
|
|
49
48
|
*/
|
|
50
|
-
export interface UploadActionButtonsAll extends UploadActionButtonsMethods, UploadActionButtonsState, UploadActionButtonsData, UploadActionButtonsComputed,
|
|
49
|
+
export interface UploadActionButtonsAll extends UploadActionButtonsMethods, UploadActionButtonsState, UploadActionButtonsData, UploadActionButtonsComputed, Vue2type {
|
|
51
50
|
}
|
|
52
51
|
/**
|
|
53
52
|
* @hidden
|
|
@@ -55,6 +54,6 @@ export interface UploadActionButtonsAll extends UploadActionButtonsMethods, Uplo
|
|
|
55
54
|
/**
|
|
56
55
|
* Represents the default `UploadActionButtons` component.
|
|
57
56
|
*/
|
|
58
|
-
declare let
|
|
59
|
-
declare const
|
|
60
|
-
export { UploadActionButtons,
|
|
57
|
+
declare let UploadActionButtonsVue2: ComponentOptions<Vue2type, DefaultData<UploadActionButtonsData>, DefaultMethods<UploadActionButtonsAll>, UploadActionButtonsComputed, RecordPropsDefinition<UploadActionButtonsProps>>;
|
|
58
|
+
declare const UploadActionButtons: DefineComponent<UploadActionButtonsProps, any, UploadActionButtonsData, UploadActionButtonsComputed, UploadActionButtonsMethods, {}, {}, {}, string, UploadActionButtonsProps, UploadActionButtonsProps, {}>;
|
|
59
|
+
export { UploadActionButtons, UploadActionButtonsVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.UploadActionButtonsVue2 = exports.UploadActionButtons = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -16,6 +16,8 @@ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
|
|
|
16
16
|
|
|
17
17
|
var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
18
18
|
|
|
19
|
+
var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
|
|
20
|
+
|
|
19
21
|
var messages_1 = require("./messages");
|
|
20
22
|
/**
|
|
21
23
|
* @hidden
|
|
@@ -26,7 +28,7 @@ var messages_1 = require("./messages");
|
|
|
26
28
|
*/
|
|
27
29
|
|
|
28
30
|
|
|
29
|
-
var
|
|
31
|
+
var UploadActionButtonsVue2 = {
|
|
30
32
|
name: 'KendoVueUploadActionButtons',
|
|
31
33
|
props: {
|
|
32
34
|
disabled: Boolean,
|
|
@@ -121,17 +123,18 @@ var UploadActionButtons = {
|
|
|
121
123
|
'k-actions-end': actionsLayout === 'end',
|
|
122
124
|
'k-actions-stretched': actionsLayout === 'stretched'
|
|
123
125
|
});
|
|
124
|
-
var clearButtonClasses = kendo_vue_common_1.classNames('k-
|
|
125
|
-
var uploadButtonClasses = kendo_vue_common_1.classNames('k-
|
|
126
|
+
var clearButtonClasses = kendo_vue_common_1.classNames('k-clear-selected', navigationIndex === clearButtonIndex ? 'k-focus' : '');
|
|
127
|
+
var uploadButtonClasses = kendo_vue_common_1.classNames('k-upload-selected', navigationIndex === uploadButtonIndex ? 'k-focus' : '');
|
|
126
128
|
return h("div", {
|
|
127
129
|
"class": wrapperClasses
|
|
128
|
-
}, [
|
|
130
|
+
}, [// @ts-ignore function children
|
|
131
|
+
h(kendo_vue_buttons_1.Button, {
|
|
129
132
|
ref: this.v3 ? function (el) {
|
|
130
133
|
_this.clearElementRef = el;
|
|
131
134
|
} : 'clearElement',
|
|
132
|
-
|
|
135
|
+
disabled: disabled,
|
|
133
136
|
attrs: this.v3 ? undefined : {
|
|
134
|
-
|
|
137
|
+
disabled: disabled,
|
|
135
138
|
tabIndex: -1
|
|
136
139
|
},
|
|
137
140
|
"class": clearButtonClasses,
|
|
@@ -140,24 +143,31 @@ var UploadActionButtons = {
|
|
|
140
143
|
on: this.v3 ? undefined : {
|
|
141
144
|
"click": this.onClearClick
|
|
142
145
|
}
|
|
143
|
-
},
|
|
146
|
+
}, this.v3 ? function () {
|
|
147
|
+
return [localizationService.toLanguageString(messages_1.clearSelectedFiles, messages_1.messages[messages_1.clearSelectedFiles])];
|
|
148
|
+
} : [localizationService.toLanguageString(messages_1.clearSelectedFiles, messages_1.messages[messages_1.clearSelectedFiles])]), // @ts-ignore function children
|
|
149
|
+
h(kendo_vue_buttons_1.Button, {
|
|
144
150
|
ref: this.v3 ? function (el) {
|
|
145
151
|
_this.uploadElementRef = el;
|
|
146
152
|
} : 'uploadElement',
|
|
147
|
-
|
|
153
|
+
disabled: disabled,
|
|
148
154
|
attrs: this.v3 ? undefined : {
|
|
149
|
-
|
|
155
|
+
disabled: disabled,
|
|
156
|
+
themeColor: 'primary',
|
|
150
157
|
tabIndex: -1
|
|
151
158
|
},
|
|
159
|
+
themeColor: 'primary',
|
|
152
160
|
"class": uploadButtonClasses,
|
|
153
161
|
tabIndex: -1,
|
|
154
162
|
onClick: this.onUploadClick,
|
|
155
163
|
on: this.v3 ? undefined : {
|
|
156
164
|
"click": this.onUploadClick
|
|
157
165
|
}
|
|
158
|
-
},
|
|
166
|
+
}, this.v3 ? function () {
|
|
167
|
+
return [localizationService.toLanguageString(messages_1.uploadSelectedFiles, messages_1.messages[messages_1.uploadSelectedFiles])];
|
|
168
|
+
} : [localizationService.toLanguageString(messages_1.uploadSelectedFiles, messages_1.messages[messages_1.uploadSelectedFiles])])]);
|
|
159
169
|
}
|
|
160
170
|
};
|
|
161
|
-
exports.
|
|
162
|
-
var
|
|
163
|
-
exports.
|
|
171
|
+
exports.UploadActionButtonsVue2 = UploadActionButtonsVue2;
|
|
172
|
+
var UploadActionButtons = UploadActionButtonsVue2;
|
|
173
|
+
exports.UploadActionButtons = UploadActionButtons;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => UploadAddButtonData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -55,7 +54,7 @@ export interface UploadAddButtonComputed {
|
|
|
55
54
|
/**
|
|
56
55
|
* @hidden
|
|
57
56
|
*/
|
|
58
|
-
export interface UploadAddButtonAll extends UploadAddButtonMethods, UploadAddButtonState, UploadAddButtonData, UploadAddButtonComputed,
|
|
57
|
+
export interface UploadAddButtonAll extends UploadAddButtonMethods, UploadAddButtonState, UploadAddButtonData, UploadAddButtonComputed, Vue2type {
|
|
59
58
|
}
|
|
60
59
|
/**
|
|
61
60
|
* @hidden
|
|
@@ -63,6 +62,6 @@ export interface UploadAddButtonAll extends UploadAddButtonMethods, UploadAddBut
|
|
|
63
62
|
/**
|
|
64
63
|
* Represents the default `UploadAddButton` component.
|
|
65
64
|
*/
|
|
66
|
-
declare let
|
|
67
|
-
declare const
|
|
68
|
-
export { UploadAddButton,
|
|
65
|
+
declare let UploadAddButtonVue2: ComponentOptions<Vue2type, DefaultData<UploadAddButtonData>, DefaultMethods<UploadAddButtonAll>, UploadAddButtonComputed, RecordPropsDefinition<UploadAddButtonProps>>;
|
|
66
|
+
declare const UploadAddButton: DefineComponent<UploadAddButtonProps, any, UploadAddButtonData, UploadAddButtonComputed, UploadAddButtonMethods, {}, {}, {}, string, UploadAddButtonProps, UploadAddButtonProps, {}>;
|
|
67
|
+
export { UploadAddButton, UploadAddButtonVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.UploadAddButtonVue2 = exports.UploadAddButton = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -28,7 +28,7 @@ var UploadInput_1 = require("./UploadInput");
|
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var UploadAddButtonVue2 = {
|
|
32
32
|
name: 'KendoVueUploadAddButton',
|
|
33
33
|
props: {
|
|
34
34
|
addButtonIndex: Number,
|
|
@@ -126,7 +126,7 @@ var UploadAddButton = {
|
|
|
126
126
|
accept = _a.accept;
|
|
127
127
|
var localizationService = kendo_vue_intl_1.provideLocalizationService(this);
|
|
128
128
|
var selectMessage = localizationService.toLanguageString(messages_1.select, messages_1.messages[messages_1.select]);
|
|
129
|
-
var buttonClassName = kendo_vue_common_1.classNames('k-button', 'k-upload-button', navigationIndex === addButtonIndex ? 'k-
|
|
129
|
+
var buttonClassName = kendo_vue_common_1.classNames('k-button', 'k-button-md', 'k-button-solid', 'k-button-solid-base', 'k-rounded-md', 'k-upload-button', navigationIndex === addButtonIndex ? 'k-focus' : '');
|
|
130
130
|
return h("div", {
|
|
131
131
|
id: id,
|
|
132
132
|
attrs: this.v3 ? undefined : {
|
|
@@ -174,6 +174,6 @@ var UploadAddButton = {
|
|
|
174
174
|
}), h("span", [selectMessage])]);
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
|
-
exports.
|
|
178
|
-
var
|
|
179
|
-
exports.
|
|
177
|
+
exports.UploadAddButtonVue2 = UploadAddButtonVue2;
|
|
178
|
+
var UploadAddButton = UploadAddButtonVue2;
|
|
179
|
+
exports.UploadAddButton = UploadAddButton;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => UploadDropZoneData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -49,7 +48,7 @@ export interface UploadDropZoneComputed {
|
|
|
49
48
|
/**
|
|
50
49
|
* @hidden
|
|
51
50
|
*/
|
|
52
|
-
export interface UploadDropZoneAll extends UploadDropZoneMethods, UploadDropZoneState, UploadDropZoneData, UploadDropZoneComputed,
|
|
51
|
+
export interface UploadDropZoneAll extends UploadDropZoneMethods, UploadDropZoneState, UploadDropZoneData, UploadDropZoneComputed, Vue2type {
|
|
53
52
|
}
|
|
54
53
|
/**
|
|
55
54
|
* @hidden
|
|
@@ -57,6 +56,6 @@ export interface UploadDropZoneAll extends UploadDropZoneMethods, UploadDropZone
|
|
|
57
56
|
/**
|
|
58
57
|
* Represents the default `UploadDropZone` component.
|
|
59
58
|
*/
|
|
60
|
-
declare let
|
|
61
|
-
declare const
|
|
62
|
-
export { UploadDropZone,
|
|
59
|
+
declare let UploadDropZoneVue2: ComponentOptions<Vue2type, DefaultData<UploadDropZoneData>, DefaultMethods<UploadDropZoneAll>, UploadDropZoneComputed, RecordPropsDefinition<UploadDropZoneProps>>;
|
|
60
|
+
declare const UploadDropZone: DefineComponent<UploadDropZoneProps, any, UploadDropZoneData, UploadDropZoneComputed, UploadDropZoneMethods, {}, {}, {}, string, UploadDropZoneProps, UploadDropZoneProps, {}>;
|
|
61
|
+
export { UploadDropZone, UploadDropZoneVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.UploadDropZoneVue2 = exports.UploadDropZone = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -37,7 +37,7 @@ var TIME_TO_CHECK_DRAG = 100;
|
|
|
37
37
|
* Represents the default `UploadDropZone` component.
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var UploadDropZoneVue2 = {
|
|
41
41
|
name: 'KendoVueUploadDropZone',
|
|
42
42
|
props: {
|
|
43
43
|
addButtonIndex: Number,
|
|
@@ -297,6 +297,6 @@ var UploadDropZone = {
|
|
|
297
297
|
}, [dropFilesMessage])]);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
|
-
exports.
|
|
301
|
-
var
|
|
302
|
-
exports.
|
|
300
|
+
exports.UploadDropZoneVue2 = UploadDropZoneVue2;
|
|
301
|
+
var UploadDropZone = UploadDropZoneVue2;
|
|
302
|
+
exports.UploadDropZone = UploadDropZone;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => UploadInputData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -44,7 +43,7 @@ export interface UploadInputComputed {
|
|
|
44
43
|
/**
|
|
45
44
|
* @hidden
|
|
46
45
|
*/
|
|
47
|
-
export interface UploadInputAll extends UploadInputMethods, UploadInputState, UploadInputData, UploadInputComputed,
|
|
46
|
+
export interface UploadInputAll extends UploadInputMethods, UploadInputState, UploadInputData, UploadInputComputed, Vue2type {
|
|
48
47
|
}
|
|
49
48
|
/**
|
|
50
49
|
* @hidden
|
|
@@ -52,6 +51,6 @@ export interface UploadInputAll extends UploadInputMethods, UploadInputState, Up
|
|
|
52
51
|
/**
|
|
53
52
|
* Represents the default `UploadInput` component.
|
|
54
53
|
*/
|
|
55
|
-
declare let
|
|
56
|
-
declare const
|
|
57
|
-
export { UploadInput,
|
|
54
|
+
declare let UploadInputVue2: ComponentOptions<Vue2type, DefaultData<UploadInputData>, DefaultMethods<UploadInputAll>, UploadInputComputed, RecordPropsDefinition<UploadInputProps>>;
|
|
55
|
+
declare const UploadInput: DefineComponent<UploadInputProps, any, UploadInputData, UploadInputComputed, UploadInputMethods, {}, {}, {}, string, UploadInputProps, UploadInputProps, {}>;
|
|
56
|
+
export { UploadInput, UploadInputVue2 };
|
package/dist/npm/UploadInput.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.UploadInputVue2 = exports.UploadInput = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ var SAFARI_REGEX = /(webkit)[ \/]([\w.]+)/i;
|
|
|
20
20
|
* Represents the default `UploadInput` component.
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var UploadInputVue2 = {
|
|
24
24
|
name: 'KendoVueUploadInput',
|
|
25
25
|
props: {
|
|
26
26
|
async: Object,
|
|
@@ -121,6 +121,6 @@ var UploadInput = {
|
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
-
exports.
|
|
125
|
-
var
|
|
126
|
-
exports.
|
|
124
|
+
exports.UploadInputVue2 = UploadInputVue2;
|
|
125
|
+
var UploadInput = UploadInputVue2;
|
|
126
|
+
exports.UploadInput = UploadInput;
|
package/dist/npm/UploadList.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => UploadListData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -46,7 +45,7 @@ export interface UploadListComputed {
|
|
|
46
45
|
/**
|
|
47
46
|
* @hidden
|
|
48
47
|
*/
|
|
49
|
-
export interface UploadListAll extends UploadListMethods, UploadListState, UploadListData, UploadListComputed,
|
|
48
|
+
export interface UploadListAll extends UploadListMethods, UploadListState, UploadListData, UploadListComputed, Vue2type {
|
|
50
49
|
}
|
|
51
50
|
/**
|
|
52
51
|
* @hidden
|
|
@@ -54,6 +53,6 @@ export interface UploadListAll extends UploadListMethods, UploadListState, Uploa
|
|
|
54
53
|
/**
|
|
55
54
|
* Represents the default `UploadList` component.
|
|
56
55
|
*/
|
|
57
|
-
declare let
|
|
58
|
-
declare const
|
|
59
|
-
export { UploadList,
|
|
56
|
+
declare let UploadListVue2: ComponentOptions<Vue2type, DefaultData<UploadListData>, DefaultMethods<UploadListAll>, UploadListComputed, RecordPropsDefinition<UploadListProps>>;
|
|
57
|
+
declare const UploadList: DefineComponent<UploadListProps, any, UploadListData, UploadListComputed, UploadListMethods, {}, {}, {}, string, UploadListProps, UploadListProps, {}>;
|
|
58
|
+
export { UploadList, UploadListVue2 };
|
package/dist/npm/UploadList.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.UploadListVue2 = exports.UploadList = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -23,7 +23,7 @@ var UploadListGroup_1 = require("./UploadListGroup");
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var UploadListVue2 = {
|
|
27
27
|
name: 'KendoVueUploadList',
|
|
28
28
|
props: {
|
|
29
29
|
groupedFiles: Object,
|
|
@@ -108,6 +108,6 @@ var UploadList = {
|
|
|
108
108
|
}, this)]);
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
|
-
exports.
|
|
112
|
-
var
|
|
113
|
-
exports.
|
|
111
|
+
exports.UploadListVue2 = UploadListVue2;
|
|
112
|
+
var UploadList = UploadListVue2;
|
|
113
|
+
exports.UploadList = UploadList;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from './additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => UploadListActionButtonData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -44,7 +43,7 @@ export interface UploadListActionButtonComputed {
|
|
|
44
43
|
/**
|
|
45
44
|
* @hidden
|
|
46
45
|
*/
|
|
47
|
-
export interface UploadListActionButtonAll extends UploadListActionButtonMethods, UploadListActionButtonState, UploadListActionButtonData, UploadListActionButtonComputed,
|
|
46
|
+
export interface UploadListActionButtonAll extends UploadListActionButtonMethods, UploadListActionButtonState, UploadListActionButtonData, UploadListActionButtonComputed, Vue2type {
|
|
48
47
|
}
|
|
49
48
|
/**
|
|
50
49
|
* @hidden
|
|
@@ -52,6 +51,6 @@ export interface UploadListActionButtonAll extends UploadListActionButtonMethods
|
|
|
52
51
|
/**
|
|
53
52
|
* Represents the default `UploadListActionButton` component.
|
|
54
53
|
*/
|
|
55
|
-
declare let
|
|
56
|
-
declare const
|
|
57
|
-
export { UploadListActionButton,
|
|
54
|
+
declare let UploadListActionButtonVue2: ComponentOptions<Vue2type, DefaultData<UploadListActionButtonData>, DefaultMethods<UploadListActionButtonAll>, UploadListActionButtonComputed, RecordPropsDefinition<UploadListActionButtonProps>>;
|
|
55
|
+
declare const UploadListActionButton: DefineComponent<UploadListActionButtonProps, any, UploadListActionButtonData, UploadListActionButtonComputed, UploadListActionButtonMethods, {}, {}, {}, string, UploadListActionButtonProps, UploadListActionButtonProps, {}>;
|
|
56
|
+
export { UploadListActionButton, UploadListActionButtonVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.UploadListActionButtonVue2 = exports.UploadListActionButton = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -28,7 +28,7 @@ var messages_1 = require("./messages");
|
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var UploadListActionButtonVue2 = {
|
|
32
32
|
name: 'KendoVueUploadListActionButton',
|
|
33
33
|
props: {
|
|
34
34
|
progress: Number,
|
|
@@ -183,6 +183,6 @@ var UploadListActionButton = {
|
|
|
183
183
|
})]) : undefined]);
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
-
exports.
|
|
187
|
-
var
|
|
188
|
-
exports.
|
|
186
|
+
exports.UploadListActionButtonVue2 = UploadListActionButtonVue2;
|
|
187
|
+
var UploadListActionButton = UploadListActionButtonVue2;
|
|
188
|
+
exports.UploadListActionButton = UploadListActionButton;
|