@bryntum/gantt-angular-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 (28) hide show
  1. package/README.md +44 -0
  2. package/bryntum-gantt-angular-thin.d.ts +5 -0
  3. package/bundles/bryntum-gantt-angular-thin.umd.js +14832 -0
  4. package/bundles/bryntum-gantt-angular-thin.umd.js.map +1 -0
  5. package/esm2015/bryntum-gantt-angular-thin.js +5 -0
  6. package/esm2015/lib/bryntum-assignment-field.component.js +941 -0
  7. package/esm2015/lib/bryntum-assignment-grid.component.js +2111 -0
  8. package/esm2015/lib/bryntum-calendar-picker.component.js +933 -0
  9. package/esm2015/lib/bryntum-dependency-field.component.js +961 -0
  10. package/esm2015/lib/bryntum-gantt-base.component.js +4219 -0
  11. package/esm2015/lib/bryntum-gantt-project-model.component.js +923 -0
  12. package/esm2015/lib/bryntum-gantt.component.js +4223 -0
  13. package/esm2015/lib/gantt.module.js +54 -0
  14. package/esm2015/lib/wrapper.helper.js +74 -0
  15. package/esm2015/public-api.js +12 -0
  16. package/fesm2015/bryntum-gantt-angular-thin.js +14387 -0
  17. package/fesm2015/bryntum-gantt-angular-thin.js.map +1 -0
  18. package/lib/bryntum-assignment-field.component.d.ts +1225 -0
  19. package/lib/bryntum-assignment-grid.component.d.ts +2292 -0
  20. package/lib/bryntum-calendar-picker.component.d.ts +1200 -0
  21. package/lib/bryntum-dependency-field.component.d.ts +1241 -0
  22. package/lib/bryntum-gantt-base.component.d.ts +4468 -0
  23. package/lib/bryntum-gantt-project-model.component.d.ts +1106 -0
  24. package/lib/bryntum-gantt.component.d.ts +4470 -0
  25. package/lib/gantt.module.d.ts +13 -0
  26. package/lib/wrapper.helper.d.ts +26 -0
  27. package/package.json +33 -0
  28. package/public-api.d.ts +8 -0
@@ -0,0 +1,1106 @@
1
+ /**
2
+ * Angular wrapper for Bryntum ProjectModel
3
+ */
4
+ import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
5
+ import { DurationUnit, Model, ModelConfig, StateTrackingManager as CoreStateTrackingManager, Store, StoreConfig } from '@bryntum/core-thin';
6
+ import { CrudManagerRequestResponse, CrudManagerStoreDescriptor, LazyLoadCrudManagerRequestParams, TimeRangeModel, TimeRangeModelConfig, TimeRangeStore, TimeRangeStoreConfig, TimeSpan, TimeSpanConfig } from '@bryntum/scheduler-thin';
7
+ import { EventSegmentModel, StateTrackingManagerConfig } from '@bryntum/schedulerpro-thin';
8
+ import { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CalendarManagerStore, CalendarManagerStoreConfig, CalendarModel, CalendarModelConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, ProjectModel, ProjectModelListeners, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, TaskModel, TaskModelConfig, TaskStore, TaskStoreConfig } from '@bryntum/gantt-thin';
9
+ import * as i0 from "@angular/core";
10
+ export declare type BryntumGanttProjectModelProps = {
11
+ /**
12
+ * If this flag is set to `true` (default) when a start/end date is set on the event, a corresponding
13
+ * `start-no-earlier/later-than` constraint is added, automatically. This is done in order to
14
+ * keep the event "attached" to this date, according to the user intention.
15
+ * ...
16
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-addConstraintOnDateSet)
17
+ */
18
+ addConstraintOnDateSet?: boolean;
19
+ /**
20
+ * This config manages DST correction in the scheduling engine. It only has effect when DST transition hour is
21
+ * working time. Usually DST transition occurs on Sunday, so with non working weekends the DST correction logic
22
+ * is not involved.
23
+ * ...
24
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-adjustDurationToDST)
25
+ */
26
+ adjustDurationToDST?: boolean;
27
+ /**
28
+ * If this field is set to `true` scheduling conflicts
29
+ * will include an additional resolution option to "postpone" the conflict resolution.
30
+ * The conflict then is stored in the task
31
+ * [postponedConflict](https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-postponedConflict) field
32
+ * and can be visualized with the [TaskInfoColumn](https://bryntum.com/products/gantt/docs/api/Gantt/column/TaskInfoColumn).
33
+ * ...
34
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-allowPostponedConflicts)
35
+ */
36
+ allowPostponedConflicts?: boolean;
37
+ /**
38
+ * The constructor of the assignment model class, to be used in the project. Will be set as the [modelClass](https://bryntum.com/products/gantt/docs/api/Core/data/Store#config-modelClass)
39
+ * property of the [assignmentStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-assignmentStore)
40
+ */
41
+ assignmentModelClass?: typeof AssignmentModel;
42
+ /**
43
+ * Data use to fill the [assignmentStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-assignmentStore). Should be an array of
44
+ * [AssignmentModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/AssignmentModel) or its configuration objects.
45
+ */
46
+ assignments?: AssignmentModel[] | AssignmentModelConfig[];
47
+ /**
48
+ * The initial data, to fill the [assignmentStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-assignmentStore) with.
49
+ * Should be an array of [AssignmentModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/AssignmentModel) or configuration objects.
50
+ * @deprecated 6.3.0 Use [assignments](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-assignments) instead
51
+ */
52
+ assignmentsData?: AssignmentModelConfig[] | AssignmentModel[];
53
+ /**
54
+ * An [AssignmentStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/AssignmentStore) instance or a config object.
55
+ */
56
+ assignmentStore?: AssignmentStore | AssignmentStoreConfig;
57
+ /**
58
+ * The constructor to create a dependency store instance with. Should be a class, subclassing the [AssignmentStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/AssignmentStore)
59
+ */
60
+ assignmentStoreClass?: typeof AssignmentStore;
61
+ /**
62
+ * `true` to enable automatic [% done](https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-percentDone) calculation for summary
63
+ * tasks, `false` to disable it.
64
+ */
65
+ autoCalculatePercentDoneForParentTasks?: boolean;
66
+ /**
67
+ * Specify `true` to automatically call [load](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) method on the next frame after creation.
68
+ * ...
69
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-autoLoad)
70
+ */
71
+ autoLoad?: boolean;
72
+ /**
73
+ * When `true` (default) adjacent or overlapping task segments get merged automatically.
74
+ */
75
+ autoMergeAdjacentSegments?: boolean;
76
+ /**
77
+ * If this field is set to `true` scheduling conflicts
78
+ * will not show the conflict resolution popup but instead will be saved into
79
+ * tasks [postponedConflict](https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-postponedConflict) field.
80
+ * ...
81
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-autoPostponeConflicts)
82
+ */
83
+ autoPostponeConflicts?: boolean;
84
+ /**
85
+ * If this field is set to `true` scheduling conflicts
86
+ * will not show the conflict resolution popup but instead will be saved into
87
+ * tasks [postponedConflict](https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel#field-postponedConflict) field.
88
+ * @deprecated Please use [autoPostponeConflicts](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#field-autoPostponeConflicts) field name.
89
+ */
90
+ autoPostponedConflicts?: boolean;
91
+ /**
92
+ * When this flag is enabled (default), manually scheduled tasks are scheduled automatically on the 2nd scheduling pass.
93
+ * This is a backward pass ("late" start/end dates) for forward-scheduled project and forward pass
94
+ * ("early" start/end dates) for backward-scheduled project. Because of it, manually scheduled tasks
95
+ * may have non-zero slack.
96
+ * ...
97
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-autoScheduleManualTasksOnSecondPass)
98
+ */
99
+ autoScheduleManualTasksOnSecondPass?: boolean;
100
+ /**
101
+ * When set to `true`, pins a task at its starting date. Otherwise, it is rescheduled to the
102
+ * project's starting date if there is no predecessor or constraint supplied.
103
+ * ...
104
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-autoSetConstraints)
105
+ */
106
+ autoSetConstraints?: boolean;
107
+ /**
108
+ * `true` to automatically persist store changes after edits are made in any of the stores monitored.
109
+ * Please note that sync request will not be invoked immediately but only after
110
+ * [autoSyncTimeout](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#config-autoSyncTimeout) interval.
111
+ */
112
+ autoSync?: boolean;
113
+ /**
114
+ * The timeout in milliseconds to wait before persisting changes to the server.
115
+ * Used when [autoSync](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#config-autoSync) is set to `true`.
116
+ */
117
+ autoSyncTimeout?: number;
118
+ /**
119
+ * An object where property names with a truthy value indicate which events should bubble up the ownership
120
+ * hierarchy when triggered.
121
+ * ...
122
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-bubbleEvents)
123
+ */
124
+ bubbleEvents?: object;
125
+ /**
126
+ * Enables backward compatible conflicts postponing logic
127
+ * covering only conflicts between a task constraint and its incoming dependencies.
128
+ * @deprecated The flag is added as a temporary solution and is going to be removed in a next release. Please contact us if you need that old behavior.
129
+ */
130
+ bwcConflictPostpone?: boolean;
131
+ /**
132
+ * The project calendar.
133
+ */
134
+ calendar?: string | CalendarModelConfig | CalendarModel;
135
+ /**
136
+ * A [CalendarManagerStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/CalendarManagerStore) instance or a config object.
137
+ */
138
+ calendarManagerStore?: CalendarManagerStore | CalendarManagerStoreConfig;
139
+ /**
140
+ * The constructor to create a calendar store instance with. Should be a class, subclassing the [CalendarManagerStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/CalendarManagerStore)
141
+ */
142
+ calendarManagerStoreClass?: typeof CalendarManagerStore;
143
+ /**
144
+ * The constructor of the calendar model class, to be used in the project. Will be set as the [modelClass](https://bryntum.com/products/gantt/docs/api/Core/data/Store#config-modelClass)
145
+ * property of the [calendarManagerStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-calendarManagerStore)
146
+ */
147
+ calendarModelClass?: typeof CalendarModel;
148
+ /**
149
+ * Data use to fill the [calendarManagerStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-calendarManagerStore). Should be a
150
+ * [CalendarModel](https://bryntum.com/products/gantt/docs/api/Gantt/model/CalendarModel) array or its configuration objects.
151
+ */
152
+ calendars?: CalendarModel[] | CalendarModelConfig[];
153
+ /**
154
+ * The initial data, to fill the [calendarManagerStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-calendarManagerStore) with.
155
+ * Should be an array of [CalendarModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/CalendarModel) or configuration objects.
156
+ * @deprecated 6.3.0 Use [calendars](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-calendars) instead
157
+ */
158
+ calendarsData?: CalendarModelConfig[] | CalendarModel[];
159
+ /**
160
+ * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
161
+ * ...
162
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-callOnFunctions)
163
+ */
164
+ callOnFunctions?: boolean;
165
+ /**
166
+ * By default, if an event handler throws an exception, the error propagates up the stack and the
167
+ * application state is undefined. Code which follows the event handler will *not* be executed.
168
+ * ...
169
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-catchEventHandlerExceptions)
170
+ */
171
+ catchEventHandlerExceptions?: boolean;
172
+ /**
173
+ * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
174
+ * tasks.
175
+ * ...
176
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-children)
177
+ */
178
+ children?: boolean | object[] | Model[] | ModelConfig[];
179
+ /**
180
+ * Sets the list of stores controlled by the CRUD manager.
181
+ * ...
182
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-crudStores)
183
+ */
184
+ crudStores?: Store[] | string[] | CrudManagerStoreDescriptor[] | StoreConfig[];
185
+ /**
186
+ * The number of days per month.
187
+ * ...
188
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-daysPerMonth)
189
+ */
190
+ daysPerMonth?: number;
191
+ /**
192
+ * The number of days per week.
193
+ * ...
194
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-daysPerWeek)
195
+ */
196
+ daysPerWeek?: number;
197
+ /**
198
+ * Enables early rendering in Gantt, by postponing calculations to after the first refresh.
199
+ * ...
200
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-delayCalculation)
201
+ */
202
+ delayCalculation?: boolean;
203
+ /**
204
+ * Data use to fill the [dependencyStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-dependencyStore). Should be an array of
205
+ * [DependencyModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/DependencyModel) or its configuration objects.
206
+ */
207
+ dependencies?: DependencyModel[] | DependencyModelConfig[];
208
+ /**
209
+ * The source of the calendar for dependencies (the calendar used for taking dependencies lag into account).
210
+ * Possible values are:
211
+ * ...
212
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-dependenciesCalendar)
213
+ */
214
+ dependenciesCalendar?: 'ToEvent' | 'FromEvent' | 'Project' | 'AllWorking';
215
+ /**
216
+ * The initial data, to fill the [dependencyStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-dependencyStore) with.
217
+ * Should be an array of [DependencyModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/DependencyModel) or configuration objects.
218
+ * @deprecated 6.3.0 Use [dependencies](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-dependencies) instead
219
+ */
220
+ dependenciesData?: DependencyModelConfig[] | DependencyModel[];
221
+ /**
222
+ * The constructor of the dependency model class, to be used in the project. Will be set as the [modelClass](https://bryntum.com/products/gantt/docs/api/Core/data/Store#config-modelClass)
223
+ * property of the [dependencyStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-dependencyStore)
224
+ */
225
+ dependencyModelClass?: typeof DependencyModel;
226
+ /**
227
+ * A [DependencyStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/DependencyStore) instance or a config object.
228
+ */
229
+ dependencyStore?: DependencyStore | DependencyStoreConfig;
230
+ /**
231
+ * The constructor to create a dependency store instance with. Should be a class, subclassing the [DependencyStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/DependencyStore)
232
+ */
233
+ dependencyStoreClass?: typeof DependencyStore;
234
+ /**
235
+ * Description of the project
236
+ */
237
+ description?: string;
238
+ /**
239
+ * The scheduling direction of the project tasks.
240
+ * The `Forward` direction corresponds to the As-Soon-As-Possible (ASAP) scheduling,
241
+ * `Backward` - to As-Late-As-Possible (ALAP).
242
+ * ...
243
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-direction)
244
+ */
245
+ direction?: 'Forward' | 'Backward';
246
+ /**
247
+ * Set to `true` to enable calculation progress notifications.
248
+ * When enabled, the project fires [progress](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#event-progress) events and the Gantt chart load mask reacts by showing a progress bar for the Engine calculations.
249
+ * ...
250
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-enableProgressNotifications)
251
+ */
252
+ enableProgressNotifications?: boolean;
253
+ /**
254
+ * Configuration of the JSON encoder used by the *Crud Manager*.
255
+ */
256
+ encoder?: {
257
+ requestData?: object;
258
+ };
259
+ /**
260
+ * End date of the project in the ISO 8601 format.
261
+ * The value is calculated as the latest date among all tasks.
262
+ * ...
263
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-endDate)
264
+ */
265
+ endDate?: string | Date;
266
+ /**
267
+ * Alias to [tasksData](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-tasksData).
268
+ * @deprecated 6.3.0 Use [tasks](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-tasks) instead
269
+ */
270
+ eventsData?: TaskModelConfig[] | TaskModel[];
271
+ /**
272
+ * A [TaskStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/TaskStore) instance or a config object.
273
+ */
274
+ eventStore?: TaskStore | TaskStoreConfig;
275
+ /**
276
+ * Start expanded or not (only valid for tree data)
277
+ */
278
+ expanded?: boolean;
279
+ /**
280
+ * Specify as `true` to force sync requests to be sent when calling `sync()`, even if there are no local
281
+ * changes. Useful in a polling scenario, to keep client up to date with the backend.
282
+ */
283
+ forceSync?: boolean;
284
+ /**
285
+ * The number of hours per day.
286
+ * ...
287
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-hoursPerDay)
288
+ */
289
+ hoursPerDay?: number;
290
+ /**
291
+ * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as
292
+ * record.id. Will get a generated value if none is specified in records data.
293
+ * ...
294
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-id)
295
+ */
296
+ id?: string | number;
297
+ /**
298
+ * <strong>This option is experimental and subject for possible change</strong>.
299
+ * ...
300
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-ignoreConstraintsOnConflictDuringSecondPass)
301
+ * @deprecated The option is no longer needed since the code now by default ignores conflicts faced on the second pass.
302
+ */
303
+ ignoreConstraintsOnConflictDuringSecondPass?: boolean;
304
+ /**
305
+ * Set to `true` to make STM ignore changes coming from the backend. This will allow user to only undo redo
306
+ * local changes.
307
+ */
308
+ ignoreRemoteChangesInSTM?: boolean;
309
+ /**
310
+ * Whether to include "As soon as possible" and "As late as possible" in the list of the constraints,
311
+ * for compatibility with the MS Project. Enabled by default.
312
+ * ...
313
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-includeAsapAlapAsConstraints)
314
+ */
315
+ includeAsapAlapAsConstraints?: boolean;
316
+ /**
317
+ * Set to `false` to only include the id of a removed parent node in the request to the backend (also
318
+ * affects programmatic calls to get [changes](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#property-changes) etc.), and not the ids of its children.
319
+ * ...
320
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-includeChildrenInRemoveRequest)
321
+ */
322
+ includeChildrenInRemoveRequest?: boolean;
323
+ /**
324
+ * Whether to include legacy data properties in the JSON / inlineData output. The legacy data properties are
325
+ * the `xxData` (`eventsData`, `resourcesData` etc.) properties that are deprecated and will be removed in
326
+ * the future.
327
+ * @deprecated 6.3.0 This config will be removed when the eventsData, resourcesData etc. properties are removed in a future release.
328
+ */
329
+ includeLegacyDataProperties?: boolean;
330
+ /**
331
+ * This field is added to the class at runtime when the Store is configured with
332
+ * [lazyLoad](https://bryntum.com/products/gantt/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any
333
+ * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer
334
+ * child records than requested.
335
+ * ...
336
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-isFullyLoaded)
337
+ */
338
+ isFullyLoaded?: boolean;
339
+ /**
340
+ * Project data as a JSON string, used to populate its stores.
341
+ * ...
342
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-json)
343
+ */
344
+ json?: string;
345
+ /**
346
+ * If set to `true`, or a config object, this makes the CrudManager load records only when needed. When a record
347
+ * or a date range that is not already loaded is requested, a load request will be made to the specified URL.
348
+ * More more details about lazy loading, see the [guide](https://bryntum.com/products/gantt/docs/api/Grid/guides/data/lazyloading.md)
349
+ * @param {object} lazyLoad Lazy load config
350
+ * @param {number} lazyLoad.chunkSize The number of records to be loaded before and after the requested index (only affects the ResourceStore).
351
+ * @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).
352
+ * @param {number} bufferAmount See `bufferUnit`
353
+ */
354
+ lazyLoad?: boolean | {
355
+ lazyLoad: {
356
+ chunkSize: number;
357
+ };
358
+ bufferUnit: DurationUnit;
359
+ bufferAmount: number;
360
+ };
361
+ /**
362
+ * The listener set for this object.
363
+ * ...
364
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-listeners)
365
+ */
366
+ listeners?: ProjectModelListeners;
367
+ /**
368
+ * Convenience shortcut to set only the url to load from, when you do not need to supply any other config
369
+ * options in the `load` section of the `transport` config.
370
+ * ...
371
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-loadUrl)
372
+ */
373
+ loadUrl?: string;
374
+ /**
375
+ * Maximum range the project calendars can iterate.
376
+ * The value is defined in milliseconds and by default equals `5 years` roughly.
377
+ * ...
378
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-maxCalendarRange)
379
+ */
380
+ maxCalendarRange?: number;
381
+ /**
382
+ * The maximum number of *critical paths* to collect in [criticalPaths](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-criticalPaths).
383
+ * When critical tasks connectivity is high (there are many of such tasks having many
384
+ * critical predecessors) the tasks might produce a huge number of critical paths which
385
+ * can't really be handled by a browser.
386
+ * So this value limits the number of paths to collect to protect from such cases.
387
+ * ...
388
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-maxCriticalPathsCount)
389
+ */
390
+ maxCriticalPathsCount?: number;
391
+ /**
392
+ * Name of the project
393
+ */
394
+ name?: string;
395
+ /**
396
+ * This is a read-only field provided in server synchronization packets to specify
397
+ * which position the node takes in the parent's ordered children array.
398
+ * This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering
399
+ * have no effect on it.
400
+ */
401
+ orderedParentIndex?: number;
402
+ /**
403
+ * The number of Resource records each page should contain, when using [remotePaging](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/mixin/LazyLoadCrudManager#config-remotePaging)
404
+ */
405
+ pageSize?: number;
406
+ /**
407
+ * This is a read-only field provided in server synchronization packets to specify
408
+ * which record id is the parent of the record.
409
+ */
410
+ parentId?: string | number | null;
411
+ /**
412
+ * This is a read-only field provided in server synchronization packets to specify
413
+ * which position the node takes in the parent's children array.
414
+ * This index is set on load and gets updated automatically after row reordering, sorting, etc.
415
+ * To save the order, need to persist the field on the server and when data is fetched to be loaded,
416
+ * need to sort by this field.
417
+ */
418
+ parentIndex?: number;
419
+ /**
420
+ * Field name to be used to transfer a phantom record identifier.
421
+ */
422
+ phantomIdField?: string;
423
+ /**
424
+ * Field name to be used to transfer a phantom parent record identifier.
425
+ */
426
+ phantomParentIdField?: string;
427
+ /**
428
+ * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
429
+ * features such as cell editing and event dragging.
430
+ * ...
431
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-readOnly)
432
+ */
433
+ readOnly?: boolean;
434
+ /**
435
+ * This field is added to the class at runtime when the Store is configured with
436
+ * [lazyLoad](https://bryntum.com/products/gantt/docs/api/Core/data/Store#config-lazyLoad). The
437
+ * number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.
438
+ * @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/gantt/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/gantt/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.
439
+ */
440
+ remoteChildCount?: number;
441
+ /**
442
+ * If set to `true`, this makes the CrudManager load pages of data, instead of loading the complete dataset at
443
+ * once. The requests made to the [loadUrl](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#config-loadUrl) will contain
444
+ * params with info about the current dataset being requested:
445
+ * ...
446
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-remotePaging)
447
+ */
448
+ remotePaging?: boolean;
449
+ /**
450
+ * When the CrudManager/Project is configured with [lazyLoad](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/mixin/LazyLoadCrudManager#config-lazyLoad) set to `true`, you can configure
451
+ * your own data fetching logic by implementing this function. Doing this will override the built-in fetching
452
+ * mechanism using the [loadUrl](https://bryntum.com/products/gantt/docs/api/Scheduler/data/CrudManager#config-loadUrl).
453
+ * ...
454
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-requestData)
455
+ * @param {LazyLoadCrudManagerRequestParams} params Object containing info of what data is requested
456
+ * @returns {CrudManagerRequestResponse}
457
+ */
458
+ requestData?: (params: LazyLoadCrudManagerRequestParams) => Promise<CrudManagerRequestResponse>;
459
+ /**
460
+ * `True` to reset identifiers (defined by `idField` config) of phantom records before submitting them
461
+ * to the server.
462
+ */
463
+ resetIdsBeforeSync?: boolean;
464
+ /**
465
+ * Set to `true` to reset the undo/redo queues of the internal [StateTrackingManager](https://bryntum.com/products/gantt/docs/api/Core/data/stm/StateTrackingManager)
466
+ * after the Project has loaded. Defaults to `false`
467
+ */
468
+ resetUndoRedoQueuesAfterLoad?: boolean;
469
+ /**
470
+ * The constructor of the resource model class, to be used in the project. Will be set as the [modelClass](https://bryntum.com/products/gantt/docs/api/Core/data/Store#config-modelClass)
471
+ * property of the [resourceStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-resourceStore)
472
+ */
473
+ resourceModelClass?: typeof ResourceModel;
474
+ /**
475
+ * Data use to fill the [resourceStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-resourceStore). Should be an array of
476
+ * [ResourceModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/ResourceModel) or its configuration objects.
477
+ */
478
+ resources?: ResourceModel[] | ResourceModelConfig[];
479
+ /**
480
+ * The initial data, to fill the [resourceStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-resourceStore) with.
481
+ * Should be an array of [ResourceModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/ResourceModel) or configuration objects.
482
+ * @deprecated 6.3.0 Use [resources](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-resources) instead
483
+ */
484
+ resourcesData?: ResourceModelConfig[] | ResourceModel[];
485
+ /**
486
+ * A [ResourceStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/ResourceStore) instance or a config object.
487
+ */
488
+ resourceStore?: ResourceStore | ResourceStoreConfig;
489
+ /**
490
+ * The constructor to create a dependency store instance with. Should be a class, subclassing the [ResourceStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/ResourceStore)
491
+ */
492
+ resourceStoreClass?: typeof ResourceStore;
493
+ /**
494
+ * Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and
495
+ * if it does - which records that should be processed. Only called for stores that are configured with
496
+ * `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).
497
+ * ...
498
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-shouldSyncDataOnLoad)
499
+ * @param {object} options Options passed by the store to this hook
500
+ * @param {Core.data.Store} options.store Store about to be synced
501
+ * @param {Core.data.Model} options.records Records currently in the store
502
+ * @param {object[]} options.data Incoming data
503
+ * @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)
504
+ */
505
+ shouldSyncDataOnLoad?: (options: {
506
+ store: Store;
507
+ records: Model;
508
+ data: object[];
509
+ }) => Set<any> | boolean;
510
+ /**
511
+ * Silences propagations caused by the project loading.
512
+ * ...
513
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-silenceInitialCommit)
514
+ */
515
+ silenceInitialCommit?: boolean;
516
+ /**
517
+ * When `true` the project's manually scheduled tasks duration will include only working periods of time.
518
+ * When `false` such tasks will ignore working time calendars and treat all intervals as working.
519
+ * ...
520
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-skipNonWorkingTimeInDurationWhenSchedulingManually)
521
+ */
522
+ skipNonWorkingTimeInDurationWhenSchedulingManually?: boolean;
523
+ /**
524
+ * When `true` the project manually scheduled tasks will adjust their proposed start/end dates
525
+ * to skip non working time.
526
+ * ...
527
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-skipNonWorkingTimeWhenSchedulingManually)
528
+ */
529
+ skipNonWorkingTimeWhenSchedulingManually?: boolean;
530
+ /**
531
+ * When `true` treats parsed responses without `success` property as successful.
532
+ * In this mode a parsed response is treated as invalid if it has explicitly set `success : false`.
533
+ */
534
+ skipSuccessProperty?: boolean;
535
+ /**
536
+ * Start date of the project in the ISO 8601 format. Setting this date will constrain all other tasks in the
537
+ * project to start no earlier than it.
538
+ * ...
539
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-startDate)
540
+ */
541
+ startDate?: string | Date;
542
+ /**
543
+ * Specifies how started tasks are scheduled. Possible values are:
544
+ * ...
545
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-startedTaskScheduling)
546
+ */
547
+ startedTaskScheduling?: string;
548
+ /**
549
+ * The status date of the project. It is just a date, that sets a reference point to various reporting facilities,
550
+ * like [ProgressLine](https://bryntum.com/products/gantt/docs/api/Gantt/feature/ProgressLine) or [PlannedPercentDoneColumn](#Gantt/column/PlannedPercentDoneColumn).
551
+ * ...
552
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-statusDate)
553
+ */
554
+ statusDate?: Date;
555
+ /**
556
+ * Configuration options to provide to the STM manager
557
+ */
558
+ stm?: StateTrackingManagerConfig | CoreStateTrackingManager;
559
+ /**
560
+ * Name of a store property to retrieve store identifiers from. Make sure you have an instance of a
561
+ * store to use it by id. Store identifier is used as a container name holding corresponding store data
562
+ * while transferring them to/from the server. By default, `id` property is used. And in case a
563
+ * container identifier has to differ this config can be used:
564
+ * ...
565
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-storeIdProperty)
566
+ */
567
+ storeIdProperty?: string;
568
+ /**
569
+ * When `true` the Crud Manager does not require all updated and removed records to be mentioned in the
570
+ * *sync* response. In this case response should include only server side changes.
571
+ * ...
572
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-supportShortSyncResponse)
573
+ */
574
+ supportShortSyncResponse?: boolean;
575
+ /**
576
+ * An array of store identifiers sets an alternative sync responses apply order.
577
+ * By default, the order in which sync responses are applied to the stores is the same as they
578
+ * registered in. But in case of some tricky dependencies between stores this order can be changed:
579
+ * ...
580
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-syncApplySequence)
581
+ */
582
+ syncApplySequence?: string[] | CrudManagerStoreDescriptor[];
583
+ /**
584
+ * Convenience shortcut to set only the url to sync to, when you do not need to supply any other config
585
+ * options in the `sync` section of the `transport` config.
586
+ * ...
587
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-syncUrl)
588
+ */
589
+ syncUrl?: string;
590
+ /**
591
+ * The constructor of the event model class, to be used in the project. Will be set as the [modelClass](https://bryntum.com/products/gantt/docs/api/Core/data/Store#config-modelClass)
592
+ * property of the [eventStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-eventStore)
593
+ */
594
+ taskModelClass?: typeof TaskModel;
595
+ /**
596
+ * Data use to fill the [taskStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-taskStore). Should be an array of
597
+ * [TaskModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel) or its configuration objects.
598
+ */
599
+ tasks?: TaskModel[] | TaskModelConfig[];
600
+ /**
601
+ * The initial data, to fill the [taskStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-taskStore) with.
602
+ * Should be an array of [TaskModels](https://bryntum.com/products/gantt/docs/api/Gantt/model/TaskModel) or configuration objects.
603
+ * @deprecated 6.3.0 Use [tasks](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-tasks) instead
604
+ */
605
+ tasksData?: TaskModelConfig[] | TaskModel[];
606
+ /**
607
+ * An alias for the [eventStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-eventStore).
608
+ */
609
+ taskStore?: TaskStore | TaskStoreConfig;
610
+ /**
611
+ * The constructor to create an task store instance with. Should be a class, subclassing the [TaskStore](https://bryntum.com/products/gantt/docs/api/Gantt/data/TaskStore)
612
+ */
613
+ taskStoreClass?: typeof TaskStore;
614
+ /**
615
+ * Data use to fill the [timeRangeStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-timeRangeStore). Should be an array of
616
+ * [TimeRangeModels](https://bryntum.com/products/gantt/docs/api/Scheduler/model/TimeRangeModel) or its configuration objects.
617
+ */
618
+ timeRanges?: TimeRangeModel[] | TimeRangeModelConfig[];
619
+ /**
620
+ * The initial data, to fill the [timeRangeStore](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#property-timeRangeStore) with.
621
+ * Should be an array of [TimeRangeModels](https://bryntum.com/products/gantt/docs/api/Scheduler/model/TimeRangeModel) or configuration objects.
622
+ * @deprecated 6.3.0 Use [timeRanges](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-timeRanges) instead
623
+ */
624
+ timeRangesData?: TimeSpanConfig[] | TimeSpan[];
625
+ /**
626
+ * Store that holds time ranges - instances of [TimeRangeModel](https://bryntum.com/products/gantt/docs/api/Scheduler/model/TimeRangeModel) for the
627
+ * [TimeRanges](https://bryntum.com/products/gantt/docs/api/Scheduler/feature/TimeRanges) feature. A store will be automatically created if none is specified.
628
+ */
629
+ timeRangeStore?: TimeRangeStoreConfig | TimeRangeStore;
630
+ /**
631
+ * Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will
632
+ * convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the
633
+ * displayed timeline's headers as well at the start and end date of it.
634
+ * ...
635
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-timeZone)
636
+ */
637
+ timeZone?: string | number;
638
+ /**
639
+ * Specifies the output format of [toJSON](https://bryntum.com/products/gantt/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).
640
+ * ...
641
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-toJSONResultFormat)
642
+ */
643
+ toJSONResultFormat?: 'inlineData' | 'model';
644
+ /**
645
+ * If `true`, project [changes](https://bryntum.com/products/gantt/docs/api/SchedulerPro/data/mixin/ProjectCrudManager#property-changes) API will also report project model changes: start/end date,
646
+ * calendar, effort, duration, etc.
647
+ */
648
+ trackProjectModelChanges?: boolean;
649
+ /**
650
+ * When `true` forces the CRUD manager to process responses depending on their `type` attribute.
651
+ * So `load` request may be responded with `sync` response for example.
652
+ * Can be used for smart server logic allowing the server to decide when it's better to respond with a
653
+ * complete data set (`load` response) or it's enough to return just a delta (`sync` response).
654
+ */
655
+ trackResponseType?: boolean;
656
+ /**
657
+ * Configuration of the AJAX requests used by *Crud Manager* to communicate with a server-side.
658
+ * ...
659
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-transport)
660
+ */
661
+ transport?: {
662
+ load?: object;
663
+ sync?: object;
664
+ };
665
+ /**
666
+ * By default, the stores of a project use the raw data objects passed to them as the data source for their
667
+ * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
668
+ * the data objects are instead by default cloned to avoid the original data object being modified by the
669
+ * store.
670
+ * ...
671
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-useRawData)
672
+ */
673
+ useRawData?: boolean;
674
+ /**
675
+ * This config validates the response structure for requests made by the Crud Manager.
676
+ * When `true`, the Crud Manager checks every parsed response structure for errors
677
+ * and if the response format is invalid, a warning is logged to the browser console.
678
+ * ...
679
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-validateResponse)
680
+ */
681
+ validateResponse?: boolean;
682
+ /**
683
+ * `true` to write all fields from the record to the server.
684
+ * If set to `false` it will only send the fields that were modified.
685
+ * Note that any fields that have [persist](https://bryntum.com/products/gantt/docs/api/Core/data/field/DataField#config-persist) set to `false` will
686
+ * still be ignored and fields having [alwaysWrite](https://bryntum.com/products/gantt/docs/api/Core/data/field/DataField#config-alwaysWrite) set to `true`
687
+ * will always be included.
688
+ */
689
+ writeAllFields?: boolean;
690
+ };
691
+ export declare class BryntumGanttProjectModelComponent implements OnInit, OnDestroy {
692
+ static instanceClass: typeof ProjectModel;
693
+ static instanceName: string;
694
+ private static bryntumEvents;
695
+ private static bryntumFeatureNames;
696
+ private static bryntumConfigs;
697
+ private static bryntumConfigsOnly;
698
+ private static bryntumProps;
699
+ private elementRef;
700
+ instance: ProjectModel;
701
+ private bryntumConfig;
702
+ constructor(element: ElementRef);
703
+ adjustDurationToDST: boolean;
704
+ assignmentModelClass: typeof AssignmentModel;
705
+ assignmentsData: AssignmentModelConfig[] | AssignmentModel[];
706
+ assignmentStoreClass: typeof AssignmentStore;
707
+ autoLoad: boolean;
708
+ autoSetConstraints: boolean;
709
+ autoSync: boolean;
710
+ autoSyncTimeout: number;
711
+ bubbleEvents: object;
712
+ bwcConflictPostpone: boolean;
713
+ calendarManagerStoreClass: typeof CalendarManagerStore;
714
+ calendarModelClass: typeof CalendarModel;
715
+ calendarsData: CalendarModelConfig[] | CalendarModel[];
716
+ children: boolean | object[] | Model[] | ModelConfig[];
717
+ delayCalculation: boolean;
718
+ dependenciesData: DependencyModelConfig[] | DependencyModel[];
719
+ dependencyModelClass: typeof DependencyModel;
720
+ dependencyStoreClass: typeof DependencyStore;
721
+ encoder: {
722
+ requestData?: object;
723
+ };
724
+ eventsData: TaskModelConfig[] | TaskModel[];
725
+ expanded: boolean;
726
+ includeAsapAlapAsConstraints: boolean;
727
+ includeChildrenInRemoveRequest: boolean;
728
+ listeners: ProjectModelListeners;
729
+ maxCalendarRange: number;
730
+ orderedParentIndex: number;
731
+ pageSize: number;
732
+ parentIndex: number;
733
+ phantomIdField: string;
734
+ phantomParentIdField: string;
735
+ remotePaging: boolean;
736
+ requestData: (params: LazyLoadCrudManagerRequestParams) => Promise<CrudManagerRequestResponse>;
737
+ resetIdsBeforeSync: boolean;
738
+ resetUndoRedoQueuesAfterLoad: boolean;
739
+ resourceModelClass: typeof ResourceModel;
740
+ resourcesData: ResourceModelConfig[] | ResourceModel[];
741
+ resourceStoreClass: typeof ResourceStore;
742
+ silenceInitialCommit: boolean;
743
+ skipSuccessProperty: boolean;
744
+ storeIdProperty: string;
745
+ supportShortSyncResponse: boolean;
746
+ taskModelClass: typeof TaskModel;
747
+ tasksData: TaskModelConfig[] | TaskModel[];
748
+ taskStoreClass: typeof TaskStore;
749
+ timeRangesData: TimeSpanConfig[] | TimeSpan[];
750
+ toJSONResultFormat: 'inlineData' | 'model';
751
+ trackResponseType: boolean;
752
+ transport: {
753
+ load?: object;
754
+ sync?: object;
755
+ };
756
+ useRawData: boolean;
757
+ validateResponse: boolean;
758
+ writeAllFields: boolean;
759
+ addConstraintOnDateSet: boolean;
760
+ allowPostponedConflicts: boolean;
761
+ assignments: AssignmentModel[] | AssignmentModelConfig[];
762
+ assignmentStore: AssignmentStore | AssignmentStoreConfig;
763
+ autoCalculatePercentDoneForParentTasks: boolean;
764
+ autoMergeAdjacentSegments: boolean;
765
+ autoPostponeConflicts: boolean;
766
+ autoPostponedConflicts: boolean;
767
+ autoScheduleManualTasksOnSecondPass: boolean;
768
+ calendar: CalendarModel | string | CalendarModelConfig;
769
+ calendarManagerStore: CalendarManagerStore | CalendarManagerStoreConfig;
770
+ calendars: CalendarModel[] | CalendarModelConfig[];
771
+ callOnFunctions: boolean;
772
+ catchEventHandlerExceptions: boolean;
773
+ crudStores: CrudManagerStoreDescriptor[] | Store[] | string[] | StoreConfig[];
774
+ daysPerMonth: number;
775
+ daysPerWeek: number;
776
+ dependencies: DependencyModel[] | DependencyModelConfig[];
777
+ dependenciesCalendar: 'ToEvent' | 'FromEvent' | 'Project' | 'AllWorking';
778
+ dependencyStore: DependencyStore | DependencyStoreConfig;
779
+ description: string;
780
+ direction: 'Forward' | 'Backward';
781
+ enableProgressNotifications: boolean;
782
+ endDate: string | Date;
783
+ eventStore: TaskStore | TaskStoreConfig;
784
+ forceSync: boolean;
785
+ hoursPerDay: number;
786
+ id: string | number;
787
+ ignoreConstraintsOnConflictDuringSecondPass: boolean;
788
+ ignoreRemoteChangesInSTM: boolean;
789
+ includeLegacyDataProperties: boolean;
790
+ isFullyLoaded: boolean;
791
+ json: string;
792
+ lazyLoad: boolean | {
793
+ lazyLoad: {
794
+ chunkSize: number;
795
+ };
796
+ bufferUnit: DurationUnit;
797
+ bufferAmount: number;
798
+ };
799
+ loadUrl: string;
800
+ maxCriticalPathsCount: number;
801
+ name: string;
802
+ parentId: number | string | null;
803
+ readOnly: boolean;
804
+ remoteChildCount: number;
805
+ resources: ResourceModel[] | ResourceModelConfig[];
806
+ resourceStore: ResourceStore | ResourceStoreConfig;
807
+ shouldSyncDataOnLoad: (options: {
808
+ store: Store;
809
+ records: Model;
810
+ data: object[];
811
+ }) => Set<any> | boolean;
812
+ skipNonWorkingTimeInDurationWhenSchedulingManually: boolean;
813
+ skipNonWorkingTimeWhenSchedulingManually: boolean;
814
+ startDate: string | Date;
815
+ startedTaskScheduling: string;
816
+ statusDate: Date;
817
+ stm: CoreStateTrackingManager | StateTrackingManagerConfig;
818
+ syncApplySequence: string[] | CrudManagerStoreDescriptor[];
819
+ syncUrl: string;
820
+ tasks: TaskModel[] | TaskModelConfig[];
821
+ taskStore: TaskStore | TaskStoreConfig;
822
+ timeRanges: TimeRangeModel[] | TimeRangeModelConfig[];
823
+ timeRangeStore: Store | TimeRangeStoreConfig | TimeRangeStore;
824
+ timeZone: string | number;
825
+ trackProjectModelChanges: boolean;
826
+ allChildren: Model[];
827
+ allUnfilteredChildren: Model[];
828
+ criticalPaths: any[];
829
+ descendantCount: number;
830
+ hasGeneratedId: boolean;
831
+ inlineData: object;
832
+ internalId: number;
833
+ isCommitting: boolean;
834
+ isCreating: boolean;
835
+ isValid: boolean;
836
+ previousSiblingsTotalCount: number;
837
+ segmentModelClass: typeof EventSegmentModel;
838
+ visibleDescendantCount: number;
839
+ /**
840
+ * Fires before an object is destroyed.
841
+ * @param {object} event Event object
842
+ * @param {Core.Base} event.source The Object that is being destroyed.
843
+ */
844
+ onBeforeDestroy: any;
845
+ /**
846
+ * Fires before [load request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) is sent. Return `false` to cancel load request.
847
+ * @param {object} event Event object
848
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
849
+ * @param {object} event.pack The data package which contains data for all stores managed by the crud manager.
850
+ */
851
+ onBeforeLoad: any;
852
+ /**
853
+ * Fires before loaded data get applied to the stores. Return `false` to prevent data applying.
854
+ * This event can be used for server data preprocessing. To achieve it user can modify the `response` object.
855
+ * @param {object} event Event object
856
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
857
+ * @param {object} event.response The decoded server response object.
858
+ * @param {object} event.options Options provided to the [load](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) method.
859
+ */
860
+ onBeforeLoadApply: any;
861
+ /**
862
+ * Fires before server response gets applied to the stores. Return `false` to prevent data applying.
863
+ * This event can be used for server data preprocessing. To achieve it user can modify the `response` object.
864
+ * @param {object} event Event object
865
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
866
+ * @param {'sync','load'} event.requestType The request type (`sync` or `load`).
867
+ * @param {object} event.response The decoded server response object.
868
+ */
869
+ onBeforeResponseApply: any;
870
+ /**
871
+ * Fires before a request is sent to the server.
872
+ * ...
873
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#event-beforeSend)
874
+ * @param {object} event Event object
875
+ * @param {Scheduler.crud.AbstractCrudManager} event.crudManager The CRUD manager.
876
+ * @param {object} event.params HTTP request params to be passed in the request URL.
877
+ * @param {'sync','load'} event.requestType CrudManager request type (`load`/`sync`)
878
+ * @param {object} event.requestConfig Configuration object for Ajax request call
879
+ */
880
+ onBeforeSend: any;
881
+ /**
882
+ * Fires before [sync request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-sync) is sent. Return `false` to cancel sync request.
883
+ * ...
884
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#event-beforeSync)
885
+ * @param {object} event Event object
886
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
887
+ * @param {object} event.pack The data package which contains data for all stores managed by the crud manager.
888
+ */
889
+ onBeforeSync: any;
890
+ /**
891
+ * Fires before sync response data get applied to the stores. Return `false` to prevent data applying.
892
+ * This event can be used for server data preprocessing. To achieve it user can modify the `response` object.
893
+ * @param {object} event Event object
894
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
895
+ * @param {object} event.response The decoded server response object.
896
+ */
897
+ onBeforeSyncApply: any;
898
+ /**
899
+ * Fires when any other event is fired from the object.
900
+ * ...
901
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#event-catchAll)
902
+ * @param {object} event Event object
903
+ * @param {{[key: string]: any, type: string}} event.event The Object that contains event details
904
+ * @param {string} event.event.type The type of the event which is caught by the listener
905
+ */
906
+ onCatchAll: any;
907
+ /**
908
+ * Fired when data in any of the projects stores changes.
909
+ * ...
910
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#event-change)
911
+ * @param {object} event Event object
912
+ * @param {Gantt.model.ProjectModel} event.source This project
913
+ * @param {Core.data.Store} event.store Affected store
914
+ * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of the options listed above.
915
+ * @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
916
+ * @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
917
+ * @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
918
+ */
919
+ onChange: any;
920
+ /**
921
+ * Fired when the Engine detects a computation cycle.
922
+ * @param {object} event Event object
923
+ * @param {object} event.schedulingIssue Scheduling error describing the case:
924
+ * @param {Function} event.schedulingIssue.getDescription Returns the cycle description
925
+ * @param {object} event.schedulingIssue.cycle Object providing the cycle info
926
+ * @param {Function} event.schedulingIssue.getResolutions Returns possible resolutions
927
+ * @param {Function} event.continueWithResolutionResult Function to call after a resolution is chosen to proceed with the Engine calculations: ```javascript project.on('cycle', ({ continueWithResolutionResult }) => { // cancel changes in case of a cycle continueWithResolutionResult(EffectResolutionResult.Cancel); }) ``` Where `EffectResolutionResult.Cancel` results in cancelling the changes.
928
+ */
929
+ onCycle: any;
930
+ /**
931
+ * Fired when the engine has finished its calculations and the results has been written back to the records.
932
+ * ...
933
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#event-dataReady)
934
+ * @param {object} event Event object
935
+ * @param {Gantt.model.ProjectModel} event.source The project
936
+ * @param {boolean} event.isInitialCommit Flag that shows if this commit is initial
937
+ * @param {Set<any>} event.records Set of all [Model](https://bryntum.com/products/gantt/docs/api/Core/data/Model)s that were modified in the completed transaction. Use the [modifications](https://bryntum.com/products/gantt/docs/api/Core/data/Model#property-modifications) property of each Model to identify modified fields.
938
+ */
939
+ onDataReady: any;
940
+ /**
941
+ * Fires when an object is destroyed.
942
+ * @param {object} event Event object
943
+ * @param {Core.Base} event.source The Object that is being destroyed.
944
+ */
945
+ onDestroy: any;
946
+ /**
947
+ * Fired when the Engine detects a calendar misconfiguration when the calendar does
948
+ * not provide any working periods of time which makes usage impossible.
949
+ * @param {object} event Event object
950
+ * @param {object} event.schedulingIssue Scheduling error describing the case:
951
+ * @param {Function} event.schedulingIssue.getDescription Returns the error description
952
+ * @param {Function} event.schedulingIssue.getCalendar Returns the calendar that must be fixed
953
+ * @param {Function} event.schedulingIssue.getResolutions Returns possible resolutions
954
+ * @param {Function} event.continueWithResolutionResult Function to call after a resolution is chosen to proceed with the Engine calculations: ```javascript project.on('emptyCalendar', ({ schedulingIssue, continueWithResolutionResult }) => { // apply the first resolution and continue schedulingIssue.getResolutions()[0].resolve(); continueWithResolutionResult(EffectResolutionResult.Resume); }) ```
955
+ */
956
+ onEmptyCalendar: any;
957
+ /**
958
+ * Fires when data in any of the registered data stores is changed.
959
+ * ...
960
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#event-hasChanges)
961
+ * @param {object} event Event object
962
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
963
+ */
964
+ onHasChanges: any;
965
+ /**
966
+ * Fires on successful [load request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) completion after data gets loaded to the stores.
967
+ * @param {object} event Event object
968
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
969
+ * @param {object} event.response The decoded server response object.
970
+ * @param {object} event.responseOptions [DEPRECATED] see `requestOptions`
971
+ * @param {object} event.requestOptions The request options passed to the request.
972
+ * @param {Response} event.rawResponse The native Response object
973
+ */
974
+ onLoad: any;
975
+ /**
976
+ * Fired after [load request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) was canceled by some [beforeLoad](#Scheduler/crud/AbstractCrudManagerMixin#event-beforeLoad)
977
+ * listener or due to incomplete prior load request.
978
+ * @param {object} event Event object
979
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
980
+ * @param {object} event.pack The data package which contains data for all stores managed by the crud manager.
981
+ */
982
+ onLoadCanceled: any;
983
+ /**
984
+ * Fires when a [load request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) fails.
985
+ * @param {object} event Event object
986
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager instance.
987
+ * @param {object} event.response The decoded server response object.
988
+ * @param {string} event.responseText The raw server response text
989
+ * @param {object} event.responseOptions [DEPRECATED] see `requestOptions`
990
+ * @param {object} event.requestOptions The request options passed to the request.
991
+ * @param {Response} event.rawResponse The native Response object
992
+ */
993
+ onLoadFail: any;
994
+ /**
995
+ * Fires when registered stores get into state when they don't have any
996
+ * not persisted change. This happens after [load](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) or [sync](#Scheduler/crud/AbstractCrudManagerMixin#function-sync) request
997
+ * completion. Or this may happen after a record update which turns its fields back to their original state.
998
+ * ...
999
+ * [View online docs...](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#event-noChanges)
1000
+ * @param {object} event Event object
1001
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
1002
+ */
1003
+ onNoChanges: any;
1004
+ /**
1005
+ * Fired during the Engine calculation if [enableProgressNotifications](https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#config-enableProgressNotifications) config is `true`
1006
+ * @param {object} event Event object
1007
+ * @param {Gantt.model.ProjectModel} event.source The owning project
1008
+ * @param {number} event.total The total number of operations
1009
+ * @param {number} event.remaining The number of remaining operations
1010
+ * @param {'storePopulation','propagating'} event.phase The phase of the calculation, either 'storePopulation' when data is getting loaded, or 'propagating' when data is getting calculated
1011
+ */
1012
+ onProgress: any;
1013
+ /**
1014
+ * Fires on successful request completion after data gets applied to the stores.
1015
+ * @param {object} event Event object
1016
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
1017
+ * @param {'sync','load'} event.requestType The request type (`sync` or `load`).
1018
+ * @param {object} event.response The decoded server response object.
1019
+ * @param {object} event.responseOptions [DEPRECATED] see `requestOptions`
1020
+ * @param {object} event.requestOptions The request options passed to the request.
1021
+ * @param {Response} event.rawResponse The native Response object
1022
+ */
1023
+ onRequestDone: any;
1024
+ /**
1025
+ * Fires when a request fails.
1026
+ * @param {object} event Event object
1027
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager instance.
1028
+ * @param {'sync','load'} event.requestType The request type (`sync` or `load`).
1029
+ * @param {object} event.response The decoded server response object.
1030
+ * @param {string} event.responseText The raw server response text
1031
+ * @param {object} event.responseOptions [DEPRECATED] see `requestOptions`
1032
+ * @param {object} event.requestOptions The request options passed to the request.
1033
+ * @param {Response} event.rawResponse The native Response object
1034
+ */
1035
+ onRequestFail: any;
1036
+ /**
1037
+ * This event triggers when a new revision is added to the project. It is used to notify the backend about the
1038
+ * new revision.
1039
+ * @param {object} event Event object
1040
+ * @param {string} event.localRevisionId ID of the local revision. Backend should send it in the broadcast channel
1041
+ * @param {string} event.conflictResolutionFor ID of the revision with a conflict which was resolved by this revision
1042
+ * @param {string} event.clientId ID of the client instance. Used to distinguish own revisions from the broadcast channel
1043
+ * @param {object} event.changes Object with changes constituting revision
1044
+ */
1045
+ onRevisionNotification: any;
1046
+ /**
1047
+ * Fired when the Engine detects a scheduling conflict.
1048
+ * @param {object} event Event object
1049
+ * @param {object} event.schedulingIssue The conflict details:
1050
+ * @param {Function} event.schedulingIssue.getDescription Returns the conflict description
1051
+ * @param {object[]} event.schedulingIssue.intervals Array of conflicting intervals
1052
+ * @param {Function} event.schedulingIssue.getResolutions Function to get possible resolutions
1053
+ * @param {Function} event.continueWithResolutionResult Function to call after a resolution is chosen to proceed with the Engine calculations: ```javascript project.on('schedulingConflict', ({ schedulingIssue, continueWithResolutionResult }) => { // apply the first resolution and continue schedulingIssue.getResolutions()[0].resolve(); continueWithResolutionResult(EffectResolutionResult.Resume); }) ``` Where `EffectResolutionResult.Resume` results in a resolution being applied and current transaction should be continued.
1054
+ */
1055
+ onSchedulingConflict: any;
1056
+ /**
1057
+ * Fires on successful [sync request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-sync) completion.
1058
+ * @param {object} event Event object
1059
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
1060
+ * @param {object} event.response The decoded server response object.
1061
+ * @param {object} event.responseOptions [DEPRECATED] see `requestOptions`
1062
+ * @param {object} event.requestOptions The request options passed to the request.
1063
+ * @param {Response} event.rawResponse The native Response object
1064
+ */
1065
+ onSync: any;
1066
+ /**
1067
+ * Fires after [sync request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-sync) was canceled by some [beforeSync](#Scheduler/crud/AbstractCrudManagerMixin#event-beforeSync) listener.
1068
+ * @param {object} event Event object
1069
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
1070
+ * @param {object} event.pack The data package which contains data for all stores managed by the crud manager.
1071
+ */
1072
+ onSyncCanceled: any;
1073
+ /**
1074
+ * Fires after [sync request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-sync) was delayed due to incomplete previous one.
1075
+ * @param {object} event Event object
1076
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager.
1077
+ * @param {object} event.arguments The arguments of [sync](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-sync) call.
1078
+ */
1079
+ onSyncDelayed: any;
1080
+ /**
1081
+ * Fires when a [sync request](https://bryntum.com/products/gantt/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-sync) fails.
1082
+ * @param {object} event Event object
1083
+ * @param {Scheduler.crud.AbstractCrudManager} event.source The CRUD manager instance.
1084
+ * @param {object} event.response The decoded server response object.
1085
+ * @param {string} event.responseText The raw server response text
1086
+ * @param {object} event.responseOptions [DEPRECATED] see `requestOptions`
1087
+ * @param {object} event.requestOptions The request options passed to the request.
1088
+ * @param {Response} event.rawResponse The native Response object
1089
+ */
1090
+ onSyncFail: any;
1091
+ /**
1092
+ * Create and append the underlying widget
1093
+ */
1094
+ ngOnInit(): void;
1095
+ /**
1096
+ * Watch for changes
1097
+ * @param changes
1098
+ */
1099
+ ngOnChanges(changes: SimpleChanges): void;
1100
+ /**
1101
+ * Destroy the component
1102
+ */
1103
+ ngOnDestroy(): void;
1104
+ static ɵfac: i0.ɵɵFactoryDeclaration<BryntumGanttProjectModelComponent, never>;
1105
+ static ɵcmp: i0.ɵɵComponentDeclaration<BryntumGanttProjectModelComponent, "bryntum-gantt-project-model", never, { "adjustDurationToDST": "adjustDurationToDST"; "assignmentModelClass": "assignmentModelClass"; "assignmentsData": "assignmentsData"; "assignmentStoreClass": "assignmentStoreClass"; "autoLoad": "autoLoad"; "autoSetConstraints": "autoSetConstraints"; "autoSync": "autoSync"; "autoSyncTimeout": "autoSyncTimeout"; "bubbleEvents": "bubbleEvents"; "bwcConflictPostpone": "bwcConflictPostpone"; "calendarManagerStoreClass": "calendarManagerStoreClass"; "calendarModelClass": "calendarModelClass"; "calendarsData": "calendarsData"; "children": "children"; "delayCalculation": "delayCalculation"; "dependenciesData": "dependenciesData"; "dependencyModelClass": "dependencyModelClass"; "dependencyStoreClass": "dependencyStoreClass"; "encoder": "encoder"; "eventsData": "eventsData"; "expanded": "expanded"; "includeAsapAlapAsConstraints": "includeAsapAlapAsConstraints"; "includeChildrenInRemoveRequest": "includeChildrenInRemoveRequest"; "listeners": "listeners"; "maxCalendarRange": "maxCalendarRange"; "orderedParentIndex": "orderedParentIndex"; "pageSize": "pageSize"; "parentIndex": "parentIndex"; "phantomIdField": "phantomIdField"; "phantomParentIdField": "phantomParentIdField"; "remotePaging": "remotePaging"; "requestData": "requestData"; "resetIdsBeforeSync": "resetIdsBeforeSync"; "resetUndoRedoQueuesAfterLoad": "resetUndoRedoQueuesAfterLoad"; "resourceModelClass": "resourceModelClass"; "resourcesData": "resourcesData"; "resourceStoreClass": "resourceStoreClass"; "silenceInitialCommit": "silenceInitialCommit"; "skipSuccessProperty": "skipSuccessProperty"; "storeIdProperty": "storeIdProperty"; "supportShortSyncResponse": "supportShortSyncResponse"; "taskModelClass": "taskModelClass"; "tasksData": "tasksData"; "taskStoreClass": "taskStoreClass"; "timeRangesData": "timeRangesData"; "toJSONResultFormat": "toJSONResultFormat"; "trackResponseType": "trackResponseType"; "transport": "transport"; "useRawData": "useRawData"; "validateResponse": "validateResponse"; "writeAllFields": "writeAllFields"; "addConstraintOnDateSet": "addConstraintOnDateSet"; "allowPostponedConflicts": "allowPostponedConflicts"; "assignments": "assignments"; "assignmentStore": "assignmentStore"; "autoCalculatePercentDoneForParentTasks": "autoCalculatePercentDoneForParentTasks"; "autoMergeAdjacentSegments": "autoMergeAdjacentSegments"; "autoPostponeConflicts": "autoPostponeConflicts"; "autoPostponedConflicts": "autoPostponedConflicts"; "autoScheduleManualTasksOnSecondPass": "autoScheduleManualTasksOnSecondPass"; "calendar": "calendar"; "calendarManagerStore": "calendarManagerStore"; "calendars": "calendars"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "crudStores": "crudStores"; "daysPerMonth": "daysPerMonth"; "daysPerWeek": "daysPerWeek"; "dependencies": "dependencies"; "dependenciesCalendar": "dependenciesCalendar"; "dependencyStore": "dependencyStore"; "description": "description"; "direction": "direction"; "enableProgressNotifications": "enableProgressNotifications"; "endDate": "endDate"; "eventStore": "eventStore"; "forceSync": "forceSync"; "hoursPerDay": "hoursPerDay"; "id": "id"; "ignoreConstraintsOnConflictDuringSecondPass": "ignoreConstraintsOnConflictDuringSecondPass"; "ignoreRemoteChangesInSTM": "ignoreRemoteChangesInSTM"; "includeLegacyDataProperties": "includeLegacyDataProperties"; "isFullyLoaded": "isFullyLoaded"; "json": "json"; "lazyLoad": "lazyLoad"; "loadUrl": "loadUrl"; "maxCriticalPathsCount": "maxCriticalPathsCount"; "name": "name"; "parentId": "parentId"; "readOnly": "readOnly"; "remoteChildCount": "remoteChildCount"; "resources": "resources"; "resourceStore": "resourceStore"; "shouldSyncDataOnLoad": "shouldSyncDataOnLoad"; "skipNonWorkingTimeInDurationWhenSchedulingManually": "skipNonWorkingTimeInDurationWhenSchedulingManually"; "skipNonWorkingTimeWhenSchedulingManually": "skipNonWorkingTimeWhenSchedulingManually"; "startDate": "startDate"; "startedTaskScheduling": "startedTaskScheduling"; "statusDate": "statusDate"; "stm": "stm"; "syncApplySequence": "syncApplySequence"; "syncUrl": "syncUrl"; "tasks": "tasks"; "taskStore": "taskStore"; "timeRanges": "timeRanges"; "timeRangeStore": "timeRangeStore"; "timeZone": "timeZone"; "trackProjectModelChanges": "trackProjectModelChanges"; "allChildren": "allChildren"; "allUnfilteredChildren": "allUnfilteredChildren"; "criticalPaths": "criticalPaths"; "descendantCount": "descendantCount"; "hasGeneratedId": "hasGeneratedId"; "inlineData": "inlineData"; "internalId": "internalId"; "isCommitting": "isCommitting"; "isCreating": "isCreating"; "isValid": "isValid"; "previousSiblingsTotalCount": "previousSiblingsTotalCount"; "segmentModelClass": "segmentModelClass"; "visibleDescendantCount": "visibleDescendantCount"; }, { "onBeforeDestroy": "onBeforeDestroy"; "onBeforeLoad": "onBeforeLoad"; "onBeforeLoadApply": "onBeforeLoadApply"; "onBeforeResponseApply": "onBeforeResponseApply"; "onBeforeSend": "onBeforeSend"; "onBeforeSync": "onBeforeSync"; "onBeforeSyncApply": "onBeforeSyncApply"; "onCatchAll": "onCatchAll"; "onChange": "onChange"; "onCycle": "onCycle"; "onDataReady": "onDataReady"; "onDestroy": "onDestroy"; "onEmptyCalendar": "onEmptyCalendar"; "onHasChanges": "onHasChanges"; "onLoad": "onLoad"; "onLoadCanceled": "onLoadCanceled"; "onLoadFail": "onLoadFail"; "onNoChanges": "onNoChanges"; "onProgress": "onProgress"; "onRequestDone": "onRequestDone"; "onRequestFail": "onRequestFail"; "onRevisionNotification": "onRevisionNotification"; "onSchedulingConflict": "onSchedulingConflict"; "onSync": "onSync"; "onSyncCanceled": "onSyncCanceled"; "onSyncDelayed": "onSyncDelayed"; "onSyncFail": "onSyncFail"; }, never, never>;
1106
+ }