@syncfusion/ej2-vue-calendars 19.4.56 → 20.1.55
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/CHANGELOG.md +1 -17
- package/dist/ej2-vue-calendars.umd.min.js +11 -2
- package/dist/es6/ej2-vue-calendars.es2015.js +119 -12
- package/dist/es6/ej2-vue-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-calendars.es5.js +78 -7
- package/dist/es6/ej2-vue-calendars.es5.js.map +1 -1
- package/dist/global/ej2-vue-calendars.min.js +2 -2
- package/package.json +8 -8
- package/src/calendar/calendar.component.d.ts +1 -0
- package/src/calendar/calendar.component.js +11 -1
- package/src/datepicker/datepicker.component.d.ts +1 -0
- package/src/datepicker/datepicker.component.js +11 -1
- package/src/daterangepicker/daterangepicker.component.d.ts +1 -0
- package/src/daterangepicker/daterangepicker.component.js +11 -1
- package/src/daterangepicker/presets.directive.d.ts +3 -1
- package/src/daterangepicker/presets.directive.js +24 -2
- package/src/datetimepicker/datetimepicker.component.d.ts +1 -0
- package/src/datetimepicker/datetimepicker.component.js +11 -1
- package/src/timepicker/timepicker.component.d.ts +1 -0
- package/src/timepicker/timepicker.component.js +11 -1
- package/styles/bootstrap-dark.css +82 -31
- package/styles/bootstrap.css +82 -31
- package/styles/bootstrap4.css +82 -31
- package/styles/bootstrap5-dark.css +140 -45
- package/styles/bootstrap5.css +134 -39
- package/styles/calendar/bootstrap-dark.css +9 -5
- package/styles/calendar/bootstrap.css +9 -5
- package/styles/calendar/bootstrap4.css +9 -5
- package/styles/calendar/bootstrap5-dark.css +62 -14
- package/styles/calendar/bootstrap5.css +58 -10
- package/styles/calendar/fabric-dark.css +4 -0
- package/styles/calendar/fabric.css +4 -0
- package/styles/calendar/fluent-dark.css +1189 -0
- package/styles/calendar/fluent-dark.scss +1 -0
- package/styles/calendar/fluent.css +1189 -0
- package/styles/calendar/fluent.scss +1 -0
- package/styles/calendar/highcontrast-light.css +4 -0
- package/styles/calendar/highcontrast.css +4 -0
- package/styles/calendar/material-dark.css +4 -0
- package/styles/calendar/material.css +4 -0
- package/styles/calendar/tailwind-dark.css +158 -34
- package/styles/calendar/tailwind.css +158 -34
- package/styles/datepicker/bootstrap-dark.css +12 -2
- package/styles/datepicker/bootstrap.css +12 -2
- package/styles/datepicker/bootstrap4.css +12 -2
- package/styles/datepicker/bootstrap5-dark.css +12 -2
- package/styles/datepicker/bootstrap5.css +12 -2
- package/styles/datepicker/fabric-dark.css +12 -2
- package/styles/datepicker/fabric.css +12 -2
- package/styles/datepicker/fluent-dark.css +189 -0
- package/styles/datepicker/fluent-dark.scss +1 -0
- package/styles/datepicker/fluent.css +189 -0
- package/styles/datepicker/fluent.scss +1 -0
- package/styles/datepicker/highcontrast-light.css +12 -2
- package/styles/datepicker/highcontrast.css +12 -2
- package/styles/datepicker/material-dark.css +12 -2
- package/styles/datepicker/material.css +12 -2
- package/styles/datepicker/tailwind-dark.css +15 -5
- package/styles/datepicker/tailwind.css +15 -5
- package/styles/daterangepicker/bootstrap-dark.css +60 -24
- package/styles/daterangepicker/bootstrap.css +60 -24
- package/styles/daterangepicker/bootstrap4.css +60 -24
- package/styles/daterangepicker/bootstrap5-dark.css +65 -29
- package/styles/daterangepicker/bootstrap5.css +63 -27
- package/styles/daterangepicker/fabric-dark.css +60 -24
- package/styles/daterangepicker/fabric.css +60 -24
- package/styles/daterangepicker/fluent-dark.css +1055 -0
- package/styles/daterangepicker/fluent-dark.scss +1 -0
- package/styles/daterangepicker/fluent.css +1055 -0
- package/styles/daterangepicker/fluent.scss +1 -0
- package/styles/daterangepicker/highcontrast-light.css +60 -24
- package/styles/daterangepicker/highcontrast.css +60 -24
- package/styles/daterangepicker/material-dark.css +60 -24
- package/styles/daterangepicker/material.css +60 -24
- package/styles/daterangepicker/tailwind-dark.css +137 -93
- package/styles/daterangepicker/tailwind.css +137 -93
- package/styles/datetimepicker/fluent-dark.css +205 -0
- package/styles/datetimepicker/fluent-dark.scss +1 -0
- package/styles/datetimepicker/fluent.css +205 -0
- package/styles/datetimepicker/fluent.scss +1 -0
- package/styles/datetimepicker/tailwind-dark.css +1 -1
- package/styles/datetimepicker/tailwind.css +1 -1
- package/styles/fabric-dark.css +77 -26
- package/styles/fabric.css +77 -26
- package/styles/fluent-dark.css +2864 -0
- package/styles/fluent-dark.scss +5 -0
- package/styles/fluent.css +2864 -0
- package/styles/fluent.scss +5 -0
- package/styles/highcontrast-light.css +77 -26
- package/styles/highcontrast.css +77 -26
- package/styles/material-dark.css +77 -26
- package/styles/material.css +77 -26
- package/styles/tailwind-dark.css +316 -137
- package/styles/tailwind.css +316 -137
- package/styles/timepicker/bootstrap-dark.css +1 -0
- package/styles/timepicker/bootstrap.css +1 -0
- package/styles/timepicker/bootstrap4.css +1 -0
- package/styles/timepicker/bootstrap5-dark.css +1 -0
- package/styles/timepicker/bootstrap5.css +1 -0
- package/styles/timepicker/fabric-dark.css +1 -0
- package/styles/timepicker/fabric.css +1 -0
- package/styles/timepicker/fluent-dark.css +222 -0
- package/styles/timepicker/fluent-dark.scss +1 -0
- package/styles/timepicker/fluent.css +222 -0
- package/styles/timepicker/fluent.scss +1 -0
- package/styles/timepicker/highcontrast-light.css +1 -0
- package/styles/timepicker/highcontrast.css +1 -0
- package/styles/timepicker/material-dark.css +1 -0
- package/styles/timepicker/material.css +1 -0
- package/styles/timepicker/tailwind-dark.css +5 -4
- package/styles/timepicker/tailwind.css +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1226,23 +1226,7 @@ TimePicker component is the pre-filled dropdown list with the time values 12/24
|
|
|
1226
1226
|
- **Accessibility** - Provided with built-in accessibility support which helps to access all the TimePicker component features through the keyboard, screen readers, or other assistive technology devices.
|
|
1227
1227
|
|
|
1228
1228
|
|
|
1229
|
-
##
|
|
1230
|
-
|
|
1231
|
-
### DateRangePicker
|
|
1232
|
-
|
|
1233
|
-
#### Bug Fixes
|
|
1234
|
-
|
|
1235
|
-
- `#F173381` - Issue with "range selection is not displayed in the tailwind dark theme" has been resolved.
|
|
1236
|
-
|
|
1237
|
-
## 19.4.50 (2022-02-08)
|
|
1238
|
-
|
|
1239
|
-
### TimePicker
|
|
1240
|
-
|
|
1241
|
-
#### Bug Fixes
|
|
1242
|
-
|
|
1243
|
-
- `#I362512` - Issue with "change event is not triggered in the masked timepicker while typing the time in the input" has been resolved.
|
|
1244
|
-
|
|
1245
|
-
## 19.4.42 (2022-01-11)
|
|
1229
|
+
## 20.1.47 (2022-04-04)
|
|
1246
1230
|
|
|
1247
1231
|
### DateRangePicker
|
|
1248
1232
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-vue-calendars.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 20.1.55
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -9,7 +9,16 @@
|
|
|
9
9
|
*/
|
|
10
10
|
/*!
|
|
11
11
|
* filename: ej2-vue-calendars.umd.min.js
|
|
12
|
-
* version :
|
|
12
|
+
* version : 20.1.47
|
|
13
|
+
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
14
|
+
* Use of this code is subject to the terms of our license.
|
|
15
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
16
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
17
|
+
* applicable laws.
|
|
18
|
+
*/
|
|
19
|
+
/*!
|
|
20
|
+
* filename: ej2-vue-calendars.umd.min.js
|
|
21
|
+
* version : 19.4.38
|
|
13
22
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
14
23
|
* Use of this code is subject to the terms of our license.
|
|
15
24
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -32,7 +32,12 @@ let CalendarComponent =
|
|
|
32
32
|
/* Start Options({
|
|
33
33
|
props: props,
|
|
34
34
|
watch: watch,
|
|
35
|
-
emits: emitProbs
|
|
35
|
+
emits: emitProbs,
|
|
36
|
+
provide: function provide() {
|
|
37
|
+
return {
|
|
38
|
+
custom: this.custom
|
|
39
|
+
};
|
|
40
|
+
}
|
|
36
41
|
}) End */
|
|
37
42
|
class CalendarComponent extends ComponentBase {
|
|
38
43
|
constructor() {
|
|
@@ -51,6 +56,7 @@ class CalendarComponent extends ComponentBase {
|
|
|
51
56
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
52
57
|
this.ej2Instances.setProperties = this.setProperties;
|
|
53
58
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
59
|
+
this.updated = this.updated;
|
|
54
60
|
}
|
|
55
61
|
clearTemplate(templateNames) {
|
|
56
62
|
if (!templateNames) {
|
|
@@ -108,6 +114,7 @@ class CalendarComponent extends ComponentBase {
|
|
|
108
114
|
if (!isExecute) {
|
|
109
115
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
110
116
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
117
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
111
118
|
}
|
|
112
119
|
else {
|
|
113
120
|
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
@@ -143,6 +150,9 @@ class CalendarComponent extends ComponentBase {
|
|
|
143
150
|
}
|
|
144
151
|
return h('div', slots);
|
|
145
152
|
}
|
|
153
|
+
custom() {
|
|
154
|
+
this.updated();
|
|
155
|
+
}
|
|
146
156
|
addDate(dates) {
|
|
147
157
|
return this.ej2Instances.addDate(dates);
|
|
148
158
|
}
|
|
@@ -172,7 +182,12 @@ CalendarComponent = __decorate([
|
|
|
172
182
|
/* Start Options({
|
|
173
183
|
props: props,
|
|
174
184
|
watch: watch,
|
|
175
|
-
emits: emitProbs
|
|
185
|
+
emits: emitProbs,
|
|
186
|
+
provide: function provide() {
|
|
187
|
+
return {
|
|
188
|
+
custom: this.custom
|
|
189
|
+
};
|
|
190
|
+
}
|
|
176
191
|
}) End */
|
|
177
192
|
], CalendarComponent);
|
|
178
193
|
const CalendarPlugin = {
|
|
@@ -210,7 +225,12 @@ let DatePickerComponent =
|
|
|
210
225
|
/* Start Options({
|
|
211
226
|
props: props,
|
|
212
227
|
watch: watch,
|
|
213
|
-
emits: emitProbs
|
|
228
|
+
emits: emitProbs,
|
|
229
|
+
provide: function provide() {
|
|
230
|
+
return {
|
|
231
|
+
custom: this.custom
|
|
232
|
+
};
|
|
233
|
+
}
|
|
214
234
|
}) End */
|
|
215
235
|
class DatePickerComponent extends ComponentBase {
|
|
216
236
|
constructor() {
|
|
@@ -229,6 +249,7 @@ class DatePickerComponent extends ComponentBase {
|
|
|
229
249
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
230
250
|
this.ej2Instances.setProperties = this.setProperties;
|
|
231
251
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
252
|
+
this.updated = this.updated;
|
|
232
253
|
}
|
|
233
254
|
clearTemplate(templateNames) {
|
|
234
255
|
if (!templateNames) {
|
|
@@ -286,6 +307,7 @@ class DatePickerComponent extends ComponentBase {
|
|
|
286
307
|
if (!isExecute$1) {
|
|
287
308
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
288
309
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
310
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
289
311
|
}
|
|
290
312
|
else {
|
|
291
313
|
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
@@ -321,6 +343,9 @@ class DatePickerComponent extends ComponentBase {
|
|
|
321
343
|
}
|
|
322
344
|
return h('input', slots);
|
|
323
345
|
}
|
|
346
|
+
custom() {
|
|
347
|
+
this.updated();
|
|
348
|
+
}
|
|
324
349
|
addDate(dates) {
|
|
325
350
|
return this.ej2Instances.addDate(dates);
|
|
326
351
|
}
|
|
@@ -362,7 +387,12 @@ DatePickerComponent = __decorate$1([
|
|
|
362
387
|
/* Start Options({
|
|
363
388
|
props: props,
|
|
364
389
|
watch: watch,
|
|
365
|
-
emits: emitProbs
|
|
390
|
+
emits: emitProbs,
|
|
391
|
+
provide: function provide() {
|
|
392
|
+
return {
|
|
393
|
+
custom: this.custom
|
|
394
|
+
};
|
|
395
|
+
}
|
|
366
396
|
}) End */
|
|
367
397
|
], DatePickerComponent);
|
|
368
398
|
const DatePickerPlugin = {
|
|
@@ -400,7 +430,12 @@ let TimePickerComponent =
|
|
|
400
430
|
/* Start Options({
|
|
401
431
|
props: props,
|
|
402
432
|
watch: watch,
|
|
403
|
-
emits: emitProbs
|
|
433
|
+
emits: emitProbs,
|
|
434
|
+
provide: function provide() {
|
|
435
|
+
return {
|
|
436
|
+
custom: this.custom
|
|
437
|
+
};
|
|
438
|
+
}
|
|
404
439
|
}) End */
|
|
405
440
|
class TimePickerComponent extends ComponentBase {
|
|
406
441
|
constructor() {
|
|
@@ -419,6 +454,7 @@ class TimePickerComponent extends ComponentBase {
|
|
|
419
454
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
420
455
|
this.ej2Instances.setProperties = this.setProperties;
|
|
421
456
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
457
|
+
this.updated = this.updated;
|
|
422
458
|
}
|
|
423
459
|
clearTemplate(templateNames) {
|
|
424
460
|
if (!templateNames) {
|
|
@@ -476,6 +512,7 @@ class TimePickerComponent extends ComponentBase {
|
|
|
476
512
|
if (!isExecute$2) {
|
|
477
513
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
478
514
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
515
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
479
516
|
}
|
|
480
517
|
else {
|
|
481
518
|
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
@@ -511,6 +548,9 @@ class TimePickerComponent extends ComponentBase {
|
|
|
511
548
|
}
|
|
512
549
|
return h('input', slots);
|
|
513
550
|
}
|
|
551
|
+
custom() {
|
|
552
|
+
this.updated();
|
|
553
|
+
}
|
|
514
554
|
focusIn() {
|
|
515
555
|
return this.ej2Instances.focusIn();
|
|
516
556
|
}
|
|
@@ -537,7 +577,12 @@ TimePickerComponent = __decorate$2([
|
|
|
537
577
|
/* Start Options({
|
|
538
578
|
props: props,
|
|
539
579
|
watch: watch,
|
|
540
|
-
emits: emitProbs
|
|
580
|
+
emits: emitProbs,
|
|
581
|
+
provide: function provide() {
|
|
582
|
+
return {
|
|
583
|
+
custom: this.custom
|
|
584
|
+
};
|
|
585
|
+
}
|
|
541
586
|
}) End */
|
|
542
587
|
], TimePickerComponent);
|
|
543
588
|
const TimePickerPlugin = {
|
|
@@ -553,6 +598,7 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
553
598
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
554
599
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
555
600
|
};
|
|
601
|
+
// {{VueImport}}
|
|
556
602
|
const isExecute$3 = gh ? false : true;
|
|
557
603
|
let vueImport;
|
|
558
604
|
if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
@@ -561,16 +607,47 @@ if (!isExecute$3 || parseInt(allVue.version) < 3) {
|
|
|
561
607
|
else {
|
|
562
608
|
vueImport = Vue$1;
|
|
563
609
|
}
|
|
564
|
-
let PresetsDirective =
|
|
565
|
-
|
|
610
|
+
let PresetsDirective =
|
|
611
|
+
/* Start Options({
|
|
612
|
+
inject: {
|
|
613
|
+
custom: {
|
|
614
|
+
default: null
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
}) End */
|
|
618
|
+
class PresetsDirective extends vueImport {
|
|
619
|
+
constructor() {
|
|
620
|
+
super(arguments);
|
|
621
|
+
}
|
|
622
|
+
render(createElement) {
|
|
623
|
+
if (gh) {
|
|
624
|
+
let h = gh || createElement;
|
|
625
|
+
let slots = null;
|
|
626
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
627
|
+
slots = gh ? this.$slots.default() : this.$slots.default;
|
|
628
|
+
}
|
|
629
|
+
return h('div', { class: 'e-directive' }, slots);
|
|
630
|
+
}
|
|
566
631
|
return;
|
|
567
632
|
}
|
|
633
|
+
updated() {
|
|
634
|
+
if (gh && this.custom) {
|
|
635
|
+
this.custom();
|
|
636
|
+
}
|
|
637
|
+
}
|
|
568
638
|
getTag() {
|
|
569
639
|
return 'e-presets';
|
|
570
640
|
}
|
|
571
641
|
};
|
|
572
642
|
PresetsDirective = __decorate$3([
|
|
573
643
|
EJComponentDecorator({}, isExecute$3)
|
|
644
|
+
/* Start Options({
|
|
645
|
+
inject: {
|
|
646
|
+
custom: {
|
|
647
|
+
default: null
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}) End */
|
|
574
651
|
], PresetsDirective);
|
|
575
652
|
const PresetsPlugin = {
|
|
576
653
|
name: 'e-presets',
|
|
@@ -636,7 +713,12 @@ let DateRangePickerComponent =
|
|
|
636
713
|
/* Start Options({
|
|
637
714
|
props: props,
|
|
638
715
|
watch: watch,
|
|
639
|
-
emits: emitProbs
|
|
716
|
+
emits: emitProbs,
|
|
717
|
+
provide: function provide() {
|
|
718
|
+
return {
|
|
719
|
+
custom: this.custom
|
|
720
|
+
};
|
|
721
|
+
}
|
|
640
722
|
}) End */
|
|
641
723
|
class DateRangePickerComponent extends ComponentBase {
|
|
642
724
|
constructor() {
|
|
@@ -655,6 +737,7 @@ class DateRangePickerComponent extends ComponentBase {
|
|
|
655
737
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
656
738
|
this.ej2Instances.setProperties = this.setProperties;
|
|
657
739
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
740
|
+
this.updated = this.updated;
|
|
658
741
|
}
|
|
659
742
|
clearTemplate(templateNames) {
|
|
660
743
|
if (!templateNames) {
|
|
@@ -712,6 +795,7 @@ class DateRangePickerComponent extends ComponentBase {
|
|
|
712
795
|
if (!isExecute$4) {
|
|
713
796
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
714
797
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
798
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
715
799
|
}
|
|
716
800
|
else {
|
|
717
801
|
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
@@ -747,6 +831,9 @@ class DateRangePickerComponent extends ComponentBase {
|
|
|
747
831
|
}
|
|
748
832
|
return h('input', slots);
|
|
749
833
|
}
|
|
834
|
+
custom() {
|
|
835
|
+
this.updated();
|
|
836
|
+
}
|
|
750
837
|
focusIn() {
|
|
751
838
|
return this.ej2Instances.focusIn();
|
|
752
839
|
}
|
|
@@ -776,7 +863,12 @@ DateRangePickerComponent = __decorate$4([
|
|
|
776
863
|
/* Start Options({
|
|
777
864
|
props: props,
|
|
778
865
|
watch: watch,
|
|
779
|
-
emits: emitProbs
|
|
866
|
+
emits: emitProbs,
|
|
867
|
+
provide: function provide() {
|
|
868
|
+
return {
|
|
869
|
+
custom: this.custom
|
|
870
|
+
};
|
|
871
|
+
}
|
|
780
872
|
}) End */
|
|
781
873
|
], DateRangePickerComponent);
|
|
782
874
|
const DateRangePickerPlugin = {
|
|
@@ -816,7 +908,12 @@ let DateTimePickerComponent =
|
|
|
816
908
|
/* Start Options({
|
|
817
909
|
props: props,
|
|
818
910
|
watch: watch,
|
|
819
|
-
emits: emitProbs
|
|
911
|
+
emits: emitProbs,
|
|
912
|
+
provide: function provide() {
|
|
913
|
+
return {
|
|
914
|
+
custom: this.custom
|
|
915
|
+
};
|
|
916
|
+
}
|
|
820
917
|
}) End */
|
|
821
918
|
class DateTimePickerComponent extends ComponentBase {
|
|
822
919
|
constructor() {
|
|
@@ -835,6 +932,7 @@ class DateTimePickerComponent extends ComponentBase {
|
|
|
835
932
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
836
933
|
this.ej2Instances.setProperties = this.setProperties;
|
|
837
934
|
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
935
|
+
this.updated = this.updated;
|
|
838
936
|
}
|
|
839
937
|
clearTemplate(templateNames) {
|
|
840
938
|
if (!templateNames) {
|
|
@@ -892,6 +990,7 @@ class DateTimePickerComponent extends ComponentBase {
|
|
|
892
990
|
if (!isExecute$5) {
|
|
893
991
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
894
992
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
993
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
895
994
|
}
|
|
896
995
|
else {
|
|
897
996
|
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
@@ -927,6 +1026,9 @@ class DateTimePickerComponent extends ComponentBase {
|
|
|
927
1026
|
}
|
|
928
1027
|
return h('input', slots);
|
|
929
1028
|
}
|
|
1029
|
+
custom() {
|
|
1030
|
+
this.updated();
|
|
1031
|
+
}
|
|
930
1032
|
addDate(dates) {
|
|
931
1033
|
return this.ej2Instances.addDate(dates);
|
|
932
1034
|
}
|
|
@@ -971,7 +1073,12 @@ DateTimePickerComponent = __decorate$5([
|
|
|
971
1073
|
/* Start Options({
|
|
972
1074
|
props: props,
|
|
973
1075
|
watch: watch,
|
|
974
|
-
emits: emitProbs
|
|
1076
|
+
emits: emitProbs,
|
|
1077
|
+
provide: function provide() {
|
|
1078
|
+
return {
|
|
1079
|
+
custom: this.custom
|
|
1080
|
+
};
|
|
1081
|
+
}
|
|
975
1082
|
}) End */
|
|
976
1083
|
], DateTimePickerComponent);
|
|
977
1084
|
const DateTimePickerPlugin = {
|