@progress/kendo-vue-gauges 2.8.0-dev.202201131525 → 3.0.0-dev.202201141128
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-gauges.js +1 -1
- package/dist/es/ArcGauge.js +2 -2
- package/dist/es/BaseGauge.js +2 -16
- package/dist/es/main.js +0 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/ArcGauge.js +2 -2
- package/dist/npm/BaseGauge.js +1 -15
- package/dist/npm/main.js +0 -1
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +6 -6
- package/dist/es/GaugeContext.d.ts +0 -1
- package/dist/es/GaugeContext.js +0 -12
- package/dist/es/common/gauges.d.ts +0 -1
- package/dist/es/common/gauges.js +0 -5
- package/dist/npm/GaugeContext.d.ts +0 -1
- package/dist/npm/GaugeContext.js +0 -13
- package/dist/npm/common/gauges.d.ts +0 -1
- package/dist/npm/common/gauges.js +0 -5
package/dist/es/ArcGauge.js
CHANGED
|
@@ -170,8 +170,8 @@ var ArcGaugeVue2 = {
|
|
|
170
170
|
return null;
|
|
171
171
|
},
|
|
172
172
|
exportVisual: function exportVisual(options) {
|
|
173
|
-
if (this.gaugeInstance !== null && this
|
|
174
|
-
return drawDOM(this
|
|
173
|
+
if (this.gaugeInstance !== null && this.$el) {
|
|
174
|
+
return drawDOM(this.$el, options);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
return Promise.resolve(new Group());
|
package/dist/es/BaseGauge.js
CHANGED
|
@@ -18,7 +18,7 @@ var gh = allVue.h;
|
|
|
18
18
|
import { provideIntlService } from '@progress/kendo-vue-intl';
|
|
19
19
|
import { loadTheme } from './theming/theme-service';
|
|
20
20
|
import createStore from './store/store';
|
|
21
|
-
import { themeReducer
|
|
21
|
+
import { themeReducer } from './store/reducer';
|
|
22
22
|
import { canUseDOM } from '@progress/kendo-vue-common'; // import { GaugeContextType, GaugeContext } from './GaugeContext';
|
|
23
23
|
|
|
24
24
|
import { validatePackage, getDefaultSlots } from '@progress/kendo-vue-common';
|
|
@@ -57,18 +57,11 @@ var BaseGaugeVue2 = {
|
|
|
57
57
|
this._prevRenderAs = this.renderAs;
|
|
58
58
|
this._prevDir = this.dir;
|
|
59
59
|
this.themeStore = createStore(themeReducer);
|
|
60
|
-
this.observersStore = createStore(observersReducer);
|
|
61
|
-
this.contextValue = {
|
|
62
|
-
observersStore: this.observersStore
|
|
63
|
-
};
|
|
64
60
|
},
|
|
65
61
|
mounted: function mounted() {
|
|
66
62
|
loadTheme(this.themeStore, this.instantiateCoreGauge.bind(this));
|
|
67
63
|
this.themeUnsubscriber = this.themeStore.subscribe(this.refresh.bind(this));
|
|
68
64
|
window.addEventListener('resize', this.onWindowResize);
|
|
69
|
-
this.trigger('render', {
|
|
70
|
-
sender: this
|
|
71
|
-
});
|
|
72
65
|
},
|
|
73
66
|
watch: {
|
|
74
67
|
dir: function dir(_newDir, oldDir) {
|
|
@@ -212,17 +205,10 @@ var BaseGaugeVue2 = {
|
|
|
212
205
|
|
|
213
206
|
return gaugeOptions;
|
|
214
207
|
},
|
|
215
|
-
trigger: function trigger(name, e) {
|
|
216
|
-
var observers = this.observersStore.getState();
|
|
217
|
-
|
|
218
|
-
for (var idx = 0; idx < observers.length; idx++) {
|
|
219
|
-
observers[idx].trigger(name, e);
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
208
|
onWindowResize: function onWindowResize() {
|
|
223
209
|
if (this.gaugeInstance !== null) {
|
|
224
210
|
this.gaugeInstance.resize();
|
|
225
|
-
this
|
|
211
|
+
this.$emit('render', {
|
|
226
212
|
sender: this
|
|
227
213
|
});
|
|
228
214
|
}
|
package/dist/es/main.js
CHANGED
|
@@ -2,6 +2,5 @@ import { ArcGauge, ArcGaugeVue2 } from './ArcGauge';
|
|
|
2
2
|
import { CircularGauge, CircularGaugeVue2 } from './CircularGauge';
|
|
3
3
|
import { LinearGauge, LinearGaugeVue2 } from './LinearGauge';
|
|
4
4
|
import { RadialGauge, RadialGaugeVue2 } from './RadialGauge';
|
|
5
|
-
// export * from './common/gauges';
|
|
6
5
|
export * from './types';
|
|
7
6
|
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:
|
|
8
|
+
publishDate: 1642159203,
|
|
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
|
};
|
package/dist/npm/ArcGauge.js
CHANGED
|
@@ -183,8 +183,8 @@ var ArcGaugeVue2 = {
|
|
|
183
183
|
return null;
|
|
184
184
|
},
|
|
185
185
|
exportVisual: function exportVisual(options) {
|
|
186
|
-
if (this.gaugeInstance !== null && this
|
|
187
|
-
return kendo_drawing_1.drawDOM(this
|
|
186
|
+
if (this.gaugeInstance !== null && this.$el) {
|
|
187
|
+
return kendo_drawing_1.drawDOM(this.$el, options);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
return Promise.resolve(new kendo_drawing_1.Group());
|
package/dist/npm/BaseGauge.js
CHANGED
|
@@ -72,18 +72,11 @@ var BaseGaugeVue2 = {
|
|
|
72
72
|
this._prevRenderAs = this.renderAs;
|
|
73
73
|
this._prevDir = this.dir;
|
|
74
74
|
this.themeStore = store_1.default(reducer_1.themeReducer);
|
|
75
|
-
this.observersStore = store_1.default(reducer_1.observersReducer);
|
|
76
|
-
this.contextValue = {
|
|
77
|
-
observersStore: this.observersStore
|
|
78
|
-
};
|
|
79
75
|
},
|
|
80
76
|
mounted: function mounted() {
|
|
81
77
|
theme_service_1.loadTheme(this.themeStore, this.instantiateCoreGauge.bind(this));
|
|
82
78
|
this.themeUnsubscriber = this.themeStore.subscribe(this.refresh.bind(this));
|
|
83
79
|
window.addEventListener('resize', this.onWindowResize);
|
|
84
|
-
this.trigger('render', {
|
|
85
|
-
sender: this
|
|
86
|
-
});
|
|
87
80
|
},
|
|
88
81
|
watch: {
|
|
89
82
|
dir: function dir(_newDir, oldDir) {
|
|
@@ -227,17 +220,10 @@ var BaseGaugeVue2 = {
|
|
|
227
220
|
|
|
228
221
|
return gaugeOptions;
|
|
229
222
|
},
|
|
230
|
-
trigger: function trigger(name, e) {
|
|
231
|
-
var observers = this.observersStore.getState();
|
|
232
|
-
|
|
233
|
-
for (var idx = 0; idx < observers.length; idx++) {
|
|
234
|
-
observers[idx].trigger(name, e);
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
223
|
onWindowResize: function onWindowResize() {
|
|
238
224
|
if (this.gaugeInstance !== null) {
|
|
239
225
|
this.gaugeInstance.resize();
|
|
240
|
-
this
|
|
226
|
+
this.$emit('render', {
|
|
241
227
|
sender: this
|
|
242
228
|
});
|
|
243
229
|
}
|
package/dist/npm/main.js
CHANGED
|
@@ -23,5 +23,4 @@ Object.defineProperty(exports, "LinearGaugeVue2", { enumerable: true, get: funct
|
|
|
23
23
|
var RadialGauge_1 = require("./RadialGauge");
|
|
24
24
|
Object.defineProperty(exports, "RadialGauge", { enumerable: true, get: function () { return RadialGauge_1.RadialGauge; } });
|
|
25
25
|
Object.defineProperty(exports, "RadialGaugeVue2", { enumerable: true, get: function () { return RadialGauge_1.RadialGaugeVue2; } });
|
|
26
|
-
// export * from './common/gauges';
|
|
27
26
|
__exportStar(require("./types"), exports);
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-gauges',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1642159203,
|
|
12
12
|
version: '',
|
|
13
13
|
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'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-gauges",
|
|
3
3
|
"description": "Kendo UI for Vue Gauges package",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0-dev.202201141128",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@progress/kendo-charts": "^1.18.0",
|
|
41
|
-
"@progress/kendo-vue-common": "
|
|
41
|
+
"@progress/kendo-vue-common": "3.0.0-dev.202201141128"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@progress/kendo-data-query": "^1.0.0",
|
|
45
45
|
"@progress/kendo-drawing": "^1.8.0",
|
|
46
46
|
"@progress/kendo-file-saver": "^1.0.1",
|
|
47
47
|
"@progress/kendo-licensing": "^1.0.1",
|
|
48
|
-
"@progress/kendo-vue-buttons": "
|
|
49
|
-
"@progress/kendo-vue-dropdowns": "
|
|
50
|
-
"@progress/kendo-vue-inputs": "
|
|
51
|
-
"@progress/kendo-vue-intl": "
|
|
48
|
+
"@progress/kendo-vue-buttons": "3.0.0-dev.202201141128",
|
|
49
|
+
"@progress/kendo-vue-dropdowns": "3.0.0-dev.202201141128",
|
|
50
|
+
"@progress/kendo-vue-inputs": "3.0.0-dev.202201141128",
|
|
51
|
+
"@progress/kendo-vue-intl": "3.0.0-dev.202201141128",
|
|
52
52
|
"cldr-core": "^36.0.0",
|
|
53
53
|
"cldr-dates-full": "^36.0.0",
|
|
54
54
|
"cldr-numbers-full": "^36.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/es/GaugeContext.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// import { Store } from './store/store';
|
|
2
|
-
// /**
|
|
3
|
-
// * @hidden
|
|
4
|
-
// */
|
|
5
|
-
// export interface GaugeContextType {
|
|
6
|
-
// observersStore: Store;
|
|
7
|
-
// }
|
|
8
|
-
// /**
|
|
9
|
-
// * @hidden
|
|
10
|
-
// */
|
|
11
|
-
// export const GaugeContext = React.createContext<GaugeContextType | null>(null);
|
|
12
|
-
// GaugeContext.displayName = 'GaugeContext';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/es/common/gauges.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/npm/GaugeContext.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// import { Store } from './store/store';
|
|
2
|
-
// /**
|
|
3
|
-
// * @hidden
|
|
4
|
-
// */
|
|
5
|
-
// export interface GaugeContextType {
|
|
6
|
-
// observersStore: Store;
|
|
7
|
-
// }
|
|
8
|
-
// /**
|
|
9
|
-
// * @hidden
|
|
10
|
-
// */
|
|
11
|
-
// export const GaugeContext = React.createContext<GaugeContextType | null>(null);
|
|
12
|
-
// GaugeContext.displayName = 'GaugeContext';
|
|
13
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|