@syncfusion/ej2-schedule 30.2.4 → 31.1.17

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 (308) hide show
  1. package/dist/ej2-schedule.min.js +2 -2
  2. package/dist/ej2-schedule.umd.min.js +2 -2
  3. package/dist/ej2-schedule.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-schedule.es2015.js +132 -43
  5. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  6. package/dist/es6/ej2-schedule.es5.js +132 -43
  7. package/dist/es6/ej2-schedule.es5.js.map +1 -1
  8. package/dist/global/ej2-schedule.min.js +2 -2
  9. package/dist/global/ej2-schedule.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/dist/ts/common/calendar-util.d.ts +92 -0
  12. package/dist/ts/common/calendar-util.ts +261 -0
  13. package/dist/ts/common/index.d.ts +4 -0
  14. package/dist/ts/common/index.ts +4 -0
  15. package/dist/ts/components.d.ts +5 -0
  16. package/dist/ts/components.ts +5 -0
  17. package/dist/ts/index.d.ts +6 -0
  18. package/dist/ts/index.ts +7 -0
  19. package/dist/ts/recurrence-editor/date-generator.d.ts +76 -0
  20. package/dist/ts/recurrence-editor/date-generator.ts +1699 -0
  21. package/dist/ts/recurrence-editor/index.d.ts +6 -0
  22. package/dist/ts/recurrence-editor/index.ts +6 -0
  23. package/dist/ts/recurrence-editor/recurrence-editor-model.d.ts +112 -0
  24. package/dist/ts/recurrence-editor/recurrence-editor.d.ts +245 -0
  25. package/dist/ts/recurrence-editor/recurrence-editor.ts +1257 -0
  26. package/dist/ts/schedule/actions/action-base.d.ts +44 -0
  27. package/dist/ts/schedule/actions/action-base.ts +493 -0
  28. package/dist/ts/schedule/actions/crud.d.ts +41 -0
  29. package/dist/ts/schedule/actions/crud.ts +784 -0
  30. package/dist/ts/schedule/actions/data.d.ts +63 -0
  31. package/dist/ts/schedule/actions/data.ts +128 -0
  32. package/dist/ts/schedule/actions/drag.d.ts +75 -0
  33. package/dist/ts/schedule/actions/drag.ts +1401 -0
  34. package/dist/ts/schedule/actions/keyboard.d.ts +100 -0
  35. package/dist/ts/schedule/actions/keyboard.ts +1435 -0
  36. package/dist/ts/schedule/actions/resize.d.ts +27 -0
  37. package/dist/ts/schedule/actions/resize.ts +602 -0
  38. package/dist/ts/schedule/actions/scroll.d.ts +69 -0
  39. package/dist/ts/schedule/actions/scroll.ts +105 -0
  40. package/dist/ts/schedule/actions/touch.d.ts +32 -0
  41. package/dist/ts/schedule/actions/touch.ts +314 -0
  42. package/dist/ts/schedule/actions/virtual-scroll.d.ts +55 -0
  43. package/dist/ts/schedule/actions/virtual-scroll.ts +596 -0
  44. package/dist/ts/schedule/actions/work-cells.d.ts +14 -0
  45. package/dist/ts/schedule/actions/work-cells.ts +151 -0
  46. package/dist/ts/schedule/base/constant.d.ts +102 -0
  47. package/dist/ts/schedule/base/constant.ts +103 -0
  48. package/dist/ts/schedule/base/css-constant.d.ts +475 -0
  49. package/dist/ts/schedule/base/css-constant.ts +475 -0
  50. package/dist/ts/schedule/base/interface.d.ts +673 -0
  51. package/dist/ts/schedule/base/interface.ts +738 -0
  52. package/dist/ts/schedule/base/resource.d.ts +59 -0
  53. package/dist/ts/schedule/base/resource.ts +1091 -0
  54. package/dist/ts/schedule/base/schedule-model.d.ts +930 -0
  55. package/dist/ts/schedule/base/schedule.d.ts +1967 -0
  56. package/dist/ts/schedule/base/schedule.ts +4221 -0
  57. package/dist/ts/schedule/base/type.d.ts +134 -0
  58. package/dist/ts/schedule/base/type.ts +142 -0
  59. package/dist/ts/schedule/base/util.d.ts +266 -0
  60. package/dist/ts/schedule/base/util.ts +492 -0
  61. package/dist/ts/schedule/event-renderer/agenda-base.d.ts +15 -0
  62. package/dist/ts/schedule/event-renderer/agenda-base.ts +423 -0
  63. package/dist/ts/schedule/event-renderer/event-base.d.ts +101 -0
  64. package/dist/ts/schedule/event-renderer/event-base.ts +1501 -0
  65. package/dist/ts/schedule/event-renderer/inline-edit.d.ts +23 -0
  66. package/dist/ts/schedule/event-renderer/inline-edit.ts +287 -0
  67. package/dist/ts/schedule/event-renderer/month.d.ts +60 -0
  68. package/dist/ts/schedule/event-renderer/month.ts +760 -0
  69. package/dist/ts/schedule/event-renderer/timeline-view.d.ts +51 -0
  70. package/dist/ts/schedule/event-renderer/timeline-view.ts +606 -0
  71. package/dist/ts/schedule/event-renderer/vertical-view.d.ts +57 -0
  72. package/dist/ts/schedule/event-renderer/vertical-view.ts +898 -0
  73. package/dist/ts/schedule/event-renderer/year.d.ts +27 -0
  74. package/dist/ts/schedule/event-renderer/year.ts +623 -0
  75. package/dist/ts/schedule/exports/calendar-export.d.ts +16 -0
  76. package/dist/ts/schedule/exports/calendar-export.ts +160 -0
  77. package/dist/ts/schedule/exports/calendar-import.d.ts +18 -0
  78. package/dist/ts/schedule/exports/calendar-import.ts +277 -0
  79. package/dist/ts/schedule/exports/excel-export.d.ts +14 -0
  80. package/dist/ts/schedule/exports/excel-export.ts +89 -0
  81. package/dist/ts/schedule/exports/index.d.ts +7 -0
  82. package/dist/ts/schedule/exports/index.ts +7 -0
  83. package/dist/ts/schedule/exports/print.d.ts +20 -0
  84. package/dist/ts/schedule/exports/print.ts +233 -0
  85. package/dist/ts/schedule/index.d.ts +26 -0
  86. package/dist/ts/schedule/index.ts +26 -0
  87. package/dist/ts/schedule/models/event-settings-model.d.ts +165 -0
  88. package/dist/ts/schedule/models/event-settings.d.ts +149 -0
  89. package/dist/ts/schedule/models/event-settings.ts +187 -0
  90. package/dist/ts/schedule/models/field-options-model.d.ts +37 -0
  91. package/dist/ts/schedule/models/field-options.d.ts +31 -0
  92. package/dist/ts/schedule/models/field-options.ts +41 -0
  93. package/dist/ts/schedule/models/fields-model.d.ts +129 -0
  94. package/dist/ts/schedule/models/fields.d.ts +117 -0
  95. package/dist/ts/schedule/models/fields.ts +149 -0
  96. package/dist/ts/schedule/models/group-model.d.ts +69 -0
  97. package/dist/ts/schedule/models/group.d.ts +60 -0
  98. package/dist/ts/schedule/models/group.ts +75 -0
  99. package/dist/ts/schedule/models/header-rows-model.d.ts +33 -0
  100. package/dist/ts/schedule/models/header-rows.d.ts +30 -0
  101. package/dist/ts/schedule/models/header-rows.ts +35 -0
  102. package/dist/ts/schedule/models/models.d.ts +14 -0
  103. package/dist/ts/schedule/models/models.ts +15 -0
  104. package/dist/ts/schedule/models/quick-info-templates-model.d.ts +52 -0
  105. package/dist/ts/schedule/models/quick-info-templates.d.ts +47 -0
  106. package/dist/ts/schedule/models/quick-info-templates.ts +56 -0
  107. package/dist/ts/schedule/models/resources-model.d.ts +122 -0
  108. package/dist/ts/schedule/models/resources.d.ts +106 -0
  109. package/dist/ts/schedule/models/resources.ts +138 -0
  110. package/dist/ts/schedule/models/time-scale-model.d.ts +57 -0
  111. package/dist/ts/schedule/models/time-scale.d.ts +50 -0
  112. package/dist/ts/schedule/models/time-scale.ts +61 -0
  113. package/dist/ts/schedule/models/toolbar-model.d.ts +196 -0
  114. package/dist/ts/schedule/models/toolbar.d.ts +176 -0
  115. package/dist/ts/schedule/models/toolbar.ts +196 -0
  116. package/dist/ts/schedule/models/views-model.d.ts +370 -0
  117. package/dist/ts/schedule/models/views.d.ts +335 -0
  118. package/dist/ts/schedule/models/views.ts +408 -0
  119. package/dist/ts/schedule/models/work-hours-model.d.ts +29 -0
  120. package/dist/ts/schedule/models/work-hours.d.ts +24 -0
  121. package/dist/ts/schedule/models/work-hours.ts +31 -0
  122. package/dist/ts/schedule/popups/event-tooltip.d.ts +16 -0
  123. package/dist/ts/schedule/popups/event-tooltip.ts +203 -0
  124. package/dist/ts/schedule/popups/event-window.d.ts +118 -0
  125. package/dist/ts/schedule/popups/event-window.ts +2055 -0
  126. package/dist/ts/schedule/popups/form-validator.d.ts +16 -0
  127. package/dist/ts/schedule/popups/form-validator.ts +110 -0
  128. package/dist/ts/schedule/popups/quick-popups.d.ts +78 -0
  129. package/dist/ts/schedule/popups/quick-popups.ts +1470 -0
  130. package/dist/ts/schedule/renderer/agenda.d.ts +45 -0
  131. package/dist/ts/schedule/renderer/agenda.ts +497 -0
  132. package/dist/ts/schedule/renderer/day.d.ts +20 -0
  133. package/dist/ts/schedule/renderer/day.ts +28 -0
  134. package/dist/ts/schedule/renderer/header-renderer.d.ts +48 -0
  135. package/dist/ts/schedule/renderer/header-renderer.ts +736 -0
  136. package/dist/ts/schedule/renderer/month-agenda.d.ts +29 -0
  137. package/dist/ts/schedule/renderer/month-agenda.ts +184 -0
  138. package/dist/ts/schedule/renderer/month.d.ts +61 -0
  139. package/dist/ts/schedule/renderer/month.ts +766 -0
  140. package/dist/ts/schedule/renderer/renderer.d.ts +13 -0
  141. package/dist/ts/schedule/renderer/renderer.ts +165 -0
  142. package/dist/ts/schedule/renderer/timeline-header-row.d.ts +15 -0
  143. package/dist/ts/schedule/renderer/timeline-header-row.ts +132 -0
  144. package/dist/ts/schedule/renderer/timeline-month.d.ts +29 -0
  145. package/dist/ts/schedule/renderer/timeline-month.ts +184 -0
  146. package/dist/ts/schedule/renderer/timeline-view.d.ts +31 -0
  147. package/dist/ts/schedule/renderer/timeline-view.ts +308 -0
  148. package/dist/ts/schedule/renderer/timeline-year.d.ts +22 -0
  149. package/dist/ts/schedule/renderer/timeline-year.ts +450 -0
  150. package/dist/ts/schedule/renderer/vertical-view.d.ts +63 -0
  151. package/dist/ts/schedule/renderer/vertical-view.ts +911 -0
  152. package/dist/ts/schedule/renderer/view-base.d.ts +83 -0
  153. package/dist/ts/schedule/renderer/view-base.ts +709 -0
  154. package/dist/ts/schedule/renderer/week.d.ts +22 -0
  155. package/dist/ts/schedule/renderer/week.ts +35 -0
  156. package/dist/ts/schedule/renderer/work-week.d.ts +22 -0
  157. package/dist/ts/schedule/renderer/work-week.ts +36 -0
  158. package/dist/ts/schedule/renderer/year.d.ts +46 -0
  159. package/dist/ts/schedule/renderer/year.ts +470 -0
  160. package/dist/ts/schedule/timezone/timezone.d.ts +16 -0
  161. package/dist/ts/schedule/timezone/timezone.ts +313 -0
  162. package/package.json +56 -21
  163. package/src/schedule/actions/action-base.js +3 -0
  164. package/src/schedule/actions/drag.js +11 -4
  165. package/src/schedule/actions/keyboard.js +1 -1
  166. package/src/schedule/actions/resize.js +9 -5
  167. package/src/schedule/actions/virtual-scroll.js +3 -0
  168. package/src/schedule/base/css-constant.d.ts +2 -0
  169. package/src/schedule/base/css-constant.js +2 -0
  170. package/src/schedule/base/schedule.js +15 -1
  171. package/src/schedule/event-renderer/agenda-base.d.ts +1 -1
  172. package/src/schedule/event-renderer/agenda-base.js +5 -4
  173. package/src/schedule/event-renderer/inline-edit.js +11 -6
  174. package/src/schedule/event-renderer/month.js +5 -3
  175. package/src/schedule/event-renderer/vertical-view.js +3 -0
  176. package/src/schedule/event-renderer/year.d.ts +2 -0
  177. package/src/schedule/event-renderer/year.js +28 -4
  178. package/src/schedule/popups/event-tooltip.js +4 -0
  179. package/src/schedule/popups/event-window.js +2 -2
  180. package/src/schedule/popups/quick-popups.js +5 -1
  181. package/src/schedule/renderer/agenda.js +3 -2
  182. package/src/schedule/renderer/month.js +9 -7
  183. package/src/schedule/renderer/vertical-view.js +1 -1
  184. package/src/schedule/renderer/view-base.d.ts +2 -0
  185. package/src/schedule/renderer/view-base.js +9 -0
  186. package/src/schedule/renderer/year.js +3 -2
  187. package/styles/bds-lite.css +11 -8
  188. package/styles/bds.css +11 -8
  189. package/styles/bootstrap-dark-lite.css +12 -9
  190. package/styles/bootstrap-dark.css +12 -9
  191. package/styles/bootstrap-lite.css +12 -9
  192. package/styles/bootstrap.css +12 -9
  193. package/styles/bootstrap4-lite.css +11 -8
  194. package/styles/bootstrap4.css +11 -8
  195. package/styles/bootstrap5-dark-lite.css +11 -8
  196. package/styles/bootstrap5-dark.css +11 -8
  197. package/styles/bootstrap5-lite.css +11 -8
  198. package/styles/bootstrap5.3-lite.css +11 -8
  199. package/styles/bootstrap5.3.css +11 -8
  200. package/styles/bootstrap5.css +11 -8
  201. package/styles/fabric-dark-lite.css +12 -9
  202. package/styles/fabric-dark.css +12 -9
  203. package/styles/fabric-lite.css +12 -9
  204. package/styles/fabric.css +12 -9
  205. package/styles/fluent-dark-lite.css +13 -10
  206. package/styles/fluent-dark.css +13 -10
  207. package/styles/fluent-lite.css +13 -10
  208. package/styles/fluent.css +13 -10
  209. package/styles/fluent2-lite.css +11 -8
  210. package/styles/fluent2.css +11 -8
  211. package/styles/highcontrast-light-lite.css +12 -9
  212. package/styles/highcontrast-light.css +12 -9
  213. package/styles/highcontrast-lite.css +12 -9
  214. package/styles/highcontrast.css +12 -9
  215. package/styles/material-dark-lite.css +12 -9
  216. package/styles/material-dark.css +12 -9
  217. package/styles/material-lite.css +12 -9
  218. package/styles/material.css +12 -9
  219. package/styles/material3-dark-lite.css +11 -8
  220. package/styles/material3-dark.css +11 -8
  221. package/styles/material3-lite.css +11 -8
  222. package/styles/material3.css +11 -8
  223. package/styles/recurrence-editor/_bds-definition.scss +1 -0
  224. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +1 -0
  225. package/styles/recurrence-editor/_bootstrap-definition.scss +1 -0
  226. package/styles/recurrence-editor/_bootstrap4-definition.scss +1 -0
  227. package/styles/recurrence-editor/_bootstrap5-definition.scss +1 -0
  228. package/styles/recurrence-editor/_bootstrap5.3-definition.scss +1 -0
  229. package/styles/recurrence-editor/_fabric-dark-definition.scss +1 -0
  230. package/styles/recurrence-editor/_fabric-definition.scss +1 -0
  231. package/styles/recurrence-editor/_fluent-definition.scss +1 -0
  232. package/styles/recurrence-editor/_fluent2-definition.scss +1 -0
  233. package/styles/recurrence-editor/_fusionnew-definition.scss +1 -0
  234. package/styles/recurrence-editor/_highcontrast-definition.scss +1 -0
  235. package/styles/recurrence-editor/_highcontrast-light-definition.scss +1 -0
  236. package/styles/recurrence-editor/_layout.scss +5 -1
  237. package/styles/recurrence-editor/_material-dark-definition.scss +1 -0
  238. package/styles/recurrence-editor/_material-definition.scss +1 -0
  239. package/styles/recurrence-editor/_material3-definition.scss +1 -0
  240. package/styles/recurrence-editor/_tailwind-definition.scss +1 -0
  241. package/styles/recurrence-editor/_tailwind3-definition.scss +1 -0
  242. package/styles/recurrence-editor/bds.css +3 -0
  243. package/styles/recurrence-editor/bootstrap-dark.css +4 -1
  244. package/styles/recurrence-editor/bootstrap.css +4 -1
  245. package/styles/recurrence-editor/bootstrap4.css +3 -0
  246. package/styles/recurrence-editor/bootstrap5-dark.css +3 -0
  247. package/styles/recurrence-editor/bootstrap5.3.css +3 -0
  248. package/styles/recurrence-editor/bootstrap5.css +3 -0
  249. package/styles/recurrence-editor/fabric-dark.css +4 -1
  250. package/styles/recurrence-editor/fabric.css +4 -1
  251. package/styles/recurrence-editor/fluent-dark.css +4 -1
  252. package/styles/recurrence-editor/fluent.css +4 -1
  253. package/styles/recurrence-editor/fluent2.css +3 -0
  254. package/styles/recurrence-editor/highcontrast-light.css +4 -1
  255. package/styles/recurrence-editor/highcontrast.css +4 -1
  256. package/styles/recurrence-editor/material-dark.css +4 -1
  257. package/styles/recurrence-editor/material.css +4 -1
  258. package/styles/recurrence-editor/material3-dark.css +3 -0
  259. package/styles/recurrence-editor/material3.css +3 -0
  260. package/styles/recurrence-editor/tailwind-dark.css +3 -0
  261. package/styles/recurrence-editor/tailwind.css +3 -0
  262. package/styles/recurrence-editor/tailwind3.css +3 -0
  263. package/styles/schedule/_bds-definition.scss +2 -0
  264. package/styles/schedule/_bootstrap-dark-definition.scss +2 -0
  265. package/styles/schedule/_bootstrap-definition.scss +2 -0
  266. package/styles/schedule/_bootstrap4-definition.scss +2 -0
  267. package/styles/schedule/_bootstrap5-definition.scss +2 -0
  268. package/styles/schedule/_bootstrap5.3-definition.scss +2 -0
  269. package/styles/schedule/_fabric-dark-definition.scss +2 -0
  270. package/styles/schedule/_fabric-definition.scss +2 -0
  271. package/styles/schedule/_fluent-definition.scss +3 -1
  272. package/styles/schedule/_fluent2-definition.scss +2 -0
  273. package/styles/schedule/_fusionnew-definition.scss +2 -0
  274. package/styles/schedule/_highcontrast-definition.scss +2 -0
  275. package/styles/schedule/_highcontrast-light-definition.scss +2 -0
  276. package/styles/schedule/_layout.scss +12 -11
  277. package/styles/schedule/_material-dark-definition.scss +2 -0
  278. package/styles/schedule/_material-definition.scss +2 -0
  279. package/styles/schedule/_material3-definition.scss +2 -0
  280. package/styles/schedule/_tailwind-definition.scss +2 -0
  281. package/styles/schedule/_tailwind3-definition.scss +2 -0
  282. package/styles/schedule/bds.css +8 -8
  283. package/styles/schedule/bootstrap-dark.css +8 -8
  284. package/styles/schedule/bootstrap.css +8 -8
  285. package/styles/schedule/bootstrap4.css +8 -8
  286. package/styles/schedule/bootstrap5-dark.css +8 -8
  287. package/styles/schedule/bootstrap5.3.css +8 -8
  288. package/styles/schedule/bootstrap5.css +8 -8
  289. package/styles/schedule/fabric-dark.css +8 -8
  290. package/styles/schedule/fabric.css +8 -8
  291. package/styles/schedule/fluent-dark.css +9 -9
  292. package/styles/schedule/fluent.css +9 -9
  293. package/styles/schedule/fluent2.css +8 -8
  294. package/styles/schedule/highcontrast-light.css +8 -8
  295. package/styles/schedule/highcontrast.css +8 -8
  296. package/styles/schedule/material-dark.css +8 -8
  297. package/styles/schedule/material.css +8 -8
  298. package/styles/schedule/material3-dark.css +8 -8
  299. package/styles/schedule/material3.css +8 -8
  300. package/styles/schedule/tailwind-dark.css +8 -8
  301. package/styles/schedule/tailwind.css +8 -8
  302. package/styles/schedule/tailwind3.css +8 -8
  303. package/styles/tailwind-dark-lite.css +11 -8
  304. package/styles/tailwind-dark.css +11 -8
  305. package/styles/tailwind-lite.css +11 -8
  306. package/styles/tailwind.css +11 -8
  307. package/styles/tailwind3-lite.css +11 -8
  308. package/styles/tailwind3.css +11 -8
@@ -0,0 +1,370 @@
1
+ import { Property, ChildProperty, Complex, Collection } from '@syncfusion/ej2-base';import { View, Orientation } from '../base/type';import { TimeScale } from '../models/time-scale';import { TimeScaleModel, GroupModel, HeaderRowsModel } from '../models/models';import { Group } from '../models/group';import { HeaderRows } from './header-rows';
2
+
3
+ /**
4
+ * Interface for a class Views
5
+ */
6
+ export interface ViewsModel {
7
+
8
+ /**
9
+ * It accepts the schedule view name, based on which we can define with its related properties in a single object.
10
+ * The applicable view names are,
11
+ * * Day - Denotes Day view of the scheduler.
12
+ * * Week - Denotes Week view of the scheduler.
13
+ * * WorkWeek - Denotes Work Week view of the scheduler.
14
+ * * Month - Denotes Month view of the scheduler.
15
+ * * Year - Denotes Year view of the scheduler.
16
+ * * Agenda - Denotes Agenda view of the scheduler.
17
+ * * MonthAgenda - Denotes Month Agenda view of the scheduler.
18
+ * * TimelineDay - Denotes Timeline Day view of the scheduler.
19
+ * * TimelineWeek - Denotes Timeline Week view of the scheduler.
20
+ * * TimelineWorkWeek - Denotes Timeline Work Week view of the scheduler.
21
+ * * TimelineMonth - Denotes Timeline Month view of the scheduler.
22
+ * * TimelineYear - Denotes Timeline Year view of the scheduler.
23
+ *
24
+ * @default null
25
+ */
26
+ option?: View;
27
+
28
+ /**
29
+ * To denote whether the view name given on the `option` is active or not.
30
+ * It acts similar to the [`currentView`](../../schedule/#current-view/)
31
+ * property and defines the active view of Schedule.
32
+ *
33
+ * @default false
34
+ */
35
+ isSelected?: boolean;
36
+
37
+ /**
38
+ * By default, Schedule follows the date-format as per the default culture assigned to it. It is also possible to manually set
39
+ * specific date format by using the `dateFormat` property. The format of the date range label in the header bar depends on
40
+ * the `dateFormat` value or else based on the locale assigned to the Schedule.
41
+ * It gets applied only to the view objects on which it is defined.
42
+ *
43
+ * @default null
44
+ */
45
+ dateFormat?: string;
46
+
47
+ /**
48
+ * When set to `true`, displays a quick popup with cell or event details on single clicking over the cells or on events.
49
+ * By default, it is set to `true`. It gets applied only to the view objects on which it is defined.
50
+ *
51
+ * @default false
52
+ */
53
+ readonly?: boolean;
54
+
55
+ /**
56
+ * It is used to specify the starting hour, from which the Schedule starts to display.
57
+ * It accepts the time string in a short skeleton format and also, hides the time beyond the specified start time.
58
+ *
59
+ * @default '00:00'
60
+ */
61
+ startHour?: string;
62
+
63
+ /**
64
+ * It is used to specify the end hour, at which the Schedule ends. It too accepts the time string in a short skeleton format.
65
+ *
66
+ * @default '24:00'
67
+ */
68
+ endHour?: string;
69
+
70
+ /**
71
+ * It is used to allow or disallow the virtual scrolling functionality.
72
+ *
73
+ * @default false
74
+ */
75
+ allowVirtualScrolling?: boolean;
76
+
77
+ /**
78
+ * Specifies whether overlapping appointments are allowed within the same time slot in the Scheduler.
79
+ *
80
+ * @remarks
81
+ * When set to `false`, the Scheduler enforces restrictions to prevent creating or displaying overlapping appointments within the same time duration.
82
+ * This setting includes the following limitations:
83
+ *
84
+ * - **Initial Loading**: The alert for overlapping appointments will not display during the initial load. Overlapping events will be ignored in rendering, including occurrences.
85
+ *
86
+ * - **Dynamic Add/Edit**: When adding or editing events dynamically, overlapping validation is performed. If an overlap is detected for a single event, an alert will be shown, and the event will not be saved.
87
+ *
88
+ * For recurring events, an alert will be displayed, and the event will not be saved. To save recurring events while ignoring overlapping occurrences, trigger the `PopupOpen` event. The `Data` field will contain the parent recurrence data, and the `overlapEvents` field will contain the overlap events. Using these details, users can include exceptions in the recurrence events and save them with the `addEvent` method.
89
+ *
90
+ * - **Out-of-Date-Range Events**: The `allowOverlap` setting only prevents overlaps for events within the current view date range. To validate overlap events outside the current date range, use the `actionBegin` event to send a request to the server for validation and return a promise-based response. Assign this promise response to the `promise` field in `ActionEventArgs` to handle asynchronous server validation.
91
+ *
92
+ * @default true
93
+ */
94
+ allowOverlap?: boolean;
95
+
96
+ /**
97
+ * Specifies the number of additional rows or columns to render outside the visible area during virtual scrolling.
98
+ * This property helps in achieving smoother scrolling by pre-loading data just outside the visible region.
99
+ *
100
+ * @remarks
101
+ * The default value is 3. Increasing this value can result in smoother scrolling but may impact performance
102
+ * with larger datasets. Decreasing it can improve performance but may cause more frequent data fetches during scrolling.
103
+ * This property only takes effect when `allowVirtualScrolling` is enabled for the current view.
104
+ *
105
+ * @default 3
106
+ */
107
+ overscanCount?: number;
108
+
109
+ /**
110
+ * Specifies the maximum number of events to be displayed in a single row.
111
+ * This property is applicable when the 'rowAutoHeight' property is disabled.
112
+ * This property is only applicable for the month view, timeline views, and timeline year view.
113
+ *
114
+ * @default null
115
+ */
116
+ maxEventsPerRow?: number;
117
+
118
+ /**
119
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
120
+ * month date cells.
121
+ * This template is only applicable for month view day cells.
122
+ *
123
+ * @default null
124
+ * @angularType string | object
125
+ * @reactType string | function | JSX.Element
126
+ * @vueType string | function
127
+ * @aspType string
128
+ */
129
+ cellHeaderTemplate?: string | Function;
130
+
131
+ /**
132
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
133
+ * date header cells. The field that can be accessed via this template is `date`.
134
+ * It gets applied only to the view objects on which it is defined.
135
+ *
136
+ * @default null
137
+ * @aspType string
138
+ */
139
+ dateHeaderTemplate?: string | Function;
140
+
141
+ /**
142
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the header date range.
143
+ *
144
+ * @default null
145
+ * @angularType string | object
146
+ * @reactType string | function | JSX.Element
147
+ * @vueType string | function
148
+ * @aspType string
149
+ */
150
+ dateRangeTemplate?: string | Function;
151
+
152
+ /**
153
+ * The template option which is used to render the customized work cells on the Schedule. Here, the
154
+ * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the work cells.
155
+ * The field accessible via template is `date`. It gets applied only to the view objects on which it is defined.
156
+ *
157
+ * @default null
158
+ * @angularType string | object
159
+ * @reactType string | function | JSX.Element
160
+ * @vueType string | function
161
+ * @aspType string
162
+ */
163
+ cellTemplate?: string | Function;
164
+
165
+ /**
166
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
167
+ * Year view day cell header.
168
+ * This template is only applicable for year view header cells.
169
+ *
170
+ * @default null
171
+ * @angularType string | object
172
+ * @reactType string | function | JSX.Element
173
+ * @vueType string | function
174
+ * @aspType string
175
+ */
176
+ dayHeaderTemplate?: string | Function;
177
+
178
+ /**
179
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
180
+ * Year view day cell header.
181
+ * This template is only applicable for year view header cells.
182
+ *
183
+ * @default null
184
+ * @angularType string | object
185
+ * @reactType string | function | JSX.Element
186
+ * @vueType string | function
187
+ * @aspType string
188
+ */
189
+ monthHeaderTemplate?: string | Function;
190
+
191
+ /**
192
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto
193
+ * the event background. All the event fields mapped to Schedule from dataSource can be accessed within this template code.
194
+ * It is similar to that of the `template` option available within the `eventSettings` property,
195
+ * whereas it will get applied only on the events of the view to which it is currently being defined.
196
+ *
197
+ * @default null
198
+ * @angularType string | object
199
+ * @reactType string | function | JSX.Element
200
+ * @vueType string | function
201
+ * @aspType string
202
+ */
203
+ eventTemplate?: string | Function;
204
+
205
+ /**
206
+ * When set to `false`, it hides the weekend days of a week from the Schedule.
207
+ * The days which are not defined in the working days collection are usually treated as weekend days.
208
+ * Note: By default, this option is not applicable on `Work Week` view.
209
+ * For example, if the working days are defined as [1, 2, 3, 4], then the remaining days of that week will be considered as the
210
+ * weekend days and will be hidden on all the views.
211
+ *
212
+ * @default true
213
+ */
214
+ showWeekend?: boolean;
215
+
216
+ /**
217
+ * When set to `true`, displays the week number of the current view date range.
218
+ *
219
+ * @default false
220
+ */
221
+ showWeekNumber?: boolean;
222
+
223
+ /**
224
+ * When the same view is customized with different intervals, this property allows the user to set different display name
225
+ * for those views.
226
+ *
227
+ * @default null
228
+ */
229
+ displayName?: string;
230
+
231
+ /**
232
+ * It accepts the number value denoting to include the number of days, weeks, workweeks or months on the defined view type.
233
+ *
234
+ * @default 1
235
+ */
236
+ interval?: number;
237
+
238
+ /**
239
+ * This option allows the user to set the first day of a week on Schedule. It should be based on the locale set to it and each culture
240
+ * defines its own first day of week values. If needed, the user can set it manually on his own by defining the value through
241
+ * this property. It usually accepts the integer values, whereby 0 is always denoted as Sunday, 1 as Monday and so on.
242
+ *
243
+ * @default 0
244
+ */
245
+ firstDayOfWeek?: number;
246
+
247
+ /**
248
+ * This property helps render the year view customized months.
249
+ * By default, it is set to `0`.
250
+ *
251
+ * @default 0
252
+ */
253
+ firstMonthOfYear?: number;
254
+
255
+ /**
256
+ * This option allows the user to set the number of months count to be displayed on the Schedule.
257
+ * {% codeBlock src='schedule/monthsCount/index.md' %}{% endcodeBlock %}
258
+ *
259
+ * @default 12
260
+ * @aspType int
261
+ */
262
+ monthsCount?: number;
263
+
264
+ /**
265
+ * It is used to set the working days on schedule. The only days that are defined in this collection will be rendered on the
266
+ * `workWeek` view whereas on other views, it will display all the usual days and simply highlights the working days with different
267
+ * shade.
268
+ *
269
+ * @default '[1, 2, 3, 4, 5]'
270
+ * @aspType int[]
271
+ */
272
+ workDays?: number[];
273
+
274
+ /**
275
+ * The template option which is used to render the customized header cells on the schedule. Here, the
276
+ * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the header cells.
277
+ * All the resource fields mapped within resources can be accessed within this template code.
278
+ * It gets applied only to the view objects on which it is defined.
279
+ *
280
+ * @default null
281
+ * @angularType string | object
282
+ * @reactType string | function | JSX.Element
283
+ * @vueType string | function
284
+ * @aspType string
285
+ */
286
+ resourceHeaderTemplate?: string | Function;
287
+
288
+ /**
289
+ * The template option which is used to render the customized header indent cell on the schedule. Here, the
290
+ * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the header indent cell.
291
+ * It gets applied only to the view objects on which it is defined.
292
+ *
293
+ * @default null
294
+ * @angularType string | object
295
+ * @reactType string | function | JSX.Element
296
+ * @vueType string | function
297
+ * @aspType string
298
+ */
299
+ headerIndentTemplate?: string | Function;
300
+
301
+ /**
302
+ * By default, Schedule follows the time-format as per the default culture assigned to it.
303
+ * It is also possible to manually set specific time format by using the `timeFormat` property.
304
+ * {% codeBlock src='schedule/timeFormat/index.md' %}{% endcodeBlock %}
305
+ *
306
+ * @default null
307
+ */
308
+ timeFormat?: string;
309
+
310
+ /**
311
+ * It is used to specify the year view rendering orientation on the schedule.
312
+ * The applicable orientation values are,
313
+ * * Horizontal - Denotes the horizontal orientation of Timeline Year view.
314
+ * * Vertical - Denotes the vertical orientation of Timeline Year view.
315
+ *
316
+ * @default 'Horizontal'
317
+ */
318
+ orientation?: Orientation;
319
+
320
+ /**
321
+ * Allows to set different timescale configuration on each applicable view modes such as day, week and work week.
322
+ *
323
+ * @default { enable: true, interval: 60, slotCount: 2, majorSlotTemplate: null, minorSlotTemplate: null }
324
+ */
325
+ timeScale?: TimeScaleModel;
326
+
327
+ /**
328
+ * Allows to set different resource grouping options on all available schedule view modes.
329
+ *
330
+ * @default { byDate: false, byGroupID: true, allowGroupEdit: false, resources:[], hideNonWorkingDays: false }
331
+ */
332
+ group?: GroupModel;
333
+
334
+ /**
335
+ * Allows defining the collection of custom header rows to display the year, month, week, date and hour label as an individual row
336
+ * on the timeline view of the scheduler.
337
+ *
338
+ * @default []
339
+ */
340
+ headerRows?: HeaderRowsModel[];
341
+
342
+ /**
343
+ * This property customizes the number of weeks that are shown in month view. By default, it shows all weeks in the current month.
344
+ * Use displayDate property to customize the starting week of month.
345
+ * {% codeBlock src='schedule/numberOfWeeks/index.md' %}{% endcodeBlock %}
346
+ *
347
+ * @default 0
348
+ * @aspType int
349
+ */
350
+ numberOfWeeks?: number;
351
+
352
+ /**
353
+ * Specifies the starting week date at an initial rendering of month view. This property is only applicable for month view.
354
+ * If this property value is not set, then the month view will be rendered from the first week of the month.
355
+ * {% codeBlock src='schedule/displayDate/index.md' %}{% endcodeBlock %}
356
+ *
357
+ * @default null
358
+ */
359
+ displayDate?: Date;
360
+
361
+ /**
362
+ * Enables the lazy loading of events for scrolling actions only when the resources grouping property is enabled.
363
+ * Lazy loading allows the scheduler to fetch the appointments dynamically during scroll actions for the currently rendered resource collection.
364
+ * New event data is fetched on-demand as the user scrolls through the schedule content.
365
+ *
366
+ * @default false
367
+ */
368
+ enableLazyLoading?: boolean;
369
+
370
+ }