@syncfusion/ej2-schedule 30.2.4-744881 → 30.2.7
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 +262 -243
- package/.gitleaksignore +4 -4
- package/README.md +83 -83
- package/aceconfig.js +17 -0
- package/dist/ej2-schedule.min.js +10 -0
- package/dist/ej2-schedule.umd.min.js +10 -1
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +79 -75
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +544 -540
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +11 -0
- package/dist/global/ej2-schedule.min.js.map +1 -0
- package/dist/global/index.d.ts +14 -0
- 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 +14 -13
- package/src/schedule/actions/virtual-scroll.js +3 -0
- 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/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 +13 -13
- 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/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 +4446 -0
- package/styles/bds-lite.scss +18 -0
- package/styles/bds.css +5198 -0
- package/styles/bds.scss +20 -0
- package/styles/bootstrap-dark-lite.css +4228 -0
- package/styles/bootstrap-dark-lite.scss +18 -0
- package/styles/bootstrap-dark.css +4980 -0
- package/styles/bootstrap-dark.scss +20 -0
- package/styles/bootstrap-lite.css +4223 -0
- package/styles/bootstrap-lite.scss +18 -0
- package/styles/bootstrap.css +4975 -0
- package/styles/bootstrap.scss +20 -0
- package/styles/bootstrap4-lite.css +4270 -0
- package/styles/bootstrap4-lite.scss +18 -0
- package/styles/bootstrap4.css +5022 -0
- package/styles/bootstrap4.scss +20 -0
- package/styles/bootstrap5-dark-lite.css +4273 -0
- package/styles/bootstrap5-dark-lite.scss +18 -0
- package/styles/bootstrap5-dark.css +5025 -0
- package/styles/bootstrap5-dark.scss +20 -0
- package/styles/bootstrap5-lite.css +4273 -0
- package/styles/bootstrap5-lite.scss +18 -0
- package/styles/bootstrap5.3-lite.css +4319 -0
- package/styles/bootstrap5.3-lite.scss +18 -0
- package/styles/bootstrap5.3.css +5071 -0
- package/styles/bootstrap5.3.scss +20 -0
- package/styles/bootstrap5.css +5025 -0
- package/styles/bootstrap5.scss +20 -0
- package/styles/fabric-dark-lite.css +4198 -0
- package/styles/fabric-dark-lite.scss +18 -0
- package/styles/fabric-dark.css +4950 -0
- package/styles/fabric-dark.scss +20 -0
- package/styles/fabric-lite.css +4195 -0
- package/styles/fabric-lite.scss +18 -0
- package/styles/fabric.css +4947 -0
- package/styles/fabric.scss +20 -0
- package/styles/fluent-dark-lite.css +4261 -0
- package/styles/fluent-dark-lite.scss +18 -0
- package/styles/fluent-dark.css +5013 -0
- package/styles/fluent-dark.scss +20 -0
- package/styles/fluent-lite.css +4261 -0
- package/styles/fluent-lite.scss +18 -0
- package/styles/fluent.css +5013 -0
- package/styles/fluent.scss +20 -0
- package/styles/fluent2-lite.css +4505 -0
- package/styles/fluent2-lite.scss +18 -0
- package/styles/fluent2.css +5261 -0
- package/styles/fluent2.scss +20 -0
- package/styles/highcontrast-light-lite.css +4287 -0
- package/styles/highcontrast-light-lite.scss +18 -0
- package/styles/highcontrast-light.css +5039 -0
- package/styles/highcontrast-light.scss +20 -0
- package/styles/highcontrast-lite.css +4296 -0
- package/styles/highcontrast-lite.scss +18 -0
- package/styles/highcontrast.css +5048 -0
- package/styles/highcontrast.scss +20 -0
- package/styles/material-dark-lite.css +4275 -0
- package/styles/material-dark-lite.scss +18 -0
- package/styles/material-dark.css +5027 -0
- package/styles/material-dark.scss +20 -0
- package/styles/material-lite.css +4310 -0
- package/styles/material-lite.scss +18 -0
- package/styles/material.css +5062 -0
- package/styles/material.scss +20 -0
- package/styles/material3-dark-lite.css +4292 -0
- package/styles/material3-dark-lite.scss +18 -0
- package/styles/material3-dark.css +5045 -0
- package/styles/material3-dark.scss +21 -1
- package/styles/material3-lite.css +4294 -0
- package/styles/material3-lite.scss +18 -0
- package/styles/material3.css +5045 -0
- package/styles/material3.scss +21 -1
- package/styles/recurrence-editor/_all.scss +2 -0
- package/styles/recurrence-editor/_bds-definition.scss +14 -0
- package/styles/recurrence-editor/_bigger.scss +133 -0
- package/styles/recurrence-editor/_bootstrap-dark-definition.scss +14 -0
- package/styles/recurrence-editor/_bootstrap-definition.scss +14 -0
- package/styles/recurrence-editor/_bootstrap4-definition.scss +14 -0
- package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +1 -0
- package/styles/recurrence-editor/_bootstrap5-definition.scss +14 -0
- package/styles/recurrence-editor/_bootstrap5.3-definition.scss +14 -0
- package/styles/recurrence-editor/_fabric-dark-definition.scss +14 -0
- package/styles/recurrence-editor/_fabric-definition.scss +14 -0
- package/styles/recurrence-editor/_fluent-dark-definition.scss +1 -0
- package/styles/recurrence-editor/_fluent-definition.scss +14 -0
- package/styles/recurrence-editor/_fluent2-definition.scss +14 -0
- package/styles/recurrence-editor/_fusionnew-definition.scss +14 -0
- package/styles/recurrence-editor/_highcontrast-definition.scss +14 -0
- package/styles/recurrence-editor/_highcontrast-light-definition.scss +14 -0
- package/styles/recurrence-editor/_layout.scss +420 -0
- package/styles/recurrence-editor/_material-dark-definition.scss +14 -0
- package/styles/recurrence-editor/_material-definition.scss +14 -0
- package/styles/recurrence-editor/_material3-dark-definition.scss +1 -0
- package/styles/recurrence-editor/_material3-definition.scss +14 -0
- package/styles/recurrence-editor/_tailwind-dark-definition.scss +1 -0
- package/styles/recurrence-editor/_tailwind-definition.scss +14 -0
- package/styles/recurrence-editor/_tailwind3-definition.scss +14 -0
- package/styles/recurrence-editor/_theme.scss +1 -0
- package/styles/recurrence-editor/bds.css +537 -0
- package/styles/recurrence-editor/bds.scss +9 -0
- package/styles/recurrence-editor/bootstrap-dark.css +462 -0
- package/styles/recurrence-editor/bootstrap-dark.scss +9 -0
- package/styles/recurrence-editor/bootstrap.css +462 -0
- package/styles/recurrence-editor/bootstrap.scss +9 -0
- package/styles/recurrence-editor/bootstrap4.css +490 -0
- package/styles/recurrence-editor/bootstrap4.scss +9 -0
- package/styles/recurrence-editor/bootstrap5-dark.css +500 -0
- package/styles/recurrence-editor/bootstrap5-dark.scss +9 -0
- package/styles/recurrence-editor/bootstrap5.3.css +504 -0
- package/styles/recurrence-editor/bootstrap5.3.scss +9 -0
- package/styles/recurrence-editor/bootstrap5.css +500 -0
- package/styles/recurrence-editor/bootstrap5.scss +9 -0
- package/styles/recurrence-editor/fabric-dark.css +438 -0
- package/styles/recurrence-editor/fabric-dark.scss +9 -0
- package/styles/recurrence-editor/fabric.css +438 -0
- package/styles/recurrence-editor/fabric.scss +9 -0
- package/styles/recurrence-editor/fluent-dark.css +493 -0
- package/styles/recurrence-editor/fluent-dark.scss +9 -0
- package/styles/recurrence-editor/fluent.css +493 -0
- package/styles/recurrence-editor/fluent.scss +9 -0
- package/styles/recurrence-editor/fluent2.css +483 -0
- package/styles/recurrence-editor/fluent2.scss +9 -0
- package/styles/recurrence-editor/highcontrast-light.css +447 -0
- package/styles/recurrence-editor/highcontrast-light.scss +9 -0
- package/styles/recurrence-editor/highcontrast.css +447 -0
- package/styles/recurrence-editor/highcontrast.scss +9 -0
- package/styles/recurrence-editor/material-dark.css +487 -0
- package/styles/recurrence-editor/material-dark.scss +9 -0
- package/styles/recurrence-editor/material.css +491 -0
- package/styles/recurrence-editor/material.scss +9 -0
- package/styles/recurrence-editor/material3-dark.css +499 -0
- package/styles/recurrence-editor/material3-dark.scss +10 -0
- package/styles/recurrence-editor/material3.css +501 -0
- package/styles/recurrence-editor/material3.scss +10 -0
- package/styles/recurrence-editor/tailwind-dark.css +474 -0
- package/styles/recurrence-editor/tailwind-dark.scss +9 -0
- package/styles/recurrence-editor/tailwind.css +474 -0
- package/styles/recurrence-editor/tailwind.scss +9 -0
- package/styles/recurrence-editor/tailwind3.css +504 -0
- package/styles/recurrence-editor/tailwind3.scss +9 -0
- package/styles/schedule/_all.scss +2 -0
- package/styles/schedule/_bds-definition.scss +274 -0
- package/styles/schedule/_bigger.scss +801 -0
- package/styles/schedule/_bootstrap-dark-definition.scss +274 -0
- package/styles/schedule/_bootstrap-definition.scss +274 -0
- package/styles/schedule/_bootstrap4-definition.scss +277 -0
- package/styles/schedule/_bootstrap5-dark-definition.scss +1 -0
- package/styles/schedule/_bootstrap5-definition.scss +278 -0
- package/styles/schedule/_bootstrap5.3-definition.scss +278 -0
- package/styles/schedule/_fabric-dark-definition.scss +273 -0
- package/styles/schedule/_fabric-definition.scss +274 -0
- package/styles/schedule/_fluent-dark-definition.scss +1 -0
- package/styles/schedule/_fluent-definition.scss +278 -0
- package/styles/schedule/_fluent2-definition.scss +275 -0
- package/styles/schedule/_fusionnew-definition.scss +275 -0
- package/styles/schedule/_highcontrast-definition.scss +275 -0
- package/styles/schedule/_highcontrast-light-definition.scss +275 -0
- package/styles/schedule/_layout.scss +3870 -0
- package/styles/schedule/_material-dark-definition.scss +272 -0
- package/styles/schedule/_material-definition.scss +272 -0
- package/styles/schedule/_material3-dark-definition.scss +1 -0
- package/styles/schedule/_material3-definition.scss +277 -0
- package/styles/schedule/_tailwind-dark-definition.scss +1 -0
- package/styles/schedule/_tailwind-definition.scss +273 -0
- package/styles/schedule/_tailwind3-definition.scss +278 -0
- package/styles/schedule/_theme.scss +585 -0
- package/styles/schedule/bds.css +4793 -0
- package/styles/schedule/bds.scss +17 -0
- package/styles/schedule/bootstrap-dark.css +4575 -0
- package/styles/schedule/bootstrap-dark.scss +17 -0
- package/styles/schedule/bootstrap.css +4570 -0
- package/styles/schedule/bootstrap.scss +17 -0
- package/styles/schedule/bootstrap4.css +4617 -0
- package/styles/schedule/bootstrap4.scss +17 -0
- package/styles/schedule/bootstrap5-dark.css +4620 -0
- package/styles/schedule/bootstrap5-dark.scss +16 -0
- package/styles/schedule/bootstrap5.3.css +4666 -0
- package/styles/schedule/bootstrap5.3.scss +17 -0
- package/styles/schedule/bootstrap5.css +4620 -0
- package/styles/schedule/bootstrap5.scss +17 -0
- package/styles/schedule/fabric-dark.css +4545 -0
- package/styles/schedule/fabric-dark.scss +17 -0
- package/styles/schedule/fabric.css +4542 -0
- package/styles/schedule/fabric.scss +17 -0
- package/styles/schedule/fluent-dark.css +4608 -0
- package/styles/schedule/fluent-dark.scss +16 -0
- package/styles/schedule/fluent.css +4608 -0
- package/styles/schedule/fluent.scss +17 -0
- package/styles/schedule/fluent2.css +4853 -0
- package/styles/schedule/fluent2.scss +17 -0
- package/styles/schedule/highcontrast-light.css +4634 -0
- package/styles/schedule/highcontrast-light.scss +17 -0
- package/styles/schedule/highcontrast.css +4643 -0
- package/styles/schedule/highcontrast.scss +17 -0
- package/styles/schedule/icons/_bds.scss +220 -0
- package/styles/schedule/icons/_bootstrap-dark.scss +223 -0
- package/styles/schedule/icons/_bootstrap.scss +223 -0
- package/styles/schedule/icons/_bootstrap4.scss +217 -0
- package/styles/schedule/icons/_bootstrap5-dark.scss +1 -0
- package/styles/schedule/icons/_bootstrap5.3.scss +220 -0
- package/styles/schedule/icons/_bootstrap5.scss +220 -0
- package/styles/schedule/icons/_fabric-dark.scss +223 -0
- package/styles/schedule/icons/_fabric.scss +223 -0
- package/styles/schedule/icons/_fluent-dark.scss +1 -0
- package/styles/schedule/icons/_fluent.scss +220 -0
- package/styles/schedule/icons/_fluent2.scss +220 -0
- package/styles/schedule/icons/_fusionnew.scss +220 -0
- package/styles/schedule/icons/_highcontrast-light.scss +223 -0
- package/styles/schedule/icons/_highcontrast.scss +223 -0
- package/styles/schedule/icons/_material-dark.scss +223 -0
- package/styles/schedule/icons/_material.scss +223 -0
- package/styles/schedule/icons/_material3-dark.scss +1 -0
- package/styles/schedule/icons/_material3.scss +220 -0
- package/styles/schedule/icons/_tailwind-dark.scss +1 -0
- package/styles/schedule/icons/_tailwind.scss +220 -0
- package/styles/schedule/icons/_tailwind3.scss +220 -0
- package/styles/schedule/material-dark.css +4622 -0
- package/styles/schedule/material-dark.scss +17 -0
- package/styles/schedule/material.css +4657 -0
- package/styles/schedule/material.scss +17 -0
- package/styles/schedule/material3-dark.css +4640 -0
- package/styles/schedule/material3-dark.scss +17 -0
- package/styles/schedule/material3.css +4642 -0
- package/styles/schedule/material3.scss +18 -0
- package/styles/schedule/tailwind-dark.css +4585 -0
- package/styles/schedule/tailwind-dark.scss +16 -0
- package/styles/schedule/tailwind.css +4585 -0
- package/styles/schedule/tailwind.scss +17 -0
- package/styles/schedule/tailwind3.css +4632 -0
- package/styles/schedule/tailwind3.scss +17 -0
- package/styles/tailwind-dark-lite.css +4238 -0
- package/styles/tailwind-dark-lite.scss +18 -0
- package/styles/tailwind-dark.css +4990 -0
- package/styles/tailwind-dark.scss +20 -0
- package/styles/tailwind-lite.css +4238 -0
- package/styles/tailwind-lite.scss +18 -0
- package/styles/tailwind.css +4990 -0
- package/styles/tailwind.scss +20 -0
- package/styles/tailwind3-lite.css +4285 -0
- package/styles/tailwind3-lite.scss +18 -0
- package/styles/tailwind3.css +5037 -0
- package/styles/tailwind3.scss +20 -0
- package/tslint.json +111 -0
|
@@ -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
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
21
21
|
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
22
22
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';import { FieldOptionsModel } from './field-options-model';import { FieldOptions } from './field-options';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class Field
|
|
@@ -6,124 +6,124 @@ import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
|
|
|
6
6
|
export interface FieldModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* The `id` field needs to be defined as mandatory, when the Schedule is bound to remote data and
|
|
10
|
-
* it is optional, if the same is bound with JSON data. This field usually assigns ID value to each of the events.
|
|
11
|
-
*
|
|
12
|
-
* @default null
|
|
13
|
-
*/
|
|
14
|
-
id?: string;
|
|
9
|
+
* The `id` field needs to be defined as mandatory, when the Schedule is bound to remote data and
|
|
10
|
+
* it is optional, if the same is bound with JSON data. This field usually assigns ID value to each of the events.
|
|
11
|
+
*
|
|
12
|
+
* @default null
|
|
13
|
+
*/
|
|
14
|
+
id?: string;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* The `isBlock` field allows you to block certain time interval on the Scheduler.
|
|
18
|
-
* It is a boolean type property accepting either true or false values.
|
|
19
|
-
* When set to true, creates a block range for the specified time interval and disables the event scheduling actions on that time range.
|
|
20
|
-
*
|
|
21
|
-
* @default null
|
|
22
|
-
*/
|
|
23
|
-
isBlock?: string;
|
|
17
|
+
* The `isBlock` field allows you to block certain time interval on the Scheduler.
|
|
18
|
+
* It is a boolean type property accepting either true or false values.
|
|
19
|
+
* When set to true, creates a block range for the specified time interval and disables the event scheduling actions on that time range.
|
|
20
|
+
*
|
|
21
|
+
* @default null
|
|
22
|
+
*/
|
|
23
|
+
isBlock?: string;
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* The `subject` field is optional, and usually assigns the subject text to each of the events.
|
|
27
|
-
*
|
|
28
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
29
|
-
*/
|
|
30
|
-
subject?: FieldOptionsModel;
|
|
26
|
+
* The `subject` field is optional, and usually assigns the subject text to each of the events.
|
|
27
|
+
*
|
|
28
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
29
|
+
*/
|
|
30
|
+
subject?: FieldOptionsModel;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* The `startTime` field defines the start time of an event and it is mandatory to provide it for any of the valid event objects.
|
|
34
|
-
*
|
|
35
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
36
|
-
*/
|
|
37
|
-
startTime?: FieldOptionsModel;
|
|
33
|
+
* The `startTime` field defines the start time of an event and it is mandatory to provide it for any of the valid event objects.
|
|
34
|
+
*
|
|
35
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
36
|
+
*/
|
|
37
|
+
startTime?: FieldOptionsModel;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* The `endTime` field defines the end time of an event and it is mandatory to provide the end time for any of the valid event objects.
|
|
41
|
-
*
|
|
42
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
43
|
-
*/
|
|
44
|
-
endTime?: FieldOptionsModel;
|
|
40
|
+
* The `endTime` field defines the end time of an event and it is mandatory to provide the end time for any of the valid event objects.
|
|
41
|
+
*
|
|
42
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
43
|
+
*/
|
|
44
|
+
endTime?: FieldOptionsModel;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* It maps the `startTimezone` field from the dataSource and usually accepts the valid
|
|
48
|
-
* [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
|
|
49
|
-
* It is assumed that the value provided for this field is taken into consideration while processing
|
|
50
|
-
* the `startTime` field. When this field is not mapped with any timezone names,
|
|
51
|
-
* then the events will be processed based on the timezone assigned to the Schedule.
|
|
52
|
-
*
|
|
53
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
54
|
-
*/
|
|
55
|
-
startTimezone?: FieldOptionsModel;
|
|
47
|
+
* It maps the `startTimezone` field from the dataSource and usually accepts the valid
|
|
48
|
+
* [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
|
|
49
|
+
* It is assumed that the value provided for this field is taken into consideration while processing
|
|
50
|
+
* the `startTime` field. When this field is not mapped with any timezone names,
|
|
51
|
+
* then the events will be processed based on the timezone assigned to the Schedule.
|
|
52
|
+
*
|
|
53
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
54
|
+
*/
|
|
55
|
+
startTimezone?: FieldOptionsModel;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* It maps the `endTimezone` field from the dataSource and usually accepts the valid
|
|
59
|
-
* [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
|
|
60
|
-
* It is assumed that the value provided for this field is taken into consideration while processing the `endTime` field.
|
|
61
|
-
* When this field is not mapped with any timezone names, then the events will be processed based on the timezone assigned
|
|
62
|
-
* to the Schedule.
|
|
63
|
-
*
|
|
64
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
65
|
-
*/
|
|
66
|
-
endTimezone?: FieldOptionsModel;
|
|
58
|
+
* It maps the `endTimezone` field from the dataSource and usually accepts the valid
|
|
59
|
+
* [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
|
|
60
|
+
* It is assumed that the value provided for this field is taken into consideration while processing the `endTime` field.
|
|
61
|
+
* When this field is not mapped with any timezone names, then the events will be processed based on the timezone assigned
|
|
62
|
+
* to the Schedule.
|
|
63
|
+
*
|
|
64
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
65
|
+
*/
|
|
66
|
+
endTimezone?: FieldOptionsModel;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* It maps the `location` field from the dataSource and the location field value will be displayed over
|
|
70
|
-
* events, while given it for an event object.
|
|
71
|
-
*
|
|
72
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
73
|
-
*/
|
|
74
|
-
location?: FieldOptionsModel;
|
|
69
|
+
* It maps the `location` field from the dataSource and the location field value will be displayed over
|
|
70
|
+
* events, while given it for an event object.
|
|
71
|
+
*
|
|
72
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
73
|
+
*/
|
|
74
|
+
location?: FieldOptionsModel;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* It maps the `description` field from the dataSource and denotes the event description which is optional.
|
|
78
|
-
*
|
|
79
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
80
|
-
*/
|
|
81
|
-
description?: FieldOptionsModel;
|
|
77
|
+
* It maps the `description` field from the dataSource and denotes the event description which is optional.
|
|
78
|
+
*
|
|
79
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
80
|
+
*/
|
|
81
|
+
description?: FieldOptionsModel;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* The `isAllDay` field is mapped from the dataSource and is used to denote whether an event is created
|
|
85
|
-
* for an entire day or for specific time alone.
|
|
86
|
-
*
|
|
87
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
88
|
-
*/
|
|
89
|
-
isAllDay?: FieldOptionsModel;
|
|
84
|
+
* The `isAllDay` field is mapped from the dataSource and is used to denote whether an event is created
|
|
85
|
+
* for an entire day or for specific time alone.
|
|
86
|
+
*
|
|
87
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
88
|
+
*/
|
|
89
|
+
isAllDay?: FieldOptionsModel;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* It maps the `recurrenceID` field from dataSource and usually holds the ID value of the parent
|
|
93
|
-
* recurrence event. It is applicable only for the edited occurrence events.
|
|
94
|
-
*
|
|
95
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
96
|
-
*/
|
|
97
|
-
recurrenceID?: FieldOptionsModel;
|
|
92
|
+
* It maps the `recurrenceID` field from dataSource and usually holds the ID value of the parent
|
|
93
|
+
* recurrence event. It is applicable only for the edited occurrence events.
|
|
94
|
+
*
|
|
95
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
96
|
+
*/
|
|
97
|
+
recurrenceID?: FieldOptionsModel;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
* It maps the `recurrenceRule` field from dataSource and is used to uniquely identify whether the
|
|
101
|
-
* event belongs to a recurring event type or normal ones.
|
|
102
|
-
*
|
|
103
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
104
|
-
*/
|
|
105
|
-
recurrenceRule?: FieldOptionsModel;
|
|
100
|
+
* It maps the `recurrenceRule` field from dataSource and is used to uniquely identify whether the
|
|
101
|
+
* event belongs to a recurring event type or normal ones.
|
|
102
|
+
*
|
|
103
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
104
|
+
*/
|
|
105
|
+
recurrenceRule?: FieldOptionsModel;
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
* It maps the `recurrenceException` field from dataSource and is used to hold the exception dates
|
|
109
|
-
* which needs to be excluded from recurring type.
|
|
110
|
-
*
|
|
111
|
-
* @default { name: null, default: null, title: null, validation: {} }
|
|
112
|
-
*/
|
|
113
|
-
recurrenceException?: FieldOptionsModel;
|
|
108
|
+
* It maps the `recurrenceException` field from dataSource and is used to hold the exception dates
|
|
109
|
+
* which needs to be excluded from recurring type.
|
|
110
|
+
*
|
|
111
|
+
* @default { name: null, default: null, title: null, validation: {} }
|
|
112
|
+
*/
|
|
113
|
+
recurrenceException?: FieldOptionsModel;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
|
-
* The `isReadonly` field is mapped from the dataSource and is used to prevent the CRUD actions on specific events.
|
|
117
|
-
*
|
|
118
|
-
* @default null
|
|
119
|
-
*/
|
|
120
|
-
isReadonly?: string;
|
|
116
|
+
* The `isReadonly` field is mapped from the dataSource and is used to prevent the CRUD actions on specific events.
|
|
117
|
+
*
|
|
118
|
+
* @default null
|
|
119
|
+
*/
|
|
120
|
+
isReadonly?: string;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
|
-
* The `followingID` field is mapped from dataSource and usually holds the ID value of the main parent event.
|
|
124
|
-
*
|
|
125
|
-
* @default null
|
|
126
|
-
*/
|
|
127
|
-
followingID?: string;
|
|
123
|
+
* The `followingID` field is mapped from dataSource and usually holds the ID value of the main parent event.
|
|
124
|
+
*
|
|
125
|
+
* @default null
|
|
126
|
+
*/
|
|
127
|
+
followingID?: string;
|
|
128
128
|
|
|
129
129
|
}
|
|
@@ -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 } from '@syncfusion/ej2-base';
|
|
21
21
|
import { FieldOptions } from './field-options';
|
|
22
22
|
/**
|
|
@@ -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 Group
|
|
@@ -6,64 +6,64 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
|
6
6
|
export interface GroupModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* When set to `true`, groups the resources by date where each day renders all the resource names under it.
|
|
10
|
-
*
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
byDate?: boolean;
|
|
9
|
+
* When set to `true`, groups the resources by date where each day renders all the resource names under it.
|
|
10
|
+
*
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
byDate?: boolean;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Decides whether to allow the resource hierarchy to group by ID. It is set to `true` by default and when set to false,
|
|
17
|
-
* all the resources under child collection will be mapped against each available parent.
|
|
18
|
-
*
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
byGroupID?: boolean;
|
|
16
|
+
* Decides whether to allow the resource hierarchy to group by ID. It is set to `true` by default and when set to false,
|
|
17
|
+
* all the resources under child collection will be mapped against each available parent.
|
|
18
|
+
*
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
byGroupID?: boolean;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Allows creation and editing of linked appointments assigned to multiple resources. When set to `true`,
|
|
25
|
-
* a single appointment object instance will be maintained in schedule dataSource that are created for
|
|
26
|
-
* multiple resources, whereas displayed individually on UI.
|
|
27
|
-
*
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
allowGroupEdit?: boolean;
|
|
24
|
+
* Allows creation and editing of linked appointments assigned to multiple resources. When set to `true`,
|
|
25
|
+
* a single appointment object instance will be maintained in schedule dataSource that are created for
|
|
26
|
+
* multiple resources, whereas displayed individually on UI.
|
|
27
|
+
*
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
allowGroupEdit?: boolean;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Accepts the collection of resource names assigned to each resources and allows the grouping order on schedule based on it.
|
|
34
|
-
*
|
|
35
|
-
* @default []
|
|
36
|
-
*/
|
|
37
|
-
resources?: string[];
|
|
33
|
+
* Accepts the collection of resource names assigned to each resources and allows the grouping order on schedule based on it.
|
|
34
|
+
*
|
|
35
|
+
* @default []
|
|
36
|
+
*/
|
|
37
|
+
resources?: string[];
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Decides whether to display the resource grouping layout in normal or compact mode in mobile devices. When set to `false`,
|
|
41
|
-
* the default grouping layout on desktop will be displayed on mobile devices with scrolling enabled.
|
|
42
|
-
*
|
|
43
|
-
* @default true
|
|
44
|
-
*/
|
|
45
|
-
enableCompactView?: boolean;
|
|
40
|
+
* Decides whether to display the resource grouping layout in normal or compact mode in mobile devices. When set to `false`,
|
|
41
|
+
* the default grouping layout on desktop will be displayed on mobile devices with scrolling enabled.
|
|
42
|
+
*
|
|
43
|
+
* @default true
|
|
44
|
+
*/
|
|
45
|
+
enableCompactView?: boolean;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Template option to customize the tooltip that displays over the resource header bar. By default, no tooltip will be
|
|
49
|
-
* displayed on resource header bar. It accepts either the string or HTMLElement as template design content and
|
|
50
|
-
* parse it appropriately before displaying it onto the tooltip. All the resource fields mapped for resource dataSource
|
|
51
|
-
* can be accessed within this template code.
|
|
52
|
-
*
|
|
53
|
-
* @default null
|
|
54
|
-
* @angularType string | object
|
|
55
|
-
* @reactType string | function | JSX.Element
|
|
56
|
-
* @vueType string | function
|
|
57
|
-
* @aspType string
|
|
58
|
-
*/
|
|
59
|
-
headerTooltipTemplate?: string | Function;
|
|
48
|
+
* Template option to customize the tooltip that displays over the resource header bar. By default, no tooltip will be
|
|
49
|
+
* displayed on resource header bar. It accepts either the string or HTMLElement as template design content and
|
|
50
|
+
* parse it appropriately before displaying it onto the tooltip. All the resource fields mapped for resource dataSource
|
|
51
|
+
* can be accessed within this template code.
|
|
52
|
+
*
|
|
53
|
+
* @default null
|
|
54
|
+
* @angularType string | object
|
|
55
|
+
* @reactType string | function | JSX.Element
|
|
56
|
+
* @vueType string | function
|
|
57
|
+
* @aspType string
|
|
58
|
+
*/
|
|
59
|
+
headerTooltipTemplate?: string | Function;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Decides whether to show/hide the non-working days. It is set to `false` by default and when set to `true`, it hides the non-working days.
|
|
63
|
-
* This property is applicable for `Day`, `Week`, `WorkWeek` and `month` views, which are grouped under date.
|
|
64
|
-
*
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
|
-
hideNonWorkingDays?: boolean;
|
|
62
|
+
* Decides whether to show/hide the non-working days. It is set to `false` by default and when set to `true`, it hides the non-working days.
|
|
63
|
+
* This property is applicable for `Day`, `Week`, `WorkWeek` and `month` views, which are grouped under date.
|
|
64
|
+
*
|
|
65
|
+
* @default false
|
|
66
|
+
*/
|
|
67
|
+
hideNonWorkingDays?: boolean;
|
|
68
68
|
|
|
69
69
|
}
|
|
@@ -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 holds the resource grouping related configurations on Schedule.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';import { HeaderRowType } from '../base/type';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Interface for a class HeaderRows
|
|
@@ -6,28 +6,28 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
|
6
6
|
export interface HeaderRowsModel {
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* It defines the header row type, which accepts either of the following values.
|
|
10
|
-
* * `Year`: Denotes the year row in the header bar.
|
|
11
|
-
* * `Month`: Denotes the month row in the header bar.
|
|
12
|
-
* * `Week`: Denotes the week row in the header bar.
|
|
13
|
-
* * `Date`: Denotes the date row in the header bar.
|
|
14
|
-
* * `Hour`: Denotes the hour row in the header bar.
|
|
15
|
-
*
|
|
16
|
-
* @default null
|
|
17
|
-
*/
|
|
18
|
-
option?: HeaderRowType;
|
|
9
|
+
* It defines the header row type, which accepts either of the following values.
|
|
10
|
+
* * `Year`: Denotes the year row in the header bar.
|
|
11
|
+
* * `Month`: Denotes the month row in the header bar.
|
|
12
|
+
* * `Week`: Denotes the week row in the header bar.
|
|
13
|
+
* * `Date`: Denotes the date row in the header bar.
|
|
14
|
+
* * `Hour`: Denotes the hour row in the header bar.
|
|
15
|
+
*
|
|
16
|
+
* @default null
|
|
17
|
+
*/
|
|
18
|
+
option?: HeaderRowType;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Template option to customize the individual header rows. It accepts either the string or HTMLElement as template design
|
|
22
|
-
* content and parse it appropriately before displaying it onto the header cells. The field that
|
|
23
|
-
* can be accessed via this template is `date`.
|
|
24
|
-
*
|
|
25
|
-
* @default null
|
|
26
|
-
* @angularType string | object
|
|
27
|
-
* @reactType string | function | JSX.Element
|
|
28
|
-
* @vueType string | function
|
|
29
|
-
* @aspType string
|
|
30
|
-
*/
|
|
31
|
-
template?: string | Function;
|
|
21
|
+
* Template option to customize the individual header rows. It accepts either the string or HTMLElement as template design
|
|
22
|
+
* content and parse it appropriately before displaying it onto the header cells. The field that
|
|
23
|
+
* can be accessed via this template is `date`.
|
|
24
|
+
*
|
|
25
|
+
* @default null
|
|
26
|
+
* @angularType string | object
|
|
27
|
+
* @reactType string | function | JSX.Element
|
|
28
|
+
* @vueType string | function
|
|
29
|
+
* @aspType string
|
|
30
|
+
*/
|
|
31
|
+
template?: string | Function;
|
|
32
32
|
|
|
33
33
|
}
|
|
@@ -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 header rows related configurations on timeline views.
|