@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,187 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';
3
- import { Query, DataManager } from '@syncfusion/ej2-data';
4
- import { SortComparerFunction } from '../base/interface';
5
- import { SpannedEventPlacement } from '../base/type';
6
- import { Field } from './fields';
7
- import { FieldModel } from './fields-model';
8
-
9
- /**
10
- * Holds the configuration of event related options and dataSource binding to Schedule.
11
- */
12
- export class EventSettings extends ChildProperty<EventSettings> {
13
- /**
14
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying
15
- * it onto the event background. All the event fields mapped to Schedule from dataSource can be accessed within this template code.
16
- * {% codeBlock src="schedule/event-template-api/index.ts" %}{% endcodeBlock %}
17
- *
18
- * @default null
19
- * @angularType string | object
20
- * @reactType string | function | JSX.Element
21
- * @vueType string | function
22
- * @aspType string
23
- */
24
- @Property()
25
- public template: string | Function;
26
-
27
- /**
28
- * With this property, the event data will be bound to Schedule.
29
- * The event data can be passed either as an array of JavaScript objects,
30
- * or else can create an instance of [`DataManager`](http://ej2.syncfusion.com/documentation/data/api-dataManager.html)
31
- * in case of processing remote data and can be assigned to the `dataSource` property.
32
- * With the remote data assigned to dataSource, check the available
33
- * [adaptors](http://ej2.syncfusion.com/documentation/data/adaptors.html) to customize the data processing.
34
- *
35
- * @default []
36
- */
37
- @Property([])
38
- public dataSource: Record<string, any>[] | DataManager;
39
-
40
- /**
41
- * Defines the external [`query`](http://ej2.syncfusion.com/documentation/data/api-query.html)
42
- * that will be executed along with the data processing.
43
- *
44
- * @default null
45
- */
46
- @Property()
47
- public query: Query;
48
-
49
- /**
50
- * Defines the collection of default event fields to be bind to the Schedule.
51
- *
52
- * @default null
53
- */
54
- @Complex<FieldModel>({}, Field)
55
- public fields: FieldModel;
56
-
57
- /**
58
- * When set to `true` will display the normal tooltip over the events with its subject, location, start and end time.
59
- *
60
- * @default false
61
- */
62
- @Property(false)
63
- public enableTooltip: boolean;
64
-
65
- /**
66
- * Defines the option to render the spanned events (more than 24 hours) in either `AllDayRow` or `TimeSlot`. By default it renders in `AllDayRow`.
67
- * This property is applicable for `Day`, `Week` and `WorkWeek` views only. The possible values for this property as follows
68
- * * `AllDayRow`: Denotes the rendering of spanned events in an all-day row.
69
- * * `TimeSlot`: Denotes the rendering of spanned events in an time slot row.
70
- * {% codeBlock src='schedule/spannedEventPlacement/index.md' %}{% endcodeBlock %}
71
- *
72
- * @default 'AllDayRow'
73
- */
74
- @Property('AllDayRow')
75
- public spannedEventPlacement: SpannedEventPlacement;
76
-
77
- /**
78
- * Sets a minimum duration for an event where the events are rendered for this minimum duration when the duration of the event is lesser than this value.
79
- * It accepts duration value in minutes. This property is only applicable when the event duration is lesser than this property duration.
80
- *
81
- * @default 1
82
- */
83
- @Property(1)
84
- public minimumEventDuration: number;
85
-
86
- /**
87
- * It accepts either the string or HTMLElement as template design content and parse it appropriately before displaying it onto tooltip.
88
- * All the event fields mapped with Schedule dataSource can be accessed within this template code.
89
- * {% codeBlock src="schedule/tooltip-template-api/index.ts" %}{% endcodeBlock %}
90
- *
91
- * @default null
92
- * @angularType string | object
93
- * @reactType string | function | JSX.Element
94
- * @vueType string | function
95
- * @aspType string
96
- */
97
- @Property()
98
- public tooltipTemplate: string | Function;
99
-
100
- /**
101
- * Defines the resource name, to decides the color of which particular resource level is to be applied on appointments, when
102
- * grouping is enabled on scheduler.
103
- * {% codeBlock src="schedule/resource-color-field-api/index.ts" %}{% endcodeBlock %}
104
- *
105
- * @default null
106
- */
107
- @Property()
108
- public resourceColorField: string;
109
-
110
- /**
111
- * When set to `true` will edit the future events only instead of editing entire series.
112
- *
113
- * @default false
114
- */
115
- @Property(false)
116
- public editFollowingEvents: boolean;
117
-
118
- /**
119
- * When set to `false` the add action will be restricted.
120
- *
121
- * @default true
122
- */
123
- @Property(true)
124
- public allowAdding: boolean;
125
-
126
- /**
127
- * When set to `false` the edit action will be restricted.
128
- *
129
- * @default true
130
- */
131
- @Property(true)
132
- public allowEditing: boolean;
133
-
134
- /**
135
- * When set to `false` the delete action will be restricted.
136
- *
137
- * @default true
138
- */
139
- @Property(true)
140
- public allowDeleting: boolean;
141
-
142
- /**
143
- * It enables the event to occupy the full height in timeline views and
144
- * full width in vertical views, excluding the header of the cell.
145
- *
146
- * @default false
147
- */
148
- @Property(false)
149
- public enableMaxHeight: boolean;
150
-
151
- /**
152
- * This property enables the event to occupy the full height that remaining from the header and more indicator.
153
- * More than one appointment are available on the cell the more indicator is created.
154
- *
155
- * @default false
156
- */
157
- @Property(false)
158
- public enableIndicator: boolean;
159
-
160
- /**
161
- * This property ignores or include the Events element bottom white space.
162
- *
163
- * @default false
164
- */
165
- @Property(false)
166
- public ignoreWhitespace: boolean;
167
-
168
- /**
169
- * Defines the custom sort comparer function.
170
- * The sort comparer function has the same functionality like
171
- * [`Array.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) sort comparer.
172
- *
173
- * @default null
174
- */
175
- @Property()
176
- public sortComparer: SortComparerFunction;
177
-
178
- /**
179
- * Gets or sets a value that determines whether the start date and end date filter conditions should be included in the query itself when requesting data from the server, or passed as query parameters in the API call.
180
- * When set to <c>true</c> the filter conditions will be part of the query itself, potentially reducing the size of the request and minimizing the time needed to parse the response.
181
- * However, it can also lead to longer query strings, which could result in issues with maximum URL length or server limitations on query string length.
182
- *
183
- * @default false
184
- */
185
- @Property()
186
- public includeFiltersInQuery: boolean;
187
- }
@@ -1,37 +0,0 @@
1
- import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
-
3
- /**
4
- * Interface for a class FieldOptions
5
- */
6
- export interface FieldOptionsModel {
7
-
8
- /**
9
- * Denotes the field name to be mapped from the dataSource for every event fields.
10
- *
11
- * @default null
12
- */
13
- name?: string;
14
-
15
- /**
16
- * Assigns the specific default value to the fields, when no values are provided to those fields from dataSource.
17
- *
18
- * @default null
19
- */
20
- default?: string;
21
-
22
- /**
23
- * Assigns the label values to be displayed for the event editor fields.
24
- *
25
- * @default null
26
- */
27
- title?: string;
28
-
29
- /**
30
- * Defines the validation rules to be applied on the event fields within the event editor.
31
- * {% codeBlock src="schedule/validation-api/index.ts" %}{% endcodeBlock %}
32
- *
33
- * @default {}
34
- */
35
- validation?: Record<string, any>;
36
-
37
- }
@@ -1,31 +0,0 @@
1
- import { ChildProperty } from '@syncfusion/ej2-base';
2
- /**
3
- * Configuration that applies on each appointment field options of scheduler.
4
- */
5
- export declare class FieldOptions extends ChildProperty<FieldOptions> {
6
- /**
7
- * Denotes the field name to be mapped from the dataSource for every event fields.
8
- *
9
- * @default null
10
- */
11
- name: string;
12
- /**
13
- * Assigns the specific default value to the fields, when no values are provided to those fields from dataSource.
14
- *
15
- * @default null
16
- */
17
- default: string;
18
- /**
19
- * Assigns the label values to be displayed for the event editor fields.
20
- *
21
- * @default null
22
- */
23
- title: string;
24
- /**
25
- * Defines the validation rules to be applied on the event fields within the event editor.
26
- * {% codeBlock src="schedule/validation-api/index.ts" %}{% endcodeBlock %}
27
- *
28
- * @default {}
29
- */
30
- validation: Record<string, any>;
31
- }
@@ -1,41 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- import { Property, ChildProperty } from '@syncfusion/ej2-base';
3
-
4
- /**
5
- * Configuration that applies on each appointment field options of scheduler.
6
- */
7
- export class FieldOptions extends ChildProperty<FieldOptions> {
8
- /**
9
- * Denotes the field name to be mapped from the dataSource for every event fields.
10
- *
11
- * @default null
12
- */
13
- @Property()
14
- public name: string;
15
-
16
- /**
17
- * Assigns the specific default value to the fields, when no values are provided to those fields from dataSource.
18
- *
19
- * @default null
20
- */
21
- @Property()
22
- public default: string;
23
-
24
- /**
25
- * Assigns the label values to be displayed for the event editor fields.
26
- *
27
- * @default null
28
- */
29
- @Property()
30
- public title: string;
31
-
32
- /**
33
- * Defines the validation rules to be applied on the event fields within the event editor.
34
- * {% codeBlock src="schedule/validation-api/index.ts" %}{% endcodeBlock %}
35
- *
36
- * @default {}
37
- */
38
- @Property({})
39
- public validation: Record<string, any>;
40
-
41
- }
@@ -1,129 +0,0 @@
1
- import { Property, ChildProperty, Complex } from '@syncfusion/ej2-base';import { FieldOptionsModel } from './field-options-model';import { FieldOptions } from './field-options';
2
-
3
- /**
4
- * Interface for a class Field
5
- */
6
- export interface FieldModel {
7
-
8
- /**
9
- * The `id` field needs to be defined as mandatory, when the Schedule is bound to remote data and
10
- * it is optional, if the same is bound with JSON data. This field usually assigns ID value to each of the events.
11
- *
12
- * @default null
13
- */
14
- id?: string;
15
-
16
- /**
17
- * The `isBlock` field allows you to block certain time interval on the Scheduler.
18
- * It is a boolean type property accepting either true or false values.
19
- * When set to true, creates a block range for the specified time interval and disables the event scheduling actions on that time range.
20
- *
21
- * @default null
22
- */
23
- isBlock?: string;
24
-
25
- /**
26
- * The `subject` field is optional, and usually assigns the subject text to each of the events.
27
- *
28
- * @default { name: null, default: null, title: null, validation: {} }
29
- */
30
- subject?: FieldOptionsModel;
31
-
32
- /**
33
- * The `startTime` field defines the start time of an event and it is mandatory to provide it for any of the valid event objects.
34
- *
35
- * @default { name: null, default: null, title: null, validation: {} }
36
- */
37
- startTime?: FieldOptionsModel;
38
-
39
- /**
40
- * 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.
41
- *
42
- * @default { name: null, default: null, title: null, validation: {} }
43
- */
44
- endTime?: FieldOptionsModel;
45
-
46
- /**
47
- * It maps the `startTimezone` field from the dataSource and usually accepts the valid
48
- * [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
49
- * It is assumed that the value provided for this field is taken into consideration while processing
50
- * the `startTime` field. When this field is not mapped with any timezone names,
51
- * then the events will be processed based on the timezone assigned to the Schedule.
52
- *
53
- * @default { name: null, default: null, title: null, validation: {} }
54
- */
55
- startTimezone?: FieldOptionsModel;
56
-
57
- /**
58
- * It maps the `endTimezone` field from the dataSource and usually accepts the valid
59
- * [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
60
- * It is assumed that the value provided for this field is taken into consideration while processing the `endTime` field.
61
- * When this field is not mapped with any timezone names, then the events will be processed based on the timezone assigned
62
- * to the Schedule.
63
- *
64
- * @default { name: null, default: null, title: null, validation: {} }
65
- */
66
- endTimezone?: FieldOptionsModel;
67
-
68
- /**
69
- * It maps the `location` field from the dataSource and the location field value will be displayed over
70
- * events, while given it for an event object.
71
- *
72
- * @default { name: null, default: null, title: null, validation: {} }
73
- */
74
- location?: FieldOptionsModel;
75
-
76
- /**
77
- * It maps the `description` field from the dataSource and denotes the event description which is optional.
78
- *
79
- * @default { name: null, default: null, title: null, validation: {} }
80
- */
81
- description?: FieldOptionsModel;
82
-
83
- /**
84
- * The `isAllDay` field is mapped from the dataSource and is used to denote whether an event is created
85
- * for an entire day or for specific time alone.
86
- *
87
- * @default { name: null, default: null, title: null, validation: {} }
88
- */
89
- isAllDay?: FieldOptionsModel;
90
-
91
- /**
92
- * It maps the `recurrenceID` field from dataSource and usually holds the ID value of the parent
93
- * recurrence event. It is applicable only for the edited occurrence events.
94
- *
95
- * @default { name: null, default: null, title: null, validation: {} }
96
- */
97
- recurrenceID?: FieldOptionsModel;
98
-
99
- /**
100
- * It maps the `recurrenceRule` field from dataSource and is used to uniquely identify whether the
101
- * event belongs to a recurring event type or normal ones.
102
- *
103
- * @default { name: null, default: null, title: null, validation: {} }
104
- */
105
- recurrenceRule?: FieldOptionsModel;
106
-
107
- /**
108
- * It maps the `recurrenceException` field from dataSource and is used to hold the exception dates
109
- * which needs to be excluded from recurring type.
110
- *
111
- * @default { name: null, default: null, title: null, validation: {} }
112
- */
113
- recurrenceException?: FieldOptionsModel;
114
-
115
- /**
116
- * The `isReadonly` field is mapped from the dataSource and is used to prevent the CRUD actions on specific events.
117
- *
118
- * @default null
119
- */
120
- isReadonly?: string;
121
-
122
- /**
123
- * The `followingID` field is mapped from dataSource and usually holds the ID value of the main parent event.
124
- *
125
- * @default null
126
- */
127
- followingID?: string;
128
-
129
- }
@@ -1,117 +0,0 @@
1
- import { ChildProperty } from '@syncfusion/ej2-base';
2
- import { FieldOptionsModel } from './field-options-model';
3
- /**
4
- * A class that holds the collection of event fields that requires to be mapped with the dataSource
5
- * fields along with its available configuration settings. Each field in it accepts both string and object
6
- * data type. When each of the field is assigned with simple `string` value, it is assumed that the dataSource field
7
- * name is mapped with it. If the `object` type is defined on each fields, then the validation related settings and mapping of
8
- * those fields with dataSource can be given altogether within it.
9
- */
10
- export declare class Field extends ChildProperty<Field> {
11
- /**
12
- * The `id` field needs to be defined as mandatory, when the Schedule is bound to remote data and
13
- * it is optional, if the same is bound with JSON data. This field usually assigns ID value to each of the events.
14
- *
15
- * @default null
16
- */
17
- id: string;
18
- /**
19
- * The `isBlock` field allows you to block certain time interval on the Scheduler.
20
- * It is a boolean type property accepting either true or false values.
21
- * When set to true, creates a block range for the specified time interval and disables the event scheduling actions on that time range.
22
- *
23
- * @default null
24
- */
25
- isBlock: string;
26
- /**
27
- * The `subject` field is optional, and usually assigns the subject text to each of the events.
28
- *
29
- * @default { name: null, default: null, title: null, validation: {} }
30
- */
31
- subject: FieldOptionsModel;
32
- /**
33
- * The `startTime` field defines the start time of an event and it is mandatory to provide it for any of the valid event objects.
34
- *
35
- * @default { name: null, default: null, title: null, validation: {} }
36
- */
37
- startTime: FieldOptionsModel;
38
- /**
39
- * 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.
40
- *
41
- * @default { name: null, default: null, title: null, validation: {} }
42
- */
43
- endTime: FieldOptionsModel;
44
- /**
45
- * It maps the `startTimezone` field from the dataSource and usually accepts the valid
46
- * [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
47
- * It is assumed that the value provided for this field is taken into consideration while processing
48
- * the `startTime` field. When this field is not mapped with any timezone names,
49
- * then the events will be processed based on the timezone assigned to the Schedule.
50
- *
51
- * @default { name: null, default: null, title: null, validation: {} }
52
- */
53
- startTimezone: FieldOptionsModel;
54
- /**
55
- * It maps the `endTimezone` field from the dataSource and usually accepts the valid
56
- * [`IANA timezone names`](https://docs.actian.com/ingres/11.0/index.html#page/Ing_Install/IANA_World_Regions_and_Time_Zone_Names.htm).
57
- * It is assumed that the value provided for this field is taken into consideration while processing the `endTime` field.
58
- * When this field is not mapped with any timezone names, then the events will be processed based on the timezone assigned
59
- * to the Schedule.
60
- *
61
- * @default { name: null, default: null, title: null, validation: {} }
62
- */
63
- endTimezone: FieldOptionsModel;
64
- /**
65
- * It maps the `location` field from the dataSource and the location field value will be displayed over
66
- * events, while given it for an event object.
67
- *
68
- * @default { name: null, default: null, title: null, validation: {} }
69
- */
70
- location: FieldOptionsModel;
71
- /**
72
- * It maps the `description` field from the dataSource and denotes the event description which is optional.
73
- *
74
- * @default { name: null, default: null, title: null, validation: {} }
75
- */
76
- description: FieldOptionsModel;
77
- /**
78
- * The `isAllDay` field is mapped from the dataSource and is used to denote whether an event is created
79
- * for an entire day or for specific time alone.
80
- *
81
- * @default { name: null, default: null, title: null, validation: {} }
82
- */
83
- isAllDay: FieldOptionsModel;
84
- /**
85
- * It maps the `recurrenceID` field from dataSource and usually holds the ID value of the parent
86
- * recurrence event. It is applicable only for the edited occurrence events.
87
- *
88
- * @default { name: null, default: null, title: null, validation: {} }
89
- */
90
- recurrenceID: FieldOptionsModel;
91
- /**
92
- * It maps the `recurrenceRule` field from dataSource and is used to uniquely identify whether the
93
- * event belongs to a recurring event type or normal ones.
94
- *
95
- * @default { name: null, default: null, title: null, validation: {} }
96
- */
97
- recurrenceRule: FieldOptionsModel;
98
- /**
99
- * It maps the `recurrenceException` field from dataSource and is used to hold the exception dates
100
- * which needs to be excluded from recurring type.
101
- *
102
- * @default { name: null, default: null, title: null, validation: {} }
103
- */
104
- recurrenceException: FieldOptionsModel;
105
- /**
106
- * The `isReadonly` field is mapped from the dataSource and is used to prevent the CRUD actions on specific events.
107
- *
108
- * @default null
109
- */
110
- isReadonly: string;
111
- /**
112
- * The `followingID` field is mapped from dataSource and usually holds the ID value of the main parent event.
113
- *
114
- * @default null
115
- */
116
- followingID: string;
117
- }