@syncfusion/ej2-calendars 31.1.17 → 31.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aceconfig.js +17 -0
- package/dist/ej2-calendars.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +36 -13
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +36 -13
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/dist/global/ej2-calendars.min.js +2 -2
- package/dist/global/ej2-calendars.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -54
- package/src/datepicker/datepicker.js +28 -13
- package/src/daterangepicker/daterangepicker.js +8 -0
- package/dist/ts/calendar/calendar-model.d.ts +0 -340
- package/dist/ts/calendar/calendar.d.ts +0 -733
- package/dist/ts/calendar/calendar.ts +0 -3009
- package/dist/ts/calendar/index.d.ts +0 -6
- package/dist/ts/calendar/index.ts +0 -6
- package/dist/ts/calendar/islamic.d.ts +0 -28
- package/dist/ts/calendar/islamic.ts +0 -597
- package/dist/ts/common/index.d.ts +0 -5
- package/dist/ts/common/index.ts +0 -5
- package/dist/ts/common/maskplaceholder-model.d.ts +0 -57
- package/dist/ts/common/maskplaceholder.d.ts +0 -45
- package/dist/ts/common/maskplaceholder.ts +0 -54
- package/dist/ts/datepicker/datepicker-model.d.ts +0 -364
- package/dist/ts/datepicker/datepicker.d.ts +0 -583
- package/dist/ts/datepicker/datepicker.ts +0 -2528
- package/dist/ts/datepicker/index.d.ts +0 -5
- package/dist/ts/datepicker/index.ts +0 -5
- package/dist/ts/daterangepicker/daterangepicker-model.d.ts +0 -496
- package/dist/ts/daterangepicker/daterangepicker.d.ts +0 -857
- package/dist/ts/daterangepicker/daterangepicker.ts +0 -5096
- package/dist/ts/daterangepicker/index.d.ts +0 -5
- package/dist/ts/daterangepicker/index.ts +0 -5
- package/dist/ts/datetimepicker/datetimepicker-model.d.ts +0 -479
- package/dist/ts/datetimepicker/datetimepicker.d.ts +0 -626
- package/dist/ts/datetimepicker/datetimepicker.ts +0 -2212
- package/dist/ts/datetimepicker/index.d.ts +0 -5
- package/dist/ts/datetimepicker/index.ts +0 -5
- package/dist/ts/index.d.ts +0 -9
- package/dist/ts/index.ts +0 -9
- package/dist/ts/maskbase/index.d.ts +0 -5
- package/dist/ts/maskbase/index.ts +0 -5
- package/dist/ts/maskbase/interface.d.ts +0 -28
- package/dist/ts/maskbase/interface.ts +0 -29
- package/dist/ts/maskbase/masked-date-time.d.ts +0 -77
- package/dist/ts/maskbase/masked-date-time.ts +0 -1013
- package/dist/ts/timepicker/index.d.ts +0 -5
- package/dist/ts/timepicker/index.ts +0 -5
- package/dist/ts/timepicker/timepicker-model.d.ts +0 -393
- package/dist/ts/timepicker/timepicker.d.ts +0 -681
- package/dist/ts/timepicker/timepicker.ts +0 -2944
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 31.1.
|
|
3
|
+
* version : 31.1.18
|
|
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
|
package/package.json
CHANGED
|
@@ -1,47 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "@syncfusion/ej2-calendars@*",
|
|
12
|
-
"name": "@syncfusion/ej2-calendars",
|
|
13
|
-
"escapedName": "@syncfusion%2fej2-calendars",
|
|
14
|
-
"scope": "@syncfusion",
|
|
15
|
-
"rawSpec": "*",
|
|
16
|
-
"saveSpec": null,
|
|
17
|
-
"fetchSpec": "*"
|
|
18
|
-
},
|
|
19
|
-
"_requiredBy": [
|
|
20
|
-
"/",
|
|
21
|
-
"/@syncfusion/ej2",
|
|
22
|
-
"/@syncfusion/ej2-angular-calendars",
|
|
23
|
-
"/@syncfusion/ej2-charts",
|
|
24
|
-
"/@syncfusion/ej2-documenteditor",
|
|
25
|
-
"/@syncfusion/ej2-gantt",
|
|
26
|
-
"/@syncfusion/ej2-grids",
|
|
27
|
-
"/@syncfusion/ej2-inplace-editor",
|
|
28
|
-
"/@syncfusion/ej2-pivotview",
|
|
29
|
-
"/@syncfusion/ej2-querybuilder",
|
|
30
|
-
"/@syncfusion/ej2-react-calendars",
|
|
31
|
-
"/@syncfusion/ej2-schedule",
|
|
32
|
-
"/@syncfusion/ej2-vue-calendars"
|
|
33
|
-
],
|
|
34
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-development/@syncfusion/ej2-calendars/-/ej2-calendars-18.33.0.tgz",
|
|
35
|
-
"_shasum": "ad1cf99efc651ae486ee06636f37730c4c8748c1",
|
|
36
|
-
"_spec": "@syncfusion/ej2-calendars@*",
|
|
37
|
-
"_where": "D:\\SF3992\\WFH\\Nexus\\release",
|
|
38
|
-
"author": {
|
|
39
|
-
"name": "Syncfusion Inc."
|
|
40
|
-
},
|
|
41
|
-
"bugs": {
|
|
42
|
-
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
43
|
-
},
|
|
44
|
-
"bundleDependencies": false,
|
|
2
|
+
"name": "@syncfusion/ej2-calendars",
|
|
3
|
+
"version": "31.1.18",
|
|
4
|
+
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
|
|
5
|
+
"author": "Syncfusion Inc.",
|
|
6
|
+
"license": "SEE LICENSE IN license",
|
|
7
|
+
"main": "./dist/ej2-calendars.umd.min.js",
|
|
8
|
+
"module": "./index.js",
|
|
9
|
+
"es2015": "./dist/es6/ej2-calendars.es5.js",
|
|
45
10
|
"dependencies": {
|
|
46
11
|
"@syncfusion/ej2-base": "~31.1.17",
|
|
47
12
|
"@syncfusion/ej2-buttons": "~31.1.17",
|
|
@@ -49,11 +14,7 @@
|
|
|
49
14
|
"@syncfusion/ej2-lists": "~31.1.17",
|
|
50
15
|
"@syncfusion/ej2-popups": "~31.1.17"
|
|
51
16
|
},
|
|
52
|
-
"deprecated": false,
|
|
53
|
-
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
|
|
54
17
|
"devDependencies": {},
|
|
55
|
-
"es2015": "./dist/es6/ej2-calendars.es5.js",
|
|
56
|
-
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
57
18
|
"keywords": [
|
|
58
19
|
"ej2",
|
|
59
20
|
"syncfusion",
|
|
@@ -71,15 +32,11 @@
|
|
|
71
32
|
"stepranges",
|
|
72
33
|
"time"
|
|
73
34
|
],
|
|
74
|
-
"license": "SEE LICENSE IN license",
|
|
75
|
-
"main": "./dist/ej2-calendars.umd.min.js",
|
|
76
|
-
"module": "./index.js",
|
|
77
|
-
"name": "@syncfusion/ej2-calendars",
|
|
78
35
|
"repository": {
|
|
79
36
|
"type": "git",
|
|
80
|
-
"url": "
|
|
37
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
81
38
|
},
|
|
82
39
|
"typings": "index.d.ts",
|
|
83
|
-
"
|
|
84
|
-
"
|
|
40
|
+
"sideEffects": false,
|
|
41
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
85
42
|
}
|
|
@@ -541,6 +541,9 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
541
541
|
if (!this.enableMask) {
|
|
542
542
|
this.updateInputValue('');
|
|
543
543
|
}
|
|
544
|
+
if (isNullOrUndefined(this.value)) {
|
|
545
|
+
this.currentDate = new Date(new Date().setHours(0, 0, 0, 0));
|
|
546
|
+
}
|
|
544
547
|
var clearedArgs = {
|
|
545
548
|
event: event
|
|
546
549
|
};
|
|
@@ -719,7 +722,11 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
719
722
|
}
|
|
720
723
|
};
|
|
721
724
|
DatePicker.prototype.inputBlurHandler = function (e) {
|
|
722
|
-
|
|
725
|
+
var inputSame = this.inputElement.value === this.previousElementValue;
|
|
726
|
+
var dateSame = this.value && this.previousDate
|
|
727
|
+
? this.value.getTime() === this.previousDate.getTime()
|
|
728
|
+
: this.value === this.previousDate;
|
|
729
|
+
if (!this.enabled || (inputSame && dateSame)) {
|
|
723
730
|
return;
|
|
724
731
|
}
|
|
725
732
|
this.strictModeUpdate();
|
|
@@ -812,19 +819,27 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
812
819
|
this.hide(e);
|
|
813
820
|
break;
|
|
814
821
|
case 'enter':
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
822
|
+
{
|
|
823
|
+
var inputUnchanged = this.inputElement.value === this.previousElementValue;
|
|
824
|
+
var valueUnchanged = this.value instanceof Date && this.previousDate instanceof Date
|
|
825
|
+
? this.value.getTime() === this.previousDate.getTime()
|
|
826
|
+
: this.value === this.previousDate;
|
|
827
|
+
if (!(inputUnchanged && valueUnchanged)) {
|
|
828
|
+
this.strictModeUpdate();
|
|
829
|
+
this.updateInput();
|
|
830
|
+
this.popupUpdate();
|
|
831
|
+
this.changeTrigger(e);
|
|
832
|
+
this.errorClass();
|
|
833
|
+
}
|
|
834
|
+
if (!this.isCalendar() && document.activeElement === this.inputElement) {
|
|
835
|
+
this.hide(e);
|
|
836
|
+
}
|
|
837
|
+
if (this.isCalendar()) {
|
|
838
|
+
e.preventDefault();
|
|
839
|
+
e.stopPropagation();
|
|
840
|
+
}
|
|
841
|
+
break;
|
|
826
842
|
}
|
|
827
|
-
break;
|
|
828
843
|
case 'tab':
|
|
829
844
|
case 'shiftTab':
|
|
830
845
|
{
|
|
@@ -4189,6 +4189,14 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
4189
4189
|
_this.selectableDates();
|
|
4190
4190
|
}
|
|
4191
4191
|
_super.prototype.setOverlayIndex.call(_this, _this.mobileRangePopupWrap, _this.popupObj.element, _this.modal, _this.isMobile || Browser.isDevice);
|
|
4192
|
+
if (!isNullOrUndefined(_this.mobileRangePopupWrap) && !isNullOrUndefined(_this.popupObj)
|
|
4193
|
+
&& !isNullOrUndefined(_this.popupObj.element) && isNullOrUndefined(_this.modal) &&
|
|
4194
|
+
!isUndefined(_this.presets[0].start && _this.presets[0].end && _this.presets[0].label) && isPreset
|
|
4195
|
+
&& (_this.isMobile || Browser.isDevice) && !_this.isCustomWindow) {
|
|
4196
|
+
var index = parseInt(_this.popupObj.element.style.zIndex, 10) ?
|
|
4197
|
+
parseInt(_this.popupObj.element.style.zIndex, 10) : 1000;
|
|
4198
|
+
_this.mobileRangePopupWrap.style.zIndex = index.toString();
|
|
4199
|
+
}
|
|
4192
4200
|
if (Browser.isDevice) {
|
|
4193
4201
|
var dlgOverlay = _this.createElement('div', { className: 'e-dlg-overlay' });
|
|
4194
4202
|
dlgOverlay.style.zIndex = (_this.zIndex - 1).toString();
|
|
@@ -1,340 +0,0 @@
|
|
|
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
|
-
}
|