@progress/kendo-vue-gauges 2.7.3 → 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.
@@ -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,8 +40,8 @@ export interface ArcCenterData {
41
40
  /**
42
41
  * @hidden
43
42
  */
44
- export interface ArcCenterAll extends Vue, ArcCenterMethods, ArcCenterData, ArcCenterComputed, ArcCenterState {
43
+ export interface ArcCenterAll extends Vue2type, ArcCenterMethods, ArcCenterData, ArcCenterComputed, ArcCenterState {
45
44
  }
46
- declare let ArcCenter: ComponentOptions<ArcCenterAll, DefaultData<ArcCenterData>, DefaultMethods<ArcCenterAll>, ArcCenterComputed, RecordPropsDefinition<ArcCenterProps>>;
47
- declare const ArcCenterVue3: DefineComponent<ArcCenterProps, any, ArcCenterData, ArcCenterComputed, ArcCenterMethods, {}, {}, {}, string, ArcCenterProps, ArcCenterProps, {}>;
48
- export { ArcCenter, ArcCenterVue3 };
45
+ declare let ArcCenterVue2: ComponentOptions<ArcCenterAll, DefaultData<ArcCenterData>, DefaultMethods<ArcCenterAll>, ArcCenterComputed, RecordPropsDefinition<ArcCenterProps>>;
46
+ declare const ArcCenter: DefineComponent<ArcCenterProps, any, ArcCenterData, ArcCenterComputed, ArcCenterMethods, {}, {}, {}, string, ArcCenterProps, ArcCenterProps, {}>;
47
+ export { ArcCenter, ArcCenterVue2 };
@@ -4,7 +4,7 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  import { getTemplate } from '@progress/kendo-vue-common'; // tslint:enable:max-line-length
6
6
 
7
- var ArcCenter = {
7
+ var ArcCenterVue2 = {
8
8
  name: 'KendoArcCenter',
9
9
  props: {
10
10
  center: [String, Function, Object],
@@ -49,5 +49,5 @@ var ArcCenter = {
49
49
  return renderer;
50
50
  }
51
51
  };
52
- var ArcCenterVue3 = ArcCenter;
53
- export { ArcCenter, ArcCenterVue3 };
52
+ var ArcCenter = ArcCenterVue2;
53
+ export { ArcCenter, ArcCenterVue2 };
@@ -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;
@@ -36,8 +35,8 @@ export interface ArcGaugeData {
36
35
  /**
37
36
  * @hidden
38
37
  */
39
- export interface ArcGaugeAll extends Vue, ArcGaugeMethods, ArcGaugeData, ArcGaugeComputed, ArcGaugeState {
38
+ export interface ArcGaugeAll extends Vue2type, ArcGaugeMethods, ArcGaugeData, ArcGaugeComputed, ArcGaugeState {
40
39
  }
41
- declare let ArcGauge: ComponentOptions<ArcGaugeAll, DefaultData<ArcGaugeData>, DefaultMethods<ArcGaugeAll>, ArcGaugeComputed, RecordPropsDefinition<ArcGaugeProps>>;
42
- declare const ArcGaugeVue3: DefineComponent<ArcGaugeProps, any, ArcGaugeData, ArcGaugeComputed, ArcGaugeMethods, {}, {}, {}, string, ArcGaugeProps, ArcGaugeProps, {}>;
43
- export { ArcGauge, ArcGaugeVue3 };
40
+ declare let ArcGaugeVue2: ComponentOptions<ArcGaugeAll, DefaultData<ArcGaugeData>, DefaultMethods<ArcGaugeAll>, ArcGaugeComputed, RecordPropsDefinition<ArcGaugeProps>>;
41
+ declare const ArcGauge: DefineComponent<ArcGaugeProps, any, ArcGaugeData, ArcGaugeComputed, ArcGaugeMethods, {}, {}, {}, string, ArcGaugeProps, ArcGaugeProps, {}>;
42
+ export { ArcGauge, ArcGaugeVue2 };
@@ -8,7 +8,7 @@ import { ArcCenter } from './ArcCenter';
8
8
  import { Group, drawDOM } from '@progress/kendo-drawing';
9
9
  import { classNames, getDefaultSlots, templateRendering, getListeners } from '@progress/kendo-vue-common'; // tslint:enable:max-line-length
10
10
 
11
- var ArcGauge = {
11
+ var ArcGaugeVue2 = {
12
12
  name: 'KendoArcGauge',
13
13
  props: {
14
14
  dir: String,
@@ -166,8 +166,8 @@ var ArcGauge = {
166
166
  return null;
167
167
  },
168
168
  exportVisual: function exportVisual(options) {
169
- if (this.gaugeInstance !== null && this.element) {
170
- return drawDOM(this.element, options);
169
+ if (this.gaugeInstance !== null && this.element()) {
170
+ return drawDOM(this.element(), options);
171
171
  }
172
172
 
173
173
  return Promise.resolve(new Group());
@@ -192,5 +192,5 @@ var ArcGauge = {
192
192
  }
193
193
  }
194
194
  };
195
- var ArcGaugeVue3 = ArcGauge;
196
- export { ArcGauge, ArcGaugeVue3 };
195
+ var ArcGauge = ArcGaugeVue2;
196
+ export { ArcGauge, ArcGaugeVue2 };
@@ -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;
@@ -35,8 +34,8 @@ export interface BaseGaugeData {
35
34
  /**
36
35
  * @hidden
37
36
  */
38
- export interface BaseGaugeAll extends Vue, BaseGaugeMethods, BaseGaugeData, BaseGaugeComputed, BaseGaugeState {
37
+ export interface BaseGaugeAll extends Vue2type, BaseGaugeMethods, BaseGaugeData, BaseGaugeComputed, BaseGaugeState {
39
38
  }
40
- declare let BaseGauge: ComponentOptions<BaseGaugeAll, DefaultData<BaseGaugeData>, DefaultMethods<BaseGaugeAll>, BaseGaugeComputed, RecordPropsDefinition<BaseGaugeProps>>;
41
- declare const BaseGaugeVue3: DefineComponent<BaseGaugeProps, any, BaseGaugeData, BaseGaugeComputed, BaseGaugeMethods, {}, {}, {}, string, BaseGaugeProps, BaseGaugeProps, {}>;
42
- export { BaseGauge, BaseGaugeVue3 };
39
+ declare let BaseGaugeVue2: ComponentOptions<BaseGaugeAll, DefaultData<BaseGaugeData>, DefaultMethods<BaseGaugeAll>, BaseGaugeComputed, RecordPropsDefinition<BaseGaugeProps>>;
40
+ declare const BaseGauge: DefineComponent<BaseGaugeProps, any, BaseGaugeData, BaseGaugeComputed, BaseGaugeMethods, {}, {}, {}, string, BaseGaugeProps, BaseGaugeProps, {}>;
41
+ export { BaseGauge, BaseGaugeVue2 };
@@ -24,7 +24,7 @@ import { canUseDOM } from '@progress/kendo-vue-common'; // import { GaugeContext
24
24
  import { validatePackage, getDefaultSlots } from '@progress/kendo-vue-common';
25
25
  import { packageMetadata } from './package-metadata'; // tslint:enable:max-line-length
26
26
 
27
- var BaseGauge = {
27
+ var BaseGaugeVue2 = {
28
28
  name: 'KendoBaseGauge',
29
29
  props: {
30
30
  dir: String,
@@ -39,6 +39,11 @@ var BaseGauge = {
39
39
  gaugeConstructor: [Object, Function],
40
40
  deriveOptionsFromParent: Function
41
41
  },
42
+ inject: {
43
+ kendoIntlService: {
44
+ default: null
45
+ }
46
+ },
42
47
  created: function created() {
43
48
  validatePackage(packageMetadata);
44
49
  this.gaugeInstance = null;
@@ -218,5 +223,5 @@ var BaseGauge = {
218
223
  }
219
224
  }
220
225
  };
221
- var BaseGaugeVue3 = BaseGauge;
222
- export { BaseGauge, BaseGaugeVue3 };
226
+ var BaseGauge = BaseGaugeVue2;
227
+ export { BaseGauge, BaseGaugeVue2 };
@@ -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;
@@ -31,8 +30,8 @@ export interface CircularGaugeData extends ArcGaugeData {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CircularGaugeAll extends Vue, CircularGaugeMethods, CircularGaugeData, CircularGaugeComputed, CircularGaugeState {
33
+ export interface CircularGaugeAll extends Vue2type, CircularGaugeMethods, CircularGaugeData, CircularGaugeComputed, CircularGaugeState {
35
34
  }
36
- declare let CircularGauge: ComponentOptions<CircularGaugeAll, DefaultData<CircularGaugeData>, DefaultMethods<CircularGaugeAll>, CircularGaugeComputed, RecordPropsDefinition<CircularGaugeProps>>;
37
- declare const CircularGaugeVue3: DefineComponent<CircularGaugeProps, any, CircularGaugeData, CircularGaugeComputed, CircularGaugeMethods, {}, {}, {}, string, CircularGaugeProps, CircularGaugeProps, {}>;
38
- export { CircularGauge, CircularGaugeVue3 };
35
+ declare let CircularGaugeVue2: ComponentOptions<CircularGaugeAll, DefaultData<CircularGaugeData>, DefaultMethods<CircularGaugeAll>, CircularGaugeComputed, RecordPropsDefinition<CircularGaugeProps>>;
36
+ declare const CircularGauge: DefineComponent<CircularGaugeProps, any, CircularGaugeData, CircularGaugeComputed, CircularGaugeMethods, {}, {}, {}, string, CircularGaugeProps, CircularGaugeProps, {}>;
37
+ export { CircularGauge, CircularGaugeVue2 };
@@ -21,7 +21,7 @@ var gh = allVue.h;
21
21
  import { ArcGauge } from './ArcGauge';
22
22
  import { CircularGauge as KendoCircularGauge } from '@progress/kendo-charts'; // tslint:enable:max-line-length
23
23
 
24
- var CircularGauge = __assign(__assign({}, ArcGauge), {
24
+ var CircularGaugeVue2 = __assign(__assign({}, ArcGauge), {
25
25
  name: 'KendoCircularGauge',
26
26
  created: function created() {
27
27
  this.gaugeType = KendoCircularGauge;
@@ -29,5 +29,5 @@ var CircularGauge = __assign(__assign({}, ArcGauge), {
29
29
  }
30
30
  });
31
31
 
32
- var CircularGaugeVue3 = CircularGauge;
33
- export { CircularGauge, CircularGaugeVue3 };
32
+ var CircularGauge = CircularGaugeVue2;
33
+ export { CircularGauge, CircularGaugeVue2 };
@@ -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;
@@ -31,8 +30,8 @@ export interface LinearGaugeData {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface LinearGaugeAll extends Vue, LinearGaugeMethods, LinearGaugeData, LinearGaugeComputed, LinearGaugeState {
33
+ export interface LinearGaugeAll extends Vue2type, LinearGaugeMethods, LinearGaugeData, LinearGaugeComputed, LinearGaugeState {
35
34
  }
36
- declare let LinearGauge: ComponentOptions<LinearGaugeAll, DefaultData<LinearGaugeData>, DefaultMethods<LinearGaugeAll>, LinearGaugeComputed, RecordPropsDefinition<LinearGaugeProps>>;
37
- declare const LinearGaugeVue3: DefineComponent<LinearGaugeProps, any, LinearGaugeData, LinearGaugeComputed, LinearGaugeMethods, {}, {}, {}, string, LinearGaugeProps, LinearGaugeProps, {}>;
38
- export { LinearGauge, LinearGaugeVue3 };
35
+ declare let LinearGaugeVue2: ComponentOptions<LinearGaugeAll, DefaultData<LinearGaugeData>, DefaultMethods<LinearGaugeAll>, LinearGaugeComputed, RecordPropsDefinition<LinearGaugeProps>>;
36
+ declare const LinearGauge: DefineComponent<LinearGaugeProps, any, LinearGaugeData, LinearGaugeComputed, LinearGaugeMethods, {}, {}, {}, string, LinearGaugeProps, LinearGaugeProps, {}>;
37
+ export { LinearGauge, LinearGaugeVue2 };
@@ -7,7 +7,7 @@ import { LinearGauge as KendoLinearGauge } from '@progress/kendo-charts';
7
7
  import { Group } from '@progress/kendo-drawing';
8
8
  import { getDefaultSlots } from '@progress/kendo-vue-common'; // tslint:enable:max-line-length
9
9
 
10
- var LinearGauge = {
10
+ var LinearGaugeVue2 = {
11
11
  name: 'KendoLinearGauge',
12
12
  props: {
13
13
  dir: String,
@@ -89,8 +89,8 @@ var LinearGauge = {
89
89
  return null;
90
90
  },
91
91
  exportVisual: function exportVisual(options) {
92
- if (this.gaugeInstance !== null) {
93
- return Promise.resolve(this.gaugeInstance.exportVisual(options));
92
+ if (this.gaugeInstance() !== null) {
93
+ return Promise.resolve(this.gaugeInstance().exportVisual(options));
94
94
  }
95
95
 
96
96
  return Promise.resolve(new Group());
@@ -109,5 +109,5 @@ var LinearGauge = {
109
109
  }
110
110
  }
111
111
  };
112
- var LinearGaugeVue3 = LinearGauge;
113
- export { LinearGauge, LinearGaugeVue3 };
112
+ var LinearGauge = LinearGaugeVue2;
113
+ export { LinearGauge, LinearGaugeVue2 };
@@ -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;
@@ -31,8 +30,8 @@ export interface RadialGaugeData {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface RadialGaugeAll extends Vue, RadialGaugeMethods, RadialGaugeData, RadialGaugeComputed, RadialGaugeState {
33
+ export interface RadialGaugeAll extends Vue2type, RadialGaugeMethods, RadialGaugeData, RadialGaugeComputed, RadialGaugeState {
35
34
  }
36
- declare let RadialGauge: ComponentOptions<RadialGaugeAll, DefaultData<RadialGaugeData>, DefaultMethods<RadialGaugeAll>, RadialGaugeComputed, RecordPropsDefinition<RadialGaugeProps>>;
37
- declare const RadialGaugeVue3: DefineComponent<RadialGaugeProps, any, RadialGaugeData, RadialGaugeComputed, RadialGaugeMethods, {}, {}, {}, string, RadialGaugeProps, RadialGaugeProps, {}>;
38
- export { RadialGauge, RadialGaugeVue3 };
35
+ declare let RadialGaugeVue2: ComponentOptions<RadialGaugeAll, DefaultData<RadialGaugeData>, DefaultMethods<RadialGaugeAll>, RadialGaugeComputed, RecordPropsDefinition<RadialGaugeProps>>;
36
+ declare const RadialGauge: DefineComponent<RadialGaugeProps, any, RadialGaugeData, RadialGaugeComputed, RadialGaugeMethods, {}, {}, {}, string, RadialGaugeProps, RadialGaugeProps, {}>;
37
+ export { RadialGauge, RadialGaugeVue2 };
@@ -7,7 +7,7 @@ import { RadialGauge as KendoRadialGauge } from '@progress/kendo-charts';
7
7
  import { Group } from '@progress/kendo-drawing';
8
8
  import { getDefaultSlots } from '@progress/kendo-vue-common'; // tslint:enable:max-line-length
9
9
 
10
- var RadialGauge = {
10
+ var RadialGaugeVue2 = {
11
11
  name: 'KendoRadialGauge',
12
12
  props: {
13
13
  dir: String,
@@ -90,8 +90,8 @@ var RadialGauge = {
90
90
  return null;
91
91
  },
92
92
  exportVisual: function exportVisual(options) {
93
- if (this.gaugeInstance !== null) {
94
- return Promise.resolve(this.gaugeInstance.exportVisual(options));
93
+ if (this.gaugeInstance() !== null) {
94
+ return Promise.resolve(this.gaugeInstance().exportVisual(options));
95
95
  }
96
96
 
97
97
  return Promise.resolve(new Group());
@@ -110,5 +110,5 @@ var RadialGauge = {
110
110
  }
111
111
  }
112
112
  };
113
- var RadialGaugeVue3 = RadialGauge;
114
- export { RadialGauge, RadialGaugeVue3 };
113
+ var RadialGauge = RadialGaugeVue2;
114
+ export { RadialGauge, RadialGaugeVue2 };
@@ -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,10 +1,10 @@
1
- import { ArcGauge } from './ArcGauge';
1
+ import { ArcGauge, ArcGaugeVue2 } from './ArcGauge';
2
2
  import { ArcGaugeProps } from './ArcGaugeProps';
3
- import { CircularGauge } from './CircularGauge';
3
+ import { CircularGauge, CircularGaugeVue2 } from './CircularGauge';
4
4
  import { CircularGaugeProps } from './CircularGaugeProps';
5
- import { LinearGauge } from './LinearGauge';
5
+ import { LinearGauge, LinearGaugeVue2 } from './LinearGauge';
6
6
  import { LinearGaugeProps } from './LinearGaugeProps';
7
- import { RadialGauge } from './RadialGauge';
7
+ import { RadialGauge, RadialGaugeVue2 } from './RadialGauge';
8
8
  import { RadialGaugeProps } from './RadialGaugeProps';
9
9
  export * from './types';
10
- export { ArcGauge, ArcGaugeProps, CircularGauge, CircularGaugeProps, LinearGauge, LinearGaugeProps, RadialGauge, RadialGaugeProps };
10
+ export { ArcGauge, ArcGaugeVue2, ArcGaugeProps, CircularGauge, CircularGaugeVue2, CircularGaugeProps, LinearGauge, LinearGaugeVue2, LinearGaugeProps, RadialGauge, RadialGaugeVue2, RadialGaugeProps };
package/dist/es/main.js CHANGED
@@ -1,7 +1,7 @@
1
- import { ArcGauge } from './ArcGauge';
2
- import { CircularGauge } from './CircularGauge';
3
- import { LinearGauge } from './LinearGauge';
4
- import { RadialGauge } from './RadialGauge';
1
+ import { ArcGauge, ArcGaugeVue2 } from './ArcGauge';
2
+ import { CircularGauge, CircularGaugeVue2 } from './CircularGauge';
3
+ import { LinearGauge, LinearGaugeVue2 } from './LinearGauge';
4
+ import { RadialGauge, RadialGaugeVue2 } from './RadialGauge';
5
5
  // export * from './common/gauges';
6
6
  export * from './types';
7
- export { ArcGauge, CircularGauge, LinearGauge, RadialGauge };
7
+ export { ArcGauge, ArcGaugeVue2, CircularGauge, CircularGaugeVue2, LinearGauge, LinearGaugeVue2, RadialGauge, RadialGaugeVue2 };
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-gauges',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1641561416,
8
+ publishDate: 1641907045,
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;
@@ -41,8 +40,8 @@ export interface ArcCenterData {
41
40
  /**
42
41
  * @hidden
43
42
  */
44
- export interface ArcCenterAll extends Vue, ArcCenterMethods, ArcCenterData, ArcCenterComputed, ArcCenterState {
43
+ export interface ArcCenterAll extends Vue2type, ArcCenterMethods, ArcCenterData, ArcCenterComputed, ArcCenterState {
45
44
  }
46
- declare let ArcCenter: ComponentOptions<ArcCenterAll, DefaultData<ArcCenterData>, DefaultMethods<ArcCenterAll>, ArcCenterComputed, RecordPropsDefinition<ArcCenterProps>>;
47
- declare const ArcCenterVue3: DefineComponent<ArcCenterProps, any, ArcCenterData, ArcCenterComputed, ArcCenterMethods, {}, {}, {}, string, ArcCenterProps, ArcCenterProps, {}>;
48
- export { ArcCenter, ArcCenterVue3 };
45
+ declare let ArcCenterVue2: ComponentOptions<ArcCenterAll, DefaultData<ArcCenterData>, DefaultMethods<ArcCenterAll>, ArcCenterComputed, RecordPropsDefinition<ArcCenterProps>>;
46
+ declare const ArcCenter: DefineComponent<ArcCenterProps, any, ArcCenterData, ArcCenterComputed, ArcCenterMethods, {}, {}, {}, string, ArcCenterProps, ArcCenterProps, {}>;
47
+ export { ArcCenter, ArcCenterVue2 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ArcCenterVue3 = exports.ArcCenter = void 0; // @ts-ignore
6
+ exports.ArcCenterVue2 = exports.ArcCenter = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -13,7 +13,7 @@ var gh = allVue.h;
13
13
  var kendo_vue_common_1 = require("@progress/kendo-vue-common"); // tslint:enable:max-line-length
14
14
 
15
15
 
16
- var ArcCenter = {
16
+ var ArcCenterVue2 = {
17
17
  name: 'KendoArcCenter',
18
18
  props: {
19
19
  center: [String, Function, Object],
@@ -58,6 +58,6 @@ var ArcCenter = {
58
58
  return renderer;
59
59
  }
60
60
  };
61
- exports.ArcCenter = ArcCenter;
62
- var ArcCenterVue3 = ArcCenter;
63
- exports.ArcCenterVue3 = ArcCenterVue3;
61
+ exports.ArcCenterVue2 = ArcCenterVue2;
62
+ var ArcCenter = ArcCenterVue2;
63
+ exports.ArcCenter = ArcCenter;
@@ -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;
@@ -36,8 +35,8 @@ export interface ArcGaugeData {
36
35
  /**
37
36
  * @hidden
38
37
  */
39
- export interface ArcGaugeAll extends Vue, ArcGaugeMethods, ArcGaugeData, ArcGaugeComputed, ArcGaugeState {
38
+ export interface ArcGaugeAll extends Vue2type, ArcGaugeMethods, ArcGaugeData, ArcGaugeComputed, ArcGaugeState {
40
39
  }
41
- declare let ArcGauge: ComponentOptions<ArcGaugeAll, DefaultData<ArcGaugeData>, DefaultMethods<ArcGaugeAll>, ArcGaugeComputed, RecordPropsDefinition<ArcGaugeProps>>;
42
- declare const ArcGaugeVue3: DefineComponent<ArcGaugeProps, any, ArcGaugeData, ArcGaugeComputed, ArcGaugeMethods, {}, {}, {}, string, ArcGaugeProps, ArcGaugeProps, {}>;
43
- export { ArcGauge, ArcGaugeVue3 };
40
+ declare let ArcGaugeVue2: ComponentOptions<ArcGaugeAll, DefaultData<ArcGaugeData>, DefaultMethods<ArcGaugeAll>, ArcGaugeComputed, RecordPropsDefinition<ArcGaugeProps>>;
41
+ declare const ArcGauge: DefineComponent<ArcGaugeProps, any, ArcGaugeData, ArcGaugeComputed, ArcGaugeMethods, {}, {}, {}, string, ArcGaugeProps, ArcGaugeProps, {}>;
42
+ export { ArcGauge, ArcGaugeVue2 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ArcGaugeVue3 = exports.ArcGauge = void 0; // @ts-ignore
6
+ exports.ArcGaugeVue2 = exports.ArcGauge = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -21,7 +21,7 @@ var kendo_drawing_1 = require("@progress/kendo-drawing");
21
21
  var kendo_vue_common_1 = require("@progress/kendo-vue-common"); // tslint:enable:max-line-length
22
22
 
23
23
 
24
- var ArcGauge = {
24
+ var ArcGaugeVue2 = {
25
25
  name: 'KendoArcGauge',
26
26
  props: {
27
27
  dir: String,
@@ -179,8 +179,8 @@ var ArcGauge = {
179
179
  return null;
180
180
  },
181
181
  exportVisual: function exportVisual(options) {
182
- if (this.gaugeInstance !== null && this.element) {
183
- return kendo_drawing_1.drawDOM(this.element, options);
182
+ if (this.gaugeInstance !== null && this.element()) {
183
+ return kendo_drawing_1.drawDOM(this.element(), options);
184
184
  }
185
185
 
186
186
  return Promise.resolve(new kendo_drawing_1.Group());
@@ -205,6 +205,6 @@ var ArcGauge = {
205
205
  }
206
206
  }
207
207
  };
208
- exports.ArcGauge = ArcGauge;
209
- var ArcGaugeVue3 = ArcGauge;
210
- exports.ArcGaugeVue3 = ArcGaugeVue3;
208
+ exports.ArcGaugeVue2 = ArcGaugeVue2;
209
+ var ArcGauge = ArcGaugeVue2;
210
+ exports.ArcGauge = ArcGauge;
@@ -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;
@@ -35,8 +34,8 @@ export interface BaseGaugeData {
35
34
  /**
36
35
  * @hidden
37
36
  */
38
- export interface BaseGaugeAll extends Vue, BaseGaugeMethods, BaseGaugeData, BaseGaugeComputed, BaseGaugeState {
37
+ export interface BaseGaugeAll extends Vue2type, BaseGaugeMethods, BaseGaugeData, BaseGaugeComputed, BaseGaugeState {
39
38
  }
40
- declare let BaseGauge: ComponentOptions<BaseGaugeAll, DefaultData<BaseGaugeData>, DefaultMethods<BaseGaugeAll>, BaseGaugeComputed, RecordPropsDefinition<BaseGaugeProps>>;
41
- declare const BaseGaugeVue3: DefineComponent<BaseGaugeProps, any, BaseGaugeData, BaseGaugeComputed, BaseGaugeMethods, {}, {}, {}, string, BaseGaugeProps, BaseGaugeProps, {}>;
42
- export { BaseGauge, BaseGaugeVue3 };
39
+ declare let BaseGaugeVue2: ComponentOptions<BaseGaugeAll, DefaultData<BaseGaugeData>, DefaultMethods<BaseGaugeAll>, BaseGaugeComputed, RecordPropsDefinition<BaseGaugeProps>>;
40
+ declare const BaseGauge: DefineComponent<BaseGaugeProps, any, BaseGaugeData, BaseGaugeComputed, BaseGaugeMethods, {}, {}, {}, string, BaseGaugeProps, BaseGaugeProps, {}>;
41
+ export { BaseGauge, BaseGaugeVue2 };
@@ -16,7 +16,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
16
16
  Object.defineProperty(exports, "__esModule", {
17
17
  value: true
18
18
  });
19
- exports.BaseGaugeVue3 = exports.BaseGauge = void 0; // @ts-ignore
19
+ exports.BaseGaugeVue2 = exports.BaseGauge = void 0; // @ts-ignore
20
20
 
21
21
  var Vue = require("vue");
22
22
 
@@ -39,7 +39,7 @@ var kendo_vue_common_2 = require("@progress/kendo-vue-common");
39
39
  var package_metadata_1 = require("./package-metadata"); // tslint:enable:max-line-length
40
40
 
41
41
 
42
- var BaseGauge = {
42
+ var BaseGaugeVue2 = {
43
43
  name: 'KendoBaseGauge',
44
44
  props: {
45
45
  dir: String,
@@ -54,6 +54,11 @@ var BaseGauge = {
54
54
  gaugeConstructor: [Object, Function],
55
55
  deriveOptionsFromParent: Function
56
56
  },
57
+ inject: {
58
+ kendoIntlService: {
59
+ default: null
60
+ }
61
+ },
57
62
  created: function created() {
58
63
  kendo_vue_common_2.validatePackage(package_metadata_1.packageMetadata);
59
64
  this.gaugeInstance = null;
@@ -233,6 +238,6 @@ var BaseGauge = {
233
238
  }
234
239
  }
235
240
  };
236
- exports.BaseGauge = BaseGauge;
237
- var BaseGaugeVue3 = BaseGauge;
238
- exports.BaseGaugeVue3 = BaseGaugeVue3;
241
+ exports.BaseGaugeVue2 = BaseGaugeVue2;
242
+ var BaseGauge = BaseGaugeVue2;
243
+ exports.BaseGauge = BaseGauge;
@@ -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;
@@ -31,8 +30,8 @@ export interface CircularGaugeData extends ArcGaugeData {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface CircularGaugeAll extends Vue, CircularGaugeMethods, CircularGaugeData, CircularGaugeComputed, CircularGaugeState {
33
+ export interface CircularGaugeAll extends Vue2type, CircularGaugeMethods, CircularGaugeData, CircularGaugeComputed, CircularGaugeState {
35
34
  }
36
- declare let CircularGauge: ComponentOptions<CircularGaugeAll, DefaultData<CircularGaugeData>, DefaultMethods<CircularGaugeAll>, CircularGaugeComputed, RecordPropsDefinition<CircularGaugeProps>>;
37
- declare const CircularGaugeVue3: DefineComponent<CircularGaugeProps, any, CircularGaugeData, CircularGaugeComputed, CircularGaugeMethods, {}, {}, {}, string, CircularGaugeProps, CircularGaugeProps, {}>;
38
- export { CircularGauge, CircularGaugeVue3 };
35
+ declare let CircularGaugeVue2: ComponentOptions<CircularGaugeAll, DefaultData<CircularGaugeData>, DefaultMethods<CircularGaugeAll>, CircularGaugeComputed, RecordPropsDefinition<CircularGaugeProps>>;
36
+ declare const CircularGauge: DefineComponent<CircularGaugeProps, any, CircularGaugeData, CircularGaugeComputed, CircularGaugeMethods, {}, {}, {}, string, CircularGaugeProps, CircularGaugeProps, {}>;
37
+ export { CircularGauge, CircularGaugeVue2 };
@@ -19,7 +19,7 @@ var __assign = undefined && undefined.__assign || function () {
19
19
  Object.defineProperty(exports, "__esModule", {
20
20
  value: true
21
21
  });
22
- exports.CircularGaugeVue3 = exports.CircularGauge = void 0; // @ts-ignore
22
+ exports.CircularGaugeVue2 = exports.CircularGauge = void 0; // @ts-ignore
23
23
 
24
24
  var Vue = require("vue");
25
25
 
@@ -31,7 +31,7 @@ var ArcGauge_1 = require("./ArcGauge");
31
31
  var kendo_charts_1 = require("@progress/kendo-charts"); // tslint:enable:max-line-length
32
32
 
33
33
 
34
- var CircularGauge = __assign(__assign({}, ArcGauge_1.ArcGauge), {
34
+ var CircularGaugeVue2 = __assign(__assign({}, ArcGauge_1.ArcGauge), {
35
35
  name: 'KendoCircularGauge',
36
36
  created: function created() {
37
37
  this.gaugeType = kendo_charts_1.CircularGauge;
@@ -39,6 +39,6 @@ var CircularGauge = __assign(__assign({}, ArcGauge_1.ArcGauge), {
39
39
  }
40
40
  });
41
41
 
42
- exports.CircularGauge = CircularGauge;
43
- var CircularGaugeVue3 = CircularGauge;
44
- exports.CircularGaugeVue3 = CircularGaugeVue3;
42
+ exports.CircularGaugeVue2 = CircularGaugeVue2;
43
+ var CircularGauge = CircularGaugeVue2;
44
+ exports.CircularGauge = CircularGauge;
@@ -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;
@@ -31,8 +30,8 @@ export interface LinearGaugeData {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface LinearGaugeAll extends Vue, LinearGaugeMethods, LinearGaugeData, LinearGaugeComputed, LinearGaugeState {
33
+ export interface LinearGaugeAll extends Vue2type, LinearGaugeMethods, LinearGaugeData, LinearGaugeComputed, LinearGaugeState {
35
34
  }
36
- declare let LinearGauge: ComponentOptions<LinearGaugeAll, DefaultData<LinearGaugeData>, DefaultMethods<LinearGaugeAll>, LinearGaugeComputed, RecordPropsDefinition<LinearGaugeProps>>;
37
- declare const LinearGaugeVue3: DefineComponent<LinearGaugeProps, any, LinearGaugeData, LinearGaugeComputed, LinearGaugeMethods, {}, {}, {}, string, LinearGaugeProps, LinearGaugeProps, {}>;
38
- export { LinearGauge, LinearGaugeVue3 };
35
+ declare let LinearGaugeVue2: ComponentOptions<LinearGaugeAll, DefaultData<LinearGaugeData>, DefaultMethods<LinearGaugeAll>, LinearGaugeComputed, RecordPropsDefinition<LinearGaugeProps>>;
36
+ declare const LinearGauge: DefineComponent<LinearGaugeProps, any, LinearGaugeData, LinearGaugeComputed, LinearGaugeMethods, {}, {}, {}, string, LinearGaugeProps, LinearGaugeProps, {}>;
37
+ export { LinearGauge, LinearGaugeVue2 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.LinearGaugeVue3 = exports.LinearGauge = void 0; // @ts-ignore
6
+ exports.LinearGaugeVue2 = exports.LinearGauge = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -19,7 +19,7 @@ var kendo_drawing_1 = require("@progress/kendo-drawing");
19
19
  var kendo_vue_common_1 = require("@progress/kendo-vue-common"); // tslint:enable:max-line-length
20
20
 
21
21
 
22
- var LinearGauge = {
22
+ var LinearGaugeVue2 = {
23
23
  name: 'KendoLinearGauge',
24
24
  props: {
25
25
  dir: String,
@@ -101,8 +101,8 @@ var LinearGauge = {
101
101
  return null;
102
102
  },
103
103
  exportVisual: function exportVisual(options) {
104
- if (this.gaugeInstance !== null) {
105
- return Promise.resolve(this.gaugeInstance.exportVisual(options));
104
+ if (this.gaugeInstance() !== null) {
105
+ return Promise.resolve(this.gaugeInstance().exportVisual(options));
106
106
  }
107
107
 
108
108
  return Promise.resolve(new kendo_drawing_1.Group());
@@ -121,6 +121,6 @@ var LinearGauge = {
121
121
  }
122
122
  }
123
123
  };
124
- exports.LinearGauge = LinearGauge;
125
- var LinearGaugeVue3 = LinearGauge;
126
- exports.LinearGaugeVue3 = LinearGaugeVue3;
124
+ exports.LinearGaugeVue2 = LinearGaugeVue2;
125
+ var LinearGauge = LinearGaugeVue2;
126
+ exports.LinearGauge = LinearGauge;
@@ -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;
@@ -31,8 +30,8 @@ export interface RadialGaugeData {
31
30
  /**
32
31
  * @hidden
33
32
  */
34
- export interface RadialGaugeAll extends Vue, RadialGaugeMethods, RadialGaugeData, RadialGaugeComputed, RadialGaugeState {
33
+ export interface RadialGaugeAll extends Vue2type, RadialGaugeMethods, RadialGaugeData, RadialGaugeComputed, RadialGaugeState {
35
34
  }
36
- declare let RadialGauge: ComponentOptions<RadialGaugeAll, DefaultData<RadialGaugeData>, DefaultMethods<RadialGaugeAll>, RadialGaugeComputed, RecordPropsDefinition<RadialGaugeProps>>;
37
- declare const RadialGaugeVue3: DefineComponent<RadialGaugeProps, any, RadialGaugeData, RadialGaugeComputed, RadialGaugeMethods, {}, {}, {}, string, RadialGaugeProps, RadialGaugeProps, {}>;
38
- export { RadialGauge, RadialGaugeVue3 };
35
+ declare let RadialGaugeVue2: ComponentOptions<RadialGaugeAll, DefaultData<RadialGaugeData>, DefaultMethods<RadialGaugeAll>, RadialGaugeComputed, RecordPropsDefinition<RadialGaugeProps>>;
36
+ declare const RadialGauge: DefineComponent<RadialGaugeProps, any, RadialGaugeData, RadialGaugeComputed, RadialGaugeMethods, {}, {}, {}, string, RadialGaugeProps, RadialGaugeProps, {}>;
37
+ export { RadialGauge, RadialGaugeVue2 };