@syncfusion/ej2-schedule 31.1.17 → 31.1.21

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