@syncfusion/ej2-react-calendars 20.4.54 → 21.1.35

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 (63) hide show
  1. package/CHANGELOG.md +0 -15
  2. package/README.md +92 -79
  3. package/dist/ej2-react-calendars.min.js +2 -2
  4. package/dist/ej2-react-calendars.umd.min.js +2 -2
  5. package/dist/ej2-react-calendars.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-react-calendars.es2015.js +5 -0
  7. package/dist/es6/ej2-react-calendars.es2015.js.map +1 -1
  8. package/package.json +9 -9
  9. package/src/calendar/calendar.component.d.ts +1 -0
  10. package/src/calendar/calendar.component.js +1 -0
  11. package/src/datepicker/datepicker.component.d.ts +1 -0
  12. package/src/datepicker/datepicker.component.js +1 -0
  13. package/src/daterangepicker/daterangepicker.component.d.ts +1 -0
  14. package/src/daterangepicker/daterangepicker.component.js +1 -0
  15. package/src/datetimepicker/datetimepicker.component.d.ts +1 -0
  16. package/src/datetimepicker/datetimepicker.component.js +1 -0
  17. package/src/timepicker/timepicker.component.d.ts +1 -0
  18. package/src/timepicker/timepicker.component.js +1 -0
  19. package/styles/bootstrap-dark.css +9 -8
  20. package/styles/bootstrap.css +9 -3
  21. package/styles/bootstrap4.css +6 -4
  22. package/styles/bootstrap5-dark.css +19 -17
  23. package/styles/bootstrap5.css +17 -15
  24. package/styles/calendar/bootstrap-dark.css +4 -3
  25. package/styles/calendar/bootstrap.css +3 -2
  26. package/styles/calendar/bootstrap4.css +3 -2
  27. package/styles/calendar/bootstrap5-dark.css +14 -13
  28. package/styles/calendar/bootstrap5.css +13 -12
  29. package/styles/calendar/fabric-dark.css +15 -5
  30. package/styles/calendar/fabric.css +12 -2
  31. package/styles/calendar/fluent-dark.css +51 -28
  32. package/styles/calendar/fluent.css +51 -28
  33. package/styles/calendar/highcontrast-light.css +3 -2
  34. package/styles/calendar/highcontrast.css +14 -4
  35. package/styles/calendar/material-dark.css +14 -4
  36. package/styles/calendar/material.css +12 -2
  37. package/styles/calendar/tailwind-dark.css +11 -10
  38. package/styles/calendar/tailwind.css +11 -10
  39. package/styles/daterangepicker/bootstrap-dark.css +5 -5
  40. package/styles/daterangepicker/bootstrap.css +6 -1
  41. package/styles/daterangepicker/bootstrap4.css +3 -2
  42. package/styles/daterangepicker/bootstrap5-dark.css +5 -4
  43. package/styles/daterangepicker/bootstrap5.css +4 -3
  44. package/styles/daterangepicker/fabric-dark.css +1 -1
  45. package/styles/daterangepicker/fabric.css +1 -1
  46. package/styles/daterangepicker/fluent-dark.css +33 -9
  47. package/styles/daterangepicker/fluent.css +33 -9
  48. package/styles/daterangepicker/highcontrast-light.css +1 -1
  49. package/styles/daterangepicker/highcontrast.css +1 -1
  50. package/styles/daterangepicker/material-dark.css +1 -1
  51. package/styles/daterangepicker/material.css +8 -2
  52. package/styles/daterangepicker/tailwind-dark.css +2 -2
  53. package/styles/daterangepicker/tailwind.css +2 -2
  54. package/styles/fabric-dark.css +16 -6
  55. package/styles/fabric.css +16 -4
  56. package/styles/fluent-dark.css +84 -37
  57. package/styles/fluent.css +84 -37
  58. package/styles/highcontrast-light.css +4 -3
  59. package/styles/highcontrast.css +15 -5
  60. package/styles/material-dark.css +15 -5
  61. package/styles/material.css +20 -4
  62. package/styles/tailwind-dark.css +13 -12
  63. package/styles/tailwind.css +13 -12
package/CHANGELOG.md CHANGED
@@ -2,21 +2,6 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- - `#SF-443337` - The issue "Bigger mode icon in calendar components was slightly bigger than other components" has been resolved.
6
- - `#SF-440324` - The issue "Unable to enter a time value in the TimePicker when the mask is enabled" has been resolved.
7
-
8
- ## 20.4.48 (2023-02-01)
9
-
10
- - `#I426149` - The issue "show method target parameter not works as expected" has been resolved.
11
-
12
- ## 20.4.44 (2023-01-18)
13
-
14
- ### DateRangePicker
15
-
16
- #### Bug Fixes
17
-
18
- - `#I428245` - The issue "selected range changes when we click outside the DateRangePicker component" has been resolved.
19
-
20
5
  ## 19.3.46 (2021-10-19)
21
6
 
22
7
  ### TimePicker
package/README.md CHANGED
@@ -1,36 +1,24 @@
1
- # ej2-react-calendars
1
+ # React Calendars Components
2
2
 
3
- The calendar package contains date and time components such as calendar, date picker, date range picker, date time picker, and time picker. These components come with options to disable dates, restrict selection, and show custom events. It also has documentation and support available under commercial and community licenses. Please visit [www.syncfusion.com](https://www.syncfusion.com/) to get started.
3
+ The [React Calendars](https://www.syncfusion.com/react-components/react-calendar?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm) package contains date and time components such as calendar, date picker, date range picker, date time picker, and time picker. These components come with options to disable dates, restrict selection, and show custom events.
4
4
 
5
- <p align="center" style="width:400px; margin:0 auto;">
6
- <img src="https://ej2.syncfusion.com/products/images/calendar/readme.gif" alt="Calendar components">
7
- </p>
8
-
9
- > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
10
-
11
- > A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
12
-
13
- ## Setup
5
+ ## What's Included in the React Calendars Package
14
6
 
15
- To install `Calendar` and its dependent packages, use the following command.
16
-
17
- ```sh
18
- npm install @syncfusion/ej2-react-calendars
19
- ```
7
+ The [React Calendars](https://www.syncfusion.com/react-components/react-calendar?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm) package includes the following list of components.
20
8
 
21
- ## Components
9
+ ### React Calendar
22
10
 
23
- List of components available in the package:
11
+ The [React Calendar](https://www.syncfusion.com/react-components/react-calendar?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm) component is a graphical user interface component that displays a Gregorian or Islamic Calendar and allows selection of a date.
24
12
 
25
- * [Calendar](#calendar)
26
- * [DatePicker](#datepicker)
27
- * [TimePicker](#timepicker)
28
- * [DateTimePicker](#datetimepicker)
29
- * [DateRangePicker](#daterangepicker)
30
-
31
- ### Calendar
13
+ <p align="center">
14
+ <a href="https://ej2.syncfusion.com/react/documentation/calendar/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Getting Started</a> .
15
+ <a href="https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/calendar/default">Online demos</a> .
16
+ <a href="https://www.syncfusion.com/react-components/react-calendar?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Learn more</a>
17
+ </p>
32
18
 
33
- The `calendar` is a graphical user interface component that displays a Gregorian Calendar and allows selection of a date.
19
+ <p align="center">
20
+ <img alt="React Calendar Component" src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/react/react-calendar.png">
21
+ </p>
34
22
 
35
23
  #### Key features
36
24
 
@@ -44,34 +32,42 @@ The `calendar` is a graphical user interface component that displays a Gregorian
44
32
  * [Highlight weekends](https://ej2.syncfusion.com/react/documentation/calendar/customization#highlight-weekends) - The calendar supports to highlighting every weekend in a month.
45
33
  * [Globalization](https://ej2.syncfusion.com/react/documentation/calendar/globalization#globalization) - Supports globalization (internationalization and localization) to translate the names of months, days, and the today button text to any supported language.
46
34
 
47
- #### Resources
35
+ ### React DatePicker
48
36
 
49
- * [Getting started](https://ej2.syncfusion.com/react/documentation/calendar/getting-started?utm_source=npm&utm_campaign=calendar#getting-started)
50
- * [API reference](https://ej2.syncfusion.com/react/documentation/api/calendar?utm_source=npm&utm_campaign=calendar)
51
- * [View online demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=calendar#/material/calendar/default)
52
- * [Product page](https://www.syncfusion.com/products/react-ui-components/calendar)
37
+ The [React DatePicker](https://www.syncfusion.com/react-components/react-datepicker?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm) component is a graphical user interface component that allows selection or entry of a date value.
53
38
 
54
- ### DatePicker
39
+ <p align="center">
40
+ <a href="https://ej2.syncfusion.com/react/documentation/datepicker/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Getting Started</a> .
41
+ <a href="https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/datepicker/default">Online demos</a> .
42
+ <a href="https://www.syncfusion.com/react-components/react-datepicker?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Learn more</a>
43
+ </p>
55
44
 
56
- The `date picker` is a graphical user interface component that allows selection or entry of a date value.
45
+ <p align="center">
46
+ <img alt="React DatePicker Component" src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/react/react-datepicker.png">
47
+ </p>
57
48
 
58
49
  #### Key features
59
50
 
60
- The date picker is inherited from the calendar component. So, all the key features of calendar can be accessed in the date picker component. Additionally, it has some specific features such as `date format` and `strict mode`.
61
-
62
- * [Date format](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=datepicker#/material/datepicker/date-format) - The date picker control’s input value can be custom formatted apart from the default culture’s specific date format.
63
- * [Strict mode](https://ej2.syncfusion.com/react/documentation/datepicker/strict-mode?utm_source=npm&utm_campaign=datepicker) - The strictMode is an act that allows entry only of valid dates within the specified min or max range in a text box.
51
+ * [Placeholders](https://ej2.syncfusion.com/react/documentation/datepicker/how-to/set-the-placeholder) - Placeholder is a hint text that is displayed in the DatePicker; it is used to indicate the format of the date that the user should enter, such as mm/dd/yyyy or dd/mm/yyyy.
52
+ * [Mask date input](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/datepicker/input-mask) - The mask date input restricts the user from typing unwanted characters in the text input, allowing only eligible date format to be typed.
53
+ * [Disabled date](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/datepicker/disabled) - To disable a specific date in the picker calendar and restrict it from being set or selected in the DatePicker.
54
+ * [Date format](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/datepicker/date-format) - The DatePicker control’s input value can be custom formatted apart from the default culture’s specific date format.
55
+ * [Incomplete date validation](https://ej2.syncfusion.com/react/documentation/datepicker/strict-mode?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm) - The strictMode is an act that allows entry only of valid dates within the specified min or max range in a text box.
56
+ * [Globalization](https://ej2.syncfusion.com/react/documentation/datepicker/globalization?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm) - Support globalization (also known as internationalization and localization) to allow you to translate the names of months, days, and other text elements in the calendar to any supported language. This can be useful in cases where you want to display the calendar in a language other than the default language.
64
57
 
65
- #### Resources
58
+ ### React TimePicker
66
59
 
67
- * [Getting started](https://ej2.syncfusion.com/react/documentation/datepicker/getting-started?utm_source=npm&utm_campaign=datepicker#getting-started)
68
- * [API reference](https://ej2.syncfusion.com/react/documentation/api/datepicker?utm_source=npm&utm_campaign=datepicker)
69
- * [View online demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=datepicker#/material/datepicker/default)
70
- * [Product page](https://www.syncfusion.com/products/react-ui-components/datepicker)
60
+ The [React TimePicker](https://www?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm.syncfusion.com/react-components/react-timepicker) component is a simple and intuitive interface component that allows selection of a time value from the popup list or setting a desired time value.
71
61
 
72
- ### TimePicker
62
+ <p align="center">
63
+ <a href="https://ej2.syncfusion.com/react/documentation/timepicker/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Getting Started</a> .
64
+ <a href="https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/timepicker/default">Online demos</a> .
65
+ <a href="https://www?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm.syncfusion.com/react-components/react-timepicker">Learn more</a>
66
+ </p>
73
67
 
74
- `Time picker` is a simple and intuitive interface component that allows selection of a time value from the popup list or setting a desired time value.
68
+ <p align="center">
69
+ <img alt="React TimePicker Component" src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/react/react-timepicker.png">
70
+ </p>
75
71
 
76
72
  #### Key features
77
73
 
@@ -82,36 +78,42 @@ The date picker is inherited from the calendar component. So, all the key featur
82
78
  * [Time intervals](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=timepicker#/material/timepicker/list-formatting) - Allows populating the time list with intervals between the times in the popup list to enable selection of proper time value.
83
79
  * [Customization](https://ej2.syncfusion.com/react/documentation/timepicker/how-to/css-customization/#css-customization) - The appearance of the time picker can be customized completely.
84
80
  * [Time list with duration](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=timepicker#/material/timepicker/list-formatting) - Supports customization of the control’s popup list items with time duration.
81
+ * [Mask time input](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/timepicker/input-mask) - The mask time input restricts the user from typing unwanted characters in the text input, allowing only eligible time format to be typed.
85
82
  * [Globalization](https://ej2.syncfusion.com/react/documentation/timepicker/globalization#globalization) - Supports globalization (internationalization and localization) to update time popup list values to match any specified culture.
86
83
 
87
- #### Resources
84
+ ### React DateTimePicker
88
85
 
89
- * [Getting started](https://ej2.syncfusion.com/react/documentation/timepicker/getting-started?utm_source=npm&utm_campaign=timepicker#getting-started)
90
- * [API reference](https://ej2.syncfusion.com/react/documentation/api/timepicker?utm_source=npm&utm_campaign=timepicker)
91
- * [View online demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=timepicker#/material/timepicker/default)
92
- * [Product page](https://www.syncfusion.com/products/react-ui-components/timepicker)
86
+ The [React DateTimePicker](https://www.syncfusion.com/react-components/react-datetime-picker?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm) component is a graphical user interface component that allows an end user to enter or select a date and time values from a pop-up calendar and time list pop-up.
93
87
 
94
- ### DateTimePicker
88
+ <p align="center">
89
+ <a href="https://ej2.syncfusion.com/react/documentation/datetimepicker/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Getting Started</a> .
90
+ <a href="https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/datetimepicker/default">Online demos</a> .
91
+ <a href="https://www.syncfusion.com/react-components/react-datetime-picker?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Learn more</a>
92
+ </p>
95
93
 
96
- The `date time picker` is a graphical user interface component that allows an end user to enter or select a date and time values from a pop-up calendar and time list pop-up.
94
+ <p align="center">
95
+ <img alt="React DateTimePicker Component" src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/react/react-datetimepicker.png">
96
+ </p>
97
97
 
98
98
  #### Key features
99
99
 
100
- The date time picker is inherited from the date picker and time picker component. So, all the key features of the date picker and time picker component can be accessed in the date time picker component. Additionally, it has some specific features such as `Date time range` and `Date time format`, which are described below.
101
-
102
100
  * [DateTime range](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=datetimepicker#/material/datetimepicker/date-time-range) - Restricts the entry or selection of values within a specific range of dates and times by using `min` and `max` properties.
103
101
  * [DateTime format](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=datetimepicker#/material/datetimepicker/date-time-format) - The control’s input value can be custom formatted apart from the default culture’s specific date time format.
102
+ * [Mask date time input](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/datetimepicker/input-mask) - The mask date time input restricts the user from typing unwanted characters in the text input, allowing only eligible date and time format to be typed.
104
103
 
105
- #### Resources
104
+ ### React DateRangePicker
106
105
 
107
- * [Getting started](https://ej2.syncfusion.com/react/documentation/datetimepicker/getting-started?utm_source=npm&utm_campaign=datetimepicker#getting-started)
108
- * [API reference](https://ej2.syncfusion.com/react/documentation/api/datetimepicker?utm_source=npm&utm_campaign=datetimepicker)
109
- * [View online demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=datetimepicker#/material/datetimepicker/default)
110
- * [Product page](https://www.syncfusion.com/products/react-ui-components/datetimepicker)
106
+ The [React DateRangePicker](https://www.syncfusion.com/react-components/react-daterangepicker?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm) component is a graphical user interface control that allows an end user to select start and end date values as a range from a calendar pop-up or by entering the value directly in the input element.
111
107
 
112
- ### DateRangePicker
108
+ <p align="center">
109
+ <a href="https://ej2.syncfusion.com/react/documentation/daterangepicker/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Getting Started</a> .
110
+ <a href="https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm#/bootstrap5/daterangepicker/default">Online demos</a> .
111
+ <a href="https://www.syncfusion.com/react-components/react-daterangepicker?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm">Learn more</a>
112
+ </p>
113
113
 
114
- The `date range picker` is a graphical user interface control that allows an end user to select start and end date values as a range from a calendar pop-up or by entering the value directly in the input element.
114
+ <p align="center">
115
+ <img alt="React DateRangePicker Component" src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/react/react-daterangepicker.png">
116
+ </p>
115
117
 
116
118
  #### Key features
117
119
 
@@ -124,37 +126,48 @@ The `date range picker` is a graphical user interface control that allows an end
124
126
  * [Format](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=daterangepicker#/material/daterangepicker/date-format) - The control’s input value can be custom formatted apart from the default culture’s specific date range format.
125
127
  * [Globalization](https://ej2.syncfusion.com/react/documentation/daterangepicker/globalization#globalization) - Supports globalization (internationalization and localization) to translate the names of months, days, and button text to any supported language.
126
128
 
127
- #### Resources
129
+ <p align="center">
130
+ Trusted by the world's leading companies
131
+ <a href="https://www.syncfusion.com/">
132
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Syncfusion logo">
133
+ </a>
134
+ </p>
135
+
136
+ ## Setup
137
+
138
+ To install `calendars` and its dependent packages, use the following command.
128
139
 
129
- * [Getting started](https://ej2.syncfusion.com/react/documentation/daterangepicker/getting-started?utm_source=npm&utm_campaign=daterangepicker#getting-started)
130
- * [API reference](https://ej2.syncfusion.com/react/documentation/api/daterangepicker?utm_source=npm&utm_campaign=daterangepicker)
131
- * [View online demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=daterangepicker#/material/daterangepicker/default)
132
- * [Product page](https://www.syncfusion.com/products/react-ui-components/daterangepicker)
140
+ ```sh
141
+ npm install @syncfusion/ej2-react-calendars
142
+ ```
133
143
 
134
- ## Supported Frameworks
144
+ ## Supported frameworks
135
145
 
136
- Date time components are also offered in the following list of frameworks.
146
+ Calendar components are also offered in the following list of frameworks.
137
147
 
138
- * [Angular](https://github.com/syncfusion/ej2-angular-ui-components/tree/master/components/calendars?utm_source=npm&utm_campaign=calendars)
139
- * [VueJS](https://github.com/syncfusion/ej2-vue-ui-components/tree/master/components/calendars?utm_source=npm&utm_campaign=calendarss)
140
- * [ASP.NET Core](https://www.syncfusion.com/products/aspnet-core-ui-controls/calendar)
141
- * [ASP.NET MVC](https://www.syncfusion.com/products/aspnet-mvc-ui-controls/calendar)
142
- * [JavaScript](https://www.syncfusion.com/products/javascript-ui-controls/calendar)
148
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/angular.svg" height="50" />](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Angular](https://www.syncfusion.com/angular-components/?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
149
+ | :-----: | :-----: | :-----: | :-----: | :-----: |
143
150
 
144
151
  ## Support
145
152
 
146
153
  Product support is available through the following mediums.
147
154
 
148
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=calendar) support system or [Community forum](https://www.syncfusion.com/forums/react-js2?utm_source=npm&utm_campaign=calendar).
149
- * New [GitHub issue](https://github.com/syncfusion/ej2-react-ui-components/issues/new).
150
- * Ask your queries in Stack Overflow with tag `syncfusion`, `ej2`, and so on.
155
+ * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
156
+ * [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm)
157
+ * [GitHub issues](https://github.com/syncfusion/ej2-react-ui-components/issues/new)
158
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/react?utm_source=npm&utm_medium=listing&utm_campaign=react-calendar-npm)
159
+ * Live chat
151
160
 
152
- ## License
161
+ ## Changelog
153
162
 
154
- Check the license details [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/license).
163
+ Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/components/calendars/CHANGELOG.md). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
155
164
 
156
- ## Changelog
165
+ ## License and copyright
166
+
167
+ > This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [React UI components](https://www.syncfusion.com/react-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
168
+
169
+ > A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
157
170
 
158
- Check the changelog [here](https://github.com/syncfusion/ej2-react-ui-components/blob/master/components/calendars/CHANGELOG.md).
171
+ See [LICNSE FILE](https://github.com/syncfusion/ej2-react-ui-components/blob/master/license) for more info.
159
172
 
160
173
  © Copyright 2023 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-calendars.min.js
3
- * version : 20.4.54
3
+ * version : 21.1.35
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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("SyncfusionCalendars"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionCalendars","React"],e):"object"==typeof exports?exports.SyncfusionReactCalendars=e(require("SyncfusionReactBase"),require("SyncfusionCalendars"),require("React")):t.SyncfusionReactCalendars=e(t.SyncfusionReactBase,t.SyncfusionCalendars,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=13)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";var r=n(8);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(9);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(11);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(10);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";var r=n(12);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(14);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Calendar);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DatePicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={presets:"preset"},n.immediateRender=!1,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DateRangePicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return c});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="preset",e}(r.ComplexBase),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="presets",e.moduleName="presets",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DateTimePicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3);n.d(e,"CalendarComponent",function(){return r.a});var o=n(4);n.d(e,"DatePickerComponent",function(){return o.a});var i=n(7);n.d(e,"TimePickerComponent",function(){return i.a});var c=n(5);n.d(e,"PresetDirective",function(){return c.a}),n.d(e,"PresetsDirective",function(){return c.b}),n.d(e,"DateRangePickerComponent",function(){return c.c});var u=n(6);n.d(e,"DateTimePickerComponent",function(){return u.a});var a=n(0);n.n(a);n.o(a,"Inject")&&n.d(e,"Inject",function(){return a.Inject});var s=n(1);n.n(s);for(var p in s)["CalendarComponent","DatePickerComponent","TimePickerComponent","PresetDirective","PresetsDirective","DateRangePickerComponent","DateTimePickerComponent","Inject","default"].indexOf(p)<0&&function(t){n.d(e,t,function(){return s[t]})}(p)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.TimePicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])}])});
10
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("SyncfusionCalendars"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionCalendars","React"],e):"object"==typeof exports?exports.SyncfusionReactCalendars=e(require("SyncfusionReactBase"),require("SyncfusionCalendars"),require("React")):t.SyncfusionReactCalendars=e(t.SyncfusionReactBase,t.SyncfusionCalendars,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=13)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";var r=n(8);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(9);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(11);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(10);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";var r=n(12);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(14);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Calendar);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DatePicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={presets:"preset"},n.statelessTemplateProps=null,n.immediateRender=!1,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DateRangePicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return c});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="preset",e}(r.ComplexBase),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="presets",e.moduleName="presets",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DateTimePicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3);n.d(e,"CalendarComponent",function(){return r.a});var o=n(4);n.d(e,"DatePickerComponent",function(){return o.a});var i=n(7);n.d(e,"TimePickerComponent",function(){return i.a});var c=n(5);n.d(e,"PresetDirective",function(){return c.a}),n.d(e,"PresetsDirective",function(){return c.b}),n.d(e,"DateRangePickerComponent",function(){return c.c});var u=n(6);n.d(e,"DateTimePickerComponent",function(){return u.a});var s=n(0);n.n(s);n.o(s,"Inject")&&n.d(e,"Inject",function(){return s.Inject});var a=n(1);n.n(a);for(var p in a)["CalendarComponent","DatePickerComponent","TimePickerComponent","PresetDirective","PresetsDirective","DateRangePickerComponent","DateTimePickerComponent","Inject","default"].indexOf(p)<0&&function(t){n.d(e,t,function(){return a[t]})}(p)},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),c=(n.n(i),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),u=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement(r.Fragment,null,[].concat(r.createElement("input",this.getDefaultAttributes()),this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.TimePicker);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])}])});
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-calendars.umd.min.js
3
- * version : 20.4.54
3
+ * version : 21.1.35
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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-calendars"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-calendars","@syncfusion/ej2-react-base"],t):t(e.ej={},e.React,e.ej2Calendars,e.ej2ReactBase)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return o(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Calendar);r.applyMixins(i,[r.ComponentBase,t.Component]);var c=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return c(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DatePicker);r.applyMixins(a,[r.ComponentBase,t.Component]);var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return s(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.TimePicker);r.applyMixins(p,[r.ComponentBase,t.Component]);var u=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.moduleName="preset",t}(r.ComplexBase),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.propertyName="presets",t.moduleName="presets",t}(r.ComplexBase),d=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={presets:"preset"},n.immediateRender=!1,n.portals=[],n}return d(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DateRangePicker);r.applyMixins(h,[r.ComponentBase,t.Component]);var y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.immediateRender=!0,n.portals=[],n}return y(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DateTimePicker);r.applyMixins(m,[r.ComponentBase,t.Component]),e.Inject=r.Inject,e.CalendarComponent=i,e.DatePickerComponent=a,e.TimePickerComponent=p,e.PresetDirective=l,e.PresetsDirective=f,e.DateRangePickerComponent=h,e.DateTimePickerComponent=m,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-calendars"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-calendars","@syncfusion/ej2-react-base"],t):t(e.ej={},e.React,e.ej2Calendars,e.ej2ReactBase)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return o(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Calendar);r.applyMixins(i,[r.ComponentBase,t.Component]);var s=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return s(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DatePicker);r.applyMixins(c,[r.ComponentBase,t.Component]);var a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return a(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.TimePicker);r.applyMixins(p,[r.ComponentBase,t.Component]);var l=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.moduleName="preset",t}(r.ComplexBase),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.propertyName="presets",t.moduleName="presets",t}(r.ComplexBase),d=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={presets:"preset"},n.statelessTemplateProps=null,n.immediateRender=!1,n.portals=[],n}return d(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DateRangePicker);r.applyMixins(h,[r.ComponentBase,t.Component]);var y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return y(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DateTimePicker);r.applyMixins(m,[r.ComponentBase,t.Component]),e.Inject=r.Inject,e.CalendarComponent=i,e.DatePickerComponent=c,e.TimePickerComponent=p,e.PresetDirective=u,e.PresetsDirective=f,e.DateRangePickerComponent=h,e.DateTimePickerComponent=m,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-react-calendars.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-calendars.umd.min.js","sources":["../src/calendar/calendar.component.js","../src/datepicker/datepicker.component.js","../src/timepicker/timepicker.component.js","../src/daterangepicker/presets-directive.js","../src/daterangepicker/daterangepicker.component.js","../src/datetimepicker/datetimepicker.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Calendar } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React Calendar Component.\n * ```ts\n * <CalendarComponent value={date}></CalendarComponent>\n * ```\n */\nvar CalendarComponent = /** @class */ (function (_super) {\n __extends(CalendarComponent, _super);\n function CalendarComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n CalendarComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return CalendarComponent;\n}(Calendar));\nexport { CalendarComponent };\napplyMixins(CalendarComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DatePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DatePicker Component.\n * ```ts\n * <DatePickerComponent value={date}></DatePickerComponent>\n * ```\n */\nvar DatePickerComponent = /** @class */ (function (_super) {\n __extends(DatePickerComponent, _super);\n function DatePickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DatePickerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return DatePickerComponent;\n}(DatePicker));\nexport { DatePickerComponent };\napplyMixins(DatePickerComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { TimePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React TimePicker Component.\n * ```html\n * <TimePickerComponent value={value}></TimePickerComponent>\n * ```\n */\nvar TimePickerComponent = /** @class */ (function (_super) {\n __extends(TimePickerComponent, _super);\n function TimePickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n TimePickerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return TimePickerComponent;\n}(TimePicker));\nexport { TimePickerComponent };\napplyMixins(TimePickerComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `PresetsDirective` represent a presets of the react daterangepicker.\n * It must be contained in a daterangepicker component(`DateRangePickerComponent`).\n * ```tsx\n * <DateRangePickerComponent id='range'>\n * <PresetsDirective>\n * <PresetDirective label='Last Week' start={new Date('06/07/2018')} end= {new Date('06/01/2018')}></PresetDirective>\n * <PresetDirective label='Last Month' start={new Date('06/07/2018')} end= {new Date('05/07/2018')]></PresetDirective>\n * </PresetsDirective>\n * </DateRangePickerComponent>\n * ```\n */\nvar PresetDirective = /** @class */ (function (_super) {\n __extends(PresetDirective, _super);\n function PresetDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PresetDirective.moduleName = 'preset';\n return PresetDirective;\n}(ComplexBase));\nexport { PresetDirective };\nvar PresetsDirective = /** @class */ (function (_super) {\n __extends(PresetsDirective, _super);\n function PresetsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PresetsDirective.propertyName = 'presets';\n PresetsDirective.moduleName = 'presets';\n return PresetsDirective;\n}(ComplexBase));\nexport { PresetsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DateRangePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DateRangePicker Component.\n * ```ts\n * <DateRangePickerComponent startDate={date} endDate={date}></DateRangePickerComponent>\n * ```\n */\nvar DateRangePickerComponent = /** @class */ (function (_super) {\n __extends(DateRangePickerComponent, _super);\n function DateRangePickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'presets': 'preset' };\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n DateRangePickerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return DateRangePickerComponent;\n}(DateRangePicker));\nexport { DateRangePickerComponent };\napplyMixins(DateRangePickerComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DateTimePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DateTimePicker Component.\n * ```ts\n * <DateTimePickerComponent value={dateTime}></DateTimePickerComponent>\n * ```\n */\nvar DateTimePickerComponent = /** @class */ (function (_super) {\n __extends(DateTimePickerComponent, _super);\n function DateTimePickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DateTimePickerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return DateTimePickerComponent;\n}(DateTimePicker));\nexport { DateTimePickerComponent };\napplyMixins(DateTimePickerComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","CalendarComponent","_super","props","_this","call","initRenderCalled","checkInjectedModules","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Calendar","ej2ReactBase","ComponentBase","React.Component","DatePickerComponent","React.Fragment","DatePicker","TimePickerComponent","TimePicker","PresetDirective","apply","arguments","moduleName","ComplexBase","PresetsDirective","propertyName","DateRangePickerComponent","directivekeys","presets","DateRangePicker","DateTimePickerComponent","DateTimePicker"],"mappings":"8XAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCK,EAAmC,SAAUC,GAE7C,SAASD,EAAkBE,GACvB,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAKxC,OAJAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,iBAAkB,EACxBJ,EAAMK,WACCL,EAWX,OAlBAlB,EAAUe,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H,UAAUW,OAAOL,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBgC,GACTC,kBACFpB,cACYmB,GAA0BlB,gBAAeC"}
1
+ {"version":3,"file":"ej2-react-calendars.umd.min.js","sources":["../src/calendar/calendar.component.js","../src/datepicker/datepicker.component.js","../src/timepicker/timepicker.component.js","../src/daterangepicker/presets-directive.js","../src/daterangepicker/daterangepicker.component.js","../src/datetimepicker/datetimepicker.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Calendar } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React Calendar Component.\n * ```ts\n * <CalendarComponent value={date}></CalendarComponent>\n * ```\n */\nvar CalendarComponent = /** @class */ (function (_super) {\n __extends(CalendarComponent, _super);\n function CalendarComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n CalendarComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return CalendarComponent;\n}(Calendar));\nexport { CalendarComponent };\napplyMixins(CalendarComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DatePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DatePicker Component.\n * ```ts\n * <DatePickerComponent value={date}></DatePickerComponent>\n * ```\n */\nvar DatePickerComponent = /** @class */ (function (_super) {\n __extends(DatePickerComponent, _super);\n function DatePickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DatePickerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return DatePickerComponent;\n}(DatePicker));\nexport { DatePickerComponent };\napplyMixins(DatePickerComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { TimePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React TimePicker Component.\n * ```html\n * <TimePickerComponent value={value}></TimePickerComponent>\n * ```\n */\nvar TimePickerComponent = /** @class */ (function (_super) {\n __extends(TimePickerComponent, _super);\n function TimePickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n TimePickerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return TimePickerComponent;\n}(TimePicker));\nexport { TimePickerComponent };\napplyMixins(TimePickerComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `PresetsDirective` represent a presets of the react daterangepicker.\n * It must be contained in a daterangepicker component(`DateRangePickerComponent`).\n * ```tsx\n * <DateRangePickerComponent id='range'>\n * <PresetsDirective>\n * <PresetDirective label='Last Week' start={new Date('06/07/2018')} end= {new Date('06/01/2018')}></PresetDirective>\n * <PresetDirective label='Last Month' start={new Date('06/07/2018')} end= {new Date('05/07/2018')]></PresetDirective>\n * </PresetsDirective>\n * </DateRangePickerComponent>\n * ```\n */\nvar PresetDirective = /** @class */ (function (_super) {\n __extends(PresetDirective, _super);\n function PresetDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PresetDirective.moduleName = 'preset';\n return PresetDirective;\n}(ComplexBase));\nexport { PresetDirective };\nvar PresetsDirective = /** @class */ (function (_super) {\n __extends(PresetsDirective, _super);\n function PresetsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n PresetsDirective.propertyName = 'presets';\n PresetsDirective.moduleName = 'presets';\n return PresetsDirective;\n}(ComplexBase));\nexport { PresetsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DateRangePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DateRangePicker Component.\n * ```ts\n * <DateRangePickerComponent startDate={date} endDate={date}></DateRangePickerComponent>\n * ```\n */\nvar DateRangePickerComponent = /** @class */ (function (_super) {\n __extends(DateRangePickerComponent, _super);\n function DateRangePickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.directivekeys = { 'presets': 'preset' };\n _this.statelessTemplateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n DateRangePickerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return DateRangePickerComponent;\n}(DateRangePicker));\nexport { DateRangePickerComponent };\napplyMixins(DateRangePickerComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DateTimePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DateTimePicker Component.\n * ```ts\n * <DateTimePickerComponent value={dateTime}></DateTimePickerComponent>\n * ```\n */\nvar DateTimePickerComponent = /** @class */ (function (_super) {\n __extends(DateTimePickerComponent, _super);\n function DateTimePickerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DateTimePickerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n };\n return DateTimePickerComponent;\n}(DateTimePicker));\nexport { DateTimePickerComponent };\napplyMixins(DateTimePickerComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","CalendarComponent","_super","props","_this","call","initRenderCalled","checkInjectedModules","statelessTemplateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Calendar","ej2ReactBase","ComponentBase","React.Component","DatePickerComponent","React.Fragment","DatePicker","TimePickerComponent","TimePicker","PresetDirective","apply","arguments","moduleName","ComplexBase","PresetsDirective","propertyName","DateRangePickerComponent","directivekeys","presets","DateRangePicker","DateTimePickerComponent","DateTimePicker"],"mappings":"8XAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCK,EAAmC,SAAUC,GAE7C,SAASD,EAAkBE,GACvB,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAMxC,OALAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,uBAAyB,KAC/BJ,EAAMK,iBAAkB,EACxBL,EAAMM,WACCN,EAWX,OAnBAlB,EAAUe,EAAmBC,GAU7BD,EAAkBF,UAAUY,OAAS,WACjC,KAAMd,KAAKe,UAAYf,KAAKS,kBAAqBT,KAAKgB,aAAgBhB,KAAKiB,oBAKvE,OAAOC,gBAAoB,MAAOlB,KAAKmB,0BAA2BC,OAAOpB,KAAKM,MAAMe,SAAUrB,KAAKa,UAJnGR,EAAOH,UAAUY,OAAON,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBL,GACTkB,YACFC,cACYnB,GAAoBoB,gBAAeC,cC7C/C,IAAIpC,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2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B,cACYe,GAA2Bd,gBAAeC,cC9CtD,IAAIpC,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxC2C,EAAyC,SAAUrC,GAEnD,SAASqC,EAAwBpC,GAC7B,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAMxC,OALAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,uBAAyB,KAC/BJ,EAAMK,iBAAkB,EACxBL,EAAMM,WACCN,EAWX,OAnBAlB,EAAUqD,EAAyBrC,GAUnCqC,EAAwBxC,UAAUY,OAAS,WACvC,KAAMd,KAAKe,UAAYf,KAAKS,kBAAqBT,KAAKgB,aAAgBhB,KAAKiB,oBAKvE,OAAOC,gBAAoBS,WAAgB,QAASP,OAAOF,gBAAoB,QAASlB,KAAKmB,wBAAyBnB,KAAKa,UAJ3HR,EAAOH,UAAUY,OAAON,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBiC,GACTC,kBACFpB,cACYmB,GAA0BlB,gBAAeC"}
@@ -13,6 +13,7 @@ class CalendarComponent extends Calendar {
13
13
  super(props);
14
14
  this.initRenderCalled = false;
15
15
  this.checkInjectedModules = true;
16
+ this.statelessTemplateProps = null;
16
17
  this.immediateRender = true;
17
18
  this.portals = [];
18
19
  }
@@ -39,6 +40,7 @@ class DatePickerComponent extends DatePicker {
39
40
  super(props);
40
41
  this.initRenderCalled = false;
41
42
  this.checkInjectedModules = true;
43
+ this.statelessTemplateProps = null;
42
44
  this.immediateRender = true;
43
45
  this.portals = [];
44
46
  }
@@ -65,6 +67,7 @@ class TimePickerComponent extends TimePicker {
65
67
  super(props);
66
68
  this.initRenderCalled = false;
67
69
  this.checkInjectedModules = true;
70
+ this.statelessTemplateProps = null;
68
71
  this.immediateRender = true;
69
72
  this.portals = [];
70
73
  }
@@ -112,6 +115,7 @@ class DateRangePickerComponent extends DateRangePicker {
112
115
  this.initRenderCalled = false;
113
116
  this.checkInjectedModules = false;
114
117
  this.directivekeys = { 'presets': 'preset' };
118
+ this.statelessTemplateProps = null;
115
119
  this.immediateRender = false;
116
120
  this.portals = [];
117
121
  }
@@ -138,6 +142,7 @@ class DateTimePickerComponent extends DateTimePicker {
138
142
  super(props);
139
143
  this.initRenderCalled = false;
140
144
  this.checkInjectedModules = true;
145
+ this.statelessTemplateProps = null;
141
146
  this.immediateRender = true;
142
147
  this.portals = [];
143
148
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-calendars.es2015.js","sources":["../src/es6/calendar/calendar.component.js","../src/es6/datepicker/datepicker.component.js","../src/es6/timepicker/timepicker.component.js","../src/es6/daterangepicker/presets-directive.js","../src/es6/daterangepicker/daterangepicker.component.js","../src/es6/datetimepicker/datetimepicker.component.js"],"sourcesContent":["import * as React from 'react';\nimport { Calendar } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React Calendar Component.\n * ```ts\n * <CalendarComponent value={date}></CalendarComponent>\n * ```\n */\nexport class CalendarComponent extends Calendar {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(CalendarComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { DatePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DatePicker Component.\n * ```ts\n * <DatePickerComponent value={date}></DatePickerComponent>\n * ```\n */\nexport class DatePickerComponent extends DatePicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(DatePickerComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { TimePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React TimePicker Component.\n * ```html\n * <TimePickerComponent value={value}></TimePickerComponent>\n * ```\n */\nexport class TimePickerComponent extends TimePicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(TimePickerComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `PresetsDirective` represent a presets of the react daterangepicker.\n * It must be contained in a daterangepicker component(`DateRangePickerComponent`).\n * ```tsx\n * <DateRangePickerComponent id='range'>\n * <PresetsDirective>\n * <PresetDirective label='Last Week' start={new Date('06/07/2018')} end= {new Date('06/01/2018')}></PresetDirective>\n * <PresetDirective label='Last Month' start={new Date('06/07/2018')} end= {new Date('05/07/2018')]></PresetDirective>\n * </PresetsDirective>\n * </DateRangePickerComponent>\n * ```\n */\nexport class PresetDirective extends ComplexBase {\n}\nPresetDirective.moduleName = 'preset';\nexport class PresetsDirective extends ComplexBase {\n}\nPresetsDirective.propertyName = 'presets';\nPresetsDirective.moduleName = 'presets';\n","import * as React from 'react';\nimport { DateRangePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DateRangePicker Component.\n * ```ts\n * <DateRangePickerComponent startDate={date} endDate={date}></DateRangePickerComponent>\n * ```\n */\nexport class DateRangePickerComponent extends DateRangePicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'presets': 'preset' };\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(DateRangePickerComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { DateTimePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DateTimePicker Component.\n * ```ts\n * <DateTimePickerComponent value={dateTime}></DateTimePickerComponent>\n * ```\n */\nexport class DateTimePickerComponent extends DateTimePicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(DateTimePickerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component","React.Fragment"],"mappings":";;;;AAGA;;;;;;AAMA,AAAO,MAAM,iBAAiB,SAAS,QAAQ,CAAC;IAC5C,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,iBAAiB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;ACxBjE;;;;;;AAMA,AAAO,MAAM,mBAAmB,SAAS,UAAU,CAAC;IAChD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;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AAC;;ACzBxE;;;;;;AAMA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;IACxD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOD,aAAmB,CAACE,QAAc,EAAE,IAAI,EAAE,EAAE,CAAC,MAAM,CAACF,aAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SACxI;KACJ;CACJ;AACD,WAAW,CAAC,uBAAuB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;;"}
1
+ {"version":3,"file":"ej2-react-calendars.es2015.js","sources":["../src/es6/calendar/calendar.component.js","../src/es6/datepicker/datepicker.component.js","../src/es6/timepicker/timepicker.component.js","../src/es6/daterangepicker/presets-directive.js","../src/es6/daterangepicker/daterangepicker.component.js","../src/es6/datetimepicker/datetimepicker.component.js"],"sourcesContent":["import * as React from 'react';\nimport { Calendar } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React Calendar Component.\n * ```ts\n * <CalendarComponent value={date}></CalendarComponent>\n * ```\n */\nexport class CalendarComponent extends Calendar {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(CalendarComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { DatePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DatePicker Component.\n * ```ts\n * <DatePickerComponent value={date}></DatePickerComponent>\n * ```\n */\nexport class DatePickerComponent extends DatePicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(DatePickerComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { TimePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React TimePicker Component.\n * ```html\n * <TimePickerComponent value={value}></TimePickerComponent>\n * ```\n */\nexport class TimePickerComponent extends TimePicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(TimePickerComponent, [ComponentBase, React.Component]);\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `PresetsDirective` represent a presets of the react daterangepicker.\n * It must be contained in a daterangepicker component(`DateRangePickerComponent`).\n * ```tsx\n * <DateRangePickerComponent id='range'>\n * <PresetsDirective>\n * <PresetDirective label='Last Week' start={new Date('06/07/2018')} end= {new Date('06/01/2018')}></PresetDirective>\n * <PresetDirective label='Last Month' start={new Date('06/07/2018')} end= {new Date('05/07/2018')]></PresetDirective>\n * </PresetsDirective>\n * </DateRangePickerComponent>\n * ```\n */\nexport class PresetDirective extends ComplexBase {\n}\nPresetDirective.moduleName = 'preset';\nexport class PresetsDirective extends ComplexBase {\n}\nPresetsDirective.propertyName = 'presets';\nPresetsDirective.moduleName = 'presets';\n","import * as React from 'react';\nimport { DateRangePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DateRangePicker Component.\n * ```ts\n * <DateRangePickerComponent startDate={date} endDate={date}></DateRangePickerComponent>\n * ```\n */\nexport class DateRangePickerComponent extends DateRangePicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.directivekeys = { 'presets': 'preset' };\n this.statelessTemplateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(DateRangePickerComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { DateTimePicker } from '@syncfusion/ej2-calendars';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents the Essential JS 2 React DateTimePicker Component.\n * ```ts\n * <DateTimePickerComponent value={dateTime}></DateTimePickerComponent>\n * ```\n */\nexport class DateTimePickerComponent extends DateTimePicker {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement(React.Fragment, null, [].concat(React.createElement(\"input\", this.getDefaultAttributes()), this.portals));\n }\n }\n}\napplyMixins(DateTimePickerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component","React.Fragment"],"mappings":";;;;AAGA;;;;;;AAMA,AAAO,MAAM,iBAAiB,SAAS,QAAQ,CAAC;IAC5C,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,iBAAiB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAA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