@bryntum/schedulerpro-vue-3-thin 7.2.4 → 7.3.0
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.
- package/README.md +7 -7
- package/lib/chunks/{D4JDuI0s.js → B4dVznPx.js} +1 -8
- package/lib/chunks/B4dVznPx.js.map +1 -0
- package/lib/chunks/{BhUeT19h.js → BFFz1c24.js} +5 -5
- package/lib/chunks/BFFz1c24.js.map +1 -0
- package/lib/chunks/{BJPdcix1.js → BIkGnHve.js} +3 -3
- package/lib/chunks/BIkGnHve.js.map +1 -0
- package/lib/chunks/{BRGc8bUJ.js → BNBuOpUp.js} +8 -7
- package/lib/chunks/BNBuOpUp.js.map +1 -0
- package/lib/chunks/{BjTPjWi9.js → Bp7aU5Ia.js} +6 -6
- package/lib/chunks/Bp7aU5Ia.js.map +1 -0
- package/lib/chunks/{CuODT2-U.js → C3Dz-ovY.js} +3 -3
- package/lib/chunks/C3Dz-ovY.js.map +1 -0
- package/lib/chunks/{BTT_cGQU.js → CPjow0gO.js} +8 -9
- package/lib/chunks/CPjow0gO.js.map +1 -0
- package/lib/chunks/{DYBe70El.js → CqtUB81W.js} +18 -11
- package/lib/chunks/CqtUB81W.js.map +1 -0
- package/lib/chunks/{C41opZKx.js → CvNpXefN.js} +18 -11
- package/lib/chunks/CvNpXefN.js.map +1 -0
- package/lib/chunks/{BbI7XKMd.js → D0hJ3P6L.js} +5 -3
- package/lib/chunks/D0hJ3P6L.js.map +1 -0
- package/lib/chunks/{BpAvqwr_.js → D1a3F6m-.js} +23 -13
- package/lib/chunks/D1a3F6m-.js.map +1 -0
- package/lib/chunks/{CGbW6pgm.js → DPA-xEW5.js} +8 -9
- package/lib/chunks/DPA-xEW5.js.map +1 -0
- package/lib/chunks/{MOjUZ-Rj.js → DdbMybqv.js} +5 -5
- package/lib/chunks/DdbMybqv.js.map +1 -0
- package/lib/chunks/{DGV7a5Xo.js → DjFBhm9P.js} +6 -6
- package/lib/chunks/DjFBhm9P.js.map +1 -0
- package/lib/chunks/{Dz-up1_i.js → DmFXOMJ5.js} +5 -5
- package/lib/chunks/DmFXOMJ5.js.map +1 -0
- package/lib/chunks/{DwzPrR90.js → Pb5GbfMi.js} +5 -5
- package/lib/chunks/Pb5GbfMi.js.map +1 -0
- package/lib/chunks/{M0cBUV91.js → W-pa3HyX.js} +6 -6
- package/lib/chunks/W-pa3HyX.js.map +1 -0
- package/lib/chunks/{CJFZbm_i.js → b8yreHIz.js} +23 -13
- package/lib/chunks/b8yreHIz.js.map +1 -0
- package/lib/chunks/{9jfNe_y3.js → oM3gO3yH.js} +14 -8
- package/lib/chunks/oM3gO3yH.js.map +1 -0
- package/lib/chunks/{BO8FwQoh.js → p1r0F5YC.js} +6 -6
- package/lib/chunks/p1r0F5YC.js.map +1 -0
- package/lib/chunks/{DlNFp5e-.js → s35t-2ke.js} +10 -10
- package/lib/chunks/s35t-2ke.js.map +1 -0
- package/lib/chunks/{j8JzZ-07.js → yF4wtntA.js} +4 -4
- package/lib/chunks/yF4wtntA.js.map +1 -0
- package/lib/components/BryntumCalendarEditor.js +1 -1
- package/lib/components/BryntumCalendarField.js +1 -1
- package/lib/components/BryntumConstraintTypePicker.js +1 -1
- package/lib/components/BryntumCostAccrualField.js +1 -1
- package/lib/components/BryntumDependencyTypePicker.js +1 -1
- package/lib/components/BryntumEffortField.js +1 -1
- package/lib/components/BryntumEndDateField.js +1 -1
- package/lib/components/BryntumModelCombo.js +1 -1
- package/lib/components/BryntumRateTableField.js +1 -1
- package/lib/components/BryntumResourceEditor.js +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.js +1 -1
- package/lib/components/BryntumResourceTypeField.js +1 -1
- package/lib/components/BryntumResourceUtilization.js +1 -1
- package/lib/components/BryntumSchedulerPro.js +1 -1
- package/lib/components/BryntumSchedulerProBase.js +1 -1
- package/lib/components/BryntumSchedulerProProjectModel.js +1 -1
- package/lib/components/BryntumSchedulingDirectionPicker.js +1 -1
- package/lib/components/BryntumSchedulingModePicker.js +1 -1
- package/lib/components/BryntumStartDateField.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/index.js +22 -22
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +127 -186
- package/src/components/BryntumCalendarEditorProps.ts +123 -177
- package/src/components/BryntumCalendarField.vue +91 -151
- package/src/components/BryntumCalendarFieldProps.ts +87 -143
- package/src/components/BryntumConstraintTypePicker.vue +91 -151
- package/src/components/BryntumConstraintTypePickerProps.ts +87 -143
- package/src/components/BryntumCostAccrualField.vue +91 -151
- package/src/components/BryntumCostAccrualFieldProps.ts +87 -143
- package/src/components/BryntumDependencyTypePicker.vue +91 -151
- package/src/components/BryntumDependencyTypePickerProps.ts +87 -143
- package/src/components/BryntumEffortField.vue +79 -124
- package/src/components/BryntumEffortFieldProps.ts +73 -114
- package/src/components/BryntumEndDateField.vue +79 -122
- package/src/components/BryntumEndDateFieldProps.ts +75 -114
- package/src/components/BryntumModelCombo.vue +91 -151
- package/src/components/BryntumModelComboProps.ts +87 -143
- package/src/components/BryntumRateTableField.vue +91 -151
- package/src/components/BryntumRateTableFieldProps.ts +87 -143
- package/src/components/BryntumResourceEditor.vue +126 -184
- package/src/components/BryntumResourceEditorProps.ts +122 -175
- package/src/components/BryntumResourceGrid.vue +204 -293
- package/src/components/BryntumResourceGridProps.ts +187 -263
- package/src/components/BryntumResourceHistogram.vue +335 -458
- package/src/components/BryntumResourceHistogramProps.ts +287 -402
- package/src/components/BryntumResourceTypeField.vue +91 -151
- package/src/components/BryntumResourceTypeFieldProps.ts +87 -143
- package/src/components/BryntumResourceUtilization.vue +335 -458
- package/src/components/BryntumResourceUtilizationProps.ts +288 -404
- package/src/components/BryntumSchedulerPro.vue +504 -643
- package/src/components/BryntumSchedulerProBase.vue +504 -643
- package/src/components/BryntumSchedulerProBaseProps.ts +408 -556
- package/src/components/BryntumSchedulerProProjectModel.vue +63 -107
- package/src/components/BryntumSchedulerProProjectModelProps.ts +55 -85
- package/src/components/BryntumSchedulerProProps.ts +408 -556
- package/src/components/BryntumSchedulingDirectionPicker.vue +91 -151
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +87 -143
- package/src/components/BryntumSchedulingModePicker.vue +92 -153
- package/src/components/BryntumSchedulingModePickerProps.ts +88 -145
- package/src/components/BryntumStartDateField.vue +81 -126
- package/src/components/BryntumStartDateFieldProps.ts +77 -118
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeline.vue +425 -594
- package/src/components/BryntumTimelineProps.ts +366 -519
- package/src/components/BryntumVersionGrid.vue +203 -290
- package/src/components/BryntumVersionGridProps.ts +186 -261
- package/lib/chunks/9jfNe_y3.js.map +0 -1
- package/lib/chunks/BJPdcix1.js.map +0 -1
- package/lib/chunks/BO8FwQoh.js.map +0 -1
- package/lib/chunks/BRGc8bUJ.js.map +0 -1
- package/lib/chunks/BTT_cGQU.js.map +0 -1
- package/lib/chunks/BbI7XKMd.js.map +0 -1
- package/lib/chunks/BhUeT19h.js.map +0 -1
- package/lib/chunks/BjTPjWi9.js.map +0 -1
- package/lib/chunks/BpAvqwr_.js.map +0 -1
- package/lib/chunks/C41opZKx.js.map +0 -1
- package/lib/chunks/CGbW6pgm.js.map +0 -1
- package/lib/chunks/CJFZbm_i.js.map +0 -1
- package/lib/chunks/CuODT2-U.js.map +0 -1
- package/lib/chunks/D4JDuI0s.js.map +0 -1
- package/lib/chunks/DGV7a5Xo.js.map +0 -1
- package/lib/chunks/DYBe70El.js.map +0 -1
- package/lib/chunks/DlNFp5e-.js.map +0 -1
- package/lib/chunks/DwzPrR90.js.map +0 -1
- package/lib/chunks/Dz-up1_i.js.map +0 -1
- package/lib/chunks/M0cBUV91.js.map +0 -1
- package/lib/chunks/MOjUZ-Rj.js.map +0 -1
- package/lib/chunks/j8JzZ-07.js.map +0 -1
|
@@ -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,14 +252,12 @@ 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
|
/**
|
|
@@ -288,25 +269,22 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
288
269
|
* @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
270
|
* @param {number} bufferAmount See `bufferUnit`
|
|
290
271
|
*/
|
|
291
|
-
lazyLoad ? : Boolean|{lazyLoad: { chunkSize: number }, bufferUnit: DurationUnit, bufferAmount: number}
|
|
272
|
+
lazyLoad ? : Boolean|{ lazyLoad: { chunkSize: number }, bufferUnit: DurationUnit, bufferAmount: number }
|
|
292
273
|
/**
|
|
293
274
|
* The listener set for this object.
|
|
294
|
-
* ...
|
|
295
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-listeners)
|
|
275
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-listeners)
|
|
296
276
|
*/
|
|
297
277
|
listeners ? : ProjectModelListeners
|
|
298
278
|
/**
|
|
299
279
|
* Convenience shortcut to set only the url to load from, when you do not need to supply any other config
|
|
300
280
|
* 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)
|
|
281
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-loadUrl)
|
|
303
282
|
*/
|
|
304
283
|
loadUrl ? : string
|
|
305
284
|
/**
|
|
306
285
|
* Maximum range the project calendars can iterate.
|
|
307
286
|
* 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)
|
|
287
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-maxCalendarRange)
|
|
310
288
|
*/
|
|
311
289
|
maxCalendarRange ? : number
|
|
312
290
|
/**
|
|
@@ -345,15 +323,13 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
345
323
|
* Setting this to `true` (default) vetoes [silenceInitialCommit](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit) effect
|
|
346
324
|
* by preventing silent changes accepting
|
|
347
325
|
* 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)
|
|
326
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-preventSilencingOnIssueResolve)
|
|
350
327
|
*/
|
|
351
328
|
preventSilencingOnIssueResolve ? : Boolean
|
|
352
329
|
/**
|
|
353
330
|
* Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
|
|
354
331
|
* 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)
|
|
332
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-readOnly)
|
|
357
333
|
*/
|
|
358
334
|
readOnly ? : Boolean
|
|
359
335
|
/**
|
|
@@ -367,16 +343,14 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
367
343
|
* If set to `true`, this makes the CrudManager load pages of data, instead of loading the complete dataset at
|
|
368
344
|
* once. The requests made to the [loadUrl](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/crud/AbstractCrudManagerMixin#config-loadUrl) will contain
|
|
369
345
|
* 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)
|
|
346
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-remotePaging)
|
|
372
347
|
*/
|
|
373
348
|
remotePaging ? : Boolean
|
|
374
349
|
/**
|
|
375
350
|
* 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
351
|
* your own data fetching logic by implementing this function. Doing this will override the built-in fetching
|
|
377
352
|
* 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)
|
|
353
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-requestData)
|
|
380
354
|
* @param {LazyLoadCrudManagerRequestParams} params Object containing info of what data is requested
|
|
381
355
|
* @returns {CrudManagerRequestResponse}
|
|
382
356
|
*/
|
|
@@ -448,8 +422,7 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
448
422
|
* Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and
|
|
449
423
|
* if it does - which records that should be processed. Only called for stores that are configured with
|
|
450
424
|
* `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)
|
|
425
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-shouldSyncDataOnLoad)
|
|
453
426
|
* @param {object} options Options passed by the store to this hook
|
|
454
427
|
* @param {Core.data.Store} options.store Store about to be synced
|
|
455
428
|
* @param {Core.data.Model} options.records Records currently in the store
|
|
@@ -459,22 +432,19 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
459
432
|
shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean
|
|
460
433
|
/**
|
|
461
434
|
* Silences propagations caused by the project loading.
|
|
462
|
-
* ...
|
|
463
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit)
|
|
435
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-silenceInitialCommit)
|
|
464
436
|
*/
|
|
465
437
|
silenceInitialCommit ? : Boolean
|
|
466
438
|
/**
|
|
467
439
|
* When `true` the project's manually scheduled tasks duration will include only working periods of time.
|
|
468
440
|
* 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)
|
|
441
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeInDurationWhenSchedulingManually)
|
|
471
442
|
*/
|
|
472
443
|
skipNonWorkingTimeInDurationWhenSchedulingManually ? : Boolean
|
|
473
444
|
/**
|
|
474
445
|
* When `true` the project's manually scheduled tasks will adjust their proposed start/end dates to skip non-working
|
|
475
446
|
* time.
|
|
476
|
-
* ...
|
|
477
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeWhenSchedulingManually)
|
|
447
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-skipNonWorkingTimeWhenSchedulingManually)
|
|
478
448
|
*/
|
|
479
449
|
skipNonWorkingTimeWhenSchedulingManually ? : Boolean
|
|
480
450
|
/**
|
|
@@ -491,30 +461,26 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
491
461
|
* store to use it by id. Store identifier is used as a container name holding corresponding store data
|
|
492
462
|
* while transferring them to/from the server. By default, `id` property is used. And in case a
|
|
493
463
|
* 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)
|
|
464
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-storeIdProperty)
|
|
496
465
|
*/
|
|
497
466
|
storeIdProperty ? : string
|
|
498
467
|
/**
|
|
499
468
|
* When `true` the Crud Manager does not require all updated and removed records to be mentioned in the
|
|
500
469
|
* *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)
|
|
470
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-supportShortSyncResponse)
|
|
503
471
|
*/
|
|
504
472
|
supportShortSyncResponse ? : Boolean
|
|
505
473
|
/**
|
|
506
474
|
* An array of store identifiers sets an alternative sync responses apply order.
|
|
507
475
|
* By default, the order in which sync responses are applied to the stores is the same as they
|
|
508
476
|
* 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)
|
|
477
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-syncApplySequence)
|
|
511
478
|
*/
|
|
512
479
|
syncApplySequence ? : string[]|CrudManagerStoreDescriptor[]
|
|
513
480
|
/**
|
|
514
481
|
* Convenience shortcut to set only the url to sync to, when you do not need to supply any other config
|
|
515
482
|
* 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)
|
|
483
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-syncUrl)
|
|
518
484
|
*/
|
|
519
485
|
syncUrl ? : string
|
|
520
486
|
/**
|
|
@@ -545,14 +511,12 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
545
511
|
* Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will
|
|
546
512
|
* convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the
|
|
547
513
|
* 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)
|
|
514
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-timeZone)
|
|
550
515
|
*/
|
|
551
516
|
timeZone ? : string|number
|
|
552
517
|
/**
|
|
553
518
|
* 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)
|
|
519
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-toJSONResultFormat)
|
|
556
520
|
*/
|
|
557
521
|
toJSONResultFormat ? : 'inlineData'|'model'
|
|
558
522
|
/**
|
|
@@ -569,28 +533,34 @@ export declare type BryntumSchedulerProProjectModelProps = {
|
|
|
569
533
|
trackResponseType ? : Boolean
|
|
570
534
|
/**
|
|
571
535
|
* Configuration of the AJAX requests used by *Crud Manager* to communicate with a server-side.
|
|
572
|
-
* ...
|
|
573
|
-
* [
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
536
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-transport)
|
|
537
|
+
* @property {object} [transport.load] Load requests configuration:
|
|
538
|
+
* @property {string} [transport.load.url] URL to request for data loading.
|
|
539
|
+
* @property {string} [transport.load.method] HTTP method to be used for load requests.
|
|
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 {string} [transport.sync.method] HTTP request method to be used for `sync`.
|
|
546
|
+
* @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).
|
|
547
|
+
* @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' } }, ... } ```
|
|
548
|
+
* @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' } }, ... } ```
|
|
549
|
+
*/
|
|
550
|
+
transport ? : { load?: { url?: string, method?: string, paramName?: string, params?: object, headers?: Record<string, string> }, sync?: { url?: string, method?: string, paramName?: string, params?: object, headers?: Record<string, string> } }
|
|
579
551
|
/**
|
|
580
552
|
* By default, the stores of a project use the raw data objects passed to them as the data source for their
|
|
581
553
|
* records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
|
|
582
554
|
* the data objects are instead by default cloned to avoid the original data object being modified by the
|
|
583
555
|
* store.
|
|
584
|
-
* ...
|
|
585
|
-
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-useRawData)
|
|
556
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-useRawData)
|
|
586
557
|
*/
|
|
587
558
|
useRawData ? : Boolean
|
|
588
559
|
/**
|
|
589
560
|
* This config validates the response structure for requests made by the Crud Manager.
|
|
590
561
|
* When `true`, the Crud Manager checks every parsed response structure for errors
|
|
591
562
|
* 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)
|
|
563
|
+
* [More...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#config-validateResponse)
|
|
594
564
|
*/
|
|
595
565
|
validateResponse ? : Boolean
|
|
596
566
|
/**
|