@bryntum/schedulerpro-vue-3-thin 7.2.0 → 7.2.2
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/B12rdbvL.js.map +1 -1
- package/lib/chunks/BBN-5eeI.js.map +1 -1
- package/lib/chunks/{DghqseiN.js → BCexQ9jU.js} +4 -2
- package/lib/chunks/BCexQ9jU.js.map +1 -0
- package/lib/chunks/{OtE4hpSS.js → BIu6tRhF.js} +4 -2
- package/lib/chunks/BIu6tRhF.js.map +1 -0
- package/lib/chunks/BMF41dEG.js.map +1 -1
- package/lib/chunks/BrUxjEMx.js.map +1 -1
- package/lib/chunks/ByS5_-RM.js.map +1 -1
- package/lib/chunks/{B7sV8_zC.js → CAY3x-95.js} +4 -2
- package/lib/chunks/CAY3x-95.js.map +1 -0
- package/lib/chunks/CDbPwyl3.js.map +1 -1
- package/lib/chunks/{N6QbiUPO.js → ClkvTNYg.js} +4 -2
- package/lib/chunks/ClkvTNYg.js.map +1 -0
- package/lib/chunks/Ct_m9O9h.js.map +1 -1
- package/lib/chunks/D4JDuI0s.js.map +1 -1
- package/lib/chunks/DC4Xw3gK.js.map +1 -1
- package/lib/chunks/DRVdzy6g.js.map +1 -1
- package/lib/chunks/DgESZupU.js.map +1 -1
- package/lib/chunks/{sUi9pfNu.js → DkEI_jQ3.js} +102 -31
- package/lib/chunks/DkEI_jQ3.js.map +1 -0
- package/lib/chunks/{CoYhPB2e.js → DsAuU2wi.js} +7 -5
- package/lib/chunks/DsAuU2wi.js.map +1 -0
- package/lib/chunks/DvFm-5Hh.js.map +1 -1
- package/lib/chunks/{B2O8rS3_.js → DzkbsToy.js} +6 -4
- package/lib/chunks/DzkbsToy.js.map +1 -0
- package/lib/chunks/H_iWW1r0.js.map +1 -1
- package/lib/chunks/ggN9GDPJ.js.map +1 -1
- package/lib/chunks/qKNUUeE0.js.map +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.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/BryntumTimeline.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/index.js +7 -7
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +1 -1
- package/src/components/BryntumCalendarEditorProps.ts +1 -1
- package/src/components/BryntumCalendarField.vue +2 -2
- package/src/components/BryntumCalendarFieldProps.ts +2 -2
- package/src/components/BryntumConstraintTypePicker.vue +2 -2
- package/src/components/BryntumConstraintTypePickerProps.ts +2 -2
- package/src/components/BryntumCostAccrualField.vue +2 -2
- package/src/components/BryntumCostAccrualFieldProps.ts +2 -2
- package/src/components/BryntumDependencyTypePicker.vue +2 -2
- package/src/components/BryntumDependencyTypePickerProps.ts +2 -2
- package/src/components/BryntumEffortField.vue +1 -1
- package/src/components/BryntumEffortFieldProps.ts +1 -1
- package/src/components/BryntumEndDateField.vue +1 -1
- package/src/components/BryntumEndDateFieldProps.ts +1 -1
- package/src/components/BryntumModelCombo.vue +2 -2
- package/src/components/BryntumModelComboProps.ts +2 -2
- package/src/components/BryntumRateTableField.vue +2 -2
- package/src/components/BryntumRateTableFieldProps.ts +2 -2
- package/src/components/BryntumResourceEditor.vue +1 -1
- package/src/components/BryntumResourceEditorProps.ts +1 -1
- package/src/components/BryntumResourceGrid.vue +98 -7
- package/src/components/BryntumResourceGridProps.ts +4 -4
- package/src/components/BryntumResourceHistogram.vue +22 -8
- package/src/components/BryntumResourceHistogramProps.ts +4 -4
- package/src/components/BryntumResourceTypeField.vue +2 -2
- package/src/components/BryntumResourceTypeFieldProps.ts +2 -2
- package/src/components/BryntumResourceUtilization.vue +23 -9
- package/src/components/BryntumResourceUtilizationProps.ts +5 -5
- package/src/components/BryntumSchedulerPro.vue +29 -14
- package/src/components/BryntumSchedulerProBase.vue +29 -14
- package/src/components/BryntumSchedulerProBaseProps.ts +8 -8
- package/src/components/BryntumSchedulerProProjectModel.vue +7 -7
- package/src/components/BryntumSchedulerProProjectModelProps.ts +1 -1
- package/src/components/BryntumSchedulerProProps.ts +8 -8
- package/src/components/BryntumSchedulingDirectionPicker.vue +2 -2
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +2 -2
- package/src/components/BryntumSchedulingModePicker.vue +2 -2
- package/src/components/BryntumSchedulingModePickerProps.ts +2 -2
- package/src/components/BryntumStartDateField.vue +1 -1
- package/src/components/BryntumStartDateFieldProps.ts +1 -1
- package/src/components/BryntumTimeline.vue +29 -14
- package/src/components/BryntumTimelineProps.ts +8 -8
- package/src/components/BryntumVersionGrid.vue +20 -6
- package/src/components/BryntumVersionGridProps.ts +4 -4
- package/lib/chunks/B2O8rS3_.js.map +0 -1
- package/lib/chunks/B7sV8_zC.js.map +0 -1
- package/lib/chunks/CoYhPB2e.js.map +0 -1
- package/lib/chunks/DghqseiN.js.map +0 -1
- package/lib/chunks/N6QbiUPO.js.map +0 -1
- package/lib/chunks/OtE4hpSS.js.map +0 -1
- package/lib/chunks/sUi9pfNu.js.map +0 -1
|
@@ -175,7 +175,7 @@ export declare type BryntumCostAccrualFieldProps = {
|
|
|
175
175
|
contentElementCls ? : string|object
|
|
176
176
|
/**
|
|
177
177
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
178
|
-
* combo's input field, and
|
|
178
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
179
179
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
180
180
|
* ...
|
|
181
181
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/CostAccrualField#config-createOnUnmatched)
|
|
@@ -670,7 +670,7 @@ export declare type BryntumCostAccrualFieldProps = {
|
|
|
670
670
|
required ? : Boolean
|
|
671
671
|
/**
|
|
672
672
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
673
|
-
* the
|
|
673
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
674
674
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
675
675
|
* behaviour will be activated.
|
|
676
676
|
*/
|
|
@@ -191,7 +191,7 @@ defineProps<{
|
|
|
191
191
|
contentElementCls ? : string|object
|
|
192
192
|
/**
|
|
193
193
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
194
|
-
* combo's input field, and
|
|
194
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
195
195
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
196
196
|
* ...
|
|
197
197
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-createOnUnmatched)
|
|
@@ -691,7 +691,7 @@ defineProps<{
|
|
|
691
691
|
required ? : Boolean
|
|
692
692
|
/**
|
|
693
693
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
694
|
-
* the
|
|
694
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
695
695
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
696
696
|
* behaviour will be activated.
|
|
697
697
|
*/
|
|
@@ -176,7 +176,7 @@ export declare type BryntumDependencyTypePickerProps = {
|
|
|
176
176
|
contentElementCls ? : string|object
|
|
177
177
|
/**
|
|
178
178
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
179
|
-
* combo's input field, and
|
|
179
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
180
180
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
181
181
|
* ...
|
|
182
182
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-createOnUnmatched)
|
|
@@ -676,7 +676,7 @@ export declare type BryntumDependencyTypePickerProps = {
|
|
|
676
676
|
required ? : Boolean
|
|
677
677
|
/**
|
|
678
678
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
679
|
-
* the
|
|
679
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
680
680
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
681
681
|
* behaviour will be activated.
|
|
682
682
|
*/
|
|
@@ -532,7 +532,7 @@ defineProps<{
|
|
|
532
532
|
required ? : Boolean
|
|
533
533
|
/**
|
|
534
534
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
535
|
-
* the
|
|
535
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
536
536
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
537
537
|
* behaviour will be activated.
|
|
538
538
|
*/
|
|
@@ -517,7 +517,7 @@ export declare type BryntumEffortFieldProps = {
|
|
|
517
517
|
required ? : Boolean
|
|
518
518
|
/**
|
|
519
519
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
520
|
-
* the
|
|
520
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
521
521
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
522
522
|
* behaviour will be activated.
|
|
523
523
|
*/
|
|
@@ -555,7 +555,7 @@ defineProps<{
|
|
|
555
555
|
required ? : Boolean
|
|
556
556
|
/**
|
|
557
557
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
558
|
-
* the
|
|
558
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
559
559
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
560
560
|
* behaviour will be activated.
|
|
561
561
|
*/
|
|
@@ -540,7 +540,7 @@ export declare type BryntumEndDateFieldProps = {
|
|
|
540
540
|
required ? : Boolean
|
|
541
541
|
/**
|
|
542
542
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
543
|
-
* the
|
|
543
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
544
544
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
545
545
|
* behaviour will be activated.
|
|
546
546
|
*/
|
|
@@ -190,7 +190,7 @@ defineProps<{
|
|
|
190
190
|
contentElementCls ? : string|object
|
|
191
191
|
/**
|
|
192
192
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
193
|
-
* combo's input field, and
|
|
193
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
194
194
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
195
195
|
* ...
|
|
196
196
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-createOnUnmatched)
|
|
@@ -685,7 +685,7 @@ defineProps<{
|
|
|
685
685
|
required ? : Boolean
|
|
686
686
|
/**
|
|
687
687
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
688
|
-
* the
|
|
688
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
689
689
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
690
690
|
* behaviour will be activated.
|
|
691
691
|
*/
|
|
@@ -175,7 +175,7 @@ export declare type BryntumModelComboProps = {
|
|
|
175
175
|
contentElementCls ? : string|object
|
|
176
176
|
/**
|
|
177
177
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
178
|
-
* combo's input field, and
|
|
178
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
179
179
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
180
180
|
* ...
|
|
181
181
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-createOnUnmatched)
|
|
@@ -670,7 +670,7 @@ export declare type BryntumModelComboProps = {
|
|
|
670
670
|
required ? : Boolean
|
|
671
671
|
/**
|
|
672
672
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
673
|
-
* the
|
|
673
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
674
674
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
675
675
|
* behaviour will be activated.
|
|
676
676
|
*/
|
|
@@ -190,7 +190,7 @@ defineProps<{
|
|
|
190
190
|
contentElementCls ? : string|object
|
|
191
191
|
/**
|
|
192
192
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
193
|
-
* combo's input field, and
|
|
193
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
194
194
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
195
195
|
* ...
|
|
196
196
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/RateTableField#config-createOnUnmatched)
|
|
@@ -685,7 +685,7 @@ defineProps<{
|
|
|
685
685
|
required ? : Boolean
|
|
686
686
|
/**
|
|
687
687
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
688
|
-
* the
|
|
688
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
689
689
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
690
690
|
* behaviour will be activated.
|
|
691
691
|
*/
|
|
@@ -175,7 +175,7 @@ export declare type BryntumRateTableFieldProps = {
|
|
|
175
175
|
contentElementCls ? : string|object
|
|
176
176
|
/**
|
|
177
177
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
178
|
-
* combo's input field, and
|
|
178
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
179
179
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
180
180
|
* ...
|
|
181
181
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/RateTableField#config-createOnUnmatched)
|
|
@@ -670,7 +670,7 @@ export declare type BryntumRateTableFieldProps = {
|
|
|
670
670
|
required ? : Boolean
|
|
671
671
|
/**
|
|
672
672
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
673
|
-
* the
|
|
673
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
674
674
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
675
675
|
* behaviour will be activated.
|
|
676
676
|
*/
|
|
@@ -3,6 +3,29 @@
|
|
|
3
3
|
<template>
|
|
4
4
|
<div ref="refElement">
|
|
5
5
|
|
|
6
|
+
<!-- Container for Vue components used in cells, hidden from view -->
|
|
7
|
+
<div
|
|
8
|
+
ref="teleportsHolder"
|
|
9
|
+
style="display: none"
|
|
10
|
+
>
|
|
11
|
+
<!-- Vue components rendered in the grid cells -->
|
|
12
|
+
<teleport
|
|
13
|
+
v-for="item in teleports.values()"
|
|
14
|
+
:key="item.key"
|
|
15
|
+
:to="item.to"
|
|
16
|
+
>
|
|
17
|
+
<component
|
|
18
|
+
:is="item.is"
|
|
19
|
+
:ref="item.key"
|
|
20
|
+
:data-key="item.key"
|
|
21
|
+
:data-generation="item.generation"
|
|
22
|
+
v-bind="item.bind"
|
|
23
|
+
data-vue
|
|
24
|
+
v-on="item.on"
|
|
25
|
+
/>
|
|
26
|
+
</teleport>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
6
29
|
</div>
|
|
7
30
|
</template>
|
|
8
31
|
|
|
@@ -581,7 +604,7 @@ defineProps<{
|
|
|
581
604
|
rootElement ? : ShadowRoot|HTMLElement
|
|
582
605
|
/**
|
|
583
606
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
584
|
-
*
|
|
607
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
585
608
|
* a column [renderer](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-renderer).
|
|
586
609
|
* ...
|
|
587
610
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceGrid#config-rowHeight)
|
|
@@ -809,7 +832,7 @@ defineProps<{
|
|
|
809
832
|
cellEditFeature ? : object|Boolean|string|GridCellEdit|GridCellEditConfig
|
|
810
833
|
/**
|
|
811
834
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
812
|
-
*
|
|
835
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
813
836
|
* ...
|
|
814
837
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
815
838
|
*/
|
|
@@ -909,8 +932,8 @@ defineProps<{
|
|
|
909
932
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
910
933
|
/**
|
|
911
934
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
912
|
-
* <kbd>
|
|
913
|
-
* one anywhere on grid). Use <kbd>
|
|
935
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
936
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
914
937
|
* grouper.
|
|
915
938
|
* ...
|
|
916
939
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -1105,7 +1128,7 @@ const emit = defineEmits<{
|
|
|
1105
1128
|
*/
|
|
1106
1129
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1107
1130
|
/**
|
|
1108
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1131
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1109
1132
|
* buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1110
1133
|
* @param {string} e Event name
|
|
1111
1134
|
* @param {object} params Event parameters
|
|
@@ -2213,7 +2236,7 @@ const emit = defineEmits<{
|
|
|
2213
2236
|
* @param {Response} params.params.event.response Optional response, if received
|
|
2214
2237
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
2215
2238
|
*/
|
|
2216
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
2239
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
2217
2240
|
/**
|
|
2218
2241
|
* Fired when a Widget's read only state is toggled
|
|
2219
2242
|
* @param {string} e Event name
|
|
@@ -2524,6 +2547,18 @@ const emit = defineEmits<{
|
|
|
2524
2547
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
2525
2548
|
*/
|
|
2526
2549
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
2550
|
+
/**
|
|
2551
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
2552
|
+
* @param {string} e Event name
|
|
2553
|
+
* @param {object} params Event parameters
|
|
2554
|
+
* @param {string} params.e Event name
|
|
2555
|
+
* @param {object} params.params Event parameters
|
|
2556
|
+
* @param {object} params.params.event Event object
|
|
2557
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
2558
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
2559
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
2560
|
+
*/
|
|
2561
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
2527
2562
|
/**
|
|
2528
2563
|
* Fires when row locking is disabled.
|
|
2529
2564
|
* @param {string} e Event name
|
|
@@ -2544,6 +2579,55 @@ const widgetData = {
|
|
|
2544
2579
|
instanceClass : ResourceGrid,
|
|
2545
2580
|
instanceName : 'ResourceGrid',
|
|
2546
2581
|
|
|
2582
|
+
isView : true,
|
|
2583
|
+
dataStores : {
|
|
2584
|
+
'originalStore': 'originals'
|
|
2585
|
+
},
|
|
2586
|
+
projectStores : false,
|
|
2587
|
+
featureNames : [
|
|
2588
|
+
'aiFeature',
|
|
2589
|
+
'aiFilterFeature',
|
|
2590
|
+
'cellCopyPasteFeature',
|
|
2591
|
+
'cellEditFeature',
|
|
2592
|
+
'cellMenuFeature',
|
|
2593
|
+
'cellTooltipFeature',
|
|
2594
|
+
'chartsFeature',
|
|
2595
|
+
'columnAutoWidthFeature',
|
|
2596
|
+
'columnDragToolbarFeature',
|
|
2597
|
+
'columnPickerFeature',
|
|
2598
|
+
'columnRenameFeature',
|
|
2599
|
+
'columnReorderFeature',
|
|
2600
|
+
'columnResizeFeature',
|
|
2601
|
+
'excelExporterFeature',
|
|
2602
|
+
'fileDropFeature',
|
|
2603
|
+
'fillHandleFeature',
|
|
2604
|
+
'filterFeature',
|
|
2605
|
+
'filterBarFeature',
|
|
2606
|
+
'groupFeature',
|
|
2607
|
+
'groupSummaryFeature',
|
|
2608
|
+
'headerMenuFeature',
|
|
2609
|
+
'lockRowsFeature',
|
|
2610
|
+
'mergeCellsFeature',
|
|
2611
|
+
'pdfExportFeature',
|
|
2612
|
+
'pinColumnsFeature',
|
|
2613
|
+
'printFeature',
|
|
2614
|
+
'quickFindFeature',
|
|
2615
|
+
'regionResizeFeature',
|
|
2616
|
+
'rowCopyPasteFeature',
|
|
2617
|
+
'rowEditFeature',
|
|
2618
|
+
'rowExpanderFeature',
|
|
2619
|
+
'rowReorderFeature',
|
|
2620
|
+
'rowResizeFeature',
|
|
2621
|
+
'searchFeature',
|
|
2622
|
+
'sortFeature',
|
|
2623
|
+
'splitFeature',
|
|
2624
|
+
'stickyCellsFeature',
|
|
2625
|
+
'stripeFeature',
|
|
2626
|
+
'summaryFeature',
|
|
2627
|
+
'treeFeature',
|
|
2628
|
+
'treeGroupFeature'
|
|
2629
|
+
],
|
|
2630
|
+
|
|
2547
2631
|
configNames : [
|
|
2548
2632
|
'adopt',
|
|
2549
2633
|
'animateFilterRemovals',
|
|
@@ -2770,6 +2854,7 @@ const widgetData = {
|
|
|
2770
2854
|
'onToggleGroup',
|
|
2771
2855
|
'onToggleNode',
|
|
2772
2856
|
'onToolClick',
|
|
2857
|
+
'onTreeGroup',
|
|
2773
2858
|
'onUnlockRows',
|
|
2774
2859
|
'onUnsplit',
|
|
2775
2860
|
'preserveScroll',
|
|
@@ -2921,6 +3006,7 @@ const widgetData = {
|
|
|
2921
3006
|
'toggleGroup',
|
|
2922
3007
|
'toggleNode',
|
|
2923
3008
|
'toolClick',
|
|
3009
|
+
'treeGroup',
|
|
2924
3010
|
'unlockRows',
|
|
2925
3011
|
'unsplit'
|
|
2926
3012
|
]
|
|
@@ -2945,9 +3031,14 @@ onMounted(() => {
|
|
|
2945
3031
|
me,
|
|
2946
3032
|
widgetData,
|
|
2947
3033
|
emit,
|
|
2948
|
-
element
|
|
3034
|
+
element : refElement.value!,
|
|
3035
|
+
processCellContent : WrapperHelper.processCellContent,
|
|
3036
|
+
processEventContent : WrapperHelper.processEventContent,
|
|
3037
|
+
processWidgetContent : WrapperHelper.processWidgetContent,
|
|
3038
|
+
hasFrameworkRenderer : WrapperHelper.hasFrameworkRenderer,
|
|
2949
3039
|
toRaw
|
|
2950
3040
|
});
|
|
3041
|
+
WrapperHelper.relayStores(me.data, instance.value);
|
|
2951
3042
|
|
|
2952
3043
|
const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);
|
|
2953
3044
|
WrapperHelper.watchProps(instance.value, widgetData, watcher);
|
|
@@ -565,7 +565,7 @@ export declare type BryntumResourceGridProps = {
|
|
|
565
565
|
rootElement ? : ShadowRoot|HTMLElement
|
|
566
566
|
/**
|
|
567
567
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
568
|
-
*
|
|
568
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
569
569
|
* a column [renderer](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-renderer).
|
|
570
570
|
* ...
|
|
571
571
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceGrid#config-rowHeight)
|
|
@@ -793,7 +793,7 @@ export declare type BryntumResourceGridProps = {
|
|
|
793
793
|
cellEditFeature ? : object|Boolean|string|GridCellEdit|GridCellEditConfig
|
|
794
794
|
/**
|
|
795
795
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
796
|
-
*
|
|
796
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
797
797
|
* ...
|
|
798
798
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
799
799
|
*/
|
|
@@ -893,8 +893,8 @@ export declare type BryntumResourceGridProps = {
|
|
|
893
893
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
894
894
|
/**
|
|
895
895
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
896
|
-
* <kbd>
|
|
897
|
-
* one anywhere on grid). Use <kbd>
|
|
896
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
897
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
898
898
|
* grouper.
|
|
899
899
|
* ...
|
|
900
900
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -1020,7 +1020,7 @@ defineProps<{
|
|
|
1020
1020
|
rootElement ? : ShadowRoot|HTMLElement
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
1023
|
-
*
|
|
1023
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
1024
1024
|
* a column [renderer](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-renderer).
|
|
1025
1025
|
* ...
|
|
1026
1026
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-rowHeight)
|
|
@@ -1410,7 +1410,7 @@ defineProps<{
|
|
|
1410
1410
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1413
|
-
*
|
|
1413
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1414
1414
|
* ...
|
|
1415
1415
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1416
1416
|
*/
|
|
@@ -1518,8 +1518,8 @@ defineProps<{
|
|
|
1518
1518
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1521
|
-
* <kbd>
|
|
1522
|
-
* one anywhere on grid). Use <kbd>
|
|
1521
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1522
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1523
1523
|
* grouper.
|
|
1524
1524
|
* ...
|
|
1525
1525
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -1749,7 +1749,7 @@ defineProps<{
|
|
|
1749
1749
|
|
|
1750
1750
|
const emit = defineEmits<{
|
|
1751
1751
|
/**
|
|
1752
|
-
* Fires before an assignment is removed. Can be triggered by user pressing
|
|
1752
|
+
* Fires before an assignment is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or
|
|
1753
1753
|
* by the event editor. Can for example be used to display a custom dialog to confirm deletion, in which
|
|
1754
1754
|
* case records should be "manually" removed after confirmation:
|
|
1755
1755
|
* ...
|
|
@@ -1802,7 +1802,7 @@ const emit = defineEmits<{
|
|
|
1802
1802
|
*/
|
|
1803
1803
|
(e: 'beforeCellEditStart', params: ((event: { source: Grid, editorContext: CellEditorContext }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1804
1804
|
/**
|
|
1805
|
-
* Fires on the owning Grid before deleting a range of selected cell values by pressing
|
|
1805
|
+
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1806
1806
|
* buttons while [autoEdit](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
1807
1807
|
* @param {string} e Event name
|
|
1808
1808
|
* @param {object} params Event parameters
|
|
@@ -1916,7 +1916,7 @@ const emit = defineEmits<{
|
|
|
1916
1916
|
*/
|
|
1917
1917
|
(e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void
|
|
1918
1918
|
/**
|
|
1919
|
-
* Fires before an event is removed. Can be triggered by user pressing
|
|
1919
|
+
* Fires before an event is removed. Can be triggered by user pressing <kbd>Delete</kbd> or <kbd>Backspace</kbd> or by the
|
|
1920
1920
|
* event editor. Return `false` to immediately veto the removal (or a `Promise` yielding `true` or `false`
|
|
1921
1921
|
* for async vetoing).
|
|
1922
1922
|
* ...
|
|
@@ -3065,7 +3065,7 @@ const emit = defineEmits<{
|
|
|
3065
3065
|
* @param {Response} params.params.event.response Optional response, if received
|
|
3066
3066
|
* @param {Error} params.params.event.error Optional error, if exception occurred
|
|
3067
3067
|
*/
|
|
3068
|
-
(e: 'pdfExport', params: ((event: { response?:
|
|
3068
|
+
(e: 'pdfExport', params: ((event: { response?: Response, error?: Error }) => void)|string): void
|
|
3069
3069
|
/**
|
|
3070
3070
|
* Fired after the [viewPreset](https://bryntum.com/products/schedulerpro/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-viewPreset) has changed.
|
|
3071
3071
|
* @param {string} e Event name
|
|
@@ -3828,6 +3828,18 @@ const emit = defineEmits<{
|
|
|
3828
3828
|
* @param {Core.widget.Tool} params.params.event.tool The tool which is being clicked.
|
|
3829
3829
|
*/
|
|
3830
3830
|
(e: 'toolClick', params: ((event: { source: Tool, tool: Tool }) => void)|string): void
|
|
3831
|
+
/**
|
|
3832
|
+
* Fired on the owning Grid/Scheduler/Gantt after tree grouping levels change
|
|
3833
|
+
* @param {string} e Event name
|
|
3834
|
+
* @param {object} params Event parameters
|
|
3835
|
+
* @param {string} params.e Event name
|
|
3836
|
+
* @param {object} params.params Event parameters
|
|
3837
|
+
* @param {object} params.params.event Event object
|
|
3838
|
+
* @param {Grid.view.Grid} params.params.event.source The grid instance
|
|
3839
|
+
* @param {(string|Function)[]} params.params.event.groupers Array of field names or functions representing the current grouping levels
|
|
3840
|
+
* @param {(string|Function)[]} params.params.event.oldGroupers Array of field names or functions representing the previous grouping levels
|
|
3841
|
+
*/
|
|
3842
|
+
(e: 'treeGroup', params: ((event: { source: Grid, groupers: (string|Function)[], oldGroupers: (string|Function)[] }) => void)|string): void
|
|
3831
3843
|
/**
|
|
3832
3844
|
* Fires when row locking is disabled.
|
|
3833
3845
|
* @param {string} e Event name
|
|
@@ -4266,6 +4278,7 @@ const widgetData = {
|
|
|
4266
4278
|
'onToggleGroup',
|
|
4267
4279
|
'onToggleNode',
|
|
4268
4280
|
'onToolClick',
|
|
4281
|
+
'onTreeGroup',
|
|
4269
4282
|
'onUnlockRows',
|
|
4270
4283
|
'onUnsplit',
|
|
4271
4284
|
'onVisibleDateRangeChange',
|
|
@@ -4486,6 +4499,7 @@ const widgetData = {
|
|
|
4486
4499
|
'toggleGroup',
|
|
4487
4500
|
'toggleNode',
|
|
4488
4501
|
'toolClick',
|
|
4502
|
+
'treeGroup',
|
|
4489
4503
|
'unlockRows',
|
|
4490
4504
|
'unsplit',
|
|
4491
4505
|
'visibleDateRangeChange'
|
|
@@ -982,7 +982,7 @@ export declare type BryntumResourceHistogramProps = {
|
|
|
982
982
|
rootElement ? : ShadowRoot|HTMLElement
|
|
983
983
|
/**
|
|
984
984
|
* Row height in pixels. This allows the default height for rows to be controlled. Note that it may be
|
|
985
|
-
*
|
|
985
|
+
* overridden by specifying a [rowHeight](https://bryntum.com/products/schedulerpro/docs/api/Grid/data/GridRowModel#field-rowHeight) on a per record basis, or from
|
|
986
986
|
* a column [renderer](https://bryntum.com/products/schedulerpro/docs/api/Grid/column/Column#config-renderer).
|
|
987
987
|
* ...
|
|
988
988
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceHistogram#config-rowHeight)
|
|
@@ -1372,7 +1372,7 @@ export declare type BryntumResourceHistogramProps = {
|
|
|
1372
1372
|
cellEditFeature ? : object|Boolean|string|CellEdit|CellEditConfig
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Right click to display context menu for cells. To invoke the cell menu in a keyboard-accessible manner, use the
|
|
1375
|
-
*
|
|
1375
|
+
* <kbd>Space</kbd> key when the cell is focused.
|
|
1376
1376
|
* ...
|
|
1377
1377
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/CellMenu)
|
|
1378
1378
|
*/
|
|
@@ -1480,8 +1480,8 @@ export declare type BryntumResourceHistogramProps = {
|
|
|
1480
1480
|
filterBarFeature ? : object|Boolean|string|FilterBar|FilterBarConfig
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Enables rendering and handling of row groups. The actual grouping is done in the store, but triggered by
|
|
1483
|
-
* <kbd>
|
|
1484
|
-
* one anywhere on grid). Use <kbd>
|
|
1483
|
+
* <kbd>Shift</kbd> + clicking headers, or by using the context menu, or by using two finger tap (one on header,
|
|
1484
|
+
* one anywhere on grid). Use <kbd>Shift</kbd> + <kbd>Alt</kbd> + click, or the context menu, to remove a column
|
|
1485
1485
|
* grouper.
|
|
1486
1486
|
* ...
|
|
1487
1487
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/Group)
|
|
@@ -190,7 +190,7 @@ defineProps<{
|
|
|
190
190
|
contentElementCls ? : string|object
|
|
191
191
|
/**
|
|
192
192
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
193
|
-
* combo's input field, and
|
|
193
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
194
194
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
195
195
|
* ...
|
|
196
196
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-createOnUnmatched)
|
|
@@ -685,7 +685,7 @@ defineProps<{
|
|
|
685
685
|
required ? : Boolean
|
|
686
686
|
/**
|
|
687
687
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
688
|
-
* the
|
|
688
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
689
689
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
690
690
|
* behaviour will be activated.
|
|
691
691
|
*/
|
|
@@ -175,7 +175,7 @@ export declare type BryntumResourceTypeFieldProps = {
|
|
|
175
175
|
contentElementCls ? : string|object
|
|
176
176
|
/**
|
|
177
177
|
* If configured as `true`, this means that when an unmatched string is typed into the
|
|
178
|
-
* combo's input field, and
|
|
178
|
+
* combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,
|
|
179
179
|
* a new record will be created using the typed string as the [displayField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Combo#config-displayField).
|
|
180
180
|
* ...
|
|
181
181
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceTypeField#config-createOnUnmatched)
|
|
@@ -670,7 +670,7 @@ export declare type BryntumResourceTypeFieldProps = {
|
|
|
670
670
|
required ? : Boolean
|
|
671
671
|
/**
|
|
672
672
|
* If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing
|
|
673
|
-
* the
|
|
673
|
+
* the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when
|
|
674
674
|
* the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)
|
|
675
675
|
* behaviour will be activated.
|
|
676
676
|
*/
|