@progress/kendo-vue-dateinputs 3.0.4 → 3.0.5-dev.202202071439

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.
@@ -34,7 +34,8 @@ var DatePicker = {
34
34
  'update:modelValue': null,
35
35
  'iconclick': null,
36
36
  'focus': null,
37
- 'blur': null
37
+ 'blur': null,
38
+ 'keydown': null
38
39
  },
39
40
  props: {
40
41
  defaultShow: {
@@ -360,7 +361,7 @@ var DatePicker = {
360
361
  var altKey = event.altKey,
361
362
  keyCode = event.keyCode;
362
363
 
363
- if (keyCode === Keys.tab && event.target !== this._dateInput._element) {
364
+ if (keyCode === Keys.tab && this._dateInput && event.target !== this._dateInput._element) {
364
365
  event.preventDefault();
365
366
  this.$data.shouldFocusDateInput = true;
366
367
  this.setShow(false);
@@ -379,6 +380,8 @@ var DatePicker = {
379
380
  this.$data.shouldFocusDateInput = keyCode === Keys.up;
380
381
  this.setShow(keyCode === Keys.down);
381
382
  }
383
+
384
+ this.$emit('keydown', event);
382
385
  }
383
386
  },
384
387
  // @ts-ignore
@@ -28,7 +28,8 @@ var DateTimePicker = {
28
28
  'iconclick': null,
29
29
  'change': null,
30
30
  'focus': null,
31
- 'blur': null
31
+ 'blur': null,
32
+ 'keydown': null
32
33
  },
33
34
  props: {
34
35
  modelValue: {
@@ -627,7 +628,7 @@ var DateTimePicker = {
627
628
  var altKey = event.altKey,
628
629
  keyCode = event.keyCode;
629
630
 
630
- if (keyCode === Keys.tab && event.target !== this._dateInput._element) {
631
+ if (keyCode === Keys.tab && this._dateInput && event.target !== this._dateInput._element) {
631
632
  event.preventDefault();
632
633
  this.$data.shouldFocusDateInput = true;
633
634
  this.setShow(false);
@@ -646,6 +647,8 @@ var DateTimePicker = {
646
647
  this.shouldFocusDateInput = keyCode === Keys.up;
647
648
  this.setShow(keyCode === Keys.down);
648
649
  }
650
+
651
+ this.$emit('keydown', event);
649
652
  },
650
653
  dateInputElement: function dateInputElement() {
651
654
  return this._dateInput && this._dateInput.$el || this._wrapper && this._wrapper.querySelector('.k-dateinput-wrap > input.k-input');
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-dateinputs',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1643723661,
8
+ publishDate: 1644244488,
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
  };
@@ -41,7 +41,8 @@ var TimePicker = {
41
41
  'iconclick': null,
42
42
  'change': null,
43
43
  'focus': null,
44
- 'blur': null
44
+ 'blur': null,
45
+ 'keydown': null
45
46
  },
46
47
  model: {
47
48
  event: 'changemodel'
@@ -657,6 +658,8 @@ var TimePicker = {
657
658
  this.shouldFocusDateInput = keyCode === Keys.up;
658
659
  this.setShow(keyCode === Keys.down);
659
660
  }
661
+
662
+ this.$emit('keydown', event);
660
663
  }
661
664
  }
662
665
  };
@@ -54,7 +54,8 @@ var DatePicker = {
54
54
  'update:modelValue': null,
55
55
  'iconclick': null,
56
56
  'focus': null,
57
- 'blur': null
57
+ 'blur': null,
58
+ 'keydown': null
58
59
  },
59
60
  props: {
60
61
  defaultShow: {
@@ -380,7 +381,7 @@ var DatePicker = {
380
381
  var altKey = event.altKey,
381
382
  keyCode = event.keyCode;
382
383
 
383
- if (keyCode === kendo_vue_common_1.Keys.tab && event.target !== this._dateInput._element) {
384
+ if (keyCode === kendo_vue_common_1.Keys.tab && this._dateInput && event.target !== this._dateInput._element) {
384
385
  event.preventDefault();
385
386
  this.$data.shouldFocusDateInput = true;
386
387
  this.setShow(false);
@@ -399,6 +400,8 @@ var DatePicker = {
399
400
  this.$data.shouldFocusDateInput = keyCode === kendo_vue_common_1.Keys.up;
400
401
  this.setShow(keyCode === kendo_vue_common_1.Keys.down);
401
402
  }
403
+
404
+ this.$emit('keydown', event);
402
405
  }
403
406
  },
404
407
  // @ts-ignore
@@ -50,7 +50,8 @@ var DateTimePicker = {
50
50
  'iconclick': null,
51
51
  'change': null,
52
52
  'focus': null,
53
- 'blur': null
53
+ 'blur': null,
54
+ 'keydown': null
54
55
  },
55
56
  props: {
56
57
  modelValue: {
@@ -649,7 +650,7 @@ var DateTimePicker = {
649
650
  var altKey = event.altKey,
650
651
  keyCode = event.keyCode;
651
652
 
652
- if (keyCode === kendo_vue_common_1.Keys.tab && event.target !== this._dateInput._element) {
653
+ if (keyCode === kendo_vue_common_1.Keys.tab && this._dateInput && event.target !== this._dateInput._element) {
653
654
  event.preventDefault();
654
655
  this.$data.shouldFocusDateInput = true;
655
656
  this.setShow(false);
@@ -668,6 +669,8 @@ var DateTimePicker = {
668
669
  this.shouldFocusDateInput = keyCode === kendo_vue_common_1.Keys.up;
669
670
  this.setShow(keyCode === kendo_vue_common_1.Keys.down);
670
671
  }
672
+
673
+ this.$emit('keydown', event);
671
674
  },
672
675
  dateInputElement: function dateInputElement() {
673
676
  return this._dateInput && this._dateInput.$el || this._wrapper && this._wrapper.querySelector('.k-dateinput-wrap > input.k-input');
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-dateinputs',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1643723661,
11
+ publishDate: 1644244488,
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
  };
@@ -61,7 +61,8 @@ var TimePicker = {
61
61
  'iconclick': null,
62
62
  'change': null,
63
63
  'focus': null,
64
- 'blur': null
64
+ 'blur': null,
65
+ 'keydown': null
65
66
  },
66
67
  model: {
67
68
  event: 'changemodel'
@@ -677,6 +678,8 @@ var TimePicker = {
677
678
  this.shouldFocusDateInput = keyCode === kendo_vue_common_1.Keys.up;
678
679
  this.setShow(keyCode === kendo_vue_common_1.Keys.down);
679
680
  }
681
+
682
+ this.$emit('keydown', event);
680
683
  }
681
684
  }
682
685
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-dateinputs",
3
3
  "description": "Kendo UI for Vue Date Inputs package",
4
- "version": "3.0.4",
4
+ "version": "3.0.5-dev.202202071439",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -46,16 +46,16 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@progress/kendo-date-math": "1.5.1",
49
- "@progress/kendo-vue-buttons": "3.0.4",
50
- "@progress/kendo-vue-common": "3.0.4",
51
- "@progress/kendo-vue-labels": "3.0.4",
52
- "@progress/kendo-vue-popup": "3.0.4"
49
+ "@progress/kendo-vue-buttons": "3.0.5-dev.202202071439",
50
+ "@progress/kendo-vue-common": "3.0.5-dev.202202071439",
51
+ "@progress/kendo-vue-labels": "3.0.5-dev.202202071439",
52
+ "@progress/kendo-vue-popup": "3.0.5-dev.202202071439"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@progress/kendo-data-query": "^1.5.4",
56
56
  "@progress/kendo-licensing": "^1.1.0",
57
- "@progress/kendo-vue-dropdowns": "3.0.4",
58
- "@progress/kendo-vue-intl": "3.0.4"
57
+ "@progress/kendo-vue-dropdowns": "3.0.5-dev.202202071439",
58
+ "@progress/kendo-vue-intl": "3.0.5-dev.202202071439"
59
59
  },
60
60
  "author": "Progress",
61
61
  "license": "SEE LICENSE IN LICENSE.md",