@syncfusion/ej2-calendars 25.2.5 → 25.2.7-30676
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1220 -1218
- package/README.md +178 -178
- package/dist/ej2-calendars.umd.min.js +1 -10
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +35 -32
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +110 -107
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/helpers/e2e/calendarHelper.js +13 -13
- package/helpers/e2e/datepickerHelper.js +13 -13
- package/helpers/e2e/daterangepickerHelper.js +13 -13
- package/helpers/e2e/datetimepickerHelper.js +13 -13
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/timepickerHelper.js +13 -13
- package/license +10 -10
- package/package.json +85 -85
- package/src/calendar/calendar-model.d.ts +277 -277
- package/src/calendar/calendar.d.ts +20 -20
- package/src/calendar/calendar.js +25 -25
- package/src/common/maskplaceholder-model.d.ts +36 -36
- package/src/common/maskplaceholder.js +19 -19
- package/src/datepicker/datepicker-model.d.ts +289 -289
- package/src/datepicker/datepicker.d.ts +10 -10
- package/src/datepicker/datepicker.js +23 -23
- package/src/daterangepicker/daterangepicker-model.d.ts +427 -427
- package/src/daterangepicker/daterangepicker.d.ts +2 -2
- package/src/daterangepicker/daterangepicker.js +24 -21
- package/src/datetimepicker/datetimepicker-model.d.ts +453 -453
- package/src/datetimepicker/datetimepicker.d.ts +1 -1
- package/src/datetimepicker/datetimepicker.js +20 -20
- package/src/timepicker/timepicker-model.d.ts +350 -350
- package/src/timepicker/timepicker.d.ts +5 -5
- package/src/timepicker/timepicker.js +21 -21
- package/styles/bootstrap-dark.css +190 -984
- package/styles/bootstrap-dark.scss +20 -5
- package/styles/bootstrap.css +190 -985
- package/styles/bootstrap.scss +20 -5
- package/styles/bootstrap4.css +190 -992
- package/styles/bootstrap4.scss +20 -5
- package/styles/bootstrap5-dark.css +191 -1014
- package/styles/bootstrap5-dark.scss +20 -5
- package/styles/bootstrap5.css +191 -1014
- package/styles/bootstrap5.scss +20 -5
- package/styles/calendar/_all.scss +2 -2
- package/styles/calendar/_bds-definition.scss +273 -272
- package/styles/calendar/_bigger.scss +1142 -0
- package/styles/calendar/_bootstrap-dark-definition.scss +238 -238
- package/styles/calendar/_bootstrap-definition.scss +238 -238
- package/styles/calendar/_bootstrap4-definition.scss +238 -238
- package/styles/calendar/_bootstrap5-definition.scss +258 -258
- package/styles/calendar/_bootstrap5.3-definition.scss +260 -0
- package/styles/calendar/_fabric-dark-definition.scss +202 -202
- package/styles/calendar/_fabric-definition.scss +200 -200
- package/styles/calendar/_fluent-definition.scss +264 -262
- package/styles/calendar/_fluent2-definition.scss +294 -0
- package/styles/calendar/_fusionnew-definition.scss +260 -260
- package/styles/calendar/_highcontrast-definition.scss +199 -199
- package/styles/calendar/_highcontrast-light-definition.scss +202 -202
- package/styles/calendar/_layout.scss +565 -789
- package/styles/calendar/_material-dark-definition.scss +204 -204
- package/styles/calendar/_material-definition.scss +199 -199
- package/styles/calendar/_material3-definition.scss +196 -205
- package/styles/calendar/_tailwind-definition.scss +271 -271
- package/styles/calendar/_tailwind4-definition.scss +260 -0
- package/styles/calendar/_theme.scss +643 -555
- package/styles/calendar/bootstrap-dark.css +97 -375
- package/styles/calendar/bootstrap.css +97 -375
- package/styles/calendar/bootstrap4.css +97 -375
- package/styles/calendar/bootstrap5-dark.css +98 -396
- package/styles/calendar/bootstrap5.css +98 -396
- package/styles/calendar/fabric-dark.css +98 -377
- package/styles/calendar/fabric.css +99 -379
- package/styles/calendar/fluent-dark.css +116 -424
- package/styles/calendar/fluent.css +116 -424
- package/styles/calendar/fluent2.css +1747 -0
- package/styles/calendar/fluent2.scss +5 -0
- package/styles/calendar/highcontrast-light.css +97 -375
- package/styles/calendar/highcontrast.css +99 -379
- package/styles/calendar/icons/_bds.scss +13 -13
- package/styles/calendar/icons/_bootstrap-dark.scss +13 -13
- package/styles/calendar/icons/_bootstrap.scss +13 -13
- package/styles/calendar/icons/_bootstrap4.scss +13 -13
- package/styles/calendar/icons/_bootstrap5.3.scss +13 -0
- package/styles/calendar/icons/_bootstrap5.scss +13 -13
- package/styles/calendar/icons/_fabric-dark.scss +13 -13
- package/styles/calendar/icons/_fabric.scss +13 -13
- package/styles/calendar/icons/_fluent.scss +13 -13
- package/styles/calendar/icons/_fluent2.scss +13 -0
- package/styles/calendar/icons/_fusionnew.scss +13 -13
- package/styles/calendar/icons/_highcontrast-light.scss +13 -13
- package/styles/calendar/icons/_highcontrast.scss +13 -13
- package/styles/calendar/icons/_material-dark.scss +13 -13
- package/styles/calendar/icons/_material.scss +13 -13
- package/styles/calendar/icons/_material3.scss +13 -13
- package/styles/calendar/icons/_tailwind.scss +13 -13
- package/styles/calendar/icons/_tailwind4.scss +13 -0
- package/styles/calendar/material-dark.css +99 -379
- package/styles/calendar/material.css +99 -379
- package/styles/calendar/material3-dark.css +100 -380
- package/styles/calendar/material3-dark.scss +1 -1
- package/styles/calendar/material3.css +100 -380
- package/styles/calendar/material3.scss +1 -1
- package/styles/calendar/tailwind-dark.css +100 -428
- package/styles/calendar/tailwind.css +100 -428
- package/styles/datepicker/_all.scss +2 -2
- package/styles/datepicker/_bds-definition.scss +105 -105
- package/styles/datepicker/_bigger.scss +82 -0
- package/styles/datepicker/_bootstrap-dark-definition.scss +97 -97
- package/styles/datepicker/_bootstrap-definition.scss +96 -96
- package/styles/datepicker/_bootstrap4-definition.scss +101 -101
- package/styles/datepicker/_bootstrap5-definition.scss +107 -107
- package/styles/datepicker/_bootstrap5.3-definition.scss +108 -0
- package/styles/datepicker/_fabric-dark-definition.scss +98 -98
- package/styles/datepicker/_fabric-definition.scss +95 -95
- package/styles/datepicker/_fluent-definition.scss +107 -107
- package/styles/datepicker/_fluent2-definition.scss +118 -0
- package/styles/datepicker/_fusionnew-definition.scss +107 -107
- package/styles/datepicker/_highcontrast-definition.scss +96 -96
- package/styles/datepicker/_highcontrast-light-definition.scss +99 -99
- package/styles/datepicker/_layout.scss +459 -433
- package/styles/datepicker/_material-dark-definition.scss +103 -103
- package/styles/datepicker/_material-definition.scss +100 -100
- package/styles/datepicker/_material3-definition.scss +97 -116
- package/styles/datepicker/_tailwind-definition.scss +105 -105
- package/styles/datepicker/_tailwind4-definition.scss +108 -0
- package/styles/datepicker/_theme.scss +48 -53
- package/styles/datepicker/bootstrap-dark.css +2 -43
- package/styles/datepicker/bootstrap.css +2 -43
- package/styles/datepicker/bootstrap4.css +2 -45
- package/styles/datepicker/bootstrap5-dark.css +2 -45
- package/styles/datepicker/bootstrap5.css +2 -45
- package/styles/datepicker/fabric-dark.css +2 -43
- package/styles/datepicker/fabric.css +2 -43
- package/styles/datepicker/fluent-dark.css +2 -45
- package/styles/datepicker/fluent.css +2 -45
- package/styles/datepicker/fluent2.css +1617 -0
- package/styles/datepicker/fluent2.scss +7 -0
- package/styles/datepicker/highcontrast-light.css +2 -43
- package/styles/datepicker/highcontrast.css +2 -43
- package/styles/datepicker/icons/_bds.scss +52 -76
- package/styles/datepicker/icons/_bootstrap-dark.scss +49 -73
- package/styles/datepicker/icons/_bootstrap.scss +50 -72
- package/styles/datepicker/icons/_bootstrap4.scss +52 -76
- package/styles/datepicker/icons/_bootstrap5.3.scss +52 -0
- package/styles/datepicker/icons/_bootstrap5.scss +52 -76
- package/styles/datepicker/icons/_fabric-dark.scss +43 -65
- package/styles/datepicker/icons/_fabric.scss +43 -65
- package/styles/datepicker/icons/_fluent.scss +52 -76
- package/styles/datepicker/icons/_fluent2.scss +52 -0
- package/styles/datepicker/icons/_fusionnew.scss +52 -76
- package/styles/datepicker/icons/_highcontrast-light.scss +50 -72
- package/styles/datepicker/icons/_highcontrast.scss +50 -72
- package/styles/datepicker/icons/_material-dark.scss +59 -99
- package/styles/datepicker/icons/_material.scss +59 -99
- package/styles/datepicker/icons/_material3.scss +50 -79
- package/styles/datepicker/icons/_tailwind.scss +52 -76
- package/styles/datepicker/icons/_tailwind4.scss +52 -0
- package/styles/datepicker/material-dark.css +2 -60
- package/styles/datepicker/material.css +2 -60
- package/styles/datepicker/material3-dark.css +4 -52
- package/styles/datepicker/material3-dark.scss +1 -1
- package/styles/datepicker/material3.css +4 -52
- package/styles/datepicker/material3.scss +1 -1
- package/styles/datepicker/tailwind-dark.css +2 -50
- package/styles/datepicker/tailwind.css +2 -50
- package/styles/daterangepicker/_all.scss +2 -2
- package/styles/daterangepicker/_bds-definition.scss +294 -294
- package/styles/daterangepicker/_bigger.scss +971 -0
- package/styles/daterangepicker/_bootstrap-dark-definition.scss +258 -258
- package/styles/daterangepicker/_bootstrap-definition.scss +258 -258
- package/styles/daterangepicker/_bootstrap4-definition.scss +268 -268
- package/styles/daterangepicker/_bootstrap5-definition.scss +296 -296
- package/styles/daterangepicker/_bootstrap5.3-definition.scss +298 -0
- package/styles/daterangepicker/_fabric-dark-definition.scss +261 -261
- package/styles/daterangepicker/_fabric-definition.scss +258 -258
- package/styles/daterangepicker/_fluent-definition.scss +313 -322
- package/styles/daterangepicker/_fluent2-definition.scss +305 -0
- package/styles/daterangepicker/_fusionnew-definition.scss +295 -295
- package/styles/daterangepicker/_highcontrast-definition.scss +258 -258
- package/styles/daterangepicker/_highcontrast-light-definition.scss +261 -261
- package/styles/daterangepicker/_layout.scss +790 -1030
- package/styles/daterangepicker/_material-dark-definition.scss +266 -266
- package/styles/daterangepicker/_material-definition.scss +266 -266
- package/styles/daterangepicker/_material3-definition.scss +262 -282
- package/styles/daterangepicker/_tailwind-definition.scss +287 -287
- package/styles/daterangepicker/_tailwind4-definition.scss +298 -0
- package/styles/daterangepicker/_theme.scss +415 -455
- package/styles/daterangepicker/bootstrap-dark.css +67 -479
- package/styles/daterangepicker/bootstrap.css +67 -478
- package/styles/daterangepicker/bootstrap4.css +67 -483
- package/styles/daterangepicker/bootstrap5-dark.css +67 -483
- package/styles/daterangepicker/bootstrap5.css +67 -483
- package/styles/daterangepicker/fabric-dark.css +67 -473
- package/styles/daterangepicker/fabric.css +67 -473
- package/styles/daterangepicker/fluent-dark.css +66 -502
- package/styles/daterangepicker/fluent.css +66 -502
- package/styles/daterangepicker/fluent2.css +1998 -0
- package/styles/daterangepicker/fluent2.scss +7 -0
- package/styles/daterangepicker/highcontrast-light.css +67 -473
- package/styles/daterangepicker/highcontrast.css +67 -473
- package/styles/daterangepicker/icons/_bds.scss +74 -92
- package/styles/daterangepicker/icons/_bootstrap-dark.scss +61 -85
- package/styles/daterangepicker/icons/_bootstrap.scss +69 -85
- package/styles/daterangepicker/icons/_bootstrap4.scss +75 -94
- package/styles/daterangepicker/icons/_bootstrap5.3.scss +74 -0
- package/styles/daterangepicker/icons/_bootstrap5.scss +74 -92
- package/styles/daterangepicker/icons/_fabric-dark.scss +69 -85
- package/styles/daterangepicker/icons/_fabric.scss +69 -85
- package/styles/daterangepicker/icons/_fluent.scss +74 -92
- package/styles/daterangepicker/icons/_fluent2.scss +91 -0
- package/styles/daterangepicker/icons/_fusionnew.scss +74 -92
- package/styles/daterangepicker/icons/_highcontrast-light.scss +69 -85
- package/styles/daterangepicker/icons/_highcontrast.scss +69 -85
- package/styles/daterangepicker/icons/_material-dark.scss +85 -119
- package/styles/daterangepicker/icons/_material.scss +85 -119
- package/styles/daterangepicker/icons/_material3.scss +90 -129
- package/styles/daterangepicker/icons/_tailwind.scss +74 -92
- package/styles/daterangepicker/icons/_tailwind4.scss +74 -0
- package/styles/daterangepicker/material-dark.css +67 -490
- package/styles/daterangepicker/material.css +67 -495
- package/styles/daterangepicker/material3-dark.css +70 -504
- package/styles/daterangepicker/material3-dark.scss +1 -1
- package/styles/daterangepicker/material3.css +70 -504
- package/styles/daterangepicker/material3.scss +1 -1
- package/styles/daterangepicker/tailwind-dark.css +66 -478
- package/styles/daterangepicker/tailwind.css +66 -478
- package/styles/datetimepicker/_all.scss +2 -2
- package/styles/datetimepicker/_bds-definition.scss +65 -65
- package/styles/datetimepicker/_bigger.scss +105 -0
- package/styles/datetimepicker/_bootstrap-dark-definition.scss +60 -60
- package/styles/datetimepicker/_bootstrap-definition.scss +59 -59
- package/styles/datetimepicker/_bootstrap4-definition.scss +65 -65
- package/styles/datetimepicker/_bootstrap5-definition.scss +65 -65
- package/styles/datetimepicker/_bootstrap5.3-definition.scss +65 -0
- package/styles/datetimepicker/_fabric-dark-definition.scss +60 -60
- package/styles/datetimepicker/_fabric-definition.scss +57 -57
- package/styles/datetimepicker/_fluent-definition.scss +65 -65
- package/styles/datetimepicker/_fluent2-definition.scss +65 -0
- package/styles/datetimepicker/_fusionnew-definition.scss +65 -65
- package/styles/datetimepicker/_highcontrast-definition.scss +57 -57
- package/styles/datetimepicker/_highcontrast-light-definition.scss +60 -60
- package/styles/datetimepicker/_layout.scss +179 -238
- package/styles/datetimepicker/_material-dark-definition.scss +64 -64
- package/styles/datetimepicker/_material-definition.scss +62 -62
- package/styles/datetimepicker/_material3-definition.scss +61 -71
- package/styles/datetimepicker/_tailwind-definition.scss +65 -65
- package/styles/datetimepicker/_tailwind4-definition.scss +65 -0
- package/styles/datetimepicker/_theme.scss +70 -70
- package/styles/datetimepicker/bootstrap-dark.css +23 -42
- package/styles/datetimepicker/bootstrap.css +23 -42
- package/styles/datetimepicker/bootstrap4.css +23 -42
- package/styles/datetimepicker/bootstrap5-dark.css +23 -42
- package/styles/datetimepicker/bootstrap5.css +23 -42
- package/styles/datetimepicker/fabric-dark.css +23 -42
- package/styles/datetimepicker/fabric.css +23 -42
- package/styles/datetimepicker/fluent-dark.css +23 -42
- package/styles/datetimepicker/fluent.css +23 -42
- package/styles/datetimepicker/fluent2.css +1373 -0
- package/styles/datetimepicker/fluent2.scss +8 -0
- package/styles/datetimepicker/highcontrast-light.css +23 -42
- package/styles/datetimepicker/highcontrast.css +23 -42
- package/styles/datetimepicker/icons/_bds.scss +11 -11
- package/styles/datetimepicker/icons/_bootstrap-dark.scss +11 -11
- package/styles/datetimepicker/icons/_bootstrap.scss +11 -11
- package/styles/datetimepicker/icons/_bootstrap4.scss +11 -11
- package/styles/datetimepicker/icons/_bootstrap5.3.scss +11 -0
- package/styles/datetimepicker/icons/_bootstrap5.scss +11 -11
- package/styles/datetimepicker/icons/_fabric-dark.scss +11 -11
- package/styles/datetimepicker/icons/_fabric.scss +11 -11
- package/styles/datetimepicker/icons/_fluent.scss +11 -11
- package/styles/datetimepicker/icons/_fluent2.scss +11 -0
- package/styles/datetimepicker/icons/_fusionnew.scss +11 -11
- package/styles/datetimepicker/icons/_highcontrast-light.scss +11 -11
- package/styles/datetimepicker/icons/_highcontrast.scss +11 -11
- package/styles/datetimepicker/icons/_material-dark.scss +31 -53
- package/styles/datetimepicker/icons/_material.scss +40 -62
- package/styles/datetimepicker/icons/_material3.scss +11 -11
- package/styles/datetimepicker/icons/_tailwind.scss +11 -11
- package/styles/datetimepicker/icons/_tailwind4.scss +11 -0
- package/styles/datetimepicker/material-dark.css +23 -66
- package/styles/datetimepicker/material.css +23 -66
- package/styles/datetimepicker/material3-dark.css +24 -54
- package/styles/datetimepicker/material3-dark.scss +1 -1
- package/styles/datetimepicker/material3.css +24 -54
- package/styles/datetimepicker/material3.scss +1 -1
- package/styles/datetimepicker/tailwind-dark.css +23 -42
- package/styles/datetimepicker/tailwind.css +23 -42
- package/styles/fabric-dark.css +191 -980
- package/styles/fabric-dark.scss +20 -5
- package/styles/fabric.css +192 -984
- package/styles/fabric.scss +20 -5
- package/styles/fluent-dark.css +208 -1061
- package/styles/fluent-dark.scss +20 -5
- package/styles/fluent.css +208 -1061
- package/styles/fluent.scss +20 -5
- package/styles/fluent2.css +3549 -0
- package/styles/fluent2.scss +20 -0
- package/styles/highcontrast-light.css +190 -978
- package/styles/highcontrast-light.scss +20 -5
- package/styles/highcontrast.css +192 -984
- package/styles/highcontrast.scss +20 -5
- package/styles/material-dark.css +192 -1075
- package/styles/material-dark.scss +20 -5
- package/styles/material.css +192 -1106
- package/styles/material.scss +20 -5
- package/styles/material3-dark.css +194 -1083
- package/styles/material3-dark.scss +20 -5
- package/styles/material3.css +194 -1083
- package/styles/material3.scss +20 -5
- package/styles/tailwind-dark.css +192 -1046
- package/styles/tailwind-dark.scss +20 -5
- package/styles/tailwind.css +192 -1046
- package/styles/tailwind.scss +20 -5
- package/styles/timepicker/_all.scss +2 -2
- package/styles/timepicker/_bds-definition.scss +84 -84
- package/styles/timepicker/_bigger.scss +92 -0
- package/styles/timepicker/_bootstrap-dark-definition.scss +80 -80
- package/styles/timepicker/_bootstrap-definition.scss +77 -77
- package/styles/timepicker/_bootstrap4-definition.scss +85 -85
- package/styles/timepicker/_bootstrap5-definition.scss +86 -86
- package/styles/timepicker/_bootstrap5.3-definition.scss +85 -0
- package/styles/timepicker/_fabric-dark-definition.scss +80 -80
- package/styles/timepicker/_fabric-definition.scss +77 -77
- package/styles/timepicker/_fluent-definition.scss +86 -86
- package/styles/timepicker/_fluent2-definition.scss +84 -0
- package/styles/timepicker/_fusionnew-definition.scss +86 -86
- package/styles/timepicker/_highcontrast-definition.scss +77 -77
- package/styles/timepicker/_highcontrast-light-definition.scss +80 -80
- package/styles/timepicker/_layout.scss +227 -303
- package/styles/timepicker/_material-dark-definition.scss +84 -84
- package/styles/timepicker/_material-definition.scss +81 -81
- package/styles/timepicker/_material3-definition.scss +83 -99
- package/styles/timepicker/_tailwind-definition.scss +84 -84
- package/styles/timepicker/_tailwind4-definition.scss +86 -0
- package/styles/timepicker/_theme.scss +109 -114
- package/styles/timepicker/bootstrap-dark.css +1 -42
- package/styles/timepicker/bootstrap.css +1 -42
- package/styles/timepicker/bootstrap4.css +1 -42
- package/styles/timepicker/bootstrap5-dark.css +1 -42
- package/styles/timepicker/bootstrap5.css +1 -42
- package/styles/timepicker/fabric-dark.css +1 -42
- package/styles/timepicker/fabric.css +1 -42
- package/styles/timepicker/fluent-dark.css +1 -42
- package/styles/timepicker/fluent.css +1 -42
- package/styles/timepicker/fluent2.css +1470 -0
- package/styles/timepicker/fluent2.scss +6 -0
- package/styles/timepicker/highcontrast-light.css +1 -42
- package/styles/timepicker/highcontrast.css +1 -42
- package/styles/timepicker/icons/_bds.scss +24 -24
- package/styles/timepicker/icons/_bootstrap-dark.scss +23 -23
- package/styles/timepicker/icons/_bootstrap.scss +24 -24
- package/styles/timepicker/icons/_bootstrap4.scss +24 -24
- package/styles/timepicker/icons/_bootstrap5.3.scss +24 -0
- package/styles/timepicker/icons/_bootstrap5.scss +24 -24
- package/styles/timepicker/icons/_fabric-dark.scss +24 -24
- package/styles/timepicker/icons/_fabric.scss +24 -24
- package/styles/timepicker/icons/_fluent.scss +24 -24
- package/styles/timepicker/icons/_fluent2.scss +24 -0
- package/styles/timepicker/icons/_fusionnew.scss +24 -24
- package/styles/timepicker/icons/_highcontrast-light.scss +24 -24
- package/styles/timepicker/icons/_highcontrast.scss +24 -24
- package/styles/timepicker/icons/_material-dark.scss +37 -52
- package/styles/timepicker/icons/_material.scss +39 -54
- package/styles/timepicker/icons/_material3.scss +24 -24
- package/styles/timepicker/icons/_tailwind.scss +24 -24
- package/styles/timepicker/icons/_tailwind4.scss +24 -0
- package/styles/timepicker/material-dark.css +1 -59
- package/styles/timepicker/material.css +1 -59
- package/styles/timepicker/material3-dark.css +2 -51
- package/styles/timepicker/material3-dark.scss +1 -1
- package/styles/timepicker/material3.css +2 -51
- package/styles/timepicker/material3.scss +1 -1
- package/styles/timepicker/tailwind-dark.css +1 -42
- package/styles/timepicker/tailwind.css +1 -42
- package/.eslintrc.json +0 -260
- package/dist/ej2-calendars.min.js +0 -10
- package/dist/global/ej2-calendars.min.js +0 -11
- package/dist/global/ej2-calendars.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/tslint.json +0 -111
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, EventHandler, Internationalization, NotifyPropertyChanges, detach, getUniqueID } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, EventHandler, Internationalization, NotifyPropertyChanges, detach, getUniqueID } from '@syncfusion/ej2-base';
|
|
2
2
|
import {DateRange,RangeEventArgs,RangeFormatObject} from "./daterangepicker";
|
|
3
3
|
import {CalendarBaseModel} from "../calendar/calendar-model";
|
|
4
4
|
|
|
@@ -8,19 +8,19 @@ import {CalendarBaseModel} from "../calendar/calendar-model";
|
|
|
8
8
|
export interface PresetsModel {
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Defines the label string of the preset range.
|
|
12
|
-
*/
|
|
13
|
-
label?: string;
|
|
11
|
+
* Defines the label string of the preset range.
|
|
12
|
+
*/
|
|
13
|
+
label?: string;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Defines the start date of the preset range.
|
|
17
|
-
*/
|
|
18
|
-
start?: Date;
|
|
16
|
+
* Defines the start date of the preset range.
|
|
17
|
+
*/
|
|
18
|
+
start?: Date;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Defines the end date of the preset range
|
|
22
|
-
*/
|
|
23
|
-
end?: Date;
|
|
21
|
+
* Defines the end date of the preset range
|
|
22
|
+
*/
|
|
23
|
+
end?: Date;
|
|
24
24
|
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -30,459 +30,459 @@ export interface PresetsModel {
|
|
|
30
30
|
export interface DateRangePickerModel extends CalendarBaseModel{
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Gets or sets the start and end date of the Calendar.
|
|
34
|
-
* {% codeBlock src='daterangepicker/value/index.md' %}{% endcodeBlock %}
|
|
35
|
-
*
|
|
36
|
-
* @default null
|
|
37
|
-
*/
|
|
38
|
-
value?: Date[] | DateRange;
|
|
33
|
+
* Gets or sets the start and end date of the Calendar.
|
|
34
|
+
* {% codeBlock src='daterangepicker/value/index.md' %}{% endcodeBlock %}
|
|
35
|
+
*
|
|
36
|
+
* @default null
|
|
37
|
+
*/
|
|
38
|
+
value?: Date[] | DateRange;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Enable or disable the persisting component's state between the page reloads. If enabled, following list of states will be persisted.
|
|
42
|
-
* 1. startDate
|
|
43
|
-
* 2. endDate
|
|
44
|
-
* 3. value
|
|
45
|
-
*
|
|
46
|
-
* @default false
|
|
47
|
-
*/
|
|
48
|
-
enablePersistence?: boolean;
|
|
41
|
+
* Enable or disable the persisting component's state between the page reloads. If enabled, following list of states will be persisted.
|
|
42
|
+
* 1. startDate
|
|
43
|
+
* 2. endDate
|
|
44
|
+
* 3. value
|
|
45
|
+
*
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
enablePersistence?: boolean;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Gets or sets the minimum date that can be selected in the calendar-popup.
|
|
52
|
-
*
|
|
53
|
-
* @default new Date(1900, 00, 01)
|
|
54
|
-
*/
|
|
55
|
-
min?: Date;
|
|
51
|
+
* Gets or sets the minimum date that can be selected in the calendar-popup.
|
|
52
|
+
*
|
|
53
|
+
* @default new Date(1900, 00, 01)
|
|
54
|
+
*/
|
|
55
|
+
min?: Date;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* Gets or sets the maximum date that can be selected in the calendar-popup.
|
|
59
|
-
*
|
|
60
|
-
* @default new Date(2099, 11, 31)
|
|
61
|
-
*/
|
|
62
|
-
max?: Date;
|
|
58
|
+
* Gets or sets the maximum date that can be selected in the calendar-popup.
|
|
59
|
+
*
|
|
60
|
+
* @default new Date(2099, 11, 31)
|
|
61
|
+
*/
|
|
62
|
+
max?: Date;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
66
|
-
*
|
|
67
|
-
* @default 'en-US'
|
|
68
|
-
*/
|
|
69
|
-
locale?: string;
|
|
65
|
+
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
66
|
+
*
|
|
67
|
+
* @default 'en-US'
|
|
68
|
+
*/
|
|
69
|
+
locale?: string;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* 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.
|
|
73
|
-
* > For more details about firstDayOfWeek refer to
|
|
74
|
-
* [`First day of week`](../../daterangepicker/customization#first-day-of-week) documentation.
|
|
75
|
-
*
|
|
76
|
-
* @default null
|
|
77
|
-
*/
|
|
78
|
-
firstDayOfWeek?: number;
|
|
72
|
+
* 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.
|
|
73
|
+
* > For more details about firstDayOfWeek refer to
|
|
74
|
+
* [`First day of week`](../../daterangepicker/customization#first-day-of-week) documentation.
|
|
75
|
+
*
|
|
76
|
+
* @default null
|
|
77
|
+
*/
|
|
78
|
+
firstDayOfWeek?: number;
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* Determines whether the week number of the Calendar is to be displayed or not.
|
|
82
|
-
* The week number is displayed in every week row.
|
|
83
|
-
* > For more details about weekNumber refer to
|
|
84
|
-
* [`Calendar with week number`](../../calendar/how-to/render-the-calendar-with-week-numbers)documentation.
|
|
85
|
-
*
|
|
86
|
-
* @default false
|
|
87
|
-
*/
|
|
88
|
-
weekNumber?: boolean;
|
|
81
|
+
* Determines whether the week number of the Calendar is to be displayed or not.
|
|
82
|
+
* The week number is displayed in every week row.
|
|
83
|
+
* > For more details about weekNumber refer to
|
|
84
|
+
* [`Calendar with week number`](../../calendar/how-to/render-the-calendar-with-week-numbers)documentation.
|
|
85
|
+
*
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
weekNumber?: boolean;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* Gets or sets the Calendar's Type like gregorian or islamic.
|
|
92
|
-
*
|
|
93
|
-
* @default Gregorian
|
|
94
|
-
* @private
|
|
95
|
-
*/
|
|
96
|
-
calendarMode?: CalendarType;
|
|
91
|
+
* Gets or sets the Calendar's Type like gregorian or islamic.
|
|
92
|
+
*
|
|
93
|
+
* @default Gregorian
|
|
94
|
+
* @private
|
|
95
|
+
*/
|
|
96
|
+
calendarMode?: CalendarType;
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* By default, the popup opens while clicking on the daterangepicker icon.
|
|
100
|
-
* If you want to open the popup while focusing the daterange input then specify its value as true.
|
|
101
|
-
*
|
|
102
|
-
* @default false
|
|
103
|
-
*/
|
|
104
|
-
openOnFocus?: boolean;
|
|
99
|
+
* By default, the popup opens while clicking on the daterangepicker icon.
|
|
100
|
+
* If you want to open the popup while focusing the daterange input then specify its value as true.
|
|
101
|
+
*
|
|
102
|
+
* @default false
|
|
103
|
+
*/
|
|
104
|
+
openOnFocus?: boolean;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* Specifies the component popup display full screen in mobile devices.
|
|
108
|
-
*
|
|
109
|
-
* @default false
|
|
110
|
-
*/
|
|
111
|
-
fullScreenMode?: boolean;
|
|
107
|
+
* Specifies the component popup display full screen in mobile devices.
|
|
108
|
+
*
|
|
109
|
+
* @default false
|
|
110
|
+
*/
|
|
111
|
+
fullScreenMode?: boolean;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* Triggers when Calendar is created.
|
|
115
|
-
*
|
|
116
|
-
* @event created
|
|
117
|
-
*/
|
|
118
|
-
created?: EmitType<Object>;
|
|
114
|
+
* Triggers when Calendar is created.
|
|
115
|
+
*
|
|
116
|
+
* @event created
|
|
117
|
+
*/
|
|
118
|
+
created?: EmitType<Object>;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* Triggers when Calendar is destroyed.
|
|
122
|
-
*
|
|
123
|
-
* @event destroyed
|
|
124
|
-
*/
|
|
125
|
-
destroyed?: EmitType<Object>;
|
|
121
|
+
* Triggers when Calendar is destroyed.
|
|
122
|
+
*
|
|
123
|
+
* @event destroyed
|
|
124
|
+
*/
|
|
125
|
+
destroyed?: EmitType<Object>;
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* Triggers when the Calendar value is changed.
|
|
129
|
-
*
|
|
130
|
-
* @event change
|
|
131
|
-
*/
|
|
132
|
-
change?: EmitType<RangeEventArgs>;
|
|
128
|
+
* Triggers when the Calendar value is changed.
|
|
129
|
+
*
|
|
130
|
+
* @event change
|
|
131
|
+
*/
|
|
132
|
+
change?: EmitType<RangeEventArgs>;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* Triggers when daterangepicker value is cleared using clear button.
|
|
136
|
-
*
|
|
137
|
-
* @event cleared
|
|
138
|
-
*/
|
|
139
|
-
cleared?: EmitType<ClearedEventArgs>;
|
|
135
|
+
* Triggers when daterangepicker value is cleared using clear button.
|
|
136
|
+
*
|
|
137
|
+
* @event cleared
|
|
138
|
+
*/
|
|
139
|
+
cleared?: EmitType<ClearedEventArgs>;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
|
-
* Triggers when the Calendar is navigated to another view or within the same level of view.
|
|
143
|
-
*
|
|
144
|
-
* @event navigated
|
|
145
|
-
*/
|
|
146
|
-
navigated?: EmitType<NavigatedEventArgs>;
|
|
142
|
+
* Triggers when the Calendar is navigated to another view or within the same level of view.
|
|
143
|
+
*
|
|
144
|
+
* @event navigated
|
|
145
|
+
*/
|
|
146
|
+
navigated?: EmitType<NavigatedEventArgs>;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Triggers when each day cell of the Calendar is rendered.
|
|
150
|
-
*
|
|
151
|
-
* @event renderDayCell
|
|
152
|
-
*/
|
|
153
|
-
|
|
154
|
-
renderDayCell?: EmitType<RenderDayCellEventArgs>;
|
|
149
|
+
* Triggers when each day cell of the Calendar is rendered.
|
|
150
|
+
*
|
|
151
|
+
* @event renderDayCell
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
renderDayCell?: EmitType<RenderDayCellEventArgs>;
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
* Gets or sets the start date of the date range selection.
|
|
158
|
-
*
|
|
159
|
-
* @default null
|
|
160
|
-
*/
|
|
161
|
-
startDate?: Date;
|
|
157
|
+
* Gets or sets the start date of the date range selection.
|
|
158
|
+
*
|
|
159
|
+
* @default null
|
|
160
|
+
*/
|
|
161
|
+
startDate?: Date;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
* Gets or sets the end date of the date range selection.
|
|
165
|
-
*
|
|
166
|
-
* @default null
|
|
167
|
-
*/
|
|
168
|
-
endDate?: Date;
|
|
164
|
+
* Gets or sets the end date of the date range selection.
|
|
165
|
+
*
|
|
166
|
+
* @default null
|
|
167
|
+
*/
|
|
168
|
+
endDate?: Date;
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
* Set the predefined ranges which let the user pick required range easily in a component.
|
|
172
|
-
* > For more details refer to
|
|
173
|
-
* [`Preset Ranges`](../../daterangepicker/customization#preset-ranges) documentation.
|
|
174
|
-
* {% codeBlock src='daterangepicker/presets/index.md' %}{% endcodeBlock %}
|
|
175
|
-
*
|
|
176
|
-
* @default null
|
|
177
|
-
*/
|
|
178
|
-
presets?: PresetsModel[];
|
|
171
|
+
* Set the predefined ranges which let the user pick required range easily in a component.
|
|
172
|
+
* > For more details refer to
|
|
173
|
+
* [`Preset Ranges`](../../daterangepicker/customization#preset-ranges) documentation.
|
|
174
|
+
* {% codeBlock src='daterangepicker/presets/index.md' %}{% endcodeBlock %}
|
|
175
|
+
*
|
|
176
|
+
* @default null
|
|
177
|
+
*/
|
|
178
|
+
presets?: PresetsModel[];
|
|
179
179
|
|
|
180
|
-
/**
|
|
181
|
-
* Specifies the width of the DateRangePicker component.
|
|
182
|
-
*
|
|
183
|
-
* @default ''
|
|
184
|
-
*/
|
|
185
|
-
width?: number | string;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* specifies the z-index value of the dateRangePicker popup element.
|
|
189
|
-
*
|
|
190
|
-
* @default 1000
|
|
191
|
-
* @aspType int
|
|
192
|
-
*/
|
|
193
|
-
zIndex?: number;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Specifies whether to show or hide the clear icon
|
|
197
|
-
*
|
|
198
|
-
* @default true
|
|
199
|
-
*/
|
|
200
|
-
showClearButton?: boolean;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Specifies whether the today button is to be displayed or not.
|
|
204
|
-
*
|
|
205
|
-
* @default true
|
|
206
|
-
* @hidden
|
|
207
|
-
*/
|
|
208
|
-
showTodayButton?: boolean;
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* Specifies the initial view of the Calendar when it is opened.
|
|
212
|
-
* With the help of this property, initial view can be changed to year or decade view.
|
|
213
|
-
*
|
|
214
|
-
* @default Month
|
|
215
|
-
*/
|
|
216
|
-
start?: CalendarView;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Sets the maximum level of view (month, year, decade) in the Calendar.
|
|
220
|
-
* Depth view should be smaller than the start view to restrict its view navigation.
|
|
221
|
-
*
|
|
222
|
-
* @default Month
|
|
223
|
-
*/
|
|
224
|
-
depth?: CalendarView;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Sets the root CSS class to the DateRangePicker which allows you to customize the appearance.
|
|
228
|
-
*
|
|
229
|
-
* @default ''
|
|
230
|
-
*/
|
|
231
|
-
cssClass?: string;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Sets or gets the string that used between the start and end date string.
|
|
235
|
-
*
|
|
236
|
-
* @default '-'
|
|
237
|
-
*/
|
|
238
|
-
separator?: string;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Specifies the minimum span of days that can be allowed in date range selection.
|
|
242
|
-
* > For more details refer to
|
|
243
|
-
* [`Range Span`](../../daterangepicker/range-restriction/#range-span) documentation.
|
|
244
|
-
*
|
|
245
|
-
* @default null
|
|
246
|
-
* @aspType int
|
|
247
|
-
*/
|
|
248
|
-
minDays?: number;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Specifies the maximum span of days that can be allowed in a date range selection.
|
|
252
|
-
* > For more details refer to
|
|
253
|
-
* [`Range Span`](../../daterangepicker/range-restriction/#range-span) documentation.
|
|
254
|
-
*
|
|
255
|
-
* @default null
|
|
256
|
-
* @aspType int
|
|
257
|
-
*/
|
|
258
|
-
maxDays?: number;
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* Specifies the component to act as strict which allows entering only a valid date range in a DateRangePicker.
|
|
262
|
-
* > For more details refer to
|
|
263
|
-
* [`Strict Mode`](../../daterangepicker/range-restriction#strict-mode)documentation.
|
|
264
|
-
*
|
|
265
|
-
* @default false
|
|
266
|
-
*/
|
|
267
|
-
strictMode?: boolean;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Customizes the key actions in DateRangePicker.
|
|
271
|
-
* For example, when using German keyboard, the key actions can be customized using these shortcuts.
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
* Input Navigation
|
|
275
|
-
* <table>
|
|
276
|
-
* <tr>
|
|
277
|
-
* <td colSpan=1 rowSpan=1>
|
|
278
|
-
* Key action<br/></td><td colSpan=1 rowSpan=1>
|
|
279
|
-
* Key<br/></td></tr>
|
|
280
|
-
* <tr>
|
|
281
|
-
* <td colSpan=1 rowSpan=1>
|
|
282
|
-
* altUpArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
283
|
-
* alt+uparrow<br/></td></tr>
|
|
284
|
-
* <tr>
|
|
285
|
-
* <td colSpan=1 rowSpan=1>
|
|
286
|
-
* altDownArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
287
|
-
* alt+downarrow<br/></td></tr>
|
|
288
|
-
* <tr>
|
|
289
|
-
* <td colSpan=1 rowSpan=1>
|
|
290
|
-
* escape<br/></td><td colSpan=1 rowSpan=1>
|
|
291
|
-
* escape<br/></td></tr>
|
|
292
|
-
* </table>
|
|
293
|
-
*
|
|
294
|
-
* Calendar Navigation (Use the following list of keys to navigate the currently focused Calendar after the popup has opened).
|
|
295
|
-
* <table>
|
|
296
|
-
* <tr>
|
|
297
|
-
* <td colSpan=1 rowSpan=1>
|
|
298
|
-
* Key action<br/></td><td colSpan=1 rowSpan=1>
|
|
299
|
-
* Key<br/></td></tr>
|
|
300
|
-
* <tr>
|
|
301
|
-
* <td colSpan=1 rowSpan=1>
|
|
302
|
-
* controlUp<br/></td><td colSpan=1 rowSpan=1>
|
|
303
|
-
* ctrl+38<br/></td></tr>
|
|
304
|
-
* <tr>
|
|
305
|
-
* <td colSpan=1 rowSpan=1>
|
|
306
|
-
* controlDown<br/></td><td colSpan=1 rowSpan=1>
|
|
307
|
-
* ctrl+40<br/></td></tr>
|
|
308
|
-
* <tr>
|
|
309
|
-
* <td colSpan=1 rowSpan=1>
|
|
310
|
-
* moveDown<br/></td><td colSpan=1 rowSpan=1>
|
|
311
|
-
* downarrow<br/></td></tr>
|
|
312
|
-
* <td colSpan=1 rowSpan=1>
|
|
313
|
-
* pageUp<br/></td><td colSpan=1 rowSpan=1>
|
|
314
|
-
* pageup<br/></td></tr>
|
|
315
|
-
* <tr>
|
|
316
|
-
* <td colSpan=1 rowSpan=1>
|
|
317
|
-
* pageDown<br/></td><td colSpan=1 rowSpan=1>
|
|
318
|
-
* pagedown<br/></td></tr>
|
|
319
|
-
* <tr>
|
|
320
|
-
* <td colSpan=1 rowSpan=1>
|
|
321
|
-
* shiftPageUp<br/></td><td colSpan=1 rowSpan=1>
|
|
322
|
-
* shift+pageup<br/></td></tr>
|
|
323
|
-
* <tr>
|
|
324
|
-
* <td colSpan=1 rowSpan=1>
|
|
325
|
-
* shiftPageDown<br/></td><td colSpan=1 rowSpan=1>
|
|
326
|
-
* shift+pagedown<br/></td></tr>
|
|
327
|
-
* <tr>
|
|
328
|
-
* <td colSpan=1 rowSpan=1>
|
|
329
|
-
* moveUp<br/></td><td colSpan=1 rowSpan=1>
|
|
330
|
-
* uparrow<br/></td></tr>
|
|
331
|
-
* <tr>
|
|
332
|
-
* <td colSpan=1 rowSpan=1>
|
|
333
|
-
* moveLeft<br/></td><td colSpan=1 rowSpan=1>
|
|
334
|
-
* leftarrow<br/></td></tr>
|
|
335
|
-
* <tr>
|
|
336
|
-
* <td colSpan=1 rowSpan=1>
|
|
337
|
-
* moveRight<br/></td><td colSpan=1 rowSpan=1>
|
|
338
|
-
* rightarrow<br/></td></tr>
|
|
339
|
-
* <tr>
|
|
340
|
-
* <td colSpan=1 rowSpan=1>
|
|
341
|
-
* select<br/></td><td colSpan=1 rowSpan=1>
|
|
342
|
-
* enter<br/></td></tr>
|
|
343
|
-
* <tr>
|
|
344
|
-
* <td colSpan=1 rowSpan=1>
|
|
345
|
-
* home<br/></td><td colSpan=1 rowSpan=1>
|
|
346
|
-
* home<br/></td></tr>
|
|
347
|
-
* <tr>
|
|
348
|
-
* <td colSpan=1 rowSpan=1>
|
|
349
|
-
* end<br/></td><td colSpan=1 rowSpan=1>
|
|
350
|
-
* end<br/></td></tr>
|
|
351
|
-
* <tr>
|
|
352
|
-
* <tr>
|
|
353
|
-
* <td colSpan=1 rowSpan=1>
|
|
354
|
-
* controlHome<br/></td><td colSpan=1 rowSpan=1>
|
|
355
|
-
* ctrl+home<br/></td></tr>
|
|
356
|
-
* <tr>
|
|
357
|
-
* <td colSpan=1 rowSpan=1>
|
|
358
|
-
* controlEnd<br/></td><td colSpan=1 rowSpan=1>
|
|
359
|
-
* ctrl+end<br/></td></tr>
|
|
360
|
-
* <tr>
|
|
361
|
-
* <td colSpan=1 rowSpan=1>
|
|
362
|
-
* altUpArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
363
|
-
* alt+uparrow<br/></td></tr>
|
|
364
|
-
* <tr>
|
|
365
|
-
* <td colSpan=1 rowSpan=1>
|
|
366
|
-
* spacebar<br/></td><td colSpan=1 rowSpan=1>
|
|
367
|
-
* space<br/></td></tr>
|
|
368
|
-
* <tr>
|
|
369
|
-
* <td colSpan=1 rowSpan=1>
|
|
370
|
-
* enter<br/></td><td colSpan=1 rowSpan=1>
|
|
371
|
-
* enter<br/></td></tr>
|
|
372
|
-
* <tr>
|
|
373
|
-
* <td colSpan=1 rowSpan=1>
|
|
374
|
-
* altRightArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
375
|
-
* alt+rightarrow<br/></td></tr>
|
|
376
|
-
* <tr>
|
|
377
|
-
* <td colSpan=1 rowSpan=1>
|
|
378
|
-
* altLeftArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
379
|
-
* alt+leftarrow<br/></td></tr>
|
|
380
|
-
* </table>
|
|
381
|
-
*
|
|
382
|
-
* {% codeBlock src='daterangepicker/keyConfigs/index.md' %}{% endcodeBlock %}
|
|
383
|
-
*
|
|
384
|
-
* @default null
|
|
385
|
-
*/
|
|
386
|
-
keyConfigs?: { [key: string]: string };
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Sets or gets the required date format to the start and end date string.
|
|
390
|
-
* > For more details refer to
|
|
391
|
-
* [`Format`](https://ej2.syncfusion.com/demos/#/material/daterangepicker/format.html)sample.
|
|
392
|
-
*
|
|
393
|
-
* @aspType string
|
|
394
|
-
* {% codeBlock src='daterangepicker/format/index.md' %}{% endcodeBlock %}
|
|
395
|
-
* @default null
|
|
396
|
-
*/
|
|
397
|
-
format?: string | RangeFormatObject;
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Specifies the component to be disabled which prevents the DateRangePicker from user interactions.
|
|
401
|
-
*
|
|
402
|
-
* @default true
|
|
403
|
-
*/
|
|
404
|
-
enabled?: boolean;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* Denies the editing the ranges in the DateRangePicker component.
|
|
408
|
-
*
|
|
409
|
-
* @default false
|
|
410
|
-
*/
|
|
411
|
-
readonly?: boolean;
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* > Support for `allowEdit` has been provided from
|
|
415
|
-
* [`v16.2.46`](https://ej2.syncfusion.com/angular/documentation/release-notes/16.2.46/#daterangepicker).
|
|
416
|
-
*
|
|
417
|
-
* Specifies whether the input textbox is editable or not. Here the user can select the value from the
|
|
418
|
-
* popup and cannot edit in the input textbox.
|
|
419
|
-
*
|
|
420
|
-
* @default true
|
|
421
|
-
*/
|
|
422
|
-
allowEdit?: boolean;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Specifies the placeholder text to be floated.
|
|
426
|
-
* Possible values are:
|
|
427
|
-
* Never: The label will never float in the input when the placeholder is available.
|
|
428
|
-
* Always: The floating label will always float above the input.
|
|
429
|
-
* Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
430
|
-
*
|
|
431
|
-
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
432
|
-
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
433
|
-
* @isEnumeration true
|
|
434
|
-
*/
|
|
435
|
-
floatLabelType?: FloatLabelType | string;
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Specifies the placeholder text that need to be displayed in the DateRangePicker component.
|
|
439
|
-
*
|
|
440
|
-
* @default null
|
|
441
|
-
*/
|
|
442
|
-
placeholder?: string;
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* You can add the additional html attributes such as disabled, value etc., to the element.
|
|
446
|
-
* If you configured both property and equivalent html attribute then the component considers the property value.
|
|
447
|
-
* {% codeBlock src='daterangepicker/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
448
|
-
*
|
|
449
|
-
* @default {}
|
|
450
|
-
*/
|
|
451
|
-
htmlAttributes?: { [key: string]: string };
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* Triggers when the DateRangePicker is opened.
|
|
455
|
-
*
|
|
456
|
-
* @event open
|
|
457
|
-
*/
|
|
458
|
-
open?: EmitType<Object>;
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* Triggers when the DateRangePicker is closed.
|
|
462
|
-
*
|
|
463
|
-
* @event close
|
|
464
|
-
*/
|
|
465
|
-
close?: EmitType<Object>;
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* Triggers on selecting the start and end date.
|
|
469
|
-
*
|
|
470
|
-
* @event select
|
|
471
|
-
*/
|
|
472
|
-
select?: EmitType<Object>;
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* Triggers when the control gets focus.
|
|
476
|
-
*
|
|
477
|
-
* @event focus
|
|
478
|
-
*/
|
|
479
|
-
focus?: EmitType<FocusEventArgs>;
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* Triggers when the control loses the focus.
|
|
483
|
-
*
|
|
484
|
-
* @event blur
|
|
485
|
-
*/
|
|
486
|
-
blur?: EmitType<BlurEventArgs>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies the width of the DateRangePicker component.
|
|
182
|
+
*
|
|
183
|
+
* @default ''
|
|
184
|
+
*/
|
|
185
|
+
width?: number | string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* specifies the z-index value of the dateRangePicker popup element.
|
|
189
|
+
*
|
|
190
|
+
* @default 1000
|
|
191
|
+
* @aspType int
|
|
192
|
+
*/
|
|
193
|
+
zIndex?: number;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Specifies whether to show or hide the clear icon
|
|
197
|
+
*
|
|
198
|
+
* @default true
|
|
199
|
+
*/
|
|
200
|
+
showClearButton?: boolean;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Specifies whether the today button is to be displayed or not.
|
|
204
|
+
*
|
|
205
|
+
* @default true
|
|
206
|
+
* @hidden
|
|
207
|
+
*/
|
|
208
|
+
showTodayButton?: boolean;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Specifies the initial view of the Calendar when it is opened.
|
|
212
|
+
* With the help of this property, initial view can be changed to year or decade view.
|
|
213
|
+
*
|
|
214
|
+
* @default Month
|
|
215
|
+
*/
|
|
216
|
+
start?: CalendarView;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Sets the maximum level of view (month, year, decade) in the Calendar.
|
|
220
|
+
* Depth view should be smaller than the start view to restrict its view navigation.
|
|
221
|
+
*
|
|
222
|
+
* @default Month
|
|
223
|
+
*/
|
|
224
|
+
depth?: CalendarView;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Sets the root CSS class to the DateRangePicker which allows you to customize the appearance.
|
|
228
|
+
*
|
|
229
|
+
* @default ''
|
|
230
|
+
*/
|
|
231
|
+
cssClass?: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Sets or gets the string that used between the start and end date string.
|
|
235
|
+
*
|
|
236
|
+
* @default '-'
|
|
237
|
+
*/
|
|
238
|
+
separator?: string;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Specifies the minimum span of days that can be allowed in date range selection.
|
|
242
|
+
* > For more details refer to
|
|
243
|
+
* [`Range Span`](../../daterangepicker/range-restriction/#range-span) documentation.
|
|
244
|
+
*
|
|
245
|
+
* @default null
|
|
246
|
+
* @aspType int
|
|
247
|
+
*/
|
|
248
|
+
minDays?: number;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Specifies the maximum span of days that can be allowed in a date range selection.
|
|
252
|
+
* > For more details refer to
|
|
253
|
+
* [`Range Span`](../../daterangepicker/range-restriction/#range-span) documentation.
|
|
254
|
+
*
|
|
255
|
+
* @default null
|
|
256
|
+
* @aspType int
|
|
257
|
+
*/
|
|
258
|
+
maxDays?: number;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Specifies the component to act as strict which allows entering only a valid date range in a DateRangePicker.
|
|
262
|
+
* > For more details refer to
|
|
263
|
+
* [`Strict Mode`](../../daterangepicker/range-restriction#strict-mode)documentation.
|
|
264
|
+
*
|
|
265
|
+
* @default false
|
|
266
|
+
*/
|
|
267
|
+
strictMode?: boolean;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Customizes the key actions in DateRangePicker.
|
|
271
|
+
* For example, when using German keyboard, the key actions can be customized using these shortcuts.
|
|
272
|
+
*
|
|
273
|
+
*
|
|
274
|
+
* Input Navigation
|
|
275
|
+
* <table>
|
|
276
|
+
* <tr>
|
|
277
|
+
* <td colSpan=1 rowSpan=1>
|
|
278
|
+
* Key action<br/></td><td colSpan=1 rowSpan=1>
|
|
279
|
+
* Key<br/></td></tr>
|
|
280
|
+
* <tr>
|
|
281
|
+
* <td colSpan=1 rowSpan=1>
|
|
282
|
+
* altUpArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
283
|
+
* alt+uparrow<br/></td></tr>
|
|
284
|
+
* <tr>
|
|
285
|
+
* <td colSpan=1 rowSpan=1>
|
|
286
|
+
* altDownArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
287
|
+
* alt+downarrow<br/></td></tr>
|
|
288
|
+
* <tr>
|
|
289
|
+
* <td colSpan=1 rowSpan=1>
|
|
290
|
+
* escape<br/></td><td colSpan=1 rowSpan=1>
|
|
291
|
+
* escape<br/></td></tr>
|
|
292
|
+
* </table>
|
|
293
|
+
*
|
|
294
|
+
* Calendar Navigation (Use the following list of keys to navigate the currently focused Calendar after the popup has opened).
|
|
295
|
+
* <table>
|
|
296
|
+
* <tr>
|
|
297
|
+
* <td colSpan=1 rowSpan=1>
|
|
298
|
+
* Key action<br/></td><td colSpan=1 rowSpan=1>
|
|
299
|
+
* Key<br/></td></tr>
|
|
300
|
+
* <tr>
|
|
301
|
+
* <td colSpan=1 rowSpan=1>
|
|
302
|
+
* controlUp<br/></td><td colSpan=1 rowSpan=1>
|
|
303
|
+
* ctrl+38<br/></td></tr>
|
|
304
|
+
* <tr>
|
|
305
|
+
* <td colSpan=1 rowSpan=1>
|
|
306
|
+
* controlDown<br/></td><td colSpan=1 rowSpan=1>
|
|
307
|
+
* ctrl+40<br/></td></tr>
|
|
308
|
+
* <tr>
|
|
309
|
+
* <td colSpan=1 rowSpan=1>
|
|
310
|
+
* moveDown<br/></td><td colSpan=1 rowSpan=1>
|
|
311
|
+
* downarrow<br/></td></tr>
|
|
312
|
+
* <td colSpan=1 rowSpan=1>
|
|
313
|
+
* pageUp<br/></td><td colSpan=1 rowSpan=1>
|
|
314
|
+
* pageup<br/></td></tr>
|
|
315
|
+
* <tr>
|
|
316
|
+
* <td colSpan=1 rowSpan=1>
|
|
317
|
+
* pageDown<br/></td><td colSpan=1 rowSpan=1>
|
|
318
|
+
* pagedown<br/></td></tr>
|
|
319
|
+
* <tr>
|
|
320
|
+
* <td colSpan=1 rowSpan=1>
|
|
321
|
+
* shiftPageUp<br/></td><td colSpan=1 rowSpan=1>
|
|
322
|
+
* shift+pageup<br/></td></tr>
|
|
323
|
+
* <tr>
|
|
324
|
+
* <td colSpan=1 rowSpan=1>
|
|
325
|
+
* shiftPageDown<br/></td><td colSpan=1 rowSpan=1>
|
|
326
|
+
* shift+pagedown<br/></td></tr>
|
|
327
|
+
* <tr>
|
|
328
|
+
* <td colSpan=1 rowSpan=1>
|
|
329
|
+
* moveUp<br/></td><td colSpan=1 rowSpan=1>
|
|
330
|
+
* uparrow<br/></td></tr>
|
|
331
|
+
* <tr>
|
|
332
|
+
* <td colSpan=1 rowSpan=1>
|
|
333
|
+
* moveLeft<br/></td><td colSpan=1 rowSpan=1>
|
|
334
|
+
* leftarrow<br/></td></tr>
|
|
335
|
+
* <tr>
|
|
336
|
+
* <td colSpan=1 rowSpan=1>
|
|
337
|
+
* moveRight<br/></td><td colSpan=1 rowSpan=1>
|
|
338
|
+
* rightarrow<br/></td></tr>
|
|
339
|
+
* <tr>
|
|
340
|
+
* <td colSpan=1 rowSpan=1>
|
|
341
|
+
* select<br/></td><td colSpan=1 rowSpan=1>
|
|
342
|
+
* enter<br/></td></tr>
|
|
343
|
+
* <tr>
|
|
344
|
+
* <td colSpan=1 rowSpan=1>
|
|
345
|
+
* home<br/></td><td colSpan=1 rowSpan=1>
|
|
346
|
+
* home<br/></td></tr>
|
|
347
|
+
* <tr>
|
|
348
|
+
* <td colSpan=1 rowSpan=1>
|
|
349
|
+
* end<br/></td><td colSpan=1 rowSpan=1>
|
|
350
|
+
* end<br/></td></tr>
|
|
351
|
+
* <tr>
|
|
352
|
+
* <tr>
|
|
353
|
+
* <td colSpan=1 rowSpan=1>
|
|
354
|
+
* controlHome<br/></td><td colSpan=1 rowSpan=1>
|
|
355
|
+
* ctrl+home<br/></td></tr>
|
|
356
|
+
* <tr>
|
|
357
|
+
* <td colSpan=1 rowSpan=1>
|
|
358
|
+
* controlEnd<br/></td><td colSpan=1 rowSpan=1>
|
|
359
|
+
* ctrl+end<br/></td></tr>
|
|
360
|
+
* <tr>
|
|
361
|
+
* <td colSpan=1 rowSpan=1>
|
|
362
|
+
* altUpArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
363
|
+
* alt+uparrow<br/></td></tr>
|
|
364
|
+
* <tr>
|
|
365
|
+
* <td colSpan=1 rowSpan=1>
|
|
366
|
+
* spacebar<br/></td><td colSpan=1 rowSpan=1>
|
|
367
|
+
* space<br/></td></tr>
|
|
368
|
+
* <tr>
|
|
369
|
+
* <td colSpan=1 rowSpan=1>
|
|
370
|
+
* enter<br/></td><td colSpan=1 rowSpan=1>
|
|
371
|
+
* enter<br/></td></tr>
|
|
372
|
+
* <tr>
|
|
373
|
+
* <td colSpan=1 rowSpan=1>
|
|
374
|
+
* altRightArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
375
|
+
* alt+rightarrow<br/></td></tr>
|
|
376
|
+
* <tr>
|
|
377
|
+
* <td colSpan=1 rowSpan=1>
|
|
378
|
+
* altLeftArrow<br/></td><td colSpan=1 rowSpan=1>
|
|
379
|
+
* alt+leftarrow<br/></td></tr>
|
|
380
|
+
* </table>
|
|
381
|
+
*
|
|
382
|
+
* {% codeBlock src='daterangepicker/keyConfigs/index.md' %}{% endcodeBlock %}
|
|
383
|
+
*
|
|
384
|
+
* @default null
|
|
385
|
+
*/
|
|
386
|
+
keyConfigs?: { [key: string]: string };
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Sets or gets the required date format to the start and end date string.
|
|
390
|
+
* > For more details refer to
|
|
391
|
+
* [`Format`](https://ej2.syncfusion.com/demos/#/material/daterangepicker/format.html)sample.
|
|
392
|
+
*
|
|
393
|
+
* @aspType string
|
|
394
|
+
* {% codeBlock src='daterangepicker/format/index.md' %}{% endcodeBlock %}
|
|
395
|
+
* @default null
|
|
396
|
+
*/
|
|
397
|
+
format?: string | RangeFormatObject;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Specifies the component to be disabled which prevents the DateRangePicker from user interactions.
|
|
401
|
+
*
|
|
402
|
+
* @default true
|
|
403
|
+
*/
|
|
404
|
+
enabled?: boolean;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Denies the editing the ranges in the DateRangePicker component.
|
|
408
|
+
*
|
|
409
|
+
* @default false
|
|
410
|
+
*/
|
|
411
|
+
readonly?: boolean;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* > Support for `allowEdit` has been provided from
|
|
415
|
+
* [`v16.2.46`](https://ej2.syncfusion.com/angular/documentation/release-notes/16.2.46/#daterangepicker).
|
|
416
|
+
*
|
|
417
|
+
* Specifies whether the input textbox is editable or not. Here the user can select the value from the
|
|
418
|
+
* popup and cannot edit in the input textbox.
|
|
419
|
+
*
|
|
420
|
+
* @default true
|
|
421
|
+
*/
|
|
422
|
+
allowEdit?: boolean;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Specifies the placeholder text to be floated.
|
|
426
|
+
* Possible values are:
|
|
427
|
+
* Never: The label will never float in the input when the placeholder is available.
|
|
428
|
+
* Always: The floating label will always float above the input.
|
|
429
|
+
* Auto: The floating label will float above the input after focusing or entering a value in the input.
|
|
430
|
+
*
|
|
431
|
+
* @default Syncfusion.EJ2.Inputs.FloatLabelType.Never
|
|
432
|
+
* @aspType Syncfusion.EJ2.Inputs.FloatLabelType
|
|
433
|
+
* @isEnumeration true
|
|
434
|
+
*/
|
|
435
|
+
floatLabelType?: FloatLabelType | string;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Specifies the placeholder text that need to be displayed in the DateRangePicker component.
|
|
439
|
+
*
|
|
440
|
+
* @default null
|
|
441
|
+
*/
|
|
442
|
+
placeholder?: string;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* You can add the additional html attributes such as disabled, value etc., to the element.
|
|
446
|
+
* If you configured both property and equivalent html attribute then the component considers the property value.
|
|
447
|
+
* {% codeBlock src='daterangepicker/htmlAttributes/index.md' %}{% endcodeBlock %}
|
|
448
|
+
*
|
|
449
|
+
* @default {}
|
|
450
|
+
*/
|
|
451
|
+
htmlAttributes?: { [key: string]: string };
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Triggers when the DateRangePicker is opened.
|
|
455
|
+
*
|
|
456
|
+
* @event open
|
|
457
|
+
*/
|
|
458
|
+
open?: EmitType<Object>;
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Triggers when the DateRangePicker is closed.
|
|
462
|
+
*
|
|
463
|
+
* @event close
|
|
464
|
+
*/
|
|
465
|
+
close?: EmitType<Object>;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Triggers on selecting the start and end date.
|
|
469
|
+
*
|
|
470
|
+
* @event select
|
|
471
|
+
*/
|
|
472
|
+
select?: EmitType<Object>;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Triggers when the control gets focus.
|
|
476
|
+
*
|
|
477
|
+
* @event focus
|
|
478
|
+
*/
|
|
479
|
+
focus?: EmitType<FocusEventArgs>;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Triggers when the control loses the focus.
|
|
483
|
+
*
|
|
484
|
+
* @event blur
|
|
485
|
+
*/
|
|
486
|
+
blur?: EmitType<BlurEventArgs>;
|
|
487
487
|
|
|
488
488
|
}
|