@syncfusion/ej2-schedule 26.1.40 → 26.1.41-16103

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 (298) hide show
  1. package/.eslintrc.json +243 -260
  2. package/README.md +82 -82
  3. package/dist/ej2-schedule.umd.min.js +1 -10
  4. package/dist/ej2-schedule.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-schedule.es2015.js +591 -244
  6. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  7. package/dist/es6/ej2-schedule.es5.js +1057 -703
  8. package/dist/es6/ej2-schedule.es5.js.map +1 -1
  9. package/helpers/e2e/index.js +3 -3
  10. package/helpers/e2e/recurrence-editor.js +13 -13
  11. package/helpers/e2e/schedule.js +13 -13
  12. package/license +9 -9
  13. package/package.json +79 -79
  14. package/src/recurrence-editor/date-generator.js +3 -0
  15. package/src/recurrence-editor/recurrence-editor-model.d.ts +65 -65
  16. package/src/recurrence-editor/recurrence-editor.js +19 -19
  17. package/src/schedule/actions/crud.js +22 -6
  18. package/src/schedule/actions/drag.d.ts +4 -0
  19. package/src/schedule/actions/drag.js +73 -34
  20. package/src/schedule/actions/keyboard.d.ts +1 -0
  21. package/src/schedule/actions/keyboard.js +45 -3
  22. package/src/schedule/actions/resize.js +34 -33
  23. package/src/schedule/actions/touch.js +4 -0
  24. package/src/schedule/actions/virtual-scroll.d.ts +6 -0
  25. package/src/schedule/actions/virtual-scroll.js +119 -34
  26. package/src/schedule/base/interface.d.ts +6 -2
  27. package/src/schedule/base/resource.js +5 -0
  28. package/src/schedule/base/schedule-model.d.ts +805 -805
  29. package/src/schedule/base/schedule.d.ts +26 -0
  30. package/src/schedule/base/schedule.js +63 -21
  31. package/src/schedule/base/util.d.ts +10 -5
  32. package/src/schedule/base/util.js +15 -10
  33. package/src/schedule/event-renderer/agenda-base.js +13 -13
  34. package/src/schedule/event-renderer/event-base.js +18 -3
  35. package/src/schedule/event-renderer/inline-edit.js +13 -5
  36. package/src/schedule/event-renderer/month.js +20 -17
  37. package/src/schedule/event-renderer/timeline-view.js +21 -18
  38. package/src/schedule/event-renderer/vertical-view.d.ts +2 -1
  39. package/src/schedule/event-renderer/vertical-view.js +65 -33
  40. package/src/schedule/event-renderer/year.js +20 -20
  41. package/src/schedule/exports/print.js +1 -0
  42. package/src/schedule/models/event-settings-model.d.ts +155 -155
  43. package/src/schedule/models/event-settings.js +19 -19
  44. package/src/schedule/models/field-options-model.d.ts +22 -22
  45. package/src/schedule/models/field-options.js +19 -19
  46. package/src/schedule/models/fields-model.d.ts +92 -92
  47. package/src/schedule/models/fields.js +19 -19
  48. package/src/schedule/models/group-model.d.ts +48 -48
  49. package/src/schedule/models/group.js +19 -19
  50. package/src/schedule/models/header-rows-model.d.ts +22 -22
  51. package/src/schedule/models/header-rows.js +19 -19
  52. package/src/schedule/models/quick-info-templates-model.d.ts +37 -37
  53. package/src/schedule/models/quick-info-templates.js +19 -19
  54. package/src/schedule/models/resources-model.d.ts +85 -85
  55. package/src/schedule/models/resources.js +19 -19
  56. package/src/schedule/models/time-scale-model.d.ts +40 -40
  57. package/src/schedule/models/time-scale.js +19 -19
  58. package/src/schedule/models/toolbar-model.d.ts +187 -187
  59. package/src/schedule/models/toolbar.js +19 -19
  60. package/src/schedule/models/views-model.d.ts +329 -329
  61. package/src/schedule/models/views.js +19 -19
  62. package/src/schedule/models/work-hours-model.d.ts +16 -16
  63. package/src/schedule/models/work-hours.js +19 -19
  64. package/src/schedule/popups/event-tooltip.js +2 -1
  65. package/src/schedule/popups/event-window.d.ts +1 -0
  66. package/src/schedule/popups/event-window.js +13 -10
  67. package/src/schedule/renderer/agenda.js +13 -13
  68. package/src/schedule/renderer/day.js +13 -13
  69. package/src/schedule/renderer/header-renderer.d.ts +1 -0
  70. package/src/schedule/renderer/header-renderer.js +20 -12
  71. package/src/schedule/renderer/month-agenda.js +13 -13
  72. package/src/schedule/renderer/month.js +19 -13
  73. package/src/schedule/renderer/timeline-header-row.js +1 -1
  74. package/src/schedule/renderer/timeline-month.js +13 -13
  75. package/src/schedule/renderer/timeline-view.js +22 -17
  76. package/src/schedule/renderer/timeline-year.js +19 -15
  77. package/src/schedule/renderer/vertical-view.js +33 -23
  78. package/src/schedule/renderer/view-base.d.ts +1 -0
  79. package/src/schedule/renderer/view-base.js +14 -1
  80. package/src/schedule/renderer/week.js +13 -13
  81. package/src/schedule/renderer/work-week.js +13 -13
  82. package/src/schedule/renderer/year.js +17 -17
  83. package/styles/bootstrap-dark-lite.css +4174 -0
  84. package/styles/bootstrap-dark-lite.scss +18 -0
  85. package/styles/bootstrap-dark.css +823 -595
  86. package/styles/bootstrap-dark.scss +3 -2
  87. package/styles/bootstrap-lite.css +4169 -0
  88. package/styles/bootstrap-lite.scss +18 -0
  89. package/styles/bootstrap.css +823 -595
  90. package/styles/bootstrap.scss +3 -2
  91. package/styles/bootstrap4-lite.css +4216 -0
  92. package/styles/bootstrap4-lite.scss +18 -0
  93. package/styles/bootstrap4.css +809 -636
  94. package/styles/bootstrap4.scss +3 -2
  95. package/styles/bootstrap5-dark-lite.css +4215 -0
  96. package/styles/bootstrap5-dark-lite.scss +18 -0
  97. package/styles/bootstrap5-dark.css +824 -596
  98. package/styles/bootstrap5-dark.scss +3 -2
  99. package/styles/bootstrap5-lite.css +4215 -0
  100. package/styles/bootstrap5-lite.scss +18 -0
  101. package/styles/bootstrap5.3-lite.css +4261 -0
  102. package/styles/bootstrap5.3-lite.scss +18 -0
  103. package/styles/bootstrap5.3.css +5023 -0
  104. package/styles/bootstrap5.3.scss +20 -0
  105. package/styles/bootstrap5.css +824 -596
  106. package/styles/bootstrap5.scss +3 -2
  107. package/styles/fabric-dark-lite.css +4144 -0
  108. package/styles/fabric-dark-lite.scss +18 -0
  109. package/styles/fabric-dark.css +830 -594
  110. package/styles/fabric-dark.scss +3 -2
  111. package/styles/fabric-lite.css +4141 -0
  112. package/styles/fabric-lite.scss +18 -0
  113. package/styles/fabric.css +830 -587
  114. package/styles/fabric.scss +3 -2
  115. package/styles/fluent-dark-lite.css +4207 -0
  116. package/styles/fluent-dark-lite.scss +18 -0
  117. package/styles/fluent-dark.css +828 -592
  118. package/styles/fluent-dark.scss +3 -2
  119. package/styles/fluent-lite.css +4207 -0
  120. package/styles/fluent-lite.scss +18 -0
  121. package/styles/fluent.css +828 -592
  122. package/styles/fluent.scss +3 -2
  123. package/styles/fluent2-lite.css +4427 -0
  124. package/styles/fluent2-lite.scss +18 -0
  125. package/styles/fluent2.css +863 -1627
  126. package/styles/fluent2.scss +3 -2
  127. package/styles/highcontrast-light-lite.css +4233 -0
  128. package/styles/highcontrast-light-lite.scss +18 -0
  129. package/styles/highcontrast-light.css +833 -583
  130. package/styles/highcontrast-light.scss +3 -2
  131. package/styles/highcontrast-lite.css +4242 -0
  132. package/styles/highcontrast-lite.scss +18 -0
  133. package/styles/highcontrast.css +834 -584
  134. package/styles/highcontrast.scss +3 -2
  135. package/styles/material-dark-lite.css +4221 -0
  136. package/styles/material-dark-lite.scss +18 -0
  137. package/styles/material-dark.css +839 -581
  138. package/styles/material-dark.scss +3 -2
  139. package/styles/material-lite.css +4247 -0
  140. package/styles/material-lite.scss +18 -0
  141. package/styles/material.css +836 -599
  142. package/styles/material.scss +3 -2
  143. package/styles/material3-dark-lite.css +4238 -0
  144. package/styles/material3-dark-lite.scss +18 -0
  145. package/styles/material3-dark.css +832 -656
  146. package/styles/material3-dark.scss +4 -3
  147. package/styles/material3-lite.css +4240 -0
  148. package/styles/material3-lite.scss +18 -0
  149. package/styles/material3.css +831 -709
  150. package/styles/material3.scss +4 -3
  151. package/styles/recurrence-editor/_all.scss +2 -2
  152. package/styles/recurrence-editor/_bds-definition.scss +14 -14
  153. package/styles/recurrence-editor/_bigger.scss +134 -0
  154. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +14 -14
  155. package/styles/recurrence-editor/_bootstrap-definition.scss +14 -14
  156. package/styles/recurrence-editor/_bootstrap4-definition.scss +14 -14
  157. package/styles/recurrence-editor/_bootstrap5-definition.scss +14 -14
  158. package/styles/recurrence-editor/_bootstrap5.3-definition.scss +14 -14
  159. package/styles/recurrence-editor/_fabric-dark-definition.scss +14 -14
  160. package/styles/recurrence-editor/_fabric-definition.scss +14 -14
  161. package/styles/recurrence-editor/_fluent-definition.scss +14 -14
  162. package/styles/recurrence-editor/_fluent2-definition.scss +14 -14
  163. package/styles/recurrence-editor/_fusionnew-definition.scss +14 -14
  164. package/styles/recurrence-editor/_highcontrast-definition.scss +14 -14
  165. package/styles/recurrence-editor/_highcontrast-light-definition.scss +14 -14
  166. package/styles/recurrence-editor/_layout.scss +415 -525
  167. package/styles/recurrence-editor/_material-dark-definition.scss +14 -14
  168. package/styles/recurrence-editor/_material-definition.scss +14 -14
  169. package/styles/recurrence-editor/_material3-definition.scss +14 -14
  170. package/styles/recurrence-editor/_tailwind-definition.scss +14 -14
  171. package/styles/recurrence-editor/_theme.scss +1 -1
  172. package/styles/recurrence-editor/bootstrap-dark.css +87 -131
  173. package/styles/recurrence-editor/bootstrap-dark.scss +1 -0
  174. package/styles/recurrence-editor/bootstrap.css +87 -131
  175. package/styles/recurrence-editor/bootstrap.scss +1 -0
  176. package/styles/recurrence-editor/bootstrap4.css +87 -149
  177. package/styles/recurrence-editor/bootstrap4.scss +1 -0
  178. package/styles/recurrence-editor/bootstrap5-dark.css +87 -135
  179. package/styles/recurrence-editor/bootstrap5-dark.scss +1 -0
  180. package/styles/recurrence-editor/bootstrap5.3.css +501 -0
  181. package/styles/recurrence-editor/bootstrap5.3.scss +9 -0
  182. package/styles/recurrence-editor/bootstrap5.css +87 -135
  183. package/styles/recurrence-editor/bootstrap5.scss +1 -0
  184. package/styles/recurrence-editor/fabric-dark.css +87 -130
  185. package/styles/recurrence-editor/fabric-dark.scss +1 -0
  186. package/styles/recurrence-editor/fabric.css +87 -123
  187. package/styles/recurrence-editor/fabric.scss +1 -0
  188. package/styles/recurrence-editor/fluent-dark.css +87 -122
  189. package/styles/recurrence-editor/fluent-dark.scss +1 -0
  190. package/styles/recurrence-editor/fluent.css +87 -122
  191. package/styles/recurrence-editor/fluent.scss +1 -0
  192. package/styles/recurrence-editor/fluent2.css +94 -1148
  193. package/styles/recurrence-editor/fluent2.scss +1 -0
  194. package/styles/recurrence-editor/highcontrast-light.css +87 -118
  195. package/styles/recurrence-editor/highcontrast-light.scss +1 -0
  196. package/styles/recurrence-editor/highcontrast.css +87 -118
  197. package/styles/recurrence-editor/highcontrast.scss +1 -0
  198. package/styles/recurrence-editor/material-dark.css +87 -115
  199. package/styles/recurrence-editor/material-dark.scss +1 -0
  200. package/styles/recurrence-editor/material.css +87 -136
  201. package/styles/recurrence-editor/material.scss +1 -0
  202. package/styles/recurrence-editor/material3-dark.css +88 -194
  203. package/styles/recurrence-editor/material3-dark.scss +2 -1
  204. package/styles/recurrence-editor/material3.css +89 -249
  205. package/styles/recurrence-editor/material3.scss +2 -1
  206. package/styles/recurrence-editor/tailwind-dark.css +87 -116
  207. package/styles/recurrence-editor/tailwind-dark.scss +1 -0
  208. package/styles/recurrence-editor/tailwind.css +87 -116
  209. package/styles/recurrence-editor/tailwind.scss +1 -0
  210. package/styles/schedule/_all.scss +2 -2
  211. package/styles/schedule/_bds-definition.scss +272 -272
  212. package/styles/schedule/_bigger.scss +810 -0
  213. package/styles/schedule/_bootstrap-dark-definition.scss +270 -270
  214. package/styles/schedule/_bootstrap-definition.scss +270 -270
  215. package/styles/schedule/_bootstrap4-definition.scss +273 -273
  216. package/styles/schedule/_bootstrap5-definition.scss +274 -274
  217. package/styles/schedule/_bootstrap5.3-definition.scss +276 -273
  218. package/styles/schedule/_fabric-dark-definition.scss +271 -271
  219. package/styles/schedule/_fabric-definition.scss +270 -270
  220. package/styles/schedule/_fluent-definition.scss +276 -276
  221. package/styles/schedule/_fluent2-definition.scss +273 -273
  222. package/styles/schedule/_fusionnew-definition.scss +273 -273
  223. package/styles/schedule/_highcontrast-definition.scss +271 -271
  224. package/styles/schedule/_highcontrast-light-definition.scss +271 -271
  225. package/styles/schedule/_layout.scss +3787 -4218
  226. package/styles/schedule/_material-dark-definition.scss +270 -270
  227. package/styles/schedule/_material-definition.scss +270 -270
  228. package/styles/schedule/_material3-definition.scss +275 -275
  229. package/styles/schedule/_tailwind-definition.scss +271 -271
  230. package/styles/schedule/_theme.scss +589 -567
  231. package/styles/schedule/bootstrap-dark.css +706 -484
  232. package/styles/schedule/bootstrap-dark.scss +1 -0
  233. package/styles/schedule/bootstrap.css +706 -484
  234. package/styles/schedule/bootstrap.scss +1 -0
  235. package/styles/schedule/bootstrap4.css +699 -532
  236. package/styles/schedule/bootstrap4.scss +1 -0
  237. package/styles/schedule/bootstrap5-dark.css +714 -492
  238. package/styles/schedule/bootstrap5-dark.scss +1 -0
  239. package/styles/schedule/bootstrap5.3.css +4621 -0
  240. package/styles/schedule/bootstrap5.3.scss +17 -0
  241. package/styles/schedule/bootstrap5.css +714 -492
  242. package/styles/schedule/bootstrap5.scss +1 -0
  243. package/styles/schedule/fabric-dark.css +713 -483
  244. package/styles/schedule/fabric-dark.scss +1 -0
  245. package/styles/schedule/fabric.css +713 -476
  246. package/styles/schedule/fabric.scss +1 -0
  247. package/styles/schedule/fluent-dark.css +723 -493
  248. package/styles/schedule/fluent-dark.scss +1 -0
  249. package/styles/schedule/fluent.css +723 -493
  250. package/styles/schedule/fluent.scss +1 -0
  251. package/styles/schedule/fluent2.css +752 -1525
  252. package/styles/schedule/fluent2.scss +1 -0
  253. package/styles/schedule/highcontrast-light.css +721 -477
  254. package/styles/schedule/highcontrast-light.scss +1 -0
  255. package/styles/schedule/highcontrast.css +721 -477
  256. package/styles/schedule/highcontrast.scss +1 -0
  257. package/styles/schedule/icons/_bds.scss +220 -220
  258. package/styles/schedule/icons/_bootstrap-dark.scss +223 -223
  259. package/styles/schedule/icons/_bootstrap.scss +223 -223
  260. package/styles/schedule/icons/_bootstrap4.scss +217 -217
  261. package/styles/schedule/icons/_bootstrap5.3.scss +220 -220
  262. package/styles/schedule/icons/_bootstrap5.scss +220 -220
  263. package/styles/schedule/icons/_fabric-dark.scss +223 -223
  264. package/styles/schedule/icons/_fabric.scss +223 -223
  265. package/styles/schedule/icons/_fluent.scss +220 -220
  266. package/styles/schedule/icons/_fluent2.scss +220 -220
  267. package/styles/schedule/icons/_fusionnew.scss +220 -220
  268. package/styles/schedule/icons/_highcontrast-light.scss +223 -223
  269. package/styles/schedule/icons/_highcontrast.scss +223 -223
  270. package/styles/schedule/icons/_material-dark.scss +223 -223
  271. package/styles/schedule/icons/_material.scss +223 -223
  272. package/styles/schedule/icons/_material3.scss +220 -220
  273. package/styles/schedule/icons/_tailwind.scss +220 -220
  274. package/styles/schedule/material-dark.css +732 -480
  275. package/styles/schedule/material-dark.scss +1 -0
  276. package/styles/schedule/material.css +729 -498
  277. package/styles/schedule/material.scss +1 -0
  278. package/styles/schedule/material3-dark.css +713 -543
  279. package/styles/schedule/material3-dark.scss +2 -1
  280. package/styles/schedule/material3.css +714 -598
  281. package/styles/schedule/material3.scss +2 -1
  282. package/styles/schedule/tailwind-dark.css +725 -484
  283. package/styles/schedule/tailwind-dark.scss +1 -0
  284. package/styles/schedule/tailwind.css +725 -484
  285. package/styles/schedule/tailwind.scss +1 -0
  286. package/styles/tailwind-dark-lite.css +4184 -0
  287. package/styles/tailwind-dark-lite.scss +18 -0
  288. package/styles/tailwind-dark.css +832 -585
  289. package/styles/tailwind-dark.scss +3 -2
  290. package/styles/tailwind-lite.css +4184 -0
  291. package/styles/tailwind-lite.scss +18 -0
  292. package/styles/tailwind.css +832 -585
  293. package/styles/tailwind.scss +3 -2
  294. package/dist/ej2-schedule.min.js +0 -10
  295. package/dist/global/ej2-schedule.min.js +0 -11
  296. package/dist/global/ej2-schedule.min.js.map +0 -1
  297. package/dist/global/index.d.ts +0 -14
  298. package/tslint.json +0 -111
@@ -1,8 +1,8 @@
1
1
  define(["require", "exports", "./schedule", "./recurrence-editor"], function (require, exports, schedule_1, recurrence_editor_1) {
2
2
  "use strict";
3
- function __export(m) {
4
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
- }
3
+ function __export(m) {
4
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
+ }
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  __export(schedule_1);
8
8
  __export(recurrence_editor_1);
@@ -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
  define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
15
  "use strict";
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
  define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
15
  "use strict";
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
package/license CHANGED
@@ -1,10 +1,10 @@
1
- Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
2
-
3
- To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
4
-
5
- Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
6
-
7
- Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
8
-
9
- The Syncfusion license that contains the terms and conditions can be found at
1
+ Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
2
+
3
+ To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
4
+
5
+ Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
6
+
7
+ Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
8
+
9
+ The Syncfusion license that contains the terms and conditions can be found at
10
10
  https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
package/package.json CHANGED
@@ -1,79 +1,79 @@
1
- {
2
- "_from": "@syncfusion/ej2-schedule@*",
3
- "_id": "@syncfusion/ej2-schedule@26.1.39",
4
- "_inBundle": false,
5
- "_integrity": "sha512-HEdA5xlfR6JNmY8Cmhi5wlpE9xgnyGM+t034uqJX4X+dkMEYOiGC0Oz3Emv3U2reU7VDn4vIL8kgrrRqpl6IQw==",
6
- "_location": "/@syncfusion/ej2-schedule",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-schedule@*",
12
- "name": "@syncfusion/ej2-schedule",
13
- "escapedName": "@syncfusion%2fej2-schedule",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/",
21
- "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-schedule",
23
- "/@syncfusion/ej2-react-schedule",
24
- "/@syncfusion/ej2-vue-schedule"
25
- ],
26
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-26.1.39.tgz",
27
- "_shasum": "17bf48a336dd3e6a1f51fe8d367eaec705a78b2b",
28
- "_spec": "@syncfusion/ej2-schedule@*",
29
- "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
30
- "author": {
31
- "name": "Syncfusion Inc."
32
- },
33
- "bugs": {
34
- "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
35
- },
36
- "bundleDependencies": false,
37
- "dependencies": {
38
- "@syncfusion/ej2-base": "~26.1.37",
39
- "@syncfusion/ej2-buttons": "~26.1.40",
40
- "@syncfusion/ej2-calendars": "~26.1.40",
41
- "@syncfusion/ej2-data": "~26.1.40",
42
- "@syncfusion/ej2-dropdowns": "~26.1.40",
43
- "@syncfusion/ej2-excel-export": "~26.1.35",
44
- "@syncfusion/ej2-inputs": "~26.1.40",
45
- "@syncfusion/ej2-lists": "~26.1.35",
46
- "@syncfusion/ej2-navigations": "~26.1.40",
47
- "@syncfusion/ej2-popups": "~26.1.38",
48
- "@types/requirejs": "^2.1.37"
49
- },
50
- "deprecated": false,
51
- "description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
52
- "devDependencies": {},
53
- "es2015": "./dist/es6/ej2-schedule.es5.js",
54
- "homepage": "https://www.syncfusion.com/javascript-ui-controls",
55
- "keywords": [
56
- "ej2",
57
- "syncfusion",
58
- "JavaScript",
59
- "TypeScript",
60
- "schedule",
61
- "scheduler",
62
- "events-calendar",
63
- "events-scheduler",
64
- "appointment-calendar",
65
- "appointments-planner",
66
- "resources-scheduler"
67
- ],
68
- "license": "SEE LICENSE IN license",
69
- "main": "./dist/ej2-schedule.umd.min.js",
70
- "module": "./index.js",
71
- "name": "@syncfusion/ej2-schedule",
72
- "repository": {
73
- "type": "git",
74
- "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
75
- },
76
- "typings": "index.d.ts",
77
- "version": "26.1.40",
78
- "sideEffects": false
79
- }
1
+ {
2
+ "_from": "@syncfusion/ej2-schedule@*",
3
+ "_id": "@syncfusion/ej2-schedule@26.1.40",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-r4Jf4H5P3kGPXFq2X9L2V/9VTVF8lMu0xgl9V3gf3jb88dZmpuLb+JqpDF4zYXjL4QsU9cfILvCT6Kwj8ZC/GQ==",
6
+ "_location": "/@syncfusion/ej2-schedule",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "@syncfusion/ej2-schedule@*",
12
+ "name": "@syncfusion/ej2-schedule",
13
+ "escapedName": "@syncfusion%2fej2-schedule",
14
+ "scope": "@syncfusion",
15
+ "rawSpec": "*",
16
+ "saveSpec": null,
17
+ "fetchSpec": "*"
18
+ },
19
+ "_requiredBy": [
20
+ "/",
21
+ "/@syncfusion/ej2",
22
+ "/@syncfusion/ej2-angular-schedule",
23
+ "/@syncfusion/ej2-react-schedule",
24
+ "/@syncfusion/ej2-vue-schedule"
25
+ ],
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-26.1.40.tgz",
27
+ "_shasum": "16adcad2451ceb85be6257a04b55099b6cac9945",
28
+ "_spec": "@syncfusion/ej2-schedule@*",
29
+ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
30
+ "author": {
31
+ "name": "Syncfusion Inc."
32
+ },
33
+ "bugs": {
34
+ "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
35
+ },
36
+ "bundleDependencies": false,
37
+ "dependencies": {
38
+ "@syncfusion/ej2-base": "~26.1.37",
39
+ "@syncfusion/ej2-buttons": "~26.1.40",
40
+ "@syncfusion/ej2-calendars": "~26.1.41",
41
+ "@syncfusion/ej2-data": "~26.1.41",
42
+ "@syncfusion/ej2-dropdowns": "~26.1.41",
43
+ "@syncfusion/ej2-excel-export": "~26.1.35",
44
+ "@syncfusion/ej2-inputs": "~26.1.41",
45
+ "@syncfusion/ej2-lists": "~26.1.35",
46
+ "@syncfusion/ej2-navigations": "~26.1.41",
47
+ "@syncfusion/ej2-popups": "~26.1.41",
48
+ "@types/requirejs": "^2.1.37"
49
+ },
50
+ "deprecated": false,
51
+ "description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
52
+ "devDependencies": {},
53
+ "es2015": "./dist/es6/ej2-schedule.es5.js",
54
+ "homepage": "https://www.syncfusion.com/javascript-ui-controls",
55
+ "keywords": [
56
+ "ej2",
57
+ "syncfusion",
58
+ "JavaScript",
59
+ "TypeScript",
60
+ "schedule",
61
+ "scheduler",
62
+ "events-calendar",
63
+ "events-scheduler",
64
+ "appointment-calendar",
65
+ "appointments-planner",
66
+ "resources-scheduler"
67
+ ],
68
+ "license": "SEE LICENSE IN license",
69
+ "main": "./dist/ej2-schedule.umd.min.js",
70
+ "module": "./index.js",
71
+ "name": "@syncfusion/ej2-schedule",
72
+ "repository": {
73
+ "type": "git",
74
+ "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
75
+ },
76
+ "typings": "index.d.ts",
77
+ "version": "26.1.41-16103",
78
+ "sideEffects": false
79
+ }
@@ -308,6 +308,9 @@ function weeklyType(startDate, endDate, data, ruleObject) {
308
308
  }
309
309
  else {
310
310
  tempDate = getStartDateForWeek(startDate, ruleObject.day);
311
+ if (interval > 1 && dayIndex.indexOf(ruleObject.day[0]) < startDate.getDay()) {
312
+ tempDate.setDate(tempDate.getDate() + ((interval - 1) * 7));
313
+ }
311
314
  while (compareDates(tempDate, endDate)) {
312
315
  weekState = validateRules(tempDate, ruleObject);
313
316
  if (weekState && (expectedDays.indexOf(DAYINDEX[tempDate.getDay()]) > -1)) {
@@ -1,4 +1,4 @@
1
- import { Component, Property, NotifyPropertyChanges, INotifyPropertyChanged, Event, Browser, detach } from '@syncfusion/ej2-base';import { EmitType, getDefaultDateObject, getValue, cldrData, L10n, isNullOrUndefined, removeClass, addClass } from '@syncfusion/ej2-base';import { DropDownList, ChangeEventArgs } from '@syncfusion/ej2-dropdowns';import { NumericTextBox } from '@syncfusion/ej2-inputs';import { DatePicker, ChangedEventArgs } from '@syncfusion/ej2-calendars';import { Button, RadioButton } from '@syncfusion/ej2-buttons';import { EventHandler, MouseEventArgs, classList } from '@syncfusion/ej2-base';import { EJ2Instance } from '../schedule/base/interface';import { RecRule, extractObjectFromRule, generate, generateSummary, getRecurrenceStringFromDate, getCalendarUtil } from './date-generator';import { CalendarUtil, CalendarType } from '../common/calendar-util';import { capitalizeFirstWord } from '../schedule/base/util';
1
+ import { Component, Property, NotifyPropertyChanges, INotifyPropertyChanged, Event, Browser, detach } from '@syncfusion/ej2-base';
2
2
  import {RepeatType,EndType,RecurrenceEditorChangeEventArgs} from "./recurrence-editor";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -8,91 +8,91 @@ import {ComponentModel} from '@syncfusion/ej2-base';
8
8
  export interface RecurrenceEditorModel extends ComponentModel{
9
9
 
10
10
  /**
11
- * Sets the recurrence pattern on the editor.
12
- *
13
- * @default ['none', 'daily', 'weekly', 'monthly', 'yearly']
14
- */
15
- frequencies?: RepeatType[];
11
+ * Sets the recurrence pattern on the editor.
12
+ *
13
+ * @default ['none', 'daily', 'weekly', 'monthly', 'yearly']
14
+ */
15
+ frequencies?: RepeatType[];
16
16
 
17
17
  /**
18
- * Sets the type of recurrence end for the recurrence pattern on the editor.
19
- *
20
- * @default ['never', 'until', 'count']
21
- */
22
- endTypes?: EndType[];
18
+ * Sets the type of recurrence end for the recurrence pattern on the editor.
19
+ *
20
+ * @default ['never', 'until', 'count']
21
+ */
22
+ endTypes?: EndType[];
23
23
 
24
24
  /**
25
- * Sets the first day of the week.
26
- *
27
- * @default 0
28
- */
29
- firstDayOfWeek?: number;
25
+ * Sets the first day of the week.
26
+ *
27
+ * @default 0
28
+ */
29
+ firstDayOfWeek?: number;
30
30
 
31
31
  /**
32
- * Sets the start date on recurrence editor.
33
- *
34
- * @default new Date()
35
- * @aspDefaultValue DateTime.Now
36
- */
37
- startDate?: Date;
32
+ * Sets the start date on recurrence editor.
33
+ *
34
+ * @default new Date()
35
+ * @aspDefaultValue DateTime.Now
36
+ */
37
+ startDate?: Date;
38
38
 
39
39
  /**
40
- * Sets the user specific date format on recurrence editor.
41
- *
42
- * @default null
43
- */
44
- dateFormat?: string;
40
+ * Sets the user specific date format on recurrence editor.
41
+ *
42
+ * @default null
43
+ */
44
+ dateFormat?: string;
45
45
 
46
46
  /**
47
- * Sets the specific calendar type to be applied on recurrence editor.
48
- *
49
- * @default 'Gregorian'
50
- */
51
- calendarMode?: CalendarType;
47
+ * Sets the specific calendar type to be applied on recurrence editor.
48
+ *
49
+ * @default 'Gregorian'
50
+ */
51
+ calendarMode?: CalendarType;
52
52
 
53
53
  /**
54
- * Allows styling with custom class names.
55
- *
56
- * @default null
57
- */
58
- cssClass?: string;
54
+ * Allows styling with custom class names.
55
+ *
56
+ * @default null
57
+ */
58
+ cssClass?: string;
59
59
 
60
60
  /**
61
- * Sets the recurrence rule as its output values.
62
- *
63
- * @default null
64
- */
65
- value?: string;
61
+ * Sets the recurrence rule as its output values.
62
+ *
63
+ * @default null
64
+ */
65
+ value?: string;
66
66
 
67
67
  /**
68
- * Sets the minimum date on recurrence editor.
69
- *
70
- * @default new Date(1900, 0, 1)
71
- * @aspDefaultValue new DateTime(1900, 1, 1)
72
- */
73
- minDate?: Date;
68
+ * Sets the minimum date on recurrence editor.
69
+ *
70
+ * @default new Date(1900, 0, 1)
71
+ * @aspDefaultValue new DateTime(1900, 1, 1)
72
+ */
73
+ minDate?: Date;
74
74
 
75
75
  /**
76
- * Sets the maximum date on recurrence editor.
77
- *
78
- * @default new Date(2099, 11, 31)
79
- * @aspDefaultValue new DateTime(2099, 12, 31)
80
- */
81
- maxDate?: Date;
76
+ * Sets the maximum date on recurrence editor.
77
+ *
78
+ * @default new Date(2099, 11, 31)
79
+ * @aspDefaultValue new DateTime(2099, 12, 31)
80
+ */
81
+ maxDate?: Date;
82
82
 
83
83
  /**
84
- * Sets the current repeat type to be set on the recurrence editor.
85
- *
86
- * @default 0
87
- * @aspType int
88
- */
89
- selectedType?: number;
84
+ * Sets the current repeat type to be set on the recurrence editor.
85
+ *
86
+ * @default 0
87
+ * @aspType int
88
+ */
89
+ selectedType?: number;
90
90
 
91
91
  /**
92
- * Triggers for value changes on every sub-controls rendered within the recurrence editor.
93
- *
94
- * @event 'change'
95
- */
96
- change?: EmitType<RecurrenceEditorChangeEventArgs>;
92
+ * Triggers for value changes on every sub-controls rendered within the recurrence editor.
93
+ *
94
+ * @event 'change'
95
+ */
96
+ change?: EmitType<RecurrenceEditorChangeEventArgs>;
97
97
 
98
98
  }
@@ -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 { Component, Property, NotifyPropertyChanges, Event, Browser, detach } from '@syncfusion/ej2-base';
21
21
  import { getDefaultDateObject, getValue, cldrData, L10n, isNullOrUndefined, removeClass, addClass } from '@syncfusion/ej2-base';
22
22
  import { DropDownList } from '@syncfusion/ej2-dropdowns';
@@ -112,10 +112,10 @@ var Crud = /** @class */ (function () {
112
112
  addedRecords: args.editParams.addedRecords, changedRecords: args.editParams.changedRecords,
113
113
  deletedRecords: args.editParams.deletedRecords
114
114
  };
115
- if (this.parent.dragAndDropModule && this.parent.dragAndDropModule.actionObj && this.parent.dragAndDropModule.actionObj.element) {
115
+ if (this.parent.dragAndDropModule && this.parent.dragAndDropModule.actionObj && this.parent.dragAndDropModule.actionObj.element && this.parent.dragAndDropModule.actionObj.action) {
116
116
  this.parent.dragAndDropModule.actionObj.element.style.display = 'none';
117
117
  }
118
- if (this.parent.resizeModule && this.parent.resizeModule.actionObj && this.parent.resizeModule.actionObj.element) {
118
+ if (this.parent.resizeModule && this.parent.resizeModule.actionObj && this.parent.resizeModule.actionObj.element && this.parent.resizeModule.actionObj.action) {
119
119
  this.parent.resizeModule.actionObj.element.style.display = 'none';
120
120
  }
121
121
  if (this.parent.isSpecificResourceEvents()) {
@@ -504,16 +504,32 @@ var Crud = /** @class */ (function () {
504
504
  var updateSeriesEvents = (eventData instanceof Array) ? eventData : [eventData];
505
505
  var args = {
506
506
  requestType: action === 'EditSeries' ? 'eventChange' : 'eventRemove', cancel: false,
507
- addedRecords: [], changedRecords: updateSeriesEvents, deletedRecords: []
507
+ addedRecords: [], changedRecords: [], deletedRecords: []
508
508
  };
509
509
  args.data = seriesData;
510
+ if (action === 'EditSeries') {
511
+ args.changedRecords = updateSeriesEvents;
512
+ }
513
+ else {
514
+ args.deletedRecords = updateSeriesEvents;
515
+ }
516
+ if (action === 'EditSeries' && !this.parent.uiStateValues.isIgnoreOccurrence) {
517
+ var seriesEvents = seriesData instanceof Array ? seriesData : [seriesData];
518
+ for (var a = 0, count = args.changedRecords.length; a < count; a++) {
519
+ var parentEvent = seriesEvents[parseInt(a.toString(), 10)];
520
+ var eventCollections = this.parent.eventBase.getEventCollections(parentEvent);
521
+ var deletedEvents = eventCollections.follow.concat(eventCollections.occurrence);
522
+ args.deletedRecords = args.deletedRecords.concat(deletedEvents);
523
+ }
524
+ }
510
525
  this.parent.trigger(events.actionBegin, args, function (seriesArgs) {
511
526
  if (!seriesArgs.cancel) {
512
527
  var fields_2 = _this.parent.eventFields;
513
528
  var editParams = { addedRecords: [], changedRecords: [], deletedRecords: [] };
514
529
  var seriesEvents = seriesData instanceof Array ? seriesData : [seriesData];
530
+ var records = action === 'EditSeries' ? seriesArgs.changedRecords : seriesArgs.deletedRecords;
515
531
  var _loop_4 = function (a, count) {
516
- var childEvent = seriesArgs.changedRecords[parseInt(a.toString(), 10)];
532
+ var childEvent = records[parseInt(a.toString(), 10)];
517
533
  var parentEvent = seriesEvents[parseInt(a.toString(), 10)];
518
534
  var eventCollections = _this.parent.eventBase.getEventCollections(parentEvent);
519
535
  var deletedEvents = eventCollections.follow.concat(eventCollections.occurrence);
@@ -543,11 +559,11 @@ var Crud = /** @class */ (function () {
543
559
  break;
544
560
  }
545
561
  };
546
- for (var a = 0, count = seriesArgs.changedRecords.length; a < count; a++) {
562
+ for (var a = 0, count = records.length; a < count; a++) {
547
563
  _loop_4(a, count);
548
564
  }
549
565
  var promise = _this.parent.dataModule.dataManager.saveChanges(editParams, fields_2.id, _this.getTable(), _this.getQuery());
550
- var cloneEvent = extend({}, seriesArgs.changedRecords[seriesArgs.changedRecords.length - 1], null, true);
566
+ var cloneEvent = extend({}, records[records.length - 1], null, true);
551
567
  _this.parent.eventBase.selectWorkCellByTime(action === 'EditSeries' ? [_this.parent.eventBase.processTimezone(cloneEvent)] : [cloneEvent]);
552
568
  var crudArgs = {
553
569
  requestType: action === 'EditSeries' ? 'eventChanged' : 'eventRemoved',
@@ -24,6 +24,10 @@ export declare class DragAndDrop extends ActionBase {
24
24
  private targetTd;
25
25
  private isCursorAhead;
26
26
  private dragArea;
27
+ private enableCurrentViewDrag;
28
+ private isPreventMultiDrag;
29
+ private slotsUptoCursor;
30
+ private eleTop;
27
31
  wireDragEvent(element: HTMLElement): void;
28
32
  setDragArea(): void;
29
33
  private dragHelper;