@syncfusion/ej2-schedule 30.2.7 → 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 (304) 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 +110 -36
  5. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  6. package/dist/es6/ej2-schedule.es5.js +110 -36
  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 +8 -5
  167. package/src/schedule/base/css-constant.d.ts +2 -0
  168. package/src/schedule/base/css-constant.js +2 -0
  169. package/src/schedule/base/schedule.js +15 -1
  170. package/src/schedule/event-renderer/agenda-base.d.ts +1 -1
  171. package/src/schedule/event-renderer/agenda-base.js +5 -4
  172. package/src/schedule/event-renderer/inline-edit.js +11 -6
  173. package/src/schedule/event-renderer/month.js +5 -3
  174. package/src/schedule/event-renderer/vertical-view.js +3 -0
  175. package/src/schedule/event-renderer/year.d.ts +2 -0
  176. package/src/schedule/event-renderer/year.js +28 -4
  177. package/src/schedule/popups/event-tooltip.js +4 -0
  178. package/src/schedule/popups/event-window.js +2 -2
  179. package/src/schedule/popups/quick-popups.js +5 -1
  180. package/src/schedule/renderer/agenda.js +3 -2
  181. package/src/schedule/renderer/vertical-view.js +1 -1
  182. package/src/schedule/renderer/year.js +3 -2
  183. package/styles/bds-lite.css +11 -8
  184. package/styles/bds.css +11 -8
  185. package/styles/bootstrap-dark-lite.css +12 -9
  186. package/styles/bootstrap-dark.css +12 -9
  187. package/styles/bootstrap-lite.css +12 -9
  188. package/styles/bootstrap.css +12 -9
  189. package/styles/bootstrap4-lite.css +11 -8
  190. package/styles/bootstrap4.css +11 -8
  191. package/styles/bootstrap5-dark-lite.css +11 -8
  192. package/styles/bootstrap5-dark.css +11 -8
  193. package/styles/bootstrap5-lite.css +11 -8
  194. package/styles/bootstrap5.3-lite.css +11 -8
  195. package/styles/bootstrap5.3.css +11 -8
  196. package/styles/bootstrap5.css +11 -8
  197. package/styles/fabric-dark-lite.css +12 -9
  198. package/styles/fabric-dark.css +12 -9
  199. package/styles/fabric-lite.css +12 -9
  200. package/styles/fabric.css +12 -9
  201. package/styles/fluent-dark-lite.css +13 -10
  202. package/styles/fluent-dark.css +13 -10
  203. package/styles/fluent-lite.css +13 -10
  204. package/styles/fluent.css +13 -10
  205. package/styles/fluent2-lite.css +11 -8
  206. package/styles/fluent2.css +11 -8
  207. package/styles/highcontrast-light-lite.css +12 -9
  208. package/styles/highcontrast-light.css +12 -9
  209. package/styles/highcontrast-lite.css +12 -9
  210. package/styles/highcontrast.css +12 -9
  211. package/styles/material-dark-lite.css +12 -9
  212. package/styles/material-dark.css +12 -9
  213. package/styles/material-lite.css +12 -9
  214. package/styles/material.css +12 -9
  215. package/styles/material3-dark-lite.css +11 -8
  216. package/styles/material3-dark.css +11 -8
  217. package/styles/material3-lite.css +11 -8
  218. package/styles/material3.css +11 -8
  219. package/styles/recurrence-editor/_bds-definition.scss +1 -0
  220. package/styles/recurrence-editor/_bootstrap-dark-definition.scss +1 -0
  221. package/styles/recurrence-editor/_bootstrap-definition.scss +1 -0
  222. package/styles/recurrence-editor/_bootstrap4-definition.scss +1 -0
  223. package/styles/recurrence-editor/_bootstrap5-definition.scss +1 -0
  224. package/styles/recurrence-editor/_bootstrap5.3-definition.scss +1 -0
  225. package/styles/recurrence-editor/_fabric-dark-definition.scss +1 -0
  226. package/styles/recurrence-editor/_fabric-definition.scss +1 -0
  227. package/styles/recurrence-editor/_fluent-definition.scss +1 -0
  228. package/styles/recurrence-editor/_fluent2-definition.scss +1 -0
  229. package/styles/recurrence-editor/_fusionnew-definition.scss +1 -0
  230. package/styles/recurrence-editor/_highcontrast-definition.scss +1 -0
  231. package/styles/recurrence-editor/_highcontrast-light-definition.scss +1 -0
  232. package/styles/recurrence-editor/_layout.scss +5 -1
  233. package/styles/recurrence-editor/_material-dark-definition.scss +1 -0
  234. package/styles/recurrence-editor/_material-definition.scss +1 -0
  235. package/styles/recurrence-editor/_material3-definition.scss +1 -0
  236. package/styles/recurrence-editor/_tailwind-definition.scss +1 -0
  237. package/styles/recurrence-editor/_tailwind3-definition.scss +1 -0
  238. package/styles/recurrence-editor/bds.css +3 -0
  239. package/styles/recurrence-editor/bootstrap-dark.css +4 -1
  240. package/styles/recurrence-editor/bootstrap.css +4 -1
  241. package/styles/recurrence-editor/bootstrap4.css +3 -0
  242. package/styles/recurrence-editor/bootstrap5-dark.css +3 -0
  243. package/styles/recurrence-editor/bootstrap5.3.css +3 -0
  244. package/styles/recurrence-editor/bootstrap5.css +3 -0
  245. package/styles/recurrence-editor/fabric-dark.css +4 -1
  246. package/styles/recurrence-editor/fabric.css +4 -1
  247. package/styles/recurrence-editor/fluent-dark.css +4 -1
  248. package/styles/recurrence-editor/fluent.css +4 -1
  249. package/styles/recurrence-editor/fluent2.css +3 -0
  250. package/styles/recurrence-editor/highcontrast-light.css +4 -1
  251. package/styles/recurrence-editor/highcontrast.css +4 -1
  252. package/styles/recurrence-editor/material-dark.css +4 -1
  253. package/styles/recurrence-editor/material.css +4 -1
  254. package/styles/recurrence-editor/material3-dark.css +3 -0
  255. package/styles/recurrence-editor/material3.css +3 -0
  256. package/styles/recurrence-editor/tailwind-dark.css +3 -0
  257. package/styles/recurrence-editor/tailwind.css +3 -0
  258. package/styles/recurrence-editor/tailwind3.css +3 -0
  259. package/styles/schedule/_bds-definition.scss +2 -0
  260. package/styles/schedule/_bootstrap-dark-definition.scss +2 -0
  261. package/styles/schedule/_bootstrap-definition.scss +2 -0
  262. package/styles/schedule/_bootstrap4-definition.scss +2 -0
  263. package/styles/schedule/_bootstrap5-definition.scss +2 -0
  264. package/styles/schedule/_bootstrap5.3-definition.scss +2 -0
  265. package/styles/schedule/_fabric-dark-definition.scss +2 -0
  266. package/styles/schedule/_fabric-definition.scss +2 -0
  267. package/styles/schedule/_fluent-definition.scss +3 -1
  268. package/styles/schedule/_fluent2-definition.scss +2 -0
  269. package/styles/schedule/_fusionnew-definition.scss +2 -0
  270. package/styles/schedule/_highcontrast-definition.scss +2 -0
  271. package/styles/schedule/_highcontrast-light-definition.scss +2 -0
  272. package/styles/schedule/_layout.scss +12 -11
  273. package/styles/schedule/_material-dark-definition.scss +2 -0
  274. package/styles/schedule/_material-definition.scss +2 -0
  275. package/styles/schedule/_material3-definition.scss +2 -0
  276. package/styles/schedule/_tailwind-definition.scss +2 -0
  277. package/styles/schedule/_tailwind3-definition.scss +2 -0
  278. package/styles/schedule/bds.css +8 -8
  279. package/styles/schedule/bootstrap-dark.css +8 -8
  280. package/styles/schedule/bootstrap.css +8 -8
  281. package/styles/schedule/bootstrap4.css +8 -8
  282. package/styles/schedule/bootstrap5-dark.css +8 -8
  283. package/styles/schedule/bootstrap5.3.css +8 -8
  284. package/styles/schedule/bootstrap5.css +8 -8
  285. package/styles/schedule/fabric-dark.css +8 -8
  286. package/styles/schedule/fabric.css +8 -8
  287. package/styles/schedule/fluent-dark.css +9 -9
  288. package/styles/schedule/fluent.css +9 -9
  289. package/styles/schedule/fluent2.css +8 -8
  290. package/styles/schedule/highcontrast-light.css +8 -8
  291. package/styles/schedule/highcontrast.css +8 -8
  292. package/styles/schedule/material-dark.css +8 -8
  293. package/styles/schedule/material.css +8 -8
  294. package/styles/schedule/material3-dark.css +8 -8
  295. package/styles/schedule/material3.css +8 -8
  296. package/styles/schedule/tailwind-dark.css +8 -8
  297. package/styles/schedule/tailwind.css +8 -8
  298. package/styles/schedule/tailwind3.css +8 -8
  299. package/styles/tailwind-dark-lite.css +11 -8
  300. package/styles/tailwind-dark.css +11 -8
  301. package/styles/tailwind-lite.css +11 -8
  302. package/styles/tailwind.css +11 -8
  303. package/styles/tailwind3-lite.css +11 -8
  304. package/styles/tailwind3.css +11 -8
@@ -0,0 +1,149 @@
1
+ import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
2
+ import { FieldOptionsModel } from './field-options-model';
3
+ import { FieldOptions } from './field-options';
4
+
5
+ /**
6
+ * A class that holds the collection of event fields that requires to be mapped with the dataSource
7
+ * fields along with its available configuration settings. Each field in it accepts both string and object
8
+ * data type. When each of the field is assigned with simple `string` value, it is assumed that the dataSource field
9
+ * name is mapped with it. If the `object` type is defined on each fields, then the validation related settings and mapping of
10
+ * those fields with dataSource can be given altogether within it.
11
+ */
12
+ export class Field extends ChildProperty<Field> {
13
+ /**
14
+ * The `id` field needs to be defined as mandatory, when the Schedule is bound to remote data and
15
+ * it is optional, if the same is bound with JSON data. This field usually assigns ID value to each of the events.
16
+ *
17
+ * @default null
18
+ */
19
+ @Property('Id')
20
+ public id: string;
21
+
22
+ /**
23
+ * The `isBlock` field allows you to block certain time interval on the Scheduler.
24
+ * It is a boolean type property accepting either true or false values.
25
+ * When set to true, creates a block range for the specified time interval and disables the event scheduling actions on that time range.
26
+ *
27
+ * @default null
28
+ */
29
+ @Property('IsBlock')
30
+ public isBlock: string;
31
+
32
+ /**
33
+ * The `subject` field is optional, and usually assigns the subject text to each of the events.
34
+ *
35
+ * @default { name: null, default: null, title: null, validation: {} }
36
+ */
37
+ @Complex<FieldOptionsModel>({ name: 'Subject' }, FieldOptions)
38
+ public subject: FieldOptionsModel;
39
+
40
+ /**
41
+ * The `startTime` field defines the start time of an event and it is mandatory to provide it for any of the valid event objects.
42
+ *
43
+ * @default { name: null, default: null, title: null, validation: {} }
44
+ */
45
+ @Complex<FieldOptionsModel>({ name: 'StartTime' }, FieldOptions)
46
+ public startTime: FieldOptionsModel;
47
+
48
+ /**
49
+ * The `endTime` field defines the end time of an event and it is mandatory to provide the end time for any of the valid event objects.
50
+ *
51
+ * @default { name: null, default: null, title: null, validation: {} }
52
+ */
53
+ @Complex<FieldOptionsModel>({ name: 'EndTime' }, FieldOptions)
54
+ public endTime: FieldOptionsModel;
55
+
56
+ /**
57
+ * It maps the `startTimezone` field from the dataSource and usually accepts the valid
58
+ * [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
59
+ * It is assumed that the value provided for this field is taken into consideration while processing
60
+ * the `startTime` field. When this field is not mapped with any timezone names,
61
+ * then the events will be processed based on the timezone assigned to the Schedule.
62
+ *
63
+ * @default { name: null, default: null, title: null, validation: {} }
64
+ */
65
+ @Complex<FieldOptionsModel>({ name: 'StartTimezone' }, FieldOptions)
66
+ public startTimezone: FieldOptionsModel;
67
+
68
+ /**
69
+ * It maps the `endTimezone` field from the dataSource and usually accepts the valid
70
+ * [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
71
+ * It is assumed that the value provided for this field is taken into consideration while processing the `endTime` field.
72
+ * When this field is not mapped with any timezone names, then the events will be processed based on the timezone assigned
73
+ * to the Schedule.
74
+ *
75
+ * @default { name: null, default: null, title: null, validation: {} }
76
+ */
77
+ @Complex<FieldOptionsModel>({ name: 'EndTimezone' }, FieldOptions)
78
+ public endTimezone: FieldOptionsModel;
79
+
80
+ /**
81
+ * It maps the `location` field from the dataSource and the location field value will be displayed over
82
+ * events, while given it for an event object.
83
+ *
84
+ * @default { name: null, default: null, title: null, validation: {} }
85
+ */
86
+ @Complex<FieldOptionsModel>({ name: 'Location' }, FieldOptions)
87
+ public location: FieldOptionsModel;
88
+
89
+ /**
90
+ * It maps the `description` field from the dataSource and denotes the event description which is optional.
91
+ *
92
+ * @default { name: null, default: null, title: null, validation: {} }
93
+ */
94
+ @Complex<FieldOptionsModel>({ name: 'Description' }, FieldOptions)
95
+ public description: FieldOptionsModel;
96
+
97
+ /**
98
+ * The `isAllDay` field is mapped from the dataSource and is used to denote whether an event is created
99
+ * for an entire day or for specific time alone.
100
+ *
101
+ * @default { name: null, default: null, title: null, validation: {} }
102
+ */
103
+ @Complex<FieldOptionsModel>({ name: 'IsAllDay' }, FieldOptions)
104
+ public isAllDay: FieldOptionsModel;
105
+
106
+ /**
107
+ * It maps the `recurrenceID` field from dataSource and usually holds the ID value of the parent
108
+ * recurrence event. It is applicable only for the edited occurrence events.
109
+ *
110
+ * @default { name: null, default: null, title: null, validation: {} }
111
+ */
112
+ @Complex<FieldOptionsModel>({ name: 'RecurrenceID' }, FieldOptions)
113
+ public recurrenceID: FieldOptionsModel;
114
+
115
+ /**
116
+ * It maps the `recurrenceRule` field from dataSource and is used to uniquely identify whether the
117
+ * event belongs to a recurring event type or normal ones.
118
+ *
119
+ * @default { name: null, default: null, title: null, validation: {} }
120
+ */
121
+ @Complex<FieldOptionsModel>({ name: 'RecurrenceRule' }, FieldOptions)
122
+ public recurrenceRule: FieldOptionsModel;
123
+
124
+ /**
125
+ * It maps the `recurrenceException` field from dataSource and is used to hold the exception dates
126
+ * which needs to be excluded from recurring type.
127
+ *
128
+ * @default { name: null, default: null, title: null, validation: {} }
129
+ */
130
+ @Complex<FieldOptionsModel>({ name: 'RecurrenceException' }, FieldOptions)
131
+ public recurrenceException: FieldOptionsModel;
132
+
133
+ /**
134
+ * The `isReadonly` field is mapped from the dataSource and is used to prevent the CRUD actions on specific events.
135
+ *
136
+ * @default null
137
+ */
138
+ @Property('IsReadonly')
139
+ public isReadonly: string;
140
+
141
+ /**
142
+ * The `followingID` field is mapped from dataSource and usually holds the ID value of the main parent event.
143
+ *
144
+ * @default null
145
+ */
146
+ @Property('FollowingID')
147
+ public followingID: string;
148
+
149
+ }
@@ -0,0 +1,69 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+
3
+ /**
4
+ * Interface for a class Group
5
+ */
6
+ export interface GroupModel {
7
+
8
+ /**
9
+ * When set to `true`, groups the resources by date where each day renders all the resource names under it.
10
+ *
11
+ * @default false
12
+ */
13
+ byDate?: boolean;
14
+
15
+ /**
16
+ * Decides whether to allow the resource hierarchy to group by ID. It is set to `true` by default and when set to false,
17
+ * all the resources under child collection will be mapped against each available parent.
18
+ *
19
+ * @default true
20
+ */
21
+ byGroupID?: boolean;
22
+
23
+ /**
24
+ * Allows creation and editing of linked appointments assigned to multiple resources. When set to `true`,
25
+ * a single appointment object instance will be maintained in schedule dataSource that are created for
26
+ * multiple resources, whereas displayed individually on UI.
27
+ *
28
+ * @default false
29
+ */
30
+ allowGroupEdit?: boolean;
31
+
32
+ /**
33
+ * Accepts the collection of resource names assigned to each resources and allows the grouping order on schedule based on it.
34
+ *
35
+ * @default []
36
+ */
37
+ resources?: string[];
38
+
39
+ /**
40
+ * Decides whether to display the resource grouping layout in normal or compact mode in mobile devices. When set to `false`,
41
+ * the default grouping layout on desktop will be displayed on mobile devices with scrolling enabled.
42
+ *
43
+ * @default true
44
+ */
45
+ enableCompactView?: boolean;
46
+
47
+ /**
48
+ * Template option to customize the tooltip that displays over the resource header bar. By default, no tooltip will be
49
+ * displayed on resource header bar. It accepts either the string or HTMLElement as template design content and
50
+ * parse it appropriately before displaying it onto the tooltip. All the resource fields mapped for resource dataSource
51
+ * can be accessed within this template code.
52
+ *
53
+ * @default null
54
+ * @angularType string | object
55
+ * @reactType string | function | JSX.Element
56
+ * @vueType string | function
57
+ * @aspType string
58
+ */
59
+ headerTooltipTemplate?: string | Function;
60
+
61
+ /**
62
+ * Decides whether to show/hide the non-working days. It is set to `false` by default and when set to `true`, it hides the non-working days.
63
+ * This property is applicable for `Day`, `Week`, `WorkWeek` and `month` views, which are grouped under date.
64
+ *
65
+ * @default false
66
+ */
67
+ hideNonWorkingDays?: boolean;
68
+
69
+ }
@@ -0,0 +1,60 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ /**
3
+ * A class that holds the resource grouping related configurations on Schedule.
4
+ */
5
+ export declare class Group extends ChildProperty<Group> {
6
+ /**
7
+ * When set to `true`, groups the resources by date where each day renders all the resource names under it.
8
+ *
9
+ * @default false
10
+ */
11
+ byDate: boolean;
12
+ /**
13
+ * Decides whether to allow the resource hierarchy to group by ID. It is set to `true` by default and when set to false,
14
+ * all the resources under child collection will be mapped against each available parent.
15
+ *
16
+ * @default true
17
+ */
18
+ byGroupID: boolean;
19
+ /**
20
+ * Allows creation and editing of linked appointments assigned to multiple resources. When set to `true`,
21
+ * a single appointment object instance will be maintained in schedule dataSource that are created for
22
+ * multiple resources, whereas displayed individually on UI.
23
+ *
24
+ * @default false
25
+ */
26
+ allowGroupEdit: boolean;
27
+ /**
28
+ * Accepts the collection of resource names assigned to each resources and allows the grouping order on schedule based on it.
29
+ *
30
+ * @default []
31
+ */
32
+ resources: string[];
33
+ /**
34
+ * Decides whether to display the resource grouping layout in normal or compact mode in mobile devices. When set to `false`,
35
+ * the default grouping layout on desktop will be displayed on mobile devices with scrolling enabled.
36
+ *
37
+ * @default true
38
+ */
39
+ enableCompactView: boolean;
40
+ /**
41
+ * Template option to customize the tooltip that displays over the resource header bar. By default, no tooltip will be
42
+ * displayed on resource header bar. It accepts either the string or HTMLElement as template design content and
43
+ * parse it appropriately before displaying it onto the tooltip. All the resource fields mapped for resource dataSource
44
+ * can be accessed within this template code.
45
+ *
46
+ * @default null
47
+ * @angularType string | object
48
+ * @reactType string | function | JSX.Element
49
+ * @vueType string | function
50
+ * @aspType string
51
+ */
52
+ headerTooltipTemplate: string | Function;
53
+ /**
54
+ * Decides whether to show/hide the non-working days. It is set to `false` by default and when set to `true`, it hides the non-working days.
55
+ * This property is applicable for `Day`, `Week`, `WorkWeek` and `month` views, which are grouped under date.
56
+ *
57
+ * @default false
58
+ */
59
+ hideNonWorkingDays: boolean;
60
+ }
@@ -0,0 +1,75 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+
3
+ /**
4
+ * A class that holds the resource grouping related configurations on Schedule.
5
+ */
6
+ export class Group extends ChildProperty<Group> {
7
+ /**
8
+ * When set to `true`, groups the resources by date where each day renders all the resource names under it.
9
+ *
10
+ * @default false
11
+ */
12
+ @Property(false)
13
+ public byDate: boolean;
14
+
15
+ /**
16
+ * Decides whether to allow the resource hierarchy to group by ID. It is set to `true` by default and when set to false,
17
+ * all the resources under child collection will be mapped against each available parent.
18
+ *
19
+ * @default true
20
+ */
21
+ @Property(true)
22
+ public byGroupID: boolean;
23
+
24
+ /**
25
+ * Allows creation and editing of linked appointments assigned to multiple resources. When set to `true`,
26
+ * a single appointment object instance will be maintained in schedule dataSource that are created for
27
+ * multiple resources, whereas displayed individually on UI.
28
+ *
29
+ * @default false
30
+ */
31
+ @Property(false)
32
+ public allowGroupEdit: boolean;
33
+
34
+ /**
35
+ * Accepts the collection of resource names assigned to each resources and allows the grouping order on schedule based on it.
36
+ *
37
+ * @default []
38
+ */
39
+ @Property([])
40
+ public resources: string[];
41
+
42
+ /**
43
+ * Decides whether to display the resource grouping layout in normal or compact mode in mobile devices. When set to `false`,
44
+ * the default grouping layout on desktop will be displayed on mobile devices with scrolling enabled.
45
+ *
46
+ * @default true
47
+ */
48
+ @Property(true)
49
+ public enableCompactView: boolean;
50
+
51
+ /**
52
+ * Template option to customize the tooltip that displays over the resource header bar. By default, no tooltip will be
53
+ * displayed on resource header bar. It accepts either the string or HTMLElement as template design content and
54
+ * parse it appropriately before displaying it onto the tooltip. All the resource fields mapped for resource dataSource
55
+ * can be accessed within this template code.
56
+ *
57
+ * @default null
58
+ * @angularType string | object
59
+ * @reactType string | function | JSX.Element
60
+ * @vueType string | function
61
+ * @aspType string
62
+ */
63
+ @Property()
64
+ public headerTooltipTemplate: string | Function;
65
+
66
+ /**
67
+ * Decides whether to show/hide the non-working days. It is set to `false` by default and when set to `true`, it hides the non-working days.
68
+ * This property is applicable for `Day`, `Week`, `WorkWeek` and `month` views, which are grouped under date.
69
+ *
70
+ * @default false
71
+ */
72
+ @Property(false)
73
+ public hideNonWorkingDays: boolean;
74
+
75
+ }
@@ -0,0 +1,33 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';import { HeaderRowType } from '../base/type';
2
+
3
+ /**
4
+ * Interface for a class HeaderRows
5
+ */
6
+ export interface HeaderRowsModel {
7
+
8
+ /**
9
+ * It defines the header row type, which accepts either of the following values.
10
+ * * `Year`: Denotes the year row in the header bar.
11
+ * * `Month`: Denotes the month row in the header bar.
12
+ * * `Week`: Denotes the week row in the header bar.
13
+ * * `Date`: Denotes the date row in the header bar.
14
+ * * `Hour`: Denotes the hour row in the header bar.
15
+ *
16
+ * @default null
17
+ */
18
+ option?: HeaderRowType;
19
+
20
+ /**
21
+ * Template option to customize the individual header rows. It accepts either the string or HTMLElement as template design
22
+ * content and parse it appropriately before displaying it onto the header cells. The field that
23
+ * can be accessed via this template is `date`.
24
+ *
25
+ * @default null
26
+ * @angularType string | object
27
+ * @reactType string | function | JSX.Element
28
+ * @vueType string | function
29
+ * @aspType string
30
+ */
31
+ template?: string | Function;
32
+
33
+ }
@@ -0,0 +1,30 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ import { HeaderRowType } from '../base/type';
3
+ /**
4
+ * A class that represents the header rows related configurations on timeline views.
5
+ */
6
+ export declare class HeaderRows extends ChildProperty<HeaderRows> {
7
+ /**
8
+ * It defines the header row type, which accepts either of the following values.
9
+ * * `Year`: Denotes the year row in the header bar.
10
+ * * `Month`: Denotes the month row in the header bar.
11
+ * * `Week`: Denotes the week row in the header bar.
12
+ * * `Date`: Denotes the date row in the header bar.
13
+ * * `Hour`: Denotes the hour row in the header bar.
14
+ *
15
+ * @default null
16
+ */
17
+ option: HeaderRowType;
18
+ /**
19
+ * Template option to customize the individual header rows. It accepts either the string or HTMLElement as template design
20
+ * content and parse it appropriately before displaying it onto the header cells. The field that
21
+ * can be accessed via this template is `date`.
22
+ *
23
+ * @default null
24
+ * @angularType string | object
25
+ * @reactType string | function | JSX.Element
26
+ * @vueType string | function
27
+ * @aspType string
28
+ */
29
+ template: string | Function;
30
+ }
@@ -0,0 +1,35 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+ import { HeaderRowType } from '../base/type';
3
+
4
+ /**
5
+ * A class that represents the header rows related configurations on timeline views.
6
+ */
7
+ export class HeaderRows extends ChildProperty<HeaderRows> {
8
+ /**
9
+ * It defines the header row type, which accepts either of the following values.
10
+ * * `Year`: Denotes the year row in the header bar.
11
+ * * `Month`: Denotes the month row in the header bar.
12
+ * * `Week`: Denotes the week row in the header bar.
13
+ * * `Date`: Denotes the date row in the header bar.
14
+ * * `Hour`: Denotes the hour row in the header bar.
15
+ *
16
+ * @default null
17
+ */
18
+ @Property()
19
+ public option: HeaderRowType;
20
+
21
+ /**
22
+ * Template option to customize the individual header rows. It accepts either the string or HTMLElement as template design
23
+ * content and parse it appropriately before displaying it onto the header cells. The field that
24
+ * can be accessed via this template is `date`.
25
+ *
26
+ * @default null
27
+ * @angularType string | object
28
+ * @reactType string | function | JSX.Element
29
+ * @vueType string | function
30
+ * @aspType string
31
+ */
32
+ @Property()
33
+ public template: string | Function;
34
+
35
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Export model files
3
+ */
4
+ export * from './work-hours-model';
5
+ export * from './time-scale-model';
6
+ export * from './views-model';
7
+ export * from './event-settings-model';
8
+ export * from './fields-model';
9
+ export * from './field-options-model';
10
+ export * from './group-model';
11
+ export * from './resources-model';
12
+ export * from './quick-info-templates-model';
13
+ export * from './header-rows-model';
14
+ export * from './toolbar-model';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Export model files
3
+ */
4
+
5
+ export * from './work-hours-model';
6
+ export * from './time-scale-model';
7
+ export * from './views-model';
8
+ export * from './event-settings-model';
9
+ export * from './fields-model';
10
+ export * from './field-options-model';
11
+ export * from './group-model';
12
+ export * from './resources-model';
13
+ export * from './quick-info-templates-model';
14
+ export * from './header-rows-model';
15
+ export * from './toolbar-model';
@@ -0,0 +1,52 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';import { TemplateType } from '../base/type';
2
+
3
+ /**
4
+ * Interface for a class QuickInfoTemplates
5
+ */
6
+ export interface QuickInfoTemplatesModel {
7
+
8
+ /**
9
+ * Template option to customize the header section of quick popup.
10
+ * The applicable template types are,
11
+ * * `Both`: Denotes the template applies both to the event and cell.
12
+ * * `Cell`: Denotes the template applies only to the cell.
13
+ * * `Event`: Denotes the template applies to the event alone.
14
+ *
15
+ * @default 'Both'
16
+ */
17
+ templateType?: TemplateType;
18
+
19
+ /**
20
+ * Template option to customize the header section of quick popup.
21
+ *
22
+ * @default null
23
+ * @angularType string | object
24
+ * @reactType string | function | JSX.Element
25
+ * @vueType string | function
26
+ * @aspType string
27
+ */
28
+ header?: string | Function;
29
+
30
+ /**
31
+ * Template option to customize the content area of the quick popup.
32
+ *
33
+ * @default null
34
+ * @angularType string | object
35
+ * @reactType string | function | JSX.Element
36
+ * @vueType string | function
37
+ * @aspType string
38
+ */
39
+ content?: string | Function;
40
+
41
+ /**
42
+ * Template option to customize the footer section of quick popup.
43
+ *
44
+ * @default null
45
+ * @angularType string | object
46
+ * @reactType string | function | JSX.Element
47
+ * @vueType string | function
48
+ * @aspType string
49
+ */
50
+ footer?: string | Function;
51
+
52
+ }
@@ -0,0 +1,47 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ import { TemplateType } from '../base/type';
3
+ /**
4
+ * A class that defines the template options available to customize the quick popup of scheduler.
5
+ */
6
+ export declare class QuickInfoTemplates extends ChildProperty<QuickInfoTemplates> {
7
+ /**
8
+ * Template option to customize the header section of quick popup.
9
+ * The applicable template types are,
10
+ * * `Both`: Denotes the template applies both to the event and cell.
11
+ * * `Cell`: Denotes the template applies only to the cell.
12
+ * * `Event`: Denotes the template applies to the event alone.
13
+ *
14
+ * @default 'Both'
15
+ */
16
+ templateType: TemplateType;
17
+ /**
18
+ * Template option to customize the header section of quick popup.
19
+ *
20
+ * @default null
21
+ * @angularType string | object
22
+ * @reactType string | function | JSX.Element
23
+ * @vueType string | function
24
+ * @aspType string
25
+ */
26
+ header: string | Function;
27
+ /**
28
+ * Template option to customize the content area of the quick popup.
29
+ *
30
+ * @default null
31
+ * @angularType string | object
32
+ * @reactType string | function | JSX.Element
33
+ * @vueType string | function
34
+ * @aspType string
35
+ */
36
+ content: string | Function;
37
+ /**
38
+ * Template option to customize the footer section of quick popup.
39
+ *
40
+ * @default null
41
+ * @angularType string | object
42
+ * @reactType string | function | JSX.Element
43
+ * @vueType string | function
44
+ * @aspType string
45
+ */
46
+ footer: string | Function;
47
+ }
@@ -0,0 +1,56 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+ import { TemplateType } from '../base/type';
3
+
4
+ /**
5
+ * A class that defines the template options available to customize the quick popup of scheduler.
6
+ */
7
+ export class QuickInfoTemplates extends ChildProperty<QuickInfoTemplates> {
8
+ /**
9
+ * Template option to customize the header section of quick popup.
10
+ * The applicable template types are,
11
+ * * `Both`: Denotes the template applies both to the event and cell.
12
+ * * `Cell`: Denotes the template applies only to the cell.
13
+ * * `Event`: Denotes the template applies to the event alone.
14
+ *
15
+ * @default 'Both'
16
+ */
17
+ @Property('Both')
18
+ public templateType: TemplateType;
19
+
20
+ /**
21
+ * Template option to customize the header section of quick popup.
22
+ *
23
+ * @default null
24
+ * @angularType string | object
25
+ * @reactType string | function | JSX.Element
26
+ * @vueType string | function
27
+ * @aspType string
28
+ */
29
+ @Property()
30
+ public header: string | Function;
31
+
32
+ /**
33
+ * Template option to customize the content area of the quick popup.
34
+ *
35
+ * @default null
36
+ * @angularType string | object
37
+ * @reactType string | function | JSX.Element
38
+ * @vueType string | function
39
+ * @aspType string
40
+ */
41
+ @Property()
42
+ public content: string | Function;
43
+
44
+ /**
45
+ * Template option to customize the footer section of quick popup.
46
+ *
47
+ * @default null
48
+ * @angularType string | object
49
+ * @reactType string | function | JSX.Element
50
+ * @vueType string | function
51
+ * @aspType string
52
+ */
53
+ @Property()
54
+ public footer: string | Function;
55
+
56
+ }