@bryntum/schedulerpro-vue-3-thin 7.1.1

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 (144) hide show
  1. package/README.md +53 -0
  2. package/lib/chunks/B12rdbvL.js +380 -0
  3. package/lib/chunks/B12rdbvL.js.map +1 -0
  4. package/lib/chunks/BBN-5eeI.js +380 -0
  5. package/lib/chunks/BBN-5eeI.js.map +1 -0
  6. package/lib/chunks/BaiH7rub.js +591 -0
  7. package/lib/chunks/BaiH7rub.js.map +1 -0
  8. package/lib/chunks/BrUxjEMx.js +380 -0
  9. package/lib/chunks/BrUxjEMx.js.map +1 -0
  10. package/lib/chunks/BtVT0xgl.js +344 -0
  11. package/lib/chunks/BtVT0xgl.js.map +1 -0
  12. package/lib/chunks/C0N8aq7Y.js +340 -0
  13. package/lib/chunks/C0N8aq7Y.js.map +1 -0
  14. package/lib/chunks/C9qY739P.js +380 -0
  15. package/lib/chunks/C9qY739P.js.map +1 -0
  16. package/lib/chunks/CB9cdxRl.js +935 -0
  17. package/lib/chunks/CB9cdxRl.js.map +1 -0
  18. package/lib/chunks/CDbPwyl3.js +326 -0
  19. package/lib/chunks/CDbPwyl3.js.map +1 -0
  20. package/lib/chunks/Ct_m9O9h.js +380 -0
  21. package/lib/chunks/Ct_m9O9h.js.map +1 -0
  22. package/lib/chunks/D45V9XRN.js +308 -0
  23. package/lib/chunks/D45V9XRN.js.map +1 -0
  24. package/lib/chunks/D6AiSClA.js +1139 -0
  25. package/lib/chunks/D6AiSClA.js.map +1 -0
  26. package/lib/chunks/DQYJMaQ_.js +350 -0
  27. package/lib/chunks/DQYJMaQ_.js.map +1 -0
  28. package/lib/chunks/DT6XYs9d.js +1356 -0
  29. package/lib/chunks/DT6XYs9d.js.map +1 -0
  30. package/lib/chunks/DgESZupU.js +380 -0
  31. package/lib/chunks/DgESZupU.js.map +1 -0
  32. package/lib/chunks/DvFm-5Hh.js +382 -0
  33. package/lib/chunks/DvFm-5Hh.js.map +1 -0
  34. package/lib/chunks/DzO9n33e.js +939 -0
  35. package/lib/chunks/DzO9n33e.js.map +1 -0
  36. package/lib/chunks/H51_wkdg.js +1358 -0
  37. package/lib/chunks/H51_wkdg.js.map +1 -0
  38. package/lib/chunks/ggN9GDPJ.js +384 -0
  39. package/lib/chunks/ggN9GDPJ.js.map +1 -0
  40. package/lib/chunks/qKNUUeE0.js +380 -0
  41. package/lib/chunks/qKNUUeE0.js.map +1 -0
  42. package/lib/chunks/xk_S9thL.js +578 -0
  43. package/lib/chunks/xk_S9thL.js.map +1 -0
  44. package/lib/chunks/yCHi3rZC.js +336 -0
  45. package/lib/chunks/yCHi3rZC.js.map +1 -0
  46. package/lib/components/BryntumCalendarEditor.js +5 -0
  47. package/lib/components/BryntumCalendarEditor.js.map +1 -0
  48. package/lib/components/BryntumCalendarField.js +5 -0
  49. package/lib/components/BryntumCalendarField.js.map +1 -0
  50. package/lib/components/BryntumConstraintTypePicker.js +5 -0
  51. package/lib/components/BryntumConstraintTypePicker.js.map +1 -0
  52. package/lib/components/BryntumCostAccrualField.js +5 -0
  53. package/lib/components/BryntumCostAccrualField.js.map +1 -0
  54. package/lib/components/BryntumDependencyTypePicker.js +5 -0
  55. package/lib/components/BryntumDependencyTypePicker.js.map +1 -0
  56. package/lib/components/BryntumEffortField.js +5 -0
  57. package/lib/components/BryntumEffortField.js.map +1 -0
  58. package/lib/components/BryntumEndDateField.js +5 -0
  59. package/lib/components/BryntumEndDateField.js.map +1 -0
  60. package/lib/components/BryntumModelCombo.js +5 -0
  61. package/lib/components/BryntumModelCombo.js.map +1 -0
  62. package/lib/components/BryntumRateTableField.js +5 -0
  63. package/lib/components/BryntumRateTableField.js.map +1 -0
  64. package/lib/components/BryntumResourceEditor.js +5 -0
  65. package/lib/components/BryntumResourceEditor.js.map +1 -0
  66. package/lib/components/BryntumResourceGrid.js +5 -0
  67. package/lib/components/BryntumResourceGrid.js.map +1 -0
  68. package/lib/components/BryntumResourceHistogram.js +5 -0
  69. package/lib/components/BryntumResourceHistogram.js.map +1 -0
  70. package/lib/components/BryntumResourceTypeField.js +5 -0
  71. package/lib/components/BryntumResourceTypeField.js.map +1 -0
  72. package/lib/components/BryntumResourceUtilization.js +5 -0
  73. package/lib/components/BryntumResourceUtilization.js.map +1 -0
  74. package/lib/components/BryntumSchedulerPro.js +5 -0
  75. package/lib/components/BryntumSchedulerPro.js.map +1 -0
  76. package/lib/components/BryntumSchedulerProBase.js +5 -0
  77. package/lib/components/BryntumSchedulerProBase.js.map +1 -0
  78. package/lib/components/BryntumSchedulerProProjectModel.js +5 -0
  79. package/lib/components/BryntumSchedulerProProjectModel.js.map +1 -0
  80. package/lib/components/BryntumSchedulingDirectionPicker.js +5 -0
  81. package/lib/components/BryntumSchedulingDirectionPicker.js.map +1 -0
  82. package/lib/components/BryntumSchedulingModePicker.js +5 -0
  83. package/lib/components/BryntumSchedulingModePicker.js.map +1 -0
  84. package/lib/components/BryntumStartDateField.js +5 -0
  85. package/lib/components/BryntumStartDateField.js.map +1 -0
  86. package/lib/components/BryntumTimeline.js +5 -0
  87. package/lib/components/BryntumTimeline.js.map +1 -0
  88. package/lib/components/BryntumVersionGrid.js +5 -0
  89. package/lib/components/BryntumVersionGrid.js.map +1 -0
  90. package/lib/helper/WrapperHelper.js +291 -0
  91. package/lib/helper/WrapperHelper.js.map +1 -0
  92. package/lib/index.d.ts +5 -0
  93. package/lib/index.js +47 -0
  94. package/lib/index.js.map +1 -0
  95. package/license.pdf +0 -0
  96. package/licenses.md +310 -0
  97. package/package.json +27 -0
  98. package/src/components/BryntumCalendarEditor.vue +1268 -0
  99. package/src/components/BryntumCalendarEditorProps.ts +776 -0
  100. package/src/components/BryntumCalendarField.vue +1350 -0
  101. package/src/components/BryntumCalendarFieldProps.ts +849 -0
  102. package/src/components/BryntumConstraintTypePicker.vue +1337 -0
  103. package/src/components/BryntumConstraintTypePickerProps.ts +838 -0
  104. package/src/components/BryntumCostAccrualField.vue +1337 -0
  105. package/src/components/BryntumCostAccrualFieldProps.ts +838 -0
  106. package/src/components/BryntumDependencyTypePicker.vue +1337 -0
  107. package/src/components/BryntumDependencyTypePickerProps.ts +838 -0
  108. package/src/components/BryntumEffortField.vue +1140 -0
  109. package/src/components/BryntumEffortFieldProps.ts +683 -0
  110. package/src/components/BryntumEndDateField.vue +1167 -0
  111. package/src/components/BryntumEndDateFieldProps.ts +701 -0
  112. package/src/components/BryntumModelCombo.vue +1337 -0
  113. package/src/components/BryntumModelComboProps.ts +838 -0
  114. package/src/components/BryntumRateTableField.vue +1337 -0
  115. package/src/components/BryntumRateTableFieldProps.ts +838 -0
  116. package/src/components/BryntumResourceEditor.vue +1247 -0
  117. package/src/components/BryntumResourceEditorProps.ts +758 -0
  118. package/src/components/BryntumResourceGrid.vue +2924 -0
  119. package/src/components/BryntumResourceGridProps.ts +1040 -0
  120. package/src/components/BryntumResourceHistogram.vue +4495 -0
  121. package/src/components/BryntumResourceHistogramProps.ts +1697 -0
  122. package/src/components/BryntumResourceTypeField.vue +1337 -0
  123. package/src/components/BryntumResourceTypeFieldProps.ts +838 -0
  124. package/src/components/BryntumResourceUtilization.vue +4525 -0
  125. package/src/components/BryntumResourceUtilizationProps.ts +1683 -0
  126. package/src/components/BryntumSchedulerPro.vue +7153 -0
  127. package/src/components/BryntumSchedulerProBase.vue +7151 -0
  128. package/src/components/BryntumSchedulerProBaseProps.ts +2169 -0
  129. package/src/components/BryntumSchedulerProProjectModel.vue +1192 -0
  130. package/src/components/BryntumSchedulerProProjectModelProps.ts +597 -0
  131. package/src/components/BryntumSchedulerProProps.ts +2170 -0
  132. package/src/components/BryntumSchedulingDirectionPicker.vue +1337 -0
  133. package/src/components/BryntumSchedulingDirectionPickerProps.ts +838 -0
  134. package/src/components/BryntumSchedulingModePicker.vue +1345 -0
  135. package/src/components/BryntumSchedulingModePickerProps.ts +845 -0
  136. package/src/components/BryntumStartDateField.vue +1185 -0
  137. package/src/components/BryntumStartDateFieldProps.ts +717 -0
  138. package/src/components/BryntumTimeline.vue +6311 -0
  139. package/src/components/BryntumTimelineProps.ts +2041 -0
  140. package/src/components/BryntumVersionGrid.vue +2970 -0
  141. package/src/components/BryntumVersionGridProps.ts +1053 -0
  142. package/src/helper/WrapperHelper.ts +573 -0
  143. package/src/index.ts +48 -0
  144. package/src/vite-env.d.ts +1 -0
@@ -0,0 +1,597 @@
1
+ import type { DurationUnit, Model, ModelConfig, StateTrackingManager as CoreStateTrackingManager, Store, StoreConfig } from '@bryntum/core-thin';
2
+ import type { CrudManagerRequestResponse, CrudManagerStoreDescriptor, LazyLoadCrudManagerRequestParams, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, TimeRangeStore, TimeSpan, TimeSpanConfig } from '@bryntum/scheduler-thin';
3
+ import type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CalendarManagerStore, CalendarManagerStoreConfig, CalendarModel, CalendarModelConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, ProjectModelListeners, ResourceAllocationInfo, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, StateTrackingManagerConfig } from '@bryntum/schedulerpro-thin';
4
+
5
+ export declare type BryntumSchedulerProProjectModelProps = {
6
+ // Configs
7
+ /**
8
+ * If this flag is set to `true` (default) when a start/end date is set on the event, a corresponding
9
+ * `start-no-earlier/later-than` constraint is added, automatically. This is done in order to
10
+ * keep the event "attached" to this date, according to the user intention.
11
+ * ...
12
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-addConstraintOnDateSet)
13
+ */
14
+ addConstraintOnDateSet ? : Boolean
15
+ /**
16
+ * This config manages DST correction in the scheduling engine. It only has effect when DST transition hour is
17
+ * working time. Usually a DST transition occurs on a Sunday, so with non-working weekends the DST correction logic
18
+ * is not involved.
19
+ * ...
20
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-adjustDurationToDST)
21
+ */
22
+ adjustDurationToDST ? : Boolean
23
+ /**
24
+ * The constructor of the assignment model class, to be used in the project. Will be set as the
25
+ * [modelClass](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-modelClass) property of the [assignmentStore](#SchedulerPro/model/ProjectModel#property-assignmentStore)
26
+ */
27
+ assignmentModelClass ? : typeof AssignmentModel
28
+ /**
29
+ * Data use to fill the [assignmentStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-assignmentStore). Should be an array of
30
+ * [AssignmentModels](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/AssignmentModel) or its configuration objects.
31
+ */
32
+ assignments ? : AssignmentModel[]|AssignmentModelConfig[]
33
+ /**
34
+ * The initial data, to fill the [assignmentStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-assignmentStore) with.
35
+ * Should be an array of [AssignmentModels](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/AssignmentModel) or its configuration
36
+ * objects.
37
+ * @deprecated 6.3.0 Use [assignments](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-assignments) instead
38
+ */
39
+ assignmentsData ? : AssignmentModel[]
40
+ /**
41
+ * An [AssignmentStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/AssignmentStore) instance or a config object.
42
+ */
43
+ assignmentStore ? : AssignmentStore|AssignmentStoreConfig
44
+ /**
45
+ * The constructor to create an assignment store instance with. Should be a class, subclassing the
46
+ * [AssignmentStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/AssignmentStore)
47
+ */
48
+ assignmentStoreClass ? : typeof AssignmentStore|object
49
+ /**
50
+ * `true` to enable automatic [% done](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/EventModel#field-percentDone) calculation for summary
51
+ * tasks, `false` to disable it.
52
+ */
53
+ autoCalculatePercentDoneForParentTasks ? : Boolean
54
+ /**
55
+ * Specify `true` to automatically call [load](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) method on the next frame after creation.
56
+ * ...
57
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-autoLoad)
58
+ */
59
+ autoLoad ? : Boolean
60
+ /**
61
+ * When `true` (default) adjacent or overlapping event segments get merged automatically.
62
+ */
63
+ autoMergeAdjacentSegments ? : Boolean
64
+ /**
65
+ * `true` to automatically persist store changes after edits are made in any of the stores monitored.
66
+ * Please note that sync request will not be invoked immediately but only after
67
+ * [autoSyncTimeout](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#config-autoSyncTimeout) interval.
68
+ */
69
+ autoSync ? : Boolean
70
+ /**
71
+ * The timeout in milliseconds to wait before persisting changes to the server.
72
+ * Used when [autoSync](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#config-autoSync) is set to `true`.
73
+ */
74
+ autoSyncTimeout ? : number
75
+ /**
76
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
77
+ * hierarchy when triggered.
78
+ * ...
79
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-bubbleEvents)
80
+ */
81
+ bubbleEvents ? : object
82
+ /**
83
+ * The project calendar.
84
+ */
85
+ calendar ? : string|CalendarModelConfig|CalendarModel
86
+ /**
87
+ * A [CalendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/CalendarManagerStore) instance or a config object.
88
+ */
89
+ calendarManagerStore ? : CalendarManagerStore|CalendarManagerStoreConfig
90
+ /**
91
+ * The constructor to create a calendar store instance with. Should be a class, subclassing the
92
+ * [CalendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/CalendarManagerStore)
93
+ */
94
+ calendarManagerStoreClass ? : typeof CalendarManagerStore|object
95
+ /**
96
+ * The constructor of the calendar model class, to be used in the project. Will be set as the
97
+ * [modelClass](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-modelClass) property of the
98
+ * [calendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-calendarManagerStore)
99
+ */
100
+ calendarModelClass ? : typeof CalendarModel
101
+ /**
102
+ * Data use to fill the [eventStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-eventStore). Should be a [CalendarModel](#SchedulerPro/model/CalendarModel)
103
+ * array or its configuration objects.
104
+ */
105
+ calendars ? : CalendarModel[]|CalendarModelConfig[]
106
+ /**
107
+ * The initial data, to fill the [calendarManagerStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-calendarManagerStore) with.
108
+ * Should be an array of [CalendarModel](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/CalendarModel) or it's configuration objects.
109
+ */
110
+ calendarsData ? : CalendarModel[]
111
+ /**
112
+ * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
113
+ * ...
114
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-callOnFunctions)
115
+ */
116
+ callOnFunctions ? : Boolean
117
+ /**
118
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
119
+ * application state is undefined. Code which follows the event handler will *not* be executed.
120
+ * ...
121
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-catchEventHandlerExceptions)
122
+ */
123
+ catchEventHandlerExceptions ? : Boolean
124
+ /**
125
+ * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
126
+ * tasks.
127
+ * ...
128
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-children)
129
+ */
130
+ children ? : Boolean|object[]|Model[]|ModelConfig[]
131
+ /**
132
+ * Sets the list of stores controlled by the CRUD manager.
133
+ * ...
134
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-crudStores)
135
+ */
136
+ crudStores ? : Store[]|string[]|CrudManagerStoreDescriptor[]|StoreConfig[]
137
+ /**
138
+ * The number of days per month.
139
+ * ...
140
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-daysPerMonth)
141
+ */
142
+ daysPerMonth ? : number
143
+ /**
144
+ * The number of days per week.
145
+ * ...
146
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-daysPerWeek)
147
+ */
148
+ daysPerWeek ? : number
149
+ /**
150
+ * Enables early rendering in SchedulerPro, by postponing calculations to after the first refresh.
151
+ * ...
152
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-delayCalculation)
153
+ */
154
+ delayCalculation ? : Boolean
155
+ /**
156
+ * Data use to fill the [dependencyStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-dependencyStore). Should be an array of
157
+ * [DependencyModels](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/DependencyModel) or its configuration objects.
158
+ */
159
+ dependencies ? : DependencyModel[]|DependencyModelConfig[]
160
+ /**
161
+ * The source of the calendar for dependencies (the calendar used for taking dependencies lag into account).
162
+ * Possible values are:
163
+ * ...
164
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-dependenciesCalendar)
165
+ */
166
+ dependenciesCalendar ? : 'ToEvent'|'FromEvent'|'Project'
167
+ /**
168
+ * The initial data, to fill the [dependencyStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-dependencyStore) with.
169
+ * Should be an array of [DependencyModels](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/DependencyModel) or its configuration
170
+ * objects.
171
+ * @deprecated 6.3.0 Use [dependencies](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-dependencies) instead
172
+ */
173
+ dependenciesData ? : DependencyModel[]
174
+ /**
175
+ * The constructor of the dependency model class, to be used in the project. Will be set as the
176
+ * [modelClass](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-modelClass) property of the [dependencyStore](#SchedulerPro/model/ProjectModel#property-dependencyStore)
177
+ */
178
+ dependencyModelClass ? : typeof DependencyModel
179
+ /**
180
+ * A [DependencyStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/DependencyStore) instance or a config object.
181
+ */
182
+ dependencyStore ? : DependencyStore|DependencyStoreConfig
183
+ /**
184
+ * The constructor to create a dependency store instance with. Should be a class, subclassing the
185
+ * [DependencyStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/DependencyStore)
186
+ */
187
+ dependencyStoreClass ? : typeof DependencyStore|object
188
+ /**
189
+ * Set to `true` to enable calculation progress notifications.
190
+ * When enabled the project fires [progress](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#event-progress) event.
191
+ * ...
192
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-enableProgressNotifications)
193
+ */
194
+ enableProgressNotifications ? : Boolean
195
+ /**
196
+ * Configuration of the JSON encoder used by the *Crud Manager*.
197
+ */
198
+ encoder ? : {
199
+ requestData?: object
200
+ }
201
+ /**
202
+ * The constructor of the event model class, to be used in the project. Will be set as the
203
+ * [modelClass](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-modelClass) property of the [eventStore](#SchedulerPro/model/ProjectModel#property-eventStore)
204
+ */
205
+ eventModelClass ? : typeof EventModel
206
+ /**
207
+ * Data use to fill the [eventStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-eventStore). Should be an array of
208
+ * [EventModels](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/EventModel) or its configuration objects.
209
+ */
210
+ events ? : EventModel[]|EventModelConfig[]
211
+ /**
212
+ * The initial data, to fill the [eventStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-eventStore) with.
213
+ * Should be an array of [EventModels](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/EventModel) or its configuration objects.
214
+ * @deprecated 6.3.0 Use [events](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-events) instead
215
+ */
216
+ eventsData ? : EventModel[]
217
+ /**
218
+ * An [EventStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/EventStore) instance or a config object.
219
+ */
220
+ eventStore ? : EventStore|EventStoreConfig
221
+ /**
222
+ * The constructor to create an event store instance with. Should be a class, subclassing the
223
+ * [EventStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/EventStore)
224
+ */
225
+ eventStoreClass ? : typeof EventStore|object
226
+ /**
227
+ * Start expanded or not (only valid for tree data)
228
+ */
229
+ expanded ? : Boolean
230
+ /**
231
+ * Specify as `true` to force sync requests to be sent when calling `sync()`, even if there are no local
232
+ * changes. Useful in a polling scenario, to keep client up to date with the backend.
233
+ */
234
+ forceSync ? : Boolean
235
+ /**
236
+ * The number of hours per day.
237
+ * ...
238
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-hoursPerDay)
239
+ */
240
+ hoursPerDay ? : number
241
+ /**
242
+ * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as
243
+ * record.id. Will get a generated value if none is specified in records data.
244
+ * ...
245
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-id)
246
+ */
247
+ id ? : string|number
248
+ /**
249
+ * Set to `true` to make STM ignore changes coming from the backend. This will allow user to only undo redo
250
+ * local changes.
251
+ */
252
+ ignoreRemoteChangesInSTM ? : Boolean
253
+ /**
254
+ * Set to `false` to only include the id of a removed parent node in the request to the backend (also
255
+ * affects programmatic calls to get [changes](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#property-changes) etc.), and not the ids of its children.
256
+ * ...
257
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-includeChildrenInRemoveRequest)
258
+ */
259
+ includeChildrenInRemoveRequest ? : Boolean
260
+ /**
261
+ * Whether to include legacy data properties in the JSON / inlineData output. The legacy data properties are
262
+ * the `xxData` (`eventsData`, `resourcesData` etc.) properties that are deprecated and will be removed in
263
+ * the future.
264
+ * @deprecated 6.3.0 This config will be removed when the eventsData, resourcesData etc. properties are removed in a future release.
265
+ */
266
+ includeLegacyDataProperties ? : Boolean
267
+ /**
268
+ * This field is added to the class at runtime when the Store is configured with
269
+ * [lazyLoad](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any
270
+ * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer
271
+ * child records than requested.
272
+ * ...
273
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-isFullyLoaded)
274
+ */
275
+ isFullyLoaded ? : Boolean
276
+ /**
277
+ * Project data as a JSON string, used to populate its stores.
278
+ * ...
279
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-json)
280
+ */
281
+ json ? : string
282
+ /**
283
+ * If set to `true`, or a config object, this makes the CrudManager load records only when needed. When a record
284
+ * or a date range that is not already loaded is requested, a load request will be made to the specified URL.
285
+ * More more details about lazy loading, see the [guide](https://bryntum.com/products/schedulerpro/docs/api/Grid/guides/data/lazyloading.md)
286
+ * @param {object} lazyLoad Lazy load config
287
+ * @param {number} lazyLoad.chunkSize The number of records to be loaded before and after the requested index (only affects the ResourceStore).
288
+ * @param {DurationUnit} bufferUnit Used together with bufferAmount to calculate the start and end dates of each load request. The value is added to the current visible start or end date. Defaults to the visible time span length (does not affect ResourceStore).
289
+ * @param {number} bufferAmount See `bufferUnit`
290
+ */
291
+ lazyLoad ? : Boolean|{lazyLoad: { chunkSize: number }, bufferUnit: DurationUnit, bufferAmount: number}
292
+ /**
293
+ * The listener set for this object.
294
+ * ...
295
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-listeners)
296
+ */
297
+ listeners ? : ProjectModelListeners
298
+ /**
299
+ * Convenience shortcut to set only the url to load from, when you do not need to supply any other config
300
+ * options in the `load` section of the `transport` config.
301
+ * ...
302
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-loadUrl)
303
+ */
304
+ loadUrl ? : string
305
+ /**
306
+ * Maximum range the project calendars can iterate.
307
+ * The value is defined in milliseconds and by default equals `5 years` roughly.
308
+ * ...
309
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-maxCalendarRange)
310
+ */
311
+ maxCalendarRange ? : number
312
+ /**
313
+ * This is a read-only field provided in server synchronization packets to specify
314
+ * which position the node takes in the parent's ordered children array.
315
+ * This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering
316
+ * have no effect on it.
317
+ */
318
+ orderedParentIndex ? : number
319
+ /**
320
+ * The number of Resource records each page should contain, when using [remotePaging](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/mixin/LazyLoadCrudManager#config-remotePaging)
321
+ */
322
+ pageSize ? : number
323
+ /**
324
+ * This is a read-only field provided in server synchronization packets to specify
325
+ * which record id is the parent of the record.
326
+ */
327
+ parentId ? : string|number|null
328
+ /**
329
+ * This is a read-only field provided in server synchronization packets to specify
330
+ * which position the node takes in the parent's children array.
331
+ * This index is set on load and gets updated automatically after row reordering, sorting, etc.
332
+ * To save the order, need to persist the field on the server and when data is fetched to be loaded,
333
+ * need to sort by this field.
334
+ */
335
+ parentIndex ? : number
336
+ /**
337
+ * Field name to be used to transfer a phantom record identifier.
338
+ */
339
+ phantomIdField ? : string
340
+ /**
341
+ * Field name to be used to transfer a phantom parent record identifier.
342
+ */
343
+ phantomParentIdField ? : string
344
+ /**
345
+ * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
346
+ * features such as cell editing and event dragging.
347
+ * ...
348
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-readOnly)
349
+ */
350
+ readOnly ? : Boolean
351
+ /**
352
+ * This field is added to the class at runtime when the Store is configured with
353
+ * [lazyLoad](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-lazyLoad). The
354
+ * number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.
355
+ * @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/schedulerpro/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/schedulerpro/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.
356
+ */
357
+ remoteChildCount ? : number
358
+ /**
359
+ * If set to `true`, this makes the CrudManager load pages of data, instead of loading the complete dataset at
360
+ * once. The requests made to the [loadUrl](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#config-loadUrl) will contain
361
+ * params with info about the current dataset being requested:
362
+ * ...
363
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-remotePaging)
364
+ */
365
+ remotePaging ? : Boolean
366
+ /**
367
+ * When the CrudManager/Project is configured with [lazyLoad](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/mixin/LazyLoadCrudManager#config-lazyLoad) set to `true`, you can configure
368
+ * your own data fetching logic by implementing this function. Doing this will override the built-in fetching
369
+ * mechanism using the [loadUrl](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/CrudManager#config-loadUrl).
370
+ * ...
371
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-requestData)
372
+ * @param {LazyLoadCrudManagerRequestParams} params Object containing info of what data is requested
373
+ * @returns {CrudManagerRequestResponse}
374
+ */
375
+ requestData ? : (params: LazyLoadCrudManagerRequestParams) => Promise<CrudManagerRequestResponse>
376
+ /**
377
+ * `True` to reset identifiers (defined by `idField` config) of phantom records before submitting them
378
+ * to the server.
379
+ */
380
+ resetIdsBeforeSync ? : Boolean
381
+ /**
382
+ * Set to `true` to reset the undo/redo queues of the internal [StateTrackingManager](https://bryntum.com/products/schedulerpro/docs/api/Core/data/stm/StateTrackingManager)
383
+ * after the Project has loaded. Defaults to `false`
384
+ */
385
+ resetUndoRedoQueuesAfterLoad ? : Boolean
386
+ /**
387
+ * Class implementing resource allocation report used by
388
+ * [resource histogram](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram) and
389
+ * [resource utilization](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceUtilization) views
390
+ * for collecting resource allocation.
391
+ */
392
+ resourceAllocationInfoClass ? : ResourceAllocationInfo
393
+ /**
394
+ * The constructor of the resource model class, to be used in the project. Will be set as the
395
+ * [modelClass](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-modelClass) property of the [resourceStore](#SchedulerPro/model/ProjectModel#property-resourceStore)
396
+ */
397
+ resourceModelClass ? : typeof ResourceModel
398
+ /**
399
+ * Data use to fill the [resourceStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-resourceStore). Should be an array of
400
+ * [ResourceModels](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel) or its configuration objects.
401
+ */
402
+ resources ? : ResourceModel[]|ResourceModelConfig[]
403
+ /**
404
+ * The initial data, to fill the [resourceStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-resourceStore) with.
405
+ * Should be an array of [ResourceModels](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ResourceModel) or its configuration objects.
406
+ * @deprecated 6.3.0 Use [resources](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-resources) instead
407
+ */
408
+ resourcesData ? : ResourceModel[]
409
+ /**
410
+ * A [ResourceStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/ResourceStore) instance or a config object.
411
+ */
412
+ resourceStore ? : ResourceStore|ResourceStoreConfig
413
+ /**
414
+ * The constructor to create a resource store instance with. Should be a class, subclassing the
415
+ * [ResourceStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/ResourceStore)
416
+ */
417
+ resourceStoreClass ? : typeof ResourceStore|object
418
+ /**
419
+ * Data use to fill the [resourceTimeRangeStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-resourceTimeRangeStore). Should be an array
420
+ * of [ResourceTimeRangeModels](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/ResourceTimeRangeModel) or its configuration objects.
421
+ */
422
+ resourceTimeRanges ? : ResourceTimeRangeModel[]|ResourceTimeRangeModelConfig[]
423
+ /**
424
+ * The initial data, to fill the [resourceTimeRangeStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-resourceTimeRangeStore) with.
425
+ * Should be an array of [ResourceTimeRangeModel](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/ResourceTimeRangeModel) or it's
426
+ * configuration objects.
427
+ * @deprecated 6.3.0 Use resourceTimeRanges instead
428
+ */
429
+ resourceTimeRangesData ? : ResourceTimeRangeModel[]
430
+ /**
431
+ * A [ResourceTimeRangeStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/ResourceTimeRangeStore) instance or a config object.
432
+ */
433
+ resourceTimeRangeStore ? : ResourceTimeRangeStore|ResourceTimeRangeStoreConfig
434
+ /**
435
+ * The constructor to create a resource time range store instance with. Should be a class subclassing the
436
+ * [ResourceTimeRangeStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/ResourceTimeRangeStore)
437
+ */
438
+ resourceTimeRangeStoreClass ? : typeof ResourceTimeRangeStore|object
439
+ /**
440
+ * Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and
441
+ * if it does - which records that should be processed. Only called for stores that are configured with
442
+ * `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).
443
+ * ...
444
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-shouldSyncDataOnLoad)
445
+ * @param {object} options Options passed by the store to this hook
446
+ * @param {Core.data.Store} options.store Store about to be synced
447
+ * @param {Core.data.Model} options.records Records currently in the store
448
+ * @param {object[]} options.data Incoming data
449
+ * @returns {Set<any>,boolean} Return `false` to prevent the store from syncing, or a set of record ids that need further processing (for records that has some kind of change, eg. an update, removal or addition)
450
+ */
451
+ shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean
452
+ /**
453
+ * Silences propagations caused by the project loading.
454
+ * ...
455
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit)
456
+ */
457
+ silenceInitialCommit ? : Boolean
458
+ /**
459
+ * When `true` the project's manually scheduled tasks duration will include only working periods of time.
460
+ * When `false` such tasks will ignore working time calendars and treat all intervals as working.
461
+ * ...
462
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeInDurationWhenSchedulingManually)
463
+ */
464
+ skipNonWorkingTimeInDurationWhenSchedulingManually ? : Boolean
465
+ /**
466
+ * When `true` the project's manually scheduled tasks will adjust their proposed start/end dates to skip non-working
467
+ * time.
468
+ * ...
469
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeWhenSchedulingManually)
470
+ */
471
+ skipNonWorkingTimeWhenSchedulingManually ? : Boolean
472
+ /**
473
+ * When `true` treats parsed responses without `success` property as successful.
474
+ * In this mode a parsed response is treated as invalid if it has explicitly set `success : false`.
475
+ */
476
+ skipSuccessProperty ? : Boolean
477
+ /**
478
+ * Configuration options to provide to the STM manager
479
+ */
480
+ stm ? : StateTrackingManagerConfig|CoreStateTrackingManager
481
+ /**
482
+ * Name of a store property to retrieve store identifiers from. Make sure you have an instance of a
483
+ * store to use it by id. Store identifier is used as a container name holding corresponding store data
484
+ * while transferring them to/from the server. By default, `id` property is used. And in case a
485
+ * container identifier has to differ this config can be used:
486
+ * ...
487
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-storeIdProperty)
488
+ */
489
+ storeIdProperty ? : string
490
+ /**
491
+ * When `true` the Crud Manager does not require all updated and removed records to be mentioned in the
492
+ * *sync* response. In this case response should include only server side changes.
493
+ * ...
494
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-supportShortSyncResponse)
495
+ */
496
+ supportShortSyncResponse ? : Boolean
497
+ /**
498
+ * An array of store identifiers sets an alternative sync responses apply order.
499
+ * By default, the order in which sync responses are applied to the stores is the same as they
500
+ * registered in. But in case of some tricky dependencies between stores this order can be changed:
501
+ * ...
502
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-syncApplySequence)
503
+ */
504
+ syncApplySequence ? : string[]|CrudManagerStoreDescriptor[]
505
+ /**
506
+ * Convenience shortcut to set only the url to sync to, when you do not need to supply any other config
507
+ * options in the `sync` section of the `transport` config.
508
+ * ...
509
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-syncUrl)
510
+ */
511
+ syncUrl ? : string
512
+ /**
513
+ * An [EventStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/EventStore) instance or a config object.
514
+ */
515
+ taskStore ? : EventStore|EventStoreConfig
516
+ /**
517
+ * Data use to fill the [timeRangeStore](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#property-timeRangeStore). Should be an array of
518
+ * [TimeSpans](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/TimeSpan) or its configuration objects.
519
+ */
520
+ timeRanges ? : TimeSpan[]|TimeSpanConfig[]
521
+ /**
522
+ * The initial data, to fill the [timeRangeStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-timeRangeStore) with.
523
+ * Should be an array of [TimeSpan](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/TimeSpan) or its configuration objects.
524
+ * @deprecated 6.3.0 Use timeRanges instead
525
+ */
526
+ timeRangesData ? : TimeSpan[]
527
+ /**
528
+ * A [Store](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store) instance or a config object.
529
+ */
530
+ timeRangeStore ? : Store|StoreConfig
531
+ /**
532
+ * The constructor to create a time range store instance with. Should be a class subclassing the
533
+ * [TimeRangeStore](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/TimeRangeStore)
534
+ */
535
+ timeRangeStoreClass ? : typeof TimeRangeStore|object
536
+ /**
537
+ * Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will
538
+ * convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the
539
+ * displayed timeline's headers as well at the start and end date of it.
540
+ * ...
541
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-timeZone)
542
+ */
543
+ timeZone ? : string|number
544
+ /**
545
+ * Specifies the output format of [toJSON](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).
546
+ * ...
547
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-toJSONResultFormat)
548
+ */
549
+ toJSONResultFormat ? : 'inlineData'|'model'
550
+ /**
551
+ * If `true`, project [changes](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/data/mixin/ProjectCrudManager#property-changes) API will also report project model changes: start/end date,
552
+ * calendar, effort, duration, etc.
553
+ */
554
+ trackProjectModelChanges ? : Boolean
555
+ /**
556
+ * When `true` forces the CRUD manager to process responses depending on their `type` attribute.
557
+ * So `load` request may be responded with `sync` response for example.
558
+ * Can be used for smart server logic allowing the server to decide when it's better to respond with a
559
+ * complete data set (`load` response) or it's enough to return just a delta (`sync` response).
560
+ */
561
+ trackResponseType ? : Boolean
562
+ /**
563
+ * Configuration of the AJAX requests used by *Crud Manager* to communicate with a server-side.
564
+ * ...
565
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-transport)
566
+ */
567
+ transport ? : {
568
+ load?: object
569
+ sync?: object
570
+ }
571
+ /**
572
+ * By default, the stores of a project use the raw data objects passed to them as the data source for their
573
+ * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
574
+ * the data objects are instead by default cloned to avoid the original data object being modified by the
575
+ * store.
576
+ * ...
577
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-useRawData)
578
+ */
579
+ useRawData ? : Boolean
580
+ /**
581
+ * This config validates the response structure for requests made by the Crud Manager.
582
+ * When `true`, the Crud Manager checks every parsed response structure for errors
583
+ * and if the response format is invalid, a warning is logged to the browser console.
584
+ * ...
585
+ * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-validateResponse)
586
+ */
587
+ validateResponse ? : Boolean
588
+ /**
589
+ * `true` to write all fields from the record to the server.
590
+ * If set to `false` it will only send the fields that were modified.
591
+ * Note that any fields that have [persist](https://bryntum.com/products/schedulerpro/docs/api/Core/data/field/DataField#config-persist) set to `false` will
592
+ * still be ignored and fields having [alwaysWrite](https://bryntum.com/products/schedulerpro/docs/api/Core/data/field/DataField#config-alwaysWrite) set to `true`
593
+ * will always be included.
594
+ */
595
+ writeAllFields ? : Boolean
596
+
597
+ }