@bryntum/core-vue-3-thin 7.2.4 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/chunks/{L_TviNd7.js → -8Xai_9S.js} +13 -14
- package/lib/chunks/-8Xai_9S.js.map +1 -0
- package/lib/chunks/{CJYxn6rO.js → 47-V2ACd.js} +10 -11
- package/lib/chunks/47-V2ACd.js.map +1 -0
- package/lib/chunks/{D6wsvK-2.js → ASihDjXw.js} +12 -12
- package/lib/chunks/ASihDjXw.js.map +1 -0
- package/lib/chunks/{nxpqcBTT.js → B7KhcgPC.js} +11 -12
- package/lib/chunks/B7KhcgPC.js.map +1 -0
- package/lib/chunks/{DaUgA1WD.js → B8KGPeHy.js} +4 -7
- package/lib/chunks/B8KGPeHy.js.map +1 -0
- package/lib/chunks/{BhOX3HuH.js → BB8tOII_.js} +14 -15
- package/lib/chunks/BB8tOII_.js.map +1 -0
- package/lib/chunks/{VexdWdKh.js → BFNWOtf2.js} +9 -9
- package/lib/chunks/BFNWOtf2.js.map +1 -0
- package/lib/chunks/{CGCBZDRp.js → BG7E4-sX.js} +9 -10
- package/lib/chunks/BG7E4-sX.js.map +1 -0
- package/lib/chunks/{DgQUICHK.js → BKLWvKPc.js} +9 -9
- package/lib/chunks/BKLWvKPc.js.map +1 -0
- package/lib/chunks/{DiksOQ3r.js → BPANMXC6.js} +9 -9
- package/lib/chunks/BPANMXC6.js.map +1 -0
- package/lib/chunks/{DYEiCSjZ.js → B_aqRSp2.js} +11 -11
- package/lib/chunks/B_aqRSp2.js.map +1 -0
- package/lib/chunks/{DDe9K0ZW.js → BeXQ7RhD.js} +5 -5
- package/lib/chunks/BeXQ7RhD.js.map +1 -0
- package/lib/chunks/{DhyOOQCC.js → BrRBMti3.js} +7 -5
- package/lib/chunks/BrRBMti3.js.map +1 -0
- package/lib/chunks/{CSOTA30w.js → Brp0NyFN.js} +8 -9
- package/lib/chunks/Brp0NyFN.js.map +1 -0
- package/lib/chunks/C0-E5hnK.js +386 -0
- package/lib/chunks/C0-E5hnK.js.map +1 -0
- package/lib/chunks/{_-sCvpPg.js → C0JI13dO.js} +5 -6
- package/lib/chunks/C0JI13dO.js.map +1 -0
- package/lib/chunks/{QNysw487.js → C14dvV95.js} +7 -7
- package/lib/chunks/C14dvV95.js.map +1 -0
- package/lib/chunks/{D8olLOfA.js → C8pe1IyH.js} +25 -17
- package/lib/chunks/C8pe1IyH.js.map +1 -0
- package/lib/chunks/{BgDfUxHB.js → C987g-kK.js} +12 -13
- package/lib/chunks/C987g-kK.js.map +1 -0
- package/lib/chunks/{CP5BftnV.js → CLqf-0PN.js} +5 -6
- package/lib/chunks/CLqf-0PN.js.map +1 -0
- package/lib/chunks/{Bsnile1U.js → CQwgnD9q.js} +14 -15
- package/lib/chunks/CQwgnD9q.js.map +1 -0
- package/lib/chunks/{CddjvqcJ.js → CUFZWGAX.js} +5 -5
- package/lib/chunks/CUFZWGAX.js.map +1 -0
- package/lib/chunks/{C_VpxfMV.js → Cd9NJP1W.js} +12 -13
- package/lib/chunks/Cd9NJP1W.js.map +1 -0
- package/lib/chunks/{BMktrDmZ.js → ChAWW3Iy.js} +3 -3
- package/lib/chunks/ChAWW3Iy.js.map +1 -0
- package/lib/chunks/{0mo5Mstw.js → Csirfhz_.js} +10 -11
- package/lib/chunks/Csirfhz_.js.map +1 -0
- package/lib/chunks/{DGI4Avop.js → Cz2JtuJX.js} +12 -12
- package/lib/chunks/Cz2JtuJX.js.map +1 -0
- package/lib/chunks/{Ds9XsR7Y.js → D6JcA9Zt.js} +8 -8
- package/lib/chunks/D6JcA9Zt.js.map +1 -0
- package/lib/chunks/{F0HM0TzY.js → D7CJcnRV.js} +9 -9
- package/lib/chunks/D7CJcnRV.js.map +1 -0
- package/lib/chunks/D7rVeTmU.js +57 -0
- package/lib/chunks/D7rVeTmU.js.map +1 -0
- package/lib/chunks/{Balebjro.js → DAfGAAbO.js} +7 -7
- package/lib/chunks/DAfGAAbO.js.map +1 -0
- package/lib/chunks/{Cj2LjlGr.js → DBCyTVoj.js} +33 -30
- package/lib/chunks/DBCyTVoj.js.map +1 -0
- package/lib/chunks/{Bu6Ih169.js → DNTQukmL.js} +10 -10
- package/lib/chunks/DNTQukmL.js.map +1 -0
- package/lib/chunks/{CGhnsfEQ.js → DQLfwhka.js} +10 -11
- package/lib/chunks/DQLfwhka.js.map +1 -0
- package/lib/chunks/{B_HOgS_l.js → DR_RL3ms.js} +12 -13
- package/lib/chunks/DR_RL3ms.js.map +1 -0
- package/lib/chunks/{CXCRCt2L.js → DRz-V3LT.js} +6 -6
- package/lib/chunks/DRz-V3LT.js.map +1 -0
- package/lib/chunks/{DZk2zBG1.js → Dg7wbkjL.js} +15 -16
- package/lib/chunks/Dg7wbkjL.js.map +1 -0
- package/lib/chunks/{C-wQgOUh.js → DhOHvb1Z.js} +10 -11
- package/lib/chunks/DhOHvb1Z.js.map +1 -0
- package/lib/chunks/{Dta-twi4.js → DuiOZGf5.js} +6 -6
- package/lib/chunks/DuiOZGf5.js.map +1 -0
- package/lib/chunks/{C-xi1Fd2.js → HOklxqtO.js} +3 -3
- package/lib/chunks/HOklxqtO.js.map +1 -0
- package/lib/chunks/{B5uy0f8M.js → Hu7IhLgO.js} +11 -11
- package/lib/chunks/Hu7IhLgO.js.map +1 -0
- package/lib/chunks/{TjvtZ8-o.js → IjqHT_Qc.js} +3 -3
- package/lib/chunks/IjqHT_Qc.js.map +1 -0
- package/lib/chunks/{CHuDT-j6.js → S9XwH6IJ.js} +3 -3
- package/lib/chunks/S9XwH6IJ.js.map +1 -0
- package/lib/chunks/{CIGKP_6m.js → ToClygqb.js} +3 -3
- package/lib/chunks/ToClygqb.js.map +1 -0
- package/lib/chunks/{D3slgXbg.js → WGJj3T9m.js} +6 -4
- package/lib/chunks/WGJj3T9m.js.map +1 -0
- package/lib/chunks/{Ce0sqPNX.js → Wh7gYeFQ.js} +4 -7
- package/lib/chunks/Wh7gYeFQ.js.map +1 -0
- package/lib/chunks/{DbgxU9fb.js → YAeyT4qi.js} +8 -9
- package/lib/chunks/YAeyT4qi.js.map +1 -0
- package/lib/chunks/{Cdr7dtCP.js → boSXkG-m.js} +5 -5
- package/lib/chunks/boSXkG-m.js.map +1 -0
- package/lib/chunks/{BHJ85xe3.js → naTVDWnB.js} +12 -12
- package/lib/chunks/naTVDWnB.js.map +1 -0
- package/lib/chunks/{BshLrVJQ.js → qkwwWpWo.js} +3 -3
- package/lib/chunks/qkwwWpWo.js.map +1 -0
- package/lib/chunks/{DOvP6TjQ.js → zIlWjejC.js} +7 -10
- package/lib/chunks/zIlWjejC.js.map +1 -0
- package/lib/chunks/{CM2bdtJD.js → ztxFXigG.js} +11 -13
- package/lib/chunks/ztxFXigG.js.map +1 -0
- package/lib/components/BryntumBooleanCombo.js +5 -0
- package/lib/components/BryntumBooleanCombo.js.map +1 -0
- package/lib/components/BryntumButton.js +1 -1
- package/lib/components/BryntumButtonGroup.js +1 -1
- package/lib/components/BryntumChatPanel.js +1 -1
- package/lib/components/BryntumCheckbox.js +1 -1
- package/lib/components/BryntumCheckboxGroup.js +1 -1
- package/lib/components/BryntumChipView.js +1 -1
- package/lib/components/BryntumCodeEditor.js +1 -1
- package/lib/components/BryntumColorField.js +1 -1
- package/lib/components/BryntumCombo.js +1 -1
- package/lib/components/BryntumContainer.js +1 -1
- package/lib/components/BryntumDateField.js +1 -1
- package/lib/components/BryntumDatePicker.js +1 -1
- package/lib/components/BryntumDateRangeField.js +1 -1
- package/lib/components/BryntumDateTimeField.js +1 -1
- package/lib/components/BryntumDemoCodeEditor.js +1 -1
- package/lib/components/BryntumDemoHeader.js +1 -1
- package/lib/components/BryntumDisplayField.js +1 -1
- package/lib/components/BryntumDurationField.js +1 -1
- package/lib/components/BryntumEditor.js +1 -1
- package/lib/components/BryntumFieldFilterPicker.js +1 -1
- package/lib/components/BryntumFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumFieldSet.js +1 -1
- package/lib/components/BryntumFileField.js +1 -1
- package/lib/components/BryntumFilePicker.js +1 -1
- package/lib/components/BryntumFilterField.js +1 -1
- package/lib/components/BryntumHint.js +1 -1
- package/lib/components/BryntumLabel.js +1 -1
- package/lib/components/BryntumList.js +1 -1
- package/lib/components/BryntumMenu.js +1 -1
- package/lib/components/BryntumMonthPicker.js +1 -1
- package/lib/components/BryntumNumberField.js +1 -1
- package/lib/components/BryntumPagingToolbar.js +1 -1
- package/lib/components/BryntumPanel.js +1 -1
- package/lib/components/BryntumPasswordField.js +1 -1
- package/lib/components/BryntumProgressBar.js +1 -1
- package/lib/components/BryntumRadio.js +1 -1
- package/lib/components/BryntumRadioGroup.js +1 -1
- package/lib/components/BryntumSlideToggle.js +1 -1
- package/lib/components/BryntumSlider.js +1 -1
- package/lib/components/BryntumSplitter.js +1 -1
- package/lib/components/BryntumTabPanel.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/BryntumThemeCombo.js +5 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeField.js +1 -1
- package/lib/components/BryntumTimePicker.js +1 -1
- package/lib/components/BryntumToolbar.js +1 -1
- package/lib/components/BryntumWidget.js +1 -1
- package/lib/components/BryntumYearPicker.js +1 -1
- package/lib/index.js +101 -97
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BryntumBooleanCombo.vue +1248 -0
- package/src/components/BryntumBooleanComboProps.ts +788 -0
- package/src/components/BryntumButton.vue +68 -114
- package/src/components/BryntumButtonGroup.vue +77 -122
- package/src/components/BryntumButtonGroupProps.ts +73 -113
- package/src/components/BryntumButtonProps.ts +65 -108
- package/src/components/BryntumChatPanel.vue +141 -168
- package/src/components/BryntumChatPanelProps.ts +121 -157
- package/src/components/BryntumCheckbox.vue +72 -116
- package/src/components/BryntumCheckboxGroup.vue +108 -178
- package/src/components/BryntumCheckboxGroupProps.ts +104 -168
- package/src/components/BryntumCheckboxProps.ts +68 -108
- package/src/components/BryntumChipView.vue +64 -104
- package/src/components/BryntumChipViewProps.ts +61 -98
- package/src/components/BryntumCodeEditor.vue +105 -166
- package/src/components/BryntumCodeEditorProps.ts +101 -157
- package/src/components/BryntumColorField.vue +72 -116
- package/src/components/BryntumColorFieldProps.ts +68 -108
- package/src/components/BryntumCombo.vue +91 -151
- package/src/components/BryntumComboProps.ts +87 -143
- package/src/components/BryntumContainer.vue +77 -123
- package/src/components/BryntumContainerProps.ts +73 -114
- package/src/components/BryntumDateField.vue +79 -122
- package/src/components/BryntumDateFieldProps.ts +75 -114
- package/src/components/BryntumDatePicker.vue +118 -192
- package/src/components/BryntumDatePickerProps.ts +114 -183
- package/src/components/BryntumDateRangeField.vue +78 -125
- package/src/components/BryntumDateRangeFieldProps.ts +74 -117
- package/src/components/BryntumDateTimeField.vue +72 -116
- package/src/components/BryntumDateTimeFieldProps.ts +68 -108
- package/src/components/BryntumDemoCodeEditor.vue +105 -166
- package/src/components/BryntumDemoCodeEditorProps.ts +101 -157
- package/src/components/BryntumDemoHeader.vue +7 -2
- package/src/components/BryntumDisplayField.vue +73 -118
- package/src/components/BryntumDisplayFieldProps.ts +69 -110
- package/src/components/BryntumDurationField.vue +79 -124
- package/src/components/BryntumDurationFieldProps.ts +73 -114
- package/src/components/BryntumEditor.vue +89 -139
- package/src/components/BryntumEditorProps.ts +80 -125
- package/src/components/BryntumFieldFilterPicker.vue +79 -127
- package/src/components/BryntumFieldFilterPickerGroup.vue +81 -131
- package/src/components/BryntumFieldFilterPickerGroupProps.ts +77 -122
- package/src/components/BryntumFieldFilterPickerProps.ts +75 -118
- package/src/components/BryntumFieldSet.vue +104 -171
- package/src/components/BryntumFieldSetProps.ts +100 -161
- package/src/components/BryntumFileField.vue +72 -116
- package/src/components/BryntumFileFieldProps.ts +68 -108
- package/src/components/BryntumFilePicker.vue +77 -123
- package/src/components/BryntumFilePickerProps.ts +73 -114
- package/src/components/BryntumFilterField.vue +75 -122
- package/src/components/BryntumFilterFieldProps.ts +71 -114
- package/src/components/BryntumHint.vue +132 -189
- package/src/components/BryntumHintProps.ts +128 -180
- package/src/components/BryntumLabel.vue +58 -94
- package/src/components/BryntumLabelProps.ts +55 -88
- package/src/components/BryntumList.vue +61 -100
- package/src/components/BryntumListProps.ts +58 -94
- package/src/components/BryntumMenu.vue +127 -187
- package/src/components/BryntumMenuProps.ts +121 -173
- package/src/components/BryntumMonthPicker.vue +105 -166
- package/src/components/BryntumMonthPickerProps.ts +101 -157
- package/src/components/BryntumNumberField.vue +76 -120
- package/src/components/BryntumNumberFieldProps.ts +72 -112
- package/src/components/BryntumPagingToolbar.vue +81 -128
- package/src/components/BryntumPagingToolbarProps.ts +77 -119
- package/src/components/BryntumPanel.vue +105 -166
- package/src/components/BryntumPanelProps.ts +101 -157
- package/src/components/BryntumPasswordField.vue +72 -116
- package/src/components/BryntumPasswordFieldProps.ts +68 -108
- package/src/components/BryntumProgressBar.vue +57 -92
- package/src/components/BryntumProgressBarProps.ts +54 -86
- package/src/components/BryntumRadio.vue +72 -116
- package/src/components/BryntumRadioGroup.vue +108 -177
- package/src/components/BryntumRadioGroupProps.ts +104 -167
- package/src/components/BryntumRadioProps.ts +68 -108
- package/src/components/BryntumSlideToggle.vue +72 -116
- package/src/components/BryntumSlideToggleProps.ts +68 -108
- package/src/components/BryntumSlider.vue +66 -100
- package/src/components/BryntumSliderProps.ts +62 -94
- package/src/components/BryntumSplitter.vue +60 -98
- package/src/components/BryntumSplitterProps.ts +57 -92
- package/src/components/BryntumTabPanel.vue +106 -168
- package/src/components/BryntumTabPanelProps.ts +102 -159
- package/src/components/BryntumTextAreaField.vue +80 -118
- package/src/components/BryntumTextAreaFieldProps.ts +75 -110
- package/src/components/BryntumTextAreaPickerField.vue +74 -119
- package/src/components/BryntumTextAreaPickerFieldProps.ts +70 -111
- package/src/components/BryntumTextField.vue +73 -118
- package/src/components/BryntumTextFieldProps.ts +69 -110
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeField.vue +78 -119
- package/src/components/BryntumTimeFieldProps.ts +74 -111
- package/src/components/BryntumTimePicker.vue +77 -123
- package/src/components/BryntumTimePickerProps.ts +73 -114
- package/src/components/BryntumToolbar.vue +81 -128
- package/src/components/BryntumToolbarProps.ts +77 -119
- package/src/components/BryntumWidget.vue +58 -94
- package/src/components/BryntumWidgetProps.ts +55 -88
- package/src/components/BryntumYearPicker.vue +106 -168
- package/src/components/BryntumYearPickerProps.ts +102 -159
- package/src/index.ts +3 -0
- package/lib/chunks/0mo5Mstw.js.map +0 -1
- package/lib/chunks/B5uy0f8M.js.map +0 -1
- package/lib/chunks/BHJ85xe3.js.map +0 -1
- package/lib/chunks/BMktrDmZ.js.map +0 -1
- package/lib/chunks/B_HOgS_l.js.map +0 -1
- package/lib/chunks/Balebjro.js.map +0 -1
- package/lib/chunks/BgDfUxHB.js.map +0 -1
- package/lib/chunks/BhOX3HuH.js.map +0 -1
- package/lib/chunks/BshLrVJQ.js.map +0 -1
- package/lib/chunks/Bsnile1U.js.map +0 -1
- package/lib/chunks/Bu6Ih169.js.map +0 -1
- package/lib/chunks/C-wQgOUh.js.map +0 -1
- package/lib/chunks/C-xi1Fd2.js.map +0 -1
- package/lib/chunks/CGCBZDRp.js.map +0 -1
- package/lib/chunks/CGhnsfEQ.js.map +0 -1
- package/lib/chunks/CHuDT-j6.js.map +0 -1
- package/lib/chunks/CIGKP_6m.js.map +0 -1
- package/lib/chunks/CJYxn6rO.js.map +0 -1
- package/lib/chunks/CM2bdtJD.js.map +0 -1
- package/lib/chunks/CP5BftnV.js.map +0 -1
- package/lib/chunks/CSOTA30w.js.map +0 -1
- package/lib/chunks/CXCRCt2L.js.map +0 -1
- package/lib/chunks/C_VpxfMV.js.map +0 -1
- package/lib/chunks/CddjvqcJ.js.map +0 -1
- package/lib/chunks/Cdr7dtCP.js.map +0 -1
- package/lib/chunks/Ce0sqPNX.js.map +0 -1
- package/lib/chunks/Cj2LjlGr.js.map +0 -1
- package/lib/chunks/D3slgXbg.js.map +0 -1
- package/lib/chunks/D6wsvK-2.js.map +0 -1
- package/lib/chunks/D8olLOfA.js.map +0 -1
- package/lib/chunks/DDe9K0ZW.js.map +0 -1
- package/lib/chunks/DGI4Avop.js.map +0 -1
- package/lib/chunks/DOvP6TjQ.js.map +0 -1
- package/lib/chunks/DYEiCSjZ.js.map +0 -1
- package/lib/chunks/DZk2zBG1.js.map +0 -1
- package/lib/chunks/DaUgA1WD.js.map +0 -1
- package/lib/chunks/DbgxU9fb.js.map +0 -1
- package/lib/chunks/DgQUICHK.js.map +0 -1
- package/lib/chunks/DhyOOQCC.js.map +0 -1
- package/lib/chunks/DiksOQ3r.js.map +0 -1
- package/lib/chunks/Ds9XsR7Y.js.map +0 -1
- package/lib/chunks/Dta-twi4.js.map +0 -1
- package/lib/chunks/F0HM0TzY.js.map +0 -1
- package/lib/chunks/L_TviNd7.js.map +0 -1
- package/lib/chunks/QNysw487.js.map +0 -1
- package/lib/chunks/TjvtZ8-o.js.map +0 -1
- package/lib/chunks/VexdWdKh.js.map +0 -1
- package/lib/chunks/_-sCvpPg.js.map +0 -1
- package/lib/chunks/nxpqcBTT.js.map +0 -1
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import type { AlignSpec, Base, Color, CoreContainerItemConfig, Field,
|
|
1
|
+
import type { AlignSpec, Base, Color, CoreContainerItemConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, TabConfig, TextFieldListeners, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
2
2
|
|
|
3
3
|
export declare type BryntumTextFieldProps = {
|
|
4
4
|
// Configs
|
|
5
5
|
/**
|
|
6
6
|
* Element (or element id) to adopt as this Widget's encapsulating element. The widget's
|
|
7
7
|
* content will be placed inside this element.
|
|
8
|
-
* ...
|
|
9
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-adopt)
|
|
8
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-adopt)
|
|
10
9
|
*/
|
|
11
10
|
adopt ? : HTMLElement|string
|
|
12
11
|
/**
|
|
13
12
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
14
|
-
* ...
|
|
15
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-align)
|
|
13
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-align)
|
|
16
14
|
*/
|
|
17
15
|
align ? : AlignSpec|string
|
|
18
16
|
/**
|
|
@@ -34,15 +32,13 @@ export declare type BryntumTextFieldProps = {
|
|
|
34
32
|
/**
|
|
35
33
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject
|
|
36
34
|
* into an element which will be linked using the `aria-describedby` attribute.
|
|
37
|
-
* ...
|
|
38
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ariaDescription)
|
|
35
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ariaDescription)
|
|
39
36
|
*/
|
|
40
37
|
ariaDescription ? : string
|
|
41
38
|
/**
|
|
42
39
|
* A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as
|
|
43
40
|
* the `aria-label` attribute.
|
|
44
|
-
* ...
|
|
45
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ariaLabel)
|
|
41
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ariaLabel)
|
|
46
42
|
*/
|
|
47
43
|
ariaLabel ? : string
|
|
48
44
|
/**
|
|
@@ -61,21 +57,18 @@ export declare type BryntumTextFieldProps = {
|
|
|
61
57
|
/**
|
|
62
58
|
* An object where property names with a truthy value indicate which events should bubble up the ownership
|
|
63
59
|
* hierarchy when triggered.
|
|
64
|
-
* ...
|
|
65
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-bubbleEvents)
|
|
60
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-bubbleEvents)
|
|
66
61
|
*/
|
|
67
62
|
bubbleEvents ? : object
|
|
68
63
|
/**
|
|
69
64
|
* Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.
|
|
70
|
-
* ...
|
|
71
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-callOnFunctions)
|
|
65
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-callOnFunctions)
|
|
72
66
|
*/
|
|
73
67
|
callOnFunctions ? : Boolean
|
|
74
68
|
/**
|
|
75
69
|
* By default, if an event handler throws an exception, the error propagates up the stack and the
|
|
76
70
|
* application state is undefined. Code which follows the event handler will *not* be executed.
|
|
77
|
-
* ...
|
|
78
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-catchEventHandlerExceptions)
|
|
71
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-catchEventHandlerExceptions)
|
|
79
72
|
*/
|
|
80
73
|
catchEventHandlerExceptions ? : Boolean
|
|
81
74
|
/**
|
|
@@ -93,15 +86,13 @@ export declare type BryntumTextFieldProps = {
|
|
|
93
86
|
* Custom CSS classes to add to element.
|
|
94
87
|
* May be specified as a space separated string, or as an object in which property names
|
|
95
88
|
* with truthy values are used as the class names:
|
|
96
|
-
* ...
|
|
97
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-cls)
|
|
89
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-cls)
|
|
98
90
|
*/
|
|
99
91
|
cls ? : string|object
|
|
100
92
|
/**
|
|
101
93
|
* Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets
|
|
102
94
|
* `style` block.
|
|
103
|
-
* ...
|
|
104
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-color)
|
|
95
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-color)
|
|
105
96
|
*/
|
|
106
97
|
color ? : Color
|
|
107
98
|
/**
|
|
@@ -118,15 +109,13 @@ export declare type BryntumTextFieldProps = {
|
|
|
118
109
|
* The configuration for additional items associated to this field. This is typically used to add contextual
|
|
119
110
|
* fields related to a [checkbox](https://bryntum.com/products/core/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See
|
|
120
111
|
* these classes for examples of nested fields.
|
|
121
|
-
* ...
|
|
122
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-container)
|
|
112
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-container)
|
|
123
113
|
*/
|
|
124
|
-
container ? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
114
|
+
container ? : Record<string, CoreContainerItemConfig>|CoreContainerItemConfig[]|FieldContainerConfig
|
|
125
115
|
/**
|
|
126
116
|
* The config controls how the value of nested items are handled when a parent container gets or sets its
|
|
127
117
|
* [values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
|
|
128
|
-
* ...
|
|
129
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-containValues)
|
|
118
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-containValues)
|
|
130
119
|
* @param {Core.widget.Field} field Field instance
|
|
131
120
|
* @returns {boolean}
|
|
132
121
|
*/
|
|
@@ -135,8 +124,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
135
124
|
* Custom CSS classes to add to the [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
136
125
|
* May be specified as a space separated string, or as an object in which property names
|
|
137
126
|
* with truthy values are used as the class names:
|
|
138
|
-
* ...
|
|
139
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-contentElementCls)
|
|
127
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-contentElementCls)
|
|
140
128
|
*/
|
|
141
129
|
contentElementCls ? : string|object
|
|
142
130
|
/**
|
|
@@ -154,16 +142,15 @@ export declare type BryntumTextFieldProps = {
|
|
|
154
142
|
*/
|
|
155
143
|
defaultBindProperty ? : string
|
|
156
144
|
/**
|
|
157
|
-
* Check for CSS compatibility issues
|
|
158
|
-
*
|
|
159
|
-
* [
|
|
145
|
+
* Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following
|
|
146
|
+
* checks:
|
|
147
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-detectCSSCompatibilityIssues)
|
|
160
148
|
*/
|
|
161
149
|
detectCSSCompatibilityIssues ? : Boolean
|
|
162
150
|
/**
|
|
163
151
|
* Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget
|
|
164
152
|
* cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.
|
|
165
|
-
* ...
|
|
166
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-disabled)
|
|
153
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-disabled)
|
|
167
154
|
*/
|
|
168
155
|
disabled ? : Boolean|'inert'
|
|
169
156
|
/**
|
|
@@ -171,33 +158,28 @@ export declare type BryntumTextFieldProps = {
|
|
|
171
158
|
* [strips collection](https://bryntum.com/products/core/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,
|
|
172
159
|
* `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's
|
|
173
160
|
* body. Such widgets are called "edge strips".
|
|
174
|
-
* ...
|
|
175
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-dock)
|
|
161
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-dock)
|
|
176
162
|
*/
|
|
177
163
|
dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
|
|
178
164
|
/**
|
|
179
165
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
180
166
|
* Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
|
|
181
167
|
* property which controls when a drag should start.
|
|
182
|
-
* ...
|
|
183
|
-
*
|
|
168
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-draggable)
|
|
169
|
+
* @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
|
|
184
170
|
*/
|
|
185
|
-
draggable ? : Boolean|
|
|
186
|
-
handleSelector?: string
|
|
187
|
-
}
|
|
171
|
+
draggable ? : Boolean|object
|
|
188
172
|
/**
|
|
189
173
|
* Set to `false` to prevent user from editing the field. For TextFields it is basically the same as setting
|
|
190
174
|
* [readOnly](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-readOnly), but for PickerFields there is a distinction where it allows you to pick a value
|
|
191
175
|
* but not to type one in the field.
|
|
192
|
-
* ...
|
|
193
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-editable)
|
|
176
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-editable)
|
|
194
177
|
*/
|
|
195
178
|
editable ? : Boolean
|
|
196
179
|
/**
|
|
197
180
|
* An object specifying attributes to assign to the root element of this widget.
|
|
198
181
|
* Set `null` value to attribute to remove it.
|
|
199
|
-
* ...
|
|
200
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-elementAttributes)
|
|
182
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-elementAttributes)
|
|
201
183
|
*/
|
|
202
184
|
elementAttributes ? : Record<string, string|null>
|
|
203
185
|
extraData ? : any
|
|
@@ -226,8 +208,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
226
208
|
hidden ? : Boolean
|
|
227
209
|
/**
|
|
228
210
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
229
|
-
* ...
|
|
230
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-hideAnimation)
|
|
211
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-hideAnimation)
|
|
231
212
|
*/
|
|
232
213
|
hideAnimation ? : Boolean|object
|
|
233
214
|
/**
|
|
@@ -237,8 +218,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
237
218
|
/**
|
|
238
219
|
* An optional string to display inside the input field as an overlay. This can be useful for displaying
|
|
239
220
|
* a field's units.
|
|
240
|
-
* ...
|
|
241
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-hint)
|
|
221
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-hint)
|
|
242
222
|
* @param {object} data A data object
|
|
243
223
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
244
224
|
* @param {any} data.value The current value of the field
|
|
@@ -249,8 +229,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
249
229
|
* This config is similar to [hint](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.
|
|
250
230
|
* Since this can allow malicious content to be executed, be sure not to include user-entered data or to
|
|
251
231
|
* encode such data (see [encodeHtml](https://bryntum.com/products/core/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).
|
|
252
|
-
* ...
|
|
253
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-hintHtml)
|
|
232
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-hintHtml)
|
|
254
233
|
* @param {object} data A data object
|
|
255
234
|
* @param {Core.widget.Field} data.source A reference to the field instance
|
|
256
235
|
* @param {any} data.value The current value of the field
|
|
@@ -263,16 +242,14 @@ export declare type BryntumTextFieldProps = {
|
|
|
263
242
|
id ? : string
|
|
264
243
|
/**
|
|
265
244
|
* Determines if the widgets read-only state should be controlled by its parent.
|
|
266
|
-
* ...
|
|
267
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ignoreParentReadOnly)
|
|
245
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ignoreParentReadOnly)
|
|
268
246
|
*/
|
|
269
247
|
ignoreParentReadOnly ? : Boolean
|
|
270
248
|
/**
|
|
271
249
|
* Set this config to `true` to always display items horizontally along with this field. This assigns an
|
|
272
250
|
* [hbox](https://bryntum.com/products/core/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the
|
|
273
251
|
* [container](https://bryntum.com/products/core/docs/api/Core/widget/Field#config-container).
|
|
274
|
-
* ...
|
|
275
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-inline)
|
|
252
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-inline)
|
|
276
253
|
*/
|
|
277
254
|
inline ? : Boolean
|
|
278
255
|
/**
|
|
@@ -312,16 +289,14 @@ export declare type BryntumTextFieldProps = {
|
|
|
312
289
|
* An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name
|
|
313
290
|
* and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values
|
|
314
291
|
* are the name of the instance method to call when the keystroke is received.
|
|
315
|
-
* ...
|
|
316
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-keyMap)
|
|
292
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-keyMap)
|
|
317
293
|
*/
|
|
318
294
|
keyMap ? : Record<string, KeyMapConfig>
|
|
319
295
|
/**
|
|
320
296
|
* The delay in milliseconds to wait after the last keystroke before triggering a change event.
|
|
321
297
|
* Set to 0 to not trigger change events from keystrokes (listen for input event instead to have
|
|
322
298
|
* immediate feedback, change will still be triggered on blur).
|
|
323
|
-
* ...
|
|
324
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-keyStrokeChangeDelay)
|
|
299
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-keyStrokeChangeDelay)
|
|
325
300
|
*/
|
|
326
301
|
keyStrokeChangeDelay ? : number
|
|
327
302
|
/**
|
|
@@ -334,15 +309,15 @@ export declare type BryntumTextFieldProps = {
|
|
|
334
309
|
labelCls ? : string|object
|
|
335
310
|
/**
|
|
336
311
|
* Label position, either 'before' the field or 'above' the field
|
|
337
|
-
* ...
|
|
338
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-labelPosition)
|
|
312
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-labelPosition)
|
|
339
313
|
*/
|
|
340
314
|
labelPosition ? : 'before'|'above'|null
|
|
341
315
|
/**
|
|
342
316
|
* The labels to add either before or after the input field.
|
|
343
317
|
* Each label may have the following properties:
|
|
344
|
-
* ...
|
|
345
|
-
*
|
|
318
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-labels)
|
|
319
|
+
* @property {string} html Label text
|
|
320
|
+
* @property {'start','end'} align Which end of the file the label should go
|
|
346
321
|
*/
|
|
347
322
|
labels ? : object[]
|
|
348
323
|
/**
|
|
@@ -351,16 +326,14 @@ export declare type BryntumTextFieldProps = {
|
|
|
351
326
|
labelWidth ? : string|number
|
|
352
327
|
/**
|
|
353
328
|
* The listener set for this object.
|
|
354
|
-
* ...
|
|
355
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-listeners)
|
|
329
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-listeners)
|
|
356
330
|
*/
|
|
357
331
|
listeners ? : TextFieldListeners
|
|
358
332
|
/**
|
|
359
333
|
* A class translations of which are used for translating this entity.
|
|
360
334
|
* This is often used when translations of an item are defined on its container class.
|
|
361
335
|
* For example:
|
|
362
|
-
* ...
|
|
363
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-localeClass)
|
|
336
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-localeClass)
|
|
364
337
|
*/
|
|
365
338
|
localeClass ? : typeof Base
|
|
366
339
|
/**
|
|
@@ -372,8 +345,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
372
345
|
* In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),
|
|
373
346
|
* you could use 'localeKey' meta configuration.
|
|
374
347
|
* Example:
|
|
375
|
-
* ...
|
|
376
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-localizableProperties)
|
|
348
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-localizableProperties)
|
|
377
349
|
*/
|
|
378
350
|
localizableProperties ? : string[]
|
|
379
351
|
/**
|
|
@@ -399,8 +371,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
399
371
|
maxHeight ? : string|number
|
|
400
372
|
/**
|
|
401
373
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
402
|
-
* ...
|
|
403
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-maximizeOnMobile)
|
|
374
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-maximizeOnMobile)
|
|
404
375
|
*/
|
|
405
376
|
maximizeOnMobile ? : number|string
|
|
406
377
|
/**
|
|
@@ -430,18 +401,15 @@ export declare type BryntumTextFieldProps = {
|
|
|
430
401
|
* When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)
|
|
431
402
|
* is used to monitor this element for size changes caused by either style manipulation, or by CSS
|
|
432
403
|
* layout.
|
|
433
|
-
* ...
|
|
434
|
-
*
|
|
404
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-monitorResize)
|
|
405
|
+
* @property {boolean} immediate Set to `true` to receive resize notifications immediately.
|
|
435
406
|
*/
|
|
436
|
-
monitorResize ? : Boolean|
|
|
437
|
-
immediate?: Boolean
|
|
438
|
-
}
|
|
407
|
+
monitorResize ? : Boolean|object
|
|
439
408
|
/**
|
|
440
409
|
* Name of the field which is used as a key to get/set values from/to the field.
|
|
441
410
|
* Used prior to [ref](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in
|
|
442
411
|
* [Container.values](https://bryntum.com/products/core/docs/api/Core/widget/Container#property-values).
|
|
443
|
-
* ...
|
|
444
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-name)
|
|
412
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-name)
|
|
445
413
|
*/
|
|
446
414
|
name ? : string
|
|
447
415
|
/**
|
|
@@ -452,8 +420,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
452
420
|
* Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement), but must
|
|
453
421
|
* not participate in the standard layout of that widget, and must be positioned relatively to that
|
|
454
422
|
* widget's [contentElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-contentElement).
|
|
455
|
-
* ...
|
|
456
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-positioned)
|
|
423
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-positioned)
|
|
457
424
|
*/
|
|
458
425
|
positioned ? : Boolean
|
|
459
426
|
/**
|
|
@@ -464,15 +431,13 @@ export declare type BryntumTextFieldProps = {
|
|
|
464
431
|
/**
|
|
465
432
|
* Makes the field unmodifiable by user action. The input area is not editable, and triggers
|
|
466
433
|
* are unresponsive.
|
|
467
|
-
* ...
|
|
468
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-readOnly)
|
|
434
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-readOnly)
|
|
469
435
|
*/
|
|
470
436
|
readOnly ? : Boolean
|
|
471
437
|
relayStoreEvents ? : Boolean
|
|
472
438
|
/**
|
|
473
439
|
* Predefined style to use for the field. Possible values are:
|
|
474
|
-
* ...
|
|
475
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-rendition)
|
|
440
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-rendition)
|
|
476
441
|
*/
|
|
477
442
|
rendition ? : 'outlined'|'filled'|string
|
|
478
443
|
/**
|
|
@@ -491,23 +456,26 @@ export declare type BryntumTextFieldProps = {
|
|
|
491
456
|
* Configure as `true` to have the component display a translucent ripple when its
|
|
492
457
|
* [focusElement](https://bryntum.com/products/core/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the
|
|
493
458
|
* current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.
|
|
494
|
-
* ...
|
|
495
|
-
* [
|
|
459
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ripple)
|
|
460
|
+
* @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.
|
|
461
|
+
* @property {string} [color] A CSS color name or specification.
|
|
462
|
+
* @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.
|
|
463
|
+
* @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.
|
|
496
464
|
*/
|
|
497
|
-
ripple ? : Boolean|
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
465
|
+
ripple ? : Boolean|object
|
|
466
|
+
/**
|
|
467
|
+
* The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid
|
|
468
|
+
* accidentally applying a role which may interfere with screen readers.
|
|
469
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-role)
|
|
470
|
+
*/
|
|
471
|
+
role ? : string
|
|
503
472
|
/**
|
|
504
473
|
* If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`
|
|
505
474
|
*/
|
|
506
475
|
rootElement ? : ShadowRoot|HTMLElement
|
|
507
476
|
/**
|
|
508
477
|
* This may be configured as `true` to make the widget's element use the `direction:rtl` style.
|
|
509
|
-
* ...
|
|
510
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-rtl)
|
|
478
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-rtl)
|
|
511
479
|
*/
|
|
512
480
|
rtl ? : Boolean
|
|
513
481
|
/**
|
|
@@ -517,8 +485,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
517
485
|
scrollAction ? : 'hide'|'realign'|null
|
|
518
486
|
/**
|
|
519
487
|
* *Only valid if this Widget is [floating](https://bryntum.com/products/core/docs/api/Core/widget/Widget#config-floating).*
|
|
520
|
-
* ...
|
|
521
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-showAnimation)
|
|
488
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-showAnimation)
|
|
522
489
|
*/
|
|
523
490
|
showAnimation ? : Boolean|object
|
|
524
491
|
/**
|
|
@@ -547,8 +514,7 @@ export declare type BryntumTextFieldProps = {
|
|
|
547
514
|
* A configuration for the [tab](https://bryntum.com/products/core/docs/api/Core/widget/Tab) created for this widget when it is placed in a
|
|
548
515
|
* [TabPanel](https://bryntum.com/products/core/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for
|
|
549
516
|
* this widget:
|
|
550
|
-
* ...
|
|
551
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-tab)
|
|
517
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-tab)
|
|
552
518
|
*/
|
|
553
519
|
tab ? : Boolean|TabConfig
|
|
554
520
|
/**
|
|
@@ -556,14 +522,12 @@ export declare type BryntumTextFieldProps = {
|
|
|
556
522
|
* is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable
|
|
557
523
|
* (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set
|
|
558
524
|
* to the element programmatically.
|
|
559
|
-
* ...
|
|
560
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-tabIndex)
|
|
525
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-tabIndex)
|
|
561
526
|
*/
|
|
562
527
|
tabIndex ? : number
|
|
563
528
|
/**
|
|
564
529
|
* Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.
|
|
565
|
-
* ...
|
|
566
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-textAlign)
|
|
530
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-textAlign)
|
|
567
531
|
*/
|
|
568
532
|
textAlign ? : 'left'|'center'|'right'|'start'|'end'
|
|
569
533
|
/**
|
|
@@ -572,24 +536,21 @@ export declare type BryntumTextFieldProps = {
|
|
|
572
536
|
title ? : string
|
|
573
537
|
/**
|
|
574
538
|
* Tooltip for the widget, either as a string or as a Tooltip config object.
|
|
575
|
-
* ...
|
|
576
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-tooltip)
|
|
539
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-tooltip)
|
|
577
540
|
*/
|
|
578
541
|
tooltip ? : string|TooltipConfig|null
|
|
579
542
|
/**
|
|
580
543
|
* The triggers to add either before or after the input field. Each property name is the reference by which
|
|
581
544
|
* an instantiated Trigger Widget may be retrieved from the live `triggers` property.
|
|
582
|
-
* ...
|
|
583
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-triggers)
|
|
545
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-triggers)
|
|
584
546
|
*/
|
|
585
|
-
triggers ? : Record<string, FieldTriggerConfig
|
|
547
|
+
triggers ? : Record<string, FieldTriggerConfig>
|
|
586
548
|
type ? : 'textfield'|'text'
|
|
587
549
|
/**
|
|
588
550
|
* Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified
|
|
589
551
|
* as a space separated string, an array of strings, or as an object in which property names with truthy
|
|
590
552
|
* values are used as the class names.
|
|
591
|
-
* ...
|
|
592
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ui)
|
|
553
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-ui)
|
|
593
554
|
*/
|
|
594
555
|
ui ? : string|object
|
|
595
556
|
/**
|
|
@@ -614,14 +575,12 @@ export declare type BryntumTextFieldProps = {
|
|
|
614
575
|
width ? : string|number
|
|
615
576
|
/**
|
|
616
577
|
* The x position for the widget.
|
|
617
|
-
* ...
|
|
618
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-x)
|
|
578
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-x)
|
|
619
579
|
*/
|
|
620
580
|
x ? : number
|
|
621
581
|
/**
|
|
622
582
|
* The y position for the widget.
|
|
623
|
-
* ...
|
|
624
|
-
* [View online docs...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-y)
|
|
583
|
+
* [More...](https://bryntum.com/products/grid/docs/api/Core/widget/TextField#config-y)
|
|
625
584
|
*/
|
|
626
585
|
y ? : number
|
|
627
586
|
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div ref="refElement" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup lang="ts">
|
|
6
|
+
import { onBeforeUnmount, onMounted, ref } from 'vue';
|
|
7
|
+
import { Combo, DomHelper, BrowserHelper } from '@bryntum/core-thin';
|
|
8
|
+
|
|
9
|
+
const refElement = ref<HTMLElement | null>(null);
|
|
10
|
+
let combo: Combo | null = null;
|
|
11
|
+
|
|
12
|
+
onMounted(() => {
|
|
13
|
+
combo = new Combo({
|
|
14
|
+
appendTo : refElement.value as HTMLElement,
|
|
15
|
+
store : {
|
|
16
|
+
data : [
|
|
17
|
+
{ id : 'svalbard-light', text : 'Svalbard Light' },
|
|
18
|
+
{ id : 'svalbard-dark', text : 'Svalbard Dark' },
|
|
19
|
+
{ id : 'visby-light', text : 'Visby Light' },
|
|
20
|
+
{ id : 'visby-dark', text : 'Visby Dark' },
|
|
21
|
+
{ id : 'stockholm-light', text : 'Stockholm Light' },
|
|
22
|
+
{ id : 'stockholm-dark', text : 'Stockholm Dark' },
|
|
23
|
+
{ id : 'material3-light', text : 'Material3 Light' },
|
|
24
|
+
{ id : 'material3-dark', text : 'Material3 Dark' },
|
|
25
|
+
{ id : 'fluent2-light', text : 'Fluent2 Light' },
|
|
26
|
+
{ id : 'fluent2-dark', text : 'Fluent2 Dark' },
|
|
27
|
+
{ id : 'high-contrast-light', text : 'High Contrast Light' },
|
|
28
|
+
{ id : 'high-contrast-dark', text : 'High Contrast Dark' }
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
label : 'Theme',
|
|
32
|
+
width : '16em',
|
|
33
|
+
value : 'svalbard-light',
|
|
34
|
+
editable : false,
|
|
35
|
+
labelPosition : 'before',
|
|
36
|
+
ref : 'themeCombo',
|
|
37
|
+
listeners : {
|
|
38
|
+
change({ value }: { value: string }) {
|
|
39
|
+
DomHelper.setTheme(value).then((context: any) => {
|
|
40
|
+
if (context) {
|
|
41
|
+
const { theme, prev } = context;
|
|
42
|
+
document.body.classList.remove(`b-theme-${prev}`);
|
|
43
|
+
document.body.classList.add(`b-theme-${theme}`);
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
// Apply from search param
|
|
51
|
+
const theme = BrowserHelper.searchParam('theme');
|
|
52
|
+
if (theme) {
|
|
53
|
+
combo.value = theme;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
onBeforeUnmount(() => {
|
|
58
|
+
combo?.destroy();
|
|
59
|
+
});
|
|
60
|
+
</script>
|