@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.
Files changed (310) hide show
  1. package/.eslintrc.json +262 -243
  2. package/.gitleaksignore +4 -4
  3. package/README.md +83 -83
  4. package/aceconfig.js +17 -0
  5. package/dist/ej2-schedule.min.js +10 -0
  6. package/dist/ej2-schedule.umd.min.js +10 -1
  7. package/dist/ej2-schedule.umd.min.js.map +1 -1
  8. package/dist/es6/ej2-schedule.es2015.js +79 -75
  9. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  10. package/dist/es6/ej2-schedule.es5.js +544 -540
  11. package/dist/es6/ej2-schedule.es5.js.map +1 -1
  12. package/dist/global/ej2-schedule.min.js +11 -0
  13. package/dist/global/ej2-schedule.min.js.map +1 -0
  14. package/dist/global/index.d.ts +14 -0
  15. package/helpers/e2e/index.js +3 -3
  16. package/helpers/e2e/recurrence-editor.js +13 -13
  17. package/helpers/e2e/schedule.js +13 -13
  18. package/license +9 -9
  19. package/package.json +42 -42
  20. package/src/recurrence-editor/recurrence-editor-model.d.ts +75 -75
  21. package/src/recurrence-editor/recurrence-editor.js +19 -19
  22. package/src/schedule/actions/drag.js +13 -13
  23. package/src/schedule/actions/keyboard.js +11 -11
  24. package/src/schedule/actions/resize.js +14 -13
  25. package/src/schedule/actions/virtual-scroll.js +3 -0
  26. package/src/schedule/base/interface.d.ts +2 -2
  27. package/src/schedule/base/schedule-model.d.ts +864 -864
  28. package/src/schedule/base/schedule.js +19 -19
  29. package/src/schedule/event-renderer/agenda-base.js +13 -13
  30. package/src/schedule/event-renderer/month.js +13 -13
  31. package/src/schedule/event-renderer/timeline-view.js +13 -13
  32. package/src/schedule/event-renderer/vertical-view.js +13 -13
  33. package/src/schedule/event-renderer/year.js +13 -13
  34. package/src/schedule/models/event-settings-model.d.ts +156 -156
  35. package/src/schedule/models/event-settings.js +19 -19
  36. package/src/schedule/models/field-options-model.d.ts +22 -22
  37. package/src/schedule/models/field-options.js +19 -19
  38. package/src/schedule/models/fields-model.d.ts +92 -92
  39. package/src/schedule/models/fields.js +19 -19
  40. package/src/schedule/models/group-model.d.ts +48 -48
  41. package/src/schedule/models/group.js +19 -19
  42. package/src/schedule/models/header-rows-model.d.ts +22 -22
  43. package/src/schedule/models/header-rows.js +19 -19
  44. package/src/schedule/models/quick-info-templates-model.d.ts +37 -37
  45. package/src/schedule/models/quick-info-templates.js +19 -19
  46. package/src/schedule/models/resources-model.d.ts +85 -85
  47. package/src/schedule/models/resources.js +19 -19
  48. package/src/schedule/models/time-scale-model.d.ts +40 -40
  49. package/src/schedule/models/time-scale.js +19 -19
  50. package/src/schedule/models/toolbar-model.d.ts +187 -187
  51. package/src/schedule/models/toolbar.js +19 -19
  52. package/src/schedule/models/views-model.d.ts +361 -361
  53. package/src/schedule/models/views.js +19 -19
  54. package/src/schedule/models/work-hours-model.d.ts +16 -16
  55. package/src/schedule/models/work-hours.js +19 -19
  56. package/src/schedule/renderer/agenda.js +13 -13
  57. package/src/schedule/renderer/day.js +13 -13
  58. package/src/schedule/renderer/header-renderer.js +11 -11
  59. package/src/schedule/renderer/month-agenda.js +13 -13
  60. package/src/schedule/renderer/month.js +13 -13
  61. package/src/schedule/renderer/timeline-month.js +13 -13
  62. package/src/schedule/renderer/timeline-view.js +13 -13
  63. package/src/schedule/renderer/timeline-year.js +13 -13
  64. package/src/schedule/renderer/vertical-view.js +13 -13
  65. package/src/schedule/renderer/week.js +13 -13
  66. package/src/schedule/renderer/work-week.js +13 -13
  67. package/src/schedule/renderer/year.js +13 -13
  68. package/styles/bds-lite.css +4446 -0
  69. package/styles/bds-lite.scss +18 -0
  70. package/styles/bds.css +5198 -0
  71. package/styles/bds.scss +20 -0
  72. package/styles/bootstrap-dark-lite.css +4228 -0
  73. package/styles/bootstrap-dark-lite.scss +18 -0
  74. package/styles/bootstrap-dark.css +4980 -0
  75. package/styles/bootstrap-dark.scss +20 -0
  76. package/styles/bootstrap-lite.css +4223 -0
  77. package/styles/bootstrap-lite.scss +18 -0
  78. package/styles/bootstrap.css +4975 -0
  79. package/styles/bootstrap.scss +20 -0
  80. package/styles/bootstrap4-lite.css +4270 -0
  81. package/styles/bootstrap4-lite.scss +18 -0
  82. package/styles/bootstrap4.css +5022 -0
  83. package/styles/bootstrap4.scss +20 -0
  84. package/styles/bootstrap5-dark-lite.css +4273 -0
  85. package/styles/bootstrap5-dark-lite.scss +18 -0
  86. package/styles/bootstrap5-dark.css +5025 -0
  87. package/styles/bootstrap5-dark.scss +20 -0
  88. package/styles/bootstrap5-lite.css +4273 -0
  89. package/styles/bootstrap5-lite.scss +18 -0
  90. package/styles/bootstrap5.3-lite.css +4319 -0
  91. package/styles/bootstrap5.3-lite.scss +18 -0
  92. package/styles/bootstrap5.3.css +5071 -0
  93. package/styles/bootstrap5.3.scss +20 -0
  94. package/styles/bootstrap5.css +5025 -0
  95. package/styles/bootstrap5.scss +20 -0
  96. package/styles/fabric-dark-lite.css +4198 -0
  97. package/styles/fabric-dark-lite.scss +18 -0
  98. package/styles/fabric-dark.css +4950 -0
  99. package/styles/fabric-dark.scss +20 -0
  100. package/styles/fabric-lite.css +4195 -0
  101. package/styles/fabric-lite.scss +18 -0
  102. package/styles/fabric.css +4947 -0
  103. package/styles/fabric.scss +20 -0
  104. package/styles/fluent-dark-lite.css +4261 -0
  105. package/styles/fluent-dark-lite.scss +18 -0
  106. package/styles/fluent-dark.css +5013 -0
  107. package/styles/fluent-dark.scss +20 -0
  108. package/styles/fluent-lite.css +4261 -0
  109. package/styles/fluent-lite.scss +18 -0
  110. package/styles/fluent.css +5013 -0
  111. package/styles/fluent.scss +20 -0
  112. package/styles/fluent2-lite.css +4505 -0
  113. package/styles/fluent2-lite.scss +18 -0
  114. package/styles/fluent2.css +5261 -0
  115. package/styles/fluent2.scss +20 -0
  116. package/styles/highcontrast-light-lite.css +4287 -0
  117. package/styles/highcontrast-light-lite.scss +18 -0
  118. package/styles/highcontrast-light.css +5039 -0
  119. package/styles/highcontrast-light.scss +20 -0
  120. package/styles/highcontrast-lite.css +4296 -0
  121. package/styles/highcontrast-lite.scss +18 -0
  122. package/styles/highcontrast.css +5048 -0
  123. package/styles/highcontrast.scss +20 -0
  124. package/styles/material-dark-lite.css +4275 -0
  125. package/styles/material-dark-lite.scss +18 -0
  126. package/styles/material-dark.css +5027 -0
  127. package/styles/material-dark.scss +20 -0
  128. package/styles/material-lite.css +4310 -0
  129. package/styles/material-lite.scss +18 -0
  130. package/styles/material.css +5062 -0
  131. package/styles/material.scss +20 -0
  132. package/styles/material3-dark-lite.css +4292 -0
  133. package/styles/material3-dark-lite.scss +18 -0
  134. package/styles/material3-dark.css +5045 -0
  135. package/styles/material3-dark.scss +21 -1
  136. package/styles/material3-lite.css +4294 -0
  137. package/styles/material3-lite.scss +18 -0
  138. package/styles/material3.css +5045 -0
  139. package/styles/material3.scss +21 -1
  140. package/styles/recurrence-editor/_all.scss +2 -0
  141. package/styles/recurrence-editor/_bds-definition.scss +14 -0
  142. package/styles/recurrence-editor/_bigger.scss +133 -0
  143. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +14 -0
  144. package/styles/recurrence-editor/_bootstrap-definition.scss +14 -0
  145. package/styles/recurrence-editor/_bootstrap4-definition.scss +14 -0
  146. package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +1 -0
  147. package/styles/recurrence-editor/_bootstrap5-definition.scss +14 -0
  148. package/styles/recurrence-editor/_bootstrap5.3-definition.scss +14 -0
  149. package/styles/recurrence-editor/_fabric-dark-definition.scss +14 -0
  150. package/styles/recurrence-editor/_fabric-definition.scss +14 -0
  151. package/styles/recurrence-editor/_fluent-dark-definition.scss +1 -0
  152. package/styles/recurrence-editor/_fluent-definition.scss +14 -0
  153. package/styles/recurrence-editor/_fluent2-definition.scss +14 -0
  154. package/styles/recurrence-editor/_fusionnew-definition.scss +14 -0
  155. package/styles/recurrence-editor/_highcontrast-definition.scss +14 -0
  156. package/styles/recurrence-editor/_highcontrast-light-definition.scss +14 -0
  157. package/styles/recurrence-editor/_layout.scss +420 -0
  158. package/styles/recurrence-editor/_material-dark-definition.scss +14 -0
  159. package/styles/recurrence-editor/_material-definition.scss +14 -0
  160. package/styles/recurrence-editor/_material3-dark-definition.scss +1 -0
  161. package/styles/recurrence-editor/_material3-definition.scss +14 -0
  162. package/styles/recurrence-editor/_tailwind-dark-definition.scss +1 -0
  163. package/styles/recurrence-editor/_tailwind-definition.scss +14 -0
  164. package/styles/recurrence-editor/_tailwind3-definition.scss +14 -0
  165. package/styles/recurrence-editor/_theme.scss +1 -0
  166. package/styles/recurrence-editor/bds.css +537 -0
  167. package/styles/recurrence-editor/bds.scss +9 -0
  168. package/styles/recurrence-editor/bootstrap-dark.css +462 -0
  169. package/styles/recurrence-editor/bootstrap-dark.scss +9 -0
  170. package/styles/recurrence-editor/bootstrap.css +462 -0
  171. package/styles/recurrence-editor/bootstrap.scss +9 -0
  172. package/styles/recurrence-editor/bootstrap4.css +490 -0
  173. package/styles/recurrence-editor/bootstrap4.scss +9 -0
  174. package/styles/recurrence-editor/bootstrap5-dark.css +500 -0
  175. package/styles/recurrence-editor/bootstrap5-dark.scss +9 -0
  176. package/styles/recurrence-editor/bootstrap5.3.css +504 -0
  177. package/styles/recurrence-editor/bootstrap5.3.scss +9 -0
  178. package/styles/recurrence-editor/bootstrap5.css +500 -0
  179. package/styles/recurrence-editor/bootstrap5.scss +9 -0
  180. package/styles/recurrence-editor/fabric-dark.css +438 -0
  181. package/styles/recurrence-editor/fabric-dark.scss +9 -0
  182. package/styles/recurrence-editor/fabric.css +438 -0
  183. package/styles/recurrence-editor/fabric.scss +9 -0
  184. package/styles/recurrence-editor/fluent-dark.css +493 -0
  185. package/styles/recurrence-editor/fluent-dark.scss +9 -0
  186. package/styles/recurrence-editor/fluent.css +493 -0
  187. package/styles/recurrence-editor/fluent.scss +9 -0
  188. package/styles/recurrence-editor/fluent2.css +483 -0
  189. package/styles/recurrence-editor/fluent2.scss +9 -0
  190. package/styles/recurrence-editor/highcontrast-light.css +447 -0
  191. package/styles/recurrence-editor/highcontrast-light.scss +9 -0
  192. package/styles/recurrence-editor/highcontrast.css +447 -0
  193. package/styles/recurrence-editor/highcontrast.scss +9 -0
  194. package/styles/recurrence-editor/material-dark.css +487 -0
  195. package/styles/recurrence-editor/material-dark.scss +9 -0
  196. package/styles/recurrence-editor/material.css +491 -0
  197. package/styles/recurrence-editor/material.scss +9 -0
  198. package/styles/recurrence-editor/material3-dark.css +499 -0
  199. package/styles/recurrence-editor/material3-dark.scss +10 -0
  200. package/styles/recurrence-editor/material3.css +501 -0
  201. package/styles/recurrence-editor/material3.scss +10 -0
  202. package/styles/recurrence-editor/tailwind-dark.css +474 -0
  203. package/styles/recurrence-editor/tailwind-dark.scss +9 -0
  204. package/styles/recurrence-editor/tailwind.css +474 -0
  205. package/styles/recurrence-editor/tailwind.scss +9 -0
  206. package/styles/recurrence-editor/tailwind3.css +504 -0
  207. package/styles/recurrence-editor/tailwind3.scss +9 -0
  208. package/styles/schedule/_all.scss +2 -0
  209. package/styles/schedule/_bds-definition.scss +274 -0
  210. package/styles/schedule/_bigger.scss +801 -0
  211. package/styles/schedule/_bootstrap-dark-definition.scss +274 -0
  212. package/styles/schedule/_bootstrap-definition.scss +274 -0
  213. package/styles/schedule/_bootstrap4-definition.scss +277 -0
  214. package/styles/schedule/_bootstrap5-dark-definition.scss +1 -0
  215. package/styles/schedule/_bootstrap5-definition.scss +278 -0
  216. package/styles/schedule/_bootstrap5.3-definition.scss +278 -0
  217. package/styles/schedule/_fabric-dark-definition.scss +273 -0
  218. package/styles/schedule/_fabric-definition.scss +274 -0
  219. package/styles/schedule/_fluent-dark-definition.scss +1 -0
  220. package/styles/schedule/_fluent-definition.scss +278 -0
  221. package/styles/schedule/_fluent2-definition.scss +275 -0
  222. package/styles/schedule/_fusionnew-definition.scss +275 -0
  223. package/styles/schedule/_highcontrast-definition.scss +275 -0
  224. package/styles/schedule/_highcontrast-light-definition.scss +275 -0
  225. package/styles/schedule/_layout.scss +3870 -0
  226. package/styles/schedule/_material-dark-definition.scss +272 -0
  227. package/styles/schedule/_material-definition.scss +272 -0
  228. package/styles/schedule/_material3-dark-definition.scss +1 -0
  229. package/styles/schedule/_material3-definition.scss +277 -0
  230. package/styles/schedule/_tailwind-dark-definition.scss +1 -0
  231. package/styles/schedule/_tailwind-definition.scss +273 -0
  232. package/styles/schedule/_tailwind3-definition.scss +278 -0
  233. package/styles/schedule/_theme.scss +585 -0
  234. package/styles/schedule/bds.css +4793 -0
  235. package/styles/schedule/bds.scss +17 -0
  236. package/styles/schedule/bootstrap-dark.css +4575 -0
  237. package/styles/schedule/bootstrap-dark.scss +17 -0
  238. package/styles/schedule/bootstrap.css +4570 -0
  239. package/styles/schedule/bootstrap.scss +17 -0
  240. package/styles/schedule/bootstrap4.css +4617 -0
  241. package/styles/schedule/bootstrap4.scss +17 -0
  242. package/styles/schedule/bootstrap5-dark.css +4620 -0
  243. package/styles/schedule/bootstrap5-dark.scss +16 -0
  244. package/styles/schedule/bootstrap5.3.css +4666 -0
  245. package/styles/schedule/bootstrap5.3.scss +17 -0
  246. package/styles/schedule/bootstrap5.css +4620 -0
  247. package/styles/schedule/bootstrap5.scss +17 -0
  248. package/styles/schedule/fabric-dark.css +4545 -0
  249. package/styles/schedule/fabric-dark.scss +17 -0
  250. package/styles/schedule/fabric.css +4542 -0
  251. package/styles/schedule/fabric.scss +17 -0
  252. package/styles/schedule/fluent-dark.css +4608 -0
  253. package/styles/schedule/fluent-dark.scss +16 -0
  254. package/styles/schedule/fluent.css +4608 -0
  255. package/styles/schedule/fluent.scss +17 -0
  256. package/styles/schedule/fluent2.css +4853 -0
  257. package/styles/schedule/fluent2.scss +17 -0
  258. package/styles/schedule/highcontrast-light.css +4634 -0
  259. package/styles/schedule/highcontrast-light.scss +17 -0
  260. package/styles/schedule/highcontrast.css +4643 -0
  261. package/styles/schedule/highcontrast.scss +17 -0
  262. package/styles/schedule/icons/_bds.scss +220 -0
  263. package/styles/schedule/icons/_bootstrap-dark.scss +223 -0
  264. package/styles/schedule/icons/_bootstrap.scss +223 -0
  265. package/styles/schedule/icons/_bootstrap4.scss +217 -0
  266. package/styles/schedule/icons/_bootstrap5-dark.scss +1 -0
  267. package/styles/schedule/icons/_bootstrap5.3.scss +220 -0
  268. package/styles/schedule/icons/_bootstrap5.scss +220 -0
  269. package/styles/schedule/icons/_fabric-dark.scss +223 -0
  270. package/styles/schedule/icons/_fabric.scss +223 -0
  271. package/styles/schedule/icons/_fluent-dark.scss +1 -0
  272. package/styles/schedule/icons/_fluent.scss +220 -0
  273. package/styles/schedule/icons/_fluent2.scss +220 -0
  274. package/styles/schedule/icons/_fusionnew.scss +220 -0
  275. package/styles/schedule/icons/_highcontrast-light.scss +223 -0
  276. package/styles/schedule/icons/_highcontrast.scss +223 -0
  277. package/styles/schedule/icons/_material-dark.scss +223 -0
  278. package/styles/schedule/icons/_material.scss +223 -0
  279. package/styles/schedule/icons/_material3-dark.scss +1 -0
  280. package/styles/schedule/icons/_material3.scss +220 -0
  281. package/styles/schedule/icons/_tailwind-dark.scss +1 -0
  282. package/styles/schedule/icons/_tailwind.scss +220 -0
  283. package/styles/schedule/icons/_tailwind3.scss +220 -0
  284. package/styles/schedule/material-dark.css +4622 -0
  285. package/styles/schedule/material-dark.scss +17 -0
  286. package/styles/schedule/material.css +4657 -0
  287. package/styles/schedule/material.scss +17 -0
  288. package/styles/schedule/material3-dark.css +4640 -0
  289. package/styles/schedule/material3-dark.scss +17 -0
  290. package/styles/schedule/material3.css +4642 -0
  291. package/styles/schedule/material3.scss +18 -0
  292. package/styles/schedule/tailwind-dark.css +4585 -0
  293. package/styles/schedule/tailwind-dark.scss +16 -0
  294. package/styles/schedule/tailwind.css +4585 -0
  295. package/styles/schedule/tailwind.scss +17 -0
  296. package/styles/schedule/tailwind3.css +4632 -0
  297. package/styles/schedule/tailwind3.scss +17 -0
  298. package/styles/tailwind-dark-lite.css +4238 -0
  299. package/styles/tailwind-dark-lite.scss +18 -0
  300. package/styles/tailwind-dark.css +4990 -0
  301. package/styles/tailwind-dark.scss +20 -0
  302. package/styles/tailwind-lite.css +4238 -0
  303. package/styles/tailwind-lite.scss +18 -0
  304. package/styles/tailwind.css +4990 -0
  305. package/styles/tailwind.scss +20 -0
  306. package/styles/tailwind3-lite.css +4285 -0
  307. package/styles/tailwind3-lite.scss +18 -0
  308. package/styles/tailwind3.css +5037 -0
  309. package/styles/tailwind3.scss +20 -0
  310. 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 { Component, Property, Event, Animation, Collection, append } from '@syncfusion/ej2-base';
22
22
  import { EventHandler, Browser, Internationalization, getDefaultDateObject, cldrData, L10n } from '@syncfusion/ej2-base';
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
15
  import { isNullOrUndefined, addClass, createElement, append, EventHandler, extend, remove, initializeCSPTemplate } from '@syncfusion/ej2-base';
16
16
  import { ListBase } from '@syncfusion/ej2-lists';
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
15
  import { append, prepend, createElement, extend, EventHandler, closest, addClass } from '@syncfusion/ej2-base';
16
16
  import { isNullOrUndefined, setStyleAttribute, remove } from '@syncfusion/ej2-base';
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  /* eslint-disable max-len */
15
15
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
16
  import { isNullOrUndefined, setStyleAttribute, extend, EventHandler, createElement } from '@syncfusion/ej2-base';
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
15
  import { append, createElement, extend, EventHandler, Animation, formatUnit, closest } from '@syncfusion/ej2-base';
16
16
  import { isNullOrUndefined, setStyleAttribute, remove, removeClass, addClass } from '@syncfusion/ej2-base';
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
15
  import { addClass, append, createElement, extend, remove, isNullOrUndefined } from '@syncfusion/ej2-base';
16
16
  import { setStyleAttribute, EventHandler } from '@syncfusion/ej2-base';
@@ -1,4 +1,4 @@
1
- import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
1
+ import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';import { Query, DataManager } from '@syncfusion/ej2-data';import { SortComparerFunction } from '../base/interface';import { SpannedEventPlacement } from '../base/type';import { Field } from './fields';import { FieldModel } from './fields-model';
2
2
 
3
3
  /**
4
4
  * Interface for a class EventSettings
@@ -6,160 +6,160 @@ import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
6
6
  export interface EventSettingsModel {
7
7
 
8
8
  /**
9
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying
10
- * it onto the event background. All the event fields mapped to Schedule from dataSource can be accessed within this template code.
11
- * {% codeBlock src="schedule/event-template-api/index.ts" %}{% endcodeBlock %}
12
- *
13
- * @default null
14
- * @angularType string | object
15
- * @reactType string | function | JSX.Element
16
- * @vueType string | function
17
- * @aspType string
18
- */
19
- template?: string | Function;
20
-
21
- /**
22
- * With this property, the event data will be bound to Schedule.
23
- * The event data can be passed either as an array of JavaScript objects,
24
- * or else can create an instance of [`DataManager`](http://ej2.syncfusion.com/documentation/data/api-dataManager.html)
25
- * in case of processing remote data and can be assigned to the `dataSource` property.
26
- * With the remote data assigned to dataSource, check the available
27
- * [adaptors](http://ej2.syncfusion.com/documentation/data/adaptors.html) to customize the data processing.
28
- *
29
- * @default []
30
- */
31
- dataSource?: Record<string, any>[] | DataManager;
32
-
33
- /**
34
- * Defines the external [`query`](http://ej2.syncfusion.com/documentation/data/api-query.html)
35
- * that will be executed along with the data processing.
36
- *
37
- * @default null
38
- */
39
- query?: Query;
40
-
41
- /**
42
- * Defines the collection of default event fields to be bind to the Schedule.
43
- *
44
- * @default null
45
- */
46
- fields?: FieldModel;
47
-
48
- /**
49
- * When set to `true` will display the normal tooltip over the events with its subject, location, start and end time.
50
- *
51
- * @default false
52
- */
53
- enableTooltip?: boolean;
54
-
55
- /**
56
- * Defines the option to render the spanned events (more than 24 hours) in either `AllDayRow` or `TimeSlot`. By default it renders in `AllDayRow`.
57
- * This property is applicable for `Day`, `Week` and `WorkWeek` views only. The possible values for this property as follows
58
- * * `AllDayRow`: Denotes the rendering of spanned events in an all-day row.
59
- * * `TimeSlot`: Denotes the rendering of spanned events in an time slot row.
60
- * {% codeBlock src='schedule/spannedEventPlacement/index.md' %}{% endcodeBlock %}
61
- *
62
- * @default 'AllDayRow'
63
- */
64
- spannedEventPlacement?: SpannedEventPlacement;
65
-
66
- /**
67
- * Sets a minimum duration for an event where the events are rendered for this minimum duration when the duration of the event is lesser than this value.
68
- * It accepts duration value in minutes. This property is only applicable when the event duration is lesser than this property duration.
69
- *
70
- * @default 1
71
- */
72
- minimumEventDuration?: number;
73
-
74
- /**
75
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto tooltip.
76
- * All the event fields mapped with Schedule dataSource can be accessed within this template code.
77
- * {% codeBlock src="schedule/tooltip-template-api/index.ts" %}{% endcodeBlock %}
78
- *
79
- * @default null
80
- * @angularType string | object
81
- * @reactType string | function | JSX.Element
82
- * @vueType string | function
83
- * @aspType string
84
- */
85
- tooltipTemplate?: string | Function;
86
-
87
- /**
88
- * Defines the resource name, to decides the color of which particular resource level is to be applied on appointments, when
89
- * grouping is enabled on scheduler.
90
- * {% codeBlock src="schedule/resource-color-field-api/index.ts" %}{% endcodeBlock %}
91
- *
92
- * @default null
93
- */
94
- resourceColorField?: string;
95
-
96
- /**
97
- * When set to `true` will edit the future events only instead of editing entire series.
98
- *
99
- * @default false
100
- */
101
- editFollowingEvents?: boolean;
102
-
103
- /**
104
- * When set to `false` the add action will be restricted.
105
- *
106
- * @default true
107
- */
108
- allowAdding?: boolean;
109
-
110
- /**
111
- * When set to `false` the edit action will be restricted.
112
- *
113
- * @default true
114
- */
115
- allowEditing?: boolean;
116
-
117
- /**
118
- * When set to `false` the delete action will be restricted.
119
- *
120
- * @default true
121
- */
122
- allowDeleting?: boolean;
123
-
124
- /**
125
- * It enables the event to occupy the full height in timeline views and
126
- * full width in vertical views, excluding the header of the cell.
127
- *
128
- * @default false
129
- */
130
- enableMaxHeight?: boolean;
131
-
132
- /**
133
- * This property enables the event to occupy the full height that remaining from the header and more indicator.
134
- * More than one appointment are available on the cell the more indicator is created.
135
- *
136
- * @default false
137
- */
138
- enableIndicator?: boolean;
139
-
140
- /**
141
- * This property ignores or include the Events element bottom white space.
142
- *
143
- * @default false
144
- */
145
- ignoreWhitespace?: boolean;
146
-
147
- /**
148
- * Defines the custom sort comparer function.
149
- * The sort comparer function has the same functionality like
150
- * [`Array.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) sort comparer.
151
- *
152
- * @default null
153
- */
154
- sortComparer?: SortComparerFunction;
155
-
156
- /**
157
- * Gets or sets a value that determines whether the start date and end date filter conditions should be included in the query itself when requesting data from the server, or passed as query parameters in the API call.
158
- * When set to <c>true</c> the filter conditions will be part of the query itself, potentially reducing the size of the request and minimizing the time needed to parse the response.
159
- * However, it can also lead to longer query strings, which could result in issues with maximum URL length or server limitations on query string length.
160
- *
161
- * @default false
162
- */
163
- includeFiltersInQuery?: boolean;
9
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying
10
+ * it onto the event background. All the event fields mapped to Schedule from dataSource can be accessed within this template code.
11
+ * {% codeBlock src="schedule/event-template-api/index.ts" %}{% endcodeBlock %}
12
+ *
13
+ * @default null
14
+ * @angularType string | object
15
+ * @reactType string | function | JSX.Element
16
+ * @vueType string | function
17
+ * @aspType string
18
+ */
19
+ template?: string | Function;
20
+
21
+ /**
22
+ * With this property, the event data will be bound to Schedule.
23
+ * The event data can be passed either as an array of JavaScript objects,
24
+ * or else can create an instance of [`DataManager`](http://ej2.syncfusion.com/documentation/data/api-dataManager.html)
25
+ * in case of processing remote data and can be assigned to the `dataSource` property.
26
+ * With the remote data assigned to dataSource, check the available
27
+ * [adaptors](http://ej2.syncfusion.com/documentation/data/adaptors.html) to customize the data processing.
28
+ *
29
+ * @default []
30
+ */
31
+ dataSource?: Record<string, any>[] | DataManager;
32
+
33
+ /**
34
+ * Defines the external [`query`](http://ej2.syncfusion.com/documentation/data/api-query.html)
35
+ * that will be executed along with the data processing.
36
+ *
37
+ * @default null
38
+ */
39
+ query?: Query;
40
+
41
+ /**
42
+ * Defines the collection of default event fields to be bind to the Schedule.
43
+ *
44
+ * @default null
45
+ */
46
+ fields?: FieldModel;
47
+
48
+ /**
49
+ * When set to `true` will display the normal tooltip over the events with its subject, location, start and end time.
50
+ *
51
+ * @default false
52
+ */
53
+ enableTooltip?: boolean;
54
+
55
+ /**
56
+ * Defines the option to render the spanned events (more than 24 hours) in either `AllDayRow` or `TimeSlot`. By default it renders in `AllDayRow`.
57
+ * This property is applicable for `Day`, `Week` and `WorkWeek` views only. The possible values for this property as follows
58
+ * * `AllDayRow`: Denotes the rendering of spanned events in an all-day row.
59
+ * * `TimeSlot`: Denotes the rendering of spanned events in an time slot row.
60
+ * {% codeBlock src='schedule/spannedEventPlacement/index.md' %}{% endcodeBlock %}
61
+ *
62
+ * @default 'AllDayRow'
63
+ */
64
+ spannedEventPlacement?: SpannedEventPlacement;
65
+
66
+ /**
67
+ * Sets a minimum duration for an event where the events are rendered for this minimum duration when the duration of the event is lesser than this value.
68
+ * It accepts duration value in minutes. This property is only applicable when the event duration is lesser than this property duration.
69
+ *
70
+ * @default 1
71
+ */
72
+ minimumEventDuration?: number;
73
+
74
+ /**
75
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto tooltip.
76
+ * All the event fields mapped with Schedule dataSource can be accessed within this template code.
77
+ * {% codeBlock src="schedule/tooltip-template-api/index.ts" %}{% endcodeBlock %}
78
+ *
79
+ * @default null
80
+ * @angularType string | object
81
+ * @reactType string | function | JSX.Element
82
+ * @vueType string | function
83
+ * @aspType string
84
+ */
85
+ tooltipTemplate?: string | Function;
86
+
87
+ /**
88
+ * Defines the resource name, to decides the color of which particular resource level is to be applied on appointments, when
89
+ * grouping is enabled on scheduler.
90
+ * {% codeBlock src="schedule/resource-color-field-api/index.ts" %}{% endcodeBlock %}
91
+ *
92
+ * @default null
93
+ */
94
+ resourceColorField?: string;
95
+
96
+ /**
97
+ * When set to `true` will edit the future events only instead of editing entire series.
98
+ *
99
+ * @default false
100
+ */
101
+ editFollowingEvents?: boolean;
102
+
103
+ /**
104
+ * When set to `false` the add action will be restricted.
105
+ *
106
+ * @default true
107
+ */
108
+ allowAdding?: boolean;
109
+
110
+ /**
111
+ * When set to `false` the edit action will be restricted.
112
+ *
113
+ * @default true
114
+ */
115
+ allowEditing?: boolean;
116
+
117
+ /**
118
+ * When set to `false` the delete action will be restricted.
119
+ *
120
+ * @default true
121
+ */
122
+ allowDeleting?: boolean;
123
+
124
+ /**
125
+ * It enables the event to occupy the full height in timeline views and
126
+ * full width in vertical views, excluding the header of the cell.
127
+ *
128
+ * @default false
129
+ */
130
+ enableMaxHeight?: boolean;
131
+
132
+ /**
133
+ * This property enables the event to occupy the full height that remaining from the header and more indicator.
134
+ * More than one appointment are available on the cell the more indicator is created.
135
+ *
136
+ * @default false
137
+ */
138
+ enableIndicator?: boolean;
139
+
140
+ /**
141
+ * This property ignores or include the Events element bottom white space.
142
+ *
143
+ * @default false
144
+ */
145
+ ignoreWhitespace?: boolean;
146
+
147
+ /**
148
+ * Defines the custom sort comparer function.
149
+ * The sort comparer function has the same functionality like
150
+ * [`Array.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) sort comparer.
151
+ *
152
+ * @default null
153
+ */
154
+ sortComparer?: SortComparerFunction;
155
+
156
+ /**
157
+ * Gets or sets a value that determines whether the start date and end date filter conditions should be included in the query itself when requesting data from the server, or passed as query parameters in the API call.
158
+ * When set to <c>true</c> the filter conditions will be part of the query itself, potentially reducing the size of the request and minimizing the time needed to parse the response.
159
+ * However, it can also lead to longer query strings, which could result in issues with maximum URL length or server limitations on query string length.
160
+ *
161
+ * @default false
162
+ */
163
+ includeFiltersInQuery?: boolean;
164
164
 
165
165
  }
@@ -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, Complex } from '@syncfusion/ej2-base';
22
22
  import { Field } from './fields';
@@ -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 FieldOptions
@@ -6,32 +6,32 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
6
6
  export interface FieldOptionsModel {
7
7
 
8
8
  /**
9
- * Denotes the field name to be mapped from the dataSource for every event fields.
10
- *
11
- * @default null
12
- */
13
- name?: string;
9
+ * Denotes the field name to be mapped from the dataSource for every event fields.
10
+ *
11
+ * @default null
12
+ */
13
+ name?: string;
14
14
 
15
15
  /**
16
- * Assigns the specific default value to the fields, when no values are provided to those fields from dataSource.
17
- *
18
- * @default null
19
- */
20
- default?: string;
16
+ * Assigns the specific default value to the fields, when no values are provided to those fields from dataSource.
17
+ *
18
+ * @default null
19
+ */
20
+ default?: string;
21
21
 
22
22
  /**
23
- * Assigns the label values to be displayed for the event editor fields.
24
- *
25
- * @default null
26
- */
27
- title?: string;
23
+ * Assigns the label values to be displayed for the event editor fields.
24
+ *
25
+ * @default null
26
+ */
27
+ title?: string;
28
28
 
29
29
  /**
30
- * Defines the validation rules to be applied on the event fields within the event editor.
31
- * {% codeBlock src="schedule/validation-api/index.ts" %}{% endcodeBlock %}
32
- *
33
- * @default {}
34
- */
35
- validation?: Record<string, any>;
30
+ * Defines the validation rules to be applied on the event fields within the event editor.
31
+ * {% codeBlock src="schedule/validation-api/index.ts" %}{% endcodeBlock %}
32
+ *
33
+ * @default {}
34
+ */
35
+ validation?: Record<string, any>;
36
36
 
37
37
  }