@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
|
@@ -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 };
|
|
@@ -21,7 +21,7 @@ var TIME_TO_CHECK_DRAG = 100;
|
|
|
21
21
|
* Represents the default `ExternalDropZone` component.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var ExternalDropZoneVue2 = {
|
|
25
25
|
name: 'KendoVueExternalDropZone',
|
|
26
26
|
props: {
|
|
27
27
|
id: String,
|
|
@@ -168,5 +168,5 @@ var ExternalDropZone = {
|
|
|
168
168
|
})]);
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
|
-
var
|
|
172
|
-
export { ExternalDropZone,
|
|
171
|
+
var ExternalDropZone = ExternalDropZoneVue2;
|
|
172
|
+
export { ExternalDropZone, ExternalDropZoneVue2 };
|
package/dist/es/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/es/Upload.js
CHANGED
|
@@ -36,7 +36,7 @@ import { packageMetadata } from './package-metadata';
|
|
|
36
36
|
* Represents the default `Upload` component.
|
|
37
37
|
*/
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var UploadVue2 = {
|
|
40
40
|
name: 'KendoVueUpload',
|
|
41
41
|
props: {
|
|
42
42
|
autoUpload: {
|
|
@@ -786,5 +786,5 @@ var Upload = {
|
|
|
786
786
|
);
|
|
787
787
|
}
|
|
788
788
|
};
|
|
789
|
-
var
|
|
790
|
-
export { Upload,
|
|
789
|
+
var Upload = UploadVue2;
|
|
790
|
+
export { Upload, UploadVue2 };
|
|
@@ -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 };
|
|
@@ -6,6 +6,7 @@ var ref = allVue.ref;
|
|
|
6
6
|
var inject = allVue.inject;
|
|
7
7
|
import { classNames } from '@progress/kendo-vue-common';
|
|
8
8
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
9
|
+
import { Button } from '@progress/kendo-vue-buttons';
|
|
9
10
|
import { messages, clearSelectedFiles, uploadSelectedFiles } from './messages';
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -15,7 +16,7 @@ import { messages, clearSelectedFiles, uploadSelectedFiles } from './messages';
|
|
|
15
16
|
* Represents the default `UploadActionButtons` component.
|
|
16
17
|
*/
|
|
17
18
|
|
|
18
|
-
var
|
|
19
|
+
var UploadActionButtonsVue2 = {
|
|
19
20
|
name: 'KendoVueUploadActionButtons',
|
|
20
21
|
props: {
|
|
21
22
|
disabled: Boolean,
|
|
@@ -110,17 +111,18 @@ var UploadActionButtons = {
|
|
|
110
111
|
'k-actions-end': actionsLayout === 'end',
|
|
111
112
|
'k-actions-stretched': actionsLayout === 'stretched'
|
|
112
113
|
});
|
|
113
|
-
var clearButtonClasses = classNames('k-
|
|
114
|
-
var uploadButtonClasses = classNames('k-
|
|
114
|
+
var clearButtonClasses = classNames('k-clear-selected', navigationIndex === clearButtonIndex ? 'k-focus' : '');
|
|
115
|
+
var uploadButtonClasses = classNames('k-upload-selected', navigationIndex === uploadButtonIndex ? 'k-focus' : '');
|
|
115
116
|
return h("div", {
|
|
116
117
|
"class": wrapperClasses
|
|
117
|
-
}, [
|
|
118
|
+
}, [// @ts-ignore function children
|
|
119
|
+
h(Button, {
|
|
118
120
|
ref: this.v3 ? function (el) {
|
|
119
121
|
_this.clearElementRef = el;
|
|
120
122
|
} : 'clearElement',
|
|
121
|
-
|
|
123
|
+
disabled: disabled,
|
|
122
124
|
attrs: this.v3 ? undefined : {
|
|
123
|
-
|
|
125
|
+
disabled: disabled,
|
|
124
126
|
tabIndex: -1
|
|
125
127
|
},
|
|
126
128
|
"class": clearButtonClasses,
|
|
@@ -129,23 +131,30 @@ var UploadActionButtons = {
|
|
|
129
131
|
on: this.v3 ? undefined : {
|
|
130
132
|
"click": this.onClearClick
|
|
131
133
|
}
|
|
132
|
-
},
|
|
134
|
+
}, this.v3 ? function () {
|
|
135
|
+
return [localizationService.toLanguageString(clearSelectedFiles, messages[clearSelectedFiles])];
|
|
136
|
+
} : [localizationService.toLanguageString(clearSelectedFiles, messages[clearSelectedFiles])]), // @ts-ignore function children
|
|
137
|
+
h(Button, {
|
|
133
138
|
ref: this.v3 ? function (el) {
|
|
134
139
|
_this.uploadElementRef = el;
|
|
135
140
|
} : 'uploadElement',
|
|
136
|
-
|
|
141
|
+
disabled: disabled,
|
|
137
142
|
attrs: this.v3 ? undefined : {
|
|
138
|
-
|
|
143
|
+
disabled: disabled,
|
|
144
|
+
themeColor: 'primary',
|
|
139
145
|
tabIndex: -1
|
|
140
146
|
},
|
|
147
|
+
themeColor: 'primary',
|
|
141
148
|
"class": uploadButtonClasses,
|
|
142
149
|
tabIndex: -1,
|
|
143
150
|
onClick: this.onUploadClick,
|
|
144
151
|
on: this.v3 ? undefined : {
|
|
145
152
|
"click": this.onUploadClick
|
|
146
153
|
}
|
|
147
|
-
},
|
|
154
|
+
}, this.v3 ? function () {
|
|
155
|
+
return [localizationService.toLanguageString(uploadSelectedFiles, messages[uploadSelectedFiles])];
|
|
156
|
+
} : [localizationService.toLanguageString(uploadSelectedFiles, messages[uploadSelectedFiles])])]);
|
|
148
157
|
}
|
|
149
158
|
};
|
|
150
|
-
var
|
|
151
|
-
export { UploadActionButtons,
|
|
159
|
+
var UploadActionButtons = UploadActionButtonsVue2;
|
|
160
|
+
export { UploadActionButtons, UploadActionButtonsVue2 };
|
|
@@ -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 };
|
|
@@ -16,7 +16,7 @@ import { UploadInput } from './UploadInput';
|
|
|
16
16
|
* Represents the default `UploadAddButton` component.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var UploadAddButtonVue2 = {
|
|
20
20
|
name: 'KendoVueUploadAddButton',
|
|
21
21
|
props: {
|
|
22
22
|
addButtonIndex: Number,
|
|
@@ -114,7 +114,7 @@ var UploadAddButton = {
|
|
|
114
114
|
accept = _a.accept;
|
|
115
115
|
var localizationService = provideLocalizationService(this);
|
|
116
116
|
var selectMessage = localizationService.toLanguageString(select, messages[select]);
|
|
117
|
-
var buttonClassName = classNames('k-button', 'k-upload-button', navigationIndex === addButtonIndex ? 'k-
|
|
117
|
+
var buttonClassName = classNames('k-button', 'k-button-md', 'k-button-solid', 'k-button-solid-base', 'k-rounded-md', 'k-upload-button', navigationIndex === addButtonIndex ? 'k-focus' : '');
|
|
118
118
|
return h("div", {
|
|
119
119
|
id: id,
|
|
120
120
|
attrs: this.v3 ? undefined : {
|
|
@@ -162,5 +162,5 @@ var UploadAddButton = {
|
|
|
162
162
|
}), h("span", [selectMessage])]);
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
|
-
var
|
|
166
|
-
export { UploadAddButton,
|
|
165
|
+
var UploadAddButton = UploadAddButtonVue2;
|
|
166
|
+
export { UploadAddButton, UploadAddButtonVue2 };
|
|
@@ -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 };
|
|
@@ -23,7 +23,7 @@ var TIME_TO_CHECK_DRAG = 100;
|
|
|
23
23
|
* Represents the default `UploadDropZone` component.
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var UploadDropZoneVue2 = {
|
|
27
27
|
name: 'KendoVueUploadDropZone',
|
|
28
28
|
props: {
|
|
29
29
|
addButtonIndex: Number,
|
|
@@ -283,5 +283,5 @@ var UploadDropZone = {
|
|
|
283
283
|
}, [dropFilesMessage])]);
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
|
-
var
|
|
287
|
-
export { UploadDropZone,
|
|
286
|
+
var UploadDropZone = UploadDropZoneVue2;
|
|
287
|
+
export { UploadDropZone, UploadDropZoneVue2 };
|
package/dist/es/UploadInput.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) => 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/es/UploadInput.js
CHANGED
|
@@ -13,7 +13,7 @@ var SAFARI_REGEX = /(webkit)[ \/]([\w.]+)/i;
|
|
|
13
13
|
* Represents the default `UploadInput` component.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var UploadInputVue2 = {
|
|
17
17
|
name: 'KendoVueUploadInput',
|
|
18
18
|
props: {
|
|
19
19
|
async: Object,
|
|
@@ -114,5 +114,5 @@ var UploadInput = {
|
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
|
-
var
|
|
118
|
-
export { UploadInput,
|
|
117
|
+
var UploadInput = UploadInputVue2;
|
|
118
|
+
export { UploadInput, UploadInputVue2 };
|
package/dist/es/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/es/UploadList.js
CHANGED
|
@@ -13,7 +13,7 @@ import { UploadListGroup } from './UploadListGroup';
|
|
|
13
13
|
* Represents the default `UploadList` component.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var UploadListVue2 = {
|
|
17
17
|
name: 'KendoVueUploadList',
|
|
18
18
|
props: {
|
|
19
19
|
groupedFiles: Object,
|
|
@@ -98,5 +98,5 @@ var UploadList = {
|
|
|
98
98
|
}, this)]);
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
var
|
|
102
|
-
export { UploadList,
|
|
101
|
+
var UploadList = UploadListVue2;
|
|
102
|
+
export { UploadList, UploadListVue2 };
|
|
@@ -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 };
|
|
@@ -16,7 +16,7 @@ import { messages, cancel, retry, remove } from './messages';
|
|
|
16
16
|
* Represents the default `UploadListActionButton` component.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var UploadListActionButtonVue2 = {
|
|
20
20
|
name: 'KendoVueUploadListActionButton',
|
|
21
21
|
props: {
|
|
22
22
|
progress: Number,
|
|
@@ -171,5 +171,5 @@ var UploadListActionButton = {
|
|
|
171
171
|
})]) : undefined]);
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
|
-
var
|
|
175
|
-
export { UploadListActionButton,
|
|
174
|
+
var UploadListActionButton = UploadListActionButtonVue2;
|
|
175
|
+
export { UploadListActionButton, UploadListActionButtonVue2 };
|
|
@@ -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) => UploadListGroupData);
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -44,7 +43,7 @@ export interface UploadListGroupComputed {
|
|
|
44
43
|
/**
|
|
45
44
|
* @hidden
|
|
46
45
|
*/
|
|
47
|
-
export interface UploadListGroupAll extends UploadListGroupMethods, UploadListGroupState, UploadListGroupData, UploadListGroupComputed,
|
|
46
|
+
export interface UploadListGroupAll extends UploadListGroupMethods, UploadListGroupState, UploadListGroupData, UploadListGroupComputed, Vue2type {
|
|
48
47
|
}
|
|
49
48
|
/**
|
|
50
49
|
* @hidden
|
|
@@ -52,6 +51,6 @@ export interface UploadListGroupAll extends UploadListGroupMethods, UploadListGr
|
|
|
52
51
|
/**
|
|
53
52
|
* Represents the default `UploadListGroup` component.
|
|
54
53
|
*/
|
|
55
|
-
declare let
|
|
56
|
-
declare const
|
|
57
|
-
export { UploadListGroup,
|
|
54
|
+
declare let UploadListGroupVue2: ComponentOptions<Vue2type, DefaultData<UploadListGroupData>, DefaultMethods<UploadListGroupAll>, UploadListGroupComputed, RecordPropsDefinition<UploadListGroupProps>>;
|
|
55
|
+
declare const UploadListGroup: DefineComponent<UploadListGroupProps, any, UploadListGroupData, UploadListGroupComputed, UploadListGroupMethods, {}, {}, {}, string, UploadListGroupProps, UploadListGroupProps, {}>;
|
|
56
|
+
export { UploadListGroup, UploadListGroupVue2 };
|
|
@@ -16,7 +16,7 @@ import utils from './utils/utils';
|
|
|
16
16
|
* Represents the default `UploadListGroup` component.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var UploadListGroupVue2 = {
|
|
20
20
|
name: 'KendoVueUploadListGroup',
|
|
21
21
|
props: {
|
|
22
22
|
files: Array,
|
|
@@ -149,5 +149,5 @@ var UploadListGroup = {
|
|
|
149
149
|
}, [itemComponent]);
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
|
-
var
|
|
153
|
-
export { UploadListGroup,
|
|
152
|
+
var UploadListGroup = UploadListGroupVue2;
|
|
153
|
+
export { UploadListGroup, UploadListGroupVue2 };
|
|
@@ -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;
|
|
@@ -32,7 +31,7 @@ export interface UploadListMultiItemComputed {
|
|
|
32
31
|
/**
|
|
33
32
|
* @hidden
|
|
34
33
|
*/
|
|
35
|
-
export interface UploadListMultiItemAll extends UploadListMultiItemMethods, UploadListMultiItemState, UploadListMultiItemData, UploadListMultiItemComputed,
|
|
34
|
+
export interface UploadListMultiItemAll extends UploadListMultiItemMethods, UploadListMultiItemState, UploadListMultiItemData, UploadListMultiItemComputed, Vue2type {
|
|
36
35
|
}
|
|
37
36
|
/**
|
|
38
37
|
* @hidden
|
|
@@ -40,6 +39,6 @@ export interface UploadListMultiItemAll extends UploadListMultiItemMethods, Uplo
|
|
|
40
39
|
/**
|
|
41
40
|
* Represents the default `UploadListMultiItem` component.
|
|
42
41
|
*/
|
|
43
|
-
declare let
|
|
44
|
-
declare const
|
|
45
|
-
export { UploadListMultiItem,
|
|
42
|
+
declare let UploadListMultiItemVue2: ComponentOptions<Vue2type, DefaultData<UploadListMultiItemData>, DefaultMethods<UploadListMultiItemAll>, UploadListMultiItemComputed, RecordPropsDefinition<UploadListItemProps>>;
|
|
43
|
+
declare const UploadListMultiItem: DefineComponent<UploadListItemProps, any, UploadListMultiItemData, UploadListMultiItemComputed, UploadListMultiItemMethods, {}, {}, {}, string, UploadListItemProps, UploadListItemProps, {}>;
|
|
44
|
+
export { UploadListMultiItem, UploadListMultiItemVue2 };
|
|
@@ -17,7 +17,7 @@ import { UploadListActionButton } from './UploadListActionButton';
|
|
|
17
17
|
* Represents the default `UploadListMultiItem` component.
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var UploadListMultiItemVue2 = {
|
|
21
21
|
name: 'KendoVueUploadListMultiItem',
|
|
22
22
|
props: {
|
|
23
23
|
files: Array,
|
|
@@ -167,5 +167,5 @@ var UploadListMultiItem = {
|
|
|
167
167
|
})]);
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
|
-
var
|
|
171
|
-
export { UploadListMultiItem,
|
|
170
|
+
var UploadListMultiItem = UploadListMultiItemVue2;
|
|
171
|
+
export { UploadListMultiItem, UploadListMultiItemVue2 };
|
|
@@ -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;
|
|
@@ -32,7 +31,7 @@ export interface UploadListSingleItemComputed {
|
|
|
32
31
|
/**
|
|
33
32
|
* @hidden
|
|
34
33
|
*/
|
|
35
|
-
export interface UploadListSingleItemAll extends UploadListSingleItemMethods, UploadListSingleItemState, UploadListSingleItemData, UploadListSingleItemComputed,
|
|
34
|
+
export interface UploadListSingleItemAll extends UploadListSingleItemMethods, UploadListSingleItemState, UploadListSingleItemData, UploadListSingleItemComputed, Vue2type {
|
|
36
35
|
}
|
|
37
36
|
/**
|
|
38
37
|
* @hidden
|
|
@@ -40,6 +39,6 @@ export interface UploadListSingleItemAll extends UploadListSingleItemMethods, Up
|
|
|
40
39
|
/**
|
|
41
40
|
* Represents the default `UploadListSingleItem` component.
|
|
42
41
|
*/
|
|
43
|
-
declare let
|
|
44
|
-
declare const
|
|
45
|
-
export { UploadListSingleItem,
|
|
42
|
+
declare let UploadListSingleItemVue2: ComponentOptions<Vue2type, DefaultData<UploadListSingleItemData>, DefaultMethods<UploadListSingleItemAll>, UploadListSingleItemComputed, RecordPropsDefinition<UploadListItemProps>>;
|
|
43
|
+
declare const UploadListSingleItem: DefineComponent<UploadListItemProps, any, UploadListSingleItemData, UploadListSingleItemComputed, UploadListSingleItemMethods, {}, {}, {}, string, UploadListItemProps, UploadListItemProps, {}>;
|
|
44
|
+
export { UploadListSingleItem, UploadListSingleItemVue2 };
|
|
@@ -17,7 +17,7 @@ import { UploadListActionButton } from './UploadListActionButton';
|
|
|
17
17
|
* Represents the default `UploadListSingleItem` component.
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var UploadListSingleItemVue2 = {
|
|
21
21
|
name: 'KendoVueUploadListSingleItem',
|
|
22
22
|
props: {
|
|
23
23
|
files: Array,
|
|
@@ -223,5 +223,5 @@ var UploadListSingleItem = {
|
|
|
223
223
|
})]);
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
|
-
var
|
|
227
|
-
export { UploadListSingleItem,
|
|
226
|
+
var UploadListSingleItem = UploadListSingleItemVue2;
|
|
227
|
+
export { UploadListSingleItem, UploadListSingleItemVue2 };
|
|
@@ -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;
|
|
@@ -34,7 +33,7 @@ export interface UploadNavigationComputed {
|
|
|
34
33
|
/**
|
|
35
34
|
* @hidden
|
|
36
35
|
*/
|
|
37
|
-
export interface UploadNavigationAll extends UploadNavigationMethods, UploadNavigationState, UploadNavigationData, UploadNavigationComputed,
|
|
36
|
+
export interface UploadNavigationAll extends UploadNavigationMethods, UploadNavigationState, UploadNavigationData, UploadNavigationComputed, Vue2type {
|
|
38
37
|
}
|
|
39
38
|
/**
|
|
40
39
|
* @hidden
|
|
@@ -42,6 +41,6 @@ export interface UploadNavigationAll extends UploadNavigationMethods, UploadNavi
|
|
|
42
41
|
/**
|
|
43
42
|
* Represents the default `UploadNavigation` component.
|
|
44
43
|
*/
|
|
45
|
-
declare let
|
|
46
|
-
declare const
|
|
47
|
-
export { UploadNavigation,
|
|
44
|
+
declare let UploadNavigationVue2: ComponentOptions<Vue2type, DefaultData<UploadNavigationData>, DefaultMethods<UploadNavigationAll>, UploadNavigationComputed, RecordPropsDefinition<UploadUIProps>>;
|
|
45
|
+
declare const UploadNavigation: DefineComponent<UploadUIProps, any, UploadNavigationData, UploadNavigationComputed, UploadNavigationMethods, {}, {}, {}, string, UploadUIProps, UploadUIProps, {}>;
|
|
46
|
+
export { UploadNavigation, UploadNavigationVue2 };
|
|
@@ -23,7 +23,7 @@ var DEFAULT_INDEX = -1;
|
|
|
23
23
|
* Represents the default `UploadNavigation` component.
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var UploadNavigationVue2 = {
|
|
27
27
|
name: 'KendoVueUploadNavigation',
|
|
28
28
|
props: {
|
|
29
29
|
async: Object,
|
|
@@ -343,5 +343,5 @@ var UploadNavigation = {
|
|
|
343
343
|
);
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
|
-
var
|
|
347
|
-
export { UploadNavigation,
|
|
346
|
+
var UploadNavigation = UploadNavigationVue2;
|
|
347
|
+
export { UploadNavigation, UploadNavigationVue2 };
|
|
@@ -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;
|
|
@@ -41,7 +40,7 @@ export interface UploadStatusComputed {
|
|
|
41
40
|
/**
|
|
42
41
|
* @hidden
|
|
43
42
|
*/
|
|
44
|
-
export interface UploadStatusAll extends UploadStatusMethods, UploadStatusState, UploadStatusData, UploadStatusComputed,
|
|
43
|
+
export interface UploadStatusAll extends UploadStatusMethods, UploadStatusState, UploadStatusData, UploadStatusComputed, Vue2type {
|
|
45
44
|
}
|
|
46
45
|
/**
|
|
47
46
|
* @hidden
|
|
@@ -49,6 +48,6 @@ export interface UploadStatusAll extends UploadStatusMethods, UploadStatusState,
|
|
|
49
48
|
/**
|
|
50
49
|
* Represents the default `UploadStatus` component.
|
|
51
50
|
*/
|
|
52
|
-
declare let
|
|
53
|
-
declare const
|
|
54
|
-
export { UploadStatus,
|
|
51
|
+
declare let UploadStatusVue2: ComponentOptions<Vue2type, DefaultData<UploadStatusData>, DefaultMethods<UploadStatusAll>, UploadStatusComputed, RecordPropsDefinition<UploadStatusProps>>;
|
|
52
|
+
declare const UploadStatus: DefineComponent<UploadStatusProps, any, UploadStatusData, UploadStatusComputed, UploadStatusMethods, {}, {}, {}, string, UploadStatusProps, UploadStatusProps, {}>;
|
|
53
|
+
export { UploadStatus, UploadStatusVue2 };
|