@bryntum/schedulerpro-vue-3-thin 7.1.2 → 7.2.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 +19 -13
- package/lib/chunks/B12rdbvL.js.map +1 -1
- package/lib/chunks/{DDRoO9aB.js → B2O8rS3_.js} +14 -6
- package/lib/chunks/B2O8rS3_.js.map +1 -0
- package/lib/chunks/{VUn0v9mh.js → B7sV8_zC.js} +18 -10
- package/lib/chunks/B7sV8_zC.js.map +1 -0
- package/lib/chunks/BBN-5eeI.js.map +1 -1
- package/lib/chunks/{yCHi3rZC.js → BMF41dEG.js} +8 -6
- package/lib/chunks/BMF41dEG.js.map +1 -0
- package/lib/chunks/BrUxjEMx.js.map +1 -1
- package/lib/chunks/{DQYJMaQ_.js → ByS5_-RM.js} +6 -4
- package/lib/chunks/ByS5_-RM.js.map +1 -0
- package/lib/chunks/CDbPwyl3.js.map +1 -1
- package/lib/chunks/{BaiH7rub.js → CoYhPB2e.js} +12 -5
- package/lib/chunks/CoYhPB2e.js.map +1 -0
- package/lib/chunks/Ct_m9O9h.js.map +1 -1
- package/lib/chunks/{D45V9XRN.js → D4JDuI0s.js} +12 -10
- package/lib/chunks/D4JDuI0s.js.map +1 -0
- package/lib/chunks/{BtVT0xgl.js → DC4Xw3gK.js} +3 -1
- package/lib/chunks/DC4Xw3gK.js.map +1 -0
- package/lib/chunks/{C9qY739P.js → DRVdzy6g.js} +3 -1
- package/lib/chunks/DRVdzy6g.js.map +1 -0
- package/lib/chunks/DgESZupU.js.map +1 -1
- package/lib/chunks/{DKsnWqxn.js → DghqseiN.js} +38 -16
- package/lib/chunks/DghqseiN.js.map +1 -0
- package/lib/chunks/DvFm-5Hh.js.map +1 -1
- package/lib/chunks/{C0N8aq7Y.js → H_iWW1r0.js} +8 -6
- package/lib/chunks/H_iWW1r0.js.map +1 -0
- package/lib/chunks/{jMa0fiOL.js → N6QbiUPO.js} +45 -21
- package/lib/chunks/N6QbiUPO.js.map +1 -0
- package/lib/chunks/{CKdojoDl.js → OtE4hpSS.js} +45 -21
- package/lib/chunks/OtE4hpSS.js.map +1 -0
- package/lib/chunks/ggN9GDPJ.js.map +1 -1
- package/lib/chunks/qKNUUeE0.js.map +1 -1
- package/lib/chunks/{xk_S9thL.js → sUi9pfNu.js} +12 -5
- package/lib/chunks/sUi9pfNu.js.map +1 -0
- package/lib/components/BryntumCalendarEditor.js +1 -1
- package/lib/components/BryntumDependencyTypePicker.js +1 -1
- package/lib/components/BryntumEndDateField.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/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/BryntumStartDateField.js +1 -1
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/helper/WrapperHelper.js +42 -42
- package/lib/helper/WrapperHelper.js.map +1 -1
- package/lib/index.js +13 -13
- package/package.json +1 -1
- package/src/components/BryntumCalendarEditor.vue +7 -2
- package/src/components/BryntumCalendarEditorProps.ts +6 -2
- 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 +9 -2
- package/src/components/BryntumDependencyTypePickerProps.ts +8 -2
- package/src/components/BryntumEffortField.vue +2 -2
- package/src/components/BryntumEffortFieldProps.ts +2 -2
- package/src/components/BryntumEndDateField.vue +13 -3
- package/src/components/BryntumEndDateFieldProps.ts +12 -3
- 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 +7 -2
- package/src/components/BryntumResourceEditorProps.ts +6 -2
- package/src/components/BryntumResourceGrid.vue +67 -25
- package/src/components/BryntumResourceGridProps.ts +16 -3
- package/src/components/BryntumResourceHistogram.vue +69 -26
- package/src/components/BryntumResourceHistogramProps.ts +17 -4
- package/src/components/BryntumResourceTypeField.vue +2 -2
- package/src/components/BryntumResourceTypeFieldProps.ts +2 -2
- package/src/components/BryntumResourceUtilization.vue +69 -26
- package/src/components/BryntumResourceUtilizationProps.ts +17 -4
- package/src/components/BryntumSchedulerPro.vue +183 -26
- package/src/components/BryntumSchedulerProBase.vue +183 -26
- package/src/components/BryntumSchedulerProBaseProps.ts +29 -4
- package/src/components/BryntumSchedulerProProjectModel.vue +9 -0
- package/src/components/BryntumSchedulerProProjectModelProps.ts +8 -0
- package/src/components/BryntumSchedulerProProps.ts +29 -4
- 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 +13 -3
- package/src/components/BryntumStartDateFieldProps.ts +12 -3
- package/src/components/BryntumTimeline.vue +181 -26
- package/src/components/BryntumTimelineProps.ts +29 -4
- package/src/components/BryntumVersionGrid.vue +67 -25
- package/src/components/BryntumVersionGridProps.ts +16 -3
- package/src/helper/WrapperHelper.ts +5 -1
- package/lib/chunks/BaiH7rub.js.map +0 -1
- package/lib/chunks/BtVT0xgl.js.map +0 -1
- package/lib/chunks/C0N8aq7Y.js.map +0 -1
- package/lib/chunks/C9qY739P.js.map +0 -1
- package/lib/chunks/CKdojoDl.js.map +0 -1
- package/lib/chunks/D45V9XRN.js.map +0 -1
- package/lib/chunks/DDRoO9aB.js.map +0 -1
- package/lib/chunks/DKsnWqxn.js.map +0 -1
- package/lib/chunks/DQYJMaQ_.js.map +0 -1
- package/lib/chunks/VUn0v9mh.js.map +0 -1
- package/lib/chunks/jMa0fiOL.js.map +0 -1
- package/lib/chunks/xk_S9thL.js.map +0 -1
- package/lib/chunks/yCHi3rZC.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
1
|
+
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
2
|
+
import type { DependencyStore as SchedulerDependencyStore } from '@bryntum/scheduler-thin';
|
|
2
3
|
import type { SchedulerProContainerItemConfig, DependencyTypePickerListeners } from '@bryntum/schedulerpro-thin';
|
|
3
4
|
|
|
4
5
|
export declare type BryntumDependencyTypePickerProps = {
|
|
@@ -137,7 +138,7 @@ export declare type BryntumDependencyTypePickerProps = {
|
|
|
137
138
|
* ...
|
|
138
139
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/DependencyTypePicker#config-color)
|
|
139
140
|
*/
|
|
140
|
-
color ? :
|
|
141
|
+
color ? : Color
|
|
141
142
|
/**
|
|
142
143
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
143
144
|
*/
|
|
@@ -198,6 +199,11 @@ export declare type BryntumDependencyTypePickerProps = {
|
|
|
198
199
|
* in a grid WidgetColumn, this is the property to which the column's `field` is applied.
|
|
199
200
|
*/
|
|
200
201
|
defaultBindProperty ? : string
|
|
202
|
+
/**
|
|
203
|
+
* The dependency store to use for filtering allowed types.
|
|
204
|
+
* If not provided, the picker will attempt to find it from its owner hierarchy.
|
|
205
|
+
*/
|
|
206
|
+
dependencyStore ? : SchedulerDependencyStore
|
|
201
207
|
/**
|
|
202
208
|
* Check for CSS compatibility issues when upgrading to v7. Performs the following checks:
|
|
203
209
|
* ...
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, Duration, DurationConfig, DurationField, DurationUnit, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, Color, Duration, DurationConfig, DurationField, DurationUnit, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerProContainerItemConfig, EffortFieldListeners } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { EffortField } from '@bryntum/schedulerpro-thin';
|
|
16
16
|
|
|
@@ -128,7 +128,7 @@ defineProps<{
|
|
|
128
128
|
* ...
|
|
129
129
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-color)
|
|
130
130
|
*/
|
|
131
|
-
color ? :
|
|
131
|
+
color ? : Color
|
|
132
132
|
/**
|
|
133
133
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
134
134
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, Duration, DurationConfig, DurationUnit, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
1
|
+
import type { AlignSpec, Base, Color, Duration, DurationConfig, DurationUnit, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
2
2
|
import type { SchedulerProContainerItemConfig, EffortFieldListeners } from '@bryntum/schedulerpro-thin';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumEffortFieldProps = {
|
|
@@ -113,7 +113,7 @@ export declare type BryntumEffortFieldProps = {
|
|
|
113
113
|
* ...
|
|
114
114
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EffortField#config-color)
|
|
115
115
|
*/
|
|
116
|
-
color ? :
|
|
116
|
+
color ? : Color
|
|
117
117
|
/**
|
|
118
118
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
119
119
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, DateField, DatePickerConfig, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, Color, DateField, DatePickerConfig, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, TimeField, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerProContainerItemConfig, EndDateFieldListeners, EventModel, ProjectModel } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { EndDateField } from '@bryntum/schedulerpro-thin';
|
|
16
16
|
|
|
@@ -123,7 +123,7 @@ defineProps<{
|
|
|
123
123
|
* ...
|
|
124
124
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-color)
|
|
125
125
|
*/
|
|
126
|
-
color ? :
|
|
126
|
+
color ? : Color
|
|
127
127
|
/**
|
|
128
128
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
129
129
|
*/
|
|
@@ -491,6 +491,14 @@ defineProps<{
|
|
|
491
491
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-owner)
|
|
492
492
|
*/
|
|
493
493
|
owner ? : Widget|any
|
|
494
|
+
/**
|
|
495
|
+
* A reference to a partner TimeField which this DateField should sync its value with.
|
|
496
|
+
* When the TimeField's value is changed, this DateField's value is updated to match.
|
|
497
|
+
* When this DateField's value is changed, the TimeField's value is updated to match.
|
|
498
|
+
* ...
|
|
499
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-partner)
|
|
500
|
+
*/
|
|
501
|
+
partner ? : string|TimeField
|
|
494
502
|
/**
|
|
495
503
|
* A config object used to configure the [datePicker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DatePicker).
|
|
496
504
|
* ...
|
|
@@ -617,7 +625,8 @@ defineProps<{
|
|
|
617
625
|
*/
|
|
618
626
|
step ? : string|number|DurationConfig
|
|
619
627
|
/**
|
|
620
|
-
* Set to `false` to hide the forward and backward date step triggers.
|
|
628
|
+
* Set to `false` to hide the forward and backward date step triggers. These triggers are only shown when
|
|
629
|
+
* [step](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DateField#config-step) is set.
|
|
621
630
|
*/
|
|
622
631
|
stepTriggers ? : Boolean
|
|
623
632
|
/**
|
|
@@ -1078,6 +1087,7 @@ const widgetData = {
|
|
|
1078
1087
|
'onResize',
|
|
1079
1088
|
'onShow',
|
|
1080
1089
|
'onTrigger',
|
|
1090
|
+
'partner',
|
|
1081
1091
|
'placeholder',
|
|
1082
1092
|
'readOnly',
|
|
1083
1093
|
'rendition',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, DatePickerConfig, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
1
|
+
import type { AlignSpec, Base, Color, DatePickerConfig, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TimeField, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
2
2
|
import type { SchedulerProContainerItemConfig, EndDateFieldListeners, EventModel, ProjectModel } from '@bryntum/schedulerpro-thin';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumEndDateFieldProps = {
|
|
@@ -108,7 +108,7 @@ export declare type BryntumEndDateFieldProps = {
|
|
|
108
108
|
* ...
|
|
109
109
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-color)
|
|
110
110
|
*/
|
|
111
|
-
color ? :
|
|
111
|
+
color ? : Color
|
|
112
112
|
/**
|
|
113
113
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
114
114
|
*/
|
|
@@ -476,6 +476,14 @@ export declare type BryntumEndDateFieldProps = {
|
|
|
476
476
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-owner)
|
|
477
477
|
*/
|
|
478
478
|
owner ? : Widget|any
|
|
479
|
+
/**
|
|
480
|
+
* A reference to a partner TimeField which this DateField should sync its value with.
|
|
481
|
+
* When the TimeField's value is changed, this DateField's value is updated to match.
|
|
482
|
+
* When this DateField's value is changed, the TimeField's value is updated to match.
|
|
483
|
+
* ...
|
|
484
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/EndDateField#config-partner)
|
|
485
|
+
*/
|
|
486
|
+
partner ? : string|TimeField
|
|
479
487
|
/**
|
|
480
488
|
* A config object used to configure the [datePicker](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DatePicker).
|
|
481
489
|
* ...
|
|
@@ -602,7 +610,8 @@ export declare type BryntumEndDateFieldProps = {
|
|
|
602
610
|
*/
|
|
603
611
|
step ? : string|number|DurationConfig
|
|
604
612
|
/**
|
|
605
|
-
* Set to `false` to hide the forward and backward date step triggers.
|
|
613
|
+
* Set to `false` to hide the forward and backward date step triggers. These triggers are only shown when
|
|
614
|
+
* [step](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/DateField#config-step) is set.
|
|
606
615
|
*/
|
|
607
616
|
stepTriggers ? : Boolean
|
|
608
617
|
/**
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerProContainerItemConfig, ModelComboListeners } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { ModelCombo } from '@bryntum/schedulerpro-thin';
|
|
16
16
|
|
|
@@ -152,7 +152,7 @@ defineProps<{
|
|
|
152
152
|
* ...
|
|
153
153
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-color)
|
|
154
154
|
*/
|
|
155
|
-
color ? :
|
|
155
|
+
color ? : Color
|
|
156
156
|
/**
|
|
157
157
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
158
158
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
1
|
+
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
2
2
|
import type { SchedulerProContainerItemConfig, ModelComboListeners } from '@bryntum/schedulerpro-thin';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumModelComboProps = {
|
|
@@ -137,7 +137,7 @@ export declare type BryntumModelComboProps = {
|
|
|
137
137
|
* ...
|
|
138
138
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ModelCombo#config-color)
|
|
139
139
|
*/
|
|
140
|
-
color ? :
|
|
140
|
+
color ? : Color
|
|
141
141
|
/**
|
|
142
142
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
143
143
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { CalendarManagerStore, SchedulerProContainerItemConfig, RateTableFieldListeners } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { RateTableField } from '@bryntum/schedulerpro-thin';
|
|
16
16
|
|
|
@@ -152,7 +152,7 @@ defineProps<{
|
|
|
152
152
|
* ...
|
|
153
153
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/RateTableField#config-color)
|
|
154
154
|
*/
|
|
155
|
-
color ? :
|
|
155
|
+
color ? : Color
|
|
156
156
|
/**
|
|
157
157
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
158
158
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
1
|
+
import type { AlignSpec, Base, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, ComboModel, Duration, DurationConfig, Field, FieldContainer, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, List, ListConfig, MaskConfig, Model, Rectangle, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
2
2
|
import type { CalendarManagerStore, SchedulerProContainerItemConfig, RateTableFieldListeners } from '@bryntum/schedulerpro-thin';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumRateTableFieldProps = {
|
|
@@ -137,7 +137,7 @@ export declare type BryntumRateTableFieldProps = {
|
|
|
137
137
|
* ...
|
|
138
138
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/RateTableField#config-color)
|
|
139
139
|
*/
|
|
140
|
-
color ? :
|
|
140
|
+
color ? : Color
|
|
141
141
|
/**
|
|
142
142
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
143
143
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AlignSpec, Base, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
13
|
+
import type { AlignSpec, Base, Color, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
14
14
|
import type { SchedulerProContainerItemConfig, SchedulerProContainerLayoutConfig, ResourceEditorListeners, ResourceModel } from '@bryntum/schedulerpro-thin';
|
|
15
15
|
import { ResourceEditor } from '@bryntum/schedulerpro-thin';
|
|
16
16
|
|
|
@@ -90,6 +90,10 @@ defineProps<{
|
|
|
90
90
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-bodyCls)
|
|
91
91
|
*/
|
|
92
92
|
bodyCls ? : string|object
|
|
93
|
+
/**
|
|
94
|
+
* Set `true` to add a border to this container's element.
|
|
95
|
+
*/
|
|
96
|
+
border ? : Boolean
|
|
93
97
|
/**
|
|
94
98
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
95
99
|
* hierarchy when triggered.
|
|
@@ -158,7 +162,7 @@ defineProps<{
|
|
|
158
162
|
* ...
|
|
159
163
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-color)
|
|
160
164
|
*/
|
|
161
|
-
color ? :
|
|
165
|
+
color ? : Color
|
|
162
166
|
/**
|
|
163
167
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
164
168
|
*/
|
|
@@ -1033,6 +1037,7 @@ const widgetData = {
|
|
|
1033
1037
|
'autoUpdateRecord',
|
|
1034
1038
|
'bbar',
|
|
1035
1039
|
'bodyCls',
|
|
1040
|
+
'border',
|
|
1036
1041
|
'bubbleEvents',
|
|
1037
1042
|
'centered',
|
|
1038
1043
|
'closable',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AlignSpec, Base, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
1
|
+
import type { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, Scroller, ScrollerConfig, StateProvider, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
2
2
|
import type { SchedulerProContainerItemConfig, SchedulerProContainerLayoutConfig, ResourceEditorListeners, ResourceModel } from '@bryntum/schedulerpro-thin';
|
|
3
3
|
|
|
4
4
|
export declare type BryntumResourceEditorProps = {
|
|
@@ -75,6 +75,10 @@ export declare type BryntumResourceEditorProps = {
|
|
|
75
75
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-bodyCls)
|
|
76
76
|
*/
|
|
77
77
|
bodyCls ? : string|object
|
|
78
|
+
/**
|
|
79
|
+
* Set `true` to add a border to this container's element.
|
|
80
|
+
*/
|
|
81
|
+
border ? : Boolean
|
|
78
82
|
/**
|
|
79
83
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
80
84
|
* hierarchy when triggered.
|
|
@@ -143,7 +147,7 @@ export declare type BryntumResourceEditorProps = {
|
|
|
143
147
|
* ...
|
|
144
148
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/widget/ResourceEditor#config-color)
|
|
145
149
|
*/
|
|
146
|
-
color ? :
|
|
150
|
+
color ? : Color
|
|
147
151
|
/**
|
|
148
152
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
149
153
|
*/
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
import { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';
|
|
12
12
|
|
|
13
|
-
import type { AjaxStore, AjaxStoreConfig, Base, Container, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
|
|
14
|
-
import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit as GridCellEdit, CellEditConfig as GridCellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
|
|
13
|
+
import type { AjaxStore, AjaxStoreConfig, Base, Color, Container, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
|
|
14
|
+
import type { AI as GridAI, AIConfig as GridAIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit as GridCellEdit, CellEditConfig as GridCellEditConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig, XLSColumn } from '@bryntum/grid-thin';
|
|
15
15
|
import type { PdfExportConfig } from '@bryntum/scheduler-thin';
|
|
16
16
|
import type { SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, ResourceGridListeners } from '@bryntum/schedulerpro-thin';
|
|
17
17
|
import { ResourceGrid } from '@bryntum/schedulerpro-thin';
|
|
@@ -89,6 +89,10 @@ defineProps<{
|
|
|
89
89
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceGrid#config-bodyCls)
|
|
90
90
|
*/
|
|
91
91
|
bodyCls ? : string|object
|
|
92
|
+
/**
|
|
93
|
+
* Set `true` to add a border to this container's element.
|
|
94
|
+
*/
|
|
95
|
+
border ? : Boolean
|
|
92
96
|
/**
|
|
93
97
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
94
98
|
* hierarchy when triggered.
|
|
@@ -140,7 +144,7 @@ defineProps<{
|
|
|
140
144
|
* ...
|
|
141
145
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceGrid#config-color)
|
|
142
146
|
*/
|
|
143
|
-
color ? :
|
|
147
|
+
color ? : Color
|
|
144
148
|
/**
|
|
145
149
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
146
150
|
*/
|
|
@@ -773,6 +777,15 @@ defineProps<{
|
|
|
773
777
|
width ? : string|number
|
|
774
778
|
|
|
775
779
|
// Features
|
|
780
|
+
/**
|
|
781
|
+
* This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
|
|
782
|
+
* agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
|
|
783
|
+
* ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
|
|
784
|
+
* also perform data manipulation operations such as adding, updating, deleting records.
|
|
785
|
+
* ...
|
|
786
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
|
|
787
|
+
*/
|
|
788
|
+
aiFeature ? : object|Boolean|string|GridAI|GridAIConfig
|
|
776
789
|
/**
|
|
777
790
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
778
791
|
* ...
|
|
@@ -1115,6 +1128,18 @@ const emit = defineEmits<{
|
|
|
1115
1128
|
* @param {any} params.params.event.value The value being set
|
|
1116
1129
|
*/
|
|
1117
1130
|
(e: 'beforeCellRangeEdit', params: ((event: { record: Model, field: string, value: any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void
|
|
1131
|
+
/**
|
|
1132
|
+
* This event is triggered before a parent column is collapsed or expanded.
|
|
1133
|
+
* @param {string} e Event name
|
|
1134
|
+
* @param {object} params Event parameters
|
|
1135
|
+
* @param {string} params.e Event name
|
|
1136
|
+
* @param {object} params.params Event parameters
|
|
1137
|
+
* @param {object} params.params.event Event object
|
|
1138
|
+
* @param {Grid.view.GridBase} params.params.event.source The grid instance
|
|
1139
|
+
* @param {Grid.column.Column} params.params.event.column The column
|
|
1140
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is being collapsed, `false` if expanded
|
|
1141
|
+
*/
|
|
1142
|
+
(e: 'beforeColumnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1118
1143
|
/**
|
|
1119
1144
|
* This event is fired prior to starting a column drag gesture. The drag is canceled if a listener returns `false`.
|
|
1120
1145
|
* @param {string} e Event name
|
|
@@ -1281,12 +1306,12 @@ const emit = defineEmits<{
|
|
|
1281
1306
|
* @param {string} params.e Event name
|
|
1282
1307
|
* @param {object} params.params Event parameters
|
|
1283
1308
|
* @param {object} params.params.event Event object
|
|
1284
|
-
* @param {Grid.view.
|
|
1285
|
-
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1286
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1287
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1309
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
1310
|
+
* @param {Grid.row.Row} params.params.event.row The row about to be rendered
|
|
1311
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
1312
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
1288
1313
|
*/
|
|
1289
|
-
(e: 'beforeRenderRow', params: ((event: { source:
|
|
1314
|
+
(e: 'beforeRenderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
1290
1315
|
/**
|
|
1291
1316
|
* Grid rows are about to be rendered
|
|
1292
1317
|
* @param {string} e Event name
|
|
@@ -1294,9 +1319,9 @@ const emit = defineEmits<{
|
|
|
1294
1319
|
* @param {string} params.e Event name
|
|
1295
1320
|
* @param {object} params.params Event parameters
|
|
1296
1321
|
* @param {object} params.params.event Event object
|
|
1297
|
-
* @param {Grid.view.
|
|
1322
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
1298
1323
|
*/
|
|
1299
|
-
(e: 'beforeRenderRows', params: ((event: { source:
|
|
1324
|
+
(e: 'beforeRenderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
1300
1325
|
/**
|
|
1301
1326
|
* This event fires before row collapse is started.
|
|
1302
1327
|
* ...
|
|
@@ -1627,6 +1652,18 @@ const emit = defineEmits<{
|
|
|
1627
1652
|
* @param {Core.data.Model} params.params.event.record The record which has been collapsed.
|
|
1628
1653
|
*/
|
|
1629
1654
|
(e: 'collapseNode', params: ((event: { source: Grid, record: Model }) => void)|string): void
|
|
1655
|
+
/**
|
|
1656
|
+
* This event is triggered after a parent column has been collapsed or expanded.
|
|
1657
|
+
* @param {string} e Event name
|
|
1658
|
+
* @param {object} params Event parameters
|
|
1659
|
+
* @param {string} params.e Event name
|
|
1660
|
+
* @param {object} params.params Event parameters
|
|
1661
|
+
* @param {object} params.params.event Event object
|
|
1662
|
+
* @param {Grid.view.GridBase} params.params.event.source The Grid instance
|
|
1663
|
+
* @param {Grid.column.Column} params.params.event.column The column being toggled
|
|
1664
|
+
* @param {boolean} params.params.event.collapsed `true` if the column is now collapsed, `false` if expanded
|
|
1665
|
+
*/
|
|
1666
|
+
(e: 'columnCollapseToggle', params: ((event: { source: GridBase, column: Column, collapsed: boolean }) => void)|string): void
|
|
1630
1667
|
/**
|
|
1631
1668
|
* This event is fired when a column is being dragged, and you can set the `valid` flag on the `context` object
|
|
1632
1669
|
* to indicate whether the drop position is valid or not.
|
|
@@ -1744,14 +1781,14 @@ const emit = defineEmits<{
|
|
|
1744
1781
|
* @param {string} params.e Event name
|
|
1745
1782
|
* @param {object} params.params Event parameters
|
|
1746
1783
|
* @param {object} params.params.event Event object
|
|
1747
|
-
* @param {Grid.view.
|
|
1784
|
+
* @param {Grid.view.GridBase} params.params.event.source Owning grid
|
|
1748
1785
|
* @param {Core.data.Store} params.params.event.store The originating store
|
|
1749
1786
|
* @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'`
|
|
1750
1787
|
* @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)
|
|
1751
1788
|
* @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`
|
|
1752
1789
|
* @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed
|
|
1753
1790
|
*/
|
|
1754
|
-
(e: 'dataChange', params: ((event: { source:
|
|
1791
|
+
(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
|
|
1755
1792
|
/**
|
|
1756
1793
|
* Fires when an object is destroyed.
|
|
1757
1794
|
* @param {string} e Event name
|
|
@@ -2199,12 +2236,12 @@ const emit = defineEmits<{
|
|
|
2199
2236
|
* @param {string} params.e Event name
|
|
2200
2237
|
* @param {object} params.params Event parameters
|
|
2201
2238
|
* @param {object} params.params.event Event object
|
|
2202
|
-
* @param {Grid.view.
|
|
2203
|
-
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2204
|
-
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2205
|
-
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2239
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2240
|
+
* @param {Grid.row.Row} params.params.event.row The row that has been rendered
|
|
2241
|
+
* @param {Core.data.Model} params.params.event.record The record for the row
|
|
2242
|
+
* @param {number} params.params.event.recordIndex The zero-based index of the record
|
|
2206
2243
|
*/
|
|
2207
|
-
(e: 'renderRow', params: ((event: { source:
|
|
2244
|
+
(e: 'renderRow', params: ((event: { source: GridBase, row: Row, record: Model, recordIndex: number }) => void)|string): void
|
|
2208
2245
|
/**
|
|
2209
2246
|
* Grid rows have been rendered
|
|
2210
2247
|
* @param {string} e Event name
|
|
@@ -2212,9 +2249,9 @@ const emit = defineEmits<{
|
|
|
2212
2249
|
* @param {string} params.e Event name
|
|
2213
2250
|
* @param {object} params.params Event parameters
|
|
2214
2251
|
* @param {object} params.params.event Event object
|
|
2215
|
-
* @param {Grid.view.
|
|
2252
|
+
* @param {Grid.view.GridBase} params.params.event.source This grid.
|
|
2216
2253
|
*/
|
|
2217
|
-
(e: 'renderRows', params: ((event: { source:
|
|
2254
|
+
(e: 'renderRows', params: ((event: { source: GridBase }) => void)|string): void
|
|
2218
2255
|
/**
|
|
2219
2256
|
* Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.
|
|
2220
2257
|
* @param {string} e Event name
|
|
@@ -2302,10 +2339,10 @@ const emit = defineEmits<{
|
|
|
2302
2339
|
* @param {string} params.e Event name
|
|
2303
2340
|
* @param {object} params.params Event parameters
|
|
2304
2341
|
* @param {object} params.params.event Event object
|
|
2305
|
-
* @param {Grid.view.
|
|
2342
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance.
|
|
2306
2343
|
* @param {number} params.params.event.scrollTop The vertical scroll position.
|
|
2307
2344
|
*/
|
|
2308
|
-
(e: 'scroll', params: ((event: { source:
|
|
2345
|
+
(e: 'scroll', params: ((event: { source: GridBase, scrollTop: number }) => void)|string): void
|
|
2309
2346
|
/**
|
|
2310
2347
|
* The selection has been changed.
|
|
2311
2348
|
* @param {string} e Event name
|
|
@@ -2437,10 +2474,10 @@ const emit = defineEmits<{
|
|
|
2437
2474
|
* @param {string} params.e Event name
|
|
2438
2475
|
* @param {object} params.params Event parameters
|
|
2439
2476
|
* @param {object} params.params.event Event object
|
|
2440
|
-
* @param {Grid.view.
|
|
2477
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2441
2478
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
2442
2479
|
*/
|
|
2443
|
-
(e: 'subGridCollapse', params: ((event: { source:
|
|
2480
|
+
(e: 'subGridCollapse', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
2444
2481
|
/**
|
|
2445
2482
|
* Fires after a sub grid is expanded.
|
|
2446
2483
|
* @param {string} e Event name
|
|
@@ -2448,10 +2485,10 @@ const emit = defineEmits<{
|
|
|
2448
2485
|
* @param {string} params.e Event name
|
|
2449
2486
|
* @param {object} params.params Event parameters
|
|
2450
2487
|
* @param {object} params.params.event Event object
|
|
2451
|
-
* @param {Grid.view.
|
|
2488
|
+
* @param {Grid.view.GridBase} params.params.event.source The firing Grid instance
|
|
2452
2489
|
* @param {Grid.view.SubGrid} params.params.event.subGrid The sub grid instance
|
|
2453
2490
|
*/
|
|
2454
|
-
(e: 'subGridExpand', params: ((event: { source:
|
|
2491
|
+
(e: 'subGridExpand', params: ((event: { source: GridBase, subGrid: SubGrid }) => void)|string): void
|
|
2455
2492
|
/**
|
|
2456
2493
|
* Fired when one or more groups are expanded or collapsed
|
|
2457
2494
|
* @param {string} e Event name
|
|
@@ -2516,6 +2553,7 @@ const widgetData = {
|
|
|
2516
2553
|
'autoHeight',
|
|
2517
2554
|
'bbar',
|
|
2518
2555
|
'bodyCls',
|
|
2556
|
+
'border',
|
|
2519
2557
|
'bubbleEvents',
|
|
2520
2558
|
'collapsible',
|
|
2521
2559
|
'color',
|
|
@@ -2621,6 +2659,7 @@ const widgetData = {
|
|
|
2621
2659
|
'onBeforeCellEditStart',
|
|
2622
2660
|
'onBeforeCellRangeDelete',
|
|
2623
2661
|
'onBeforeCellRangeEdit',
|
|
2662
|
+
'onBeforeColumnCollapseToggle',
|
|
2624
2663
|
'onBeforeColumnDragStart',
|
|
2625
2664
|
'onBeforeColumnDropFinalize',
|
|
2626
2665
|
'onBeforeColumnResize',
|
|
@@ -2661,6 +2700,7 @@ const widgetData = {
|
|
|
2661
2700
|
'onCellMouseOver',
|
|
2662
2701
|
'onCollapse',
|
|
2663
2702
|
'onCollapseNode',
|
|
2703
|
+
'onColumnCollapseToggle',
|
|
2664
2704
|
'onColumnDrag',
|
|
2665
2705
|
'onColumnDragStart',
|
|
2666
2706
|
'onColumnDrop',
|
|
@@ -2770,6 +2810,7 @@ const widgetData = {
|
|
|
2770
2810
|
'beforeCellEditStart',
|
|
2771
2811
|
'beforeCellRangeDelete',
|
|
2772
2812
|
'beforeCellRangeEdit',
|
|
2813
|
+
'beforeColumnCollapseToggle',
|
|
2773
2814
|
'beforeColumnDragStart',
|
|
2774
2815
|
'beforeColumnDropFinalize',
|
|
2775
2816
|
'beforeColumnResize',
|
|
@@ -2810,6 +2851,7 @@ const widgetData = {
|
|
|
2810
2851
|
'cellMouseOver',
|
|
2811
2852
|
'collapse',
|
|
2812
2853
|
'collapseNode',
|
|
2854
|
+
'columnCollapseToggle',
|
|
2813
2855
|
'columnDrag',
|
|
2814
2856
|
'columnDragStart',
|
|
2815
2857
|
'columnDrop',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AjaxStore, AjaxStoreConfig, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
|
|
2
|
-
import type { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit as GridCellEdit, CellEditConfig as GridCellEditConfig, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridSelectionMode, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
|
|
1
|
+
import type { AjaxStore, AjaxStoreConfig, Color, DomConfig, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Model, ModelConfig, PagingToolbarConfig, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, ToolConfig, ToolbarConfig, ToolbarItems, Widget } from '@bryntum/core-thin';
|
|
2
|
+
import type { AI as GridAI, AIConfig as GridAIConfig, AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEdit as GridCellEdit, CellEditConfig as GridCellEditConfig, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, GridSelectionMode, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PdfExport as GridPdfExport, PdfExportConfig as GridPdfExportConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, Print as GridPrint, PrintConfig as GridPrintConfig, QuickFind, QuickFindConfig, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowExpander, RowExpanderConfig, RowReorder as GridRowReorder, RowReorderConfig as GridRowReorderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGridConfig, Summary as GridSummary, SummaryConfig as GridSummaryConfig, Tree, TreeConfig, TreeGroup, TreeGroupConfig } from '@bryntum/grid-thin';
|
|
3
3
|
import type { SchedulerProContainerItemConfig, SchedulerProColumnConfig, ProjectModel, ProjectModelConfig, ResourceGridListeners } from '@bryntum/schedulerpro-thin';
|
|
4
4
|
|
|
5
5
|
export declare type BryntumResourceGridProps = {
|
|
@@ -73,6 +73,10 @@ export declare type BryntumResourceGridProps = {
|
|
|
73
73
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceGrid#config-bodyCls)
|
|
74
74
|
*/
|
|
75
75
|
bodyCls ? : string|object
|
|
76
|
+
/**
|
|
77
|
+
* Set `true` to add a border to this container's element.
|
|
78
|
+
*/
|
|
79
|
+
border ? : Boolean
|
|
76
80
|
/**
|
|
77
81
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
78
82
|
* hierarchy when triggered.
|
|
@@ -124,7 +128,7 @@ export declare type BryntumResourceGridProps = {
|
|
|
124
128
|
* ...
|
|
125
129
|
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/view/ResourceGrid#config-color)
|
|
126
130
|
*/
|
|
127
|
-
color ? :
|
|
131
|
+
color ? : Color
|
|
128
132
|
/**
|
|
129
133
|
* Programmatic control over which column to start in when used in a grid layout.
|
|
130
134
|
*/
|
|
@@ -757,6 +761,15 @@ export declare type BryntumResourceGridProps = {
|
|
|
757
761
|
width ? : string|number
|
|
758
762
|
|
|
759
763
|
// Features
|
|
764
|
+
/**
|
|
765
|
+
* This feature provides an AI agent for Grid. It provides a chat panel that allows the user to send messages to the
|
|
766
|
+
* agent and see the responses. Which allows the user to use natural language to interact with the Grid in different
|
|
767
|
+
* ways. For example, the user can ask the agent to filter the data, sort it, or select specific records. The agent can
|
|
768
|
+
* also perform data manipulation operations such as adding, updating, deleting records.
|
|
769
|
+
* ...
|
|
770
|
+
* [View online docs...](https://bryntum.com/products/schedulerpro/docs/api/Grid/feature/AI)
|
|
771
|
+
*/
|
|
772
|
+
aiFeature ? : object|Boolean|string|GridAI|GridAIConfig
|
|
760
773
|
/**
|
|
761
774
|
* AI-powered filter feature for Grid. Allows users to type natural language queries to filter grid data.
|
|
762
775
|
* ...
|