@syncfusion/ej2-schedule 32.1.22 → 32.1.25-810416

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.
Files changed (144) hide show
  1. package/.eslintrc.json +243 -262
  2. package/.gitleaksignore +4 -4
  3. package/README.md +91 -91
  4. package/dist/ej2-schedule.umd.min.js +1 -10
  5. package/dist/ej2-schedule.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-schedule.es2015.js +98 -107
  7. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  8. package/dist/es6/ej2-schedule.es5.js +562 -574
  9. package/dist/es6/ej2-schedule.es5.js.map +1 -1
  10. package/ej2-schedule-component.sln +32 -0
  11. package/license +9 -9
  12. package/package.json +42 -42
  13. package/src/global.d.ts +1 -0
  14. package/src/recurrence-editor/recurrence-editor-model.d.ts +75 -75
  15. package/src/recurrence-editor/recurrence-editor.js +19 -19
  16. package/src/schedule/actions/action-base.js +1 -1
  17. package/src/schedule/actions/drag.js +13 -13
  18. package/src/schedule/actions/keyboard.js +12 -12
  19. package/src/schedule/actions/resize.js +27 -41
  20. package/src/schedule/base/interface.d.ts +2 -2
  21. package/src/schedule/base/schedule-model.d.ts +886 -886
  22. package/src/schedule/base/schedule.js +19 -19
  23. package/src/schedule/event-renderer/agenda-base.js +13 -13
  24. package/src/schedule/event-renderer/event-base.js +6 -4
  25. package/src/schedule/event-renderer/month.js +13 -13
  26. package/src/schedule/event-renderer/timeline-view.js +13 -13
  27. package/src/schedule/event-renderer/vertical-view.js +13 -13
  28. package/src/schedule/event-renderer/year.js +13 -13
  29. package/src/schedule/models/event-settings-model.d.ts +156 -156
  30. package/src/schedule/models/event-settings.js +19 -19
  31. package/src/schedule/models/field-options-model.d.ts +22 -22
  32. package/src/schedule/models/field-options.js +19 -19
  33. package/src/schedule/models/fields-model.d.ts +92 -92
  34. package/src/schedule/models/fields.js +19 -19
  35. package/src/schedule/models/group-model.d.ts +48 -48
  36. package/src/schedule/models/group.js +19 -19
  37. package/src/schedule/models/header-rows-model.d.ts +22 -22
  38. package/src/schedule/models/header-rows.js +19 -19
  39. package/src/schedule/models/quick-info-templates-model.d.ts +37 -37
  40. package/src/schedule/models/quick-info-templates.js +19 -19
  41. package/src/schedule/models/resources-model.d.ts +85 -85
  42. package/src/schedule/models/resources.js +19 -19
  43. package/src/schedule/models/time-scale-model.d.ts +40 -40
  44. package/src/schedule/models/time-scale.js +19 -19
  45. package/src/schedule/models/toolbar-model.d.ts +187 -187
  46. package/src/schedule/models/toolbar.js +19 -19
  47. package/src/schedule/models/views-model.d.ts +361 -361
  48. package/src/schedule/models/views.js +19 -19
  49. package/src/schedule/models/work-hours-model.d.ts +16 -16
  50. package/src/schedule/models/work-hours.js +19 -19
  51. package/src/schedule/renderer/agenda.js +13 -13
  52. package/src/schedule/renderer/day.js +13 -13
  53. package/src/schedule/renderer/header-renderer.js +11 -11
  54. package/src/schedule/renderer/month-agenda.js +13 -13
  55. package/src/schedule/renderer/month.js +13 -13
  56. package/src/schedule/renderer/timeline-month.js +13 -13
  57. package/src/schedule/renderer/timeline-view.js +13 -13
  58. package/src/schedule/renderer/timeline-year.js +13 -13
  59. package/src/schedule/renderer/vertical-view.js +13 -13
  60. package/src/schedule/renderer/week.js +13 -13
  61. package/src/schedule/renderer/work-week.js +13 -13
  62. package/src/schedule/renderer/year.js +13 -13
  63. package/styles/recurrence-editor/_all.scss +2 -2
  64. package/styles/recurrence-editor/_bds-definition.scss +41 -41
  65. package/styles/recurrence-editor/_bigger.scss +135 -135
  66. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +41 -41
  67. package/styles/recurrence-editor/_bootstrap-definition.scss +41 -41
  68. package/styles/recurrence-editor/_bootstrap4-definition.scss +41 -41
  69. package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +41 -41
  70. package/styles/recurrence-editor/_bootstrap5-definition.scss +41 -41
  71. package/styles/recurrence-editor/_bootstrap5.3-definition.scss +41 -41
  72. package/styles/recurrence-editor/_fabric-dark-definition.scss +41 -41
  73. package/styles/recurrence-editor/_fabric-definition.scss +41 -41
  74. package/styles/recurrence-editor/_fluent-dark-definition.scss +41 -41
  75. package/styles/recurrence-editor/_fluent-definition.scss +41 -41
  76. package/styles/recurrence-editor/_fluent2-definition.scss +41 -41
  77. package/styles/recurrence-editor/_fusionnew-definition.scss +41 -41
  78. package/styles/recurrence-editor/_highcontrast-definition.scss +41 -41
  79. package/styles/recurrence-editor/_highcontrast-light-definition.scss +41 -41
  80. package/styles/recurrence-editor/_layout.scss +426 -426
  81. package/styles/recurrence-editor/_material-dark-definition.scss +41 -41
  82. package/styles/recurrence-editor/_material-definition.scss +41 -41
  83. package/styles/recurrence-editor/_material3-dark-definition.scss +41 -41
  84. package/styles/recurrence-editor/_material3-definition.scss +41 -41
  85. package/styles/recurrence-editor/_tailwind-dark-definition.scss +41 -41
  86. package/styles/recurrence-editor/_tailwind-definition.scss +41 -41
  87. package/styles/recurrence-editor/_tailwind3-definition.scss +41 -41
  88. package/styles/recurrence-editor/_theme.scss +1 -1
  89. package/styles/schedule/_all.scss +2 -2
  90. package/styles/schedule/_bds-definition.scss +381 -381
  91. package/styles/schedule/_bigger.scss +803 -803
  92. package/styles/schedule/_bootstrap-dark-definition.scss +381 -381
  93. package/styles/schedule/_bootstrap-definition.scss +381 -381
  94. package/styles/schedule/_bootstrap4-definition.scss +384 -384
  95. package/styles/schedule/_bootstrap5-dark-definition.scss +385 -385
  96. package/styles/schedule/_bootstrap5-definition.scss +385 -385
  97. package/styles/schedule/_bootstrap5.3-definition.scss +385 -385
  98. package/styles/schedule/_fabric-dark-definition.scss +380 -380
  99. package/styles/schedule/_fabric-definition.scss +381 -381
  100. package/styles/schedule/_fluent-dark-definition.scss +385 -385
  101. package/styles/schedule/_fluent-definition.scss +385 -385
  102. package/styles/schedule/_fluent2-definition.scss +382 -382
  103. package/styles/schedule/_fusionnew-definition.scss +380 -380
  104. package/styles/schedule/_highcontrast-definition.scss +382 -382
  105. package/styles/schedule/_highcontrast-light-definition.scss +382 -382
  106. package/styles/schedule/_layout.scss +3875 -3875
  107. package/styles/schedule/_material-dark-definition.scss +379 -379
  108. package/styles/schedule/_material-definition.scss +379 -379
  109. package/styles/schedule/_material3-dark-definition.scss +384 -384
  110. package/styles/schedule/_material3-definition.scss +384 -384
  111. package/styles/schedule/_tailwind-dark-definition.scss +380 -380
  112. package/styles/schedule/_tailwind-definition.scss +380 -380
  113. package/styles/schedule/_tailwind3-definition.scss +385 -385
  114. package/styles/schedule/_theme.scss +587 -587
  115. package/styles/schedule/icons/_bds.scss +221 -221
  116. package/styles/schedule/icons/_bootstrap-dark.scss +224 -224
  117. package/styles/schedule/icons/_bootstrap.scss +224 -224
  118. package/styles/schedule/icons/_bootstrap4.scss +218 -218
  119. package/styles/schedule/icons/_bootstrap5.3.scss +221 -221
  120. package/styles/schedule/icons/_bootstrap5.scss +221 -221
  121. package/styles/schedule/icons/_fabric-dark.scss +224 -224
  122. package/styles/schedule/icons/_fabric.scss +224 -224
  123. package/styles/schedule/icons/_fluent.scss +221 -221
  124. package/styles/schedule/icons/_fluent2.scss +221 -221
  125. package/styles/schedule/icons/_fusionnew.scss +221 -221
  126. package/styles/schedule/icons/_highcontrast-light.scss +224 -224
  127. package/styles/schedule/icons/_highcontrast.scss +224 -224
  128. package/styles/schedule/icons/_material-dark.scss +224 -224
  129. package/styles/schedule/icons/_material.scss +224 -224
  130. package/styles/schedule/icons/_material3.scss +221 -221
  131. package/styles/schedule/icons/_tailwind.scss +221 -221
  132. package/styles/schedule/icons/_tailwind3.scss +221 -221
  133. package/aceconfig.js +0 -17
  134. package/dist/ej2-schedule.min.js +0 -10
  135. package/dist/global/ej2-schedule.min.js +0 -11
  136. package/dist/global/ej2-schedule.min.js.map +0 -1
  137. package/dist/global/index.d.ts +0 -14
  138. package/helpers/e2e/index.d.ts +0 -5
  139. package/helpers/e2e/index.js +0 -9
  140. package/helpers/e2e/recurrence-editor.d.ts +0 -30
  141. package/helpers/e2e/recurrence-editor.js +0 -42
  142. package/helpers/e2e/schedule.d.ts +0 -50
  143. package/helpers/e2e/schedule.js +0 -45
  144. package/tslint.json +0 -111
@@ -1,14 +0,0 @@
1
- /*!
2
- * filename: index.d.ts
3
- * version : 32.1.22
4
- * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
- import * as _schedule from '@syncfusion/ej2-schedule';
11
-
12
- export declare namespace ej {
13
- const schedule: typeof _schedule;
14
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * export components
3
- */
4
- export * from './schedule';
5
- export * from './recurrence-editor';
@@ -1,9 +0,0 @@
1
- define(["require", "exports", "./schedule", "./recurrence-editor"], function (require, exports, schedule_1, recurrence_editor_1) {
2
- "use strict";
3
- function __export(m) {
4
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
- }
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- __export(schedule_1);
8
- __export(recurrence_editor_1);
9
- });
@@ -1,30 +0,0 @@
1
- import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
- /**
3
- * export schedule component
4
- */
5
- export declare class RecurrenceEditorHelper extends TestHelper {
6
- id: string;
7
- wrapperFn: Function;
8
- /**
9
- * Initialize the Recurrence Editor E2E helpers
10
- *
11
- * @param {string} id Element id of the Recurrence Editor
12
- * @param {Function} wrapperFn Pass the wrapper function
13
- */
14
- constructor(id: string, wrapperFn: Function);
15
- /**
16
- * Retrieves the rendered html element of Recurrence Editor.
17
- *
18
- * @function getElement
19
- * @returns {HTMLElement} Returns the rendered html element of Recurrence Editor.
20
- */
21
- getElement(): HTMLElement;
22
- /**
23
- * Set the repeat type into setModel based on selected value.
24
- *
25
- * @function changeRepeatType
26
- * @param {string | number} repeatType (Never, Daily, Weekly, Monthly, Yearly) of the event.
27
- * @returns {void}
28
- */
29
- changeRepeatType(repeatType: string | number): void;
30
- }
@@ -1,42 +0,0 @@
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
- define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
- "use strict";
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var RecurrenceEditorHelper = (function (_super) {
18
- __extends(RecurrenceEditorHelper, _super);
19
- function RecurrenceEditorHelper(id, wrapperFn) {
20
- var _this = _super.call(this) || this;
21
- _this.id = id;
22
- if (wrapperFn !== undefined) {
23
- _this.wrapperFn = wrapperFn;
24
- }
25
- return _this;
26
- }
27
- RecurrenceEditorHelper.prototype.getElement = function () {
28
- return this.selector('#' + this.id);
29
- };
30
- RecurrenceEditorHelper.prototype.changeRepeatType = function (repeatType) {
31
- if (typeof repeatType === 'string') {
32
- this.setModel('selectedType', repeatType.toLowerCase());
33
- }
34
- else {
35
- var frequencies = this.getModel('frequencies');
36
- this.setModel('selectedType', frequencies[repeatType]);
37
- }
38
- };
39
- return RecurrenceEditorHelper;
40
- }(e2e_1.TestHelper));
41
- exports.RecurrenceEditorHelper = RecurrenceEditorHelper;
42
- });
@@ -1,50 +0,0 @@
1
- import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
- /**
3
- * export schedule component
4
- */
5
- export declare class ScheduleHelper extends TestHelper {
6
- id: string;
7
- wrapperFn: Function;
8
- /**
9
- * Initialize the Schedule E2E helpers
10
- *
11
- * @param {string} id Element id of the Schedule
12
- * @param {Function} wrapperFn Pass the wrapper function
13
- */
14
- constructor(id: string, wrapperFn: Function);
15
- /**
16
- * Retrieves the rendered html element of Schedule.
17
- *
18
- * @function getElement
19
- * @returns {HTMLElement} Returns the rendered html element of Schedule.
20
- */
21
- getElement(): HTMLElement;
22
- /**
23
- * Retrieves the rendered html element of event editor Dialog
24
- *
25
- * @function getEventWindow
26
- * @returns {HTMLElement} Returns the rendered html element of Dialog.
27
- */
28
- getEventWindow(): HTMLElement;
29
- /**
30
- * Retrieves the rendered html element of RecurrenceAlert.
31
- *
32
- * @function getAlertDialog
33
- * @returns {HTMLElement} Returns the rendered html element of RecurrenceAlert.
34
- */
35
- getAlertDialog(): HTMLElement;
36
- /**
37
- * Retrieves the rendered html element of QuickInfo.
38
- *
39
- * @function getQuickPopup
40
- * @returns {HTMLElement} the rendered html element of QuickInfo.
41
- */
42
- getQuickPopup(): HTMLElement;
43
- /**
44
- * Retrieves the rendered html element of ViewEventInfo.
45
- *
46
- * @function getMorePopup
47
- * @returns {HTMLElement} Returns the rendered html element of ViewEventInfo.
48
- */
49
- getMorePopup(): HTMLElement;
50
- }
@@ -1,45 +0,0 @@
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
- define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
- "use strict";
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var ScheduleHelper = (function (_super) {
18
- __extends(ScheduleHelper, _super);
19
- function ScheduleHelper(id, wrapperFn) {
20
- var _this = _super.call(this) || this;
21
- _this.id = id;
22
- if (wrapperFn !== undefined) {
23
- _this.wrapperFn = wrapperFn;
24
- }
25
- return _this;
26
- }
27
- ScheduleHelper.prototype.getElement = function () {
28
- return this.selector('#' + this.id);
29
- };
30
- ScheduleHelper.prototype.getEventWindow = function () {
31
- return this.selector('#' + this.id + '_dialog_wrapper');
32
- };
33
- ScheduleHelper.prototype.getAlertDialog = function () {
34
- return this.selector('#' + this.id + 'QuickDialog');
35
- };
36
- ScheduleHelper.prototype.getQuickPopup = function () {
37
- return this.selector('#' + this.id + ' .e-quick-popup-wrapper');
38
- };
39
- ScheduleHelper.prototype.getMorePopup = function () {
40
- return this.selector('#' + this.id + ' .e-more-popup-wrapper');
41
- };
42
- return ScheduleHelper;
43
- }(e2e_1.TestHelper));
44
- exports.ScheduleHelper = ScheduleHelper;
45
- });
package/tslint.json DELETED
@@ -1,111 +0,0 @@
1
- {
2
- "rules": {
3
- "chai-vague-errors": true,
4
- "use-isnan": true,
5
- "missing-jsdoc": true,
6
- "missing-optional-annotation": true,
7
- "no-backbone-get-set-outside-model": true,
8
- "no-banned-terms": true,
9
- "no-constant-condition": true,
10
- "no-control-regex": true,
11
- "no-cookies": true,
12
- "no-delete-expression": true,
13
- "no-document-write": true,
14
- "no-document-domain": true,
15
- "no-disable-auto-sanitization": true,
16
- "no-duplicate-case": true,
17
- "no-duplicate-parameter-names": true,
18
- "no-empty-interfaces": true,
19
- "no-exec-script": true,
20
- "no-function-constructor-with-string-args": true,
21
- "no-function-expression": true,
22
- "no-invalid-regexp": true,
23
- "no-for-in": true,
24
- "member-access": true,
25
- "no-multiline-string": true,
26
- "no-multiple-var-decl": true,
27
- "no-unnecessary-bind": true,
28
- "no-unnecessary-semicolons": true,
29
- "no-octal-literal": true,
30
- "no-regex-spaces": true,
31
- "no-sparse-arrays": true,
32
- "no-string-based-set-immediate": true,
33
- "no-string-based-set-interval": true,
34
- "no-unused-imports": true,
35
- "no-with-statement": true,
36
- "prefer-array-literal": true,
37
- "promise-must-complete": false,
38
- "react-no-dangerous-html": true,
39
- "use-named-parameter": true,
40
- "valid-typeof": true,
41
- "max-func-body-length": [true, 100, {
42
- "ignore-parameters-to-function-regex": "describe"
43
- }],
44
- "class-name": true,
45
- "curly": true,
46
- "eofline": false,
47
- "forin": true,
48
- "indent": [
49
- true,
50
- "spaces"
51
- ],
52
- "label-position": true,
53
- "max-line-length": [true, 140],
54
- "no-arg": true,
55
- "no-console": [true,
56
- "debug",
57
- "info",
58
- "log",
59
- "time",
60
- "timeEnd",
61
- "trace"
62
- ],
63
- "no-construct": true,
64
- "no-parameter-properties": true,
65
- "no-debugger": true,
66
- "no-duplicate-variable": true,
67
- "no-empty": true,
68
- "no-eval": true,
69
- "no-string-literal": true,
70
- "no-switch-case-fall-through": true,
71
- "trailing-comma": true,
72
- "no-trailing-whitespace": true,
73
- "no-unused-expression": true,
74
- "no-use-before-declare": false,
75
- "no-var-requires": true,
76
- "one-line": [true,
77
- "check-open-brace",
78
- "check-catch",
79
- "check-else",
80
- "check-whitespace"
81
- ],
82
- "no-any": true,
83
- "no-conditional-assignment": true,
84
- "no-angle-bracket-type-assertion": false,
85
- "align": [true, "parameters", "arguments", "statements"],
86
- "no-empty-line-after-opening-brace": false,
87
- "typedef-whitespace": [false],
88
- "ban": true,
89
- "quotemark": [true, "single"],
90
- "semicolon": true,
91
- "triple-equals": [true, "allow-null-check"],
92
- "typedef": [true,
93
- "call-signature",
94
- "parameter",
95
- "property-declaration",
96
- "variable-declaration",
97
- "arrow-parameter",
98
- "member-variable-declaration"],
99
- "variable-name": true,
100
- "whitespace": [true,
101
- "check-branch",
102
- "check-decl",
103
- "check-operator",
104
- "check-separator",
105
- "check-type"
106
- ],
107
- "jsdoc-format": true,
108
- "no-var-keyword": true,
109
- "radix": true
110
- }
111
- }