@syncfusion/ej2-calendars 30.1.37 → 31.1.17

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 (53) hide show
  1. package/.eslintrc.json +263 -0
  2. package/dist/ej2-calendars.min.js +1 -1
  3. package/dist/ej2-calendars.umd.min.js +1 -1
  4. package/dist/global/ej2-calendars.min.js +1 -1
  5. package/dist/global/index.d.ts +1 -1
  6. package/dist/ts/calendar/calendar-model.d.ts +340 -0
  7. package/dist/ts/calendar/calendar.d.ts +733 -0
  8. package/dist/ts/calendar/calendar.ts +3009 -0
  9. package/dist/ts/calendar/index.d.ts +6 -0
  10. package/dist/ts/calendar/index.ts +6 -0
  11. package/dist/ts/calendar/islamic.d.ts +28 -0
  12. package/dist/ts/calendar/islamic.ts +597 -0
  13. package/dist/ts/common/index.d.ts +5 -0
  14. package/dist/ts/common/index.ts +5 -0
  15. package/dist/ts/common/maskplaceholder-model.d.ts +57 -0
  16. package/dist/ts/common/maskplaceholder.d.ts +45 -0
  17. package/dist/ts/common/maskplaceholder.ts +54 -0
  18. package/dist/ts/datepicker/datepicker-model.d.ts +364 -0
  19. package/dist/ts/datepicker/datepicker.d.ts +583 -0
  20. package/dist/ts/datepicker/datepicker.ts +2528 -0
  21. package/dist/ts/datepicker/index.d.ts +5 -0
  22. package/dist/ts/datepicker/index.ts +5 -0
  23. package/dist/ts/daterangepicker/daterangepicker-model.d.ts +496 -0
  24. package/dist/ts/daterangepicker/daterangepicker.d.ts +857 -0
  25. package/dist/ts/daterangepicker/daterangepicker.ts +5096 -0
  26. package/dist/ts/daterangepicker/index.d.ts +5 -0
  27. package/dist/ts/daterangepicker/index.ts +5 -0
  28. package/dist/ts/datetimepicker/datetimepicker-model.d.ts +479 -0
  29. package/dist/ts/datetimepicker/datetimepicker.d.ts +626 -0
  30. package/dist/ts/datetimepicker/datetimepicker.ts +2212 -0
  31. package/dist/ts/datetimepicker/index.d.ts +5 -0
  32. package/dist/ts/datetimepicker/index.ts +5 -0
  33. package/dist/ts/index.d.ts +9 -0
  34. package/dist/ts/index.ts +9 -0
  35. package/dist/ts/maskbase/index.d.ts +5 -0
  36. package/dist/ts/maskbase/index.ts +5 -0
  37. package/dist/ts/maskbase/interface.d.ts +28 -0
  38. package/dist/ts/maskbase/interface.ts +29 -0
  39. package/dist/ts/maskbase/masked-date-time.d.ts +77 -0
  40. package/dist/ts/maskbase/masked-date-time.ts +1013 -0
  41. package/dist/ts/timepicker/index.d.ts +5 -0
  42. package/dist/ts/timepicker/index.ts +5 -0
  43. package/dist/ts/timepicker/timepicker-model.d.ts +393 -0
  44. package/dist/ts/timepicker/timepicker.d.ts +681 -0
  45. package/dist/ts/timepicker/timepicker.ts +2944 -0
  46. package/package.json +59 -16
  47. package/styles/daterangepicker/_fluent2-definition.scss +2 -1
  48. package/styles/daterangepicker/fluent2.css +2 -1
  49. package/styles/datetimepicker/_fluent2-definition.scss +1 -1
  50. package/styles/datetimepicker/fluent2.css +1 -1
  51. package/styles/fluent2-lite.css +3 -2
  52. package/styles/fluent2.css +3 -2
  53. package/tslint.json +111 -0
package/.eslintrc.json ADDED
@@ -0,0 +1,263 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2021": true
5
+ },
6
+ "extends": [
7
+ "eslint:recommended",
8
+ "plugin:@typescript-eslint/recommended",
9
+ "plugin:jsdoc/recommended",
10
+ "plugin:security/recommended"
11
+ ],
12
+ "parser": "@typescript-eslint/parser",
13
+ "parserOptions": {
14
+ "ecmaFeatures": { "js": true },
15
+ "ecmaVersion": 2018,
16
+ "project": "./tsconfig.json",
17
+ "sourceType": "module"
18
+ },
19
+ "ignorePatterns": ["*.d.ts", "*.js"],
20
+ "plugins": [
21
+ "@typescript-eslint",
22
+ "@typescript-eslint/tslint",
23
+ "eslint-plugin-security",
24
+ "jsdoc"
25
+ ],
26
+ "rules": {
27
+ "use-isnan": "error",
28
+ "security/detect-unsafe-regex":"error",
29
+ "security/detect-buffer-noassert":"error",
30
+ "security/detect-child-process":"error",
31
+ "security/detect-disable-mustache-escape":"error",
32
+ "security/detect-eval-with-expression":"error",
33
+ "security/detect-no-csrf-before-method-override":"error",
34
+ "security/detect-non-literal-fs-filename":"error",
35
+ "security/detect-non-literal-regexp":"error",
36
+ "security/detect-non-literal-require":"error",
37
+ "security/detect-object-injection":"error",
38
+ "security/detect-possible-timing-attacks":"error",
39
+ "security/detect-pseudoRandomBytes":"error",
40
+ "security/detect-new-buffer":"error",
41
+ "security/detect-bidi-characters":"error",
42
+ "no-prototype-builtins": "warn",
43
+ "no-extend-native": ["warn"],
44
+ "@typescript-eslint/no-inferrable-types": "off",
45
+ "@typescript-eslint/ban-types": ["warn", {
46
+ "types": {
47
+ "Object": false,
48
+ "object": false,
49
+ "{}": false,
50
+ "Function": false
51
+ }
52
+ }],
53
+ "jsdoc/check-tag-names": 0,
54
+ "@typescript-eslint/tslint/config": [
55
+ "error",
56
+ {
57
+ "rules": {
58
+ "ban": true,
59
+ "chai-vague-errors": true,
60
+ "max-func-body-length": [
61
+ true,
62
+ 120,
63
+ {
64
+ "ignore-parameters-to-function-regex": "describe"
65
+ }
66
+ ],
67
+ "missing-jsdoc": true,
68
+ "no-backbone-get-set-outside-model": false,
69
+ "no-cookies": false,
70
+ "no-delete-expression": false,
71
+ "no-disable-auto-sanitization": true,
72
+ "no-duplicate-case": true,
73
+ "no-duplicate-parameter-names": true,
74
+ "no-empty-interfaces": false,
75
+ "no-exec-script": true,
76
+ "no-function-expression": false,
77
+ "no-multiple-var-decl": false,
78
+ "no-string-based-set-immediate": false,
79
+ "no-string-based-set-interval": false,
80
+ "no-unnecessary-bind": false,
81
+ "no-unused-imports": true,
82
+ "no-with-statement": false,
83
+ "prefer-array-literal": false,
84
+ "typedef": [
85
+ true,
86
+ "call-signature",
87
+ "parameter",
88
+ "property-declaration",
89
+ "variable-declaration",
90
+ "arrow-parameter",
91
+ "member-variable-declaration"
92
+ ],
93
+ "use-named-parameter": false,
94
+ "valid-typeof": true,
95
+ "whitespace": [
96
+ true,
97
+ "check-branch",
98
+ "check-decl",
99
+ "check-operator",
100
+ "check-separator",
101
+ "check-type"
102
+ ]
103
+ }
104
+ }
105
+ ],
106
+ "no-control-regex": "error",
107
+ "no-constant-condition": "error",
108
+ "no-invalid-regexp": "error",
109
+ "curly": "error",
110
+ "eol-last": [
111
+ "error",
112
+ "always"
113
+ ],
114
+ "guard-for-in": "error",
115
+ "no-labels": "error",
116
+ "max-len": [
117
+ "error",
118
+ {
119
+ "code": 140,
120
+ "tabWidth": 4,
121
+ "ignoreComments": true,
122
+ "ignoreStrings": true,
123
+ "ignoreTemplateLiterals": true,
124
+ "ignoreRegExpLiterals": true
125
+ }
126
+ ],
127
+ "no-console": [
128
+ "error",
129
+ {
130
+ "allow": [
131
+ "warn",
132
+ "dir",
133
+ "timeLog",
134
+ "assert",
135
+ "clear",
136
+ "count",
137
+ "countReset",
138
+ "group",
139
+ "groupEnd",
140
+ "table",
141
+ "dirxml",
142
+ "error",
143
+ "groupCollapsed",
144
+ "Console",
145
+ "profile",
146
+ "profileEnd",
147
+ "timeStamp",
148
+ "context"
149
+ ]
150
+ }
151
+ ],
152
+ "no-redeclare": [
153
+ "error",
154
+ {
155
+ "builtinGlobals": true
156
+ }
157
+ ],
158
+ "@typescript-eslint/no-parameter-properties": "error",
159
+ "@typescript-eslint/indent": [
160
+ "error",
161
+ 4,
162
+ {
163
+ "CallExpression": {
164
+ "arguments": "first"
165
+ },
166
+ "FunctionDeclaration": {
167
+ "parameters": "first"
168
+ },
169
+ "FunctionExpression": {
170
+ "parameters": "first"
171
+ }
172
+ }
173
+ ],
174
+ "no-debugger": "error",
175
+ "no-eval": "error",
176
+ "no-extra-semi": "error",
177
+ "no-throw-literal": "error",
178
+ "no-fallthrough": "error",
179
+ "comma-dangle": [
180
+ "error",
181
+ "never"
182
+ ],
183
+ "no-trailing-spaces": "error",
184
+ "@typescript-eslint/no-unused-expressions": "error",
185
+ "@typescript-eslint/no-var-requires": "error",
186
+ "one-var": [
187
+ "error",
188
+ "never"
189
+ ],
190
+ "@typescript-eslint/no-explicit-any": "warn",
191
+ "no-cond-assign": [
192
+ "error",
193
+ "always"
194
+ ],
195
+ "@typescript-eslint/consistent-type-assertions": "off",
196
+ "jsdoc/check-alignment": "error",
197
+ "no-empty": "error",
198
+ "quotes": [
199
+ "error",
200
+ "single"
201
+ ],
202
+ "semi": [
203
+ "error",
204
+ "always"
205
+ ],
206
+ "eqeqeq": [
207
+ "error",
208
+ "smart"
209
+ ],
210
+ "valid-typeof": [
211
+ "error",
212
+ {
213
+ "requireStringLiterals": true
214
+ }
215
+ ],
216
+ "camelcase": [
217
+ "error",
218
+ {
219
+ "properties": "always",
220
+ "ignoreDestructuring": true,
221
+ "ignoreImports": true
222
+ }
223
+ ],
224
+ "no-irregular-whitespace": [
225
+ "error",
226
+ {
227
+ "skipStrings": true,
228
+ "skipComments": true,
229
+ "skipRegExps": true,
230
+ "skipTemplates": true
231
+ }
232
+ ],
233
+ "valid-jsdoc": [
234
+ "error",
235
+ {
236
+ "prefer": {
237
+ "arg": "param",
238
+ "argument": "param",
239
+ "class": "constructor",
240
+ "return": "returns",
241
+ "virtual": "abstract"
242
+ }
243
+ }
244
+ ],
245
+ "no-var": "error",
246
+ "radix": "error"
247
+ },
248
+ "reportUnusedDisableDirectives": true,
249
+ "overrides": [
250
+ {
251
+ "files": [
252
+ "node_modules",
253
+ "dist",
254
+ "public",
255
+ "coverage",
256
+ "test-report"
257
+ ],
258
+ "rules": {
259
+ "no-unused-expressions": "off"
260
+ }
261
+ }
262
+ ]
263
+ }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-calendars.min.js
3
- * version : 30.1.37
3
+ * version : 31.1.17
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-calendars.umd.min.js
3
- * version : 30.1.37
3
+ * version : 31.1.17
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-calendars.min.js
3
- * version : 30.1.37
3
+ * version : 31.1.17
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 30.1.37
3
+ * version : 31.1.17
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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
@@ -0,0 +1,340 @@
1
+ import { Component, EventHandler, Internationalization, ModuleDeclaration } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, KeyboardEvents, L10n, SwipeEventArgs } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, KeyboardEventArgs, BaseEventArgs } from '@syncfusion/ej2-base';import { cldrData, getDefaultDateObject, rippleEffect } from '@syncfusion/ej2-base';import { removeClass, detach, closest, addClass, attributes } from '@syncfusion/ej2-base';import { getValue, getUniqueID, extend, Browser } from '@syncfusion/ej2-base';import { Property, Event, EmitType, isNullOrUndefined, throwError } from '@syncfusion/ej2-base';import { Islamic, IslamicDateArgs } from './index';
2
+ import {CalendarType,CalendarView,WeekRule,DayHeaderFormats,NavigatedEventArgs,RenderDayCellEventArgs,ChangedEventArgs} from "./calendar";
3
+ import {ComponentModel} from '@syncfusion/ej2-base';
4
+
5
+ /**
6
+ * Interface for a class CalendarBase
7
+ * @private
8
+ */
9
+ export interface CalendarBaseModel extends ComponentModel{
10
+
11
+ /**
12
+ * Gets or sets the minimum date that can be selected in the Calendar.
13
+ *
14
+ * @default new Date(1900, 00, 01)
15
+ * @deprecated
16
+ */
17
+ min?: Date;
18
+
19
+ /**
20
+ * Specifies the component to be disabled or not.
21
+ *
22
+ * @default true
23
+ */
24
+ enabled?: boolean;
25
+
26
+ /**
27
+ * Specifies the root CSS class of the Calendar that allows to
28
+ * customize the appearance by overriding the styles.
29
+ *
30
+ * @default null
31
+ */
32
+ cssClass?: string;
33
+
34
+ /**
35
+ * Gets or sets the maximum date that can be selected in the Calendar.
36
+ *
37
+ * @default new Date(2099, 11, 31)
38
+ * @deprecated
39
+ */
40
+ max?: Date;
41
+
42
+ /**
43
+ * Gets or sets the Calendar's first day of the week. By default, the first day of the week will be based on the current culture.
44
+ *
45
+ * @default 0
46
+ * @aspType int
47
+ * @deprecated
48
+ * > For more details about firstDayOfWeek refer to
49
+ * [`First day of week`](../../calendar/how-to/first-day-of-week#change-the-first-day-of-the-week) documentation.
50
+ */
51
+ firstDayOfWeek?: number;
52
+
53
+ /**
54
+ * Gets or sets the Calendar's Type like gregorian or islamic.
55
+ *
56
+ * @default Gregorian
57
+ * @deprecated
58
+ */
59
+ calendarMode?: CalendarType;
60
+
61
+ /**
62
+ * Specifies the initial view of the Calendar when it is opened.
63
+ * With the help of this property, initial view can be changed to year or decade view.
64
+ *
65
+ * @default Month
66
+ * @deprecated
67
+ *
68
+ * <table>
69
+ * <tr>
70
+ * <td colSpan=1 rowSpan=1>
71
+ * View<br/></td><td colSpan=1 rowSpan=1>
72
+ * Description<br/></td></tr>
73
+ * <tr>
74
+ * <td colSpan=1 rowSpan=1>
75
+ * Month<br/></td><td colSpan=1 rowSpan=1>
76
+ * Calendar view shows the days of the month.<br/></td></tr>
77
+ * <tr>
78
+ * <td colSpan=1 rowSpan=1>
79
+ * Year<br/></td><td colSpan=1 rowSpan=1>
80
+ * Calendar view shows the months of the year.<br/></td></tr>
81
+ * <tr>
82
+ * <td colSpan=1 rowSpan=1>
83
+ * Decade<br/></td><td colSpan=1 rowSpan=1>
84
+ * Calendar view shows the years of the decade.<br/></td></tr>
85
+ * </table>
86
+ *
87
+ * > For more details about start refer to
88
+ * [`calendarView`](../../calendar/calendar-views#view-restriction)documentation.
89
+ */
90
+ start?: CalendarView;
91
+
92
+ /**
93
+ * Sets the maximum level of view such as month, year, and decade in the Calendar.
94
+ * Depth view should be smaller than the start view to restrict its view navigation.
95
+ *
96
+ * @default Month
97
+ * @deprecated
98
+ *
99
+ * <table>
100
+ * <tr>
101
+ * <td colSpan=1 rowSpan=1>
102
+ * view<br/></td><td colSpan=1 rowSpan=1>
103
+ * Description<br/></td></tr>
104
+ * <tr>
105
+ * <td colSpan=1 rowSpan=1>
106
+ * Month<br/></td><td colSpan=1 rowSpan=1>
107
+ * Calendar view shows up to the days of the month.<br/></td></tr>
108
+ * <tr>
109
+ * <td colSpan=1 rowSpan=1>
110
+ * Year<br/></td><td colSpan=1 rowSpan=1>
111
+ * Calendar view shows up to the months of the year.<br/></td></tr>
112
+ * <tr>
113
+ * <td colSpan=1 rowSpan=1>
114
+ * Decade<br/></td><td colSpan=1 rowSpan=1>
115
+ * Calendar view shows up to the years of the decade.<br/></td></tr>
116
+ * </table>
117
+ *
118
+ * > For more details about depth refer to
119
+ * [`calendarView`](../../calendar/calendar-views#view-restriction)documentation.
120
+ */
121
+ depth?: CalendarView;
122
+
123
+ /**
124
+ * Determines whether the week number of the year is to be displayed in the calendar or not.
125
+ *
126
+ * @default false
127
+ * @deprecated
128
+ * > For more details about weekNumber refer to
129
+ * [`Calendar with week number`](../../calendar/how-to/render-the-calendar-with-week-numbers)documentation.
130
+ */
131
+ weekNumber?: boolean;
132
+
133
+ /**
134
+ * Specifies the rule for defining the first week of the year.
135
+ *
136
+ * @default FirstDay
137
+ */
138
+ weekRule?: WeekRule;
139
+
140
+ /**
141
+      * Specifies whether the today button is to be displayed or not.
142
+ *
143
+      * @default true
144
+ * @deprecated
145
+      */
146
+ showTodayButton?: boolean;
147
+
148
+ /**
149
+ * Specifies the format of the day that to be displayed in header. By default, the format is ‘short’.
150
+ * Possible formats are:
151
+ * * `Short` - Sets the short format of day name (like Su ) in day header.
152
+ * * `Narrow` - Sets the single character of day name (like S ) in day header.
153
+ * * `Abbreviated` - Sets the min format of day name (like Sun ) in day header.
154
+ * * `Wide` - Sets the long format of day name (like Sunday ) in day header.
155
+ *
156
+ * @default Short
157
+ * @deprecated
158
+ */
159
+ dayHeaderFormat?: DayHeaderFormats;
160
+
161
+ /**
162
+      * Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted.
163
+ * 1. value
164
+ *
165
+      * @default false
166
+ * @deprecated
167
+      */
168
+ enablePersistence?: boolean;
169
+
170
+ /**
171
+ * Customizes the key actions in Calendar.
172
+ * For example, when using German keyboard, the key actions can be customized using these shortcuts.
173
+ *
174
+ * <table>
175
+ * <tr>
176
+ * <td colSpan=1 rowSpan=1>
177
+ * Key action<br/></td><td colSpan=1 rowSpan=1>
178
+ * Key<br/></td></tr>
179
+ * <tr>
180
+ * <td colSpan=1 rowSpan=1>
181
+ * controlUp<br/></td><td colSpan=1 rowSpan=1>
182
+ * ctrl+38<br/></td></tr>
183
+ * <tr>
184
+ * <td colSpan=1 rowSpan=1>
185
+ * controlDown<br/></td><td colSpan=1 rowSpan=1>
186
+ * ctrl+40<br/></td></tr>
187
+ * <tr>
188
+ * <td colSpan=1 rowSpan=1>
189
+ * select<br/></td><td colSpan=1 rowSpan=1>
190
+ * enter<br/></td></tr>
191
+ * <tr>
192
+ * <td colSpan=1 rowSpan=1>
193
+ * home<br/></td><td colSpan=1 rowSpan=1>
194
+ * home<br/></td></tr>
195
+ * <tr>
196
+ * <td colSpan=1 rowSpan=1>
197
+ * end<br/></td><td colSpan=1 rowSpan=1>
198
+ * end<br/></td></tr>
199
+ * <tr>
200
+ * <td colSpan=1 rowSpan=1>
201
+ * pageUp<br/></td><td colSpan=1 rowSpan=1>
202
+ * pageup<br/></td></tr>
203
+ * <tr>
204
+ * <td colSpan=1 rowSpan=1>
205
+ * pageDown<br/></td><td colSpan=1 rowSpan=1>
206
+ * pagedown<br/></td></tr>
207
+ * <tr>
208
+ * <td colSpan=1 rowSpan=1>
209
+ * shiftPageUp<br/></td><td colSpan=1 rowSpan=1>
210
+ * shift+pageup<br/></td></tr>
211
+ * <tr>
212
+ * <td colSpan=1 rowSpan=1>
213
+ * shiftPageDown<br/></td><td colSpan=1 rowSpan=1>
214
+ * shift+pagedown<br/></td></tr>
215
+ * <tr>
216
+ * <td colSpan=1 rowSpan=1>
217
+ * controlHome<br/></td><td colSpan=1 rowSpan=1>
218
+ * ctrl+home<br/></td></tr>
219
+ * <tr>
220
+ * <td colSpan=1 rowSpan=1>
221
+ * controlEnd<br/></td><td colSpan=1 rowSpan=1>
222
+ * ctrl+end<br/></td></tr>
223
+ * <tr>
224
+ * <td colSpan=1 rowSpan=1>
225
+ * altUpArrow<br/></td><td colSpan=1 rowSpan=1>
226
+ * alt+uparrow<br/></td></tr>
227
+ * <tr>
228
+ * <td colSpan=1 rowSpan=1>
229
+ * spacebar<br/></td><td colSpan=1 rowSpan=1>
230
+ * space<br/></td></tr>
231
+ * <tr>
232
+ * <td colSpan=1 rowSpan=1>
233
+ * altRightArrow<br/></td><td colSpan=1 rowSpan=1>
234
+ * alt+rightarrow<br/></td></tr>
235
+ * <tr>
236
+ * <td colSpan=1 rowSpan=1>
237
+ * altLeftArrow<br/></td><td colSpan=1 rowSpan=1>
238
+ * alt+leftarrow<br/></td></tr>
239
+ * <tr>
240
+ * <td colSpan=1 rowSpan=1>
241
+ * moveDown<br/></td><td colSpan=1 rowSpan=1>
242
+ * downarrow<br/></td></tr>
243
+ * <tr>
244
+ * <td colSpan=1 rowSpan=1>
245
+ * moveUp<br/></td><td colSpan=1 rowSpan=1>
246
+ * uparrow<br/></td></tr>
247
+ * <tr>
248
+ * <td colSpan=1 rowSpan=1>
249
+ * moveLeft<br/></td><td colSpan=1 rowSpan=1>
250
+ * leftarrow<br/></td></tr>
251
+ * <tr>
252
+ * <td colSpan=1 rowSpan=1>
253
+ * moveRight<br/></td><td colSpan=1 rowSpan=1>
254
+ * rightarrow<br/></td></tr>
255
+ * </table>
256
+ *
257
+ * {% codeBlock src='calendar/keyConfigs/index.md' %}{% endcodeBlock %}
258
+ *
259
+ * @default null
260
+ * @deprecated
261
+ */
262
+ keyConfigs?: { [key: string]: string };
263
+
264
+ /**
265
+ * By default, the date value will be processed based on system time zone.
266
+ * If you want to process the initial date value using server time zone
267
+ * then specify the time zone value to `serverTimezoneOffset` property.
268
+ *
269
+ * @default null
270
+ * @deprecated
271
+ */
272
+ serverTimezoneOffset?: number;
273
+
274
+ /**
275
+ * Triggers when Calendar is created.
276
+ *
277
+ * @event created
278
+ */
279
+ created?: EmitType<Object>;
280
+
281
+ /**
282
+      * Triggers when Calendar is destroyed.
283
+ *
284
+      * @event destroyed
285
+      */
286
+ destroyed?: EmitType<Object>;
287
+
288
+ /**
289
+ * Triggers when the Calendar is navigated to another level or within the same level of view.
290
+ *
291
+ * @event navigated
292
+ */
293
+ navigated?: EmitType<NavigatedEventArgs>;
294
+
295
+ /**
296
+ * Triggers when each day cell of the Calendar is rendered.
297
+ *
298
+ * @event renderDayCell
299
+ */
300
+ renderDayCell?: EmitType<RenderDayCellEventArgs>;
301
+
302
+ }
303
+
304
+ /**
305
+ * Interface for a class Calendar
306
+ */
307
+ export interface CalendarModel extends CalendarBaseModel{
308
+
309
+ /**
310
+ * Gets or sets the selected date of the Calendar.
311
+ *
312
+ * @default null
313
+ * @isGenericType true
314
+ * @deprecated
315
+ */
316
+ value?: Date;
317
+
318
+ /**
319
+ * Gets or sets multiple selected dates of the calendar.
320
+ * {% codeBlock src='calendar/values/index.md' %}{% endcodeBlock %}
321
+ *
322
+ * @default null
323
+ */
324
+ values?: Date[];
325
+
326
+ /**
327
+ * Specifies the option to enable the multiple dates selection of the calendar.
328
+ *
329
+ * @default false
330
+ */
331
+ isMultiSelection?: boolean;
332
+
333
+ /**
334
+ * Triggers when the Calendar value is changed.
335
+ *
336
+ * @event change
337
+ */
338
+ change?: EmitType<ChangedEventArgs>;
339
+
340
+ }