@progress/kendo-vue-charts 3.13.0 → 3.14.0-dev.202309120835

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.
@@ -29,7 +29,7 @@ import { toggle } from './utils/main';
29
29
  import './defaults';
30
30
  import { SeriesTooltip } from './tooltip/Series';
31
31
  import { CrosshairContainer } from './tooltip/CrosshairContainer';
32
- import { validatePackage } from '@progress/kendo-vue-common';
32
+ import { validatePackage, shouldShowValidationUI, WatermarkOverlay } from '@progress/kendo-vue-common';
33
33
  import { packageMetadata } from './package-metadata';
34
34
  /**
35
35
  * @hidden
@@ -139,6 +139,7 @@ var BaseChartVue2 = {
139
139
  this.element = null;
140
140
  this.suppressTransitions = false;
141
141
  validatePackage(packageMetadata);
142
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
142
143
  this.themeStore = createStore(themeReducer);
143
144
  this.chartObserver = new InstanceObserver(this, {
144
145
  render: 'onRender',
@@ -151,7 +152,8 @@ var BaseChartVue2 = {
151
152
  observersState: [],
152
153
  childrenObserver: new InstanceObserver(this, {
153
154
  onMouseLeave: 'onChildMouseLeave'
154
- })
155
+ }),
156
+ showLicenseWatermark: false
155
157
  };
156
158
  },
157
159
  mounted: function mounted() {
@@ -212,6 +214,7 @@ var BaseChartVue2 = {
212
214
  var chartStyles = Object.assign({}, chartStyle, {
213
215
  position: 'relative'
214
216
  });
217
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
215
218
  var divContent = function divContent() {
216
219
  return h("div", {
217
220
  onMouseleave: this.onChartMouseLeave,
@@ -220,7 +223,7 @@ var BaseChartVue2 = {
220
223
  },
221
224
  ref: setRef(this, 'element'),
222
225
  "class": "k-chart-surface"
223
- }, [defaultSlots]);
226
+ }, [defaultSlots, watermark]);
224
227
  };
225
228
  return h(wrapper, {
226
229
  style: chartStyles,
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-charts',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1693312415,
8
+ publishDate: 1694507014,
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
  };
@@ -29,7 +29,7 @@ import { toggle } from './utils/main.js';
29
29
  import './defaults.js';
30
30
  import { SeriesTooltip } from './tooltip/Series.js';
31
31
  import { CrosshairContainer } from './tooltip/CrosshairContainer.js';
32
- import { validatePackage } from '@progress/kendo-vue-common';
32
+ import { validatePackage, shouldShowValidationUI, WatermarkOverlay } from '@progress/kendo-vue-common';
33
33
  import { packageMetadata } from './package-metadata.js';
34
34
  /**
35
35
  * @hidden
@@ -139,6 +139,7 @@ var BaseChartVue2 = {
139
139
  this.element = null;
140
140
  this.suppressTransitions = false;
141
141
  validatePackage(packageMetadata);
142
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
142
143
  this.themeStore = createStore(themeReducer);
143
144
  this.chartObserver = new InstanceObserver(this, {
144
145
  render: 'onRender',
@@ -151,7 +152,8 @@ var BaseChartVue2 = {
151
152
  observersState: [],
152
153
  childrenObserver: new InstanceObserver(this, {
153
154
  onMouseLeave: 'onChildMouseLeave'
154
- })
155
+ }),
156
+ showLicenseWatermark: false
155
157
  };
156
158
  },
157
159
  mounted: function mounted() {
@@ -212,6 +214,7 @@ var BaseChartVue2 = {
212
214
  var chartStyles = Object.assign({}, chartStyle, {
213
215
  position: 'relative'
214
216
  });
217
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
215
218
  var divContent = function divContent() {
216
219
  return h("div", {
217
220
  onMouseleave: this.onChartMouseLeave,
@@ -220,7 +223,7 @@ var BaseChartVue2 = {
220
223
  },
221
224
  ref: setRef(this, 'element'),
222
225
  "class": "k-chart-surface"
223
- }, [defaultSlots]);
226
+ }, [defaultSlots, watermark]);
224
227
  };
225
228
  return h(wrapper, {
226
229
  style: chartStyles,
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-charts',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1693312415,
8
+ publishDate: 1694507014,
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
  };
@@ -145,6 +145,7 @@ var BaseChartVue2 = {
145
145
  this.element = null;
146
146
  this.suppressTransitions = false;
147
147
  (0, kendo_vue_common_2.validatePackage)(package_metadata_1.packageMetadata);
148
+ this.showLicenseWatermark = (0, kendo_vue_common_2.shouldShowValidationUI)(package_metadata_1.packageMetadata);
148
149
  this.themeStore = (0, store_1.default)(reducer_1.themeReducer);
149
150
  this.chartObserver = new kendo_charts_1.InstanceObserver(this, {
150
151
  render: 'onRender',
@@ -157,7 +158,8 @@ var BaseChartVue2 = {
157
158
  observersState: [],
158
159
  childrenObserver: new kendo_charts_1.InstanceObserver(this, {
159
160
  onMouseLeave: 'onChildMouseLeave'
160
- })
161
+ }),
162
+ showLicenseWatermark: false
161
163
  };
162
164
  },
163
165
  mounted: function mounted() {
@@ -218,6 +220,7 @@ var BaseChartVue2 = {
218
220
  var chartStyles = Object.assign({}, chartStyle, {
219
221
  position: 'relative'
220
222
  });
223
+ var watermark = this.showLicenseWatermark ? h(kendo_vue_common_2.WatermarkOverlay) : null;
221
224
  var divContent = function divContent() {
222
225
  return h("div", {
223
226
  onMouseleave: this.onChartMouseLeave,
@@ -226,7 +229,7 @@ var BaseChartVue2 = {
226
229
  },
227
230
  ref: (0, kendo_vue_common_1.setRef)(this, 'element'),
228
231
  "class": "k-chart-surface"
229
- }, [defaultSlots]);
232
+ }, [defaultSlots, watermark]);
230
233
  };
231
234
  return h(wrapper, {
232
235
  style: chartStyles,
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-charts',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1693312415,
11
+ publishDate: 1694507014,
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-charts",
3
3
  "description": "Kendo UI for Vue Charts package",
4
- "version": "3.13.0",
4
+ "version": "3.14.0-dev.202309120835",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -44,17 +44,17 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@progress/kendo-charts": "^1.18.0",
47
- "@progress/kendo-vue-common": "3.13.0",
48
- "@progress/kendo-vue-popup": "3.13.0"
47
+ "@progress/kendo-vue-common": "3.14.0-dev.202309120835",
48
+ "@progress/kendo-vue-popup": "3.14.0-dev.202309120835"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@progress/kendo-data-query": "^1.0.0",
52
52
  "@progress/kendo-drawing": "^1.8.0",
53
53
  "@progress/kendo-file-saver": "^1.0.1",
54
54
  "@progress/kendo-licensing": "^1.3.0",
55
- "@progress/kendo-vue-dropdowns": "3.13.0",
56
- "@progress/kendo-vue-inputs": "3.13.0",
57
- "@progress/kendo-vue-intl": "3.13.0",
55
+ "@progress/kendo-vue-dropdowns": "3.14.0-dev.202309120835",
56
+ "@progress/kendo-vue-inputs": "3.14.0-dev.202309120835",
57
+ "@progress/kendo-vue-intl": "3.14.0-dev.202309120835",
58
58
  "cldr-core": "^41.0.0",
59
59
  "cldr-dates-full": "^41.0.0",
60
60
  "cldr-numbers-full": "^41.0.0",