@progress/kendo-vue-dialogs 3.13.0 → 3.14.0-dev.202309120904

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/es/Dialog.js CHANGED
@@ -4,7 +4,7 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  import { DialogTitleBar } from './DialogTitleBar';
7
- import { guid, Keys, templateRendering, hasListener, templateDefinition, getListeners, getDefaultSlots, validatePackage } from '@progress/kendo-vue-common';
7
+ import { guid, Keys, templateRendering, hasListener, templateDefinition, getListeners, getDefaultSlots, validatePackage, shouldShowValidationUI, WatermarkOverlay } from '@progress/kendo-vue-common';
8
8
  import { packageMetadata } from './package-metadata';
9
9
  import { DEFAULT_DIALOGS_ZINDEX } from './constants';
10
10
  /**
@@ -44,8 +44,14 @@ var DialogVue2 = {
44
44
  kCurrentZIndex: DEFAULT_DIALOGS_ZINDEX
45
45
  };
46
46
  },
47
+ data: function data() {
48
+ return {
49
+ showLicenseWatermark: false
50
+ };
51
+ },
47
52
  created: function created() {
48
53
  validatePackage(packageMetadata);
54
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
49
55
  this.titleId = this.generateTitleId();
50
56
  this.contentId = this.generateContentId();
51
57
  },
@@ -137,6 +143,7 @@ var DialogVue2 = {
137
143
  width = this.transformDimesion(width);
138
144
  height = this.transformDimesion(height);
139
145
  minWidth = this.transformDimesion(minWidth);
146
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
140
147
  var actionBarIndex = this.getActionBarIndex(content);
141
148
  var actions;
142
149
  if (actionBarIndex !== -1) {
@@ -206,7 +213,7 @@ var DialogVue2 = {
206
213
  attrs: this.v3 ? undefined : {
207
214
  id: this.contentId
208
215
  }
209
- }, [content]), actions])]);
216
+ }, [content]), actions, watermark])]);
210
217
  return this.$props.appendTo ? h("div", [dialog]) : dialog;
211
218
  }
212
219
  };
package/dist/es/Window.js CHANGED
@@ -16,7 +16,7 @@ var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
18
  import { WindowTitleBar } from './WindowTitlebar';
19
- import { Keys, guid, Draggable, templateDefinition, getDefaultSlots, templateRendering, getListeners, validatePackage } from '@progress/kendo-vue-common';
19
+ import { Keys, guid, Draggable, templateDefinition, getDefaultSlots, templateRendering, getListeners, validatePackage, WatermarkOverlay, shouldShowValidationUI } from '@progress/kendo-vue-common';
20
20
  import { ResizeHandlers } from './WindowResizeHandlers';
21
21
  import { windowStage } from './StageEnum';
22
22
  import { packageMetadata } from './package-metadata';
@@ -122,6 +122,7 @@ var WindowVue2 = {
122
122
  },
123
123
  created: function created() {
124
124
  validatePackage(packageMetadata);
125
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
125
126
  this.windowCoordinatesState = {
126
127
  leftBeforeAction: this.getInitialLeft(),
127
128
  topBeforeAction: this.getInitialTop(),
@@ -148,7 +149,8 @@ var WindowVue2 = {
148
149
  currentLeft: this.getInitialLeft(),
149
150
  currentWidth: this.getInitialWidth(),
150
151
  currentHeight: this.getInitialHeight(),
151
- titleId: undefined
152
+ titleId: undefined,
153
+ showLicenseWatermark: false
152
154
  };
153
155
  },
154
156
  mounted: function mounted() {
@@ -518,6 +520,7 @@ var WindowVue2 = {
518
520
  actions = content[actionBarIndex];
519
521
  content.splice(actionBarIndex, 1);
520
522
  }
523
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
521
524
  var windowElement = h("div", {
522
525
  "class": this.wrapperClass,
523
526
  ref: 'wrapper'
@@ -649,7 +652,7 @@ var WindowVue2 = {
649
652
  on: this.v3 ? undefined : {
650
653
  "resize": this.handleResize
651
654
  }
652
- }) : null])]);
655
+ }) : null, watermark])]);
653
656
  return this.$props.appendTo ? h("div", [windowElement]) : windowElement;
654
657
  }
655
658
  };
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-dialogs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1693312498,
8
+ publishDate: 1694508619,
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
  };
@@ -4,7 +4,7 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  import { DialogTitleBar } from './DialogTitleBar.js';
7
- import { guid, Keys, templateRendering, hasListener, templateDefinition, getListeners, getDefaultSlots, validatePackage } from '@progress/kendo-vue-common';
7
+ import { guid, Keys, templateRendering, hasListener, templateDefinition, getListeners, getDefaultSlots, validatePackage, shouldShowValidationUI, WatermarkOverlay } from '@progress/kendo-vue-common';
8
8
  import { packageMetadata } from './package-metadata.js';
9
9
  import { DEFAULT_DIALOGS_ZINDEX } from './constants.js';
10
10
  /**
@@ -44,8 +44,14 @@ var DialogVue2 = {
44
44
  kCurrentZIndex: DEFAULT_DIALOGS_ZINDEX
45
45
  };
46
46
  },
47
+ data: function data() {
48
+ return {
49
+ showLicenseWatermark: false
50
+ };
51
+ },
47
52
  created: function created() {
48
53
  validatePackage(packageMetadata);
54
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
49
55
  this.titleId = this.generateTitleId();
50
56
  this.contentId = this.generateContentId();
51
57
  },
@@ -137,6 +143,7 @@ var DialogVue2 = {
137
143
  width = this.transformDimesion(width);
138
144
  height = this.transformDimesion(height);
139
145
  minWidth = this.transformDimesion(minWidth);
146
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
140
147
  var actionBarIndex = this.getActionBarIndex(content);
141
148
  var actions;
142
149
  if (actionBarIndex !== -1) {
@@ -206,7 +213,7 @@ var DialogVue2 = {
206
213
  attrs: this.v3 ? undefined : {
207
214
  id: this.contentId
208
215
  }
209
- }, [content]), actions])]);
216
+ }, [content]), actions, watermark])]);
210
217
  return this.$props.appendTo ? h("div", [dialog]) : dialog;
211
218
  }
212
219
  };
@@ -16,7 +16,7 @@ var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
18
  import { WindowTitleBar } from './WindowTitlebar.js';
19
- import { Keys, guid, Draggable, templateDefinition, getDefaultSlots, templateRendering, getListeners, validatePackage } from '@progress/kendo-vue-common';
19
+ import { Keys, guid, Draggable, templateDefinition, getDefaultSlots, templateRendering, getListeners, validatePackage, WatermarkOverlay, shouldShowValidationUI } from '@progress/kendo-vue-common';
20
20
  import { ResizeHandlers } from './WindowResizeHandlers.js';
21
21
  import { windowStage } from './StageEnum.js';
22
22
  import { packageMetadata } from './package-metadata.js';
@@ -122,6 +122,7 @@ var WindowVue2 = {
122
122
  },
123
123
  created: function created() {
124
124
  validatePackage(packageMetadata);
125
+ this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);
125
126
  this.windowCoordinatesState = {
126
127
  leftBeforeAction: this.getInitialLeft(),
127
128
  topBeforeAction: this.getInitialTop(),
@@ -148,7 +149,8 @@ var WindowVue2 = {
148
149
  currentLeft: this.getInitialLeft(),
149
150
  currentWidth: this.getInitialWidth(),
150
151
  currentHeight: this.getInitialHeight(),
151
- titleId: undefined
152
+ titleId: undefined,
153
+ showLicenseWatermark: false
152
154
  };
153
155
  },
154
156
  mounted: function mounted() {
@@ -518,6 +520,7 @@ var WindowVue2 = {
518
520
  actions = content[actionBarIndex];
519
521
  content.splice(actionBarIndex, 1);
520
522
  }
523
+ var watermark = this.showLicenseWatermark ? h(WatermarkOverlay) : null;
521
524
  var windowElement = h("div", {
522
525
  "class": this.wrapperClass,
523
526
  ref: 'wrapper'
@@ -649,7 +652,7 @@ var WindowVue2 = {
649
652
  on: this.v3 ? undefined : {
650
653
  "resize": this.handleResize
651
654
  }
652
- }) : null])]);
655
+ }) : null, watermark])]);
653
656
  return this.$props.appendTo ? h("div", [windowElement]) : windowElement;
654
657
  }
655
658
  };
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-dialogs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1693312498,
8
+ publishDate: 1694508619,
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
  };
@@ -50,8 +50,14 @@ var DialogVue2 = {
50
50
  kCurrentZIndex: constants_1.DEFAULT_DIALOGS_ZINDEX
51
51
  };
52
52
  },
53
+ data: function data() {
54
+ return {
55
+ showLicenseWatermark: false
56
+ };
57
+ },
53
58
  created: function created() {
54
59
  (0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
60
+ this.showLicenseWatermark = (0, kendo_vue_common_1.shouldShowValidationUI)(package_metadata_1.packageMetadata);
55
61
  this.titleId = this.generateTitleId();
56
62
  this.contentId = this.generateContentId();
57
63
  },
@@ -143,6 +149,7 @@ var DialogVue2 = {
143
149
  width = this.transformDimesion(width);
144
150
  height = this.transformDimesion(height);
145
151
  minWidth = this.transformDimesion(minWidth);
152
+ var watermark = this.showLicenseWatermark ? h(kendo_vue_common_1.WatermarkOverlay) : null;
146
153
  var actionBarIndex = this.getActionBarIndex(content);
147
154
  var actions;
148
155
  if (actionBarIndex !== -1) {
@@ -212,7 +219,7 @@ var DialogVue2 = {
212
219
  attrs: this.v3 ? undefined : {
213
220
  id: this.contentId
214
221
  }
215
- }, [content]), actions])]);
222
+ }, [content]), actions, watermark])]);
216
223
  return this.$props.appendTo ? h("div", [dialog]) : dialog;
217
224
  }
218
225
  };
@@ -128,6 +128,7 @@ var WindowVue2 = {
128
128
  },
129
129
  created: function created() {
130
130
  (0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
131
+ this.showLicenseWatermark = (0, kendo_vue_common_1.shouldShowValidationUI)(package_metadata_1.packageMetadata);
131
132
  this.windowCoordinatesState = {
132
133
  leftBeforeAction: this.getInitialLeft(),
133
134
  topBeforeAction: this.getInitialTop(),
@@ -154,7 +155,8 @@ var WindowVue2 = {
154
155
  currentLeft: this.getInitialLeft(),
155
156
  currentWidth: this.getInitialWidth(),
156
157
  currentHeight: this.getInitialHeight(),
157
- titleId: undefined
158
+ titleId: undefined,
159
+ showLicenseWatermark: false
158
160
  };
159
161
  },
160
162
  mounted: function mounted() {
@@ -524,6 +526,7 @@ var WindowVue2 = {
524
526
  actions = content[actionBarIndex];
525
527
  content.splice(actionBarIndex, 1);
526
528
  }
529
+ var watermark = this.showLicenseWatermark ? h(kendo_vue_common_1.WatermarkOverlay) : null;
527
530
  var windowElement = h("div", {
528
531
  "class": this.wrapperClass,
529
532
  ref: 'wrapper'
@@ -655,7 +658,7 @@ var WindowVue2 = {
655
658
  on: this.v3 ? undefined : {
656
659
  "resize": this.handleResize
657
660
  }
658
- }) : null])]);
661
+ }) : null, watermark])]);
659
662
  return this.$props.appendTo ? h("div", [windowElement]) : windowElement;
660
663
  }
661
664
  };
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-dialogs',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1693312498,
11
+ publishDate: 1694508619,
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-dialogs",
3
3
  "description": "Kendo UI for Vue Dialogs package",
4
- "version": "3.13.0",
4
+ "version": "3.14.0-dev.202309120904",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -45,13 +45,13 @@
45
45
  "vue": "^2.6.12 || ^3.0.2"
46
46
  },
47
47
  "dependencies": {
48
- "@progress/kendo-vue-buttons": "3.13.0",
49
- "@progress/kendo-vue-common": "3.13.0"
48
+ "@progress/kendo-vue-buttons": "3.14.0-dev.202309120904",
49
+ "@progress/kendo-vue-common": "3.14.0-dev.202309120904"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@progress/kendo-licensing": "^1.3.0",
53
53
  "@progress/kendo-svg-icons": "^1.0.0",
54
- "@progress/kendo-vue-intl": "3.13.0"
54
+ "@progress/kendo-vue-intl": "3.14.0-dev.202309120904"
55
55
  },
56
56
  "author": "Progress",
57
57
  "license": "SEE LICENSE IN LICENSE.md",