@bryntum/core-vue-3-thin 7.3.0 → 7.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chunks/-8Xai_9S.js.map +1 -1
- package/lib/chunks/47-V2ACd.js.map +1 -1
- package/lib/chunks/ASihDjXw.js.map +1 -1
- package/lib/chunks/B7KhcgPC.js.map +1 -1
- package/lib/chunks/B8KGPeHy.js.map +1 -1
- package/lib/chunks/BB8tOII_.js.map +1 -1
- package/lib/chunks/{S9XwH6IJ.js → BEX7SIci.js} +6 -4
- package/lib/chunks/BEX7SIci.js.map +1 -0
- package/lib/chunks/BFNWOtf2.js.map +1 -1
- package/lib/chunks/BG7E4-sX.js.map +1 -1
- package/lib/chunks/{BKLWvKPc.js → BH9WVqFa.js} +12 -10
- package/lib/chunks/BH9WVqFa.js.map +1 -0
- package/lib/chunks/{naTVDWnB.js → BOGE5pxL.js} +13 -11
- package/lib/chunks/BOGE5pxL.js.map +1 -0
- package/lib/chunks/{C14dvV95.js → BQikt_g7.js} +10 -8
- package/lib/chunks/BQikt_g7.js.map +1 -0
- package/lib/chunks/{C0-E5hnK.js → BWPcUxSk.js} +9 -7
- package/lib/chunks/BWPcUxSk.js.map +1 -0
- package/lib/chunks/{D7CJcnRV.js → BmrPNTUZ.js} +9 -7
- package/lib/chunks/BmrPNTUZ.js.map +1 -0
- package/lib/chunks/{DRz-V3LT.js → Bpq-_L_J.js} +11 -9
- package/lib/chunks/Bpq-_L_J.js.map +1 -0
- package/lib/chunks/Brp0NyFN.js.map +1 -1
- package/lib/chunks/{qkwwWpWo.js → BuQqXOvY.js} +6 -4
- package/lib/chunks/BuQqXOvY.js.map +1 -0
- package/lib/chunks/{BPANMXC6.js → ByuztLAT.js} +11 -9
- package/lib/chunks/ByuztLAT.js.map +1 -0
- package/lib/chunks/C0JI13dO.js.map +1 -1
- package/lib/chunks/C8pe1IyH.js.map +1 -1
- package/lib/chunks/C987g-kK.js.map +1 -1
- package/lib/chunks/CLqf-0PN.js.map +1 -1
- package/lib/chunks/CQwgnD9q.js.map +1 -1
- package/lib/chunks/{HOklxqtO.js → CXEKQ18L.js} +9 -7
- package/lib/chunks/CXEKQ18L.js.map +1 -0
- package/lib/chunks/Cd9NJP1W.js.map +1 -1
- package/lib/chunks/{BrRBMti3.js → CfCbZPht.js} +9 -7
- package/lib/chunks/CfCbZPht.js.map +1 -0
- package/lib/chunks/{ChAWW3Iy.js → CpVLgWPj.js} +9 -7
- package/lib/chunks/CpVLgWPj.js.map +1 -0
- package/lib/chunks/Csirfhz_.js.map +1 -1
- package/lib/chunks/Cz2JtuJX.js.map +1 -1
- package/lib/chunks/D6JcA9Zt.js.map +1 -1
- package/lib/chunks/{CUFZWGAX.js → DCcctqdo.js} +5 -3
- package/lib/chunks/DCcctqdo.js.map +1 -0
- package/lib/chunks/{ToClygqb.js → DNScKbAm.js} +9 -7
- package/lib/chunks/DNScKbAm.js.map +1 -0
- package/lib/chunks/DNTQukmL.js.map +1 -1
- package/lib/chunks/{BeXQ7RhD.js → DOp4_ZR2.js} +7 -5
- package/lib/chunks/DOp4_ZR2.js.map +1 -0
- package/lib/chunks/DQLfwhka.js.map +1 -1
- package/lib/chunks/DR_RL3ms.js.map +1 -1
- package/lib/chunks/Dg7wbkjL.js.map +1 -1
- package/lib/chunks/{DuiOZGf5.js → DgXr7-Gj.js} +9 -7
- package/lib/chunks/DgXr7-Gj.js.map +1 -0
- package/lib/chunks/DhOHvb1Z.js.map +1 -1
- package/lib/chunks/Hu7IhLgO.js.map +1 -1
- package/lib/chunks/WGJj3T9m.js.map +1 -1
- package/lib/chunks/Wh7gYeFQ.js.map +1 -1
- package/lib/chunks/YAeyT4qi.js.map +1 -1
- package/lib/chunks/boSXkG-m.js.map +1 -1
- package/lib/chunks/{DAfGAAbO.js → lQtECawa.js} +10 -8
- package/lib/chunks/lQtECawa.js.map +1 -0
- package/lib/chunks/{B_aqRSp2.js → vcFE80xr.js} +14 -12
- package/lib/chunks/vcFE80xr.js.map +1 -0
- package/lib/chunks/{IjqHT_Qc.js → xYFGvsOR.js} +9 -7
- package/lib/chunks/xYFGvsOR.js.map +1 -0
- package/lib/chunks/zIlWjejC.js.map +1 -1
- package/lib/chunks/ztxFXigG.js.map +1 -1
- package/lib/components/BryntumBooleanCombo.js +1 -1
- package/lib/components/BryntumCheckbox.js +1 -1
- package/lib/components/BryntumColorField.js +1 -1
- package/lib/components/BryntumCombo.js +1 -1
- package/lib/components/BryntumDateField.js +1 -1
- package/lib/components/BryntumDateRangeField.js +1 -1
- package/lib/components/BryntumDateTimeField.js +1 -1
- package/lib/components/BryntumDisplayField.js +1 -1
- package/lib/components/BryntumDurationField.js +1 -1
- package/lib/components/BryntumFileField.js +1 -1
- package/lib/components/BryntumFilterField.js +1 -1
- package/lib/components/BryntumNumberField.js +1 -1
- package/lib/components/BryntumPasswordField.js +1 -1
- package/lib/components/BryntumRadio.js +1 -1
- package/lib/components/BryntumSlideToggle.js +1 -1
- package/lib/components/BryntumTextAreaField.js +1 -1
- package/lib/components/BryntumTextAreaPickerField.js +1 -1
- package/lib/components/BryntumTextField.js +1 -1
- package/lib/components/BryntumTimeField.js +1 -1
- package/lib/index.js +19 -19
- package/package.json +1 -1
- package/src/components/BryntumBooleanCombo.vue +17 -1
- package/src/components/BryntumBooleanComboProps.ts +15 -0
- package/src/components/BryntumButton.vue +9 -3
- package/src/components/BryntumButtonGroup.vue +7 -1
- package/src/components/BryntumButtonGroupProps.ts +6 -0
- package/src/components/BryntumButtonProps.ts +6 -0
- package/src/components/BryntumChatPanel.vue +9 -3
- package/src/components/BryntumChatPanelProps.ts +6 -0
- package/src/components/BryntumCheckbox.vue +18 -2
- package/src/components/BryntumCheckboxGroup.vue +9 -3
- package/src/components/BryntumCheckboxGroupProps.ts +6 -0
- package/src/components/BryntumCheckboxProps.ts +15 -0
- package/src/components/BryntumChipView.vue +11 -3
- package/src/components/BryntumChipViewProps.ts +9 -1
- package/src/components/BryntumCodeEditor.vue +9 -3
- package/src/components/BryntumCodeEditorProps.ts +6 -0
- package/src/components/BryntumColorField.vue +17 -1
- package/src/components/BryntumColorFieldProps.ts +15 -0
- package/src/components/BryntumCombo.vue +17 -1
- package/src/components/BryntumComboProps.ts +15 -0
- package/src/components/BryntumContainer.vue +7 -1
- package/src/components/BryntumContainerProps.ts +6 -0
- package/src/components/BryntumDateField.vue +17 -1
- package/src/components/BryntumDateFieldProps.ts +15 -0
- package/src/components/BryntumDatePicker.vue +9 -3
- package/src/components/BryntumDatePickerProps.ts +6 -0
- package/src/components/BryntumDateRangeField.vue +17 -1
- package/src/components/BryntumDateRangeFieldProps.ts +15 -0
- package/src/components/BryntumDateTimeField.vue +17 -1
- package/src/components/BryntumDateTimeFieldProps.ts +15 -0
- package/src/components/BryntumDemoCodeEditor.vue +9 -3
- package/src/components/BryntumDemoCodeEditorProps.ts +6 -0
- package/src/components/BryntumDisplayField.vue +17 -1
- package/src/components/BryntumDisplayFieldProps.ts +15 -0
- package/src/components/BryntumDurationField.vue +17 -1
- package/src/components/BryntumDurationFieldProps.ts +15 -0
- package/src/components/BryntumEditor.vue +11 -5
- package/src/components/BryntumEditorProps.ts +6 -0
- package/src/components/BryntumFieldFilterPicker.vue +7 -1
- package/src/components/BryntumFieldFilterPickerGroup.vue +8 -2
- package/src/components/BryntumFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumFieldSet.vue +9 -3
- package/src/components/BryntumFieldSetProps.ts +6 -0
- package/src/components/BryntumFileField.vue +17 -1
- package/src/components/BryntumFileFieldProps.ts +15 -0
- package/src/components/BryntumFilePicker.vue +7 -1
- package/src/components/BryntumFilePickerProps.ts +6 -0
- package/src/components/BryntumFilterField.vue +17 -1
- package/src/components/BryntumFilterFieldProps.ts +15 -0
- package/src/components/BryntumHint.vue +9 -3
- package/src/components/BryntumHintProps.ts +6 -0
- package/src/components/BryntumLabel.vue +7 -1
- package/src/components/BryntumLabelProps.ts +6 -0
- package/src/components/BryntumList.vue +8 -2
- package/src/components/BryntumListProps.ts +6 -0
- package/src/components/BryntumMenu.vue +9 -3
- package/src/components/BryntumMenuProps.ts +6 -0
- package/src/components/BryntumMonthPicker.vue +9 -3
- package/src/components/BryntumMonthPickerProps.ts +6 -0
- package/src/components/BryntumNumberField.vue +17 -1
- package/src/components/BryntumNumberFieldProps.ts +15 -0
- package/src/components/BryntumPagingToolbar.vue +8 -2
- package/src/components/BryntumPagingToolbarProps.ts +6 -0
- package/src/components/BryntumPanel.vue +9 -3
- package/src/components/BryntumPanelProps.ts +6 -0
- package/src/components/BryntumPasswordField.vue +17 -1
- package/src/components/BryntumPasswordFieldProps.ts +15 -0
- package/src/components/BryntumProgressBar.vue +7 -1
- package/src/components/BryntumProgressBarProps.ts +6 -0
- package/src/components/BryntumRadio.vue +18 -2
- package/src/components/BryntumRadioGroup.vue +9 -3
- package/src/components/BryntumRadioGroupProps.ts +6 -0
- package/src/components/BryntumRadioProps.ts +15 -0
- package/src/components/BryntumSlideToggle.vue +18 -2
- package/src/components/BryntumSlideToggleProps.ts +15 -0
- package/src/components/BryntumSlider.vue +7 -1
- package/src/components/BryntumSliderProps.ts +6 -0
- package/src/components/BryntumSplitter.vue +7 -1
- package/src/components/BryntumSplitterProps.ts +6 -0
- package/src/components/BryntumTabPanel.vue +10 -4
- package/src/components/BryntumTabPanelProps.ts +6 -0
- package/src/components/BryntumTextAreaField.vue +17 -1
- package/src/components/BryntumTextAreaFieldProps.ts +15 -0
- package/src/components/BryntumTextAreaPickerField.vue +17 -1
- package/src/components/BryntumTextAreaPickerFieldProps.ts +15 -0
- package/src/components/BryntumTextField.vue +17 -1
- package/src/components/BryntumTextFieldProps.ts +15 -0
- package/src/components/BryntumTimeField.vue +17 -1
- package/src/components/BryntumTimeFieldProps.ts +15 -0
- package/src/components/BryntumTimePicker.vue +7 -1
- package/src/components/BryntumTimePickerProps.ts +6 -0
- package/src/components/BryntumToolbar.vue +8 -2
- package/src/components/BryntumToolbarProps.ts +6 -0
- package/src/components/BryntumWidget.vue +7 -1
- package/src/components/BryntumWidgetProps.ts +6 -0
- package/src/components/BryntumYearPicker.vue +9 -3
- package/src/components/BryntumYearPickerProps.ts +6 -0
- package/lib/chunks/BKLWvKPc.js.map +0 -1
- package/lib/chunks/BPANMXC6.js.map +0 -1
- package/lib/chunks/B_aqRSp2.js.map +0 -1
- package/lib/chunks/BeXQ7RhD.js.map +0 -1
- package/lib/chunks/BrRBMti3.js.map +0 -1
- package/lib/chunks/C0-E5hnK.js.map +0 -1
- package/lib/chunks/C14dvV95.js.map +0 -1
- package/lib/chunks/CUFZWGAX.js.map +0 -1
- package/lib/chunks/ChAWW3Iy.js.map +0 -1
- package/lib/chunks/D7CJcnRV.js.map +0 -1
- package/lib/chunks/DAfGAAbO.js.map +0 -1
- package/lib/chunks/DRz-V3LT.js.map +0 -1
- package/lib/chunks/DuiOZGf5.js.map +0 -1
- package/lib/chunks/HOklxqtO.js.map +0 -1
- package/lib/chunks/IjqHT_Qc.js.map +0 -1
- package/lib/chunks/S9XwH6IJ.js.map +0 -1
- package/lib/chunks/ToClygqb.js.map +0 -1
- package/lib/chunks/naTVDWnB.js.map +0 -1
- package/lib/chunks/qkwwWpWo.js.map +0 -1
|
@@ -42,6 +42,8 @@ defineProps<{
|
|
|
42
42
|
/**
|
|
43
43
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
44
44
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
45
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
46
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -86,6 +88,15 @@ defineProps<{
|
|
|
86
88
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
87
89
|
*/
|
|
88
90
|
centered ? : Boolean
|
|
91
|
+
/**
|
|
92
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
93
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
94
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
95
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-checkValidity)
|
|
96
|
+
* @param {Core.widget.Field} field The field being validated
|
|
97
|
+
* @returns {void}
|
|
98
|
+
*/
|
|
99
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
89
100
|
/**
|
|
90
101
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
91
102
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -275,10 +286,14 @@ defineProps<{
|
|
|
275
286
|
inputTag ? : string
|
|
276
287
|
/**
|
|
277
288
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
289
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
290
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-insertBefore)
|
|
278
291
|
*/
|
|
279
292
|
insertBefore ? : HTMLElement|string
|
|
280
293
|
/**
|
|
281
294
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
295
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
296
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-insertFirst)
|
|
282
297
|
*/
|
|
283
298
|
insertFirst ? : HTMLElement|string
|
|
284
299
|
/**
|
|
@@ -597,7 +612,7 @@ const emit = defineEmits<{
|
|
|
597
612
|
* @param {object} params.event Event object
|
|
598
613
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
599
614
|
*/
|
|
600
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
615
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
601
616
|
/**
|
|
602
617
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
603
618
|
* @param {string} e Event name
|
|
@@ -769,6 +784,7 @@ const widgetData = {
|
|
|
769
784
|
'autoSelect',
|
|
770
785
|
'bubbleEvents',
|
|
771
786
|
'centered',
|
|
787
|
+
'checkValidity',
|
|
772
788
|
'clearable',
|
|
773
789
|
'color',
|
|
774
790
|
'config',
|
|
@@ -27,6 +27,8 @@ export declare type BryntumDateTimeFieldProps = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
29
29
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
30
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
31
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-appendTo)
|
|
30
32
|
*/
|
|
31
33
|
appendTo ? : HTMLElement|string
|
|
32
34
|
/**
|
|
@@ -71,6 +73,15 @@ export declare type BryntumDateTimeFieldProps = {
|
|
|
71
73
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
72
74
|
*/
|
|
73
75
|
centered ? : Boolean
|
|
76
|
+
/**
|
|
77
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
78
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
79
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
80
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-checkValidity)
|
|
81
|
+
* @param {Core.widget.Field} field The field being validated
|
|
82
|
+
* @returns {void}
|
|
83
|
+
*/
|
|
84
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
74
85
|
/**
|
|
75
86
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
76
87
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -260,10 +271,14 @@ export declare type BryntumDateTimeFieldProps = {
|
|
|
260
271
|
inputTag ? : string
|
|
261
272
|
/**
|
|
262
273
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
274
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
275
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-insertBefore)
|
|
263
276
|
*/
|
|
264
277
|
insertBefore ? : HTMLElement|string
|
|
265
278
|
/**
|
|
266
279
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
280
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
281
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DateTimeField#config-insertFirst)
|
|
267
282
|
*/
|
|
268
283
|
insertFirst ? : HTMLElement|string
|
|
269
284
|
/**
|
|
@@ -42,6 +42,8 @@ defineProps<{
|
|
|
42
42
|
/**
|
|
43
43
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
44
44
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
45
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
46
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -312,10 +314,14 @@ defineProps<{
|
|
|
312
314
|
inputFieldAlign ? : 'start'|'end'
|
|
313
315
|
/**
|
|
314
316
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
317
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
318
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-insertBefore)
|
|
315
319
|
*/
|
|
316
320
|
insertBefore ? : HTMLElement|string
|
|
317
321
|
/**
|
|
318
322
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
323
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
324
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-insertFirst)
|
|
319
325
|
*/
|
|
320
326
|
insertFirst ? : HTMLElement|string
|
|
321
327
|
/**
|
|
@@ -690,7 +696,7 @@ const emit = defineEmits<{
|
|
|
690
696
|
* @param {object} params.event Event object
|
|
691
697
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
692
698
|
*/
|
|
693
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
699
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
694
700
|
/**
|
|
695
701
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
696
702
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -716,7 +722,7 @@ const emit = defineEmits<{
|
|
|
716
722
|
* @param {object} params.event Event object
|
|
717
723
|
* @param {any} params.event.state State object config
|
|
718
724
|
*/
|
|
719
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
725
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
720
726
|
/**
|
|
721
727
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
722
728
|
* @param {string} e Event name
|
|
@@ -724,7 +730,7 @@ const emit = defineEmits<{
|
|
|
724
730
|
* @param {object} params.event Event object
|
|
725
731
|
* @param {any} params.event.state State object config
|
|
726
732
|
*/
|
|
727
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
733
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
728
734
|
/**
|
|
729
735
|
* Fires when any other event is fired from the object.
|
|
730
736
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#event-catchAll)
|
|
@@ -27,6 +27,8 @@ export declare type BryntumDemoCodeEditorProps = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
29
29
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
30
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
31
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-appendTo)
|
|
30
32
|
*/
|
|
31
33
|
appendTo ? : HTMLElement|string
|
|
32
34
|
/**
|
|
@@ -297,10 +299,14 @@ export declare type BryntumDemoCodeEditorProps = {
|
|
|
297
299
|
inputFieldAlign ? : 'start'|'end'
|
|
298
300
|
/**
|
|
299
301
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
302
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
303
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-insertBefore)
|
|
300
304
|
*/
|
|
301
305
|
insertBefore ? : HTMLElement|string
|
|
302
306
|
/**
|
|
303
307
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
308
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
309
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DemoCodeEditor#config-insertFirst)
|
|
304
310
|
*/
|
|
305
311
|
insertFirst ? : HTMLElement|string
|
|
306
312
|
/**
|
|
@@ -42,6 +42,8 @@ defineProps<{
|
|
|
42
42
|
/**
|
|
43
43
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
44
44
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
45
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
46
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -91,6 +93,15 @@ defineProps<{
|
|
|
91
93
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
92
94
|
*/
|
|
93
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/core/docs/api/Core/widget/Field#property-isValid)
|
|
99
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
100
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-checkValidity)
|
|
101
|
+
* @param {Core.widget.Field} field The field being validated
|
|
102
|
+
* @returns {void}
|
|
103
|
+
*/
|
|
104
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
94
105
|
/**
|
|
95
106
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
96
107
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -294,10 +305,14 @@ defineProps<{
|
|
|
294
305
|
inputWidth ? : string|number
|
|
295
306
|
/**
|
|
296
307
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
308
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
309
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-insertBefore)
|
|
297
310
|
*/
|
|
298
311
|
insertBefore ? : HTMLElement|string
|
|
299
312
|
/**
|
|
300
313
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
314
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
315
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-insertFirst)
|
|
301
316
|
*/
|
|
302
317
|
insertFirst ? : HTMLElement|string
|
|
303
318
|
/**
|
|
@@ -628,7 +643,7 @@ const emit = defineEmits<{
|
|
|
628
643
|
* @param {object} params.event Event object
|
|
629
644
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
630
645
|
*/
|
|
631
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
646
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
632
647
|
/**
|
|
633
648
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
634
649
|
* @param {string} e Event name
|
|
@@ -801,6 +816,7 @@ const widgetData = {
|
|
|
801
816
|
'autoSelect',
|
|
802
817
|
'bubbleEvents',
|
|
803
818
|
'centered',
|
|
819
|
+
'checkValidity',
|
|
804
820
|
'clearable',
|
|
805
821
|
'color',
|
|
806
822
|
'config',
|
|
@@ -27,6 +27,8 @@ export declare type BryntumDisplayFieldProps = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
29
29
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
30
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
31
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-appendTo)
|
|
30
32
|
*/
|
|
31
33
|
appendTo ? : HTMLElement|string
|
|
32
34
|
/**
|
|
@@ -76,6 +78,15 @@ export declare type BryntumDisplayFieldProps = {
|
|
|
76
78
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
77
79
|
*/
|
|
78
80
|
centered ? : Boolean
|
|
81
|
+
/**
|
|
82
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
83
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
84
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
85
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-checkValidity)
|
|
86
|
+
* @param {Core.widget.Field} field The field being validated
|
|
87
|
+
* @returns {void}
|
|
88
|
+
*/
|
|
89
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
79
90
|
/**
|
|
80
91
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
81
92
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -279,10 +290,14 @@ export declare type BryntumDisplayFieldProps = {
|
|
|
279
290
|
inputWidth ? : string|number
|
|
280
291
|
/**
|
|
281
292
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
293
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
294
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-insertBefore)
|
|
282
295
|
*/
|
|
283
296
|
insertBefore ? : HTMLElement|string
|
|
284
297
|
/**
|
|
285
298
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
299
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
300
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DisplayField#config-insertFirst)
|
|
286
301
|
*/
|
|
287
302
|
insertFirst ? : HTMLElement|string
|
|
288
303
|
/**
|
|
@@ -51,6 +51,8 @@ defineProps<{
|
|
|
51
51
|
/**
|
|
52
52
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
53
53
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
54
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
55
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-appendTo)
|
|
54
56
|
*/
|
|
55
57
|
appendTo ? : HTMLElement|string
|
|
56
58
|
/**
|
|
@@ -100,6 +102,15 @@ defineProps<{
|
|
|
100
102
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
101
103
|
*/
|
|
102
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/core/docs/api/Core/widget/Field#property-isValid)
|
|
108
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
109
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-checkValidity)
|
|
110
|
+
* @param {Core.widget.Field} field The field being validated
|
|
111
|
+
* @returns {void}
|
|
112
|
+
*/
|
|
113
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
103
114
|
/**
|
|
104
115
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
105
116
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -307,10 +318,14 @@ defineProps<{
|
|
|
307
318
|
inputWidth ? : string|number
|
|
308
319
|
/**
|
|
309
320
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
321
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
322
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-insertBefore)
|
|
310
323
|
*/
|
|
311
324
|
insertBefore ? : HTMLElement|string
|
|
312
325
|
/**
|
|
313
326
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
327
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
328
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-insertFirst)
|
|
314
329
|
*/
|
|
315
330
|
insertFirst ? : HTMLElement|string
|
|
316
331
|
/**
|
|
@@ -676,7 +691,7 @@ const emit = defineEmits<{
|
|
|
676
691
|
* @param {object} params.event Event object
|
|
677
692
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
678
693
|
*/
|
|
679
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
694
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
680
695
|
/**
|
|
681
696
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
682
697
|
* @param {string} e Event name
|
|
@@ -849,6 +864,7 @@ const widgetData = {
|
|
|
849
864
|
'autoSelect',
|
|
850
865
|
'bubbleEvents',
|
|
851
866
|
'centered',
|
|
867
|
+
'checkValidity',
|
|
852
868
|
'clearable',
|
|
853
869
|
'color',
|
|
854
870
|
'config',
|
|
@@ -36,6 +36,8 @@ export declare type BryntumDurationFieldProps = {
|
|
|
36
36
|
/**
|
|
37
37
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
38
38
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
39
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
40
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-appendTo)
|
|
39
41
|
*/
|
|
40
42
|
appendTo ? : HTMLElement|string
|
|
41
43
|
/**
|
|
@@ -85,6 +87,15 @@ export declare type BryntumDurationFieldProps = {
|
|
|
85
87
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
86
88
|
*/
|
|
87
89
|
centered ? : Boolean
|
|
90
|
+
/**
|
|
91
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
92
|
+
* to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-isValid)
|
|
93
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-required) check.
|
|
94
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-checkValidity)
|
|
95
|
+
* @param {Core.widget.Field} field The field being validated
|
|
96
|
+
* @returns {void}
|
|
97
|
+
*/
|
|
98
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
88
99
|
/**
|
|
89
100
|
* Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
90
101
|
* in the [triggers](https://bryntum.com/products/core/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which
|
|
@@ -292,10 +303,14 @@ export declare type BryntumDurationFieldProps = {
|
|
|
292
303
|
inputWidth ? : string|number
|
|
293
304
|
/**
|
|
294
305
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
306
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
307
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-insertBefore)
|
|
295
308
|
*/
|
|
296
309
|
insertBefore ? : HTMLElement|string
|
|
297
310
|
/**
|
|
298
311
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
312
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
313
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/DurationField#config-insertFirst)
|
|
299
314
|
*/
|
|
300
315
|
insertFirst ? : HTMLElement|string
|
|
301
316
|
/**
|
|
@@ -41,6 +41,8 @@ defineProps<{
|
|
|
41
41
|
/**
|
|
42
42
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
43
43
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
44
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
45
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-appendTo)
|
|
44
46
|
*/
|
|
45
47
|
appendTo ? : HTMLElement|string
|
|
46
48
|
/**
|
|
@@ -284,10 +286,14 @@ defineProps<{
|
|
|
284
286
|
inputFieldAlign ? : 'start'|'end'
|
|
285
287
|
/**
|
|
286
288
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
289
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
290
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-insertBefore)
|
|
287
291
|
*/
|
|
288
292
|
insertBefore ? : HTMLElement|string
|
|
289
293
|
/**
|
|
290
294
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
295
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
296
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-insertFirst)
|
|
291
297
|
*/
|
|
292
298
|
insertFirst ? : HTMLElement|string
|
|
293
299
|
/**
|
|
@@ -607,7 +613,7 @@ const emit = defineEmits<{
|
|
|
607
613
|
* @param {Event} params.event.event Included if the cancellation was triggered by a DOM event
|
|
608
614
|
* @param {Core.widget.Editor} params.event.source The Editor that triggered the event.
|
|
609
615
|
*/
|
|
610
|
-
(e: 'beforeCancel', params: ((event: { oldValue: object, value: object, event: Event, source: Editor }) =>
|
|
616
|
+
(e: 'beforeCancel', params: ((event: { oldValue: object, value: object, event: Event, source: Editor }) => boolean|void)|string): boolean|void
|
|
611
617
|
/**
|
|
612
618
|
* Fired when an edit completion has been requested, either by <kbd>Enter</kbd>, or focus loss (if configured to complete on blur).
|
|
613
619
|
* The completion may be vetoed, in which case, focus is moved back into the editor.
|
|
@@ -620,7 +626,7 @@ const emit = defineEmits<{
|
|
|
620
626
|
* @param {Function} [params.event.finalize] An async function may be injected into this property which performs asynchronous finalization tasks such as complex validation of confirmation. The value `true` or `false` must be returned.
|
|
621
627
|
* @param {object} [params.event.finalize.context] An object describing the editing context upon requested completion of the edit.
|
|
622
628
|
*/
|
|
623
|
-
(e: 'beforeComplete', params: ((event: { oldValue: object, value: object, source: Editor, finalize: { context?: object } }) =>
|
|
629
|
+
(e: 'beforeComplete', params: ((event: { oldValue: object, value: object, source: Editor, finalize: { context?: object } }) => boolean|void)|string): boolean|void
|
|
624
630
|
/**
|
|
625
631
|
* Fires before an object is destroyed.
|
|
626
632
|
* @param {string} e Event name
|
|
@@ -636,7 +642,7 @@ const emit = defineEmits<{
|
|
|
636
642
|
* @param {object} params.event Event object
|
|
637
643
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
638
644
|
*/
|
|
639
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
645
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
640
646
|
/**
|
|
641
647
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
642
648
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -660,7 +666,7 @@ const emit = defineEmits<{
|
|
|
660
666
|
* @param {string} e Event name
|
|
661
667
|
* @param {object} params Event parameters
|
|
662
668
|
* @param {object} params.event Event object
|
|
663
|
-
* @param {
|
|
669
|
+
* @param {Element} params.event.target The element which the Editor is to overlay to edit its content.
|
|
664
670
|
* @param {Core.data.Model} [params.event.record] The record being edited.
|
|
665
671
|
* @param {string} [params.event.field] The name of the field if a record is being edited.
|
|
666
672
|
* @param {object} params.event.value The value to be edited.
|
|
@@ -672,7 +678,7 @@ const emit = defineEmits<{
|
|
|
672
678
|
* @param {boolean} params.event.matchFont Whether to match the target's font. See [matchFont](https://bryntum.com/products/core/docs/api/Core/widget/Editor#config-matchFont)
|
|
673
679
|
* @param {boolean} params.event.focus Whether to focus the editor's field.
|
|
674
680
|
*/
|
|
675
|
-
(e: 'beforeStart', params: ((event: { target:
|
|
681
|
+
(e: 'beforeStart', params: ((event: { target: Element, record?: Model, field?: string, value: object, align: string|AlignSpec, hideTarget: boolean, matchSize: { width: boolean, height: boolean }, matchFont: boolean, focus: boolean }) => boolean|void)|string): boolean|void
|
|
676
682
|
/**
|
|
677
683
|
* Edit has been canceled without updating the associated record or element.
|
|
678
684
|
* @param {string} e Event name
|
|
@@ -26,6 +26,8 @@ export declare type BryntumEditorProps = {
|
|
|
26
26
|
/**
|
|
27
27
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
28
28
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
29
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
30
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-appendTo)
|
|
29
31
|
*/
|
|
30
32
|
appendTo ? : HTMLElement|string
|
|
31
33
|
/**
|
|
@@ -269,10 +271,14 @@ export declare type BryntumEditorProps = {
|
|
|
269
271
|
inputFieldAlign ? : 'start'|'end'
|
|
270
272
|
/**
|
|
271
273
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
274
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
275
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-insertBefore)
|
|
272
276
|
*/
|
|
273
277
|
insertBefore ? : HTMLElement|string
|
|
274
278
|
/**
|
|
275
279
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
280
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
281
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Editor#config-insertFirst)
|
|
276
282
|
*/
|
|
277
283
|
insertFirst ? : HTMLElement|string
|
|
278
284
|
/**
|
|
@@ -42,6 +42,8 @@ defineProps<{
|
|
|
42
42
|
/**
|
|
43
43
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
44
44
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
45
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
46
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -270,10 +272,14 @@ defineProps<{
|
|
|
270
272
|
inputFieldAlign ? : 'start'|'end'
|
|
271
273
|
/**
|
|
272
274
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
275
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
276
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-insertBefore)
|
|
273
277
|
*/
|
|
274
278
|
insertBefore ? : HTMLElement|string
|
|
275
279
|
/**
|
|
276
280
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
281
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
282
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-insertFirst)
|
|
277
283
|
*/
|
|
278
284
|
insertFirst ? : HTMLElement|string
|
|
279
285
|
/**
|
|
@@ -606,7 +612,7 @@ const emit = defineEmits<{
|
|
|
606
612
|
* @param {object} params.event Event object
|
|
607
613
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
608
614
|
*/
|
|
609
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
615
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
610
616
|
/**
|
|
611
617
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
612
618
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -52,6 +52,8 @@ defineProps<{
|
|
|
52
52
|
/**
|
|
53
53
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
54
54
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
55
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
56
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-appendTo)
|
|
55
57
|
*/
|
|
56
58
|
appendTo ? : HTMLElement|string
|
|
57
59
|
/**
|
|
@@ -298,10 +300,14 @@ defineProps<{
|
|
|
298
300
|
inputFieldAlign ? : 'start'|'end'
|
|
299
301
|
/**
|
|
300
302
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
303
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
304
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-insertBefore)
|
|
301
305
|
*/
|
|
302
306
|
insertBefore ? : HTMLElement|string
|
|
303
307
|
/**
|
|
304
308
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
309
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
310
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-insertFirst)
|
|
305
311
|
*/
|
|
306
312
|
insertFirst ? : HTMLElement|string
|
|
307
313
|
/**
|
|
@@ -620,7 +626,7 @@ const emit = defineEmits<{
|
|
|
620
626
|
* @param {Core.widget.FieldFilterPicker} params.event.source The FieldFilterPicker instance that fired the event.
|
|
621
627
|
* @param {CollectionFilterConfig} params.event.filter The [CollectionFilter](https://bryntum.com/products/core/docs/api/Core/util/CollectionFilter) configuration object for the filter represented by this [FieldFilterPicker](https://bryntum.com/products/core/docs/api/Core/widget/FieldFilterPicker).
|
|
622
628
|
*/
|
|
623
|
-
(e: 'beforeAddFilter', params: ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) =>
|
|
629
|
+
(e: 'beforeAddFilter', params: ((event: { source: FieldFilterPicker, filter: CollectionFilterConfig }) => boolean|void)|string): boolean|void
|
|
624
630
|
/**
|
|
625
631
|
* Fires before an object is destroyed.
|
|
626
632
|
* @param {string} e Event name
|
|
@@ -636,7 +642,7 @@ const emit = defineEmits<{
|
|
|
636
642
|
* @param {object} params.event Event object
|
|
637
643
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
638
644
|
*/
|
|
639
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
645
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
640
646
|
/**
|
|
641
647
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
642
648
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -37,6 +37,8 @@ export declare type BryntumFieldFilterPickerGroupProps = {
|
|
|
37
37
|
/**
|
|
38
38
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
39
39
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
40
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
41
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-appendTo)
|
|
40
42
|
*/
|
|
41
43
|
appendTo ? : HTMLElement|string
|
|
42
44
|
/**
|
|
@@ -283,10 +285,14 @@ export declare type BryntumFieldFilterPickerGroupProps = {
|
|
|
283
285
|
inputFieldAlign ? : 'start'|'end'
|
|
284
286
|
/**
|
|
285
287
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
288
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
289
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-insertBefore)
|
|
286
290
|
*/
|
|
287
291
|
insertBefore ? : HTMLElement|string
|
|
288
292
|
/**
|
|
289
293
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
294
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
295
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPickerGroup#config-insertFirst)
|
|
290
296
|
*/
|
|
291
297
|
insertFirst ? : HTMLElement|string
|
|
292
298
|
/**
|
|
@@ -27,6 +27,8 @@ export declare type BryntumFieldFilterPickerProps = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
29
29
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-element).
|
|
30
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
31
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-appendTo)
|
|
30
32
|
*/
|
|
31
33
|
appendTo ? : HTMLElement|string
|
|
32
34
|
/**
|
|
@@ -255,10 +257,14 @@ export declare type BryntumFieldFilterPickerProps = {
|
|
|
255
257
|
inputFieldAlign ? : 'start'|'end'
|
|
256
258
|
/**
|
|
257
259
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
260
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
261
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-insertBefore)
|
|
258
262
|
*/
|
|
259
263
|
insertBefore ? : HTMLElement|string
|
|
260
264
|
/**
|
|
261
265
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
266
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
267
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/FieldFilterPicker#config-insertFirst)
|
|
262
268
|
*/
|
|
263
269
|
insertFirst ? : HTMLElement|string
|
|
264
270
|
/**
|