@progress/kendo-vue-layout 3.7.3 → 3.7.4-dev.202211100847

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.
@@ -15,7 +15,7 @@ import * as Vue from 'vue';
15
15
  var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
- import { templateRendering, getListeners, setRef, getRef } from '@progress/kendo-vue-common';
18
+ import { templateRendering, getListeners, setRef, getRef, canUseDOM } from '@progress/kendo-vue-common';
19
19
  import { Keys, guid, validatePackage } from '@progress/kendo-vue-common';
20
20
  import { getDirectParentId, isIdEmptyOrZeroLevel, EMPTY_ID, ZERO_LEVEL_ZERO_ITEM_ID, getRootParentId, getItemById } from '../utils/itemsIdsUtils';
21
21
  import { prepareInputItemsForInternalWork } from '../utils/prepareInputItemsForInternalWork';
@@ -187,7 +187,7 @@ var MenuVue2 = {
187
187
  if ((event.keyCode === Keys.enter || event.keyCode === Keys.space) && !currentItem.disabled) {
188
188
  this.mouseOverHandler.handleItemSelectedViaKeyboard();
189
189
  this.dispatchSelectEventIfWired(event, currentItem.id);
190
- if (!event.defaultPrevented && currentItem.items.length === 0 && currentItem.url) {
190
+ if (!event.defaultPrevented && currentItem.items.length === 0 && currentItem.url && canUseDOM) {
191
191
  window.location.assign(currentItem.url);
192
192
  }
193
193
  }
@@ -230,7 +230,7 @@ var MenuVue2 = {
230
230
  this.setFocusedItemId(itemId);
231
231
  this.mouseOverHandler.handleItemClick(itemId, this.isItemWithDefaultClose(itemId));
232
232
  this.dispatchSelectEventIfWired(event, itemId);
233
- if (!event.defaultPrevented && item.url) {
233
+ if (!event.defaultPrevented && item.url && canUseDOM) {
234
234
  window.location.assign(item.url);
235
235
  }
236
236
  }
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-layout',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1667401017,
8
+ publishDate: 1668069369,
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
  };
@@ -225,23 +225,14 @@ var PanelBarVue2 = {
225
225
  default:
226
226
  }
227
227
  },
228
- nextTick: function nextTick(f) {
229
- this.nextTickId = window.setTimeout(function () {
230
- return f();
231
- });
232
- },
233
228
  handleWrapperFocus: function handleWrapperFocus() {
234
- clearTimeout(this.nextTickId);
235
229
  if (!this.wrapperFocused) {
236
230
  this.wrapperFocused = true;
237
231
  }
238
232
  },
239
233
  handleWrapperBlur: function handleWrapperBlur() {
240
- // this.nextTick(() => {
241
234
  this.wrapperFocused = false;
242
- // });
243
235
  },
244
-
245
236
  handleKeyDown: function handleKeyDown(event) {
246
237
  var rtl = this._element && getComputedStyle(this._element).direction === 'rtl' || false;
247
238
  if (event.target === event.currentTarget) {
@@ -15,7 +15,7 @@ import * as Vue from 'vue';
15
15
  var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
- import { classNames, Draggable, getDefaultSlots } from '@progress/kendo-vue-common';
18
+ import { canUseDOM, classNames, Draggable, getDefaultSlots } from '@progress/kendo-vue-common';
19
19
  import { ResizeHandlers } from './ResizeHandlers';
20
20
  /**
21
21
  * @hidden
@@ -143,9 +143,11 @@ var TileVue2 = {
143
143
  var defaultSlots = getDefaultSlots(this);
144
144
  if (clearTimeout && typeof clearTimeout === 'function') {
145
145
  clearTimeout(this.preventDataOps);
146
- this.preventDataOps = window.setTimeout(function () {
147
- _this.preventDataOps = undefined;
148
- }, 200);
146
+ if (canUseDOM) {
147
+ this.preventDataOps = window.setTimeout(function () {
148
+ _this.preventDataOps = undefined;
149
+ }, 200);
150
+ }
149
151
  }
150
152
  var position = this.$props.defaultPosition;
151
153
  var resizable = this.$props.resizable;
@@ -15,7 +15,7 @@ import * as Vue from 'vue';
15
15
  var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
- import { templateRendering, getListeners, setRef, getRef } from '@progress/kendo-vue-common';
18
+ import { templateRendering, getListeners, setRef, getRef, canUseDOM } from '@progress/kendo-vue-common';
19
19
  import { Keys, guid, validatePackage } from '@progress/kendo-vue-common';
20
20
  import { getDirectParentId, isIdEmptyOrZeroLevel, EMPTY_ID, ZERO_LEVEL_ZERO_ITEM_ID, getRootParentId, getItemById } from '../utils/itemsIdsUtils.js';
21
21
  import { prepareInputItemsForInternalWork } from '../utils/prepareInputItemsForInternalWork.js';
@@ -187,7 +187,7 @@ var MenuVue2 = {
187
187
  if ((event.keyCode === Keys.enter || event.keyCode === Keys.space) && !currentItem.disabled) {
188
188
  this.mouseOverHandler.handleItemSelectedViaKeyboard();
189
189
  this.dispatchSelectEventIfWired(event, currentItem.id);
190
- if (!event.defaultPrevented && currentItem.items.length === 0 && currentItem.url) {
190
+ if (!event.defaultPrevented && currentItem.items.length === 0 && currentItem.url && canUseDOM) {
191
191
  window.location.assign(currentItem.url);
192
192
  }
193
193
  }
@@ -230,7 +230,7 @@ var MenuVue2 = {
230
230
  this.setFocusedItemId(itemId);
231
231
  this.mouseOverHandler.handleItemClick(itemId, this.isItemWithDefaultClose(itemId));
232
232
  this.dispatchSelectEventIfWired(event, itemId);
233
- if (!event.defaultPrevented && item.url) {
233
+ if (!event.defaultPrevented && item.url && canUseDOM) {
234
234
  window.location.assign(item.url);
235
235
  }
236
236
  }
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-layout',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1667401017,
8
+ publishDate: 1668069369,
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
  };
@@ -225,23 +225,14 @@ var PanelBarVue2 = {
225
225
  default:
226
226
  }
227
227
  },
228
- nextTick: function nextTick(f) {
229
- this.nextTickId = window.setTimeout(function () {
230
- return f();
231
- });
232
- },
233
228
  handleWrapperFocus: function handleWrapperFocus() {
234
- clearTimeout(this.nextTickId);
235
229
  if (!this.wrapperFocused) {
236
230
  this.wrapperFocused = true;
237
231
  }
238
232
  },
239
233
  handleWrapperBlur: function handleWrapperBlur() {
240
- // this.nextTick(() => {
241
234
  this.wrapperFocused = false;
242
- // });
243
235
  },
244
-
245
236
  handleKeyDown: function handleKeyDown(event) {
246
237
  var rtl = this._element && getComputedStyle(this._element).direction === 'rtl' || false;
247
238
  if (event.target === event.currentTarget) {
@@ -15,7 +15,7 @@ import * as Vue from 'vue';
15
15
  var allVue = Vue;
16
16
  var gh = allVue.h;
17
17
  var isV3 = allVue.version && allVue.version[0] === '3';
18
- import { classNames, Draggable, getDefaultSlots } from '@progress/kendo-vue-common';
18
+ import { canUseDOM, classNames, Draggable, getDefaultSlots } from '@progress/kendo-vue-common';
19
19
  import { ResizeHandlers } from './ResizeHandlers.js';
20
20
  /**
21
21
  * @hidden
@@ -143,9 +143,11 @@ var TileVue2 = {
143
143
  var defaultSlots = getDefaultSlots(this);
144
144
  if (clearTimeout && typeof clearTimeout === 'function') {
145
145
  clearTimeout(this.preventDataOps);
146
- this.preventDataOps = window.setTimeout(function () {
147
- _this.preventDataOps = undefined;
148
- }, 200);
146
+ if (canUseDOM) {
147
+ this.preventDataOps = window.setTimeout(function () {
148
+ _this.preventDataOps = undefined;
149
+ }, 200);
150
+ }
149
151
  }
150
152
  var position = this.$props.defaultPosition;
151
153
  var resizable = this.$props.resizable;
@@ -193,7 +193,7 @@ var MenuVue2 = {
193
193
  if ((event.keyCode === kendo_vue_common_2.Keys.enter || event.keyCode === kendo_vue_common_2.Keys.space) && !currentItem.disabled) {
194
194
  this.mouseOverHandler.handleItemSelectedViaKeyboard();
195
195
  this.dispatchSelectEventIfWired(event, currentItem.id);
196
- if (!event.defaultPrevented && currentItem.items.length === 0 && currentItem.url) {
196
+ if (!event.defaultPrevented && currentItem.items.length === 0 && currentItem.url && kendo_vue_common_1.canUseDOM) {
197
197
  window.location.assign(currentItem.url);
198
198
  }
199
199
  }
@@ -236,7 +236,7 @@ var MenuVue2 = {
236
236
  this.setFocusedItemId(itemId);
237
237
  this.mouseOverHandler.handleItemClick(itemId, this.isItemWithDefaultClose(itemId));
238
238
  this.dispatchSelectEventIfWired(event, itemId);
239
- if (!event.defaultPrevented && item.url) {
239
+ if (!event.defaultPrevented && item.url && kendo_vue_common_1.canUseDOM) {
240
240
  window.location.assign(item.url);
241
241
  }
242
242
  }
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-layout',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1667401017,
11
+ publishDate: 1668069369,
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
  };
@@ -231,23 +231,14 @@ var PanelBarVue2 = {
231
231
  default:
232
232
  }
233
233
  },
234
- nextTick: function nextTick(f) {
235
- this.nextTickId = window.setTimeout(function () {
236
- return f();
237
- });
238
- },
239
234
  handleWrapperFocus: function handleWrapperFocus() {
240
- clearTimeout(this.nextTickId);
241
235
  if (!this.wrapperFocused) {
242
236
  this.wrapperFocused = true;
243
237
  }
244
238
  },
245
239
  handleWrapperBlur: function handleWrapperBlur() {
246
- // this.nextTick(() => {
247
240
  this.wrapperFocused = false;
248
- // });
249
241
  },
250
-
251
242
  handleKeyDown: function handleKeyDown(event) {
252
243
  var rtl = this._element && getComputedStyle(this._element).direction === 'rtl' || false;
253
244
  if (event.target === event.currentTarget) {
@@ -149,9 +149,11 @@ var TileVue2 = {
149
149
  var defaultSlots = (0, kendo_vue_common_1.getDefaultSlots)(this);
150
150
  if (clearTimeout && typeof clearTimeout === 'function') {
151
151
  clearTimeout(this.preventDataOps);
152
- this.preventDataOps = window.setTimeout(function () {
153
- _this.preventDataOps = undefined;
154
- }, 200);
152
+ if (kendo_vue_common_1.canUseDOM) {
153
+ this.preventDataOps = window.setTimeout(function () {
154
+ _this.preventDataOps = undefined;
155
+ }, 200);
156
+ }
155
157
  }
156
158
  var position = this.$props.defaultPosition;
157
159
  var resizable = this.$props.resizable;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-layout",
3
3
  "description": "Kendo UI for Vue Layouts package",
4
- "version": "3.7.3",
4
+ "version": "3.7.4-dev.202211100847",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -43,22 +43,22 @@
43
43
  "vue": "^2.6.12 || ^3.0.2"
44
44
  },
45
45
  "dependencies": {
46
- "@progress/kendo-vue-animation": "3.7.3",
47
- "@progress/kendo-vue-common": "3.7.3",
48
- "@progress/kendo-vue-popup": "3.7.3"
46
+ "@progress/kendo-vue-animation": "3.7.4-dev.202211100847",
47
+ "@progress/kendo-vue-common": "3.7.4-dev.202211100847",
48
+ "@progress/kendo-vue-popup": "3.7.4-dev.202211100847"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@progress/kendo-data-query": "^1.5.0",
52
52
  "@progress/kendo-date-math": "^1.5.1",
53
53
  "@progress/kendo-drawing": "^1.8.0",
54
54
  "@progress/kendo-licensing": "^1.0.1",
55
- "@progress/kendo-vue-buttons": "3.7.3",
56
- "@progress/kendo-vue-dateinputs": "3.7.3",
57
- "@progress/kendo-vue-dropdowns": "3.7.3",
58
- "@progress/kendo-vue-indicators": "3.7.3",
59
- "@progress/kendo-vue-inputs": "3.7.3",
60
- "@progress/kendo-vue-intl": "3.7.3",
61
- "@progress/kendo-vue-progressbars": "3.7.3"
55
+ "@progress/kendo-vue-buttons": "3.7.4-dev.202211100847",
56
+ "@progress/kendo-vue-dateinputs": "3.7.4-dev.202211100847",
57
+ "@progress/kendo-vue-dropdowns": "3.7.4-dev.202211100847",
58
+ "@progress/kendo-vue-indicators": "3.7.4-dev.202211100847",
59
+ "@progress/kendo-vue-inputs": "3.7.4-dev.202211100847",
60
+ "@progress/kendo-vue-intl": "3.7.4-dev.202211100847",
61
+ "@progress/kendo-vue-progressbars": "3.7.4-dev.202211100847"
62
62
  },
63
63
  "@progress": {
64
64
  "friendlyName": "Layouts",