@bryntum/schedulerpro-vue-3-thin 7.2.4 → 7.3.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 (138) hide show
  1. package/README.md +9 -9
  2. package/lib/chunks/{BhUeT19h.js → 7vz3cAx6.js} +9 -7
  3. package/lib/chunks/7vz3cAx6.js.map +1 -0
  4. package/lib/chunks/{9jfNe_y3.js → B1SaPsRu.js} +16 -8
  5. package/lib/chunks/B1SaPsRu.js.map +1 -0
  6. package/lib/chunks/{D4JDuI0s.js → B4dVznPx.js} +1 -8
  7. package/lib/chunks/B4dVznPx.js.map +1 -0
  8. package/lib/chunks/{DwzPrR90.js → B8GKehTJ.js} +10 -8
  9. package/lib/chunks/B8GKehTJ.js.map +1 -0
  10. package/lib/chunks/{C41opZKx.js → BhXv58eE.js} +23 -14
  11. package/lib/chunks/BhXv58eE.js.map +1 -0
  12. package/lib/chunks/{Dz-up1_i.js → BhfdqXGU.js} +10 -8
  13. package/lib/chunks/BhfdqXGU.js.map +1 -0
  14. package/lib/chunks/{CJFZbm_i.js → Bk2bIVfG.js} +25 -13
  15. package/lib/chunks/Bk2bIVfG.js.map +1 -0
  16. package/lib/chunks/{DlNFp5e-.js → C1vi1h_N.js} +13 -11
  17. package/lib/chunks/C1vi1h_N.js.map +1 -0
  18. package/lib/chunks/{DYBe70El.js → CEQZr1q6.js} +20 -11
  19. package/lib/chunks/CEQZr1q6.js.map +1 -0
  20. package/lib/chunks/{BTT_cGQU.js → CPjow0gO.js} +8 -9
  21. package/lib/chunks/CPjow0gO.js.map +1 -0
  22. package/lib/chunks/{BRGc8bUJ.js → Cb_akueu.js} +16 -13
  23. package/lib/chunks/Cb_akueu.js.map +1 -0
  24. package/lib/chunks/{BJPdcix1.js → Cc_DPp3S.js} +8 -6
  25. package/lib/chunks/Cc_DPp3S.js.map +1 -0
  26. package/lib/chunks/{BjTPjWi9.js → Cr5VTUbs.js} +10 -8
  27. package/lib/chunks/Cr5VTUbs.js.map +1 -0
  28. package/lib/chunks/{j8JzZ-07.js → D-hmgVVF.js} +13 -11
  29. package/lib/chunks/D-hmgVVF.js.map +1 -0
  30. package/lib/chunks/{BpAvqwr_.js → D-v-Wqj4.js} +25 -13
  31. package/lib/chunks/D-v-Wqj4.js.map +1 -0
  32. package/lib/chunks/{BbI7XKMd.js → D0hJ3P6L.js} +5 -3
  33. package/lib/chunks/D0hJ3P6L.js.map +1 -0
  34. package/lib/chunks/{CGbW6pgm.js → DPA-xEW5.js} +8 -9
  35. package/lib/chunks/DPA-xEW5.js.map +1 -0
  36. package/lib/chunks/{CuODT2-U.js → XQWZfDOm.js} +7 -5
  37. package/lib/chunks/XQWZfDOm.js.map +1 -0
  38. package/lib/chunks/{MOjUZ-Rj.js → eKXSEOkn.js} +7 -5
  39. package/lib/chunks/eKXSEOkn.js.map +1 -0
  40. package/lib/chunks/{DGV7a5Xo.js → edcDjaO2.js} +7 -5
  41. package/lib/chunks/edcDjaO2.js.map +1 -0
  42. package/lib/chunks/{BO8FwQoh.js → n2IZFQjR.js} +10 -8
  43. package/lib/chunks/n2IZFQjR.js.map +1 -0
  44. package/lib/chunks/{M0cBUV91.js → zY4Qxi9x.js} +8 -6
  45. package/lib/chunks/zY4Qxi9x.js.map +1 -0
  46. package/lib/components/BryntumCalendarEditor.js +1 -1
  47. package/lib/components/BryntumCalendarField.js +1 -1
  48. package/lib/components/BryntumConstraintTypePicker.js +1 -1
  49. package/lib/components/BryntumCostAccrualField.js +1 -1
  50. package/lib/components/BryntumDependencyTypePicker.js +1 -1
  51. package/lib/components/BryntumEffortField.js +1 -1
  52. package/lib/components/BryntumEndDateField.js +1 -1
  53. package/lib/components/BryntumModelCombo.js +1 -1
  54. package/lib/components/BryntumRateTableField.js +1 -1
  55. package/lib/components/BryntumResourceEditor.js +1 -1
  56. package/lib/components/BryntumResourceGrid.js +1 -1
  57. package/lib/components/BryntumResourceHistogram.js +1 -1
  58. package/lib/components/BryntumResourceTypeField.js +1 -1
  59. package/lib/components/BryntumResourceUtilization.js +1 -1
  60. package/lib/components/BryntumSchedulerPro.js +1 -1
  61. package/lib/components/BryntumSchedulerProBase.js +1 -1
  62. package/lib/components/BryntumSchedulerProProjectModel.js +1 -1
  63. package/lib/components/BryntumSchedulingDirectionPicker.js +1 -1
  64. package/lib/components/BryntumSchedulingModePicker.js +1 -1
  65. package/lib/components/BryntumStartDateField.js +1 -1
  66. package/lib/components/BryntumThemeCombo.js +57 -0
  67. package/lib/components/BryntumThemeCombo.js.map +1 -0
  68. package/lib/components/BryntumTimeline.js +1 -1
  69. package/lib/components/BryntumVersionGrid.js +1 -1
  70. package/lib/index.js +22 -22
  71. package/package.json +1 -1
  72. package/src/components/BryntumCalendarEditor.vue +191 -292
  73. package/src/components/BryntumCalendarEditorProps.ts +123 -177
  74. package/src/components/BryntumCalendarField.vue +172 -260
  75. package/src/components/BryntumCalendarFieldProps.ts +96 -143
  76. package/src/components/BryntumConstraintTypePicker.vue +172 -260
  77. package/src/components/BryntumConstraintTypePickerProps.ts +96 -143
  78. package/src/components/BryntumCostAccrualField.vue +172 -260
  79. package/src/components/BryntumCostAccrualFieldProps.ts +96 -143
  80. package/src/components/BryntumDependencyTypePicker.vue +172 -260
  81. package/src/components/BryntumDependencyTypePickerProps.ts +96 -143
  82. package/src/components/BryntumEffortField.vue +153 -224
  83. package/src/components/BryntumEffortFieldProps.ts +82 -114
  84. package/src/components/BryntumEndDateField.vue +159 -228
  85. package/src/components/BryntumEndDateFieldProps.ts +84 -114
  86. package/src/components/BryntumModelCombo.vue +172 -260
  87. package/src/components/BryntumModelComboProps.ts +96 -143
  88. package/src/components/BryntumRateTableField.vue +172 -260
  89. package/src/components/BryntumRateTableFieldProps.ts +96 -143
  90. package/src/components/BryntumResourceEditor.vue +190 -290
  91. package/src/components/BryntumResourceEditorProps.ts +122 -175
  92. package/src/components/BryntumResourceGrid.vue +730 -1045
  93. package/src/components/BryntumResourceGridProps.ts +192 -263
  94. package/src/components/BryntumResourceHistogram.vue +1098 -1539
  95. package/src/components/BryntumResourceHistogramProps.ts +292 -402
  96. package/src/components/BryntumResourceTypeField.vue +172 -260
  97. package/src/components/BryntumResourceTypeFieldProps.ts +96 -143
  98. package/src/components/BryntumResourceUtilization.vue +1114 -1561
  99. package/src/components/BryntumResourceUtilizationProps.ts +293 -404
  100. package/src/components/BryntumSchedulerPro.vue +2099 -2820
  101. package/src/components/BryntumSchedulerProBase.vue +2099 -2820
  102. package/src/components/BryntumSchedulerProBaseProps.ts +413 -556
  103. package/src/components/BryntumSchedulerProProjectModel.vue +192 -289
  104. package/src/components/BryntumSchedulerProProjectModelProps.ts +59 -88
  105. package/src/components/BryntumSchedulerProProps.ts +413 -556
  106. package/src/components/BryntumSchedulingDirectionPicker.vue +172 -260
  107. package/src/components/BryntumSchedulingDirectionPickerProps.ts +96 -143
  108. package/src/components/BryntumSchedulingModePicker.vue +173 -262
  109. package/src/components/BryntumSchedulingModePickerProps.ts +97 -145
  110. package/src/components/BryntumStartDateField.vue +161 -232
  111. package/src/components/BryntumStartDateFieldProps.ts +86 -118
  112. package/src/components/BryntumThemeCombo.vue +60 -0
  113. package/src/components/BryntumTimeline.vue +1846 -2517
  114. package/src/components/BryntumTimelineProps.ts +371 -519
  115. package/src/components/BryntumVersionGrid.vue +727 -1050
  116. package/src/components/BryntumVersionGridProps.ts +186 -261
  117. package/lib/chunks/9jfNe_y3.js.map +0 -1
  118. package/lib/chunks/BJPdcix1.js.map +0 -1
  119. package/lib/chunks/BO8FwQoh.js.map +0 -1
  120. package/lib/chunks/BRGc8bUJ.js.map +0 -1
  121. package/lib/chunks/BTT_cGQU.js.map +0 -1
  122. package/lib/chunks/BbI7XKMd.js.map +0 -1
  123. package/lib/chunks/BhUeT19h.js.map +0 -1
  124. package/lib/chunks/BjTPjWi9.js.map +0 -1
  125. package/lib/chunks/BpAvqwr_.js.map +0 -1
  126. package/lib/chunks/C41opZKx.js.map +0 -1
  127. package/lib/chunks/CGbW6pgm.js.map +0 -1
  128. package/lib/chunks/CJFZbm_i.js.map +0 -1
  129. package/lib/chunks/CuODT2-U.js.map +0 -1
  130. package/lib/chunks/D4JDuI0s.js.map +0 -1
  131. package/lib/chunks/DGV7a5Xo.js.map +0 -1
  132. package/lib/chunks/DYBe70El.js.map +0 -1
  133. package/lib/chunks/DlNFp5e-.js.map +0 -1
  134. package/lib/chunks/DwzPrR90.js.map +0 -1
  135. package/lib/chunks/Dz-up1_i.js.map +0 -1
  136. package/lib/chunks/M0cBUV91.js.map +0 -1
  137. package/lib/chunks/MOjUZ-Rj.js.map +0 -1
  138. package/lib/chunks/j8JzZ-07.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import type { DurationUnit, Model, ModelConfig, StateTrackingManager as CoreStateTrackingManager, Store, StoreConfig } from '@bryntum/core-thin';
1
+ import type { DurationUnit, FetchCredentials, HttpMethod, Model, ModelConfig, StateTrackingManager as CoreStateTrackingManager, Store, StoreConfig } from '@bryntum/core-thin';
2
2
  import type { CrudManagerRequestResponse, CrudManagerStoreDescriptor, LazyLoadCrudManagerRequestParams, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, TimeRangeStore, TimeSpan, TimeSpanConfig } from '@bryntum/scheduler-thin';
3
3
  import type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, CalendarManagerStore, CalendarManagerStoreConfig, CalendarModel, CalendarModelConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, ProjectModelListeners, ResourceAllocationInfo, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, StateTrackingManagerConfig } from '@bryntum/schedulerpro-thin';
4
4
 
@@ -8,16 +8,14 @@ export declare type BryntumSchedulerProProjectModelProps = {
8
8
  * If this flag is set to `true` (default) when a start/end date is set on the event, a corresponding
9
9
  * `start-no-earlier/later-than` constraint is added, automatically. This is done in order to
10
10
  * keep the event "attached" to this date, according to the user intention.
11
- * ...
12
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-addConstraintOnDateSet)
11
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-addConstraintOnDateSet)
13
12
  */
14
13
  addConstraintOnDateSet ? : Boolean
15
14
  /**
16
15
  * This config manages DST correction in the scheduling engine. It only has effect when DST transition hour is
17
16
  * working time. Usually a DST transition occurs on a Sunday, so with non-working weekends the DST correction logic
18
17
  * is not involved.
19
- * ...
20
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-adjustDurationToDST)
18
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-adjustDurationToDST)
21
19
  */
22
20
  adjustDurationToDST ? : Boolean
23
21
  /**
@@ -53,8 +51,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
53
51
  autoCalculatePercentDoneForParentTasks ? : Boolean
54
52
  /**
55
53
  * Specify `true` to automatically call [load](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#function-load) method on the next frame after creation.
56
- * ...
57
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-autoLoad)
54
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-autoLoad)
58
55
  */
59
56
  autoLoad ? : Boolean
60
57
  /**
@@ -75,8 +72,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
75
72
  /**
76
73
  * An object where property names with a truthy value indicate which events should bubble up the ownership
77
74
  * hierarchy when triggered.
78
- * ...
79
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-bubbleEvents)
75
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-bubbleEvents)
80
76
  */
81
77
  bubbleEvents ? : object
82
78
  /**
@@ -110,46 +106,39 @@ export declare type BryntumSchedulerProProjectModelProps = {
110
106
  calendarsData ? : CalendarModel[]
111
107
  /**
112
108
  * Set to `true` to call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
113
- * ...
114
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-callOnFunctions)
109
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-callOnFunctions)
115
110
  */
116
111
  callOnFunctions ? : Boolean
117
112
  /**
118
113
  * By default, if an event handler throws an exception, the error propagates up the stack and the
119
114
  * application state is undefined. Code which follows the event handler will *not* be executed.
120
- * ...
121
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-catchEventHandlerExceptions)
115
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-catchEventHandlerExceptions)
122
116
  */
123
117
  catchEventHandlerExceptions ? : Boolean
124
118
  /**
125
119
  * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
126
120
  * tasks.
127
- * ...
128
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-children)
121
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-children)
129
122
  */
130
123
  children ? : Boolean|object[]|Model[]|ModelConfig[]
131
124
  /**
132
125
  * Sets the list of stores controlled by the CRUD manager.
133
- * ...
134
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-crudStores)
126
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-crudStores)
135
127
  */
136
128
  crudStores ? : Store[]|string[]|CrudManagerStoreDescriptor[]|StoreConfig[]
137
129
  /**
138
130
  * The number of days per month.
139
- * ...
140
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-daysPerMonth)
131
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-daysPerMonth)
141
132
  */
142
133
  daysPerMonth ? : number
143
134
  /**
144
135
  * The number of days per week.
145
- * ...
146
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-daysPerWeek)
136
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-daysPerWeek)
147
137
  */
148
138
  daysPerWeek ? : number
149
139
  /**
150
140
  * Enables early rendering in SchedulerPro, by postponing calculations to after the first refresh.
151
- * ...
152
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-delayCalculation)
141
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-delayCalculation)
153
142
  */
154
143
  delayCalculation ? : Boolean
155
144
  /**
@@ -160,8 +149,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
160
149
  /**
161
150
  * The source of the calendar for dependencies (the calendar used for taking dependencies lag into account).
162
151
  * Possible values are:
163
- * ...
164
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-dependenciesCalendar)
152
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-dependenciesCalendar)
165
153
  */
166
154
  dependenciesCalendar ? : 'ToEvent'|'FromEvent'|'Project'
167
155
  /**
@@ -188,16 +176,14 @@ export declare type BryntumSchedulerProProjectModelProps = {
188
176
  /**
189
177
  * Set to `true` to enable calculation progress notifications.
190
178
  * When enabled the project fires [progress](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#event-progress) event.
191
- * ...
192
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-enableProgressNotifications)
179
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-enableProgressNotifications)
193
180
  */
194
181
  enableProgressNotifications ? : Boolean
195
182
  /**
196
183
  * Configuration of the JSON encoder used by the *Crud Manager*.
184
+ * @property {object} encoder.requestData Static data to send with the data request. ```javascript new CrudManager({ // add static "foo" property to all requests data encoder : { requestData : { foo : 'Bar' } }, ... }); ``` The above snippet will result adding "foo" property to all requests data: ```json { "requestId" : 756, "type" : "load", "foo" : "Bar", "stores" : [ ... ```
197
185
  */
198
- encoder ? : {
199
- requestData?: object
200
- }
186
+ encoder ? : { requestData: object }
201
187
  /**
202
188
  * The constructor of the event model class, to be used in the project. Will be set as the
203
189
  * [modelClass](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-modelClass) property of the [eventStore](#SchedulerPro/model/ProjectModel#property-eventStore)
@@ -234,15 +220,13 @@ export declare type BryntumSchedulerProProjectModelProps = {
234
220
  forceSync ? : Boolean
235
221
  /**
236
222
  * The number of hours per day.
237
- * ...
238
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-hoursPerDay)
223
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-hoursPerDay)
239
224
  */
240
225
  hoursPerDay ? : number
241
226
  /**
242
227
  * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as
243
228
  * record.id. Will get a generated value if none is specified in records data.
244
- * ...
245
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-id)
229
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-id)
246
230
  */
247
231
  id ? : string|number
248
232
  /**
@@ -253,8 +237,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
253
237
  /**
254
238
  * Set to `false` to only include the id of a removed parent node in the request to the backend (also
255
239
  * affects programmatic calls to get [changes](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#property-changes) etc.), and not the ids of its children.
256
- * ...
257
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-includeChildrenInRemoveRequest)
240
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-includeChildrenInRemoveRequest)
258
241
  */
259
242
  includeChildrenInRemoveRequest ? : Boolean
260
243
  /**
@@ -269,44 +252,38 @@ export declare type BryntumSchedulerProProjectModelProps = {
269
252
  * [lazyLoad](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any
270
253
  * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer
271
254
  * child records than requested.
272
- * ...
273
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-isFullyLoaded)
255
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-isFullyLoaded)
274
256
  */
275
257
  isFullyLoaded ? : Boolean
276
258
  /**
277
259
  * Project data as a JSON string, used to populate its stores.
278
- * ...
279
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-json)
260
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-json)
280
261
  */
281
262
  json ? : string
282
263
  /**
283
264
  * If set to `true`, or a config object, this makes the CrudManager load records only when needed. When a record
284
265
  * or a date range that is not already loaded is requested, a load request will be made to the specified URL.
285
266
  * More more details about lazy loading, see the [guide](https://bryntum.com/products/schedulerpro/docs/api/Grid/guides/data/lazyloading.md)
286
- * @param {object} lazyLoad Lazy load config
287
- * @param {number} lazyLoad.chunkSize The number of records to be loaded before and after the requested index (only affects the ResourceStore).
267
+ * @param {number} chunkSize The number of records to be loaded before and after the requested index (only affects the ResourceStore).
288
268
  * @param {DurationUnit} bufferUnit Used together with bufferAmount to calculate the start and end dates of each load request. The value is added to the current visible start or end date. Defaults to the visible time span length (does not affect ResourceStore).
289
269
  * @param {number} bufferAmount See `bufferUnit`
290
270
  */
291
- lazyLoad ? : Boolean|{lazyLoad: { chunkSize: number }, bufferUnit: DurationUnit, bufferAmount: number}
271
+ lazyLoad ? : Boolean|{ chunkSize: number, bufferUnit: DurationUnit, bufferAmount: number }
292
272
  /**
293
273
  * The listener set for this object.
294
- * ...
295
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-listeners)
274
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-listeners)
296
275
  */
297
276
  listeners ? : ProjectModelListeners
298
277
  /**
299
278
  * Convenience shortcut to set only the url to load from, when you do not need to supply any other config
300
279
  * options in the `load` section of the `transport` config.
301
- * ...
302
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-loadUrl)
280
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-loadUrl)
303
281
  */
304
282
  loadUrl ? : string
305
283
  /**
306
284
  * Maximum range the project calendars can iterate.
307
285
  * The value is defined in milliseconds and by default equals `5 years` roughly.
308
- * ...
309
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-maxCalendarRange)
286
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-maxCalendarRange)
310
287
  */
311
288
  maxCalendarRange ? : number
312
289
  /**
@@ -345,15 +322,13 @@ export declare type BryntumSchedulerProProjectModelProps = {
345
322
  * Setting this to `true` (default) vetoes [silenceInitialCommit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit) effect
346
323
  * by preventing silent changes accepting
347
324
  * on initial data loading if some scheduling issue gets resolved during it.
348
- * ...
349
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-preventSilencingOnIssueResolve)
325
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-preventSilencingOnIssueResolve)
350
326
  */
351
327
  preventSilencingOnIssueResolve ? : Boolean
352
328
  /**
353
329
  * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
354
330
  * features such as cell editing and event dragging.
355
- * ...
356
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-readOnly)
331
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-readOnly)
357
332
  */
358
333
  readOnly ? : Boolean
359
334
  /**
@@ -367,16 +342,14 @@ export declare type BryntumSchedulerProProjectModelProps = {
367
342
  * If set to `true`, this makes the CrudManager load pages of data, instead of loading the complete dataset at
368
343
  * once. The requests made to the [loadUrl](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#config-loadUrl) will contain
369
344
  * params with info about the current dataset being requested:
370
- * ...
371
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-remotePaging)
345
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-remotePaging)
372
346
  */
373
347
  remotePaging ? : Boolean
374
348
  /**
375
349
  * When the CrudManager/Project is configured with [lazyLoad](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/mixin/LazyLoadCrudManager#config-lazyLoad) set to `true`, you can configure
376
350
  * your own data fetching logic by implementing this function. Doing this will override the built-in fetching
377
351
  * mechanism using the [loadUrl](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/data/CrudManager#config-loadUrl).
378
- * ...
379
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-requestData)
352
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-requestData)
380
353
  * @param {LazyLoadCrudManagerRequestParams} params Object containing info of what data is requested
381
354
  * @returns {CrudManagerRequestResponse}
382
355
  */
@@ -448,8 +421,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
448
421
  * Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and
449
422
  * if it does - which records that should be processed. Only called for stores that are configured with
450
423
  * `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).
451
- * ...
452
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-shouldSyncDataOnLoad)
424
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-shouldSyncDataOnLoad)
453
425
  * @param {object} options Options passed by the store to this hook
454
426
  * @param {Core.data.Store} options.store Store about to be synced
455
427
  * @param {Core.data.Model} options.records Records currently in the store
@@ -459,22 +431,19 @@ export declare type BryntumSchedulerProProjectModelProps = {
459
431
  shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean
460
432
  /**
461
433
  * Silences propagations caused by the project loading.
462
- * ...
463
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit)
434
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit)
464
435
  */
465
436
  silenceInitialCommit ? : Boolean
466
437
  /**
467
438
  * When `true` the project's manually scheduled tasks duration will include only working periods of time.
468
439
  * When `false` such tasks will ignore working time calendars and treat all intervals as working.
469
- * ...
470
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeInDurationWhenSchedulingManually)
440
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeInDurationWhenSchedulingManually)
471
441
  */
472
442
  skipNonWorkingTimeInDurationWhenSchedulingManually ? : Boolean
473
443
  /**
474
444
  * When `true` the project's manually scheduled tasks will adjust their proposed start/end dates to skip non-working
475
445
  * time.
476
- * ...
477
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeWhenSchedulingManually)
446
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeWhenSchedulingManually)
478
447
  */
479
448
  skipNonWorkingTimeWhenSchedulingManually ? : Boolean
480
449
  /**
@@ -491,30 +460,26 @@ export declare type BryntumSchedulerProProjectModelProps = {
491
460
  * store to use it by id. Store identifier is used as a container name holding corresponding store data
492
461
  * while transferring them to/from the server. By default, `id` property is used. And in case a
493
462
  * container identifier has to differ this config can be used:
494
- * ...
495
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-storeIdProperty)
463
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-storeIdProperty)
496
464
  */
497
465
  storeIdProperty ? : string
498
466
  /**
499
467
  * When `true` the Crud Manager does not require all updated and removed records to be mentioned in the
500
468
  * *sync* response. In this case response should include only server side changes.
501
- * ...
502
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-supportShortSyncResponse)
469
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-supportShortSyncResponse)
503
470
  */
504
471
  supportShortSyncResponse ? : Boolean
505
472
  /**
506
473
  * An array of store identifiers sets an alternative sync responses apply order.
507
474
  * By default, the order in which sync responses are applied to the stores is the same as they
508
475
  * registered in. But in case of some tricky dependencies between stores this order can be changed:
509
- * ...
510
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-syncApplySequence)
476
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-syncApplySequence)
511
477
  */
512
478
  syncApplySequence ? : string[]|CrudManagerStoreDescriptor[]
513
479
  /**
514
480
  * Convenience shortcut to set only the url to sync to, when you do not need to supply any other config
515
481
  * options in the `sync` section of the `transport` config.
516
- * ...
517
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-syncUrl)
482
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-syncUrl)
518
483
  */
519
484
  syncUrl ? : string
520
485
  /**
@@ -545,14 +510,12 @@ export declare type BryntumSchedulerProProjectModelProps = {
545
510
  * Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will
546
511
  * convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the
547
512
  * displayed timeline's headers as well at the start and end date of it.
548
- * ...
549
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-timeZone)
513
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-timeZone)
550
514
  */
551
515
  timeZone ? : string|number
552
516
  /**
553
517
  * Specifies the output format of [toJSON](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).
554
- * ...
555
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-toJSONResultFormat)
518
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-toJSONResultFormat)
556
519
  */
557
520
  toJSONResultFormat ? : 'inlineData'|'model'
558
521
  /**
@@ -569,28 +532,36 @@ export declare type BryntumSchedulerProProjectModelProps = {
569
532
  trackResponseType ? : Boolean
570
533
  /**
571
534
  * Configuration of the AJAX requests used by *Crud Manager* to communicate with a server-side.
572
- * ...
573
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-transport)
574
- */
575
- transport ? : {
576
- load?: object
577
- sync?: object
578
- }
535
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-transport)
536
+ * @property {object} [transport.load] Load requests configuration:
537
+ * @property {string} [transport.load.url] URL to request for data loading.
538
+ * @property {HttpMethod} [transport.load.method] HTTP method to be used for load requests.
539
+ * @property {FetchCredentials} [transport.load.credentials] The request credentials option to use for load requests. Corresponds to the standard <a href="https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials">Fetch API `credentials`</a> option.
540
+ * @property {string} [transport.load.paramName] Name of the parameter that will contain a serialized `load` request. The value is mandatory for requests using `GET` method (default for `load`) so if the value is not provided `data` string is used as default. This value is optional for HTTP methods like `POST` and `PUT`, the request body will be used for data transferring in these cases.
541
+ * @property {object} [transport.load.params] An object containing extra HTTP parameters to pass to the server when sending a `load` request. ```javascript transport : { load : { url : 'http://mycool-server.com/load.php', // HTTP request parameter used to pass serialized "load"-requests paramName : 'data', // pass extra HTTP request parameter // so resulting URL will look like: http://mycool-server.com/load.php?userId=123456&data=... params : { userId : '123456' } }, ... } ```
542
+ * @property {Record<string, string>} [transport.load.headers] An object containing headers to pass to each server request. ```javascript transport : { load : { url : 'http://mycool-server.com/load.php', // HTTP request parameter used to pass serialized "load"-requests paramName : 'data', // specify Content-Type for "load" requests headers : { 'Content-Type' : 'application/json' } }, ... } ```
543
+ * @property {object} [transport.sync] Sync requests (`sync` in further text) configuration:
544
+ * @property {string} [transport.sync.url] URL to request for `sync`.
545
+ * @property {HttpMethod} [transport.sync.method] HTTP request method to be used for `sync`.
546
+ * @property {FetchCredentials} [transport.sync.credentials] The request credentials option to use for sync requests. Corresponds to the standard <a href="https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials">Fetch API `credentials`</a> option.
547
+ * @property {string} [transport.sync.paramName] Name of the parameter in which `sync` data will be transferred. This value is optional for requests using methods like `POST` and `PUT`, the request body will be used for data transferring in this case (default for `sync`). And the value is mandatory for requests using `GET` method (if the value is not provided `data` string will be used as fallback).
548
+ * @property {object} [transport.sync.params] HTTP parameters to pass with an HTTP request handling `sync`. ```javascript transport : { sync : { url : 'http://mycool-server.com/sync.php', // extra HTTP request parameter params : { userId : '123456' } }, ... } ```
549
+ * @property {Record<string, string>} [transport.sync.headers] HTTP headers to pass with an HTTP request handling `sync`. ```javascript transport : { sync : { url : 'http://mycool-server.com/sync.php', // specify Content-Type for "sync" requests headers : { 'Content-Type' : 'application/json' } }, ... } ```
550
+ */
551
+ transport ? : { load?: { url?: string, method?: HttpMethod, credentials?: FetchCredentials, paramName?: string, params?: object, headers?: Record<string, string> }, sync?: { url?: string, method?: HttpMethod, credentials?: FetchCredentials, paramName?: string, params?: object, headers?: Record<string, string> } }
579
552
  /**
580
553
  * By default, the stores of a project use the raw data objects passed to them as the data source for their
581
554
  * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
582
555
  * the data objects are instead by default cloned to avoid the original data object being modified by the
583
556
  * store.
584
- * ...
585
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-useRawData)
557
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-useRawData)
586
558
  */
587
559
  useRawData ? : Boolean
588
560
  /**
589
561
  * This config validates the response structure for requests made by the Crud Manager.
590
562
  * When `true`, the Crud Manager checks every parsed response structure for errors
591
563
  * and if the response format is invalid, a warning is logged to the browser console.
592
- * ...
593
- * [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-validateResponse)
564
+ * [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-validateResponse)
594
565
  */
595
566
  validateResponse ? : Boolean
596
567
  /**