@bryntum/grid-angular-thin 7.3.0 → 7.3.1
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 +5 -5
- package/bundles/bryntum-grid-angular-thin.umd.js +15 -3
- package/bundles/bryntum-grid-angular-thin.umd.js.map +1 -1
- package/esm2015/lib/bryntum-a-i-filter-field.component.js +6 -2
- package/esm2015/lib/bryntum-checklist-filter-combo.component.js +6 -2
- package/esm2015/lib/bryntum-grid-base.component.js +1 -1
- package/esm2015/lib/bryntum-grid-chart-designer.component.js +1 -1
- package/esm2015/lib/bryntum-grid-field-filter-picker-group.component.js +1 -1
- package/esm2015/lib/bryntum-grid-field-filter-picker.component.js +1 -1
- package/esm2015/lib/bryntum-grid.component.js +1 -1
- package/esm2015/lib/bryntum-group-bar.component.js +1 -1
- package/esm2015/lib/bryntum-tree-combo.component.js +6 -2
- package/esm2015/lib/bryntum-tree-grid.component.js +1 -1
- package/fesm2015/bryntum-grid-angular-thin.js +15 -3
- package/fesm2015/bryntum-grid-angular-thin.js.map +1 -1
- package/lib/bryntum-a-i-filter-field.component.d.ts +11 -1
- package/lib/bryntum-checklist-filter-combo.component.d.ts +11 -1
- package/lib/bryntum-tree-combo.component.d.ts +11 -1
- package/package.json +1 -1
- package/src/lib/bryntum-a-i-filter-field.component.ts +13 -1
- package/src/lib/bryntum-checklist-filter-combo.component.ts +13 -1
- package/src/lib/bryntum-grid-base.component.ts +25 -25
- package/src/lib/bryntum-grid-chart-designer.component.ts +1 -1
- package/src/lib/bryntum-grid-field-filter-picker-group.component.ts +2 -2
- package/src/lib/bryntum-grid-field-filter-picker.component.ts +1 -1
- package/src/lib/bryntum-grid.component.ts +25 -25
- package/src/lib/bryntum-group-bar.component.ts +2 -2
- package/src/lib/bryntum-theme-combo.component.ts +0 -1
- package/src/lib/bryntum-tree-combo.component.ts +13 -1
- package/src/lib/bryntum-tree-grid.component.ts +25 -25
|
@@ -80,6 +80,15 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
80
80
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
81
81
|
*/
|
|
82
82
|
centered?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
85
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
86
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
87
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-checkValidity)
|
|
88
|
+
* @param {Core.widget.Field} field The field being validated
|
|
89
|
+
* @returns {void}
|
|
90
|
+
*/
|
|
91
|
+
checkValidity?: ((field: Field) => void) | string;
|
|
83
92
|
/**
|
|
84
93
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
85
94
|
* in the [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -624,6 +633,7 @@ export declare class BryntumAIFilterFieldComponent implements OnInit, OnDestroy
|
|
|
624
633
|
autoSelect: boolean;
|
|
625
634
|
bubbleEvents: object;
|
|
626
635
|
centered: boolean;
|
|
636
|
+
checkValidity: ((field: Field) => void) | string;
|
|
627
637
|
clearable: boolean | FieldTriggerConfig;
|
|
628
638
|
client: Grid;
|
|
629
639
|
color: Color;
|
|
@@ -910,5 +920,5 @@ export declare class BryntumAIFilterFieldComponent implements OnInit, OnDestroy
|
|
|
910
920
|
*/
|
|
911
921
|
ngOnDestroy(): void;
|
|
912
922
|
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumAIFilterFieldComponent, never>;
|
|
913
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumAIFilterFieldComponent, "bryntum-a-i-filter-field", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoComplete": "autoComplete"; "autoSelect": "autoSelect"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "clearable": "clearable"; "client": "client"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "container": "container"; "containValues": "containValues"; "contentElementCls": "contentElementCls"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "floating": "floating"; "hideAnimation": "hideAnimation"; "highlightExternalChange": "highlightExternalChange"; "hint": "hint"; "hintHtml": "hintHtml"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "inline": "inline"; "inputAlign": "inputAlign"; "inputAttributes": "inputAttributes"; "inputTag": "inputTag"; "inputType": "inputType"; "inputWidth": "inputWidth"; "keyStrokeChangeDelay": "keyStrokeChangeDelay"; "labelCls": "labelCls"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "listeners": "listeners"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxLength": "maxLength"; "minLength": "minLength"; "monitorResize": "monitorResize"; "name": "name"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "progressText": "progressText"; "relayStoreEvents": "relayStoreEvents"; "revertOnEscape": "revertOnEscape"; "ripple": "ripple"; "role": "role"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "skipValidation": "skipValidation"; "spellCheck": "spellCheck"; "tab": "tab"; "tabIndex": "tabIndex"; "textAlign": "textAlign"; "title": "title"; "type": "type"; "ui": "ui"; "validateOnInput": "validateOnInput"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "badge": "badge"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "dataset": "dataset"; "disabled": "disabled"; "editable": "editable"; "extraData": "extraData"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "label": "label"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "placeholder": "placeholder"; "readOnly": "readOnly"; "rendition": "rendition"; "required": "required"; "rtl": "rtl"; "showRequiredIndicator": "showRequiredIndicator"; "span": "span"; "tooltip": "tooltip"; "triggers": "triggers"; "value": "value"; "width": "width"; "x": "x"; "y": "y"; "content": "content"; "formula": "formula"; "html": "html"; "input": "input"; "parent": "parent"; "scrollable": "scrollable"; }, { "onAction": "onAction"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onChange": "onChange"; "onClear": "onClear"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onInput": "onInput"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onShow": "onShow"; "onTrigger": "onTrigger"; }, never, never>;
|
|
923
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumAIFilterFieldComponent, "bryntum-a-i-filter-field", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoComplete": "autoComplete"; "autoSelect": "autoSelect"; "bubbleEvents": "bubbleEvents"; "centered": "centered"; "checkValidity": "checkValidity"; "clearable": "clearable"; "client": "client"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "container": "container"; "containValues": "containValues"; "contentElementCls": "contentElementCls"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "floating": "floating"; "hideAnimation": "hideAnimation"; "highlightExternalChange": "highlightExternalChange"; "hint": "hint"; "hintHtml": "hintHtml"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "inline": "inline"; "inputAlign": "inputAlign"; "inputAttributes": "inputAttributes"; "inputTag": "inputTag"; "inputType": "inputType"; "inputWidth": "inputWidth"; "keyStrokeChangeDelay": "keyStrokeChangeDelay"; "labelCls": "labelCls"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "listeners": "listeners"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxLength": "maxLength"; "minLength": "minLength"; "monitorResize": "monitorResize"; "name": "name"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "progressText": "progressText"; "relayStoreEvents": "relayStoreEvents"; "revertOnEscape": "revertOnEscape"; "ripple": "ripple"; "role": "role"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "skipValidation": "skipValidation"; "spellCheck": "spellCheck"; "tab": "tab"; "tabIndex": "tabIndex"; "textAlign": "textAlign"; "title": "title"; "type": "type"; "ui": "ui"; "validateOnInput": "validateOnInput"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "badge": "badge"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "dataset": "dataset"; "disabled": "disabled"; "editable": "editable"; "extraData": "extraData"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "label": "label"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "placeholder": "placeholder"; "readOnly": "readOnly"; "rendition": "rendition"; "required": "required"; "rtl": "rtl"; "showRequiredIndicator": "showRequiredIndicator"; "span": "span"; "tooltip": "tooltip"; "triggers": "triggers"; "value": "value"; "width": "width"; "x": "x"; "y": "y"; "content": "content"; "formula": "formula"; "html": "html"; "input": "input"; "parent": "parent"; "scrollable": "scrollable"; }, { "onAction": "onAction"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onChange": "onChange"; "onClear": "onClear"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onInput": "onInput"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onShow": "onShow"; "onTrigger": "onTrigger"; }, never, never>;
|
|
914
924
|
}
|
|
@@ -93,6 +93,15 @@ export declare type BryntumChecklistFilterComboProps = {
|
|
|
93
93
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
94
94
|
*/
|
|
95
95
|
centered?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
98
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
99
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
100
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-checkValidity)
|
|
101
|
+
* @param {Core.widget.Field} field The field being validated
|
|
102
|
+
* @returns {void}
|
|
103
|
+
*/
|
|
104
|
+
checkValidity?: ((field: Field) => void) | string;
|
|
96
105
|
/**
|
|
97
106
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
98
107
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -813,6 +822,7 @@ export declare class BryntumChecklistFilterComboComponent implements OnInit, OnD
|
|
|
813
822
|
cacheLastResult: number | string | Duration | DurationConfig;
|
|
814
823
|
caseSensitive: boolean;
|
|
815
824
|
centered: boolean;
|
|
825
|
+
checkValidity: ((field: Field) => void) | string;
|
|
816
826
|
chipView: ChipViewConfig;
|
|
817
827
|
clearable: boolean | FieldTriggerConfig;
|
|
818
828
|
clearTextOnPickerHide: boolean;
|
|
@@ -1138,5 +1148,5 @@ export declare class BryntumChecklistFilterComboComponent implements OnInit, OnD
|
|
|
1138
1148
|
*/
|
|
1139
1149
|
ngOnDestroy(): void;
|
|
1140
1150
|
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumChecklistFilterComboComponent, never>;
|
|
1141
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumChecklistFilterComboComponent, "bryntum-checklist-filter-combo", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoComplete": "autoComplete"; "autoExpand": "autoExpand"; "autoSelect": "autoSelect"; "bubbleEvents": "bubbleEvents"; "cacheLastResult": "cacheLastResult"; "caseSensitive": "caseSensitive"; "centered": "centered"; "chipView": "chipView"; "clearable": "clearable"; "clearTextOnPickerHide": "clearTextOnPickerHide"; "clearTextOnSelection": "clearTextOnSelection"; "clearWhenInputEmpty": "clearWhenInputEmpty"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "container": "container"; "containValues": "containValues"; "contentElementCls": "contentElementCls"; "createOnUnmatched": "createOnUnmatched"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "displayField": "displayField"; "displayValueRenderer": "displayValueRenderer"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "emptyText": "emptyText"; "encodeFilterParams": "encodeFilterParams"; "filterOnEnter": "filterOnEnter"; "filterParamName": "filterParamName"; "filterSelected": "filterSelected"; "floating": "floating"; "hideAnimation": "hideAnimation"; "hidePickerOnSelect": "hidePickerOnSelect"; "hideTrigger": "hideTrigger"; "highlightExternalChange": "highlightExternalChange"; "hint": "hint"; "hintHtml": "hintHtml"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "inline": "inline"; "inlinePicker": "inlinePicker"; "inputAlign": "inputAlign"; "inputAttributes": "inputAttributes"; "inputTag": "inputTag"; "inputType": "inputType"; "inputWidth": "inputWidth"; "items": "items"; "keyStrokeChangeDelay": "keyStrokeChangeDelay"; "keyStrokeFilterDelay": "keyStrokeFilterDelay"; "labelCls": "labelCls"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "listCls": "listCls"; "listeners": "listeners"; "listItemTpl": "listItemTpl"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxLength": "maxLength"; "minChars": "minChars"; "minLength": "minLength"; "monitorResize": "monitorResize"; "multiValueSeparator": "multiValueSeparator"; "name": "name"; "overlayAnchor": "overlayAnchor"; "pickerAlignElement": "pickerAlignElement"; "pickerWidth": "pickerWidth"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "primaryFilter": "primaryFilter"; "relayStoreEvents": "relayStoreEvents"; "revertOnEscape": "revertOnEscape"; "ripple": "ripple"; "role": "role"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "skipValidation": "skipValidation"; "spellCheck": "spellCheck"; "tab": "tab"; "tabIndex": "tabIndex"; "textAlign": "textAlign"; "title": "title"; "triggerAction": "triggerAction"; "type": "type"; "ui": "ui"; "validateFilter": "validateFilter"; "validateOnInput": "validateOnInput"; "valueField": "valueField"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "badge": "badge"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "dataset": "dataset"; "disabled": "disabled"; "editable": "editable"; "extraData": "extraData"; "filterOperator": "filterOperator"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "label": "label"; "listItemPillTpl": "listItemPillTpl"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "picker": "picker"; "placeholder": "placeholder"; "readOnly": "readOnly"; "rendition": "rendition"; "required": "required"; "rtl": "rtl"; "searchText": "searchText"; "showApplyButton": "showApplyButton"; "showRequiredIndicator": "showRequiredIndicator"; "span": "span"; "store": "store"; "tooltip": "tooltip"; "triggers": "triggers"; "value": "value"; "width": "width"; "x": "x"; "y": "y"; "content": "content"; "formula": "formula"; "html": "html"; "input": "input"; "multiSelect": "multiSelect"; "parent": "parent"; "scrollable": "scrollable"; }, { "onAction": "onAction"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onChange": "onChange"; "onClear": "onClear"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onInput": "onInput"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onSelect": "onSelect"; "onShow": "onShow"; "onTrigger": "onTrigger"; }, never, never>;
|
|
1151
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumChecklistFilterComboComponent, "bryntum-checklist-filter-combo", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoComplete": "autoComplete"; "autoExpand": "autoExpand"; "autoSelect": "autoSelect"; "bubbleEvents": "bubbleEvents"; "cacheLastResult": "cacheLastResult"; "caseSensitive": "caseSensitive"; "centered": "centered"; "checkValidity": "checkValidity"; "chipView": "chipView"; "clearable": "clearable"; "clearTextOnPickerHide": "clearTextOnPickerHide"; "clearTextOnSelection": "clearTextOnSelection"; "clearWhenInputEmpty": "clearWhenInputEmpty"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "container": "container"; "containValues": "containValues"; "contentElementCls": "contentElementCls"; "createOnUnmatched": "createOnUnmatched"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "displayField": "displayField"; "displayValueRenderer": "displayValueRenderer"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "emptyText": "emptyText"; "encodeFilterParams": "encodeFilterParams"; "filterOnEnter": "filterOnEnter"; "filterParamName": "filterParamName"; "filterSelected": "filterSelected"; "floating": "floating"; "hideAnimation": "hideAnimation"; "hidePickerOnSelect": "hidePickerOnSelect"; "hideTrigger": "hideTrigger"; "highlightExternalChange": "highlightExternalChange"; "hint": "hint"; "hintHtml": "hintHtml"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "inline": "inline"; "inlinePicker": "inlinePicker"; "inputAlign": "inputAlign"; "inputAttributes": "inputAttributes"; "inputTag": "inputTag"; "inputType": "inputType"; "inputWidth": "inputWidth"; "items": "items"; "keyStrokeChangeDelay": "keyStrokeChangeDelay"; "keyStrokeFilterDelay": "keyStrokeFilterDelay"; "labelCls": "labelCls"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "listCls": "listCls"; "listeners": "listeners"; "listItemTpl": "listItemTpl"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxLength": "maxLength"; "minChars": "minChars"; "minLength": "minLength"; "monitorResize": "monitorResize"; "multiValueSeparator": "multiValueSeparator"; "name": "name"; "overlayAnchor": "overlayAnchor"; "pickerAlignElement": "pickerAlignElement"; "pickerWidth": "pickerWidth"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "primaryFilter": "primaryFilter"; "relayStoreEvents": "relayStoreEvents"; "revertOnEscape": "revertOnEscape"; "ripple": "ripple"; "role": "role"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "skipValidation": "skipValidation"; "spellCheck": "spellCheck"; "tab": "tab"; "tabIndex": "tabIndex"; "textAlign": "textAlign"; "title": "title"; "triggerAction": "triggerAction"; "type": "type"; "ui": "ui"; "validateFilter": "validateFilter"; "validateOnInput": "validateOnInput"; "valueField": "valueField"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "badge": "badge"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "dataset": "dataset"; "disabled": "disabled"; "editable": "editable"; "extraData": "extraData"; "filterOperator": "filterOperator"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "label": "label"; "listItemPillTpl": "listItemPillTpl"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "picker": "picker"; "placeholder": "placeholder"; "readOnly": "readOnly"; "rendition": "rendition"; "required": "required"; "rtl": "rtl"; "searchText": "searchText"; "showApplyButton": "showApplyButton"; "showRequiredIndicator": "showRequiredIndicator"; "span": "span"; "store": "store"; "tooltip": "tooltip"; "triggers": "triggers"; "value": "value"; "width": "width"; "x": "x"; "y": "y"; "content": "content"; "formula": "formula"; "html": "html"; "input": "input"; "multiSelect": "multiSelect"; "parent": "parent"; "scrollable": "scrollable"; }, { "onAction": "onAction"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onChange": "onChange"; "onClear": "onClear"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onInput": "onInput"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onSelect": "onSelect"; "onShow": "onShow"; "onTrigger": "onTrigger"; }, never, never>;
|
|
1142
1152
|
}
|
|
@@ -93,6 +93,15 @@ export declare type BryntumTreeComboProps = {
|
|
|
93
93
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
94
94
|
*/
|
|
95
95
|
centered?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
98
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
99
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
100
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/TreeCombo#config-checkValidity)
|
|
101
|
+
* @param {Core.widget.Field} field The field being validated
|
|
102
|
+
* @returns {void}
|
|
103
|
+
*/
|
|
104
|
+
checkValidity?: ((field: Field) => void) | string;
|
|
96
105
|
/**
|
|
97
106
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
98
107
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -804,6 +813,7 @@ export declare class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
804
813
|
cacheLastResult: number | string | Duration | DurationConfig;
|
|
805
814
|
caseSensitive: boolean;
|
|
806
815
|
centered: boolean;
|
|
816
|
+
checkValidity: ((field: Field) => void) | string;
|
|
807
817
|
chipView: ChipViewConfig;
|
|
808
818
|
clearable: boolean | FieldTriggerConfig;
|
|
809
819
|
clearTextOnPickerHide: boolean;
|
|
@@ -1126,5 +1136,5 @@ export declare class BryntumTreeComboComponent implements OnInit, OnDestroy {
|
|
|
1126
1136
|
*/
|
|
1127
1137
|
ngOnDestroy(): void;
|
|
1128
1138
|
static ɵfac: i0.ɵɵFactoryDeclaration<BryntumTreeComboComponent, never>;
|
|
1129
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumTreeComboComponent, "bryntum-tree-combo", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoComplete": "autoComplete"; "autoExpand": "autoExpand"; "autoSelect": "autoSelect"; "bubbleEvents": "bubbleEvents"; "cacheLastResult": "cacheLastResult"; "caseSensitive": "caseSensitive"; "centered": "centered"; "chipView": "chipView"; "clearable": "clearable"; "clearTextOnPickerHide": "clearTextOnPickerHide"; "clearTextOnSelection": "clearTextOnSelection"; "clearWhenInputEmpty": "clearWhenInputEmpty"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "container": "container"; "containValues": "containValues"; "contentElementCls": "contentElementCls"; "createOnUnmatched": "createOnUnmatched"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "displayField": "displayField"; "displayValueRenderer": "displayValueRenderer"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "emptyText": "emptyText"; "encodeFilterParams": "encodeFilterParams"; "filterOnEnter": "filterOnEnter"; "filterParamName": "filterParamName"; "filterSelected": "filterSelected"; "floating": "floating"; "hideAnimation": "hideAnimation"; "hidePickerOnSelect": "hidePickerOnSelect"; "hideTrigger": "hideTrigger"; "highlightExternalChange": "highlightExternalChange"; "hint": "hint"; "hintHtml": "hintHtml"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "inline": "inline"; "inlinePicker": "inlinePicker"; "inputAlign": "inputAlign"; "inputAttributes": "inputAttributes"; "inputTag": "inputTag"; "inputType": "inputType"; "inputWidth": "inputWidth"; "items": "items"; "keyStrokeChangeDelay": "keyStrokeChangeDelay"; "keyStrokeFilterDelay": "keyStrokeFilterDelay"; "labelCls": "labelCls"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "listCls": "listCls"; "listeners": "listeners"; "listItemTpl": "listItemTpl"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxLength": "maxLength"; "minChars": "minChars"; "minLength": "minLength"; "monitorResize": "monitorResize"; "multiValueSeparator": "multiValueSeparator"; "name": "name"; "overlayAnchor": "overlayAnchor"; "pickerAlignElement": "pickerAlignElement"; "pickerWidth": "pickerWidth"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "primaryFilter": "primaryFilter"; "relayStoreEvents": "relayStoreEvents"; "revertOnEscape": "revertOnEscape"; "ripple": "ripple"; "role": "role"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "skipValidation": "skipValidation"; "spellCheck": "spellCheck"; "tab": "tab"; "tabIndex": "tabIndex"; "textAlign": "textAlign"; "title": "title"; "triggerAction": "triggerAction"; "type": "type"; "ui": "ui"; "validateFilter": "validateFilter"; "validateOnInput": "validateOnInput"; "valueField": "valueField"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "badge": "badge"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "dataset": "dataset"; "disabled": "disabled"; "editable": "editable"; "extraData": "extraData"; "filterOperator": "filterOperator"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "label": "label"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "multiSelect": "multiSelect"; "picker": "picker"; "placeholder": "placeholder"; "readOnly": "readOnly"; "rendition": "rendition"; "required": "required"; "rtl": "rtl"; "showRequiredIndicator": "showRequiredIndicator"; "span": "span"; "store": "store"; "tooltip": "tooltip"; "triggers": "triggers"; "value": "value"; "width": "width"; "x": "x"; "y": "y"; "content": "content"; "formula": "formula"; "html": "html"; "input": "input"; "parent": "parent"; "scrollable": "scrollable"; }, { "onAction": "onAction"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onChange": "onChange"; "onClear": "onClear"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onInput": "onInput"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onSelect": "onSelect"; "onShow": "onShow"; "onTrigger": "onTrigger"; }, never, never>;
|
|
1139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BryntumTreeComboComponent, "bryntum-tree-combo", never, { "adopt": "adopt"; "align": "align"; "anchor": "anchor"; "ariaDescription": "ariaDescription"; "ariaLabel": "ariaLabel"; "autoComplete": "autoComplete"; "autoExpand": "autoExpand"; "autoSelect": "autoSelect"; "bubbleEvents": "bubbleEvents"; "cacheLastResult": "cacheLastResult"; "caseSensitive": "caseSensitive"; "centered": "centered"; "checkValidity": "checkValidity"; "chipView": "chipView"; "clearable": "clearable"; "clearTextOnPickerHide": "clearTextOnPickerHide"; "clearTextOnSelection": "clearTextOnSelection"; "clearWhenInputEmpty": "clearWhenInputEmpty"; "color": "color"; "config": "config"; "constrainTo": "constrainTo"; "container": "container"; "containValues": "containValues"; "contentElementCls": "contentElementCls"; "createOnUnmatched": "createOnUnmatched"; "dataField": "dataField"; "defaultBindProperty": "defaultBindProperty"; "detectCSSCompatibilityIssues": "detectCSSCompatibilityIssues"; "displayField": "displayField"; "displayValueRenderer": "displayValueRenderer"; "dock": "dock"; "draggable": "draggable"; "elementAttributes": "elementAttributes"; "emptyText": "emptyText"; "encodeFilterParams": "encodeFilterParams"; "filterOnEnter": "filterOnEnter"; "filterParamName": "filterParamName"; "filterSelected": "filterSelected"; "floating": "floating"; "hideAnimation": "hideAnimation"; "hidePickerOnSelect": "hidePickerOnSelect"; "hideTrigger": "hideTrigger"; "highlightExternalChange": "highlightExternalChange"; "hint": "hint"; "hintHtml": "hintHtml"; "ignoreParentReadOnly": "ignoreParentReadOnly"; "inline": "inline"; "inlinePicker": "inlinePicker"; "inputAlign": "inputAlign"; "inputAttributes": "inputAttributes"; "inputTag": "inputTag"; "inputType": "inputType"; "inputWidth": "inputWidth"; "items": "items"; "keyStrokeChangeDelay": "keyStrokeChangeDelay"; "keyStrokeFilterDelay": "keyStrokeFilterDelay"; "labelCls": "labelCls"; "labelPosition": "labelPosition"; "labels": "labels"; "labelWidth": "labelWidth"; "listCls": "listCls"; "listeners": "listeners"; "listItemTpl": "listItemTpl"; "localeClass": "localeClass"; "localizable": "localizable"; "localizableProperties": "localizableProperties"; "maskDefaults": "maskDefaults"; "masked": "masked"; "maxLength": "maxLength"; "minChars": "minChars"; "minLength": "minLength"; "monitorResize": "monitorResize"; "multiValueSeparator": "multiValueSeparator"; "name": "name"; "overlayAnchor": "overlayAnchor"; "pickerAlignElement": "pickerAlignElement"; "pickerWidth": "pickerWidth"; "positioned": "positioned"; "preventTooltipOnTouch": "preventTooltipOnTouch"; "primaryFilter": "primaryFilter"; "relayStoreEvents": "relayStoreEvents"; "revertOnEscape": "revertOnEscape"; "ripple": "ripple"; "role": "role"; "rootElement": "rootElement"; "scrollAction": "scrollAction"; "showAnimation": "showAnimation"; "showTooltipWhenDisabled": "showTooltipWhenDisabled"; "skipValidation": "skipValidation"; "spellCheck": "spellCheck"; "tab": "tab"; "tabIndex": "tabIndex"; "textAlign": "textAlign"; "title": "title"; "triggerAction": "triggerAction"; "type": "type"; "ui": "ui"; "validateFilter": "validateFilter"; "validateOnInput": "validateOnInput"; "valueField": "valueField"; "weight": "weight"; "alignSelf": "alignSelf"; "appendTo": "appendTo"; "badge": "badge"; "callOnFunctions": "callOnFunctions"; "catchEventHandlerExceptions": "catchEventHandlerExceptions"; "cls": "cls"; "column": "column"; "dataset": "dataset"; "disabled": "disabled"; "editable": "editable"; "extraData": "extraData"; "filterOperator": "filterOperator"; "flex": "flex"; "height": "height"; "hidden": "hidden"; "id": "id"; "insertBefore": "insertBefore"; "insertFirst": "insertFirst"; "keyMap": "keyMap"; "label": "label"; "margin": "margin"; "maxHeight": "maxHeight"; "maximizeOnMobile": "maximizeOnMobile"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "multiSelect": "multiSelect"; "picker": "picker"; "placeholder": "placeholder"; "readOnly": "readOnly"; "rendition": "rendition"; "required": "required"; "rtl": "rtl"; "showRequiredIndicator": "showRequiredIndicator"; "span": "span"; "store": "store"; "tooltip": "tooltip"; "triggers": "triggers"; "value": "value"; "width": "width"; "x": "x"; "y": "y"; "content": "content"; "formula": "formula"; "html": "html"; "input": "input"; "parent": "parent"; "scrollable": "scrollable"; }, { "onAction": "onAction"; "onBeforeDestroy": "onBeforeDestroy"; "onBeforeHide": "onBeforeHide"; "onBeforeShow": "onBeforeShow"; "onCatchAll": "onCatchAll"; "onChange": "onChange"; "onClear": "onClear"; "onDestroy": "onDestroy"; "onElementCreated": "onElementCreated"; "onFocusIn": "onFocusIn"; "onFocusOut": "onFocusOut"; "onHide": "onHide"; "onInput": "onInput"; "onPaint": "onPaint"; "onReadOnly": "onReadOnly"; "onRecompose": "onRecompose"; "onResize": "onResize"; "onSelect": "onSelect"; "onShow": "onShow"; "onTrigger": "onTrigger"; }, never, never>;
|
|
1130
1140
|
}
|
package/package.json
CHANGED
|
@@ -89,6 +89,15 @@ export type BryntumAIFilterFieldProps = {
|
|
|
89
89
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
90
90
|
*/
|
|
91
91
|
centered ? : boolean
|
|
92
|
+
/**
|
|
93
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
94
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
95
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
96
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-checkValidity)
|
|
97
|
+
* @param {Core.widget.Field} field The field being validated
|
|
98
|
+
* @returns {void}
|
|
99
|
+
*/
|
|
100
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
92
101
|
/**
|
|
93
102
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
94
103
|
* in the [triggers](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -659,6 +668,7 @@ export class BryntumAIFilterFieldComponent implements OnInit, OnDestroy {
|
|
|
659
668
|
'callOnFunctions',
|
|
660
669
|
'catchEventHandlerExceptions',
|
|
661
670
|
'centered',
|
|
671
|
+
'checkValidity',
|
|
662
672
|
'clearable',
|
|
663
673
|
'client',
|
|
664
674
|
'cls',
|
|
@@ -766,6 +776,7 @@ export class BryntumAIFilterFieldComponent implements OnInit, OnDestroy {
|
|
|
766
776
|
'autoSelect',
|
|
767
777
|
'bubbleEvents',
|
|
768
778
|
'centered',
|
|
779
|
+
'checkValidity',
|
|
769
780
|
'clearable',
|
|
770
781
|
'client',
|
|
771
782
|
'color',
|
|
@@ -903,6 +914,7 @@ export class BryntumAIFilterFieldComponent implements OnInit, OnDestroy {
|
|
|
903
914
|
@Input() autoSelect ! : boolean;
|
|
904
915
|
@Input() bubbleEvents ! : object;
|
|
905
916
|
@Input() centered ! : boolean;
|
|
917
|
+
@Input() checkValidity ! : ((field: Field) => void)|string;
|
|
906
918
|
@Input() clearable ! : boolean|FieldTriggerConfig;
|
|
907
919
|
@Input() client ! : Grid;
|
|
908
920
|
@Input() color ! : Color;
|
|
@@ -1040,7 +1052,7 @@ export class BryntumAIFilterFieldComponent implements OnInit, OnDestroy {
|
|
|
1040
1052
|
* @param {object} event Event object
|
|
1041
1053
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
1042
1054
|
*/
|
|
1043
|
-
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) =>
|
|
1055
|
+
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) => boolean|void)|string>();
|
|
1044
1056
|
/**
|
|
1045
1057
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
1046
1058
|
* @param {object} event Event object
|
|
@@ -102,6 +102,15 @@ export type BryntumChecklistFilterComboProps = {
|
|
|
102
102
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
103
103
|
*/
|
|
104
104
|
centered ? : boolean
|
|
105
|
+
/**
|
|
106
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
107
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/grid/docs/api/Core/widget/Field#property-isValid)
|
|
108
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
109
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/ChecklistFilterCombo#config-checkValidity)
|
|
110
|
+
* @param {Core.widget.Field} field The field being validated
|
|
111
|
+
* @returns {void}
|
|
112
|
+
*/
|
|
113
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
105
114
|
/**
|
|
106
115
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
107
116
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -849,6 +858,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
849
858
|
'caseSensitive',
|
|
850
859
|
'catchEventHandlerExceptions',
|
|
851
860
|
'centered',
|
|
861
|
+
'checkValidity',
|
|
852
862
|
'chipView',
|
|
853
863
|
'clearable',
|
|
854
864
|
'clearTextOnPickerHide',
|
|
@@ -991,6 +1001,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
991
1001
|
'cacheLastResult',
|
|
992
1002
|
'caseSensitive',
|
|
993
1003
|
'centered',
|
|
1004
|
+
'checkValidity',
|
|
994
1005
|
'chipView',
|
|
995
1006
|
'clearable',
|
|
996
1007
|
'clearTextOnPickerHide',
|
|
@@ -1164,6 +1175,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1164
1175
|
@Input() cacheLastResult ! : number|string|Duration|DurationConfig;
|
|
1165
1176
|
@Input() caseSensitive ! : boolean;
|
|
1166
1177
|
@Input() centered ! : boolean;
|
|
1178
|
+
@Input() checkValidity ! : ((field: Field) => void)|string;
|
|
1167
1179
|
@Input() chipView ! : ChipViewConfig;
|
|
1168
1180
|
@Input() clearable ! : boolean|FieldTriggerConfig;
|
|
1169
1181
|
@Input() clearTextOnPickerHide ! : boolean;
|
|
@@ -1330,7 +1342,7 @@ export class BryntumChecklistFilterComboComponent implements OnInit, OnDestroy {
|
|
|
1330
1342
|
* @param {object} event Event object
|
|
1331
1343
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
1332
1344
|
*/
|
|
1333
|
-
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) =>
|
|
1345
|
+
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) => boolean|void)|string>();
|
|
1334
1346
|
/**
|
|
1335
1347
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
1336
1348
|
* @param {object} event Event object
|
|
@@ -1620,7 +1620,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1620
1620
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
1621
1621
|
* @param {Grid.util.GridLocation} event.editorContext Editing context
|
|
1622
1622
|
*/
|
|
1623
|
-
@Output() onBeforeCancelCellEdit: any = new EventEmitter<((event: { source: Grid, editorContext: GridLocation }) =>
|
|
1623
|
+
@Output() onBeforeCancelCellEdit: any = new EventEmitter<((event: { source: Grid, editorContext: GridLocation }) => boolean|void)|string>();
|
|
1624
1624
|
/**
|
|
1625
1625
|
* Fires on the owning Grid before the row editing is canceled, return false to signal that the value is invalid and editing should not be finalized.
|
|
1626
1626
|
* [More...](https://bryntum.com/products/grid/docs/api/Grid/view/GridBase#event-beforeCancelRowEdit)
|
|
@@ -1635,7 +1635,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1635
1635
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
1636
1636
|
* @param {CellEditorContext} event.editorContext Editing context
|
|
1637
1637
|
*/
|
|
1638
|
-
@Output() onBeforeCellEditStart: any = new EventEmitter<((event: { source: Grid, editorContext: CellEditorContext }) =>
|
|
1638
|
+
@Output() onBeforeCellEditStart: any = new EventEmitter<((event: { source: Grid, editorContext: CellEditorContext }) => boolean|void)|string>();
|
|
1639
1639
|
/**
|
|
1640
1640
|
* Fires on the owning Grid before deleting a range of selected cell values by pressing <kbd>Backspace</kbd> or <kbd>Delete</kbd>
|
|
1641
1641
|
* buttons while [autoEdit](https://bryntum.com/products/grid/docs/api/Grid/feature/CellEdit#config-autoEdit) is set to `true`. Return `false` to prevent editing.
|
|
@@ -1643,7 +1643,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1643
1643
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
1644
1644
|
* @param {(Grid.util.GridLocation|Core.data.Model)[]} event.gridSelection An array of cell selectors or records that will have their values deleted (the records themselves will not get deleted, only visible column values).
|
|
1645
1645
|
*/
|
|
1646
|
-
@Output() onBeforeCellRangeDelete: any = new EventEmitter<((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) =>
|
|
1646
|
+
@Output() onBeforeCellRangeDelete: any = new EventEmitter<((event: { source: Grid, gridSelection: (GridLocation|Model)[] }) => boolean|void)|string>();
|
|
1647
1647
|
/**
|
|
1648
1648
|
* Fires for each selected record on the owning Grid before editing a range of selected cell values
|
|
1649
1649
|
* @param {object} event Event object
|
|
@@ -1651,7 +1651,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1651
1651
|
* @param {string} event.field The field being changed
|
|
1652
1652
|
* @param {any} event.value The value being set
|
|
1653
1653
|
*/
|
|
1654
|
-
@Output() onBeforeCellRangeEdit: any = new EventEmitter<((event: { record: Model, field: string, value: any }) =>
|
|
1654
|
+
@Output() onBeforeCellRangeEdit: any = new EventEmitter<((event: { record: Model, field: string, value: any }) => boolean|void)|string>();
|
|
1655
1655
|
/**
|
|
1656
1656
|
* This event is triggered before a parent column is collapsed or expanded.
|
|
1657
1657
|
* @param {object} event Event object
|
|
@@ -1667,7 +1667,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1667
1667
|
* @param {Grid.column.Column} event.column The dragged column.
|
|
1668
1668
|
* @param {Event} event.event The browser event.
|
|
1669
1669
|
*/
|
|
1670
|
-
@Output() onBeforeColumnDragStart: any = new EventEmitter<((event: { source: Grid, column: Column, event: Event }) =>
|
|
1670
|
+
@Output() onBeforeColumnDragStart: any = new EventEmitter<((event: { source: Grid, column: Column, event: Event }) => boolean|void)|string>();
|
|
1671
1671
|
/**
|
|
1672
1672
|
* This event is fired when a column is dropped, and you can return false from a listener to abort the operation.
|
|
1673
1673
|
* @param {object} event Event object
|
|
@@ -1678,7 +1678,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1678
1678
|
* @param {Event} event.event The browser event.
|
|
1679
1679
|
* @param {string} event.region The region where the column was dropped.
|
|
1680
1680
|
*/
|
|
1681
|
-
@Output() onBeforeColumnDropFinalize: any = new EventEmitter<((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) =>
|
|
1681
|
+
@Output() onBeforeColumnDropFinalize: any = new EventEmitter<((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, event: Event, region: string }) => boolean|void)|string>();
|
|
1682
1682
|
/**
|
|
1683
1683
|
* This event is fired prior to starting a column resize gesture. The resize is canceled if a listener returns
|
|
1684
1684
|
* `false`.
|
|
@@ -1687,7 +1687,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1687
1687
|
* @param {Grid.column.Column} event.column The column
|
|
1688
1688
|
* @param {Event} event.domEvent The browser event
|
|
1689
1689
|
*/
|
|
1690
|
-
@Output() onBeforeColumnResize: any = new EventEmitter<((event: { source: Grid, column: Column, domEvent: Event }) =>
|
|
1690
|
+
@Output() onBeforeColumnResize: any = new EventEmitter<((event: { source: Grid, column: Column, domEvent: Event }) => boolean|void)|string>();
|
|
1691
1691
|
/**
|
|
1692
1692
|
* Fires on the owning Grid before a copy action is performed, return `false` to prevent the action
|
|
1693
1693
|
* @param {object} event Event object
|
|
@@ -1707,7 +1707,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1707
1707
|
* @param {string} event.lineDelimiter The CSV delimiter to separate lines
|
|
1708
1708
|
* @param {string} event.columnDelimiter The CSV delimiter to separate values on one line
|
|
1709
1709
|
*/
|
|
1710
|
-
@Output() onBeforeCSVExport: any = new EventEmitter<((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) =>
|
|
1710
|
+
@Output() onBeforeCSVExport: any = new EventEmitter<((event: { config: ExportConfig, columns: Column[], rows: Model[], lineDelimiter: string, columnDelimiter: string }) => boolean|void)|string>();
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Fires before an object is destroyed.
|
|
1713
1713
|
* @param {object} event Event object
|
|
@@ -1721,14 +1721,14 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1721
1721
|
* @param {XLSColumn[]} event.columns An array of columns to export
|
|
1722
1722
|
* @param {any[][]} event.rows An array of records to export
|
|
1723
1723
|
*/
|
|
1724
|
-
@Output() onBeforeExcelExport: any = new EventEmitter<((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) =>
|
|
1724
|
+
@Output() onBeforeExcelExport: any = new EventEmitter<((event: { config: ExportConfig, columns: XLSColumn[], rows: any[] }) => boolean|void)|string>();
|
|
1725
1725
|
/**
|
|
1726
1726
|
* Fired before dragging of the FillHandle starts, return `false` to prevent the drag operation.
|
|
1727
1727
|
* @param {object} event Event object
|
|
1728
1728
|
* @param {Grid.util.GridLocation} event.cell Information about the column / record
|
|
1729
1729
|
* @param {MouseEvent} event.domEvent The raw DOM event
|
|
1730
1730
|
*/
|
|
1731
|
-
@Output() onBeforeFillHandleDragStart: any = new EventEmitter<((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
1731
|
+
@Output() onBeforeFillHandleDragStart: any = new EventEmitter<((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string>();
|
|
1732
1732
|
/**
|
|
1733
1733
|
* Fires on the owning Grid before the cell editing is finished, return false to signal that the value is invalid and editing should not be finalized.
|
|
1734
1734
|
* @param {object} event Event object
|
|
@@ -1749,7 +1749,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1749
1749
|
* @param {object} event Event object
|
|
1750
1750
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
1751
1751
|
*/
|
|
1752
|
-
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) =>
|
|
1752
|
+
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) => boolean|void)|string>();
|
|
1753
1753
|
/**
|
|
1754
1754
|
* Fires on the owning Grid before a paste action is performed, return `false` to prevent the action
|
|
1755
1755
|
* @param {object} event Event object
|
|
@@ -1765,7 +1765,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1765
1765
|
* @param {object} event Event object
|
|
1766
1766
|
* @param {PdfExportConfig} event.config Export config
|
|
1767
1767
|
*/
|
|
1768
|
-
@Output() onBeforePdfExport: any = new EventEmitter<((event: { config: PdfExportConfig }) =>
|
|
1768
|
+
@Output() onBeforePdfExport: any = new EventEmitter<((event: { config: PdfExportConfig }) => boolean|void)|string>();
|
|
1769
1769
|
/**
|
|
1770
1770
|
* Fires before a row is rendered.
|
|
1771
1771
|
* @param {object} event Event object
|
|
@@ -1808,7 +1808,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1808
1808
|
* @param {Grid.util.GridLocation[]} event.selectedCells The cells to be selected in this operation.
|
|
1809
1809
|
* @param {Grid.util.GridLocation[]} event.cellSelection The cells in the current selection, before applying `selectedCells` and `deselectedCells`
|
|
1810
1810
|
*/
|
|
1811
|
-
@Output() onBeforeSelectionChange: any = new EventEmitter<((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) =>
|
|
1811
|
+
@Output() onBeforeSelectionChange: any = new EventEmitter<((event: { action: string, mode: 'row'|'cell', source: Grid, deselected: Model[], selected: Model[], selection: Model[], deselectedCells: GridLocation[], selectedCells: GridLocation[], cellSelection: GridLocation[] }) => boolean|void)|string>();
|
|
1812
1812
|
/**
|
|
1813
1813
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1814
1814
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -1829,19 +1829,19 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1829
1829
|
* @param {Grid.view.Grid} event.source Owner grid
|
|
1830
1830
|
* @param {RowEditorContext} event.editorContext Editing context
|
|
1831
1831
|
*/
|
|
1832
|
-
@Output() onBeforeStartRowEdit: any = new EventEmitter<((event: { source: Grid, editorContext: RowEditorContext }) =>
|
|
1832
|
+
@Output() onBeforeStartRowEdit: any = new EventEmitter<((event: { source: Grid, editorContext: RowEditorContext }) => boolean|void)|string>();
|
|
1833
1833
|
/**
|
|
1834
1834
|
* Fired before state is applied to the source. Allows editing the state object or preventing the operation.
|
|
1835
1835
|
* @param {object} event Event object
|
|
1836
1836
|
* @param {GridStateInfo} event.state State object config
|
|
1837
1837
|
*/
|
|
1838
|
-
@Output() onBeforeStateApply: any = new EventEmitter<((event: { state: GridStateInfo }) =>
|
|
1838
|
+
@Output() onBeforeStateApply: any = new EventEmitter<((event: { state: GridStateInfo }) => boolean|void)|string>();
|
|
1839
1839
|
/**
|
|
1840
1840
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
1841
1841
|
* @param {object} event Event object
|
|
1842
1842
|
* @param {GridStateInfo} event.state State object config
|
|
1843
1843
|
*/
|
|
1844
|
-
@Output() onBeforeStateSave: any = new EventEmitter<((event: { state: GridStateInfo }) =>
|
|
1844
|
+
@Output() onBeforeStateSave: any = new EventEmitter<((event: { state: GridStateInfo }) => boolean|void)|string>();
|
|
1845
1845
|
/**
|
|
1846
1846
|
* Fired when a group is going to be expanded or collapsed using the UI.
|
|
1847
1847
|
* Returning `false` from a listener prevents the operation
|
|
@@ -1851,7 +1851,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1851
1851
|
* @param {boolean} event.collapse Collapsed (true) or expanded (false)
|
|
1852
1852
|
* @param {Event} event.domEvent The user interaction event (eg a `click` event) if the toggle request was instigated by user interaction.
|
|
1853
1853
|
*/
|
|
1854
|
-
@Output() onBeforeToggleGroup: any = new EventEmitter<((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) =>
|
|
1854
|
+
@Output() onBeforeToggleGroup: any = new EventEmitter<((event: { groupRecord: Model, groupRecords: Model[], collapse: boolean, domEvent: Event }) => boolean|void)|string>();
|
|
1855
1855
|
/**
|
|
1856
1856
|
* Fired before a parent node record toggles its collapsed state.
|
|
1857
1857
|
* @param {object} event Event object
|
|
@@ -1920,7 +1920,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
1920
1920
|
* @param {Grid.column.Column} event.column Column
|
|
1921
1921
|
* @param {Core.data.Model} event.record Record
|
|
1922
1922
|
*/
|
|
1923
|
-
@Output() onCellMenuBeforeShow: any = new EventEmitter<((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) =>
|
|
1923
|
+
@Output() onCellMenuBeforeShow: any = new EventEmitter<((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column, record: Model }) => boolean|void)|string>();
|
|
1924
1924
|
/**
|
|
1925
1925
|
* This event fires on the owning grid when an item is selected in the cell context menu.
|
|
1926
1926
|
* @param {object} event Event object
|
|
@@ -2047,7 +2047,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2047
2047
|
* @param {Event} event.event The browser event.
|
|
2048
2048
|
* @param {string} event.region The region where the column was dropped.
|
|
2049
2049
|
*/
|
|
2050
|
-
@Output() onColumnDrop: any = new EventEmitter<((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) =>
|
|
2050
|
+
@Output() onColumnDrop: any = new EventEmitter<((event: { source: Grid, column: Column, insertBefore: Column, newParent: Column, valid: boolean, event: Event, region: string }) => boolean|void)|string>();
|
|
2051
2051
|
/**
|
|
2052
2052
|
* This event is fired after a resize gesture is completed.
|
|
2053
2053
|
* @param {object} event Event object
|
|
@@ -2187,7 +2187,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2187
2187
|
* @param {Grid.util.GridLocation} event.cell Information about the column / record
|
|
2188
2188
|
* @param {MouseEvent} event.domEvent The raw DOM event
|
|
2189
2189
|
*/
|
|
2190
|
-
@Output() onFillHandleDragStart: any = new EventEmitter<((event: { cell: GridLocation, domEvent: MouseEvent }) =>
|
|
2190
|
+
@Output() onFillHandleDragStart: any = new EventEmitter<((event: { cell: GridLocation, domEvent: MouseEvent }) => boolean|void)|string>();
|
|
2191
2191
|
/**
|
|
2192
2192
|
* Fires on the owning Grid when cell editing is finished
|
|
2193
2193
|
* @param {object} event Event object
|
|
@@ -2235,7 +2235,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2235
2235
|
* @param {Core.data.Model[]} event.context.records The dragged row records
|
|
2236
2236
|
* @param {MouseEvent,TouchEvent} event.event
|
|
2237
2237
|
*/
|
|
2238
|
-
@Output() onGridRowBeforeDragStart: any = new EventEmitter<((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) =>
|
|
2238
|
+
@Output() onGridRowBeforeDragStart: any = new EventEmitter<((event: { source: GridBase, context: { records: Model[] }, event: MouseEvent|TouchEvent }) => boolean|void)|string>();
|
|
2239
2239
|
/**
|
|
2240
2240
|
* Fired before the row drop operation is finalized. You can return false to abort the drop operation, or a
|
|
2241
2241
|
* Promise yielding `true` / `false` which allows for asynchronous abort (e.g. first show user a confirmation dialog).
|
|
@@ -2302,7 +2302,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2302
2302
|
* @param {Event} event.domEvent The triggering DOM event.
|
|
2303
2303
|
* @param {Grid.column.Column} event.column The column clicked on.
|
|
2304
2304
|
*/
|
|
2305
|
-
@Output() onHeaderClick: any = new EventEmitter<((event: { domEvent: Event, column: Column }) =>
|
|
2305
|
+
@Output() onHeaderClick: any = new EventEmitter<((event: { domEvent: Event, column: Column }) => boolean|void)|string>();
|
|
2306
2306
|
/**
|
|
2307
2307
|
* This event fires on the owning Grid before the context menu is shown for a header.
|
|
2308
2308
|
* Allows manipulation of the items to show in the same way as in the [processItems](https://bryntum.com/products/grid/docs/api/Grid/feature/HeaderMenu#config-processItems).
|
|
@@ -2313,7 +2313,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2313
2313
|
* @param {Record<string, MenuItemEntry>} event.items Menu item configs
|
|
2314
2314
|
* @param {Grid.column.Column} event.column Column
|
|
2315
2315
|
*/
|
|
2316
|
-
@Output() onHeaderMenuBeforeShow: any = new EventEmitter<((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) =>
|
|
2316
|
+
@Output() onHeaderMenuBeforeShow: any = new EventEmitter<((event: { source: Grid, menu: Menu, items: Record<string, MenuItemEntry>, column: Column }) => boolean|void)|string>();
|
|
2317
2317
|
/**
|
|
2318
2318
|
* This event fires on the owning Grid when an item is selected in the header context menu.
|
|
2319
2319
|
* @param {object} event Event object
|
|
@@ -2524,7 +2524,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2524
2524
|
* @param {Grid.view.SubGrid} event.subGrid The subgrid
|
|
2525
2525
|
* @param {Event} event.domEvent The native DOM event
|
|
2526
2526
|
*/
|
|
2527
|
-
@Output() onSplitterCollapseClick: any = new EventEmitter<((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2527
|
+
@Output() onSplitterCollapseClick: any = new EventEmitter<((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string>();
|
|
2528
2528
|
/**
|
|
2529
2529
|
* Fired by the Grid after a sub-grid has been resized using the splitter
|
|
2530
2530
|
* @param {object} event Event object
|
|
@@ -2549,7 +2549,7 @@ export class BryntumGridBaseComponent implements OnInit, OnDestroy {
|
|
|
2549
2549
|
* @param {Grid.view.SubGrid} event.subGrid The subgrid
|
|
2550
2550
|
* @param {Event} event.domEvent The native DOM event
|
|
2551
2551
|
*/
|
|
2552
|
-
@Output() onSplitterExpandClick: any = new EventEmitter<((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) =>
|
|
2552
|
+
@Output() onSplitterExpandClick: any = new EventEmitter<((event: { source: Grid, subGrid: SubGrid, domEvent: Event }) => boolean|void)|string>();
|
|
2553
2553
|
/**
|
|
2554
2554
|
* Fires on the owning Grid when editing starts
|
|
2555
2555
|
* @param {object} event Event object
|
|
@@ -746,7 +746,7 @@ export class BryntumGridChartDesignerComponent implements OnInit, OnDestroy {
|
|
|
746
746
|
* @param {object} event Event object
|
|
747
747
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
748
748
|
*/
|
|
749
|
-
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) =>
|
|
749
|
+
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) => boolean|void)|string>();
|
|
750
750
|
/**
|
|
751
751
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
752
752
|
* @param {object} event Event object
|
|
@@ -1005,7 +1005,7 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
|
|
|
1005
1005
|
* @param {Core.widget.FieldFilterPicker} event.source The FieldFilterPicker instance that fired the event.
|
|
1006
1006
|
* @param {CollectionFilterConfig} event.filter The [CollectionFilter](https://bryntum.com/products/grid/docs/api/Core/util/CollectionFilter) configuration object for the filter represented by this [FieldFilterPicker](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker).
|
|
1007
1007
|
*/
|
|
1008
|
-
@Output() onBeforeAddFilter: any = new EventEmitter<((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) =>
|
|
1008
|
+
@Output() onBeforeAddFilter: any = new EventEmitter<((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) => boolean|void)|string>();
|
|
1009
1009
|
/**
|
|
1010
1010
|
* Fires before an object is destroyed.
|
|
1011
1011
|
* @param {object} event Event object
|
|
@@ -1017,7 +1017,7 @@ export class BryntumGridFieldFilterPickerGroupComponent implements OnInit, OnDes
|
|
|
1017
1017
|
* @param {object} event Event object
|
|
1018
1018
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
1019
1019
|
*/
|
|
1020
|
-
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) =>
|
|
1020
|
+
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) => boolean|void)|string>();
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1023
1023
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -1003,7 +1003,7 @@ export class BryntumGridFieldFilterPickerComponent implements OnInit, OnDestroy
|
|
|
1003
1003
|
* @param {object} event Event object
|
|
1004
1004
|
* @param {Core.widget.Widget} event.source The widget being hidden.
|
|
1005
1005
|
*/
|
|
1006
|
-
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) =>
|
|
1006
|
+
@Output() onBeforeHide: any = new EventEmitter<((event: { source: Widget }) => boolean|void)|string>();
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
1009
1009
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|