@syncfusion/ej2-calendars 19.2.62 → 19.3.53
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/.eslintrc.json +1 -1
- package/CHANGELOG.md +8 -0
- 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 +612 -1062
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +609 -1059
- 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 +10 -10
- package/src/calendar/calendar-model.d.ts +1 -10
- package/src/calendar/calendar.d.ts +0 -12
- package/src/calendar/calendar.js +146 -201
- package/src/datepicker/datepicker-model.d.ts +1 -11
- package/src/datepicker/datepicker.d.ts +0 -11
- package/src/datepicker/datepicker.js +168 -310
- package/src/daterangepicker/daterangepicker-model.d.ts +1 -23
- package/src/daterangepicker/daterangepicker.d.ts +0 -22
- package/src/daterangepicker/daterangepicker.js +19 -19
- package/src/datetimepicker/datetimepicker-model.d.ts +1 -14
- package/src/datetimepicker/datetimepicker.d.ts +0 -13
- package/src/datetimepicker/datetimepicker.js +10 -13
- package/src/maskbase/masked-date-time.d.ts +6 -0
- package/src/maskbase/masked-date-time.js +35 -1
- package/src/timepicker/timepicker-model.d.ts +1 -15
- package/src/timepicker/timepicker.d.ts +0 -19
- package/src/timepicker/timepicker.js +238 -519
- package/styles/bootstrap-dark.css +17 -2
- package/styles/bootstrap.css +17 -2
- package/styles/bootstrap4.css +17 -2
- package/styles/bootstrap5-dark.css +2676 -0
- package/styles/bootstrap5-dark.scss +5 -0
- package/styles/bootstrap5.css +2676 -0
- package/styles/bootstrap5.scss +5 -0
- package/styles/calendar/_bootstrap-dark-definition.scss +4 -2
- package/styles/calendar/_bootstrap-definition.scss +4 -2
- package/styles/calendar/_bootstrap4-definition.scss +4 -2
- package/styles/calendar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/calendar/_bootstrap5-definition.scss +213 -0
- package/styles/calendar/_fabric-dark-definition.scss +3 -0
- package/styles/calendar/_fabric-definition.scss +3 -0
- package/styles/calendar/_highcontrast-definition.scss +3 -0
- package/styles/calendar/_highcontrast-light-definition.scss +3 -0
- package/styles/calendar/_layout.scss +8 -0
- package/styles/calendar/_material-dark-definition.scss +3 -0
- package/styles/calendar/_material-definition.scss +3 -0
- package/styles/calendar/_tailwind-dark-definition.scss +1 -220
- package/styles/calendar/_tailwind-definition.scss +84 -101
- package/styles/calendar/_theme.scss +40 -0
- package/styles/calendar/bootstrap-dark.css +17 -2
- package/styles/calendar/bootstrap.css +17 -2
- package/styles/calendar/bootstrap4.css +17 -2
- package/styles/calendar/bootstrap5-dark.css +1038 -0
- package/styles/calendar/bootstrap5-dark.scss +5 -0
- package/styles/calendar/bootstrap5.css +1038 -0
- package/styles/calendar/bootstrap5.scss +5 -0
- package/styles/calendar/fabric-dark.css +15 -0
- package/styles/calendar/fabric.css +15 -0
- package/styles/calendar/highcontrast-light.css +15 -0
- package/styles/calendar/highcontrast.css +15 -0
- package/styles/calendar/icons/_bootstrap5-dark.scss +1 -0
- package/styles/calendar/icons/_bootstrap5.scss +12 -0
- package/styles/calendar/icons/_tailwind-dark.scss +1 -13
- package/styles/calendar/material-dark.css +28 -13
- package/styles/calendar/material.css +15 -0
- package/styles/calendar/tailwind-dark.css +17 -2
- package/styles/calendar/tailwind.css +17 -2
- package/styles/datepicker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/datepicker/_bootstrap5-definition.scss +36 -0
- package/styles/datepicker/_layout.scss +1 -2
- package/styles/datepicker/_tailwind-dark-definition.scss +1 -34
- package/styles/datepicker/_tailwind-definition.scss +13 -13
- package/styles/datepicker/_theme.scss +2 -2
- package/styles/datepicker/bootstrap5-dark.css +177 -0
- package/styles/datepicker/bootstrap5-dark.scss +7 -0
- package/styles/datepicker/bootstrap5.css +177 -0
- package/styles/datepicker/bootstrap5.scss +7 -0
- package/styles/datepicker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/datepicker/icons/_bootstrap5.scss +55 -0
- package/styles/datepicker/icons/_tailwind-dark.scss +1 -55
- package/styles/datepicker/material-dark.css +3 -3
- package/styles/daterangepicker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/daterangepicker/_bootstrap5-definition.scss +222 -0
- package/styles/daterangepicker/_layout.scss +2 -2
- package/styles/daterangepicker/_tailwind-dark-definition.scss +1 -192
- package/styles/daterangepicker/_tailwind-definition.scss +81 -79
- package/styles/daterangepicker/_theme.scss +82 -0
- package/styles/daterangepicker/bootstrap5-dark.css +1029 -0
- package/styles/daterangepicker/bootstrap5-dark.scss +7 -0
- package/styles/daterangepicker/bootstrap5.css +1029 -0
- package/styles/daterangepicker/bootstrap5.scss +7 -0
- package/styles/daterangepicker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/daterangepicker/icons/_bootstrap5.scss +67 -0
- package/styles/daterangepicker/icons/_tailwind-dark.scss +1 -63
- package/styles/daterangepicker/material-dark.css +9 -9
- package/styles/datetimepicker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/datetimepicker/_bootstrap5-definition.scss +55 -0
- package/styles/datetimepicker/_tailwind-dark-definition.scss +1 -53
- package/styles/datetimepicker/_tailwind-definition.scss +16 -14
- package/styles/datetimepicker/bootstrap5-dark.css +205 -0
- package/styles/datetimepicker/bootstrap5-dark.scss +8 -0
- package/styles/datetimepicker/bootstrap5.css +205 -0
- package/styles/datetimepicker/bootstrap5.scss +8 -0
- package/styles/datetimepicker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/datetimepicker/icons/_bootstrap5.scss +11 -0
- package/styles/datetimepicker/icons/_tailwind-dark.scss +1 -10
- package/styles/datetimepicker/material-dark.css +4 -4
- package/styles/fabric-dark.css +15 -0
- package/styles/fabric.css +15 -0
- package/styles/highcontrast-light.css +15 -0
- package/styles/highcontrast.css +15 -0
- package/styles/material-dark.css +48 -33
- package/styles/material.css +15 -0
- package/styles/tailwind-dark.css +17 -2
- package/styles/tailwind.css +17 -2
- package/styles/timepicker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/timepicker/_bootstrap5-definition.scss +52 -0
- package/styles/timepicker/_tailwind-dark-definition.scss +1 -48
- package/styles/timepicker/_tailwind-definition.scss +19 -17
- package/styles/timepicker/_theme.scss +1 -1
- package/styles/timepicker/bootstrap5-dark.css +223 -0
- package/styles/timepicker/bootstrap5-dark.scss +6 -0
- package/styles/timepicker/bootstrap5.css +223 -0
- package/styles/timepicker/bootstrap5.scss +6 -0
- package/styles/timepicker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/timepicker/icons/_bootstrap5.scss +13 -0
- package/styles/timepicker/icons/_tailwind-dark.scss +1 -12
- package/styles/timepicker/material-dark.css +4 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.
|
|
3
|
+
* version : 19.3.53
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-calendars@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-calendars@19.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@19.3.46",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-assLoYkLa9evBRoJyO81sI/SUeKQgsnk/Af7iGKN3IxgswzWKAjhenmzDykQQvs6IhFLlU4GnJDlLuYBXPfxdw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-calendars",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"/@syncfusion/ej2-schedule",
|
|
33
33
|
"/@syncfusion/ej2-vue-calendars"
|
|
34
34
|
],
|
|
35
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-calendars/-/ej2-calendars-19.
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-calendars/-/ej2-calendars-19.3.46.tgz",
|
|
36
|
+
"_shasum": "d06f7db2950a8518be4af0887b81672ad8fe8426",
|
|
37
37
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
38
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
39
39
|
"author": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~19.
|
|
48
|
-
"@syncfusion/ej2-buttons": "~19.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~19.
|
|
50
|
-
"@syncfusion/ej2-lists": "~19.
|
|
51
|
-
"@syncfusion/ej2-popups": "~19.
|
|
47
|
+
"@syncfusion/ej2-base": "~19.3.53",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~19.3.53",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~19.3.53",
|
|
50
|
+
"@syncfusion/ej2-lists": "~19.3.53",
|
|
51
|
+
"@syncfusion/ej2-popups": "~19.3.53"
|
|
52
52
|
},
|
|
53
53
|
"deprecated": false,
|
|
54
54
|
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
|
|
@@ -81,6 +81,6 @@
|
|
|
81
81
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
82
82
|
},
|
|
83
83
|
"typings": "index.d.ts",
|
|
84
|
-
"version": "19.
|
|
84
|
+
"version": "19.3.53",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventHandler, Internationalization, ModuleDeclaration
|
|
1
|
+
import { Component, EventHandler, Internationalization, ModuleDeclaration } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, KeyboardEvents, L10n } 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 , ChildProperty} from '@syncfusion/ej2-base';import { Property, Event, EmitType, isNullOrUndefined, throwError } from '@syncfusion/ej2-base';import { Islamic, IslamicDateArgs } from './index';
|
|
2
2
|
import {CalendarType,CalendarView,WeekRule,DayHeaderFormats,NavigatedEventArgs,RenderDayCellEventArgs,ChangedEventArgs} from "./calendar";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -68,7 +68,6 @@ export interface CalendarBaseModel extends ComponentModel{
|
|
|
68
68
|
* Gets or sets the minimum date that can be selected in the Calendar.
|
|
69
69
|
*
|
|
70
70
|
* @default new Date(1900, 00, 01)
|
|
71
|
-
* @blazorDefaultValue new DateTime(1900, 01, 01)
|
|
72
71
|
|
|
73
72
|
*/
|
|
74
73
|
min?: Date;
|
|
@@ -92,7 +91,6 @@ export interface CalendarBaseModel extends ComponentModel{
|
|
|
92
91
|
* Gets or sets the maximum date that can be selected in the Calendar.
|
|
93
92
|
*
|
|
94
93
|
* @default new Date(2099, 11, 31)
|
|
95
|
-
* @blazorDefaultValue new DateTime(2099, 12, 31)
|
|
96
94
|
|
|
97
95
|
*/
|
|
98
96
|
max?: Date;
|
|
@@ -102,7 +100,6 @@ export interface CalendarBaseModel extends ComponentModel{
|
|
|
102
100
|
*
|
|
103
101
|
* @default 0
|
|
104
102
|
* @aspType int
|
|
105
|
-
* @blazorType int
|
|
106
103
|
|
|
107
104
|
* > For more details about firstDayOfWeek refer to
|
|
108
105
|
* [`First day of week`](../../calendar/how-to/first-day-of-week#change-the-first-day-of-the-week) documentation.
|
|
@@ -316,7 +313,6 @@ export interface CalendarBaseModel extends ComponentModel{
|
|
|
316
313
|
* {% codeBlock src='calendar/keyConfigs/index.md' %}{% endcodeBlock %}
|
|
317
314
|
*
|
|
318
315
|
* @default null
|
|
319
|
-
* @blazorType object
|
|
320
316
|
|
|
321
317
|
*/
|
|
322
318
|
keyConfigs?: { [key: string]: string };
|
|
@@ -335,7 +331,6 @@ export interface CalendarBaseModel extends ComponentModel{
|
|
|
335
331
|
* Triggers when Calendar is created.
|
|
336
332
|
*
|
|
337
333
|
* @event created
|
|
338
|
-
* @blazorProperty 'Created'
|
|
339
334
|
*/
|
|
340
335
|
created?: EmitType<Object>;
|
|
341
336
|
|
|
@@ -343,7 +338,6 @@ export interface CalendarBaseModel extends ComponentModel{
|
|
|
343
338
|
* Triggers when Calendar is destroyed.
|
|
344
339
|
*
|
|
345
340
|
* @event destroyed
|
|
346
|
-
* @blazorProperty 'Destroyed'
|
|
347
341
|
*/
|
|
348
342
|
destroyed?: EmitType<Object>;
|
|
349
343
|
|
|
@@ -351,7 +345,6 @@ export interface CalendarBaseModel extends ComponentModel{
|
|
|
351
345
|
* Triggers when the Calendar is navigated to another level or within the same level of view.
|
|
352
346
|
*
|
|
353
347
|
* @event navigated
|
|
354
|
-
* @blazorProperty 'Navigated'
|
|
355
348
|
*/
|
|
356
349
|
navigated?: EmitType<NavigatedEventArgs>;
|
|
357
350
|
|
|
@@ -359,7 +352,6 @@ export interface CalendarBaseModel extends ComponentModel{
|
|
|
359
352
|
* Triggers when each day cell of the Calendar is rendered.
|
|
360
353
|
*
|
|
361
354
|
* @event renderDayCell
|
|
362
|
-
* @blazorProperty 'OnRenderDayCell'
|
|
363
355
|
*/
|
|
364
356
|
renderDayCell?: EmitType<RenderDayCellEventArgs>;
|
|
365
357
|
|
|
@@ -398,7 +390,6 @@ export interface CalendarModel extends CalendarBaseModel{
|
|
|
398
390
|
* Triggers when the Calendar value is changed.
|
|
399
391
|
*
|
|
400
392
|
* @event change
|
|
401
|
-
* @blazorProperty 'ValueChange'
|
|
402
393
|
*/
|
|
403
394
|
change?: EmitType<ChangedEventArgs>;
|
|
404
395
|
|
|
@@ -94,7 +94,6 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
|
|
|
94
94
|
protected calendarElement: HTMLElement;
|
|
95
95
|
protected isPopupClicked: boolean;
|
|
96
96
|
protected isDateSelected: boolean;
|
|
97
|
-
private blazorRef;
|
|
98
97
|
private serverModuleName;
|
|
99
98
|
protected timezone: string;
|
|
100
99
|
protected defaultKeyConfigs: {
|
|
@@ -109,7 +108,6 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
|
|
|
109
108
|
* Gets or sets the minimum date that can be selected in the Calendar.
|
|
110
109
|
*
|
|
111
110
|
* @default new Date(1900, 00, 01)
|
|
112
|
-
* @blazorDefaultValue new DateTime(1900, 01, 01)
|
|
113
111
|
|
|
114
112
|
*/
|
|
115
113
|
min: Date;
|
|
@@ -130,7 +128,6 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
|
|
|
130
128
|
* Gets or sets the maximum date that can be selected in the Calendar.
|
|
131
129
|
*
|
|
132
130
|
* @default new Date(2099, 11, 31)
|
|
133
|
-
* @blazorDefaultValue new DateTime(2099, 12, 31)
|
|
134
131
|
|
|
135
132
|
*/
|
|
136
133
|
max: Date;
|
|
@@ -139,7 +136,6 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
|
|
|
139
136
|
*
|
|
140
137
|
* @default 0
|
|
141
138
|
* @aspType int
|
|
142
|
-
* @blazorType int
|
|
143
139
|
|
|
144
140
|
* > For more details about firstDayOfWeek refer to
|
|
145
141
|
* [`First day of week`](../../calendar/how-to/first-day-of-week#change-the-first-day-of-the-week) documentation.
|
|
@@ -344,7 +340,6 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
|
|
|
344
340
|
* {% codeBlock src='calendar/keyConfigs/index.md' %}{% endcodeBlock %}
|
|
345
341
|
*
|
|
346
342
|
* @default null
|
|
347
|
-
* @blazorType object
|
|
348
343
|
|
|
349
344
|
*/
|
|
350
345
|
keyConfigs: {
|
|
@@ -363,28 +358,24 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
|
|
|
363
358
|
* Triggers when Calendar is created.
|
|
364
359
|
*
|
|
365
360
|
* @event created
|
|
366
|
-
* @blazorProperty 'Created'
|
|
367
361
|
*/
|
|
368
362
|
created: EmitType<Object>;
|
|
369
363
|
/**
|
|
370
364
|
* Triggers when Calendar is destroyed.
|
|
371
365
|
*
|
|
372
366
|
* @event destroyed
|
|
373
|
-
* @blazorProperty 'Destroyed'
|
|
374
367
|
*/
|
|
375
368
|
destroyed: EmitType<Object>;
|
|
376
369
|
/**
|
|
377
370
|
* Triggers when the Calendar is navigated to another level or within the same level of view.
|
|
378
371
|
*
|
|
379
372
|
* @event navigated
|
|
380
|
-
* @blazorProperty 'Navigated'
|
|
381
373
|
*/
|
|
382
374
|
navigated: EmitType<NavigatedEventArgs>;
|
|
383
375
|
/**
|
|
384
376
|
* Triggers when each day cell of the Calendar is rendered.
|
|
385
377
|
*
|
|
386
378
|
* @event renderDayCell
|
|
387
|
-
* @blazorProperty 'OnRenderDayCell'
|
|
388
379
|
*/
|
|
389
380
|
renderDayCell: EmitType<RenderDayCellEventArgs>;
|
|
390
381
|
/**
|
|
@@ -426,7 +417,6 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
|
|
|
426
417
|
}, moduleName?: string): void;
|
|
427
418
|
protected todayButtonClick(e?: MouseEvent | KeyboardEvent, value?: Date, isCustomDate?: boolean): void;
|
|
428
419
|
protected resetCalendar(): void;
|
|
429
|
-
protected checkDeviceMode(ref?: object): void;
|
|
430
420
|
protected keyActionHandle(e: KeyboardEventArgs, value?: Date, multiSelection?: boolean): void;
|
|
431
421
|
protected keyboardNavigate(number: number, currentView: number, e: KeyboardEvent, max: Date, min: Date): void;
|
|
432
422
|
/**
|
|
@@ -534,7 +524,6 @@ export declare class CalendarBase extends Component<HTMLElement> implements INot
|
|
|
534
524
|
protected getIdValue(e: MouseEvent | TouchEvent | KeyboardEvent, element: Element): Date;
|
|
535
525
|
protected adjustLongHeaderSize(): void;
|
|
536
526
|
protected selectDate(e: MouseEvent | KeyboardEventArgs, date: Date, node: Element, multiSelection?: boolean, values?: Date[]): void;
|
|
537
|
-
private getFromatStringValue;
|
|
538
527
|
protected checkPresentDate(dates: Date, values: Date[]): boolean;
|
|
539
528
|
protected setAriaActiveDescendant(): void;
|
|
540
529
|
protected previousIconHandler(disabled: boolean): void;
|
|
@@ -598,7 +587,6 @@ export declare class Calendar extends CalendarBase {
|
|
|
598
587
|
* Triggers when the Calendar value is changed.
|
|
599
588
|
*
|
|
600
589
|
* @event change
|
|
601
|
-
* @blazorProperty 'ValueChange'
|
|
602
590
|
*/
|
|
603
591
|
change: EmitType<ChangedEventArgs>;
|
|
604
592
|
/**
|