@syncfusion/ej2-calendars 19.3.56 → 19.4.50

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.
Files changed (59) hide show
  1. package/README.md +1 -1
  2. package/common.d.ts +4 -0
  3. package/common.js +4 -0
  4. package/dist/ej2-calendars.umd.min.js +2 -2
  5. package/dist/ej2-calendars.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-calendars.es2015.js +4 -27
  7. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  8. package/dist/es6/ej2-calendars.es5.js +4 -32
  9. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  10. package/dist/global/ej2-calendars.min.js +2 -2
  11. package/dist/global/ej2-calendars.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +10 -10
  14. package/src/calendar/calendar-model.d.ts +0 -56
  15. package/src/calendar/calendar.d.ts +0 -45
  16. package/src/calendar/calendar.js +1 -30
  17. package/src/common/index.d.ts +5 -0
  18. package/src/common/index.js +4 -0
  19. package/src/common/maskplaceholder-model.d.ts +57 -0
  20. package/src/common/maskplaceholder.d.ts +45 -0
  21. package/src/common/maskplaceholder.js +49 -0
  22. package/src/datepicker/datepicker-model.d.ts +1 -1
  23. package/src/datepicker/datepicker.d.ts +1 -1
  24. package/src/daterangepicker/daterangepicker.js +1 -1
  25. package/src/datetimepicker/datetimepicker-model.d.ts +1 -1
  26. package/src/datetimepicker/datetimepicker.d.ts +1 -1
  27. package/src/datetimepicker/datetimepicker.js +1 -1
  28. package/src/maskbase/masked-date-time.js +1 -1
  29. package/src/timepicker/timepicker-model.d.ts +9 -8
  30. package/src/timepicker/timepicker.d.ts +8 -7
  31. package/styles/bootstrap5-dark.css +1 -1
  32. package/styles/bootstrap5.css +1 -1
  33. package/styles/calendar/_bootstrap-dark-definition.scss +1 -0
  34. package/styles/calendar/_bootstrap-definition.scss +1 -0
  35. package/styles/calendar/_bootstrap4-definition.scss +1 -0
  36. package/styles/calendar/_bootstrap5-definition.scss +1 -0
  37. package/styles/calendar/_fabric-dark-definition.scss +1 -0
  38. package/styles/calendar/_fabric-definition.scss +1 -0
  39. package/styles/calendar/_fluent-definition.scss +214 -0
  40. package/styles/calendar/_highcontrast-definition.scss +1 -0
  41. package/styles/calendar/_highcontrast-light-definition.scss +1 -0
  42. package/styles/calendar/_material-dark-definition.scss +1 -0
  43. package/styles/calendar/_material-definition.scss +1 -0
  44. package/styles/calendar/_tailwind-definition.scss +1 -0
  45. package/styles/calendar/_theme.scss +1 -1
  46. package/styles/calendar/bootstrap5-dark.css +1 -1
  47. package/styles/calendar/bootstrap5.css +1 -1
  48. package/styles/calendar/icons/_fluent.scss +12 -0
  49. package/styles/datepicker/_fluent-definition.scss +36 -0
  50. package/styles/datepicker/_material-dark-definition.scss +1 -0
  51. package/styles/datepicker/_material-definition.scss +1 -0
  52. package/styles/datepicker/icons/_fluent.scss +55 -0
  53. package/styles/daterangepicker/_fluent-definition.scss +222 -0
  54. package/styles/daterangepicker/_theme.scss +8 -8
  55. package/styles/daterangepicker/icons/_fluent.scss +67 -0
  56. package/styles/datetimepicker/_fluent-definition.scss +55 -0
  57. package/styles/datetimepicker/icons/_fluent.scss +11 -0
  58. package/styles/timepicker/_fluent-definition.scss +52 -0
  59. package/styles/timepicker/icons/_fluent.scss +13 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.3.56
3
+ * version : 19.4.50
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
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-calendars@*",
3
- "_id": "@syncfusion/ej2-calendars@19.3.55",
3
+ "_id": "@syncfusion/ej2-calendars@19.4.48",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-PjIfcNqIA0VkYukwdA7OeqWW5Yj6gxqjzwXhmjDznTev1+Ql+NLWXXY8lFWk8qABfwVg0/pJFU4J9MEoM124wg==",
5
+ "_integrity": "sha512-eduZ8/SHrwD5ZUGqbyYTqclbX1Zq1/epZXOYQ6NltYuToDAwfdErMzDD3snRgKtn9bxXjp1u9k3sAcGO68wGNA==",
6
6
  "_location": "/@syncfusion/ej2-calendars",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -32,8 +32,8 @@
32
32
  "/@syncfusion/ej2-schedule",
33
33
  "/@syncfusion/ej2-vue-calendars"
34
34
  ],
35
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-19.3.55.tgz",
36
- "_shasum": "1750f67bf33354bd284066a12dc23208e39af06c",
35
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-19.4.48.tgz",
36
+ "_shasum": "32a3cf95034f0bdf0bec7d9ca11386d236b9230c",
37
37
  "_spec": "@syncfusion/ej2-calendars@*",
38
38
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
39
39
  "author": {
@@ -44,11 +44,11 @@
44
44
  },
45
45
  "bundleDependencies": false,
46
46
  "dependencies": {
47
- "@syncfusion/ej2-base": "~19.3.56",
48
- "@syncfusion/ej2-buttons": "~19.3.53",
49
- "@syncfusion/ej2-inputs": "~19.3.53",
50
- "@syncfusion/ej2-lists": "~19.3.53",
51
- "@syncfusion/ej2-popups": "~19.3.53"
47
+ "@syncfusion/ej2-base": "~19.4.48",
48
+ "@syncfusion/ej2-buttons": "~19.4.50",
49
+ "@syncfusion/ej2-inputs": "~19.4.48",
50
+ "@syncfusion/ej2-lists": "~19.4.48",
51
+ "@syncfusion/ej2-popups": "~19.4.50"
52
52
  },
53
53
  "deprecated": false,
54
54
  "description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
@@ -81,6 +81,6 @@
81
81
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
82
82
  },
83
83
  "typings": "index.d.ts",
84
- "version": "19.3.56",
84
+ "version": "19.4.50",
85
85
  "sideEffects": false
86
86
  }
@@ -2,62 +2,6 @@
2
2
  import {CalendarType,CalendarView,WeekRule,DayHeaderFormats,NavigatedEventArgs,RenderDayCellEventArgs,ChangedEventArgs} from "./calendar";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
5
- /**
6
- * Interface for a class MaskPlaceholder
7
- */
8
- export interface MaskPlaceholderModel {
9
-
10
- /**
11
- * Specifies the mask placeholder value for day section.
12
- *
13
- * @default 'day'
14
- */
15
- day?: string;
16
-
17
- /**
18
- * Specifies the mask placeholder value for month section.
19
- *
20
- * @default 'month'
21
- */
22
- month?: string;
23
-
24
- /**
25
- * Specifies the mask placeholder value for year section.
26
- *
27
- * @default 'year'
28
- */
29
- year?: string;
30
-
31
- /**
32
- * Specifies the mask placeholder value for hour section.
33
- *
34
- * @default 'hour'
35
- */
36
- hour?: string;
37
-
38
- /**
39
- * Specifies the mask placeholder value for minute section.
40
- *
41
- * @default 'minute'
42
- */
43
- minute?: string;
44
-
45
- /**
46
- * Specifies the mask placeholder value for second section.
47
- *
48
- * @default 'second'
49
- */
50
- second?: string;
51
-
52
- /**
53
- * Specifies the mask placeholder value for day of the week section.
54
- *
55
- * @default 'day of the week'
56
- */
57
- dayOfTheWeek?: string;
58
-
59
- }
60
-
61
5
  /**
62
6
  * Interface for a class CalendarBase
63
7
  * @private
@@ -1,7 +1,6 @@
1
1
  import { Component, Internationalization, ModuleDeclaration } from '@syncfusion/ej2-base';
2
2
  import { INotifyPropertyChanged, KeyboardEvents, L10n } from '@syncfusion/ej2-base';
3
3
  import { KeyboardEventArgs, BaseEventArgs } from '@syncfusion/ej2-base';
4
- import { ChildProperty } from '@syncfusion/ej2-base';
5
4
  import { EmitType } from '@syncfusion/ej2-base';
6
5
  import { CalendarModel, CalendarBaseModel } from './calendar-model';
7
6
  import { Islamic } from './index';
@@ -15,50 +14,6 @@ export declare type DayHeaderFormats = 'Short' | 'Narrow' | 'Abbreviated' | 'Wid
15
14
  * Specifies the rule for defining the first week of the year.
16
15
  */
17
16
  export declare type WeekRule = 'FirstDay' | 'FirstFullWeek' | 'FirstFourDayWeek';
18
- export declare class MaskPlaceholder extends ChildProperty<MaskPlaceholder> {
19
- /**
20
- * Specifies the mask placeholder value for day section.
21
- *
22
- * @default 'day'
23
- */
24
- day: string;
25
- /**
26
- * Specifies the mask placeholder value for month section.
27
- *
28
- * @default 'month'
29
- */
30
- month: string;
31
- /**
32
- * Specifies the mask placeholder value for year section.
33
- *
34
- * @default 'year'
35
- */
36
- year: string;
37
- /**
38
- * Specifies the mask placeholder value for hour section.
39
- *
40
- * @default 'hour'
41
- */
42
- hour: string;
43
- /**
44
- * Specifies the mask placeholder value for minute section.
45
- *
46
- * @default 'minute'
47
- */
48
- minute: string;
49
- /**
50
- * Specifies the mask placeholder value for second section.
51
- *
52
- * @default 'second'
53
- */
54
- second: string;
55
- /**
56
- * Specifies the mask placeholder value for day of the week section.
57
- *
58
- * @default 'day of the week'
59
- */
60
- dayOfTheWeek: string;
61
- }
62
17
  /**
63
18
  *
64
19
  * @private
@@ -22,7 +22,7 @@ import { KeyboardEvents, L10n } from '@syncfusion/ej2-base';
22
22
  import { NotifyPropertyChanges } from '@syncfusion/ej2-base';
23
23
  import { cldrData, getDefaultDateObject, rippleEffect } from '@syncfusion/ej2-base';
24
24
  import { removeClass, detach, closest, addClass, attributes } from '@syncfusion/ej2-base';
25
- import { getValue, getUniqueID, extend, Browser, ChildProperty } from '@syncfusion/ej2-base';
25
+ import { getValue, getUniqueID, extend, Browser } from '@syncfusion/ej2-base';
26
26
  import { Property, Event, isNullOrUndefined, throwError } from '@syncfusion/ej2-base';
27
27
  //class constant defination.
28
28
  var OTHERMONTH = 'e-other-month';
@@ -62,35 +62,6 @@ var PRIMARY = 'e-primary';
62
62
  var DAYHEADERLONG = 'e-calendar-day-header-lg';
63
63
  var dayMilliSeconds = 86400000;
64
64
  var minutesMilliSeconds = 60000;
65
- var MaskPlaceholder = /** @class */ (function (_super) {
66
- __extends(MaskPlaceholder, _super);
67
- function MaskPlaceholder() {
68
- return _super !== null && _super.apply(this, arguments) || this;
69
- }
70
- __decorate([
71
- Property('day')
72
- ], MaskPlaceholder.prototype, "day", void 0);
73
- __decorate([
74
- Property('month')
75
- ], MaskPlaceholder.prototype, "month", void 0);
76
- __decorate([
77
- Property('year')
78
- ], MaskPlaceholder.prototype, "year", void 0);
79
- __decorate([
80
- Property('hour')
81
- ], MaskPlaceholder.prototype, "hour", void 0);
82
- __decorate([
83
- Property('minute')
84
- ], MaskPlaceholder.prototype, "minute", void 0);
85
- __decorate([
86
- Property('second')
87
- ], MaskPlaceholder.prototype, "second", void 0);
88
- __decorate([
89
- Property('day of the week')
90
- ], MaskPlaceholder.prototype, "dayOfTheWeek", void 0);
91
- return MaskPlaceholder;
92
- }(ChildProperty));
93
- export { MaskPlaceholder };
94
65
  /**
95
66
  *
96
67
  * @private
@@ -0,0 +1,5 @@
1
+ /**
2
+ * MaskPlaceholder modules
3
+ */
4
+ export * from './maskplaceholder';
5
+ export * from './maskplaceholder-model';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * MaskPlaceholder modules
3
+ */
4
+ export * from './maskplaceholder';
@@ -0,0 +1,57 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+
3
+ /**
4
+ * Interface for a class MaskPlaceholder
5
+ */
6
+ export interface MaskPlaceholderModel {
7
+
8
+ /**
9
+ * Specifies the mask placeholder value for day section.
10
+ *
11
+ * @default 'day'
12
+ */
13
+ day?: string;
14
+
15
+ /**
16
+ * Specifies the mask placeholder value for month section.
17
+ *
18
+ * @default 'month'
19
+ */
20
+ month?: string;
21
+
22
+ /**
23
+ * Specifies the mask placeholder value for year section.
24
+ *
25
+ * @default 'year'
26
+ */
27
+ year?: string;
28
+
29
+ /**
30
+ * Specifies the mask placeholder value for day of the week section.
31
+ *
32
+ * @default 'day of the week'
33
+ */
34
+ dayOfTheWeek?: string;
35
+
36
+ /**
37
+ * Specifies the mask placeholder value for hour section.
38
+ *
39
+ * @default 'hour'
40
+ */
41
+ hour?: string;
42
+
43
+ /**
44
+ * Specifies the mask placeholder value for minute section.
45
+ *
46
+ * @default 'minute'
47
+ */
48
+ minute?: string;
49
+
50
+ /**
51
+ * Specifies the mask placeholder value for second section.
52
+ *
53
+ * @default 'second'
54
+ */
55
+ second?: string;
56
+
57
+ }
@@ -0,0 +1,45 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ export declare class MaskPlaceholder extends ChildProperty<MaskPlaceholder> {
3
+ /**
4
+ * Specifies the mask placeholder value for day section.
5
+ *
6
+ * @default 'day'
7
+ */
8
+ day: string;
9
+ /**
10
+ * Specifies the mask placeholder value for month section.
11
+ *
12
+ * @default 'month'
13
+ */
14
+ month: string;
15
+ /**
16
+ * Specifies the mask placeholder value for year section.
17
+ *
18
+ * @default 'year'
19
+ */
20
+ year: string;
21
+ /**
22
+ * Specifies the mask placeholder value for day of the week section.
23
+ *
24
+ * @default 'day of the week'
25
+ */
26
+ dayOfTheWeek: string;
27
+ /**
28
+ * Specifies the mask placeholder value for hour section.
29
+ *
30
+ * @default 'hour'
31
+ */
32
+ hour: string;
33
+ /**
34
+ * Specifies the mask placeholder value for minute section.
35
+ *
36
+ * @default 'minute'
37
+ */
38
+ minute: string;
39
+ /**
40
+ * Specifies the mask placeholder value for second section.
41
+ *
42
+ * @default 'second'
43
+ */
44
+ second: string;
45
+ }
@@ -0,0 +1,49 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ 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;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
21
+ var MaskPlaceholder = /** @class */ (function (_super) {
22
+ __extends(MaskPlaceholder, _super);
23
+ function MaskPlaceholder() {
24
+ return _super !== null && _super.apply(this, arguments) || this;
25
+ }
26
+ __decorate([
27
+ Property('day')
28
+ ], MaskPlaceholder.prototype, "day", void 0);
29
+ __decorate([
30
+ Property('month')
31
+ ], MaskPlaceholder.prototype, "month", void 0);
32
+ __decorate([
33
+ Property('year')
34
+ ], MaskPlaceholder.prototype, "year", void 0);
35
+ __decorate([
36
+ Property('day of the week')
37
+ ], MaskPlaceholder.prototype, "dayOfTheWeek", void 0);
38
+ __decorate([
39
+ Property('hour')
40
+ ], MaskPlaceholder.prototype, "hour", void 0);
41
+ __decorate([
42
+ Property('minute')
43
+ ], MaskPlaceholder.prototype, "minute", void 0);
44
+ __decorate([
45
+ Property('second')
46
+ ], MaskPlaceholder.prototype, "second", void 0);
47
+ return MaskPlaceholder;
48
+ }(ChildProperty));
49
+ export { MaskPlaceholder };
@@ -1,4 +1,4 @@
1
- import { EventHandler, Property, Internationalization, NotifyPropertyChanges, DateFormatOptions } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, EmitType, Event, extend, L10n, Browser, formatUnit } from '@syncfusion/ej2-base';import { detach, addClass, removeClass, closest, attributes, select } from '@syncfusion/ej2-base';import { isNullOrUndefined, setValue, getUniqueID, ModuleDeclaration } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { ChangedEventArgs, CalendarView, Calendar, BlurEventArgs, FocusEventArgs, ClearedEventArgs, DayHeaderFormats} from '../calendar/calendar';import { MaskPlaceholderModel } from '../calendar/calendar-model'
1
+ import { EventHandler, Property, Internationalization, NotifyPropertyChanges, DateFormatOptions } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, EmitType, Event, extend, L10n, Browser, formatUnit } from '@syncfusion/ej2-base';import { detach, addClass, removeClass, closest, attributes, select } from '@syncfusion/ej2-base';import { isNullOrUndefined, setValue, getUniqueID, ModuleDeclaration } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { ChangedEventArgs, CalendarView, Calendar, BlurEventArgs, FocusEventArgs, ClearedEventArgs, DayHeaderFormats} from '../calendar/calendar';import { MaskPlaceholderModel } from '../common/maskplaceholder-model'
2
2
  import {FormatObject,PopupObjectArgs,PreventableEventArgs} from "./datepicker";
3
3
  import {CalendarModel} from "../calendar/calendar-model";
4
4
 
@@ -4,7 +4,7 @@ import { ModuleDeclaration } from '@syncfusion/ej2-base';
4
4
  import { Popup } from '@syncfusion/ej2-popups';
5
5
  import { InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';
6
6
  import { ChangedEventArgs, CalendarView, Calendar, BlurEventArgs, FocusEventArgs, ClearedEventArgs } from '../calendar/calendar';
7
- import { MaskPlaceholderModel } from '../calendar/calendar-model';
7
+ import { MaskPlaceholderModel } from '../common/maskplaceholder-model';
8
8
  import { DatePickerModel } from './datepicker-model';
9
9
  export interface FormatObject {
10
10
  /**
@@ -3476,7 +3476,7 @@ var DateRangePicker = /** @class */ (function (_super) {
3476
3476
  this.disabledDayCnt = null;
3477
3477
  var localDate = new Date(+this.startValue);
3478
3478
  var count = 0;
3479
- while (+localDate <= +this.endValue) {
3479
+ while (+localDate <= +this.endValue && +this.endValue <= +this.max) {
3480
3480
  this.virtualRenderCellArgs = {
3481
3481
  date: localDate,
3482
3482
  isDisabled: false
@@ -1,4 +1,4 @@
1
- import { EventHandler, Internationalization, Property, NotifyPropertyChanges, Browser, RippleOptions } from '@syncfusion/ej2-base';import { Animation, EmitType, Event, AnimationModel, cldrData, getDefaultDateObject, detach } from '@syncfusion/ej2-base';import { createElement, remove, addClass, L10n, removeClass, closest, append, attributes } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, isNullOrUndefined, formatUnit, getValue, rippleEffect } from '@syncfusion/ej2-base';import { ModuleDeclaration, extend } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input } from '@syncfusion/ej2-inputs';import { BlurEventArgs, ClearedEventArgs, CalendarType, CalendarView, DayHeaderFormats } from '../calendar/calendar';import { DatePicker, PopupObjectArgs } from '../datepicker/datepicker';import { TimePickerBase } from '../timepicker/timepicker';import {MaskPlaceholderModel} from '../calendar/calendar-model'
1
+ import { EventHandler, Internationalization, Property, NotifyPropertyChanges, Browser, RippleOptions } from '@syncfusion/ej2-base';import { Animation, EmitType, Event, AnimationModel, cldrData, getDefaultDateObject, detach } from '@syncfusion/ej2-base';import { createElement, remove, addClass, L10n, removeClass, closest, append, attributes } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, isNullOrUndefined, formatUnit, getValue, rippleEffect } from '@syncfusion/ej2-base';import { ModuleDeclaration, extend } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input } from '@syncfusion/ej2-inputs';import { BlurEventArgs, ClearedEventArgs, CalendarType, CalendarView, DayHeaderFormats } from '../calendar/calendar';import { DatePicker, PopupObjectArgs } from '../datepicker/datepicker';import { TimePickerBase } from '../timepicker/timepicker';import {MaskPlaceholderModel} from '../common/maskplaceholder-model'
2
2
  import {DatePickerModel} from "../datepicker/datepicker-model";
3
3
 
4
4
  /**
@@ -6,7 +6,7 @@ import { ModuleDeclaration } from '@syncfusion/ej2-base';
6
6
  import { ClearedEventArgs, CalendarType, CalendarView, DayHeaderFormats } from '../calendar/calendar';
7
7
  import { DatePicker, PopupObjectArgs } from '../datepicker/datepicker';
8
8
  import { DateTimePickerModel } from './datetimepicker-model';
9
- import { MaskPlaceholderModel } from '../calendar/calendar-model';
9
+ import { MaskPlaceholderModel } from '../common/maskplaceholder-model';
10
10
  /**
11
11
  * Represents the DateTimePicker component that allows user to select
12
12
  * or enter a date time value.
@@ -719,7 +719,7 @@ var DateTimePicker = /** @class */ (function (_super) {
719
719
  };
720
720
  this.addTimeSelection();
721
721
  this.trigger('change', this.changedArgs);
722
- this.previousDateTime = this.value;
722
+ this.previousDateTime = this.previousDate = this.value;
723
723
  }
724
724
  };
725
725
  DateTimePicker.prototype.setTimeScrollPosition = function () {
@@ -190,7 +190,7 @@ var MaskedDateTime = /** @class */ (function () {
190
190
  var inputValue = this.parent.inputElement.value;
191
191
  var previousVal = this.previousValue.substring(0, start + this.previousValue.length - inputValue.length);
192
192
  var newVal = inputValue.substring(0, start);
193
- var newDateValue = this.maskDateValue;
193
+ var newDateValue = new Date(+this.maskDateValue);
194
194
  var maxDate = new Date(newDateValue.getFullYear(), newDateValue.getMonth() + 1, 0).getDate();
195
195
  if (previousVal.indexOf(newVal) === 0 && (newVal.length === 0 || this.previousHiddenMask[newVal.length - 1] !== this.previousHiddenMask[newVal.length])) {
196
196
  for (var i = newVal.length; i < previousVal.length; i++) {
@@ -1,4 +1,4 @@
1
- import { EventHandler, Property, Internationalization, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, AnimationModel, Browser, BaseEventArgs } from '@syncfusion/ej2-base';import { EmitType, cldrData, L10n, Component, getDefaultDateObject, rippleEffect, RippleOptions, Event } from '@syncfusion/ej2-base';import { remove, addClass, detach, removeClass, closest, append, attributes, setStyleAttribute } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, extend, getUniqueID, ModuleDeclaration, ChildProperty } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { FocusEventArgs, BlurEventArgs, ClearedEventArgs } from '../calendar/calendar';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { ListBase, ListBaseOptions, createElementParams } from '@syncfusion/ej2-lists';
1
+ import { EventHandler, Property, Internationalization, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, AnimationModel, Browser, BaseEventArgs } from '@syncfusion/ej2-base';import { EmitType, cldrData, L10n, Component, getDefaultDateObject, rippleEffect, RippleOptions, Event } from '@syncfusion/ej2-base';import { remove, addClass, detach, removeClass, closest, append, attributes, setStyleAttribute } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, extend, getUniqueID, ModuleDeclaration, ChildProperty } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { FocusEventArgs, BlurEventArgs, ClearedEventArgs } from '../calendar/calendar';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { ListBase, ListBaseOptions, createElementParams } from '@syncfusion/ej2-lists';import {MaskPlaceholderModel} from '../common/maskplaceholder-model';import { MaskPlaceholder } from '../common/maskplaceholder';
2
2
  import {TimeFormatObject,ChangeEventArgs,PopupEventArgs,ItemEventArgs} from "./timepicker";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -8,49 +8,49 @@ import {ComponentModel} from '@syncfusion/ej2-base';
8
8
  export interface TimeMaskPlaceholderModel {
9
9
 
10
10
  /**
11
- * Specifies the mask placeholder value for day section.
11
+ * Specifies the mask placeholder value for day property.
12
12
  *
13
13
  * @default 'day'
14
14
  */
15
15
  day?: string;
16
16
 
17
17
  /**
18
- * Specifies the mask placeholder value for month section.
18
+ * Specifies the mask placeholder value for month property.
19
19
  *
20
20
  * @default 'month'
21
21
  */
22
22
  month?: string;
23
23
 
24
24
  /**
25
- * Specifies the mask placeholder value for year section.
25
+ * Specifies the mask placeholder value for year property.
26
26
  *
27
27
  * @default 'year'
28
28
  */
29
29
  year?: string;
30
30
 
31
31
  /**
32
- * Specifies the mask placeholder value for day of the week section.
32
+ * Specifies the mask placeholder value for day of the week property.
33
33
  *
34
34
  * @default 'day of the week'
35
35
  */
36
36
  dayOfTheWeek?: string;
37
37
 
38
38
  /**
39
- * Specifies the mask placeholder value for hour section.
39
+ * Specifies the mask placeholder value for hour property.
40
40
  *
41
41
  * @default 'hour'
42
42
  */
43
43
  hour?: string;
44
44
 
45
45
  /**
46
- * Specifies the mask placeholder value for minute section.
46
+ * Specifies the mask placeholder value for minute property.
47
47
  *
48
48
  * @default 'minute'
49
49
  */
50
50
  minute?: string;
51
51
 
52
52
  /**
53
- * Specifies the mask placeholder value for second section.
53
+ * Specifies the mask placeholder value for second property.
54
54
  *
55
55
  * @default 'second'
56
56
  */
@@ -306,6 +306,7 @@ export interface TimePickerModel extends ComponentModel{
306
306
  * Specifies the mask placeholder to be displayed on masked timepicker.
307
307
  *
308
308
  * @default {day:'day' , month:'month', year: 'year', hour:'hour',minute:'minute',second:'second',dayOfTheWeek: 'day of the week'}
309
+ * @aspType TimePickerMaskPlaceholder
309
310
  */
310
311
  maskPlaceholder?: TimeMaskPlaceholderModel;
311
312
 
@@ -86,43 +86,43 @@ export declare namespace TimePickerBase {
86
86
  }
87
87
  export declare class TimeMaskPlaceholder extends ChildProperty<TimeMaskPlaceholder> {
88
88
  /**
89
- * Specifies the mask placeholder value for day section.
89
+ * Specifies the mask placeholder value for day property.
90
90
  *
91
91
  * @default 'day'
92
92
  */
93
93
  day: string;
94
94
  /**
95
- * Specifies the mask placeholder value for month section.
95
+ * Specifies the mask placeholder value for month property.
96
96
  *
97
97
  * @default 'month'
98
98
  */
99
99
  month: string;
100
100
  /**
101
- * Specifies the mask placeholder value for year section.
101
+ * Specifies the mask placeholder value for year property.
102
102
  *
103
103
  * @default 'year'
104
104
  */
105
105
  year: string;
106
106
  /**
107
- * Specifies the mask placeholder value for day of the week section.
107
+ * Specifies the mask placeholder value for day of the week property.
108
108
  *
109
109
  * @default 'day of the week'
110
110
  */
111
111
  dayOfTheWeek: string;
112
112
  /**
113
- * Specifies the mask placeholder value for hour section.
113
+ * Specifies the mask placeholder value for hour property.
114
114
  *
115
115
  * @default 'hour'
116
116
  */
117
117
  hour: string;
118
118
  /**
119
- * Specifies the mask placeholder value for minute section.
119
+ * Specifies the mask placeholder value for minute property.
120
120
  *
121
121
  * @default 'minute'
122
122
  */
123
123
  minute: string;
124
124
  /**
125
- * Specifies the mask placeholder value for second section.
125
+ * Specifies the mask placeholder value for second property.
126
126
  *
127
127
  * @default 'second'
128
128
  */
@@ -413,6 +413,7 @@ export declare class TimePicker extends Component<HTMLElement> implements IInput
413
413
  * Specifies the mask placeholder to be displayed on masked timepicker.
414
414
  *
415
415
  * @default {day:'day' , month:'month', year: 'year', hour:'hour',minute:'minute',second:'second',dayOfTheWeek: 'day of the week'}
416
+ * @aspType TimePickerMaskPlaceholder
416
417
  */
417
418
  maskPlaceholder: TimeMaskPlaceholderModel;
418
419
  /**
@@ -977,7 +977,7 @@ ejs-calendar {
977
977
  .e-bigger.e-small .e-calendar.e-device .e-next:active,
978
978
  .e-bigger.e-small .e-calendar.e-device .e-prev:focus,
979
979
  .e-bigger.e-small .e-calendar.e-device .e-next:focus {
980
- background: none;
980
+ background: #5c636a;
981
981
  }
982
982
 
983
983
  .e-calendar.e-device button.e-prev:active span,
@@ -977,7 +977,7 @@ ejs-calendar {
977
977
  .e-bigger.e-small .e-calendar.e-device .e-next:active,
978
978
  .e-bigger.e-small .e-calendar.e-device .e-prev:focus,
979
979
  .e-bigger.e-small .e-calendar.e-device .e-next:focus {
980
- background: none;
980
+ background: #5c636a;
981
981
  }
982
982
 
983
983
  .e-calendar.e-device button.e-prev:active span,
@@ -35,6 +35,7 @@ $calendar-active-icon-color: $calendar-icon-font-color !default;
35
35
  $calendar-title-hover-color: $grey-light-font !default;
36
36
  $calendar-icon-hover-color: $grey-light-font !default;
37
37
  $calendar-icon-hover-bg-color: $grey-88 !default;
38
+ $calendar-device-icon-hover-bg-color: none !default;
38
39
  $calendar-default-border-color: none !default;
39
40
  $calendar-icon-hover-border-color: $calendar-default-border-color !default;
40
41
  $calendar-active-state-icon-bg-color: $grey-8c !default;
@@ -37,6 +37,7 @@ $calendar-active-icon-color: $calendar-icon-font-color !default;
37
37
  $calendar-title-hover-color: $grey-light-font !default;
38
38
  $calendar-icon-hover-color: $grey-light-font !default;
39
39
  $calendar-icon-hover-bg-color: $grey-e6 !default;
40
+ $calendar-device-icon-hover-bg-color: none !default;
40
41
  $calendar-default-border-color: none !default;
41
42
  $calendar-icon-hover-border-color: $calendar-default-border-color !default;
42
43
  $calendar-active-state-icon-bg-color: $grey-d4 !default;
@@ -37,6 +37,7 @@ $calendar-active-icon-color: $white !default;
37
37
  $calendar-title-hover-color: $gray-900 !default;
38
38
  $calendar-icon-hover-color: $gray-900 !default;
39
39
  $calendar-icon-hover-bg-color: darken($gray-100, 2%) !default;
40
+ $calendar-device-icon-hover-bg-color: none !default;
40
41
  $calendar-default-border-color: none !default;
41
42
  $calendar-icon-hover-border-color: $calendar-default-border-color !default;
42
43
  $calendar-active-state-icon-bg-color: darken($gray-600, 10%) !default;
@@ -138,6 +138,7 @@ $calendar-active-icon-color: $secondary-text-color !default;
138
138
  $calendar-title-hover-color: $content-text-color-alt3 !default;
139
139
  $calendar-icon-hover-color: $secondary-text-color !default;
140
140
  $calendar-icon-hover-bg-color: $secondary-bg-color-hover !default;
141
+ $calendar-device-icon-hover-bg-color: $secondary-bg-color-hover !default;
141
142
  $calendar-default-border-color: none !default;
142
143
  $calendar-icon-hover-border-color: $content-bg-color-hover !default;
143
144
  $calendar-active-state-icon-bg-color: $secondary-border-color-pressed !default;
@@ -18,6 +18,7 @@ $calendar-icon-font-color: $neutral-light-font !default;
18
18
  $calendar-active-icon-color: $neutral-light-fontalt !default;
19
19
  $calendar-active-state-icon-bg-color: none !default;
20
20
  $calendar-icon-hover-bg-color: none !default;
21
+ $calendar-device-icon-hover-bg-color: none !default;
21
22
  $calendar-focus-date-color: $neutral-quintenaryalt !default;
22
23
  $calendar-other-month-date: $neutral-tertiary-alt !default;
23
24
  $calendar-text-color: $neutral-light-font !default;