@bryntum/grid-vue-3 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/{CDlTquLg.js → 0G3BOxn8.js} +9 -7
- package/lib/chunks/0G3BOxn8.js.map +1 -0
- package/lib/chunks/0gtq8Dk3.js.map +1 -1
- package/lib/chunks/1RZB5Yja.js.map +1 -1
- package/lib/chunks/2JP2ap14.js.map +1 -1
- package/lib/chunks/B9Ym-jRB.js.map +1 -1
- package/lib/chunks/B9qIhgk1.js.map +1 -1
- package/lib/chunks/{DiZmRX6M.js → BAaaUhdy.js} +6 -4
- package/lib/chunks/BAaaUhdy.js.map +1 -0
- package/lib/chunks/{D6pNVhVB.js → BArALprx.js} +11 -9
- package/lib/chunks/BArALprx.js.map +1 -0
- package/lib/chunks/BC_xvNJq.js.map +1 -1
- package/lib/chunks/{B-xu7l3m.js → BFLoNIuF.js} +10 -8
- package/lib/chunks/BFLoNIuF.js.map +1 -0
- package/lib/chunks/BK5CVUgh.js.map +1 -1
- package/lib/chunks/BQUiHybJ.js.map +1 -1
- package/lib/chunks/BWIgghsj.js.map +1 -1
- package/lib/chunks/{BF1rPMcu.js → BWT4Mdsw.js} +10 -8
- package/lib/chunks/BWT4Mdsw.js.map +1 -0
- package/lib/chunks/{DTUe-lyS.js → BX4HI-q4.js} +12 -10
- package/lib/chunks/BX4HI-q4.js.map +1 -0
- package/lib/chunks/BZdz0l_5.js.map +1 -1
- package/lib/chunks/{BpR2lUkV.js → B_2BdFBO.js} +9 -7
- package/lib/chunks/B_2BdFBO.js.map +1 -0
- package/lib/chunks/Bfj8ZUAm.js.map +1 -1
- package/lib/chunks/{bLebs42H.js → BhfZhJQ4.js} +5 -3
- package/lib/chunks/BhfZhJQ4.js.map +1 -0
- package/lib/chunks/BoUkRqVY.js.map +1 -1
- package/lib/chunks/{NkF4pTV7.js → C-KNXud_.js} +9 -7
- package/lib/chunks/C-KNXud_.js.map +1 -0
- package/lib/chunks/C2x-tjJx.js.map +1 -1
- package/lib/chunks/{D94FCXrL.js → C3q04kPS.js} +9 -7
- package/lib/chunks/C3q04kPS.js.map +1 -0
- package/lib/chunks/C9YGIUax.js.map +1 -1
- package/lib/chunks/CC_mnQeM.js.map +1 -1
- package/lib/chunks/CKihfOVz.js.map +1 -1
- package/lib/chunks/{BMTMMdaC.js → CLRX9ie2.js} +11 -9
- package/lib/chunks/CLRX9ie2.js.map +1 -0
- package/lib/chunks/COI8HIJL.js.map +1 -1
- package/lib/chunks/COs57ih1.js.map +1 -1
- package/lib/chunks/CQUmcVHy.js.map +1 -1
- package/lib/chunks/CeJ19ncI.js.map +1 -1
- package/lib/chunks/CnUfgMxC.js.map +1 -1
- package/lib/chunks/{Cex7HFh5.js → CnvevsBu.js} +9 -7
- package/lib/chunks/CnvevsBu.js.map +1 -0
- package/lib/chunks/{Byhp0Mwy.js → CoXntcPO.js} +7 -5
- package/lib/chunks/CoXntcPO.js.map +1 -0
- package/lib/chunks/{xIdoI0po.js → Cs5IYq5I.js} +9 -7
- package/lib/chunks/Cs5IYq5I.js.map +1 -0
- package/lib/chunks/D2GsXOvn.js.map +1 -1
- package/lib/chunks/D4Cy-qFk.js.map +1 -1
- package/lib/chunks/{Ccul2l2v.js → D7f0nsko.js} +6 -4
- package/lib/chunks/D7f0nsko.js.map +1 -0
- package/lib/chunks/DCg2fWiq.js.map +1 -1
- package/lib/chunks/{CBRW321y.js → DE5aChZi.js} +14 -12
- package/lib/chunks/DE5aChZi.js.map +1 -0
- package/lib/chunks/DRVjD9iN.js.map +1 -1
- package/lib/chunks/{DayQ7Rlb.js → DSedBrt_.js} +13 -11
- package/lib/chunks/DSedBrt_.js.map +1 -0
- package/lib/chunks/D_rLSr8Y.js.map +1 -1
- package/lib/chunks/{BwuvAbW5.js → DbEgVOs1.js} +7 -5
- package/lib/chunks/DbEgVOs1.js.map +1 -0
- package/lib/chunks/{DTH08WC2.js → DhhewFEv.js} +9 -7
- package/lib/chunks/DhhewFEv.js.map +1 -0
- package/lib/chunks/Dm-Ds5Fs.js.map +1 -1
- package/lib/chunks/Dm8ipdVr.js.map +1 -1
- package/lib/chunks/DskRZNvv.js.map +1 -1
- package/lib/chunks/PT41l8zv.js.map +1 -1
- package/lib/chunks/{D61dAL1b.js → TMpK4xg3.js} +12 -10
- package/lib/chunks/TMpK4xg3.js.map +1 -0
- package/lib/chunks/UkUlfQx6.js.map +1 -1
- package/lib/chunks/cmj1-s1q.js.map +1 -1
- package/lib/chunks/gboR1LQ7.js.map +1 -1
- package/lib/chunks/jla7jldm.js.map +1 -1
- package/lib/chunks/{B711lzqw.js → n-bko5m2.js} +11 -9
- package/lib/chunks/n-bko5m2.js.map +1 -0
- package/lib/chunks/n4K19P1t.js.map +1 -1
- package/lib/chunks/{BkSzOi0v.js → oOR_enaE.js} +9 -7
- package/lib/chunks/oOR_enaE.js.map +1 -0
- package/lib/chunks/pP8iMzIE.js.map +1 -1
- package/lib/chunks/s-g3r5g2.js.map +1 -1
- package/lib/components/BryntumAIFilterField.js +1 -1
- package/lib/components/BryntumBooleanCombo.js +1 -1
- package/lib/components/BryntumCheckbox.js +1 -1
- package/lib/components/BryntumChecklistFilterCombo.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/components/BryntumTreeCombo.js +1 -1
- package/lib/index.js +22 -22
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +17 -1
- package/src/components/BryntumAIFilterFieldProps.ts +15 -0
- 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/BryntumChecklistFilterCombo.vue +17 -1
- package/src/components/BryntumChecklistFilterComboProps.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/BryntumGrid.vue +31 -25
- package/src/components/BryntumGridBase.vue +31 -25
- package/src/components/BryntumGridBaseProps.ts +6 -0
- package/src/components/BryntumGridChartDesigner.vue +7 -1
- package/src/components/BryntumGridChartDesignerProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPicker.vue +7 -1
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +8 -2
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +6 -0
- package/src/components/BryntumGridFieldFilterPickerProps.ts +6 -0
- package/src/components/BryntumGridProps.ts +6 -0
- package/src/components/BryntumGroupBar.vue +11 -3
- package/src/components/BryntumGroupBarProps.ts +9 -1
- 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/BryntumTreeCombo.vue +17 -1
- package/src/components/BryntumTreeComboProps.ts +15 -0
- package/src/components/BryntumTreeGrid.vue +31 -25
- package/src/components/BryntumTreeGridProps.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/B-xu7l3m.js.map +0 -1
- package/lib/chunks/B711lzqw.js.map +0 -1
- package/lib/chunks/BF1rPMcu.js.map +0 -1
- package/lib/chunks/BMTMMdaC.js.map +0 -1
- package/lib/chunks/BkSzOi0v.js.map +0 -1
- package/lib/chunks/BpR2lUkV.js.map +0 -1
- package/lib/chunks/BwuvAbW5.js.map +0 -1
- package/lib/chunks/Byhp0Mwy.js.map +0 -1
- package/lib/chunks/CBRW321y.js.map +0 -1
- package/lib/chunks/CDlTquLg.js.map +0 -1
- package/lib/chunks/Ccul2l2v.js.map +0 -1
- package/lib/chunks/Cex7HFh5.js.map +0 -1
- package/lib/chunks/D61dAL1b.js.map +0 -1
- package/lib/chunks/D6pNVhVB.js.map +0 -1
- package/lib/chunks/D94FCXrL.js.map +0 -1
- package/lib/chunks/DTH08WC2.js.map +0 -1
- package/lib/chunks/DTUe-lyS.js.map +0 -1
- package/lib/chunks/DayQ7Rlb.js.map +0 -1
- package/lib/chunks/DiZmRX6M.js.map +0 -1
- package/lib/chunks/NkF4pTV7.js.map +0 -1
- package/lib/chunks/bLebs42H.js.map +0 -1
- package/lib/chunks/xIdoI0po.js.map +0 -1
package/lib/index.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { _ as e } from "./chunks/CjbIP_NG.js";
|
|
2
2
|
import { _ as a } from "./chunks/CxPDvQ4d.js";
|
|
3
3
|
import { _ as u } from "./chunks/CDuji6RM.js";
|
|
4
|
-
import { _ as s } from "./chunks/
|
|
4
|
+
import { _ as s } from "./chunks/BX4HI-q4.js";
|
|
5
5
|
import "@bryntum/grid";
|
|
6
|
-
import { _ as i } from "./chunks/
|
|
6
|
+
import { _ as i } from "./chunks/C3q04kPS.js";
|
|
7
7
|
import { _ as y } from "./chunks/B9Ym-jRB.js";
|
|
8
8
|
import { _ } from "./chunks/BQUiHybJ.js";
|
|
9
9
|
import { _ as d } from "./chunks/PT41l8zv.js";
|
|
10
|
-
import { _ as P } from "./chunks/
|
|
10
|
+
import { _ as P } from "./chunks/DhhewFEv.js";
|
|
11
11
|
import { _ as c } from "./chunks/COI8HIJL.js";
|
|
12
|
-
import { _ as T } from "./chunks/
|
|
12
|
+
import { _ as T } from "./chunks/DbEgVOs1.js";
|
|
13
13
|
import { _ as G } from "./chunks/BoUkRqVY.js";
|
|
14
14
|
import { _ as g } from "./chunks/DRVjD9iN.js";
|
|
15
|
-
import { _ as S } from "./chunks/
|
|
16
|
-
import { _ as E } from "./chunks/
|
|
15
|
+
import { _ as S } from "./chunks/CLRX9ie2.js";
|
|
16
|
+
import { _ as E } from "./chunks/oOR_enaE.js";
|
|
17
17
|
import { _ as w } from "./chunks/C2x-tjJx.js";
|
|
18
|
-
import { _ as L } from "./chunks/
|
|
18
|
+
import { _ as L } from "./chunks/D7f0nsko.js";
|
|
19
19
|
import { _ as I } from "./chunks/CKihfOVz.js";
|
|
20
|
-
import { _ as V } from "./chunks/
|
|
21
|
-
import { _ as Y } from "./chunks/
|
|
20
|
+
import { _ as V } from "./chunks/BAaaUhdy.js";
|
|
21
|
+
import { _ as Y } from "./chunks/BFLoNIuF.js";
|
|
22
22
|
import { _ as q } from "./chunks/CnUfgMxC.js";
|
|
23
|
-
import { _ as z } from "./chunks/
|
|
24
|
-
import { _ as K } from "./chunks/
|
|
23
|
+
import { _ as z } from "./chunks/DE5aChZi.js";
|
|
24
|
+
import { _ as K } from "./chunks/CoXntcPO.js";
|
|
25
25
|
import { _ as Q } from "./chunks/DskRZNvv.js";
|
|
26
26
|
import { _ as X } from "./chunks/2JP2ap14.js";
|
|
27
27
|
import { _ as $ } from "./chunks/D_rLSr8Y.js";
|
|
28
28
|
import { _ as or } from "./chunks/0gtq8Dk3.js";
|
|
29
|
-
import { _ as er } from "./chunks/
|
|
29
|
+
import { _ as er } from "./chunks/0G3BOxn8.js";
|
|
30
30
|
import { _ as ar } from "./chunks/s-g3r5g2.js";
|
|
31
|
-
import { _ as ur } from "./chunks/
|
|
31
|
+
import { _ as ur } from "./chunks/BWT4Mdsw.js";
|
|
32
32
|
import { _ as sr } from "./chunks/Bfj8ZUAm.js";
|
|
33
33
|
import { _ as ir } from "./chunks/Dm-Ds5Fs.js";
|
|
34
34
|
import { _ as yr } from "./chunks/n4K19P1t.js";
|
|
@@ -40,24 +40,24 @@ import { _ as Tr } from "./chunks/gboR1LQ7.js";
|
|
|
40
40
|
import { _ as Gr } from "./chunks/1RZB5Yja.js";
|
|
41
41
|
import { _ as gr } from "./chunks/cmj1-s1q.js";
|
|
42
42
|
import { _ as Sr } from "./chunks/jla7jldm.js";
|
|
43
|
-
import { _ as Er } from "./chunks/
|
|
43
|
+
import { _ as Er } from "./chunks/BArALprx.js";
|
|
44
44
|
import { _ as wr } from "./chunks/DCg2fWiq.js";
|
|
45
45
|
import { _ as Lr } from "./chunks/BZdz0l_5.js";
|
|
46
|
-
import { _ as Ir } from "./chunks/
|
|
46
|
+
import { _ as Ir } from "./chunks/CnvevsBu.js";
|
|
47
47
|
import { _ as Vr } from "./chunks/CeJ19ncI.js";
|
|
48
|
-
import { _ as Yr } from "./chunks/
|
|
48
|
+
import { _ as Yr } from "./chunks/B_2BdFBO.js";
|
|
49
49
|
import { _ as qr } from "./chunks/D4Cy-qFk.js";
|
|
50
50
|
import { _ as zr } from "./chunks/pP8iMzIE.js";
|
|
51
|
-
import { _ as Kr } from "./chunks/
|
|
51
|
+
import { _ as Kr } from "./chunks/DSedBrt_.js";
|
|
52
52
|
import { _ as Qr } from "./chunks/BK5CVUgh.js";
|
|
53
53
|
import { _ as Xr } from "./chunks/BC_xvNJq.js";
|
|
54
|
-
import { _ as $r } from "./chunks/
|
|
55
|
-
import { _ as oo } from "./chunks/
|
|
56
|
-
import { _ as eo } from "./chunks/
|
|
57
|
-
import { _ as ao } from "./chunks/
|
|
54
|
+
import { _ as $r } from "./chunks/C-KNXud_.js";
|
|
55
|
+
import { _ as oo } from "./chunks/TMpK4xg3.js";
|
|
56
|
+
import { _ as eo } from "./chunks/Cs5IYq5I.js";
|
|
57
|
+
import { _ as ao } from "./chunks/BhfZhJQ4.js";
|
|
58
58
|
import { _ as uo } from "./chunks/C9YGIUax.js";
|
|
59
59
|
import { _ as so } from "./chunks/UkUlfQx6.js";
|
|
60
|
-
import { _ as io } from "./chunks/
|
|
60
|
+
import { _ as io } from "./chunks/n-bko5m2.js";
|
|
61
61
|
import { _ as yo } from "./chunks/CQUmcVHy.js";
|
|
62
62
|
import { _ as _o } from "./chunks/B9qIhgk1.js";
|
|
63
63
|
import { _ as Fo } from "./chunks/COs57ih1.js";
|
package/package.json
CHANGED
|
@@ -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/grid/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/Grid/widget/AIFilterField#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/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/AIFilterField#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/grid/docs/api/Core/widget/Field#config-readOnly). The trigger is available
|
|
96
107
|
* 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
|
|
@@ -299,10 +310,14 @@ defineProps<{
|
|
|
299
310
|
inputWidth ? : string|number
|
|
300
311
|
/**
|
|
301
312
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
313
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
314
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertBefore)
|
|
302
315
|
*/
|
|
303
316
|
insertBefore ? : HTMLElement|string
|
|
304
317
|
/**
|
|
305
318
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
319
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
320
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertFirst)
|
|
306
321
|
*/
|
|
307
322
|
insertFirst ? : HTMLElement|string
|
|
308
323
|
/**
|
|
@@ -642,7 +657,7 @@ const emit = defineEmits<{
|
|
|
642
657
|
* @param {object} params.event Event object
|
|
643
658
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
644
659
|
*/
|
|
645
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
660
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
646
661
|
/**
|
|
647
662
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
648
663
|
* @param {string} e Event name
|
|
@@ -815,6 +830,7 @@ const widgetData = {
|
|
|
815
830
|
'autoSelect',
|
|
816
831
|
'bubbleEvents',
|
|
817
832
|
'centered',
|
|
833
|
+
'checkValidity',
|
|
818
834
|
'clearable',
|
|
819
835
|
'client',
|
|
820
836
|
'color',
|
|
@@ -28,6 +28,8 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -77,6 +79,15 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
77
79
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
78
80
|
*/
|
|
79
81
|
centered ? : Boolean
|
|
82
|
+
/**
|
|
83
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
84
|
+
* 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)
|
|
85
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
86
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-checkValidity)
|
|
87
|
+
* @param {Core.widget.Field} field The field being validated
|
|
88
|
+
* @returns {void}
|
|
89
|
+
*/
|
|
90
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
80
91
|
/**
|
|
81
92
|
* 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
|
|
82
93
|
* 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
|
|
@@ -285,10 +296,14 @@ export declare type BryntumAIFilterFieldProps = {
|
|
|
285
296
|
inputWidth ? : string|number
|
|
286
297
|
/**
|
|
287
298
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/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/Grid/widget/AIFilterField#config-insertBefore)
|
|
288
301
|
*/
|
|
289
302
|
insertBefore ? : HTMLElement|string
|
|
290
303
|
/**
|
|
291
304
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
305
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
306
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Grid/widget/AIFilterField#config-insertFirst)
|
|
292
307
|
*/
|
|
293
308
|
insertFirst ? : HTMLElement|string
|
|
294
309
|
/**
|
|
@@ -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/grid/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/BooleanCombo#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -104,6 +106,15 @@ defineProps<{
|
|
|
104
106
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
105
107
|
*/
|
|
106
108
|
centered ? : Boolean
|
|
109
|
+
/**
|
|
110
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
111
|
+
* 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)
|
|
112
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
113
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/BooleanCombo#config-checkValidity)
|
|
114
|
+
* @param {Core.widget.Field} field The field being validated
|
|
115
|
+
* @returns {void}
|
|
116
|
+
*/
|
|
117
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
107
118
|
/**
|
|
108
119
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
109
120
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -397,10 +408,14 @@ defineProps<{
|
|
|
397
408
|
inputWidth ? : string|number
|
|
398
409
|
/**
|
|
399
410
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
411
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
412
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/BooleanCombo#config-insertBefore)
|
|
400
413
|
*/
|
|
401
414
|
insertBefore ? : HTMLElement|string
|
|
402
415
|
/**
|
|
403
416
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
417
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
418
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/BooleanCombo#config-insertFirst)
|
|
404
419
|
*/
|
|
405
420
|
insertFirst ? : HTMLElement|string
|
|
406
421
|
/**
|
|
@@ -830,7 +845,7 @@ const emit = defineEmits<{
|
|
|
830
845
|
* @param {object} params.event Event object
|
|
831
846
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
832
847
|
*/
|
|
833
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
848
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
834
849
|
/**
|
|
835
850
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
836
851
|
* @param {string} e Event name
|
|
@@ -1018,6 +1033,7 @@ const widgetData = {
|
|
|
1018
1033
|
'cacheLastResult',
|
|
1019
1034
|
'caseSensitive',
|
|
1020
1035
|
'centered',
|
|
1036
|
+
'checkValidity',
|
|
1021
1037
|
'chipView',
|
|
1022
1038
|
'clearable',
|
|
1023
1039
|
'clearTextOnPickerHide',
|
|
@@ -28,6 +28,8 @@ export declare type BryntumBooleanComboProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/BooleanCombo#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -90,6 +92,15 @@ export declare type BryntumBooleanComboProps = {
|
|
|
90
92
|
* Set to `true` to centre the Widget in browser viewport space.
|
|
91
93
|
*/
|
|
92
94
|
centered ? : Boolean
|
|
95
|
+
/**
|
|
96
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
97
|
+
* 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)
|
|
98
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
99
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/BooleanCombo#config-checkValidity)
|
|
100
|
+
* @param {Core.widget.Field} field The field being validated
|
|
101
|
+
* @returns {void}
|
|
102
|
+
*/
|
|
103
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
93
104
|
/**
|
|
94
105
|
* A config object to configure the [ChipView](https://bryntum.com/products/grid/docs/api/Core/widget/ChipView) to display the
|
|
95
106
|
* selected value set when [multiSelect](https://bryntum.com/products/grid/docs/api/Core/widget/Combo#config-multiSelect) is `true`.
|
|
@@ -383,10 +394,14 @@ export declare type BryntumBooleanComboProps = {
|
|
|
383
394
|
inputWidth ? : string|number
|
|
384
395
|
/**
|
|
385
396
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
397
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
398
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/BooleanCombo#config-insertBefore)
|
|
386
399
|
*/
|
|
387
400
|
insertBefore ? : HTMLElement|string
|
|
388
401
|
/**
|
|
389
402
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
403
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
404
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/BooleanCombo#config-insertFirst)
|
|
390
405
|
*/
|
|
391
406
|
insertFirst ? : HTMLElement|string
|
|
392
407
|
/**
|
|
@@ -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/grid/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/Button#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -235,10 +237,14 @@ defineProps<{
|
|
|
235
237
|
ignoreParentReadOnly ? : Boolean
|
|
236
238
|
/**
|
|
237
239
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
240
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
241
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#config-insertBefore)
|
|
238
242
|
*/
|
|
239
243
|
insertBefore ? : HTMLElement|string
|
|
240
244
|
/**
|
|
241
245
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
246
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
247
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#config-insertFirst)
|
|
242
248
|
*/
|
|
243
249
|
insertFirst ? : HTMLElement|string
|
|
244
250
|
/**
|
|
@@ -544,7 +550,7 @@ const emit = defineEmits<{
|
|
|
544
550
|
* @param {object} params.event Event object
|
|
545
551
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
546
552
|
*/
|
|
547
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
553
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
548
554
|
/**
|
|
549
555
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
550
556
|
* @param {string} e Event name
|
|
@@ -563,7 +569,7 @@ const emit = defineEmits<{
|
|
|
563
569
|
* @param {boolean} params.event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
|
|
564
570
|
* @param {Event} params.event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
|
|
565
571
|
*/
|
|
566
|
-
(e: 'beforeShowMenu', params: ((event: { source: Button, menu: Menu, userAction: boolean, domEvent: Event }) =>
|
|
572
|
+
(e: 'beforeShowMenu', params: ((event: { source: Button, menu: Menu, userAction: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
567
573
|
/**
|
|
568
574
|
* Fires before the button is toggled (the [pressed](https://bryntum.com/products/grid/docs/api/Core/widget/Button#property-pressed) state is changed). If the button is part of
|
|
569
575
|
* a [toggleGroup](https://bryntum.com/products/grid/docs/api/Core/widget/Button#config-toggleGroup) and you need to process the pressed button only, consider using
|
|
@@ -577,7 +583,7 @@ const emit = defineEmits<{
|
|
|
577
583
|
* @param {boolean} params.event.userAction `true` if the toggle was triggered by a user action (click), `false` if it was triggered programmatically.
|
|
578
584
|
* @param {Event} params.event.domEvent The original DOM event that triggered the action, if any. Using the `pointerType` property of this event can help determine if it was a mouse, touch or pen action.
|
|
579
585
|
*/
|
|
580
|
-
(e: 'beforeToggle', params: ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) =>
|
|
586
|
+
(e: 'beforeToggle', params: ((event: { source: Button, pressed: boolean, userAction: boolean, domEvent: Event }) => boolean|void)|string): boolean|void
|
|
581
587
|
/**
|
|
582
588
|
* Fires when any other event is fired from the object.
|
|
583
589
|
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#event-catchAll)
|
|
@@ -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/grid/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/ButtonGroup#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -243,10 +245,14 @@ defineProps<{
|
|
|
243
245
|
inputFieldAlign ? : 'start'|'end'
|
|
244
246
|
/**
|
|
245
247
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
248
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
249
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-insertBefore)
|
|
246
250
|
*/
|
|
247
251
|
insertBefore ? : HTMLElement|string
|
|
248
252
|
/**
|
|
249
253
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
254
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
255
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-insertFirst)
|
|
250
256
|
*/
|
|
251
257
|
insertFirst ? : HTMLElement|string
|
|
252
258
|
/**
|
|
@@ -569,7 +575,7 @@ const emit = defineEmits<{
|
|
|
569
575
|
* @param {object} params.event Event object
|
|
570
576
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
571
577
|
*/
|
|
572
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
578
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
573
579
|
/**
|
|
574
580
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
575
581
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -28,6 +28,8 @@ export declare type BryntumButtonGroupProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -229,10 +231,14 @@ export declare type BryntumButtonGroupProps = {
|
|
|
229
231
|
inputFieldAlign ? : 'start'|'end'
|
|
230
232
|
/**
|
|
231
233
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
234
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
235
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-insertBefore)
|
|
232
236
|
*/
|
|
233
237
|
insertBefore ? : HTMLElement|string
|
|
234
238
|
/**
|
|
235
239
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
240
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
241
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/ButtonGroup#config-insertFirst)
|
|
236
242
|
*/
|
|
237
243
|
insertFirst ? : HTMLElement|string
|
|
238
244
|
/**
|
|
@@ -28,6 +28,8 @@ export declare type BryntumButtonProps = {
|
|
|
28
28
|
/**
|
|
29
29
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
30
30
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
31
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
32
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#config-appendTo)
|
|
31
33
|
*/
|
|
32
34
|
appendTo ? : HTMLElement|string
|
|
33
35
|
/**
|
|
@@ -221,10 +223,14 @@ export declare type BryntumButtonProps = {
|
|
|
221
223
|
ignoreParentReadOnly ? : Boolean
|
|
222
224
|
/**
|
|
223
225
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
226
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
227
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#config-insertBefore)
|
|
224
228
|
*/
|
|
225
229
|
insertBefore ? : HTMLElement|string
|
|
226
230
|
/**
|
|
227
231
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
232
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
233
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Button#config-insertFirst)
|
|
228
234
|
*/
|
|
229
235
|
insertFirst ? : HTMLElement|string
|
|
230
236
|
/**
|
|
@@ -46,6 +46,8 @@ defineProps<{
|
|
|
46
46
|
/**
|
|
47
47
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
48
48
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
49
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
50
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-appendTo)
|
|
49
51
|
*/
|
|
50
52
|
appendTo ? : HTMLElement|string
|
|
51
53
|
/**
|
|
@@ -318,10 +320,14 @@ defineProps<{
|
|
|
318
320
|
inputFieldAlign ? : 'start'|'end'
|
|
319
321
|
/**
|
|
320
322
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/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/chat/ChatPanel#config-insertBefore)
|
|
321
325
|
*/
|
|
322
326
|
insertBefore ? : HTMLElement|string
|
|
323
327
|
/**
|
|
324
328
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
329
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
330
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-insertFirst)
|
|
325
331
|
*/
|
|
326
332
|
insertFirst ? : HTMLElement|string
|
|
327
333
|
/**
|
|
@@ -696,7 +702,7 @@ const emit = defineEmits<{
|
|
|
696
702
|
* @param {object} params.event Event object
|
|
697
703
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
698
704
|
*/
|
|
699
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
705
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
700
706
|
/**
|
|
701
707
|
* Fired before this container will load record values into its child fields. This is useful if you
|
|
702
708
|
* want to modify the UI before data is loaded (e.g. set some input field to be readonly)
|
|
@@ -722,7 +728,7 @@ const emit = defineEmits<{
|
|
|
722
728
|
* @param {object} params.event Event object
|
|
723
729
|
* @param {any} params.event.state State object config
|
|
724
730
|
*/
|
|
725
|
-
(e: 'beforeStateApply', params: ((event: { state: any }) =>
|
|
731
|
+
(e: 'beforeStateApply', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
726
732
|
/**
|
|
727
733
|
* Fired before state is saved by the StateProvider. Allows editing the state object or preventing the operation.
|
|
728
734
|
* @param {string} e Event name
|
|
@@ -730,7 +736,7 @@ const emit = defineEmits<{
|
|
|
730
736
|
* @param {object} params.event Event object
|
|
731
737
|
* @param {any} params.event.state State object config
|
|
732
738
|
*/
|
|
733
|
-
(e: 'beforeStateSave', params: ((event: { state: any }) =>
|
|
739
|
+
(e: 'beforeStateSave', params: ((event: { state: any }) => boolean|void)|string): boolean|void
|
|
734
740
|
/**
|
|
735
741
|
* Fired when the chat bubble tool icon is clicked.
|
|
736
742
|
* @param {string} e Event name
|
|
@@ -32,6 +32,8 @@ export declare type BryntumChatPanelProps = {
|
|
|
32
32
|
/**
|
|
33
33
|
* Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
|
|
34
34
|
* runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#property-element).
|
|
35
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
36
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-appendTo)
|
|
35
37
|
*/
|
|
36
38
|
appendTo ? : HTMLElement|string
|
|
37
39
|
/**
|
|
@@ -304,10 +306,14 @@ export declare type BryntumChatPanelProps = {
|
|
|
304
306
|
inputFieldAlign ? : 'start'|'end'
|
|
305
307
|
/**
|
|
306
308
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/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/chat/ChatPanel#config-insertBefore)
|
|
307
311
|
*/
|
|
308
312
|
insertBefore ? : HTMLElement|string
|
|
309
313
|
/**
|
|
310
314
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
315
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
316
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/chat/ChatPanel#config-insertFirst)
|
|
311
317
|
*/
|
|
312
318
|
insertFirst ? : HTMLElement|string
|
|
313
319
|
/**
|
|
@@ -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/grid/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/Checkbox#config-appendTo)
|
|
45
47
|
*/
|
|
46
48
|
appendTo ? : HTMLElement|string
|
|
47
49
|
/**
|
|
@@ -108,6 +110,15 @@ defineProps<{
|
|
|
108
110
|
* A value of `undefined` will cause this widget not to include its value when checked.
|
|
109
111
|
*/
|
|
110
112
|
checkedValue ? : any
|
|
113
|
+
/**
|
|
114
|
+
* A function (or the name of a function in the ownership hierarchy) called during field validation
|
|
115
|
+
* 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)
|
|
116
|
+
* evaluation, after the built-in [required](https://bryntum.com/products/grid/docs/api/Core/widget/Field#config-required) check.
|
|
117
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox#config-checkValidity)
|
|
118
|
+
* @param {Core.widget.Field} field The field being validated
|
|
119
|
+
* @returns {void}
|
|
120
|
+
*/
|
|
121
|
+
checkValidity ? : ((field: Field) => void)|string
|
|
111
122
|
/**
|
|
112
123
|
* Custom CSS classes to add to element.
|
|
113
124
|
* May be specified as a space separated string, or as an object in which property names
|
|
@@ -296,10 +307,14 @@ defineProps<{
|
|
|
296
307
|
inputWidth ? : string|number
|
|
297
308
|
/**
|
|
298
309
|
* Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
310
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
311
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox#config-insertBefore)
|
|
299
312
|
*/
|
|
300
313
|
insertBefore ? : HTMLElement|string
|
|
301
314
|
/**
|
|
302
315
|
* Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/grid/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
|
|
316
|
+
* <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
|
|
317
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/Checkbox#config-insertFirst)
|
|
303
318
|
*/
|
|
304
319
|
insertFirst ? : HTMLElement|string
|
|
305
320
|
/**
|
|
@@ -624,7 +639,7 @@ const emit = defineEmits<{
|
|
|
624
639
|
* @param {boolean} params.event.valid True if this field is in a valid state.
|
|
625
640
|
* @param {Event} params.event.event The triggering DOM event if any
|
|
626
641
|
*/
|
|
627
|
-
(e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) =>
|
|
642
|
+
(e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => boolean|void)|string): boolean|void
|
|
628
643
|
/**
|
|
629
644
|
* Fires before an object is destroyed.
|
|
630
645
|
* @param {string} e Event name
|
|
@@ -640,7 +655,7 @@ const emit = defineEmits<{
|
|
|
640
655
|
* @param {object} params.event Event object
|
|
641
656
|
* @param {Core.widget.Widget} params.event.source The widget being hidden.
|
|
642
657
|
*/
|
|
643
|
-
(e: 'beforeHide', params: ((event: { source: Widget }) =>
|
|
658
|
+
(e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void
|
|
644
659
|
/**
|
|
645
660
|
* Triggered before a widget is shown. Return `false` to prevent the action.
|
|
646
661
|
* @param {string} e Event name
|
|
@@ -824,6 +839,7 @@ const widgetData = {
|
|
|
824
839
|
'bubbleEvents',
|
|
825
840
|
'centered',
|
|
826
841
|
'checkedValue',
|
|
842
|
+
'checkValidity',
|
|
827
843
|
'color',
|
|
828
844
|
'config',
|
|
829
845
|
'constrainTo',
|