@syncfusion/ej2-schedule 30.1.42 → 30.2.4-744881
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 +243 -262
- package/.gitleaksignore +4 -4
- package/README.md +83 -83
- package/dist/ej2-schedule.umd.min.js +1 -10
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +94 -83
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +559 -548
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/helpers/e2e/index.js +3 -3
- package/helpers/e2e/recurrence-editor.js +13 -13
- package/helpers/e2e/schedule.js +13 -13
- package/license +9 -9
- package/package.json +42 -42
- package/src/recurrence-editor/recurrence-editor-model.d.ts +75 -75
- package/src/recurrence-editor/recurrence-editor.js +19 -19
- package/src/schedule/actions/drag.js +13 -13
- package/src/schedule/actions/keyboard.js +11 -11
- package/src/schedule/actions/resize.js +13 -13
- package/src/schedule/base/interface.d.ts +2 -2
- package/src/schedule/base/schedule-model.d.ts +864 -864
- package/src/schedule/base/schedule.js +19 -19
- package/src/schedule/event-renderer/agenda-base.js +13 -13
- package/src/schedule/event-renderer/month.js +13 -13
- package/src/schedule/event-renderer/timeline-view.js +13 -13
- package/src/schedule/event-renderer/vertical-view.js +13 -13
- package/src/schedule/event-renderer/year.js +13 -13
- package/src/schedule/models/event-settings-model.d.ts +156 -156
- package/src/schedule/models/event-settings.js +19 -19
- package/src/schedule/models/field-options-model.d.ts +22 -22
- package/src/schedule/models/field-options.js +19 -19
- package/src/schedule/models/fields-model.d.ts +92 -92
- package/src/schedule/models/fields.js +19 -19
- package/src/schedule/models/group-model.d.ts +48 -48
- package/src/schedule/models/group.js +19 -19
- package/src/schedule/models/header-rows-model.d.ts +22 -22
- package/src/schedule/models/header-rows.js +19 -19
- package/src/schedule/models/quick-info-templates-model.d.ts +37 -37
- package/src/schedule/models/quick-info-templates.js +19 -19
- package/src/schedule/models/resources-model.d.ts +85 -85
- package/src/schedule/models/resources.js +19 -19
- package/src/schedule/models/time-scale-model.d.ts +40 -40
- package/src/schedule/models/time-scale.js +19 -19
- package/src/schedule/models/toolbar-model.d.ts +187 -187
- package/src/schedule/models/toolbar.js +19 -19
- package/src/schedule/models/views-model.d.ts +361 -361
- package/src/schedule/models/views.js +19 -19
- package/src/schedule/models/work-hours-model.d.ts +16 -16
- package/src/schedule/models/work-hours.js +19 -19
- package/src/schedule/popups/quick-popups.js +1 -1
- package/src/schedule/renderer/agenda.js +13 -13
- package/src/schedule/renderer/day.js +13 -13
- package/src/schedule/renderer/header-renderer.js +11 -11
- package/src/schedule/renderer/month-agenda.js +13 -13
- package/src/schedule/renderer/month.js +22 -20
- package/src/schedule/renderer/timeline-month.js +13 -13
- package/src/schedule/renderer/timeline-view.js +13 -13
- package/src/schedule/renderer/timeline-year.js +13 -13
- package/src/schedule/renderer/vertical-view.js +13 -13
- package/src/schedule/renderer/view-base.d.ts +2 -0
- package/src/schedule/renderer/view-base.js +9 -0
- package/src/schedule/renderer/week.js +13 -13
- package/src/schedule/renderer/work-week.js +13 -13
- package/src/schedule/renderer/year.js +13 -13
- package/styles/bds-lite.css +0 -4446
- package/styles/bds-lite.scss +0 -18
- package/styles/bds.css +0 -5198
- package/styles/bds.scss +0 -20
- package/styles/bootstrap-dark-lite.css +0 -4228
- package/styles/bootstrap-dark-lite.scss +0 -18
- package/styles/bootstrap-dark.css +0 -4980
- package/styles/bootstrap-dark.scss +0 -20
- package/styles/bootstrap-lite.css +0 -4223
- package/styles/bootstrap-lite.scss +0 -18
- package/styles/bootstrap.css +0 -4975
- package/styles/bootstrap.scss +0 -20
- package/styles/bootstrap4-lite.css +0 -4270
- package/styles/bootstrap4-lite.scss +0 -18
- package/styles/bootstrap4.css +0 -5022
- package/styles/bootstrap4.scss +0 -20
- package/styles/bootstrap5-dark-lite.css +0 -4273
- package/styles/bootstrap5-dark-lite.scss +0 -18
- package/styles/bootstrap5-dark.css +0 -5025
- package/styles/bootstrap5-dark.scss +0 -20
- package/styles/bootstrap5-lite.css +0 -4273
- package/styles/bootstrap5-lite.scss +0 -18
- package/styles/bootstrap5.3-lite.css +0 -4319
- package/styles/bootstrap5.3-lite.scss +0 -18
- package/styles/bootstrap5.3.css +0 -5071
- package/styles/bootstrap5.3.scss +0 -20
- package/styles/bootstrap5.css +0 -5025
- package/styles/bootstrap5.scss +0 -20
- package/styles/fabric-dark-lite.css +0 -4198
- package/styles/fabric-dark-lite.scss +0 -18
- package/styles/fabric-dark.css +0 -4950
- package/styles/fabric-dark.scss +0 -20
- package/styles/fabric-lite.css +0 -4195
- package/styles/fabric-lite.scss +0 -18
- package/styles/fabric.css +0 -4947
- package/styles/fabric.scss +0 -20
- package/styles/fluent-dark-lite.css +0 -4261
- package/styles/fluent-dark-lite.scss +0 -18
- package/styles/fluent-dark.css +0 -5013
- package/styles/fluent-dark.scss +0 -20
- package/styles/fluent-lite.css +0 -4261
- package/styles/fluent-lite.scss +0 -18
- package/styles/fluent.css +0 -5013
- package/styles/fluent.scss +0 -20
- package/styles/fluent2-lite.css +0 -4505
- package/styles/fluent2-lite.scss +0 -18
- package/styles/fluent2.css +0 -5261
- package/styles/fluent2.scss +0 -20
- package/styles/highcontrast-light-lite.css +0 -4287
- package/styles/highcontrast-light-lite.scss +0 -18
- package/styles/highcontrast-light.css +0 -5039
- package/styles/highcontrast-light.scss +0 -20
- package/styles/highcontrast-lite.css +0 -4296
- package/styles/highcontrast-lite.scss +0 -18
- package/styles/highcontrast.css +0 -5048
- package/styles/highcontrast.scss +0 -20
- package/styles/material-dark-lite.css +0 -4275
- package/styles/material-dark-lite.scss +0 -18
- package/styles/material-dark.css +0 -5027
- package/styles/material-dark.scss +0 -20
- package/styles/material-lite.css +0 -4310
- package/styles/material-lite.scss +0 -18
- package/styles/material.css +0 -5062
- package/styles/material.scss +0 -20
- package/styles/material3-dark-lite.css +0 -4292
- package/styles/material3-dark-lite.scss +0 -18
- package/styles/material3-dark.css +0 -5045
- package/styles/material3-dark.scss +1 -21
- package/styles/material3-lite.css +0 -4294
- package/styles/material3-lite.scss +0 -18
- package/styles/material3.css +0 -5045
- package/styles/material3.scss +1 -21
- package/styles/tailwind-dark-lite.css +0 -4238
- package/styles/tailwind-dark-lite.scss +0 -18
- package/styles/tailwind-dark.css +0 -4990
- package/styles/tailwind-dark.scss +0 -20
- package/styles/tailwind-lite.css +0 -4238
- package/styles/tailwind-lite.scss +0 -18
- package/styles/tailwind.css +0 -4990
- package/styles/tailwind.scss +0 -20
- package/styles/tailwind3-lite.css +0 -4285
- package/styles/tailwind3-lite.scss +0 -18
- package/styles/tailwind3.css +0 -5037
- package/styles/tailwind3.scss +0 -20
- package/dist/ej2-schedule.min.js +0 -10
- package/dist/global/ej2-schedule.min.js +0 -11
- package/dist/global/ej2-schedule.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/styles/recurrence-editor/_all.scss +0 -2
- package/styles/recurrence-editor/_bds-definition.scss +0 -14
- package/styles/recurrence-editor/_bigger.scss +0 -133
- package/styles/recurrence-editor/_bootstrap-dark-definition.scss +0 -14
- package/styles/recurrence-editor/_bootstrap-definition.scss +0 -14
- package/styles/recurrence-editor/_bootstrap4-definition.scss +0 -14
- package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +0 -1
- package/styles/recurrence-editor/_bootstrap5-definition.scss +0 -14
- package/styles/recurrence-editor/_bootstrap5.3-definition.scss +0 -14
- package/styles/recurrence-editor/_fabric-dark-definition.scss +0 -14
- package/styles/recurrence-editor/_fabric-definition.scss +0 -14
- package/styles/recurrence-editor/_fluent-dark-definition.scss +0 -1
- package/styles/recurrence-editor/_fluent-definition.scss +0 -14
- package/styles/recurrence-editor/_fluent2-definition.scss +0 -14
- package/styles/recurrence-editor/_fusionnew-definition.scss +0 -14
- package/styles/recurrence-editor/_highcontrast-definition.scss +0 -14
- package/styles/recurrence-editor/_highcontrast-light-definition.scss +0 -14
- package/styles/recurrence-editor/_layout.scss +0 -420
- package/styles/recurrence-editor/_material-dark-definition.scss +0 -14
- package/styles/recurrence-editor/_material-definition.scss +0 -14
- package/styles/recurrence-editor/_material3-dark-definition.scss +0 -1
- package/styles/recurrence-editor/_material3-definition.scss +0 -14
- package/styles/recurrence-editor/_tailwind-dark-definition.scss +0 -1
- package/styles/recurrence-editor/_tailwind-definition.scss +0 -14
- package/styles/recurrence-editor/_tailwind3-definition.scss +0 -14
- package/styles/recurrence-editor/_theme.scss +0 -1
- package/styles/recurrence-editor/bds.css +0 -537
- package/styles/recurrence-editor/bds.scss +0 -9
- package/styles/recurrence-editor/bootstrap-dark.css +0 -462
- package/styles/recurrence-editor/bootstrap-dark.scss +0 -9
- package/styles/recurrence-editor/bootstrap.css +0 -462
- package/styles/recurrence-editor/bootstrap.scss +0 -9
- package/styles/recurrence-editor/bootstrap4.css +0 -490
- package/styles/recurrence-editor/bootstrap4.scss +0 -9
- package/styles/recurrence-editor/bootstrap5-dark.css +0 -500
- package/styles/recurrence-editor/bootstrap5-dark.scss +0 -9
- package/styles/recurrence-editor/bootstrap5.3.css +0 -504
- package/styles/recurrence-editor/bootstrap5.3.scss +0 -9
- package/styles/recurrence-editor/bootstrap5.css +0 -500
- package/styles/recurrence-editor/bootstrap5.scss +0 -9
- package/styles/recurrence-editor/fabric-dark.css +0 -438
- package/styles/recurrence-editor/fabric-dark.scss +0 -9
- package/styles/recurrence-editor/fabric.css +0 -438
- package/styles/recurrence-editor/fabric.scss +0 -9
- package/styles/recurrence-editor/fluent-dark.css +0 -493
- package/styles/recurrence-editor/fluent-dark.scss +0 -9
- package/styles/recurrence-editor/fluent.css +0 -493
- package/styles/recurrence-editor/fluent.scss +0 -9
- package/styles/recurrence-editor/fluent2.css +0 -483
- package/styles/recurrence-editor/fluent2.scss +0 -9
- package/styles/recurrence-editor/highcontrast-light.css +0 -447
- package/styles/recurrence-editor/highcontrast-light.scss +0 -9
- package/styles/recurrence-editor/highcontrast.css +0 -447
- package/styles/recurrence-editor/highcontrast.scss +0 -9
- package/styles/recurrence-editor/material-dark.css +0 -487
- package/styles/recurrence-editor/material-dark.scss +0 -9
- package/styles/recurrence-editor/material.css +0 -491
- package/styles/recurrence-editor/material.scss +0 -9
- package/styles/recurrence-editor/material3-dark.css +0 -499
- package/styles/recurrence-editor/material3-dark.scss +0 -10
- package/styles/recurrence-editor/material3.css +0 -501
- package/styles/recurrence-editor/material3.scss +0 -10
- package/styles/recurrence-editor/tailwind-dark.css +0 -474
- package/styles/recurrence-editor/tailwind-dark.scss +0 -9
- package/styles/recurrence-editor/tailwind.css +0 -474
- package/styles/recurrence-editor/tailwind.scss +0 -9
- package/styles/recurrence-editor/tailwind3.css +0 -504
- package/styles/recurrence-editor/tailwind3.scss +0 -9
- package/styles/schedule/_all.scss +0 -2
- package/styles/schedule/_bds-definition.scss +0 -274
- package/styles/schedule/_bigger.scss +0 -801
- package/styles/schedule/_bootstrap-dark-definition.scss +0 -274
- package/styles/schedule/_bootstrap-definition.scss +0 -274
- package/styles/schedule/_bootstrap4-definition.scss +0 -277
- package/styles/schedule/_bootstrap5-dark-definition.scss +0 -1
- package/styles/schedule/_bootstrap5-definition.scss +0 -278
- package/styles/schedule/_bootstrap5.3-definition.scss +0 -278
- package/styles/schedule/_fabric-dark-definition.scss +0 -273
- package/styles/schedule/_fabric-definition.scss +0 -274
- package/styles/schedule/_fluent-dark-definition.scss +0 -1
- package/styles/schedule/_fluent-definition.scss +0 -278
- package/styles/schedule/_fluent2-definition.scss +0 -275
- package/styles/schedule/_fusionnew-definition.scss +0 -275
- package/styles/schedule/_highcontrast-definition.scss +0 -275
- package/styles/schedule/_highcontrast-light-definition.scss +0 -275
- package/styles/schedule/_layout.scss +0 -3870
- package/styles/schedule/_material-dark-definition.scss +0 -272
- package/styles/schedule/_material-definition.scss +0 -272
- package/styles/schedule/_material3-dark-definition.scss +0 -1
- package/styles/schedule/_material3-definition.scss +0 -277
- package/styles/schedule/_tailwind-dark-definition.scss +0 -1
- package/styles/schedule/_tailwind-definition.scss +0 -273
- package/styles/schedule/_tailwind3-definition.scss +0 -278
- package/styles/schedule/_theme.scss +0 -585
- package/styles/schedule/bds.css +0 -4793
- package/styles/schedule/bds.scss +0 -17
- package/styles/schedule/bootstrap-dark.css +0 -4575
- package/styles/schedule/bootstrap-dark.scss +0 -17
- package/styles/schedule/bootstrap.css +0 -4570
- package/styles/schedule/bootstrap.scss +0 -17
- package/styles/schedule/bootstrap4.css +0 -4617
- package/styles/schedule/bootstrap4.scss +0 -17
- package/styles/schedule/bootstrap5-dark.css +0 -4620
- package/styles/schedule/bootstrap5-dark.scss +0 -16
- package/styles/schedule/bootstrap5.3.css +0 -4666
- package/styles/schedule/bootstrap5.3.scss +0 -17
- package/styles/schedule/bootstrap5.css +0 -4620
- package/styles/schedule/bootstrap5.scss +0 -17
- package/styles/schedule/fabric-dark.css +0 -4545
- package/styles/schedule/fabric-dark.scss +0 -17
- package/styles/schedule/fabric.css +0 -4542
- package/styles/schedule/fabric.scss +0 -17
- package/styles/schedule/fluent-dark.css +0 -4608
- package/styles/schedule/fluent-dark.scss +0 -16
- package/styles/schedule/fluent.css +0 -4608
- package/styles/schedule/fluent.scss +0 -17
- package/styles/schedule/fluent2.css +0 -4853
- package/styles/schedule/fluent2.scss +0 -17
- package/styles/schedule/highcontrast-light.css +0 -4634
- package/styles/schedule/highcontrast-light.scss +0 -17
- package/styles/schedule/highcontrast.css +0 -4643
- package/styles/schedule/highcontrast.scss +0 -17
- package/styles/schedule/icons/_bds.scss +0 -220
- package/styles/schedule/icons/_bootstrap-dark.scss +0 -223
- package/styles/schedule/icons/_bootstrap.scss +0 -223
- package/styles/schedule/icons/_bootstrap4.scss +0 -217
- package/styles/schedule/icons/_bootstrap5-dark.scss +0 -1
- package/styles/schedule/icons/_bootstrap5.3.scss +0 -220
- package/styles/schedule/icons/_bootstrap5.scss +0 -220
- package/styles/schedule/icons/_fabric-dark.scss +0 -223
- package/styles/schedule/icons/_fabric.scss +0 -223
- package/styles/schedule/icons/_fluent-dark.scss +0 -1
- package/styles/schedule/icons/_fluent.scss +0 -220
- package/styles/schedule/icons/_fluent2.scss +0 -220
- package/styles/schedule/icons/_fusionnew.scss +0 -220
- package/styles/schedule/icons/_highcontrast-light.scss +0 -223
- package/styles/schedule/icons/_highcontrast.scss +0 -223
- package/styles/schedule/icons/_material-dark.scss +0 -223
- package/styles/schedule/icons/_material.scss +0 -223
- package/styles/schedule/icons/_material3-dark.scss +0 -1
- package/styles/schedule/icons/_material3.scss +0 -220
- package/styles/schedule/icons/_tailwind-dark.scss +0 -1
- package/styles/schedule/icons/_tailwind.scss +0 -220
- package/styles/schedule/icons/_tailwind3.scss +0 -220
- package/styles/schedule/material-dark.css +0 -4622
- package/styles/schedule/material-dark.scss +0 -17
- package/styles/schedule/material.css +0 -4657
- package/styles/schedule/material.scss +0 -17
- package/styles/schedule/material3-dark.css +0 -4640
- package/styles/schedule/material3-dark.scss +0 -17
- package/styles/schedule/material3.css +0 -4642
- package/styles/schedule/material3.scss +0 -18
- package/styles/schedule/tailwind-dark.css +0 -4585
- package/styles/schedule/tailwind-dark.scss +0 -16
- package/styles/schedule/tailwind.css +0 -4585
- package/styles/schedule/tailwind.scss +0 -17
- package/styles/schedule/tailwind3.css +0 -4632
- package/styles/schedule/tailwind3.scss +0 -17
- package/tslint.json +0 -111
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
import { Property, ChildProperty, Complex, Collection } from '@syncfusion/ej2-base';
|
|
21
21
|
import { TimeScale } from '../models/time-scale';
|
|
22
22
|
import { Group } from '../models/group';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class WorkHours
|
|
@@ -6,24 +6,24 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
|
6
6
|
export interface WorkHoursModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* When set to `true`, highlights the cells of working hour range with an active color.
|
|
10
|
-
*
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
highlight?: boolean;
|
|
9
|
+
* When set to `true`, highlights the cells of working hour range with an active color.
|
|
10
|
+
*
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
13
|
+
highlight?: boolean;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* It accepts the time string in short skeleton format `Hm` and usually denotes the start of the working hour range.
|
|
17
|
-
*
|
|
18
|
-
* @default '09:00'
|
|
19
|
-
*/
|
|
20
|
-
start?: string;
|
|
16
|
+
* It accepts the time string in short skeleton format `Hm` and usually denotes the start of the working hour range.
|
|
17
|
+
*
|
|
18
|
+
* @default '09:00'
|
|
19
|
+
*/
|
|
20
|
+
start?: string;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* It accepts the time string in short skeleton format `Hm` and usually denotes the end of the working hour range.
|
|
24
|
-
*
|
|
25
|
-
* @default '18:00'
|
|
26
|
-
*/
|
|
27
|
-
end?: string;
|
|
23
|
+
* It accepts the time string in short skeleton format `Hm` and usually denotes the end of the working hour range.
|
|
24
|
+
*
|
|
25
|
+
* @default '18:00'
|
|
26
|
+
*/
|
|
27
|
+
end?: string;
|
|
28
28
|
|
|
29
29
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
21
21
|
/**
|
|
22
22
|
* A class that represents the configuration of working hours related options of scheduler.
|
|
@@ -1364,7 +1364,7 @@ var QuickPopups = /** @class */ (function () {
|
|
|
1364
1364
|
var buttonCollections = [].slice.call(popup.element.querySelectorAll('.e-control.e-btn'));
|
|
1365
1365
|
for (var _i = 0, buttonCollections_1 = buttonCollections; _i < buttonCollections_1.length; _i++) {
|
|
1366
1366
|
var button = buttonCollections_1[_i];
|
|
1367
|
-
var instance = button.ej2_instances[0];
|
|
1367
|
+
var instance = button.ej2_instances ? button.ej2_instances[0] : null;
|
|
1368
1368
|
if (instance) {
|
|
1369
1369
|
instance.destroy();
|
|
1370
1370
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
15
15
|
import { formatUnit, isNullOrUndefined, closest, extend, append, prepend, remove } from '@syncfusion/ej2-base';
|
|
16
16
|
import { createElement, addClass, EventHandler } from '@syncfusion/ej2-base';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { VerticalView } from './vertical-view';
|
|
15
15
|
/**
|
|
16
16
|
* day view
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
12
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
13
13
|
import { isNullOrUndefined, createElement, remove, closest, addClass, removeClass, extend, append } from '@syncfusion/ej2-base';
|
|
14
14
|
import { Toolbar } from '@syncfusion/ej2-navigations';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
15
15
|
import { EventHandler, createElement, addClass, formatUnit, remove } from '@syncfusion/ej2-base';
|
|
16
16
|
import { AgendaBase } from '../event-renderer/agenda-base';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
15
15
|
import { EventHandler, formatUnit, isNullOrUndefined, createElement, addClass, append, prepend, remove, extend } from '@syncfusion/ej2-base';
|
|
16
16
|
import { ViewBase } from './view-base';
|
|
@@ -53,13 +53,15 @@ var Month = /** @class */ (function (_super) {
|
|
|
53
53
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
54
54
|
Month.prototype.onCellClick = function (event) { };
|
|
55
55
|
Month.prototype.onContentScroll = function (e) {
|
|
56
|
-
this.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
if (!this.skipPersistenceSave) {
|
|
57
|
+
this.parent.removeNewEventElement();
|
|
58
|
+
this.parent.notify(event.virtualScroll, e);
|
|
59
|
+
this.scrollTopPanel(e.target);
|
|
60
|
+
this.scrollLeftPanel(e.target);
|
|
61
|
+
this.parent.uiStateValues.top = e.target.scrollTop;
|
|
62
|
+
this.parent.uiStateValues.left = e.target.scrollLeft;
|
|
63
|
+
this.setPersistence();
|
|
64
|
+
}
|
|
63
65
|
};
|
|
64
66
|
Month.prototype.scrollLeftPanel = function (target) {
|
|
65
67
|
var leftPanel = this.getLeftPanelElement();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { EventHandler, createElement, formatUnit } from '@syncfusion/ej2-base';
|
|
15
15
|
import { Month } from './month';
|
|
16
16
|
import { TimelineEvent } from '../event-renderer/timeline-view';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { isNullOrUndefined, createElement, prepend, extend, formatUnit, append, setStyleAttribute } from '@syncfusion/ej2-base';
|
|
15
15
|
import { VerticalView } from './vertical-view';
|
|
16
16
|
import { TimelineEvent } from '../event-renderer/timeline-view';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
15
15
|
import { append, addClass, createElement, EventHandler } from '@syncfusion/ej2-base';
|
|
16
16
|
import { Year } from './year';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { isNullOrUndefined, extend, EventHandler, formatUnit, Browser } from '@syncfusion/ej2-base';
|
|
15
15
|
import { createElement, remove, addClass, removeClass, append, prepend } from '@syncfusion/ej2-base';
|
|
16
16
|
import { ViewBase } from './view-base';
|
|
@@ -13,6 +13,8 @@ var ViewBase = /** @class */ (function () {
|
|
|
13
13
|
*/
|
|
14
14
|
function ViewBase(parent) {
|
|
15
15
|
this.previousNextAction = 'Next';
|
|
16
|
+
this.skipPersistenceSave = false;
|
|
17
|
+
this.isScrolledBottom = false;
|
|
16
18
|
this.parent = parent;
|
|
17
19
|
}
|
|
18
20
|
ViewBase.prototype.isTimelineView = function () {
|
|
@@ -568,6 +570,12 @@ var ViewBase = /** @class */ (function () {
|
|
|
568
570
|
ViewBase.prototype.setPersistence = function () {
|
|
569
571
|
if (this.parent.enablePersistence) {
|
|
570
572
|
var contentWrap = this.element.querySelector('.e-content-wrap');
|
|
573
|
+
if (this.parent.virtualScrollModule && this.isScrolledBottom) {
|
|
574
|
+
this.isScrolledBottom = false;
|
|
575
|
+
this.skipPersistenceSave = true;
|
|
576
|
+
contentWrap.scrollTop = this.parent.scrollTop;
|
|
577
|
+
this.skipPersistenceSave = false;
|
|
578
|
+
}
|
|
571
579
|
if (!isNullOrUndefined(contentWrap)) {
|
|
572
580
|
this.parent.scrollLeft = contentWrap.scrollLeft;
|
|
573
581
|
this.parent.scrollTop = contentWrap.scrollTop;
|
|
@@ -578,6 +586,7 @@ var ViewBase = /** @class */ (function () {
|
|
|
578
586
|
if (this.parent.enablePersistence) {
|
|
579
587
|
var conWrap = this.parent.element.querySelector('.e-content-wrap');
|
|
580
588
|
if (!isNullOrUndefined(conWrap) && !isNullOrUndefined(this.parent.scrollLeft) && !isNullOrUndefined(this.parent.scrollTop)) {
|
|
589
|
+
this.isScrolledBottom = conWrap.scrollHeight - conWrap.clientHeight < this.parent.scrollTop;
|
|
581
590
|
conWrap.scrollTop = this.parent.scrollTop;
|
|
582
591
|
conWrap.scrollLeft = this.parent.scrollLeft;
|
|
583
592
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { VerticalView } from './vertical-view';
|
|
15
15
|
/**
|
|
16
16
|
* week view
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { VerticalView } from './vertical-view';
|
|
15
15
|
/**
|
|
16
16
|
* work week view
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
15
15
|
import { EventHandler, formatUnit, createElement, addClass, closest, prepend, append, extend, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
16
16
|
import { ViewBase } from './view-base';
|