@bryntum/scheduler-vue-3-thin 7.1.2 → 7.1.3
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 +18 -12
- package/lib/chunks/{dnU2pCDo.js → 6EoHCTY_.js} +20 -16
- package/lib/chunks/6EoHCTY_.js.map +1 -0
- package/lib/chunks/{DDnFIp_o.js → CS2Ou_bo.js} +17 -13
- package/lib/chunks/{DDnFIp_o.js.map → CS2Ou_bo.js.map} +1 -1
- package/lib/chunks/{Cz79kyyi.js → w9YPCarT.js} +9 -5
- package/lib/chunks/w9YPCarT.js.map +1 -0
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/helper/WrapperHelper.js +42 -42
- package/lib/helper/WrapperHelper.js.map +1 -1
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/src/components/BryntumScheduler.vue +50 -22
- package/src/components/BryntumSchedulerBase.vue +50 -22
- package/src/components/BryntumTimelineHistogram.vue +50 -22
- package/src/helper/WrapperHelper.ts +5 -1
- package/lib/chunks/Cz79kyyi.js.map +0 -1
- package/lib/chunks/dnU2pCDo.js.map +0 -1
|
@@ -2299,6 +2299,18 @@ const emit = defineEmits<{
|
|
|
2299
2299
|
* @param {any} params.params.event.value The value being set
|
|
2300
2300
|
*/
|
|
2301
2301
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
2302
|
+
/**
|
|
2303
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
2304
|
+
* @param {string} e Event name
|
|
2305
|
+
* @param {object} params Event parameters
|
|
2306
|
+
* @param {string} params.e Event name
|
|
2307
|
+
* @param {object} params.params Event parameters
|
|
2308
|
+
* @param {object} params.params.event Event object
|
|
2309
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
2310
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
2311
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
2312
|
+
*/
|
|
2313
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
2302
2314
|
/**
|
|
2303
2315
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
2304
2316
|
* @param {string} e Event name
|
|
@@ -2820,12 +2832,12 @@ const emit = defineEmits<{
|
|
|
2820
2832
|
* @param {string} params.e Event name
|
|
2821
2833
|
* @param {object} params.params Event parameters
|
|
2822
2834
|
* @param {object} params.params.event Event object
|
|
2823
|
-
* @param {Grid.view.
|
|
2824
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
2825
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2826
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2835
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2836
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
2837
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2838
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2827
2839
|
*/
|
|
2828
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
2840
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2829
2841
|
/**
|
|
2830
2842
|
* Grid rows are about to be rendered
|
|
2831
2843
|
* @param {string} e Event name
|
|
@@ -2833,9 +2845,9 @@ const emit = defineEmits<{
|
|
|
2833
2845
|
* @param {string} params.e Event name
|
|
2834
2846
|
* @param {object} params.params Event parameters
|
|
2835
2847
|
* @param {object} params.params.event Event object
|
|
2836
|
-
* @param {Grid.view.
|
|
2848
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2837
2849
|
*/
|
|
2838
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
2850
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2839
2851
|
/**
|
|
2840
2852
|
* This event fires before row collapse is started.
|
|
2841
2853
|
* ...
|
|
@@ -3192,6 +3204,18 @@ const emit = defineEmits<{
|
|
|
3192
3204
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
3193
3205
|
*/
|
|
3194
3206
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
3207
|
+
/**
|
|
3208
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
3209
|
+
* @param {string} e Event name
|
|
3210
|
+
* @param {object} params Event parameters
|
|
3211
|
+
* @param {string} params.e Event name
|
|
3212
|
+
* @param {object} params.params Event parameters
|
|
3213
|
+
* @param {object} params.params.event Event object
|
|
3214
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
3215
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
3216
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
3217
|
+
*/
|
|
3218
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
3195
3219
|
/**
|
|
3196
3220
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
3197
3221
|
* to indicate whether the drop position is valid or not.
|
|
@@ -3320,14 +3344,14 @@ const emit = defineEmits<{
|
|
|
3320
3344
|
* @param {string} params.e Event name
|
|
3321
3345
|
* @param {object} params.params Event parameters
|
|
3322
3346
|
* @param {object} params.params.event Event object
|
|
3323
|
-
* @param {Grid.view.
|
|
3347
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
3324
3348
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
3325
3349
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
3326
3350
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
3327
3351
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
3328
3352
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
3329
3353
|
*/
|
|
3330
|
-
(e: 'dataChange', params: ((event: { source:
|
|
3354
|
+
(e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
|
|
3331
3355
|
/**
|
|
3332
3356
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
3333
3357
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -4518,12 +4542,12 @@ const emit = defineEmits<{
|
|
|
4518
4542
|
* @param {string} params.e Event name
|
|
4519
4543
|
* @param {object} params.params Event parameters
|
|
4520
4544
|
* @param {object} params.params.event Event object
|
|
4521
|
-
* @param {Grid.view.
|
|
4522
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
4523
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
4524
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
4545
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
4546
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
4547
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
4548
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
4525
4549
|
*/
|
|
4526
|
-
(e: 'renderRow', params: ((event: { source:
|
|
4550
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
4527
4551
|
/**
|
|
4528
4552
|
* Grid rows have been rendered
|
|
4529
4553
|
* @param {string} e Event name
|
|
@@ -4531,9 +4555,9 @@ const emit = defineEmits<{
|
|
|
4531
4555
|
* @param {string} params.e Event name
|
|
4532
4556
|
* @param {object} params.params Event parameters
|
|
4533
4557
|
* @param {object} params.params.event Event object
|
|
4534
|
-
* @param {Grid.view.
|
|
4558
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
4535
4559
|
*/
|
|
4536
|
-
(e: 'renderRows', params: ((event: { source:
|
|
4560
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
4537
4561
|
/**
|
|
4538
4562
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
4539
4563
|
* @param {string} e Event name
|
|
@@ -5003,10 +5027,10 @@ const emit = defineEmits<{
|
|
|
5003
5027
|
* @param {string} params.e Event name
|
|
5004
5028
|
* @param {object} params.params Event parameters
|
|
5005
5029
|
* @param {object} params.params.event Event object
|
|
5006
|
-
* @param {Grid.view.
|
|
5030
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
5007
5031
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
5008
5032
|
*/
|
|
5009
|
-
(e: 'scroll', params: ((event: { source:
|
|
5033
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
5010
5034
|
/**
|
|
5011
5035
|
* Fires on owner when the scroll button is clicked, return `false` to prevent default scroll behavior
|
|
5012
5036
|
* @param {string} e Event name
|
|
@@ -5162,10 +5186,10 @@ const emit = defineEmits<{
|
|
|
5162
5186
|
* @param {string} params.e Event name
|
|
5163
5187
|
* @param {object} params.params Event parameters
|
|
5164
5188
|
* @param {object} params.params.event Event object
|
|
5165
|
-
* @param {Grid.view.
|
|
5189
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5166
5190
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
5167
5191
|
*/
|
|
5168
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
5192
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
5169
5193
|
/**
|
|
5170
5194
|
* Fires after a sub grid is expanded.
|
|
5171
5195
|
* @param {string} e Event name
|
|
@@ -5173,10 +5197,10 @@ const emit = defineEmits<{
|
|
|
5173
5197
|
* @param {string} params.e Event name
|
|
5174
5198
|
* @param {object} params.params Event parameters
|
|
5175
5199
|
* @param {object} params.params.event Event object
|
|
5176
|
-
* @param {Grid.view.
|
|
5200
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
5177
5201
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
5178
5202
|
*/
|
|
5179
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
5203
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
5180
5204
|
/**
|
|
5181
5205
|
* Triggered for click on a tick cell. Only triggered if the TreeSummary feature is configured with
|
|
5182
5206
|
* `[enableMouseEvents](https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/TreeSummary#config-enableMouseEvents): true`.
|
|
@@ -5829,6 +5853,7 @@ const widgetData = {
|
|
|
5829
5853
|
'onBeforeCellEditStart',
|
|
5830
5854
|
'onBeforeCellRangeDelete',
|
|
5831
5855
|
'onBeforeCellRangeEdit',
|
|
5856
|
+
'onBeforeColumnCollapseToggle',
|
|
5832
5857
|
'onBeforeColumnDragStart',
|
|
5833
5858
|
'onBeforeColumnDropFinalize',
|
|
5834
5859
|
'onBeforeColumnResize',
|
|
@@ -5894,6 +5919,7 @@ const widgetData = {
|
|
|
5894
5919
|
'onCellMouseOver',
|
|
5895
5920
|
'onCollapse',
|
|
5896
5921
|
'onCollapseNode',
|
|
5922
|
+
'onColumnCollapseToggle',
|
|
5897
5923
|
'onColumnDrag',
|
|
5898
5924
|
'onColumnDragStart',
|
|
5899
5925
|
'onColumnDrop',
|
|
@@ -6152,6 +6178,7 @@ const widgetData = {
|
|
|
6152
6178
|
'beforeCellEditStart',
|
|
6153
6179
|
'beforeCellRangeDelete',
|
|
6154
6180
|
'beforeCellRangeEdit',
|
|
6181
|
+
'beforeColumnCollapseToggle',
|
|
6155
6182
|
'beforeColumnDragStart',
|
|
6156
6183
|
'beforeColumnDropFinalize',
|
|
6157
6184
|
'beforeColumnResize',
|
|
@@ -6217,6 +6244,7 @@ const widgetData = {
|
|
|
6217
6244
|
'cellMouseOver',
|
|
6218
6245
|
'collapse',
|
|
6219
6246
|
'collapseNode',
|
|
6247
|
+
'columnCollapseToggle',
|
|
6220
6248
|
'columnDrag',
|
|
6221
6249
|
'columnDragStart',
|
|
6222
6250
|
'columnDrop',
|
|
@@ -1676,6 +1676,18 @@ const emit = defineEmits<{
|
|
|
1676
1676
|
* @param {any} params.params.event.value The value being set
|
|
1677
1677
|
*/
|
|
1678
1678
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1679
|
+
/**
|
|
1680
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
1681
|
+
* @param {string} e Event name
|
|
1682
|
+
* @param {object} params Event parameters
|
|
1683
|
+
* @param {string} params.e Event name
|
|
1684
|
+
* @param {object} params.params Event parameters
|
|
1685
|
+
* @param {object} params.params.event Event object
|
|
1686
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
1687
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
1688
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
1689
|
+
*/
|
|
1690
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1679
1691
|
/**
|
|
1680
1692
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
1681
1693
|
* @param {string} e Event name
|
|
@@ -1926,12 +1938,12 @@ const emit = defineEmits<{
|
|
|
1926
1938
|
* @param {string} params.e Event name
|
|
1927
1939
|
* @param {object} params.params Event parameters
|
|
1928
1940
|
* @param {object} params.params.event Event object
|
|
1929
|
-
* @param {Grid.view.
|
|
1930
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1931
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1932
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1941
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
1942
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1943
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1944
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1933
1945
|
*/
|
|
1934
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
1946
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
1935
1947
|
/**
|
|
1936
1948
|
* Grid rows are about to be rendered
|
|
1937
1949
|
* @param {string} e Event name
|
|
@@ -1939,9 +1951,9 @@ const emit = defineEmits<{
|
|
|
1939
1951
|
* @param {string} params.e Event name
|
|
1940
1952
|
* @param {object} params.params Event parameters
|
|
1941
1953
|
* @param {object} params.params.event Event object
|
|
1942
|
-
* @param {Grid.view.
|
|
1954
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
1943
1955
|
*/
|
|
1944
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
1956
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
1945
1957
|
/**
|
|
1946
1958
|
* This event fires before row collapse is started.
|
|
1947
1959
|
* ...
|
|
@@ -2272,6 +2284,18 @@ const emit = defineEmits<{
|
|
|
2272
2284
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
2273
2285
|
*/
|
|
2274
2286
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
2287
|
+
/**
|
|
2288
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
2289
|
+
* @param {string} e Event name
|
|
2290
|
+
* @param {object} params Event parameters
|
|
2291
|
+
* @param {string} params.e Event name
|
|
2292
|
+
* @param {object} params.params Event parameters
|
|
2293
|
+
* @param {object} params.params.event Event object
|
|
2294
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
2295
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
2296
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
2297
|
+
*/
|
|
2298
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
2275
2299
|
/**
|
|
2276
2300
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
2277
2301
|
* to indicate whether the drop position is valid or not.
|
|
@@ -2400,14 +2424,14 @@ const emit = defineEmits<{
|
|
|
2400
2424
|
* @param {string} params.e Event name
|
|
2401
2425
|
* @param {object} params.params Event parameters
|
|
2402
2426
|
* @param {object} params.params.event Event object
|
|
2403
|
-
* @param {Grid.view.
|
|
2427
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
2404
2428
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
2405
2429
|
* @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`
|
|
2406
2430
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
2407
2431
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
2408
2432
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
2409
2433
|
*/
|
|
2410
|
-
(e: 'dataChange', params: ((event: { source:
|
|
2434
|
+
(e: 'dataChange', params: ((event: { source: GridBase, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void
|
|
2411
2435
|
/**
|
|
2412
2436
|
* Fired when the range of dates encapsulated by the UI changes. This will be when
|
|
2413
2437
|
* moving a view in time by reconfiguring its [timeAxis](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/TimelineBase#config-timeAxis). This will happen
|
|
@@ -2917,12 +2941,12 @@ const emit = defineEmits<{
|
|
|
2917
2941
|
* @param {string} params.e Event name
|
|
2918
2942
|
* @param {object} params.params Event parameters
|
|
2919
2943
|
* @param {object} params.params.event Event object
|
|
2920
|
-
* @param {Grid.view.
|
|
2921
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2922
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2923
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2944
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2945
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2946
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2947
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2924
2948
|
*/
|
|
2925
|
-
(e: 'renderRow', params: ((event: { source:
|
|
2949
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2926
2950
|
/**
|
|
2927
2951
|
* Grid rows have been rendered
|
|
2928
2952
|
* @param {string} e Event name
|
|
@@ -2930,9 +2954,9 @@ const emit = defineEmits<{
|
|
|
2930
2954
|
* @param {string} params.e Event name
|
|
2931
2955
|
* @param {object} params.params Event parameters
|
|
2932
2956
|
* @param {object} params.params.event Event object
|
|
2933
|
-
* @param {Grid.view.
|
|
2957
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2934
2958
|
*/
|
|
2935
|
-
(e: 'renderRows', params: ((event: { source:
|
|
2959
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2936
2960
|
/**
|
|
2937
2961
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
2938
2962
|
* @param {string} e Event name
|
|
@@ -3182,10 +3206,10 @@ const emit = defineEmits<{
|
|
|
3182
3206
|
* @param {string} params.e Event name
|
|
3183
3207
|
* @param {object} params.params Event parameters
|
|
3184
3208
|
* @param {object} params.params.event Event object
|
|
3185
|
-
* @param {Grid.view.
|
|
3209
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
3186
3210
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
3187
3211
|
*/
|
|
3188
|
-
(e: 'scroll', params: ((event: { source:
|
|
3212
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
3189
3213
|
/**
|
|
3190
3214
|
* The selection has been changed.
|
|
3191
3215
|
* @param {string} e Event name
|
|
@@ -3317,10 +3341,10 @@ const emit = defineEmits<{
|
|
|
3317
3341
|
* @param {string} params.e Event name
|
|
3318
3342
|
* @param {object} params.params Event parameters
|
|
3319
3343
|
* @param {object} params.params.event Event object
|
|
3320
|
-
* @param {Grid.view.
|
|
3344
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
3321
3345
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
3322
3346
|
*/
|
|
3323
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
3347
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
3324
3348
|
/**
|
|
3325
3349
|
* Fires after a sub grid is expanded.
|
|
3326
3350
|
* @param {string} e Event name
|
|
@@ -3328,10 +3352,10 @@ const emit = defineEmits<{
|
|
|
3328
3352
|
* @param {string} params.e Event name
|
|
3329
3353
|
* @param {object} params.params Event parameters
|
|
3330
3354
|
* @param {object} params.params.event Event object
|
|
3331
|
-
* @param {Grid.view.
|
|
3355
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
3332
3356
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
3333
3357
|
*/
|
|
3334
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
3358
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
3335
3359
|
/**
|
|
3336
3360
|
* Fired when the tick size changes.
|
|
3337
3361
|
* ...
|
|
@@ -3798,6 +3822,7 @@ const widgetData = {
|
|
|
3798
3822
|
'onBeforeCellEditStart',
|
|
3799
3823
|
'onBeforeCellRangeDelete',
|
|
3800
3824
|
'onBeforeCellRangeEdit',
|
|
3825
|
+
'onBeforeColumnCollapseToggle',
|
|
3801
3826
|
'onBeforeColumnDragStart',
|
|
3802
3827
|
'onBeforeColumnDropFinalize',
|
|
3803
3828
|
'onBeforeColumnResize',
|
|
@@ -3844,6 +3869,7 @@ const widgetData = {
|
|
|
3844
3869
|
'onCellMouseOver',
|
|
3845
3870
|
'onCollapse',
|
|
3846
3871
|
'onCollapseNode',
|
|
3872
|
+
'onColumnCollapseToggle',
|
|
3847
3873
|
'onColumnDrag',
|
|
3848
3874
|
'onColumnDragStart',
|
|
3849
3875
|
'onColumnDrop',
|
|
@@ -3999,6 +4025,7 @@ const widgetData = {
|
|
|
3999
4025
|
'beforeCellEditStart',
|
|
4000
4026
|
'beforeCellRangeDelete',
|
|
4001
4027
|
'beforeCellRangeEdit',
|
|
4028
|
+
'beforeColumnCollapseToggle',
|
|
4002
4029
|
'beforeColumnDragStart',
|
|
4003
4030
|
'beforeColumnDropFinalize',
|
|
4004
4031
|
'beforeColumnResize',
|
|
@@ -4045,6 +4072,7 @@ const widgetData = {
|
|
|
4045
4072
|
'cellMouseOver',
|
|
4046
4073
|
'collapse',
|
|
4047
4074
|
'collapseNode',
|
|
4075
|
+
'columnCollapseToggle',
|
|
4048
4076
|
'columnDrag',
|
|
4049
4077
|
'columnDragStart',
|
|
4050
4078
|
'columnDrop',
|
|
@@ -469,9 +469,13 @@ export class WrapperHelper {
|
|
|
469
469
|
isRecurring = eventRecord.isRecurring || eventRecord.isOccurrence,
|
|
470
470
|
key = `assignment-${assignmentRecord?.id}${isRecurring ? '-' + eventRecord.id : ''}`;
|
|
471
471
|
|
|
472
|
-
if
|
|
472
|
+
// Only delete the teleport if it's rendering into this specific targetElement.
|
|
473
|
+
// Prevents issues when elements are reused during scrolling with LockRows feature.
|
|
474
|
+
if (wrap.vueKey && teleports.get(wrap.vueKey)?.to === targetElement) {
|
|
475
|
+
// Only delete if the existing teleport is rendering into this specific targetElement
|
|
473
476
|
teleports.delete(wrap.vueKey);
|
|
474
477
|
}
|
|
478
|
+
|
|
475
479
|
const
|
|
476
480
|
bind = { ...rendererConfig },
|
|
477
481
|
{ is, on = {} } = bind;
|