@bryntum/scheduler-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 (36) hide show
  1. package/README.md +44 -0
  2. package/bryntum-scheduler-angular-thin.d.ts +5 -0
  3. package/bundles/bryntum-scheduler-angular-thin.umd.js +18832 -0
  4. package/bundles/bryntum-scheduler-angular-thin.umd.js.map +1 -0
  5. package/esm2015/bryntum-scheduler-angular-thin.js +5 -0
  6. package/esm2015/lib/bryntum-event-color-field.component.js +795 -0
  7. package/esm2015/lib/bryntum-project-combo.component.js +937 -0
  8. package/esm2015/lib/bryntum-resource-combo.component.js +937 -0
  9. package/esm2015/lib/bryntum-resource-filter.component.js +743 -0
  10. package/esm2015/lib/bryntum-scheduler-base.component.js +4589 -0
  11. package/esm2015/lib/bryntum-scheduler-date-picker.component.js +1021 -0
  12. package/esm2015/lib/bryntum-scheduler-project-model.component.js +365 -0
  13. package/esm2015/lib/bryntum-scheduler.component.js +4593 -0
  14. package/esm2015/lib/bryntum-timeline-histogram.component.js +2888 -0
  15. package/esm2015/lib/bryntum-undo-redo.component.js +698 -0
  16. package/esm2015/lib/bryntum-view-preset-combo.component.js +746 -0
  17. package/esm2015/lib/scheduler.module.js +74 -0
  18. package/esm2015/lib/wrapper.helper.js +74 -0
  19. package/esm2015/public-api.js +16 -0
  20. package/fesm2015/bryntum-scheduler-angular-thin.js +18371 -0
  21. package/fesm2015/bryntum-scheduler-angular-thin.js.map +1 -0
  22. package/lib/bryntum-event-color-field.component.d.ts +966 -0
  23. package/lib/bryntum-project-combo.component.d.ts +1202 -0
  24. package/lib/bryntum-resource-combo.component.d.ts +1205 -0
  25. package/lib/bryntum-resource-filter.component.d.ts +888 -0
  26. package/lib/bryntum-scheduler-base.component.d.ts +5014 -0
  27. package/lib/bryntum-scheduler-date-picker.component.d.ts +1363 -0
  28. package/lib/bryntum-scheduler-project-model.component.d.ts +392 -0
  29. package/lib/bryntum-scheduler.component.d.ts +5016 -0
  30. package/lib/bryntum-timeline-histogram.component.d.ts +3312 -0
  31. package/lib/bryntum-undo-redo.component.d.ts +847 -0
  32. package/lib/bryntum-view-preset-combo.component.d.ts +885 -0
  33. package/lib/scheduler.module.d.ts +17 -0
  34. package/lib/wrapper.helper.d.ts +26 -0
  35. package/package.json +33 -0
  36. package/public-api.d.ts +12 -0
@@ -0,0 +1,392 @@
1
+ /**
2
+ * Angular wrapper for Bryntum ProjectModel
3
+ */
4
+ import { ElementRef, SimpleChanges, OnDestroy, OnInit } from '@angular/core';
5
+ import { Model, ModelConfig, StateTrackingManager, StateTrackingManagerConfig, Store, StoreConfig } from '@bryntum/core-thin';
6
+ import { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, ProjectModel, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, TimeRangeModel, TimeRangeModelConfig, TimeRangeStore, TimeSpan } from '@bryntum/scheduler-thin';
7
+ import * as i0 from "@angular/core";
8
+ export declare type BryntumSchedulerProjectModelProps = {
9
+ /**
10
+ * A flag, indicating whether the dates and duration calculations should adjust the result to DST time shift.
11
+ */
12
+ adjustDurationToDST?: boolean;
13
+ /**
14
+ * The constructor of the assignment model class, to be used in the project. Will be set as the
15
+ * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [assignmentStore](#Scheduler/model/ProjectModel#property-assignmentStore)
16
+ */
17
+ assignmentModelClass?: typeof AssignmentModel;
18
+ /**
19
+ * Data use to fill the [assignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-assignmentStore). Should be an array of
20
+ * [AssignmentModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/AssignmentModel) or its configuration objects.
21
+ */
22
+ assignments?: AssignmentModel[] | AssignmentModelConfig[];
23
+ /**
24
+ * The initial data, to fill the [assignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-assignmentStore) with.
25
+ * Should be an array of [AssignmentModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/AssignmentModel) or its configuration
26
+ * objects.
27
+ * @deprecated 6.3.0 Use [assignments](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-assignments) instead
28
+ */
29
+ assignmentsData?: AssignmentModel[] | AssignmentModelConfig[];
30
+ /**
31
+ * An [AssignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AssignmentStore) instance or a config object.
32
+ */
33
+ assignmentStore?: AssignmentStore | AssignmentStoreConfig;
34
+ /**
35
+ * The constructor to create an assignment store instance with. Should be a class, subclassing the
36
+ * [AssignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AssignmentStore)
37
+ */
38
+ assignmentStoreClass?: typeof AssignmentStore | object;
39
+ /**
40
+ * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
41
+ * tasks.
42
+ * ...
43
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-children)
44
+ */
45
+ children?: boolean | object[] | Model[] | ModelConfig[];
46
+ /**
47
+ * Data use to fill the [dependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-dependencyStore). Should be an array of
48
+ * [DependencyModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyModel) or its configuration objects.
49
+ */
50
+ dependencies?: DependencyModel[] | DependencyModelConfig[];
51
+ /**
52
+ * The initial data, to fill the [dependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-dependencyStore) with.
53
+ * Should be an array of [DependencyModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyModel) or its configuration
54
+ * objects.
55
+ * @deprecated 6.3.0 Use [dependencies](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-dependencies) instead
56
+ */
57
+ dependenciesData?: DependencyModel[] | DependencyModelConfig[];
58
+ /**
59
+ * The constructor of the dependency model class, to be used in the project. Will be set as the
60
+ * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [dependencyStore](#Scheduler/model/ProjectModel#property-dependencyStore)
61
+ */
62
+ dependencyModelClass?: typeof DependencyModel;
63
+ /**
64
+ * A [DependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore) instance or a config object.
65
+ */
66
+ dependencyStore?: DependencyStore | DependencyStoreConfig;
67
+ /**
68
+ * The constructor to create a dependency store instance with. Should be a class, subclassing the
69
+ * [DependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore)
70
+ */
71
+ dependencyStoreClass?: typeof DependencyStore | object;
72
+ /**
73
+ * The constructor of the event model class, to be used in the project. Will be set as the
74
+ * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [eventStore](#Scheduler/model/ProjectModel#property-eventStore)
75
+ */
76
+ eventModelClass?: typeof EventModel;
77
+ /**
78
+ * Data use to fill the [eventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-eventStore). Should be an array of
79
+ * [EventModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/EventModel) or its configuration objects.
80
+ */
81
+ events?: EventModel[] | EventModelConfig[];
82
+ /**
83
+ * The initial data, to fill the [eventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-eventStore) with.
84
+ * Should be an array of [EventModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/EventModel) or its configuration objects.
85
+ * @deprecated 6.3.0 Use [events](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-events) instead
86
+ */
87
+ eventsData?: EventModel[] | EventModelConfig[];
88
+ /**
89
+ * An [EventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/EventStore) instance or a config object.
90
+ */
91
+ eventStore?: EventStore | EventStoreConfig;
92
+ /**
93
+ * The constructor to create an event store instance with. Should be a class, subclassing the
94
+ * [EventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/EventStore)
95
+ */
96
+ eventStoreClass?: typeof EventStore | object;
97
+ /**
98
+ * Start expanded or not (only valid for tree data)
99
+ */
100
+ expanded?: boolean;
101
+ /**
102
+ * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as
103
+ * record.id. Will get a generated value if none is specified in records data.
104
+ * ...
105
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-id)
106
+ */
107
+ id?: string | number;
108
+ /**
109
+ * Whether to include legacy data properties in the JSON / inlineData output. The legacy data properties are
110
+ * the `xxData` (`eventsData`, `resourcesData` etc.) properties that are deprecated and will be removed in
111
+ * the future.
112
+ * @deprecated 6.3.0 This config will be removed when the eventsData, resourcesData etc. properties are removed in a future release.
113
+ */
114
+ includeLegacyDataProperties?: boolean;
115
+ /**
116
+ * This field is added to the class at runtime when the Store is configured with
117
+ * [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any
118
+ * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer
119
+ * child records than requested.
120
+ * ...
121
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-isFullyLoaded)
122
+ */
123
+ isFullyLoaded?: boolean;
124
+ /**
125
+ * Project data as a JSON string, used to populate its stores.
126
+ * ...
127
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-json)
128
+ */
129
+ json?: string;
130
+ /**
131
+ * This is a read-only field provided in server synchronization packets to specify
132
+ * which position the node takes in the parent's ordered children array.
133
+ * This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering
134
+ * have no effect on it.
135
+ */
136
+ orderedParentIndex?: number;
137
+ /**
138
+ * This is a read-only field provided in server synchronization packets to specify
139
+ * which record id is the parent of the record.
140
+ */
141
+ parentId?: string | number | null;
142
+ /**
143
+ * This is a read-only field provided in server synchronization packets to specify
144
+ * which position the node takes in the parent's children array.
145
+ * This index is set on load and gets updated automatically after row reordering, sorting, etc.
146
+ * To save the order, need to persist the field on the server and when data is fetched to be loaded,
147
+ * need to sort by this field.
148
+ */
149
+ parentIndex?: number;
150
+ /**
151
+ * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
152
+ * features such as cell editing and event dragging.
153
+ * ...
154
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-readOnly)
155
+ */
156
+ readOnly?: boolean;
157
+ /**
158
+ * This field is added to the class at runtime when the Store is configured with
159
+ * [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). The
160
+ * number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.
161
+ * @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/scheduler/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/scheduler/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.
162
+ */
163
+ remoteChildCount?: number;
164
+ /**
165
+ * The constructor of the resource model class, to be used in the project. Will be set as the
166
+ * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [resourceStore](#Scheduler/model/ProjectModel#property-resourceStore)
167
+ */
168
+ resourceModelClass?: typeof ResourceModel;
169
+ /**
170
+ * Data use to fill the [resourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceStore). Should be an array of
171
+ * [ResourceModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceModel) or its configuration objects.
172
+ */
173
+ resources?: ResourceModel[] | ResourceModelConfig[];
174
+ /**
175
+ * The initial data, to fill the [resourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceStore) with.
176
+ * Should be an array of [ResourceModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceModel) or its configuration objects.
177
+ * @deprecated 6.3.0 Use [resources](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-resources) instead
178
+ */
179
+ resourcesData?: ResourceModel[] | ResourceModelConfig[];
180
+ /**
181
+ * A [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore) instance or a config object.
182
+ */
183
+ resourceStore?: ResourceStore | ResourceStoreConfig;
184
+ /**
185
+ * The constructor to create a resource store instance with. Should be a class, subclassing the
186
+ * [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore)
187
+ */
188
+ resourceStoreClass?: typeof ResourceStore | object;
189
+ /**
190
+ * Data use to fill the [resourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceTimeRangeStore). Should be an array
191
+ * of [ResourceTimeRangeModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceTimeRangeModel) or its configuration objects.
192
+ */
193
+ resourceTimeRanges?: ResourceTimeRangeModel[] | ResourceTimeRangeModelConfig[];
194
+ /**
195
+ * The initial data, to fill the [resourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-resourceTimeRangeStore) with.
196
+ * Should be an array of [ResourceTimeRangeModel](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceTimeRangeModel) or it's
197
+ * configuration objects.
198
+ * @deprecated 6.3.0 Use resourceTimeRanges instead
199
+ */
200
+ resourceTimeRangesData?: ResourceTimeRangeModel[];
201
+ /**
202
+ * A [ResourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceTimeRangeStore) instance or a config object.
203
+ */
204
+ resourceTimeRangeStore?: ResourceTimeRangeStore | ResourceTimeRangeStoreConfig;
205
+ /**
206
+ * The constructor to create a resource time range store instance with. Should be a class subclassing the
207
+ * [ResourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceTimeRangeStore)
208
+ */
209
+ resourceTimeRangeStoreClass?: typeof ResourceTimeRangeStore | object;
210
+ /**
211
+ * Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and
212
+ * if it does - which records that should be processed. Only called for stores that are configured with
213
+ * `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).
214
+ * ...
215
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-shouldSyncDataOnLoad)
216
+ * @param {object} options Options passed by the store to this hook
217
+ * @param {Core.data.Store} options.store Store about to be synced
218
+ * @param {Core.data.Model} options.records Records currently in the store
219
+ * @param {object[]} options.data Incoming data
220
+ * @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)
221
+ */
222
+ shouldSyncDataOnLoad?: (options: {
223
+ store: Store;
224
+ records: Model;
225
+ data: object[];
226
+ }) => Set<any> | boolean;
227
+ /**
228
+ * Silences propagations caused by the project loading.
229
+ * ...
230
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-silenceInitialCommit)
231
+ */
232
+ silenceInitialCommit?: boolean;
233
+ /**
234
+ * Configuration options to provide to the STM manager
235
+ */
236
+ stm?: StateTrackingManagerConfig | StateTrackingManager;
237
+ /**
238
+ * Data use to fill the [timeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-timeRangeStore). Should be an array of
239
+ * [TimeRangeModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/TimeRangeModel) or its configuration objects.
240
+ */
241
+ timeRanges?: TimeRangeModel[] | TimeRangeModelConfig[];
242
+ /**
243
+ * The initial data, to fill the [timeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-timeRangeStore) with.
244
+ * Should be an array of [TimeSpan](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/TimeSpan) or its configuration objects.
245
+ * @deprecated 6.3.0 Use timeRanges instead
246
+ */
247
+ timeRangesData?: TimeSpan[];
248
+ /**
249
+ * A [Store](https://bryntum.com/products/scheduler/docs/api/Core/data/Store) instance or a config object.
250
+ */
251
+ timeRangeStore?: Store | StoreConfig;
252
+ /**
253
+ * The constructor to create a time range store instance with. Should be a class subclassing the
254
+ * [TimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/TimeRangeStore)
255
+ */
256
+ timeRangeStoreClass?: typeof TimeRangeStore | object;
257
+ /**
258
+ * Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will
259
+ * convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the
260
+ * displayed timeline's headers as well at the start and end date of it.
261
+ * ...
262
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-timeZone)
263
+ */
264
+ timeZone?: string | number;
265
+ /**
266
+ * Specifies the output format of [toJSON](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).
267
+ * ...
268
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-toJSONResultFormat)
269
+ */
270
+ toJSONResultFormat?: 'inlineData' | 'model';
271
+ /**
272
+ * By default, the stores of a project use the raw data objects passed to them as the data source for their
273
+ * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
274
+ * the data objects are instead by default cloned to avoid the original data object being modified by the
275
+ * store.
276
+ * ...
277
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-useRawData)
278
+ */
279
+ useRawData?: boolean;
280
+ };
281
+ export declare class BryntumSchedulerProjectModelComponent implements OnInit, OnDestroy {
282
+ static instanceClass: typeof ProjectModel;
283
+ static instanceName: string;
284
+ private static bryntumEvents;
285
+ private static bryntumFeatureNames;
286
+ private static bryntumConfigs;
287
+ private static bryntumConfigsOnly;
288
+ private static bryntumProps;
289
+ private elementRef;
290
+ instance: ProjectModel;
291
+ private bryntumConfig;
292
+ constructor(element: ElementRef);
293
+ adjustDurationToDST: boolean;
294
+ assignmentModelClass: typeof AssignmentModel;
295
+ assignmentsData: AssignmentModel[] | AssignmentModelConfig[];
296
+ assignmentStoreClass: typeof AssignmentStore | object;
297
+ children: boolean | object[] | Model[] | ModelConfig[];
298
+ dependenciesData: DependencyModel[] | DependencyModelConfig[];
299
+ dependencyModelClass: typeof DependencyModel;
300
+ dependencyStoreClass: typeof DependencyStore | object;
301
+ eventModelClass: typeof EventModel;
302
+ eventsData: EventModel[] | EventModelConfig[];
303
+ eventStoreClass: typeof EventStore | object;
304
+ expanded: boolean;
305
+ orderedParentIndex: number;
306
+ parentIndex: number;
307
+ resourceModelClass: typeof ResourceModel;
308
+ resourcesData: ResourceModel[] | ResourceModelConfig[];
309
+ resourceStoreClass: typeof ResourceStore | object;
310
+ resourceTimeRangesData: ResourceTimeRangeModel[];
311
+ resourceTimeRangeStoreClass: typeof ResourceTimeRangeStore | object;
312
+ silenceInitialCommit: boolean;
313
+ timeRangesData: TimeSpan[];
314
+ timeRangeStoreClass: typeof TimeRangeStore | object;
315
+ toJSONResultFormat: 'inlineData' | 'model';
316
+ useRawData: boolean;
317
+ assignments: AssignmentModel[] | AssignmentModelConfig[];
318
+ assignmentStore: AssignmentStore | AssignmentStoreConfig;
319
+ dependencies: DependencyModel[] | DependencyModelConfig[];
320
+ dependencyStore: DependencyStore | DependencyStoreConfig;
321
+ events: EventModel[] | EventModelConfig[];
322
+ eventStore: EventStore | EventStoreConfig;
323
+ id: string | number;
324
+ includeLegacyDataProperties: boolean;
325
+ isFullyLoaded: boolean;
326
+ json: string;
327
+ parentId: number | string | null;
328
+ readOnly: boolean;
329
+ remoteChildCount: number;
330
+ resources: ResourceModel[] | ResourceModelConfig[];
331
+ resourceStore: ResourceStore | ResourceStoreConfig;
332
+ resourceTimeRanges: ResourceTimeRangeModel[] | ResourceTimeRangeModelConfig[];
333
+ resourceTimeRangeStore: ResourceTimeRangeStore | ResourceTimeRangeStoreConfig;
334
+ shouldSyncDataOnLoad: (options: {
335
+ store: Store;
336
+ records: Model;
337
+ data: object[];
338
+ }) => Set<any> | boolean;
339
+ stm: StateTrackingManager | StateTrackingManagerConfig;
340
+ timeRanges: TimeRangeModel[] | TimeRangeModelConfig[];
341
+ timeRangeStore: Store | StoreConfig;
342
+ timeZone: string | number;
343
+ allChildren: Model[];
344
+ allUnfilteredChildren: Model[];
345
+ descendantCount: number;
346
+ hasGeneratedId: boolean;
347
+ inlineData: object;
348
+ internalId: number;
349
+ isCommitting: boolean;
350
+ isCreating: boolean;
351
+ isValid: boolean;
352
+ previousSiblingsTotalCount: number;
353
+ visibleDescendantCount: number;
354
+ /**
355
+ * Fired when data in any of the projects stores changes.
356
+ * ...
357
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-change)
358
+ * @param {object} event Event object
359
+ * @param {Scheduler.model.ProjectModel,any} event.source This project
360
+ * @param {Core.data.Store} event.store Affected store
361
+ * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
362
+ * @param {Core.data.Model} event.record Changed record, for actions that affects exactly one record (`'update'`)
363
+ * @param {Core.data.Model[]} event.records Changed records, passed for all actions except `'removeAll'`
364
+ * @param {object} event.changes Passed for the `'update'` action, info on which record fields changed
365
+ */
366
+ onChange: any;
367
+ /**
368
+ * Fired when the engine has finished its calculations and the results has been written back to the records.
369
+ * ...
370
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-dataReady)
371
+ * @param {object} event Event object
372
+ * @param {Scheduler.model.ProjectModel,any} event.source The project
373
+ * @param {boolean} event.isInitialCommit Flag that shows if this commit is initial
374
+ * @param {Set<any>} event.records Set of all [Model](https://bryntum.com/products/scheduler/docs/api/Core/data/Model)s that were modified in the completed transaction. Use the [modifications](https://bryntum.com/products/scheduler/docs/api/Core/data/Model#property-modifications) property of each Model to identify modified fields.
375
+ */
376
+ onDataReady: any;
377
+ /**
378
+ * Create and append the underlying widget
379
+ */
380
+ ngOnInit(): void;
381
+ /**
382
+ * Watch for changes
383
+ * @param changes
384
+ */
385
+ ngOnChanges(changes: SimpleChanges): void;
386
+ /**
387
+ * Destroy the component
388
+ */
389
+ ngOnDestroy(): void;
390
+ static ɵfac: i0.ɵɵFactoryDeclaration<BryntumSchedulerProjectModelComponent, never>;
391
+ static ɵcmp: i0.ɵɵComponentDeclaration<BryntumSchedulerProjectModelComponent, "bryntum-scheduler-project-model", never, { "adjustDurationToDST": "adjustDurationToDST"; "assignmentModelClass": "assignmentModelClass"; "assignmentsData": "assignmentsData"; "assignmentStoreClass": "assignmentStoreClass"; "children": "children"; "dependenciesData": "dependenciesData"; "dependencyModelClass": "dependencyModelClass"; "dependencyStoreClass": "dependencyStoreClass"; "eventModelClass": "eventModelClass"; "eventsData": "eventsData"; "eventStoreClass": "eventStoreClass"; "expanded": "expanded"; "orderedParentIndex": "orderedParentIndex"; "parentIndex": "parentIndex"; "resourceModelClass": "resourceModelClass"; "resourcesData": "resourcesData"; "resourceStoreClass": "resourceStoreClass"; "resourceTimeRangesData": "resourceTimeRangesData"; "resourceTimeRangeStoreClass": "resourceTimeRangeStoreClass"; "silenceInitialCommit": "silenceInitialCommit"; "timeRangesData": "timeRangesData"; "timeRangeStoreClass": "timeRangeStoreClass"; "toJSONResultFormat": "toJSONResultFormat"; "useRawData": "useRawData"; "assignments": "assignments"; "assignmentStore": "assignmentStore"; "dependencies": "dependencies"; "dependencyStore": "dependencyStore"; "events": "events"; "eventStore": "eventStore"; "id": "id"; "includeLegacyDataProperties": "includeLegacyDataProperties"; "isFullyLoaded": "isFullyLoaded"; "json": "json"; "parentId": "parentId"; "readOnly": "readOnly"; "remoteChildCount": "remoteChildCount"; "resources": "resources"; "resourceStore": "resourceStore"; "resourceTimeRanges": "resourceTimeRanges"; "resourceTimeRangeStore": "resourceTimeRangeStore"; "shouldSyncDataOnLoad": "shouldSyncDataOnLoad"; "stm": "stm"; "timeRanges": "timeRanges"; "timeRangeStore": "timeRangeStore"; "timeZone": "timeZone"; "allChildren": "allChildren"; "allUnfilteredChildren": "allUnfilteredChildren"; "descendantCount": "descendantCount"; "hasGeneratedId": "hasGeneratedId"; "inlineData": "inlineData"; "internalId": "internalId"; "isCommitting": "isCommitting"; "isCreating": "isCreating"; "isValid": "isValid"; "previousSiblingsTotalCount": "previousSiblingsTotalCount"; "visibleDescendantCount": "visibleDescendantCount"; }, { "onChange": "onChange"; "onDataReady": "onDataReady"; }, never, never>;
392
+ }