@progress/kendo-vue-inputs 3.4.3-dev.202207111225 → 3.4.3-dev.202207120901

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.
@@ -267,9 +267,11 @@ var ColorPickerVue2 = {
267
267
  onKeydown: this.onButtonKeyDown,
268
268
  on: this.v3 ? undefined : {
269
269
  "keydown": this.onButtonKeyDown,
270
- "focusin": this.onFocusHandler
270
+ "focusin": this.onFocusHandler,
271
+ "focusout": this.onButtonBlur
271
272
  },
272
- onFocusin: this.onFocusHandler
273
+ onFocusin: this.onFocusHandler,
274
+ onFocusout: this.onButtonBlur
273
275
  }, [h("span", {
274
276
  onClick: this.onActiveColorClickHandler,
275
277
  on: this.v3 ? undefined : {
@@ -406,6 +408,14 @@ var ColorPickerVue2 = {
406
408
  value: this.computedValue
407
409
  });
408
410
  },
411
+ isViewFocused: function isViewFocused() {
412
+ var _a, _b;
413
+
414
+ return !!((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest('.k-colorpalette')) || !!((_b = document.activeElement) === null || _b === void 0 ? void 0 : _b.closest('.k-colorgradient'));
415
+ },
416
+ onButtonBlur: function onButtonBlur() {
417
+ this.focused = this.isViewFocused();
418
+ },
409
419
  onFocusHandler: function onFocusHandler(event) {
410
420
  if (this.blurTimeoutRef) {
411
421
  clearTimeout(this.blurTimeoutRef);
@@ -423,9 +433,7 @@ var ColorPickerVue2 = {
423
433
  });
424
434
  },
425
435
  onBlurTimeout: function onBlurTimeout() {
426
- var _a, _b;
427
-
428
- var viewIsFocused = !!((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest('.k-palette')) || !!((_b = document.activeElement) === null || _b === void 0 ? void 0 : _b.closest('.k-colorgradient'));
436
+ var viewIsFocused = this.isViewFocused();
429
437
 
430
438
  if (!viewIsFocused) {
431
439
  this.setOpen(false, true);
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-inputs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1657541784,
8
+ publishDate: 1657615877,
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
  };
@@ -280,9 +280,11 @@ var ColorPickerVue2 = {
280
280
  onKeydown: this.onButtonKeyDown,
281
281
  on: this.v3 ? undefined : {
282
282
  "keydown": this.onButtonKeyDown,
283
- "focusin": this.onFocusHandler
283
+ "focusin": this.onFocusHandler,
284
+ "focusout": this.onButtonBlur
284
285
  },
285
- onFocusin: this.onFocusHandler
286
+ onFocusin: this.onFocusHandler,
287
+ onFocusout: this.onButtonBlur
286
288
  }, [h("span", {
287
289
  onClick: this.onActiveColorClickHandler,
288
290
  on: this.v3 ? undefined : {
@@ -419,6 +421,14 @@ var ColorPickerVue2 = {
419
421
  value: this.computedValue
420
422
  });
421
423
  },
424
+ isViewFocused: function isViewFocused() {
425
+ var _a, _b;
426
+
427
+ return !!((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest('.k-colorpalette')) || !!((_b = document.activeElement) === null || _b === void 0 ? void 0 : _b.closest('.k-colorgradient'));
428
+ },
429
+ onButtonBlur: function onButtonBlur() {
430
+ this.focused = this.isViewFocused();
431
+ },
422
432
  onFocusHandler: function onFocusHandler(event) {
423
433
  if (this.blurTimeoutRef) {
424
434
  clearTimeout(this.blurTimeoutRef);
@@ -436,9 +446,7 @@ var ColorPickerVue2 = {
436
446
  });
437
447
  },
438
448
  onBlurTimeout: function onBlurTimeout() {
439
- var _a, _b;
440
-
441
- var viewIsFocused = !!((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest('.k-palette')) || !!((_b = document.activeElement) === null || _b === void 0 ? void 0 : _b.closest('.k-colorgradient'));
449
+ var viewIsFocused = this.isViewFocused();
442
450
 
443
451
  if (!viewIsFocused) {
444
452
  this.setOpen(false, true);
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-inputs',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1657541784,
11
+ publishDate: 1657615877,
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-inputs",
3
3
  "description": "Kendo UI for Vue Input package",
4
- "version": "3.4.3-dev.202207111225",
4
+ "version": "3.4.3-dev.202207120901",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -38,22 +38,22 @@
38
38
  "vue": "^2.6.12 || ^3.0.2"
39
39
  },
40
40
  "dependencies": {
41
- "@progress/kendo-vue-buttons": "3.4.3-dev.202207111225",
42
- "@progress/kendo-vue-common": "3.4.3-dev.202207111225",
43
- "@progress/kendo-vue-labels": "3.4.3-dev.202207111225",
44
- "@progress/kendo-vue-popup": "3.4.3-dev.202207111225"
41
+ "@progress/kendo-vue-buttons": "3.4.3-dev.202207120901",
42
+ "@progress/kendo-vue-common": "3.4.3-dev.202207120901",
43
+ "@progress/kendo-vue-labels": "3.4.3-dev.202207120901",
44
+ "@progress/kendo-vue-popup": "3.4.3-dev.202207120901"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@progress/kendo-data-query": "^1.5.5",
48
48
  "@progress/kendo-date-math": "^1.5.4",
49
49
  "@progress/kendo-drawing": "^1.8.0",
50
50
  "@progress/kendo-licensing": "^1.1.0",
51
- "@progress/kendo-vue-buttons": "3.4.3-dev.202207111225",
52
- "@progress/kendo-vue-dropdowns": "3.4.3-dev.202207111225",
53
- "@progress/kendo-vue-form": "3.4.3-dev.202207111225",
54
- "@progress/kendo-vue-intl": "3.4.3-dev.202207111225",
55
- "@progress/kendo-vue-labels": "3.4.3-dev.202207111225",
56
- "@progress/kendo-vue-tooltip": "3.4.3-dev.202207111225",
51
+ "@progress/kendo-vue-buttons": "3.4.3-dev.202207120901",
52
+ "@progress/kendo-vue-dropdowns": "3.4.3-dev.202207120901",
53
+ "@progress/kendo-vue-form": "3.4.3-dev.202207120901",
54
+ "@progress/kendo-vue-intl": "3.4.3-dev.202207120901",
55
+ "@progress/kendo-vue-labels": "3.4.3-dev.202207120901",
56
+ "@progress/kendo-vue-tooltip": "3.4.3-dev.202207120901",
57
57
  "cldr-core": "^41.0.0",
58
58
  "cldr-dates-full": "^41.0.0",
59
59
  "cldr-numbers-full": "^41.0.0"