@progress/kendo-vue-dateinputs 3.0.0 → 3.0.2

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.
@@ -350,9 +350,9 @@ var Calendar = {
350
350
  valueAsDate: value
351
351
  }
352
352
  };
353
- this.$emit('change', args);
354
353
  this.$emit('changemodel', value);
355
354
  this.$emit('update:modelValue', value);
355
+ this.$emit('change', args);
356
356
  this.$data.valueDuringOnChange = undefined;
357
357
  },
358
358
  handleMouseDown: function handleMouseDown(event) {
@@ -363,7 +363,9 @@ var DateInput = {
363
363
  this.$data.valueDuringOnChange = this.computedValue;
364
364
 
365
365
  if (!isEqual(oldValue, this.computedValue)) {
366
- // isEqual works with null
366
+ this.$emit('changemodel', this.computedValue);
367
+ this.$emit('update:modelValue', this.computedValue); // isEqual works with null
368
+
367
369
  this.$emit('change', {
368
370
  event: event,
369
371
  value: this.computedValue,
@@ -375,8 +377,6 @@ var DateInput = {
375
377
  },
376
378
  validity: this.validity()
377
379
  });
378
- this.$emit('changemodel', this.computedValue);
379
- this.$emit('update:modelValue', this.computedValue);
380
380
  }
381
381
 
382
382
  this.$data.valueDuringOnChange = undefined;
@@ -323,6 +323,8 @@ var DatePicker = {
323
323
  this.$data.valueDuringOnChange = value;
324
324
  this.$data.showDuringOnChange = false;
325
325
  this.$data.shouldFocusDateInput = true;
326
+ this.$emit('changemodel', this.computedValue);
327
+ this.$emit('update:modelValue', this.computedValue);
326
328
  this.$emit('change', {
327
329
  event: event.event,
328
330
  value: this.computedValue,
@@ -335,8 +337,6 @@ var DatePicker = {
335
337
  },
336
338
  validity: this.validity()
337
339
  });
338
- this.$emit('changemodel', this.computedValue);
339
- this.$emit('update:modelValue', this.computedValue);
340
340
  this.$data.valueDuringOnChange = undefined;
341
341
  this.$data.showDuringOnChange = undefined;
342
342
  },
@@ -625,9 +625,9 @@ var DateRangePicker = {
625
625
  show: this.computedShow
626
626
  }
627
627
  };
628
- this.$emit('change', args);
629
628
  this.$emit('changemodel', this.computedValue);
630
629
  this.$emit('update:modelValue', this.computedValue);
630
+ this.$emit('change', args);
631
631
  this.valueDuringOnChange = undefined;
632
632
  }
633
633
  }
@@ -566,6 +566,8 @@ var DateTimePicker = {
566
566
  this.valueDuringOnChange = event.value;
567
567
  this.showDuringOnChange = false;
568
568
  this.shouldFocusDateInput = true;
569
+ this.$emit('changemodel', this.computedValue);
570
+ this.$emit('update:modelValue', this.computedValue);
569
571
  this.$emit('change', {
570
572
  event: event.event,
571
573
  value: this.computedValue,
@@ -577,8 +579,6 @@ var DateTimePicker = {
577
579
  valueAsDate: this.computedValue
578
580
  }
579
581
  });
580
- this.$emit('changemodel', this.computedValue);
581
- this.$emit('update:modelValue', this.computedValue);
582
582
  this.valueDuringOnChange = undefined;
583
583
  this.showDuringOnChange = undefined;
584
584
  },
@@ -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: 1642569971,
8
+ publishDate: 1643195007,
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
  };
@@ -573,6 +573,8 @@ var TimePicker = {
573
573
  this.valueDuringOnChange = event.value;
574
574
  this.showDuringOnChange = false;
575
575
  this.shouldFocusDateInput = true;
576
+ this.$emit('changemodel', this.computedValue);
577
+ this.$emit('update:modelValue', this.computedValue);
576
578
  this.$emit('change', {
577
579
  event: event.event,
578
580
  value: this.computedValue,
@@ -584,8 +586,6 @@ var TimePicker = {
584
586
  valueAsDate: this.computedValue
585
587
  }
586
588
  });
587
- this.$emit('changemodel', this.computedValue);
588
- this.$emit('update:modelValue', this.computedValue);
589
589
  this.valueDuringOnChange = undefined;
590
590
  this.showDuringOnChange = undefined;
591
591
  },
@@ -369,9 +369,9 @@ var Calendar = {
369
369
  valueAsDate: value
370
370
  }
371
371
  };
372
- this.$emit('change', args);
373
372
  this.$emit('changemodel', value);
374
373
  this.$emit('update:modelValue', value);
374
+ this.$emit('change', args);
375
375
  this.$data.valueDuringOnChange = undefined;
376
376
  },
377
377
  handleMouseDown: function handleMouseDown(event) {
@@ -383,7 +383,9 @@ var DateInput = {
383
383
  this.$data.valueDuringOnChange = this.computedValue;
384
384
 
385
385
  if (!kendo_date_math_1.isEqual(oldValue, this.computedValue)) {
386
- // isEqual works with null
386
+ this.$emit('changemodel', this.computedValue);
387
+ this.$emit('update:modelValue', this.computedValue); // isEqual works with null
388
+
387
389
  this.$emit('change', {
388
390
  event: event,
389
391
  value: this.computedValue,
@@ -395,8 +397,6 @@ var DateInput = {
395
397
  },
396
398
  validity: this.validity()
397
399
  });
398
- this.$emit('changemodel', this.computedValue);
399
- this.$emit('update:modelValue', this.computedValue);
400
400
  }
401
401
 
402
402
  this.$data.valueDuringOnChange = undefined;
@@ -343,6 +343,8 @@ var DatePicker = {
343
343
  this.$data.valueDuringOnChange = value;
344
344
  this.$data.showDuringOnChange = false;
345
345
  this.$data.shouldFocusDateInput = true;
346
+ this.$emit('changemodel', this.computedValue);
347
+ this.$emit('update:modelValue', this.computedValue);
346
348
  this.$emit('change', {
347
349
  event: event.event,
348
350
  value: this.computedValue,
@@ -355,8 +357,6 @@ var DatePicker = {
355
357
  },
356
358
  validity: this.validity()
357
359
  });
358
- this.$emit('changemodel', this.computedValue);
359
- this.$emit('update:modelValue', this.computedValue);
360
360
  this.$data.valueDuringOnChange = undefined;
361
361
  this.$data.showDuringOnChange = undefined;
362
362
  },
@@ -644,9 +644,9 @@ var DateRangePicker = {
644
644
  show: this.computedShow
645
645
  }
646
646
  };
647
- this.$emit('change', args);
648
647
  this.$emit('changemodel', this.computedValue);
649
648
  this.$emit('update:modelValue', this.computedValue);
649
+ this.$emit('change', args);
650
650
  this.valueDuringOnChange = undefined;
651
651
  }
652
652
  }
@@ -588,6 +588,8 @@ var DateTimePicker = {
588
588
  this.valueDuringOnChange = event.value;
589
589
  this.showDuringOnChange = false;
590
590
  this.shouldFocusDateInput = true;
591
+ this.$emit('changemodel', this.computedValue);
592
+ this.$emit('update:modelValue', this.computedValue);
591
593
  this.$emit('change', {
592
594
  event: event.event,
593
595
  value: this.computedValue,
@@ -599,8 +601,6 @@ var DateTimePicker = {
599
601
  valueAsDate: this.computedValue
600
602
  }
601
603
  });
602
- this.$emit('changemodel', this.computedValue);
603
- this.$emit('update:modelValue', this.computedValue);
604
604
  this.valueDuringOnChange = undefined;
605
605
  this.showDuringOnChange = undefined;
606
606
  },
@@ -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: 1642569971,
11
+ publishDate: 1643195007,
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
  };
@@ -593,6 +593,8 @@ var TimePicker = {
593
593
  this.valueDuringOnChange = event.value;
594
594
  this.showDuringOnChange = false;
595
595
  this.shouldFocusDateInput = true;
596
+ this.$emit('changemodel', this.computedValue);
597
+ this.$emit('update:modelValue', this.computedValue);
596
598
  this.$emit('change', {
597
599
  event: event.event,
598
600
  value: this.computedValue,
@@ -604,8 +606,6 @@ var TimePicker = {
604
606
  valueAsDate: this.computedValue
605
607
  }
606
608
  });
607
- this.$emit('changemodel', this.computedValue);
608
- this.$emit('update:modelValue', this.computedValue);
609
609
  this.valueDuringOnChange = undefined;
610
610
  this.showDuringOnChange = undefined;
611
611
  },
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.0",
4
+ "version": "3.0.2",
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.0",
50
- "@progress/kendo-vue-common": "3.0.0",
51
- "@progress/kendo-vue-labels": "3.0.0",
52
- "@progress/kendo-vue-popup": "3.0.0"
49
+ "@progress/kendo-vue-buttons": "3.0.2",
50
+ "@progress/kendo-vue-common": "3.0.2",
51
+ "@progress/kendo-vue-labels": "3.0.2",
52
+ "@progress/kendo-vue-popup": "3.0.2"
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.0",
58
- "@progress/kendo-vue-intl": "3.0.0"
57
+ "@progress/kendo-vue-dropdowns": "3.0.2",
58
+ "@progress/kendo-vue-intl": "3.0.2"
59
59
  },
60
60
  "author": "Progress",
61
61
  "license": "SEE LICENSE IN LICENSE.md",