@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,149 +0,0 @@
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
- }
@@ -1,69 +0,0 @@
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
- }
@@ -1,60 +0,0 @@
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
- }
@@ -1,75 +0,0 @@
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
- }
@@ -1,33 +0,0 @@
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
- }
@@ -1,30 +0,0 @@
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
- }
@@ -1,35 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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';
@@ -1,15 +0,0 @@
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';
@@ -1,52 +0,0 @@
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
- }
@@ -1,47 +0,0 @@
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
- }
@@ -1,56 +0,0 @@
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
- }