@bryntum/scheduler-vue-3-thin 7.2.3 → 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 +6 -6
- package/lib/chunks/{C7ZFK2B7.js → 5o-YjSb7.js} +16 -10
- package/lib/chunks/5o-YjSb7.js.map +1 -0
- package/lib/chunks/BXIuEgYD.js +265 -0
- package/lib/chunks/BXIuEgYD.js.map +1 -0
- package/lib/chunks/{BD-Hg3lY.js → DB0UHrA3.js} +17 -24
- package/lib/chunks/DB0UHrA3.js.map +1 -0
- package/lib/chunks/{DmQj0tBi.js → DP61St-u.js} +14 -6
- package/lib/chunks/DP61St-u.js.map +1 -0
- package/lib/chunks/{B0m0r-NV.js → DVFhf2Ma.js} +11 -11
- package/lib/chunks/DVFhf2Ma.js.map +1 -0
- package/lib/chunks/{DerP_qo7.js → DhhzgoYL.js} +16 -10
- package/lib/chunks/DhhzgoYL.js.map +1 -0
- package/lib/chunks/{BNGLBrCN.js → OJaN5ZWK.js} +6 -6
- package/lib/chunks/OJaN5ZWK.js.map +1 -0
- package/lib/chunks/{CP1Mm_Ak.js → R69sJLmF.js} +16 -17
- package/lib/chunks/R69sJLmF.js.map +1 -0
- package/lib/chunks/{mKqb8_2f.js → ZkU6CtWX.js} +6 -6
- package/lib/chunks/ZkU6CtWX.js.map +1 -0
- package/lib/chunks/{C0UqC4Uj.js → eUISgYXE.js} +9 -9
- package/lib/chunks/eUISgYXE.js.map +1 -0
- package/lib/chunks/{CsoS615B.js → kN-s_8Na.js} +6 -6
- package/lib/chunks/kN-s_8Na.js.map +1 -0
- package/lib/chunks/{C2PT-Ukt.js → t8aiH3XL.js} +13 -14
- package/lib/chunks/t8aiH3XL.js.map +1 -0
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumResourceFilter.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerDatePicker.js +1 -1
- package/lib/components/BryntumSchedulerProjectModel.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeZoomSlider.js +5 -0
- package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumUndoRedo.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +18 -16
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BryntumEventColorField.vue +72 -116
- package/src/components/BryntumEventColorFieldProps.ts +68 -108
- package/src/components/BryntumProjectCombo.vue +90 -149
- package/src/components/BryntumProjectComboProps.ts +86 -141
- package/src/components/BryntumResourceCombo.vue +91 -151
- package/src/components/BryntumResourceComboProps.ts +87 -143
- package/src/components/BryntumResourceFilter.vue +63 -104
- package/src/components/BryntumResourceFilterProps.ts +60 -98
- package/src/components/BryntumScheduler.vue +429 -600
- package/src/components/BryntumSchedulerBase.vue +429 -600
- package/src/components/BryntumSchedulerBaseProps.ts +367 -522
- package/src/components/BryntumSchedulerDatePicker.vue +120 -196
- package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
- package/src/components/BryntumSchedulerProjectModel.vue +12 -31
- package/src/components/BryntumSchedulerProjectModelProps.ts +10 -20
- package/src/components/BryntumSchedulerProps.ts +367 -522
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeZoomSlider.vue +859 -0
- package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
- package/src/components/BryntumTimelineHistogram.vue +325 -444
- package/src/components/BryntumTimelineHistogramProps.ts +275 -388
- package/src/components/BryntumUndoRedo.vue +78 -125
- package/src/components/BryntumUndoRedoProps.ts +74 -116
- package/src/components/BryntumViewPresetCombo.vue +67 -107
- package/src/components/BryntumViewPresetComboProps.ts +63 -99
- package/src/index.ts +2 -0
- package/lib/chunks/B0m0r-NV.js.map +0 -1
- package/lib/chunks/BD-Hg3lY.js.map +0 -1
- package/lib/chunks/BNGLBrCN.js.map +0 -1
- package/lib/chunks/C0UqC4Uj.js.map +0 -1
- package/lib/chunks/C2PT-Ukt.js.map +0 -1
- package/lib/chunks/C7ZFK2B7.js.map +0 -1
- package/lib/chunks/CP1Mm_Ak.js.map +0 -1
- package/lib/chunks/CsoS615B.js.map +0 -1
- package/lib/chunks/DerP_qo7.js.map +0 -1
- package/lib/chunks/DmQj0tBi.js.map +0 -1
- package/lib/chunks/mKqb8_2f.js.map +0 -1
|
@@ -51,8 +51,7 @@ defineProps<{
|
|
|
51
51
|
/**
|
|
52
52
|
* Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
|
|
53
53
|
* tasks.
|
|
54
|
-
* ...
|
|
55
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-children)
|
|
54
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-children)
|
|
56
55
|
*/
|
|
57
56
|
children ? : Boolean|object[]|Model[]|ModelConfig[]
|
|
58
57
|
/**
|
|
@@ -113,8 +112,7 @@ defineProps<{
|
|
|
113
112
|
/**
|
|
114
113
|
* Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as
|
|
115
114
|
* record.id. Will get a generated value if none is specified in records data.
|
|
116
|
-
* ...
|
|
117
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-id)
|
|
115
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-id)
|
|
118
116
|
*/
|
|
119
117
|
id ? : string|number
|
|
120
118
|
/**
|
|
@@ -129,14 +127,12 @@ defineProps<{
|
|
|
129
127
|
* [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
|
|
130
128
|
* more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer
|
|
131
129
|
* child records than requested.
|
|
132
|
-
* ...
|
|
133
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-isFullyLoaded)
|
|
130
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-isFullyLoaded)
|
|
134
131
|
*/
|
|
135
132
|
isFullyLoaded ? : Boolean
|
|
136
133
|
/**
|
|
137
134
|
* Project data as a JSON string, used to populate its stores.
|
|
138
|
-
* ...
|
|
139
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-json)
|
|
135
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-json)
|
|
140
136
|
*/
|
|
141
137
|
json ? : string
|
|
142
138
|
/**
|
|
@@ -162,8 +158,7 @@ defineProps<{
|
|
|
162
158
|
/**
|
|
163
159
|
* Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
|
|
164
160
|
* features such as cell editing and event dragging.
|
|
165
|
-
* ...
|
|
166
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-readOnly)
|
|
161
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-readOnly)
|
|
167
162
|
*/
|
|
168
163
|
readOnly ? : Boolean
|
|
169
164
|
/**
|
|
@@ -223,8 +218,7 @@ defineProps<{
|
|
|
223
218
|
* Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and
|
|
224
219
|
* if it does - which records that should be processed. Only called for stores that are configured with
|
|
225
220
|
* `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).
|
|
226
|
-
* ...
|
|
227
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-shouldSyncDataOnLoad)
|
|
221
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-shouldSyncDataOnLoad)
|
|
228
222
|
* @param {object} options Options passed by the store to this hook
|
|
229
223
|
* @param {Core.data.Store} options.store Store about to be synced
|
|
230
224
|
* @param {Core.data.Model} options.records Records currently in the store
|
|
@@ -234,8 +228,7 @@ defineProps<{
|
|
|
234
228
|
shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean
|
|
235
229
|
/**
|
|
236
230
|
* Silences propagations caused by the project loading.
|
|
237
|
-
* ...
|
|
238
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-silenceInitialCommit)
|
|
231
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-silenceInitialCommit)
|
|
239
232
|
*/
|
|
240
233
|
silenceInitialCommit ? : Boolean
|
|
241
234
|
/**
|
|
@@ -266,14 +259,12 @@ defineProps<{
|
|
|
266
259
|
* Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will
|
|
267
260
|
* convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the
|
|
268
261
|
* displayed timeline's headers as well at the start and end date of it.
|
|
269
|
-
* ...
|
|
270
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-timeZone)
|
|
262
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-timeZone)
|
|
271
263
|
*/
|
|
272
264
|
timeZone ? : string|number
|
|
273
265
|
/**
|
|
274
266
|
* Specifies the output format of [toJSON](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).
|
|
275
|
-
* ...
|
|
276
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-toJSONResultFormat)
|
|
267
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-toJSONResultFormat)
|
|
277
268
|
*/
|
|
278
269
|
toJSONResultFormat ? : 'inlineData'|'model'
|
|
279
270
|
/**
|
|
@@ -281,8 +272,7 @@ defineProps<{
|
|
|
281
272
|
* records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
|
|
282
273
|
* the data objects are instead by default cloned to avoid the original data object being modified by the
|
|
283
274
|
* store.
|
|
284
|
-
* ...
|
|
285
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-useRawData)
|
|
275
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-useRawData)
|
|
286
276
|
*/
|
|
287
277
|
useRawData ? : Boolean
|
|
288
278
|
|
|
@@ -291,8 +281,7 @@ defineProps<{
|
|
|
291
281
|
const emit = defineEmits<{
|
|
292
282
|
/**
|
|
293
283
|
* Fired when data in any of the projects stores changes.
|
|
294
|
-
* ...
|
|
295
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-change)
|
|
284
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-change)
|
|
296
285
|
* @param {string} e Event name
|
|
297
286
|
* @param {object} params Event parameters
|
|
298
287
|
* @param {string} params.e Event name
|
|
@@ -308,8 +297,7 @@ const emit = defineEmits<{
|
|
|
308
297
|
(e: 'change', params: ((event: { source: ProjectModel|any, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
|
|
309
298
|
/**
|
|
310
299
|
* Fired when the engine has finished its calculations and the results has been written back to the records.
|
|
311
|
-
* ...
|
|
312
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-dataReady)
|
|
300
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-dataReady)
|
|
313
301
|
* @param {string} e Event name
|
|
314
302
|
* @param {object} params Event parameters
|
|
315
303
|
* @param {string} params.e Event name
|
|
@@ -379,16 +367,9 @@ const widgetData = {
|
|
|
379
367
|
'timeZone'
|
|
380
368
|
],
|
|
381
369
|
propertyNames : [
|
|
382
|
-
'allChildren',
|
|
383
|
-
'allUnfilteredChildren',
|
|
384
370
|
'descendantCount',
|
|
385
|
-
'hasGeneratedId',
|
|
386
371
|
'inlineData',
|
|
387
|
-
'internalId',
|
|
388
|
-
'isCommitting',
|
|
389
372
|
'isCreating',
|
|
390
|
-
'isValid',
|
|
391
|
-
'previousSiblingsTotalCount',
|
|
392
373
|
'visibleDescendantCount'
|
|
393
374
|
],
|
|
394
375
|
eventNames : [
|
|
@@ -36,8 +36,7 @@ export declare type BryntumSchedulerProjectModelProps = {
|
|
|
36
36
|
/**
|
|
37
37
|
* Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf
|
|
38
38
|
* tasks.
|
|
39
|
-
* ...
|
|
40
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-children)
|
|
39
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-children)
|
|
41
40
|
*/
|
|
42
41
|
children ? : Boolean|object[]|Model[]|ModelConfig[]
|
|
43
42
|
/**
|
|
@@ -98,8 +97,7 @@ export declare type BryntumSchedulerProjectModelProps = {
|
|
|
98
97
|
/**
|
|
99
98
|
* Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as
|
|
100
99
|
* record.id. Will get a generated value if none is specified in records data.
|
|
101
|
-
* ...
|
|
102
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-id)
|
|
100
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-id)
|
|
103
101
|
*/
|
|
104
102
|
id ? : string|number
|
|
105
103
|
/**
|
|
@@ -114,14 +112,12 @@ export declare type BryntumSchedulerProjectModelProps = {
|
|
|
114
112
|
* [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
|
|
115
113
|
* more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer
|
|
116
114
|
* child records than requested.
|
|
117
|
-
* ...
|
|
118
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-isFullyLoaded)
|
|
115
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-isFullyLoaded)
|
|
119
116
|
*/
|
|
120
117
|
isFullyLoaded ? : Boolean
|
|
121
118
|
/**
|
|
122
119
|
* Project data as a JSON string, used to populate its stores.
|
|
123
|
-
* ...
|
|
124
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-json)
|
|
120
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-json)
|
|
125
121
|
*/
|
|
126
122
|
json ? : string
|
|
127
123
|
/**
|
|
@@ -147,8 +143,7 @@ export declare type BryntumSchedulerProjectModelProps = {
|
|
|
147
143
|
/**
|
|
148
144
|
* Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing
|
|
149
145
|
* features such as cell editing and event dragging.
|
|
150
|
-
* ...
|
|
151
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-readOnly)
|
|
146
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-readOnly)
|
|
152
147
|
*/
|
|
153
148
|
readOnly ? : Boolean
|
|
154
149
|
/**
|
|
@@ -208,8 +203,7 @@ export declare type BryntumSchedulerProjectModelProps = {
|
|
|
208
203
|
* Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and
|
|
209
204
|
* if it does - which records that should be processed. Only called for stores that are configured with
|
|
210
205
|
* `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).
|
|
211
|
-
* ...
|
|
212
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-shouldSyncDataOnLoad)
|
|
206
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-shouldSyncDataOnLoad)
|
|
213
207
|
* @param {object} options Options passed by the store to this hook
|
|
214
208
|
* @param {Core.data.Store} options.store Store about to be synced
|
|
215
209
|
* @param {Core.data.Model} options.records Records currently in the store
|
|
@@ -219,8 +213,7 @@ export declare type BryntumSchedulerProjectModelProps = {
|
|
|
219
213
|
shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean
|
|
220
214
|
/**
|
|
221
215
|
* Silences propagations caused by the project loading.
|
|
222
|
-
* ...
|
|
223
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-silenceInitialCommit)
|
|
216
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-silenceInitialCommit)
|
|
224
217
|
*/
|
|
225
218
|
silenceInitialCommit ? : Boolean
|
|
226
219
|
/**
|
|
@@ -251,14 +244,12 @@ export declare type BryntumSchedulerProjectModelProps = {
|
|
|
251
244
|
* Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will
|
|
252
245
|
* convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the
|
|
253
246
|
* displayed timeline's headers as well at the start and end date of it.
|
|
254
|
-
* ...
|
|
255
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-timeZone)
|
|
247
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-timeZone)
|
|
256
248
|
*/
|
|
257
249
|
timeZone ? : string|number
|
|
258
250
|
/**
|
|
259
251
|
* Specifies the output format of [toJSON](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).
|
|
260
|
-
* ...
|
|
261
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-toJSONResultFormat)
|
|
252
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-toJSONResultFormat)
|
|
262
253
|
*/
|
|
263
254
|
toJSONResultFormat ? : 'inlineData'|'model'
|
|
264
255
|
/**
|
|
@@ -266,8 +257,7 @@ export declare type BryntumSchedulerProjectModelProps = {
|
|
|
266
257
|
* records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,
|
|
267
258
|
* the data objects are instead by default cloned to avoid the original data object being modified by the
|
|
268
259
|
* store.
|
|
269
|
-
* ...
|
|
270
|
-
* [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-useRawData)
|
|
260
|
+
* [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-useRawData)
|
|
271
261
|
*/
|
|
272
262
|
useRawData ? : Boolean
|
|
273
263
|
|