@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.
Files changed (66) hide show
  1. package/dist/cdn/js/kendo-vue-upload.js +1 -1
  2. package/dist/es/ExternalDropZone.d.ts +5 -6
  3. package/dist/es/ExternalDropZone.js +3 -3
  4. package/dist/es/Upload.d.ts +5 -6
  5. package/dist/es/Upload.js +3 -3
  6. package/dist/es/UploadActionButtons.d.ts +5 -6
  7. package/dist/es/UploadActionButtons.js +21 -12
  8. package/dist/es/UploadAddButton.d.ts +5 -6
  9. package/dist/es/UploadAddButton.js +4 -4
  10. package/dist/es/UploadDropZone.d.ts +5 -6
  11. package/dist/es/UploadDropZone.js +3 -3
  12. package/dist/es/UploadInput.d.ts +5 -6
  13. package/dist/es/UploadInput.js +3 -3
  14. package/dist/es/UploadList.d.ts +5 -6
  15. package/dist/es/UploadList.js +3 -3
  16. package/dist/es/UploadListActionButton.d.ts +5 -6
  17. package/dist/es/UploadListActionButton.js +3 -3
  18. package/dist/es/UploadListGroup.d.ts +5 -6
  19. package/dist/es/UploadListGroup.js +3 -3
  20. package/dist/es/UploadListMultiItem.d.ts +5 -6
  21. package/dist/es/UploadListMultiItem.js +3 -3
  22. package/dist/es/UploadListSingleItem.d.ts +5 -6
  23. package/dist/es/UploadListSingleItem.js +3 -3
  24. package/dist/es/UploadNavigation.d.ts +5 -6
  25. package/dist/es/UploadNavigation.js +3 -3
  26. package/dist/es/UploadStatus.d.ts +5 -6
  27. package/dist/es/UploadStatus.js +3 -3
  28. package/dist/es/UploadUI.d.ts +5 -6
  29. package/dist/es/UploadUI.js +3 -3
  30. package/dist/es/additionalTypes.ts +7 -1
  31. package/dist/es/main.d.ts +7 -7
  32. package/dist/es/main.js +7 -7
  33. package/dist/es/package-metadata.js +1 -1
  34. package/dist/npm/ExternalDropZone.d.ts +5 -6
  35. package/dist/npm/ExternalDropZone.js +5 -5
  36. package/dist/npm/Upload.d.ts +5 -6
  37. package/dist/npm/Upload.js +5 -5
  38. package/dist/npm/UploadActionButtons.d.ts +5 -6
  39. package/dist/npm/UploadActionButtons.js +24 -14
  40. package/dist/npm/UploadAddButton.d.ts +5 -6
  41. package/dist/npm/UploadAddButton.js +6 -6
  42. package/dist/npm/UploadDropZone.d.ts +5 -6
  43. package/dist/npm/UploadDropZone.js +5 -5
  44. package/dist/npm/UploadInput.d.ts +5 -6
  45. package/dist/npm/UploadInput.js +5 -5
  46. package/dist/npm/UploadList.d.ts +5 -6
  47. package/dist/npm/UploadList.js +5 -5
  48. package/dist/npm/UploadListActionButton.d.ts +5 -6
  49. package/dist/npm/UploadListActionButton.js +5 -5
  50. package/dist/npm/UploadListGroup.d.ts +5 -6
  51. package/dist/npm/UploadListGroup.js +5 -5
  52. package/dist/npm/UploadListMultiItem.d.ts +5 -6
  53. package/dist/npm/UploadListMultiItem.js +5 -5
  54. package/dist/npm/UploadListSingleItem.d.ts +5 -6
  55. package/dist/npm/UploadListSingleItem.js +5 -5
  56. package/dist/npm/UploadNavigation.d.ts +5 -6
  57. package/dist/npm/UploadNavigation.js +5 -5
  58. package/dist/npm/UploadStatus.d.ts +5 -6
  59. package/dist/npm/UploadStatus.js +5 -5
  60. package/dist/npm/UploadUI.d.ts +5 -6
  61. package/dist/npm/UploadUI.js +5 -5
  62. package/dist/npm/additionalTypes.ts +7 -1
  63. package/dist/npm/main.d.ts +7 -7
  64. package/dist/npm/main.js +7 -7
  65. package/dist/npm/package-metadata.js +1 -1
  66. package/package.json +4 -3
@@ -15,7 +15,7 @@ import { messages, headerStatusUploading, headerStatusUploaded } from './message
15
15
  * Represents the default `UploadStatus` component.
16
16
  */
17
17
 
18
- var UploadStatus = {
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 UploadStatusVue3 = UploadStatus;
62
- export { UploadStatus, UploadStatusVue3 };
61
+ var UploadStatus = UploadStatusVue2;
62
+ export { UploadStatus, UploadStatusVue2 };
@@ -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, Vue {
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 UploadUI: ComponentOptions<Vue, DefaultData<UploadUIData>, DefaultMethods<UploadUIAll>, UploadUIComputed, RecordPropsDefinition<UploadUIProps>>;
81
- declare const UploadUIVue3: DefineComponent<UploadUIProps, any, UploadUIData, UploadUIComputed, UploadUIMethods, {}, {}, {}, string, UploadUIProps, UploadUIProps, {}>;
82
- export { UploadUI, UploadUIVue3 };
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 };
@@ -16,7 +16,7 @@ var ADD_BUTTON_NAV_INDEX = -1;
16
16
  * Represents the default `UploadUI` component.
17
17
  */
18
18
 
19
- var UploadUI = {
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 UploadUIVue3 = UploadUI;
266
- export { UploadUI, UploadUIVue3 };
265
+ var UploadUI = UploadUIVue2;
266
+ export { UploadUI, UploadUIVue2 };
@@ -1,3 +1,9 @@
1
1
  // @ts-ignore
2
2
  import { DefineComponent } from 'vue';
3
- export { DefineComponent };
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, UploadUIVue3, UploadUIProps } from './UploadUI';
2
- import { Upload, UploadVue3 } from './Upload';
3
- import { UploadListSingleItem, UploadListSingleItemVue3 } from './UploadListSingleItem';
4
- import { UploadListMultiItem, UploadListMultiItemVue3 } from './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, UploadListActionButtonVue3 } from './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, ExternalDropZoneVue3 } from './ExternalDropZone';
25
- export { UploadUI, UploadUIVue3, UploadUIProps, UploadFileRestrictions, Upload, UploadVue3, UploadProps, UploadOnAddEvent, UploadOnBeforeRemoveEvent, UploadOnBeforeUploadEvent, UploadOnProgressEvent, UploadOnRemoveEvent, UploadOnStatusChangeEvent, UploadOnCancelEvent, UploadResponse, UploadFileStatus, UploadAdditionalData, UploadAsyncProps, UploadFileInfo, UploadHttpHeaders, UploadListItemProps, UploadActionsLayout, ExternalDropZone, ExternalDropZoneVue3, UploadListSingleItem, UploadListSingleItemVue3, UploadListMultiItem, UploadListMultiItemVue3, UploadListActionButton, UploadListActionButtonVue3, utils };
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, UploadUIVue3 } from './UploadUI';
2
- import { Upload, UploadVue3 } from './Upload';
3
- import { UploadListSingleItem, UploadListSingleItemVue3 } from './UploadListSingleItem';
4
- import { UploadListMultiItem, UploadListMultiItemVue3 } from './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, UploadListActionButtonVue3 } from './UploadListActionButton';
6
+ import { UploadListActionButton, UploadListActionButtonVue2 } from './UploadListActionButton';
7
7
  import { UploadFileStatus } from './interfaces/UploadFileStatus';
8
- import { ExternalDropZone, ExternalDropZoneVue3 } from './ExternalDropZone';
9
- export { UploadUI, UploadUIVue3, Upload, UploadVue3, UploadFileStatus, ExternalDropZone, ExternalDropZoneVue3, UploadListSingleItem, UploadListSingleItemVue3, UploadListMultiItem, UploadListMultiItemVue3, UploadListActionButton, UploadListActionButtonVue3, utils };
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: 1641393404,
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, Vue {
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 ExternalDropZone: ComponentOptions<Vue, DefaultData<ExternalDropZoneData>, DefaultMethods<ExternalDropZoneAll>, ExternalDropZoneComputed, RecordPropsDefinition<ExternalDropZoneProps>>;
121
- declare const ExternalDropZoneVue3: DefineComponent<ExternalDropZoneProps, any, ExternalDropZoneData, ExternalDropZoneComputed, ExternalDropZoneMethods, {}, {}, {}, string, ExternalDropZoneProps, ExternalDropZoneProps, {}>;
122
- export { ExternalDropZone, ExternalDropZoneVue3 };
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.ExternalDropZoneVue3 = exports.ExternalDropZone = void 0; // @ts-ignore
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 ExternalDropZone = {
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.ExternalDropZone = ExternalDropZone;
184
- var ExternalDropZoneVue3 = ExternalDropZone;
185
- exports.ExternalDropZoneVue3 = ExternalDropZoneVue3;
183
+ exports.ExternalDropZoneVue2 = ExternalDropZoneVue2;
184
+ var ExternalDropZone = ExternalDropZoneVue2;
185
+ exports.ExternalDropZone = ExternalDropZone;
@@ -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, Vue {
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 Upload: ComponentOptions<Vue, DefaultData<UploadData>, DefaultMethods<UploadAll>, UploadComputed, RecordPropsDefinition<UploadProps>>;
50
- declare const UploadVue3: DefineComponent<UploadProps, any, UploadData, UploadComputed, UploadMethods, {}, {}, {}, string, UploadProps, UploadProps, {}>;
51
- export { Upload, UploadVue3 };
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 };
@@ -19,7 +19,7 @@ var __assign = undefined && undefined.__assign || function () {
19
19
  Object.defineProperty(exports, "__esModule", {
20
20
  value: true
21
21
  });
22
- exports.UploadVue3 = exports.Upload = void 0; // @ts-ignore
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 Upload = {
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.Upload = Upload;
807
- var UploadVue3 = Upload;
808
- exports.UploadVue3 = UploadVue3;
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, Vue {
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 UploadActionButtons: ComponentOptions<Vue, DefaultData<UploadActionButtonsData>, DefaultMethods<UploadActionButtonsAll>, UploadActionButtonsComputed, RecordPropsDefinition<UploadActionButtonsProps>>;
59
- declare const UploadActionButtonsVue3: DefineComponent<UploadActionButtonsProps, any, UploadActionButtonsData, UploadActionButtonsComputed, UploadActionButtonsMethods, {}, {}, {}, string, UploadActionButtonsProps, UploadActionButtonsProps, {}>;
60
- export { UploadActionButtons, UploadActionButtonsVue3 };
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.UploadActionButtonsVue3 = exports.UploadActionButtons = void 0; // @ts-ignore
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 UploadActionButtons = {
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-button', 'k-clear-selected', disabled ? 'k-state-disabled' : '', navigationIndex === clearButtonIndex ? 'k-state-focused' : '');
125
- var uploadButtonClasses = kendo_vue_common_1.classNames('k-button', 'k-primary', 'k-upload-selected', disabled ? 'k-state-disabled' : '', navigationIndex === uploadButtonIndex ? 'k-state-focused' : '');
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
- }, [h("button", {
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
- type: 'button',
135
+ disabled: disabled,
133
136
  attrs: this.v3 ? undefined : {
134
- type: 'button',
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
- }, [localizationService.toLanguageString(messages_1.clearSelectedFiles, messages_1.messages[messages_1.clearSelectedFiles])]), h("button", {
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
- type: 'button',
153
+ disabled: disabled,
148
154
  attrs: this.v3 ? undefined : {
149
- type: 'button',
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
- }, [localizationService.toLanguageString(messages_1.uploadSelectedFiles, messages_1.messages[messages_1.uploadSelectedFiles])])]);
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.UploadActionButtons = UploadActionButtons;
162
- var UploadActionButtonsVue3 = UploadActionButtons;
163
- exports.UploadActionButtonsVue3 = UploadActionButtonsVue3;
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, Vue {
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 UploadAddButton: ComponentOptions<Vue, DefaultData<UploadAddButtonData>, DefaultMethods<UploadAddButtonAll>, UploadAddButtonComputed, RecordPropsDefinition<UploadAddButtonProps>>;
67
- declare const UploadAddButtonVue3: DefineComponent<UploadAddButtonProps, any, UploadAddButtonData, UploadAddButtonComputed, UploadAddButtonMethods, {}, {}, {}, string, UploadAddButtonProps, UploadAddButtonProps, {}>;
68
- export { UploadAddButton, UploadAddButtonVue3 };
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.UploadAddButtonVue3 = exports.UploadAddButton = void 0; // @ts-ignore
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 UploadAddButton = {
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-state-focused' : '');
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.UploadAddButton = UploadAddButton;
178
- var UploadAddButtonVue3 = UploadAddButton;
179
- exports.UploadAddButtonVue3 = UploadAddButtonVue3;
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, Vue {
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 UploadDropZone: ComponentOptions<Vue, DefaultData<UploadDropZoneData>, DefaultMethods<UploadDropZoneAll>, UploadDropZoneComputed, RecordPropsDefinition<UploadDropZoneProps>>;
61
- declare const UploadDropZoneVue3: DefineComponent<UploadDropZoneProps, any, UploadDropZoneData, UploadDropZoneComputed, UploadDropZoneMethods, {}, {}, {}, string, UploadDropZoneProps, UploadDropZoneProps, {}>;
62
- export { UploadDropZone, UploadDropZoneVue3 };
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.UploadDropZoneVue3 = exports.UploadDropZone = void 0; // @ts-ignore
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 UploadDropZone = {
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.UploadDropZone = UploadDropZone;
301
- var UploadDropZoneVue3 = UploadDropZone;
302
- exports.UploadDropZoneVue3 = UploadDropZoneVue3;
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, Vue {
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 UploadInput: ComponentOptions<Vue, DefaultData<UploadInputData>, DefaultMethods<UploadInputAll>, UploadInputComputed, RecordPropsDefinition<UploadInputProps>>;
56
- declare const UploadInputVue3: DefineComponent<UploadInputProps, any, UploadInputData, UploadInputComputed, UploadInputMethods, {}, {}, {}, string, UploadInputProps, UploadInputProps, {}>;
57
- export { UploadInput, UploadInputVue3 };
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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.UploadInputVue3 = exports.UploadInput = void 0; // @ts-ignore
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 UploadInput = {
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.UploadInput = UploadInput;
125
- var UploadInputVue3 = UploadInput;
126
- exports.UploadInputVue3 = UploadInputVue3;
124
+ exports.UploadInputVue2 = UploadInputVue2;
125
+ var UploadInput = UploadInputVue2;
126
+ exports.UploadInput = UploadInput;
@@ -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, Vue {
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 UploadList: ComponentOptions<Vue, DefaultData<UploadListData>, DefaultMethods<UploadListAll>, UploadListComputed, RecordPropsDefinition<UploadListProps>>;
58
- declare const UploadListVue3: DefineComponent<UploadListProps, any, UploadListData, UploadListComputed, UploadListMethods, {}, {}, {}, string, UploadListProps, UploadListProps, {}>;
59
- export { UploadList, UploadListVue3 };
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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.UploadListVue3 = exports.UploadList = void 0; // @ts-ignore
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 UploadList = {
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.UploadList = UploadList;
112
- var UploadListVue3 = UploadList;
113
- exports.UploadListVue3 = UploadListVue3;
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, Vue {
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 UploadListActionButton: ComponentOptions<Vue, DefaultData<UploadListActionButtonData>, DefaultMethods<UploadListActionButtonAll>, UploadListActionButtonComputed, RecordPropsDefinition<UploadListActionButtonProps>>;
56
- declare const UploadListActionButtonVue3: DefineComponent<UploadListActionButtonProps, any, UploadListActionButtonData, UploadListActionButtonComputed, UploadListActionButtonMethods, {}, {}, {}, string, UploadListActionButtonProps, UploadListActionButtonProps, {}>;
57
- export { UploadListActionButton, UploadListActionButtonVue3 };
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.UploadListActionButtonVue3 = exports.UploadListActionButton = void 0; // @ts-ignore
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 UploadListActionButton = {
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.UploadListActionButton = UploadListActionButton;
187
- var UploadListActionButtonVue3 = UploadListActionButton;
188
- exports.UploadListActionButtonVue3 = UploadListActionButtonVue3;
186
+ exports.UploadListActionButtonVue2 = UploadListActionButtonVue2;
187
+ var UploadListActionButton = UploadListActionButtonVue2;
188
+ exports.UploadListActionButton = UploadListActionButton;