@syncfusion/ej2-angular-schedule 31.1.21-ngcc → 31.2.2-ngcc

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 (184) hide show
  1. package/@syncfusion/ej2-angular-schedule.es5.js +954 -954
  2. package/@syncfusion/ej2-angular-schedule.es5.js.map +1 -1
  3. package/@syncfusion/ej2-angular-schedule.js +865 -865
  4. package/@syncfusion/ej2-angular-schedule.js.map +1 -1
  5. package/{license → LICENSE} +10 -10
  6. package/dist/ej2-angular-schedule.umd.js +955 -946
  7. package/dist/ej2-angular-schedule.umd.js.map +1 -1
  8. package/dist/ej2-angular-schedule.umd.min.js +3 -3
  9. package/dist/ej2-angular-schedule.umd.min.js.map +1 -1
  10. package/ej2-angular-schedule.d.ts +6 -6
  11. package/ej2-angular-schedule.metadata.json +1 -1
  12. package/package.json +15 -46
  13. package/public_api.d.ts +1 -1
  14. package/schematics/collection.json +10 -39
  15. package/schematics/ng-add/index.ts +10 -10
  16. package/schematics/ng-add/schema.json +34 -34
  17. package/schematics/ng-add/schema.ts +30 -30
  18. package/schematics/tsconfig.json +25 -25
  19. package/schematics/utils/lib-details.d.ts +2 -2
  20. package/schematics/utils/lib-details.js +2 -2
  21. package/schematics/utils/lib-details.ts +4 -4
  22. package/src/index.d.ts +11 -11
  23. package/src/recurrence-editor/recurrenceeditor-all.module.d.ts +5 -5
  24. package/src/recurrence-editor/recurrenceeditor.component.d.ts +30 -28
  25. package/src/recurrence-editor/recurrenceeditor.module.d.ts +5 -5
  26. package/src/schedule/headerrows.directive.d.ts +47 -47
  27. package/src/schedule/resources.directive.d.ts +110 -110
  28. package/src/schedule/schedule-all.module.d.ts +22 -22
  29. package/src/schedule/schedule.component.d.ts +221 -217
  30. package/src/schedule/schedule.module.d.ts +5 -5
  31. package/src/schedule/toolbaritems.directive.d.ts +172 -172
  32. package/src/schedule/views.directive.d.ts +319 -293
  33. package/styles/bds-lite.css +1 -0
  34. package/styles/bds-lite.scss +1 -0
  35. package/styles/bds.css +1 -0
  36. package/styles/bds.scss +2 -0
  37. package/styles/bootstrap-dark-lite.css +1 -0
  38. package/styles/bootstrap-dark-lite.scss +1 -0
  39. package/styles/bootstrap-lite.css +1 -0
  40. package/styles/bootstrap-lite.scss +1 -0
  41. package/styles/bootstrap4-lite.css +1 -0
  42. package/styles/bootstrap4-lite.scss +1 -0
  43. package/styles/bootstrap5-dark-lite.css +1 -0
  44. package/styles/bootstrap5-dark-lite.scss +1 -0
  45. package/styles/bootstrap5-lite.css +1 -0
  46. package/styles/bootstrap5-lite.scss +1 -0
  47. package/styles/bootstrap5.3-lite.css +1 -0
  48. package/styles/bootstrap5.3-lite.scss +1 -0
  49. package/styles/bootstrap5.3.css +1 -0
  50. package/styles/bootstrap5.3.scss +2 -0
  51. package/styles/fabric-dark-lite.css +1 -0
  52. package/styles/fabric-dark-lite.scss +1 -0
  53. package/styles/fabric-lite.css +1 -0
  54. package/styles/fabric-lite.scss +1 -0
  55. package/styles/fluent-dark-lite.css +1 -0
  56. package/styles/fluent-dark-lite.scss +1 -0
  57. package/styles/fluent-lite.css +1 -0
  58. package/styles/fluent-lite.scss +1 -0
  59. package/styles/fluent2-lite.css +1 -0
  60. package/styles/fluent2-lite.scss +1 -0
  61. package/styles/fluent2.css +1 -0
  62. package/styles/fluent2.scss +2 -0
  63. package/styles/highcontrast-light-lite.css +1 -0
  64. package/styles/highcontrast-light-lite.scss +1 -0
  65. package/styles/highcontrast-lite.css +1 -0
  66. package/styles/highcontrast-lite.scss +1 -0
  67. package/styles/material-dark-lite.css +1 -0
  68. package/styles/material-dark-lite.scss +1 -0
  69. package/styles/material-lite.css +1 -0
  70. package/styles/material-lite.scss +1 -0
  71. package/styles/material3-dark-lite.css +1 -0
  72. package/styles/material3-dark-lite.scss +1 -0
  73. package/styles/material3-lite.css +1 -0
  74. package/styles/material3-lite.scss +1 -0
  75. package/styles/recurrence-editor/bds.css +1 -0
  76. package/styles/recurrence-editor/bds.scss +1 -0
  77. package/styles/recurrence-editor/bootstrap5.3.css +1 -0
  78. package/styles/recurrence-editor/bootstrap5.3.scss +1 -0
  79. package/styles/recurrence-editor/fluent2.css +1 -0
  80. package/styles/recurrence-editor/fluent2.scss +1 -0
  81. package/styles/recurrence-editor/tailwind3.css +1 -0
  82. package/styles/recurrence-editor/tailwind3.scss +1 -0
  83. package/styles/schedule/bds.css +1 -0
  84. package/styles/schedule/bds.scss +1 -0
  85. package/styles/schedule/bootstrap5.3.css +1 -0
  86. package/styles/schedule/bootstrap5.3.scss +1 -0
  87. package/styles/schedule/fluent2.css +1 -0
  88. package/styles/schedule/fluent2.scss +1 -0
  89. package/styles/schedule/tailwind3.css +1 -0
  90. package/styles/schedule/tailwind3.scss +1 -0
  91. package/styles/tailwind-dark-lite.css +1 -0
  92. package/styles/tailwind-dark-lite.scss +1 -0
  93. package/styles/tailwind-lite.css +1 -0
  94. package/styles/tailwind-lite.scss +1 -0
  95. package/styles/tailwind3-lite.css +1 -0
  96. package/styles/tailwind3-lite.scss +1 -0
  97. package/styles/tailwind3.css +1 -0
  98. package/styles/tailwind3.scss +2 -0
  99. package/CHANGELOG.md +0 -1921
  100. package/postinstall/tagchange.js +0 -18
  101. package/schematics/generators/schedule-agenda-views/index.d.ts +0 -3
  102. package/schematics/generators/schedule-agenda-views/index.js +0 -8
  103. package/schematics/generators/schedule-agenda-views/index.ts +0 -8
  104. package/schematics/generators/schedule-agenda-views/sample-details.d.ts +0 -5
  105. package/schematics/generators/schedule-agenda-views/sample-details.js +0 -7
  106. package/schematics/generators/schedule-agenda-views/sample-details.ts +0 -5
  107. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  108. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  109. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -18
  110. package/schematics/generators/schedule-agenda-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -29
  111. package/schematics/generators/schedule-agenda-views/schema.d.ts +0 -3
  112. package/schematics/generators/schedule-agenda-views/schema.js +0 -2
  113. package/schematics/generators/schedule-agenda-views/schema.json +0 -125
  114. package/schematics/generators/schedule-agenda-views/schema.ts +0 -3
  115. package/schematics/generators/schedule-calendar-views/index.d.ts +0 -3
  116. package/schematics/generators/schedule-calendar-views/index.js +0 -8
  117. package/schematics/generators/schedule-calendar-views/index.ts +0 -8
  118. package/schematics/generators/schedule-calendar-views/sample-details.d.ts +0 -5
  119. package/schematics/generators/schedule-calendar-views/sample-details.js +0 -7
  120. package/schematics/generators/schedule-calendar-views/sample-details.ts +0 -5
  121. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  122. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -11
  123. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -18
  124. package/schematics/generators/schedule-calendar-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -92
  125. package/schematics/generators/schedule-calendar-views/schema.d.ts +0 -3
  126. package/schematics/generators/schedule-calendar-views/schema.js +0 -2
  127. package/schematics/generators/schedule-calendar-views/schema.json +0 -125
  128. package/schematics/generators/schedule-calendar-views/schema.ts +0 -3
  129. package/schematics/generators/schedule-horizontal-grouping/index.d.ts +0 -3
  130. package/schematics/generators/schedule-horizontal-grouping/index.js +0 -8
  131. package/schematics/generators/schedule-horizontal-grouping/index.ts +0 -8
  132. package/schematics/generators/schedule-horizontal-grouping/sample-details.d.ts +0 -5
  133. package/schematics/generators/schedule-horizontal-grouping/sample-details.js +0 -7
  134. package/schematics/generators/schedule-horizontal-grouping/sample-details.ts +0 -5
  135. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -92
  136. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -29
  137. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -51
  138. package/schematics/generators/schedule-horizontal-grouping/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -25
  139. package/schematics/generators/schedule-horizontal-grouping/schema.d.ts +0 -3
  140. package/schematics/generators/schedule-horizontal-grouping/schema.js +0 -2
  141. package/schematics/generators/schedule-horizontal-grouping/schema.json +0 -125
  142. package/schematics/generators/schedule-horizontal-grouping/schema.ts +0 -3
  143. package/schematics/generators/schedule-time-scale/index.d.ts +0 -3
  144. package/schematics/generators/schedule-time-scale/index.js +0 -8
  145. package/schematics/generators/schedule-time-scale/index.ts +0 -8
  146. package/schematics/generators/schedule-time-scale/sample-details.d.ts +0 -5
  147. package/schematics/generators/schedule-time-scale/sample-details.js +0 -7
  148. package/schematics/generators/schedule-time-scale/sample-details.ts +0 -5
  149. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  150. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -13
  151. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -22
  152. package/schematics/generators/schedule-time-scale/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -62
  153. package/schematics/generators/schedule-time-scale/schema.d.ts +0 -3
  154. package/schematics/generators/schedule-time-scale/schema.js +0 -2
  155. package/schematics/generators/schedule-time-scale/schema.json +0 -125
  156. package/schematics/generators/schedule-time-scale/schema.ts +0 -3
  157. package/schematics/generators/schedule-timeline-grouping/index.d.ts +0 -3
  158. package/schematics/generators/schedule-timeline-grouping/index.js +0 -8
  159. package/schematics/generators/schedule-timeline-grouping/index.ts +0 -8
  160. package/schematics/generators/schedule-timeline-grouping/sample-details.d.ts +0 -5
  161. package/schematics/generators/schedule-timeline-grouping/sample-details.js +0 -7
  162. package/schematics/generators/schedule-timeline-grouping/sample-details.ts +0 -5
  163. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -6
  164. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -23
  165. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -39
  166. package/schematics/generators/schedule-timeline-grouping/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -92
  167. package/schematics/generators/schedule-timeline-grouping/schema.d.ts +0 -3
  168. package/schematics/generators/schedule-timeline-grouping/schema.js +0 -2
  169. package/schematics/generators/schedule-timeline-grouping/schema.json +0 -125
  170. package/schematics/generators/schedule-timeline-grouping/schema.ts +0 -3
  171. package/schematics/generators/schedule-timeline-views/index.d.ts +0 -3
  172. package/schematics/generators/schedule-timeline-views/index.js +0 -8
  173. package/schematics/generators/schedule-timeline-views/index.ts +0 -8
  174. package/schematics/generators/schedule-timeline-views/sample-details.d.ts +0 -5
  175. package/schematics/generators/schedule-timeline-views/sample-details.js +0 -7
  176. package/schematics/generators/schedule-timeline-views/sample-details.ts +0 -5
  177. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -0
  178. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -14
  179. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -18
  180. package/schematics/generators/schedule-timeline-views/samples/__path__/__name@dasherize@if-flat__/assets/datasource.ts +0 -184
  181. package/schematics/generators/schedule-timeline-views/schema.d.ts +0 -3
  182. package/schematics/generators/schedule-timeline-views/schema.js +0 -2
  183. package/schematics/generators/schedule-timeline-views/schema.json +0 -125
  184. package/schematics/generators/schedule-timeline-views/schema.ts +0 -3
@@ -1,293 +1,319 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- /**
4
- * `e-views` directive represent a view of the Angular Schedule.
5
- * It must be contained in a Schedule component(`ejs-schedule`).
6
- * ```html
7
- * <ejs-schedule>
8
- * <e-views>
9
- * <e-view option='day' dateFormat='dd MMM'></e-view>
10
- * <e-view option='week'></e-view>
11
- * </e-views>
12
- * </ejs-schedule>
13
- * ```
14
- */
15
- export declare class ViewDirective extends ComplexBase<ViewDirective> {
16
- private viewContainerRef;
17
- directivePropList: any;
18
- /**
19
- * It is used to allow or disallow the virtual scrolling functionality.
20
- * @default false
21
- */
22
- allowVirtualScrolling: any;
23
- /**
24
- * By default, Schedule follows the date-format as per the default culture assigned to it. It is also possible to manually set
25
- * specific date format by using the `dateFormat` property. The format of the date range label in the header bar depends on
26
- * the `dateFormat` value or else based on the locale assigned to the Schedule.
27
- * It gets applied only to the view objects on which it is defined.
28
- * @default null
29
- */
30
- dateFormat: any;
31
- /**
32
- * Specifies the starting week date at an initial rendering of month view. This property is only applicable for month view.
33
- * If this property value is not set, then the month view will be rendered from the first week of the month.
34
- * {% codeBlock src='schedule/displayDate/index.md' %}{% endcodeBlock %}
35
- * @default null
36
- */
37
- displayDate: any;
38
- /**
39
- * When the same view is customized with different intervals, this property allows the user to set different display name
40
- * for those views.
41
- * @default null
42
- */
43
- displayName: any;
44
- /**
45
- * Enables the lazy loading of events for scrolling actions only when the resources grouping property is enabled.
46
- * Lazy loading allows the scheduler to fetch the appointments dynamically during scroll actions for the currently rendered resource collection.
47
- * New event data is fetched on-demand as the user scrolls through the schedule content.
48
- * @default false
49
- */
50
- enableLazyLoading: any;
51
- /**
52
- * It is used to specify the end hour, at which the Schedule ends. It too accepts the time string in a short skeleton format.
53
- * @default '24:00'
54
- */
55
- endHour: any;
56
- /**
57
- * 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
58
- * defines its own first day of week values. If needed, the user can set it manually on his own by defining the value through
59
- * this property. It usually accepts the integer values, whereby 0 is always denoted as Sunday, 1 as Monday and so on.
60
- * @default 0
61
- */
62
- firstDayOfWeek: any;
63
- /**
64
- * This property helps render the year view customized months.
65
- * By default, it is set to `0`.
66
- * @default 0
67
- */
68
- firstMonthOfYear: any;
69
- /**
70
- * Allows to set different resource grouping options on all available schedule view modes.
71
- * @default { byDate: false, byGroupID: true, allowGroupEdit: false, resources:[], hideNonWorkingDays: false }
72
- */
73
- group: any;
74
- /**
75
- * Allows defining the collection of custom header rows to display the year, month, week, date and hour label as an individual row
76
- * on the timeline view of the scheduler.
77
- * @default []
78
- */
79
- headerRows: any;
80
- /**
81
- * It accepts the number value denoting to include the number of days, weeks, workweeks or months on the defined view type.
82
- * @default 1
83
- */
84
- interval: any;
85
- /**
86
- * To denote whether the view name given on the `option` is active or not.
87
- * It acts similar to the [`currentView`](../../schedule/#current-view/)
88
- * property and defines the active view of Schedule.
89
- * @default false
90
- */
91
- isSelected: any;
92
- /**
93
- * Specifies the maximum number of events to be displayed in a single row.
94
- * This property is applicable when the 'rowAutoHeight' property is disabled.
95
- * This property is only applicable for the month view, timeline views, and timeline year view.
96
- * @default null
97
- */
98
- maxEventsPerRow: any;
99
- /**
100
- * This option allows the user to set the number of months count to be displayed on the Schedule.
101
- * {% codeBlock src='schedule/monthsCount/index.md' %}{% endcodeBlock %}
102
- * @default 12
103
- * @asptype int
104
- */
105
- monthsCount: any;
106
- /**
107
- * This property customizes the number of weeks that are shown in month view. By default, it shows all weeks in the current month.
108
- * Use displayDate property to customize the starting week of month.
109
- * {% codeBlock src='schedule/numberOfWeeks/index.md' %}{% endcodeBlock %}
110
- * @default 0
111
- * @asptype int
112
- */
113
- numberOfWeeks: any;
114
- /**
115
- * It accepts the schedule view name, based on which we can define with its related properties in a single object.
116
- * The applicable view names are,
117
- * * Day - Denotes Day view of the scheduler.
118
- * * Week - Denotes Week view of the scheduler.
119
- * * WorkWeek - Denotes Work Week view of the scheduler.
120
- * * Month - Denotes Month view of the scheduler.
121
- * * Year - Denotes Year view of the scheduler.
122
- * * Agenda - Denotes Agenda view of the scheduler.
123
- * * MonthAgenda - Denotes Month Agenda view of the scheduler.
124
- * * TimelineDay - Denotes Timeline Day view of the scheduler.
125
- * * TimelineWeek - Denotes Timeline Week view of the scheduler.
126
- * * TimelineWorkWeek - Denotes Timeline Work Week view of the scheduler.
127
- * * TimelineMonth - Denotes Timeline Month view of the scheduler.
128
- * * TimelineYear - Denotes Timeline Year view of the scheduler.
129
- * @default null
130
- */
131
- option: any;
132
- /**
133
- * It is used to specify the year view rendering orientation on the schedule.
134
- * The applicable orientation values are,
135
- * * Horizontal - Denotes the horizontal orientation of Timeline Year view.
136
- * * Vertical - Denotes the vertical orientation of Timeline Year view.
137
- * @default 'Horizontal'
138
- */
139
- orientation: any;
140
- /**
141
- * When set to `true`, displays a quick popup with cell or event details on single clicking over the cells or on events.
142
- * By default, it is set to `true`. It gets applied only to the view objects on which it is defined.
143
- * @default false
144
- */
145
- readonly: any;
146
- /**
147
- * When set to `true`, displays the week number of the current view date range.
148
- * @default false
149
- */
150
- showWeekNumber: any;
151
- /**
152
- * When set to `false`, it hides the weekend days of a week from the Schedule.
153
- * The days which are not defined in the working days collection are usually treated as weekend days.
154
- * Note: By default, this option is not applicable on `Work Week` view.
155
- * 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
156
- * weekend days and will be hidden on all the views.
157
- * @default true
158
- */
159
- showWeekend: any;
160
- /**
161
- * It is used to specify the starting hour, from which the Schedule starts to display.
162
- * It accepts the time string in a short skeleton format and also, hides the time beyond the specified start time.
163
- * @default '00:00'
164
- */
165
- startHour: any;
166
- /**
167
- * By default, Schedule follows the time-format as per the default culture assigned to it.
168
- * It is also possible to manually set specific time format by using the `timeFormat` property.
169
- * {% codeBlock src='schedule/timeFormat/index.md' %}{% endcodeBlock %}
170
- * @default null
171
- */
172
- timeFormat: any;
173
- /**
174
- * Allows to set different timescale configuration on each applicable view modes such as day, week and work week.
175
- * @default { enable: true, interval: 60, slotCount: 2, majorSlotTemplate: null, minorSlotTemplate: null }
176
- */
177
- timeScale: any;
178
- /**
179
- * It is used to set the working days on schedule. The only days that are defined in this collection will be rendered on the
180
- * `workWeek` view whereas on other views, it will display all the usual days and simply highlights the working days with different
181
- * shade.
182
- * @default '[1, 2, 3, 4, 5]'
183
- * @asptype int[]
184
- */
185
- workDays: any;
186
- /**
187
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
188
- * date header cells. The field that can be accessed via this template is `date`.
189
- * It gets applied only to the view objects on which it is defined.
190
- * @default null
191
- * @asptype string
192
- */
193
- dateHeaderTemplate: any;
194
- /**
195
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the header date range.
196
- * @default null
197
- * @angulartype string | object
198
- * @reacttype string | function | JSX.Element
199
- * @vuetype string | function
200
- * @asptype string
201
- */
202
- dateRangeTemplate: any;
203
- /**
204
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
205
- * Year view day cell header.
206
- * This template is only applicable for year view header cells.
207
- * @default null
208
- * @angulartype string | object
209
- * @reacttype string | function | JSX.Element
210
- * @vuetype string | function
211
- * @asptype string
212
- */
213
- dayHeaderTemplate: any;
214
- /**
215
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
216
- * month date cells.
217
- * This template is only applicable for month view day cells.
218
- * @default null
219
- * @angulartype string | object
220
- * @reacttype string | function | JSX.Element
221
- * @vuetype string | function
222
- * @asptype string
223
- */
224
- cellHeaderTemplate: any;
225
- /**
226
- * The template option which is used to render the customized work cells on the Schedule. Here, the
227
- * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the work cells.
228
- * The field accessible via template is `date`. It gets applied only to the view objects on which it is defined.
229
- * @default null
230
- * @angulartype string | object
231
- * @reacttype string | function | JSX.Element
232
- * @vuetype string | function
233
- * @asptype string
234
- */
235
- cellTemplate: any;
236
- /**
237
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto
238
- * the event background. All the event fields mapped to Schedule from dataSource can be accessed within this template code.
239
- * It is similar to that of the `template` option available within the `eventSettings` property,
240
- * whereas it will get applied only on the events of the view to which it is currently being defined.
241
- * @default null
242
- * @angulartype string | object
243
- * @reacttype string | function | JSX.Element
244
- * @vuetype string | function
245
- * @asptype string
246
- */
247
- eventTemplate: any;
248
- /**
249
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
250
- * Year view day cell header.
251
- * This template is only applicable for year view header cells.
252
- * @default null
253
- * @angulartype string | object
254
- * @reacttype string | function | JSX.Element
255
- * @vuetype string | function
256
- * @asptype string
257
- */
258
- monthHeaderTemplate: any;
259
- /**
260
- * The template option which is used to render the customized header cells on the schedule. Here, the
261
- * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the header cells.
262
- * All the resource fields mapped within resources can be accessed within this template code.
263
- * It gets applied only to the view objects on which it is defined.
264
- * @default null
265
- * @angulartype string | object
266
- * @reacttype string | function | JSX.Element
267
- * @vuetype string | function
268
- * @asptype string
269
- */
270
- resourceHeaderTemplate: any;
271
- /**
272
- * The template option which is used to render the customized header indent cell on the schedule. Here, the
273
- * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the header indent cell.
274
- * It gets applied only to the view objects on which it is defined.
275
- * @default null
276
- * @angulartype string | object
277
- * @reacttype string | function | JSX.Element
278
- * @vuetype string | function
279
- * @asptype string
280
- */
281
- headerIndentTemplate: any;
282
- timeScale_minorSlotTemplate: any;
283
- timeScale_majorSlotTemplate: any;
284
- group_headerTooltipTemplate: any;
285
- constructor(viewContainerRef: ViewContainerRef);
286
- }
287
- /**
288
- * View Array Directive
289
- * @private
290
- */
291
- export declare class ViewsDirective extends ArrayBase<ViewsDirective> {
292
- constructor();
293
- }
1
+ import { ViewContainerRef } from '@angular/core';
2
+ import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
+ /**
4
+ * `e-views` directive represent a view of the Angular Schedule.
5
+ * It must be contained in a Schedule component(`ejs-schedule`).
6
+ * ```html
7
+ * <ejs-schedule>
8
+ * <e-views>
9
+ * <e-view option='day' dateFormat='dd MMM'></e-view>
10
+ * <e-view option='week'></e-view>
11
+ * </e-views>
12
+ * </ejs-schedule>
13
+ * ```
14
+ */
15
+ export declare class ViewDirective extends ComplexBase<ViewDirective> {
16
+ private viewContainerRef;
17
+ directivePropList: any;
18
+ /**
19
+ * Specifies whether overlapping appointments are allowed within the same time slot in the Scheduler.
20
+ * @remarks When set to `false`, the Scheduler enforces restrictions to prevent creating or displaying overlapping appointments within the same time duration.
21
+ This setting includes the following limitations:
22
+
23
+ - **Initial Loading**: The alert for overlapping appointments will not display during the initial load. Overlapping events will be ignored in rendering, including occurrences.
24
+
25
+ - **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.
26
+
27
+ 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.
28
+
29
+ - **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.
30
+
31
+ * @default true
32
+ */
33
+ allowOverlap: any;
34
+ /**
35
+ * It is used to allow or disallow the virtual scrolling functionality.
36
+ * @default false
37
+ */
38
+ allowVirtualScrolling: any;
39
+ /**
40
+ * By default, Schedule follows the date-format as per the default culture assigned to it. It is also possible to manually set
41
+ * specific date format by using the `dateFormat` property. The format of the date range label in the header bar depends on
42
+ * the `dateFormat` value or else based on the locale assigned to the Schedule.
43
+ * It gets applied only to the view objects on which it is defined.
44
+ * @default null
45
+ */
46
+ dateFormat: any;
47
+ /**
48
+ * Specifies the starting week date at an initial rendering of month view. This property is only applicable for month view.
49
+ * If this property value is not set, then the month view will be rendered from the first week of the month.
50
+ * {% codeBlock src='schedule/displayDate/index.md' %}{% endcodeBlock %}
51
+ * @default null
52
+ */
53
+ displayDate: any;
54
+ /**
55
+ * When the same view is customized with different intervals, this property allows the user to set different display name
56
+ * for those views.
57
+ * @default null
58
+ */
59
+ displayName: any;
60
+ /**
61
+ * Enables the lazy loading of events for scrolling actions only when the resources grouping property is enabled.
62
+ * Lazy loading allows the scheduler to fetch the appointments dynamically during scroll actions for the currently rendered resource collection.
63
+ * New event data is fetched on-demand as the user scrolls through the schedule content.
64
+ * @default false
65
+ */
66
+ enableLazyLoading: any;
67
+ /**
68
+ * It is used to specify the end hour, at which the Schedule ends. It too accepts the time string in a short skeleton format.
69
+ * @default '24:00'
70
+ */
71
+ endHour: any;
72
+ /**
73
+ * 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
74
+ * defines its own first day of week values. If needed, the user can set it manually on his own by defining the value through
75
+ * this property. It usually accepts the integer values, whereby 0 is always denoted as Sunday, 1 as Monday and so on.
76
+ * @default 0
77
+ */
78
+ firstDayOfWeek: any;
79
+ /**
80
+ * This property helps render the year view customized months.
81
+ * By default, it is set to `0`.
82
+ * @default 0
83
+ */
84
+ firstMonthOfYear: any;
85
+ /**
86
+ * Allows to set different resource grouping options on all available schedule view modes.
87
+ * @default { byDate: false, byGroupID: true, allowGroupEdit: false, resources:[], hideNonWorkingDays: false }
88
+ */
89
+ group: any;
90
+ /**
91
+ * Allows defining the collection of custom header rows to display the year, month, week, date and hour label as an individual row
92
+ * on the timeline view of the scheduler.
93
+ * @default []
94
+ */
95
+ headerRows: any;
96
+ /**
97
+ * It accepts the number value denoting to include the number of days, weeks, workweeks or months on the defined view type.
98
+ * @default 1
99
+ */
100
+ interval: any;
101
+ /**
102
+ * To denote whether the view name given on the `option` is active or not.
103
+ * It acts similar to the [`currentView`](../../schedule/#current-view/)
104
+ * property and defines the active view of Schedule.
105
+ * @default false
106
+ */
107
+ isSelected: any;
108
+ /**
109
+ * Specifies the maximum number of events to be displayed in a single row.
110
+ * This property is applicable when the 'rowAutoHeight' property is disabled.
111
+ * This property is only applicable for the month view, timeline views, and timeline year view.
112
+ * @default null
113
+ */
114
+ maxEventsPerRow: any;
115
+ /**
116
+ * This option allows the user to set the number of months count to be displayed on the Schedule.
117
+ * {% codeBlock src='schedule/monthsCount/index.md' %}{% endcodeBlock %}
118
+ * @default 12
119
+ * @asptype int
120
+ */
121
+ monthsCount: any;
122
+ /**
123
+ * This property customizes the number of weeks that are shown in month view. By default, it shows all weeks in the current month.
124
+ * Use displayDate property to customize the starting week of month.
125
+ * {% codeBlock src='schedule/numberOfWeeks/index.md' %}{% endcodeBlock %}
126
+ * @default 0
127
+ * @asptype int
128
+ */
129
+ numberOfWeeks: any;
130
+ /**
131
+ * It accepts the schedule view name, based on which we can define with its related properties in a single object.
132
+ * The applicable view names are,
133
+ * * Day - Denotes Day view of the scheduler.
134
+ * * Week - Denotes Week view of the scheduler.
135
+ * * WorkWeek - Denotes Work Week view of the scheduler.
136
+ * * Month - Denotes Month view of the scheduler.
137
+ * * Year - Denotes Year view of the scheduler.
138
+ * * Agenda - Denotes Agenda view of the scheduler.
139
+ * * MonthAgenda - Denotes Month Agenda view of the scheduler.
140
+ * * TimelineDay - Denotes Timeline Day view of the scheduler.
141
+ * * TimelineWeek - Denotes Timeline Week view of the scheduler.
142
+ * * TimelineWorkWeek - Denotes Timeline Work Week view of the scheduler.
143
+ * * TimelineMonth - Denotes Timeline Month view of the scheduler.
144
+ * * TimelineYear - Denotes Timeline Year view of the scheduler.
145
+ * @default null
146
+ */
147
+ option: any;
148
+ /**
149
+ * It is used to specify the year view rendering orientation on the schedule.
150
+ * The applicable orientation values are,
151
+ * * Horizontal - Denotes the horizontal orientation of Timeline Year view.
152
+ * * Vertical - Denotes the vertical orientation of Timeline Year view.
153
+ * @default 'Horizontal'
154
+ */
155
+ orientation: any;
156
+ /**
157
+ * Specifies the number of additional rows or columns to render outside the visible area during virtual scrolling.
158
+ * This property helps in achieving smoother scrolling by pre-loading data just outside the visible region.
159
+ * @remarks The default value is 3. Increasing this value can result in smoother scrolling but may impact performance
160
+ with larger datasets. Decreasing it can improve performance but may cause more frequent data fetches during scrolling.
161
+ This property only takes effect when `allowVirtualScrolling` is enabled for the current view.
162
+
163
+ * @default 3
164
+ */
165
+ overscanCount: any;
166
+ /**
167
+ * When set to `true`, displays a quick popup with cell or event details on single clicking over the cells or on events.
168
+ * By default, it is set to `true`. It gets applied only to the view objects on which it is defined.
169
+ * @default false
170
+ */
171
+ readonly: any;
172
+ /**
173
+ * When set to `true`, displays the week number of the current view date range.
174
+ * @default false
175
+ */
176
+ showWeekNumber: any;
177
+ /**
178
+ * When set to `false`, it hides the weekend days of a week from the Schedule.
179
+ * The days which are not defined in the working days collection are usually treated as weekend days.
180
+ * Note: By default, this option is not applicable on `Work Week` view.
181
+ * 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
182
+ * weekend days and will be hidden on all the views.
183
+ * @default true
184
+ */
185
+ showWeekend: any;
186
+ /**
187
+ * It is used to specify the starting hour, from which the Schedule starts to display.
188
+ * It accepts the time string in a short skeleton format and also, hides the time beyond the specified start time.
189
+ * @default '00:00'
190
+ */
191
+ startHour: any;
192
+ /**
193
+ * By default, Schedule follows the time-format as per the default culture assigned to it.
194
+ * It is also possible to manually set specific time format by using the `timeFormat` property.
195
+ * {% codeBlock src='schedule/timeFormat/index.md' %}{% endcodeBlock %}
196
+ * @default null
197
+ */
198
+ timeFormat: any;
199
+ /**
200
+ * Allows to set different timescale configuration on each applicable view modes such as day, week and work week.
201
+ * @default { enable: true, interval: 60, slotCount: 2, majorSlotTemplate: null, minorSlotTemplate: null }
202
+ */
203
+ timeScale: any;
204
+ /**
205
+ * It is used to set the working days on schedule. The only days that are defined in this collection will be rendered on the
206
+ * `workWeek` view whereas on other views, it will display all the usual days and simply highlights the working days with different
207
+ * shade.
208
+ * @default '[1, 2, 3, 4, 5]'
209
+ * @asptype int[]
210
+ */
211
+ workDays: any;
212
+ /**
213
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
214
+ * date header cells. The field that can be accessed via this template is `date`.
215
+ * It gets applied only to the view objects on which it is defined.
216
+ * @default null
217
+ * @asptype string
218
+ */
219
+ dateHeaderTemplate: any;
220
+ /**
221
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the header date range.
222
+ * @default null
223
+ * @angulartype string | object
224
+ * @reacttype string | function | JSX.Element
225
+ * @vuetype string | function
226
+ * @asptype string
227
+ */
228
+ dateRangeTemplate: any;
229
+ /**
230
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
231
+ * Year view day cell header.
232
+ * This template is only applicable for year view header cells.
233
+ * @default null
234
+ * @angulartype string | object
235
+ * @reacttype string | function | JSX.Element
236
+ * @vuetype string | function
237
+ * @asptype string
238
+ */
239
+ dayHeaderTemplate: any;
240
+ /**
241
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
242
+ * month date cells.
243
+ * This template is only applicable for month view day cells.
244
+ * @default null
245
+ * @angulartype string | object
246
+ * @reacttype string | function | JSX.Element
247
+ * @vuetype string | function
248
+ * @asptype string
249
+ */
250
+ cellHeaderTemplate: any;
251
+ /**
252
+ * The template option which is used to render the customized work cells on the Schedule. Here, the
253
+ * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the work cells.
254
+ * The field accessible via template is `date`. It gets applied only to the view objects on which it is defined.
255
+ * @default null
256
+ * @angulartype string | object
257
+ * @reacttype string | function | JSX.Element
258
+ * @vuetype string | function
259
+ * @asptype string
260
+ */
261
+ cellTemplate: any;
262
+ /**
263
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto
264
+ * the event background. All the event fields mapped to Schedule from dataSource can be accessed within this template code.
265
+ * It is similar to that of the `template` option available within the `eventSettings` property,
266
+ * whereas it will get applied only on the events of the view to which it is currently being defined.
267
+ * @default null
268
+ * @angulartype string | object
269
+ * @reacttype string | function | JSX.Element
270
+ * @vuetype string | function
271
+ * @asptype string
272
+ */
273
+ eventTemplate: any;
274
+ /**
275
+ * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto the
276
+ * Year view day cell header.
277
+ * This template is only applicable for year view header cells.
278
+ * @default null
279
+ * @angulartype string | object
280
+ * @reacttype string | function | JSX.Element
281
+ * @vuetype string | function
282
+ * @asptype string
283
+ */
284
+ monthHeaderTemplate: any;
285
+ /**
286
+ * The template option which is used to render the customized header cells on the schedule. Here, the
287
+ * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the header cells.
288
+ * All the resource fields mapped within resources can be accessed within this template code.
289
+ * It gets applied only to the view objects on which it is defined.
290
+ * @default null
291
+ * @angulartype string | object
292
+ * @reacttype string | function | JSX.Element
293
+ * @vuetype string | function
294
+ * @asptype string
295
+ */
296
+ resourceHeaderTemplate: any;
297
+ /**
298
+ * The template option which is used to render the customized header indent cell on the schedule. Here, the
299
+ * template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the header indent cell.
300
+ * It gets applied only to the view objects on which it is defined.
301
+ * @default null
302
+ * @angulartype string | object
303
+ * @reacttype string | function | JSX.Element
304
+ * @vuetype string | function
305
+ * @asptype string
306
+ */
307
+ headerIndentTemplate: any;
308
+ timeScale_minorSlotTemplate: any;
309
+ timeScale_majorSlotTemplate: any;
310
+ group_headerTooltipTemplate: any;
311
+ constructor(viewContainerRef: ViewContainerRef);
312
+ }
313
+ /**
314
+ * View Array Directive
315
+ * @private
316
+ */
317
+ export declare class ViewsDirective extends ArrayBase<ViewsDirective> {
318
+ constructor();
319
+ }
@@ -0,0 +1 @@
1
+ @import '@syncfusion/ej2-schedule/styles/bds-lite.css';