@bryntum/schedulerpro-vue-3 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/{CWl5kkMv.js → -dlD4mnE.js} +11 -13
- package/lib/chunks/-dlD4mnE.js.map +1 -0
- package/lib/chunks/{Cr-GFxZo.js → 2sxJAiPC.js} +7 -10
- package/lib/chunks/2sxJAiPC.js.map +1 -0
- package/lib/chunks/{1usmJD52.js → 4WUanFqW.js} +11 -11
- package/lib/chunks/4WUanFqW.js.map +1 -0
- package/lib/chunks/{BvR4S9u_.js → BFbQ6-_1.js} +18 -11
- package/lib/chunks/BFbQ6-_1.js.map +1 -0
- package/lib/chunks/{BZ387MTP.js → BIC-lAVW.js} +3 -3
- package/lib/chunks/BIC-lAVW.js.map +1 -0
- package/lib/chunks/{CuunbhDZ.js → BMszmpSq.js} +12 -12
- package/lib/chunks/BMszmpSq.js.map +1 -0
- package/lib/chunks/{-LbEmUsU.js → BNSEzjia.js} +10 -11
- package/lib/chunks/BNSEzjia.js.map +1 -0
- package/lib/chunks/{m8kvDxYs.js → BNm3bwPy.js} +16 -10
- package/lib/chunks/BNm3bwPy.js.map +1 -0
- package/lib/chunks/{DTMg-GED.js → BSQuj96S.js} +10 -11
- package/lib/chunks/BSQuj96S.js.map +1 -0
- package/lib/chunks/{D6Oov_9z.js → BULJCFjl.js} +12 -13
- package/lib/chunks/BULJCFjl.js.map +1 -0
- package/lib/chunks/{DhkvLPl8.js → BX64SLAW.js} +6 -6
- package/lib/chunks/BX64SLAW.js.map +1 -0
- package/lib/chunks/{BTNZlbZs.js → BaMhPE-S.js} +3 -3
- package/lib/chunks/BaMhPE-S.js.map +1 -0
- package/lib/chunks/{B7i5Rt9H.js → Bao2gZz3.js} +4 -7
- package/lib/chunks/Bao2gZz3.js.map +1 -0
- package/lib/chunks/{CzEU582B.js → BcyZtXua.js} +6 -6
- package/lib/chunks/BcyZtXua.js.map +1 -0
- package/lib/chunks/{DIOKRNUc.js → BfRcsGH9.js} +13 -14
- package/lib/chunks/BfRcsGH9.js.map +1 -0
- package/lib/chunks/{DDzDNuKJ.js → Btn_5aey.js} +23 -13
- package/lib/chunks/Btn_5aey.js.map +1 -0
- package/lib/chunks/{d2Hb-A1P.js → BvjJXW7d.js} +3 -3
- package/lib/chunks/BvjJXW7d.js.map +1 -0
- package/lib/chunks/{YOo6mk1n.js → BxyCwMh8.js} +8 -9
- package/lib/chunks/BxyCwMh8.js.map +1 -0
- package/lib/chunks/{CsrwX4w7.js → ByQ_HKl6.js} +11 -12
- package/lib/chunks/ByQ_HKl6.js.map +1 -0
- package/lib/chunks/{Dd-c6XHV.js → ByXfNGge.js} +9 -9
- package/lib/chunks/ByXfNGge.js.map +1 -0
- package/lib/chunks/{8V3N-5u1.js → ByaMLR_T.js} +11 -11
- package/lib/chunks/ByaMLR_T.js.map +1 -0
- package/lib/chunks/{BoMrTlH-.js → C-5Ui9iE.js} +9 -10
- package/lib/chunks/C-5Ui9iE.js.map +1 -0
- package/lib/chunks/{-5FxUYvw.js → C-wRwUdg.js} +12 -12
- package/lib/chunks/C-wRwUdg.js.map +1 -0
- package/lib/chunks/{YI0l05ho.js → C1BWT24E.js} +3 -3
- package/lib/chunks/C1BWT24E.js.map +1 -0
- package/lib/chunks/{CSw0qNhi.js → C3Ok7M88.js} +8 -7
- package/lib/chunks/C3Ok7M88.js.map +1 -0
- package/lib/chunks/{CmR4xSXT.js → C4Uvin-l.js} +9 -9
- package/lib/chunks/C4Uvin-l.js.map +1 -0
- package/lib/chunks/{YwIpKj_r.js → C6A8_kF2.js} +12 -13
- package/lib/chunks/C6A8_kF2.js.map +1 -0
- package/lib/chunks/{CiT2xJtH.js → C8Z3RKwO.js} +14 -8
- package/lib/chunks/C8Z3RKwO.js.map +1 -0
- package/lib/chunks/CDM1SbyR.js +57 -0
- package/lib/chunks/CDM1SbyR.js.map +1 -0
- package/lib/chunks/{BlUpo7k6.js → CEJGxzyM.js} +5 -5
- package/lib/chunks/CEJGxzyM.js.map +1 -0
- package/lib/chunks/{D9c_tAF2.js → CISuZ6-v.js} +16 -10
- package/lib/chunks/CISuZ6-v.js.map +1 -0
- package/lib/chunks/{09C7SeH-.js → CQbPcPEi.js} +5 -5
- package/lib/chunks/CQbPcPEi.js.map +1 -0
- package/lib/chunks/{Bs2Rp7Bd.js → CXCc2j2t.js} +5 -3
- package/lib/chunks/CXCc2j2t.js.map +1 -0
- package/lib/chunks/{B1VhOPSe.js → CXuU8L18.js} +8 -6
- package/lib/chunks/CXuU8L18.js.map +1 -0
- package/lib/chunks/{CO3bnnnn.js → CYC8z30i.js} +8 -9
- package/lib/chunks/CYC8z30i.js.map +1 -0
- package/lib/chunks/{B_ohcsgg.js → CYs3pU9g.js} +5 -5
- package/lib/chunks/CYs3pU9g.js.map +1 -0
- package/lib/chunks/{Bsqsx-Tw.js → CartziHS.js} +5 -5
- package/lib/chunks/CartziHS.js.map +1 -0
- package/lib/chunks/{B5dpYiQ8.js → CazA7o4i.js} +18 -11
- package/lib/chunks/CazA7o4i.js.map +1 -0
- package/lib/chunks/{CrBilakU.js → CbAbRlD1.js} +5 -5
- package/lib/chunks/CbAbRlD1.js.map +1 -0
- package/lib/chunks/{DAYwB6ir.js → CbMBy-EW.js} +5 -5
- package/lib/chunks/CbMBy-EW.js.map +1 -0
- package/lib/chunks/{DHmSEy1C.js → CgcAEFay.js} +15 -16
- package/lib/chunks/CgcAEFay.js.map +1 -0
- package/lib/chunks/{wrRRt2tA.js → CjQ35AZp.js} +8 -9
- package/lib/chunks/CjQ35AZp.js.map +1 -0
- package/lib/chunks/{C9VfRGkX.js → CkGJeDSH.js} +3 -3
- package/lib/chunks/CkGJeDSH.js.map +1 -0
- package/lib/chunks/{ChK4HjnD.js → CnGvCIpH.js} +13 -14
- package/lib/chunks/CnGvCIpH.js.map +1 -0
- package/lib/chunks/{D-nG_aPt.js → CxrldlWS.js} +9 -9
- package/lib/chunks/CxrldlWS.js.map +1 -0
- package/lib/chunks/{CpzSzcdC.js → Cy8a6FnS.js} +6 -6
- package/lib/chunks/Cy8a6FnS.js.map +1 -0
- package/lib/chunks/{CwSil0r4.js → Cyn0k5tW.js} +6 -6
- package/lib/chunks/Cyn0k5tW.js.map +1 -0
- package/lib/chunks/CzrZWuEy.js +265 -0
- package/lib/chunks/CzrZWuEy.js.map +1 -0
- package/lib/chunks/{CGiavH63.js → D-jfacgN.js} +16 -17
- package/lib/chunks/D-jfacgN.js.map +1 -0
- package/lib/chunks/{xlyK1Dgw.js → D-nm2cLV.js} +6 -6
- package/lib/chunks/D-nm2cLV.js.map +1 -0
- package/lib/chunks/{ChuMO9x6.js → D0vFqrAb.js} +4 -4
- package/lib/chunks/D0vFqrAb.js.map +1 -0
- package/lib/chunks/{CHMTBLQr.js → D2QcjGtN.js} +4 -7
- package/lib/chunks/D2QcjGtN.js.map +1 -0
- package/lib/chunks/{hsN2-RZS.js → D2bmWuQo.js} +8 -9
- package/lib/chunks/D2bmWuQo.js.map +1 -0
- package/lib/chunks/{BNaV3PVX.js → D47uQmzF.js} +6 -6
- package/lib/chunks/D47uQmzF.js.map +1 -0
- package/lib/chunks/{VwcYjQwL.js → DF4UEW_S.js} +5 -5
- package/lib/chunks/DF4UEW_S.js.map +1 -0
- package/lib/chunks/{B0EXdAco.js → DJ-9EwCY.js} +7 -7
- package/lib/chunks/DJ-9EwCY.js.map +1 -0
- package/lib/chunks/{bXEO4MGk.js → DJDODWPm.js} +14 -15
- package/lib/chunks/DJDODWPm.js.map +1 -0
- package/lib/chunks/{BjDyOHhm.js → DL9y_FX6.js} +9 -10
- package/lib/chunks/DL9y_FX6.js.map +1 -0
- package/lib/chunks/{T_B5LoIS.js → DP2Ezl8b.js} +6 -6
- package/lib/chunks/DP2Ezl8b.js.map +1 -0
- package/lib/chunks/{DevFExGL.js → DPtMF4Rv.js} +23 -13
- package/lib/chunks/DPtMF4Rv.js.map +1 -0
- package/lib/chunks/{DLgDopMq.js → DREz45vh.js} +10 -11
- package/lib/chunks/DREz45vh.js.map +1 -0
- package/lib/chunks/{Z-hZv4EF.js → DV5ZSPte.js} +7 -7
- package/lib/chunks/DV5ZSPte.js.map +1 -0
- package/lib/chunks/{DRduVW4g.js → DXC_9f-q.js} +8 -9
- package/lib/chunks/DXC_9f-q.js.map +1 -0
- package/lib/chunks/{BLr8TgRh.js → DXdJT4M0.js} +25 -17
- package/lib/chunks/DXdJT4M0.js.map +1 -0
- package/lib/chunks/{D9Echx9r.js → Djn1Rp_N.js} +3 -3
- package/lib/chunks/Djn1Rp_N.js.map +1 -0
- package/lib/chunks/{D0tiZKaf.js → DmTdAvWe.js} +12 -13
- package/lib/chunks/DmTdAvWe.js.map +1 -0
- package/lib/chunks/{D5RkBZJE.js → DnAZ6p-z.js} +14 -6
- package/lib/chunks/DnAZ6p-z.js.map +1 -0
- package/lib/chunks/{Db813MgD.js → DoepWRsZ.js} +6 -6
- package/lib/chunks/DoepWRsZ.js.map +1 -0
- package/lib/chunks/{DqUYPvIn.js → DqKQs13g.js} +3 -3
- package/lib/chunks/DqKQs13g.js.map +1 -0
- package/lib/chunks/{EelQetk6.js → DrF0ATcA.js} +37 -34
- package/lib/chunks/DrF0ATcA.js.map +1 -0
- package/lib/chunks/{tz0Bh9Z8.js → DsdQVWTB.js} +3 -3
- package/lib/chunks/DsdQVWTB.js.map +1 -0
- package/lib/chunks/{DSVxY6C7.js → DvEd9R66.js} +10 -10
- package/lib/chunks/DvEd9R66.js.map +1 -0
- package/lib/chunks/{CX8dhH-M.js → Dw0eh5bs.js} +8 -8
- package/lib/chunks/Dw0eh5bs.js.map +1 -0
- package/lib/chunks/{DSTJ3MSK.js → FrWVFdKQ.js} +14 -12
- package/lib/chunks/FrWVFdKQ.js.map +1 -0
- package/lib/chunks/{BNgq4BuF.js → H5IVoADZ.js} +14 -15
- package/lib/chunks/H5IVoADZ.js.map +1 -0
- package/lib/chunks/{CYRPDbVG.js → Iu-EbwF2.js} +5 -5
- package/lib/chunks/Iu-EbwF2.js.map +1 -0
- package/lib/chunks/{BXxMdriL.js → KBZz9QaC.js} +6 -6
- package/lib/chunks/KBZz9QaC.js.map +1 -0
- package/lib/chunks/{s_Ni5zLB.js → L6ajfD8u.js} +7 -5
- package/lib/chunks/L6ajfD8u.js.map +1 -0
- package/lib/chunks/{BojBx5-v.js → Phy2kPQC.js} +9 -9
- package/lib/chunks/Phy2kPQC.js.map +1 -0
- package/lib/chunks/{CgPB22cK.js → QxApAPdT.js} +12 -12
- package/lib/chunks/QxApAPdT.js.map +1 -0
- package/lib/chunks/{CmQ__yi8.js → TUozSxS9.js} +9 -9
- package/lib/chunks/TUozSxS9.js.map +1 -0
- package/lib/chunks/{BBMpl_6Z.js → VbXk2d9K.js} +5 -6
- package/lib/chunks/VbXk2d9K.js.map +1 -0
- package/lib/chunks/WPdRha9F.js +386 -0
- package/lib/chunks/WPdRha9F.js.map +1 -0
- package/lib/chunks/{COtP4i78.js → ZVbnP912.js} +8 -6
- package/lib/chunks/ZVbnP912.js.map +1 -0
- package/lib/chunks/{DT8vll7I.js → dhJIGyQF.js} +3 -3
- package/lib/chunks/dhJIGyQF.js.map +1 -0
- package/lib/chunks/{C31ijSxr.js → fNHaXmhd.js} +5 -6
- package/lib/chunks/fNHaXmhd.js.map +1 -0
- package/lib/chunks/{Dmy6HSxW.js → hwZvFgHO.js} +9 -9
- package/lib/chunks/hwZvFgHO.js.map +1 -0
- package/lib/chunks/{Cj6rhPzy.js → iDeTCDq_.js} +6 -4
- package/lib/chunks/iDeTCDq_.js.map +1 -0
- package/lib/chunks/{Dr50Ar0o.js → mgU9iOR9.js} +6 -6
- package/lib/chunks/mgU9iOR9.js.map +1 -0
- package/lib/chunks/{BM4sscSo.js → myVh41AJ.js} +10 -11
- package/lib/chunks/myVh41AJ.js.map +1 -0
- package/lib/chunks/{Bj3fdzsl.js → r_MRGDpW.js} +11 -11
- package/lib/chunks/r_MRGDpW.js.map +1 -0
- package/lib/chunks/{CO9XHBHh.js → sk5L-p1f.js} +1 -8
- package/lib/chunks/sk5L-p1f.js.map +1 -0
- package/lib/chunks/{D4z_uoOT.js → tfbQX_PY.js} +10 -10
- package/lib/chunks/tfbQX_PY.js.map +1 -0
- package/lib/chunks/{CLfdRjVn.js → wB86daFn.js} +3 -3
- package/lib/chunks/wB86daFn.js.map +1 -0
- package/lib/components/BryntumAIFilterField.js +1 -1
- 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/BryntumCalendarEditor.js +1 -1
- package/lib/components/BryntumCalendarField.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/BryntumChecklistFilterCombo.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/BryntumConstraintTypePicker.js +1 -1
- package/lib/components/BryntumContainer.js +1 -1
- package/lib/components/BryntumCostAccrualField.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/BryntumDependencyTypePicker.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/BryntumEffortField.js +1 -1
- package/lib/components/BryntumEndDateField.js +1 -1
- package/lib/components/BryntumEventColorField.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/BryntumGrid.js +1 -1
- package/lib/components/BryntumGridBase.js +1 -1
- package/lib/components/BryntumGridChartDesigner.js +1 -1
- package/lib/components/BryntumGridFieldFilterPicker.js +1 -1
- package/lib/components/BryntumGridFieldFilterPickerGroup.js +1 -1
- package/lib/components/BryntumGroupBar.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/BryntumModelCombo.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/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumRadio.js +1 -1
- package/lib/components/BryntumRadioGroup.js +1 -1
- package/lib/components/BryntumRateTableField.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumResourceEditor.js +1 -1
- package/lib/components/BryntumResourceFilter.js +1 -1
- package/lib/components/BryntumResourceGrid.js +1 -1
- package/lib/components/BryntumResourceHistogram.js +1 -1
- package/lib/components/BryntumResourceTypeField.js +1 -1
- package/lib/components/BryntumResourceUtilization.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerDatePicker.js +1 -1
- package/lib/components/BryntumSchedulerPro.js +1 -1
- package/lib/components/BryntumSchedulerProBase.js +1 -1
- package/lib/components/BryntumSchedulerProProjectModel.js +1 -1
- package/lib/components/BryntumSchedulingDirectionPicker.js +1 -1
- package/lib/components/BryntumSchedulingModePicker.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/BryntumStartDateField.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/BryntumTimeZoomSlider.js +5 -0
- package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
- package/lib/components/BryntumTimeline.js +1 -1
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumToolbar.js +1 -1
- package/lib/components/BryntumTreeCombo.js +1 -1
- package/lib/components/BryntumTreeGrid.js +1 -1
- package/lib/components/BryntumUndoRedo.js +1 -1
- package/lib/components/BryntumVersionGrid.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/components/BryntumWidget.js +1 -1
- package/lib/components/BryntumYearPicker.js +1 -1
- package/lib/index.js +187 -181
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BryntumAIFilterField.vue +73 -118
- package/src/components/BryntumAIFilterFieldProps.ts +69 -110
- package/src/components/BryntumBooleanCombo.vue +1248 -0
- package/src/components/BryntumBooleanComboProps.ts +789 -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/BryntumCalendarEditor.vue +127 -186
- package/src/components/BryntumCalendarEditorProps.ts +123 -177
- package/src/components/BryntumCalendarField.vue +91 -151
- package/src/components/BryntumCalendarFieldProps.ts +87 -143
- 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/BryntumChecklistFilterCombo.vue +90 -149
- package/src/components/BryntumChecklistFilterComboProps.ts +86 -141
- 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/BryntumConstraintTypePicker.vue +91 -151
- package/src/components/BryntumConstraintTypePickerProps.ts +87 -143
- package/src/components/BryntumContainer.vue +77 -123
- package/src/components/BryntumContainerProps.ts +73 -114
- package/src/components/BryntumCostAccrualField.vue +91 -151
- package/src/components/BryntumCostAccrualFieldProps.ts +87 -143
- 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/BryntumDependencyTypePicker.vue +91 -151
- package/src/components/BryntumDependencyTypePickerProps.ts +87 -143
- 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/BryntumEffortField.vue +79 -124
- package/src/components/BryntumEffortFieldProps.ts +73 -114
- package/src/components/BryntumEndDateField.vue +79 -122
- package/src/components/BryntumEndDateFieldProps.ts +75 -114
- package/src/components/BryntumEventColorField.vue +72 -116
- package/src/components/BryntumEventColorFieldProps.ts +68 -108
- 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/BryntumGrid.vue +203 -290
- package/src/components/BryntumGridBase.vue +203 -290
- package/src/components/BryntumGridBaseProps.ts +186 -261
- package/src/components/BryntumGridChartDesigner.vue +58 -94
- package/src/components/BryntumGridChartDesignerProps.ts +55 -88
- package/src/components/BryntumGridFieldFilterPicker.vue +81 -131
- package/src/components/BryntumGridFieldFilterPickerGroup.vue +80 -129
- package/src/components/BryntumGridFieldFilterPickerGroupProps.ts +76 -120
- package/src/components/BryntumGridFieldFilterPickerProps.ts +77 -122
- package/src/components/BryntumGridProps.ts +186 -261
- package/src/components/BryntumGroupBar.vue +64 -104
- package/src/components/BryntumGroupBarProps.ts +61 -98
- 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/BryntumModelCombo.vue +91 -151
- package/src/components/BryntumModelComboProps.ts +87 -143
- 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/BryntumProjectCombo.vue +90 -149
- package/src/components/BryntumProjectComboProps.ts +86 -141
- 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/BryntumRateTableField.vue +91 -151
- package/src/components/BryntumRateTableFieldProps.ts +87 -143
- package/src/components/BryntumResourceCombo.vue +91 -151
- package/src/components/BryntumResourceComboProps.ts +87 -143
- package/src/components/BryntumResourceEditor.vue +126 -184
- package/src/components/BryntumResourceEditorProps.ts +122 -175
- package/src/components/BryntumResourceFilter.vue +63 -104
- package/src/components/BryntumResourceFilterProps.ts +60 -98
- package/src/components/BryntumResourceGrid.vue +204 -293
- package/src/components/BryntumResourceGridProps.ts +187 -263
- package/src/components/BryntumResourceHistogram.vue +332 -457
- package/src/components/BryntumResourceHistogramProps.ts +286 -401
- package/src/components/BryntumResourceTypeField.vue +91 -151
- package/src/components/BryntumResourceTypeFieldProps.ts +87 -143
- package/src/components/BryntumResourceUtilization.vue +332 -457
- package/src/components/BryntumResourceUtilizationProps.ts +287 -403
- package/src/components/BryntumScheduler.vue +424 -597
- package/src/components/BryntumSchedulerBase.vue +424 -597
- package/src/components/BryntumSchedulerBaseProps.ts +367 -522
- package/src/components/BryntumSchedulerDatePicker.vue +120 -196
- package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
- package/src/components/BryntumSchedulerPro.vue +496 -641
- package/src/components/BryntumSchedulerProBase.vue +496 -641
- package/src/components/BryntumSchedulerProBaseProps.ts +406 -554
- package/src/components/BryntumSchedulerProProjectModel.vue +63 -107
- package/src/components/BryntumSchedulerProProjectModelProps.ts +55 -85
- package/src/components/BryntumSchedulerProProps.ts +406 -554
- package/src/components/BryntumSchedulerProps.ts +367 -522
- package/src/components/BryntumSchedulingDirectionPicker.vue +91 -151
- package/src/components/BryntumSchedulingDirectionPickerProps.ts +87 -143
- package/src/components/BryntumSchedulingModePicker.vue +92 -153
- package/src/components/BryntumSchedulingModePickerProps.ts +88 -145
- 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/BryntumStartDateField.vue +81 -126
- package/src/components/BryntumStartDateFieldProps.ts +77 -118
- 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/BryntumTimeZoomSlider.vue +828 -0
- package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
- package/src/components/BryntumTimeline.vue +422 -593
- package/src/components/BryntumTimelineHistogram.vue +319 -440
- package/src/components/BryntumTimelineHistogramProps.ts +274 -387
- package/src/components/BryntumTimelineProps.ts +365 -518
- package/src/components/BryntumToolbar.vue +81 -128
- package/src/components/BryntumToolbarProps.ts +77 -119
- package/src/components/BryntumTreeCombo.vue +91 -151
- package/src/components/BryntumTreeComboProps.ts +87 -143
- package/src/components/BryntumTreeGrid.vue +203 -290
- package/src/components/BryntumTreeGridProps.ts +186 -261
- package/src/components/BryntumUndoRedo.vue +78 -125
- package/src/components/BryntumUndoRedoProps.ts +74 -116
- package/src/components/BryntumVersionGrid.vue +203 -290
- package/src/components/BryntumVersionGridProps.ts +186 -261
- package/src/components/BryntumViewPresetCombo.vue +67 -107
- package/src/components/BryntumViewPresetComboProps.ts +63 -99
- 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 +5 -0
- package/lib/chunks/-5FxUYvw.js.map +0 -1
- package/lib/chunks/-LbEmUsU.js.map +0 -1
- package/lib/chunks/09C7SeH-.js.map +0 -1
- package/lib/chunks/1usmJD52.js.map +0 -1
- package/lib/chunks/8V3N-5u1.js.map +0 -1
- package/lib/chunks/B0EXdAco.js.map +0 -1
- package/lib/chunks/B1VhOPSe.js.map +0 -1
- package/lib/chunks/B5dpYiQ8.js.map +0 -1
- package/lib/chunks/B7i5Rt9H.js.map +0 -1
- package/lib/chunks/BBMpl_6Z.js.map +0 -1
- package/lib/chunks/BLr8TgRh.js.map +0 -1
- package/lib/chunks/BM4sscSo.js.map +0 -1
- package/lib/chunks/BNaV3PVX.js.map +0 -1
- package/lib/chunks/BNgq4BuF.js.map +0 -1
- package/lib/chunks/BTNZlbZs.js.map +0 -1
- package/lib/chunks/BXxMdriL.js.map +0 -1
- package/lib/chunks/BZ387MTP.js.map +0 -1
- package/lib/chunks/B_ohcsgg.js.map +0 -1
- package/lib/chunks/Bj3fdzsl.js.map +0 -1
- package/lib/chunks/BjDyOHhm.js.map +0 -1
- package/lib/chunks/BlUpo7k6.js.map +0 -1
- package/lib/chunks/BoMrTlH-.js.map +0 -1
- package/lib/chunks/BojBx5-v.js.map +0 -1
- package/lib/chunks/Bs2Rp7Bd.js.map +0 -1
- package/lib/chunks/Bsqsx-Tw.js.map +0 -1
- package/lib/chunks/BvR4S9u_.js.map +0 -1
- package/lib/chunks/C31ijSxr.js.map +0 -1
- package/lib/chunks/C9VfRGkX.js.map +0 -1
- package/lib/chunks/CGiavH63.js.map +0 -1
- package/lib/chunks/CHMTBLQr.js.map +0 -1
- package/lib/chunks/CLfdRjVn.js.map +0 -1
- package/lib/chunks/CO3bnnnn.js.map +0 -1
- package/lib/chunks/CO9XHBHh.js.map +0 -1
- package/lib/chunks/COtP4i78.js.map +0 -1
- package/lib/chunks/CSw0qNhi.js.map +0 -1
- package/lib/chunks/CWl5kkMv.js.map +0 -1
- package/lib/chunks/CX8dhH-M.js.map +0 -1
- package/lib/chunks/CYRPDbVG.js.map +0 -1
- package/lib/chunks/CgPB22cK.js.map +0 -1
- package/lib/chunks/ChK4HjnD.js.map +0 -1
- package/lib/chunks/ChuMO9x6.js.map +0 -1
- package/lib/chunks/CiT2xJtH.js.map +0 -1
- package/lib/chunks/Cj6rhPzy.js.map +0 -1
- package/lib/chunks/CmQ__yi8.js.map +0 -1
- package/lib/chunks/CmR4xSXT.js.map +0 -1
- package/lib/chunks/CpzSzcdC.js.map +0 -1
- package/lib/chunks/Cr-GFxZo.js.map +0 -1
- package/lib/chunks/CrBilakU.js.map +0 -1
- package/lib/chunks/CsrwX4w7.js.map +0 -1
- package/lib/chunks/CuunbhDZ.js.map +0 -1
- package/lib/chunks/CwSil0r4.js.map +0 -1
- package/lib/chunks/CzEU582B.js.map +0 -1
- package/lib/chunks/D-nG_aPt.js.map +0 -1
- package/lib/chunks/D0tiZKaf.js.map +0 -1
- package/lib/chunks/D4z_uoOT.js.map +0 -1
- package/lib/chunks/D5RkBZJE.js.map +0 -1
- package/lib/chunks/D6Oov_9z.js.map +0 -1
- package/lib/chunks/D9Echx9r.js.map +0 -1
- package/lib/chunks/D9c_tAF2.js.map +0 -1
- package/lib/chunks/DAYwB6ir.js.map +0 -1
- package/lib/chunks/DDzDNuKJ.js.map +0 -1
- package/lib/chunks/DHmSEy1C.js.map +0 -1
- package/lib/chunks/DIOKRNUc.js.map +0 -1
- package/lib/chunks/DLgDopMq.js.map +0 -1
- package/lib/chunks/DRduVW4g.js.map +0 -1
- package/lib/chunks/DSTJ3MSK.js.map +0 -1
- package/lib/chunks/DSVxY6C7.js.map +0 -1
- package/lib/chunks/DT8vll7I.js.map +0 -1
- package/lib/chunks/DTMg-GED.js.map +0 -1
- package/lib/chunks/Db813MgD.js.map +0 -1
- package/lib/chunks/Dd-c6XHV.js.map +0 -1
- package/lib/chunks/DevFExGL.js.map +0 -1
- package/lib/chunks/DhkvLPl8.js.map +0 -1
- package/lib/chunks/Dmy6HSxW.js.map +0 -1
- package/lib/chunks/DqUYPvIn.js.map +0 -1
- package/lib/chunks/Dr50Ar0o.js.map +0 -1
- package/lib/chunks/EelQetk6.js.map +0 -1
- package/lib/chunks/T_B5LoIS.js.map +0 -1
- package/lib/chunks/VwcYjQwL.js.map +0 -1
- package/lib/chunks/YI0l05ho.js.map +0 -1
- package/lib/chunks/YOo6mk1n.js.map +0 -1
- package/lib/chunks/YwIpKj_r.js.map +0 -1
- package/lib/chunks/Z-hZv4EF.js.map +0 -1
- package/lib/chunks/bXEO4MGk.js.map +0 -1
- package/lib/chunks/d2Hb-A1P.js.map +0 -1
- package/lib/chunks/hsN2-RZS.js.map +0 -1
- package/lib/chunks/m8kvDxYs.js.map +0 -1
- package/lib/chunks/s_Ni5zLB.js.map +0 -1
- package/lib/chunks/tz0Bh9Z8.js.map +0 -1
- package/lib/chunks/wrRRt2tA.js.map +0 -1
- package/lib/chunks/xlyK1Dgw.js.map +0 -1
|
@@ -62,6 +62,7 @@ const S = /* @__PURE__ */ h({
|
|
|
62
62
|
readOnly: {},
|
|
63
63
|
relayStoreEvents: {},
|
|
64
64
|
ripple: {},
|
|
65
|
+
role: {},
|
|
65
66
|
rootElement: {},
|
|
66
67
|
rtl: {},
|
|
67
68
|
scrollable: {},
|
|
@@ -121,6 +122,7 @@ const S = /* @__PURE__ */ h({
|
|
|
121
122
|
"preventTooltipOnTouch",
|
|
122
123
|
"relayStoreEvents",
|
|
123
124
|
"ripple",
|
|
125
|
+
"role",
|
|
124
126
|
"rootElement",
|
|
125
127
|
"scrollAction",
|
|
126
128
|
"showAnimation",
|
|
@@ -183,8 +185,6 @@ const S = /* @__PURE__ */ h({
|
|
|
183
185
|
"y"
|
|
184
186
|
],
|
|
185
187
|
propertyNames: [
|
|
186
|
-
"anchorSize",
|
|
187
|
-
"focusVisible",
|
|
188
188
|
"parent"
|
|
189
189
|
],
|
|
190
190
|
eventNames: [
|
|
@@ -230,4 +230,4 @@ const S = /* @__PURE__ */ h({
|
|
|
230
230
|
export {
|
|
231
231
|
S as _
|
|
232
232
|
};
|
|
233
|
-
//# sourceMappingURL=
|
|
233
|
+
//# sourceMappingURL=BIC-lAVW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BIC-lAVW.js","sources":["../../src/components/BryntumGridChartDesigner.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum GridChartDesigner -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Color, DomConfig, Grid, GridChartDesignerListeners, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/schedulerpro';\nimport { GridChartDesigner } from '@bryntum/schedulerpro';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-cls)\n */\n cls ? : string|object\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The HTML content that coexists with sibling elements which may have been added to the\n * [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.\n * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-htmlCls)\n * class added to its classList, to allow targeted styling.\n */\n content ? : string\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * [Grid](https://bryntum.com/products/schedulerpro/docs/api/Grid/view/Grid) whose selected cells will provide the data series for the chart.\n * Columns in the grid will become series available for use in the chart designer, and cell values\n * in the selected cells becomes data values shown in the preview chart.\n */\n grid ? : Grid\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * The HTML to display initially or a function returning the markup (called at widget construction time).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-html)\n * @param {Core.widget.Widget} widget The calling Widget\n */\n html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX\n /**\n * The CSS class(es) to add when HTML content is being applied to this widget.\n */\n htmlCls ? : string|object\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-listeners)\n */\n listeners ? : GridChartDesignerListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement), but must\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Whether this widget is read-only. This is only valid if the widget is an input\n * field, <strong>or contains input fields at any depth</strong>.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @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.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-role)\n */\n role ? : string\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll\n * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are\n * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to\n * CSS overflow properties thus:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-scrollable)\n */\n scrollable ? : Boolean|ScrollerConfig|Scroller\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Whether to update the chart designer's data series options and preview data as the\n * grid selection changes.\n */\n sync ? : Boolean\n /**\n * A configuration for the [tab](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for\n * this widget:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tag name of this Widget's root element\n */\n tag ? : string\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n type ? : 'gridchartdesigner'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-ui)\n */\n ui ? : string|object\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Grid/widget/GridChartDesigner#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : GridChartDesigner,\n instanceName : 'GridChartDesigner',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'bubbleEvents',\n 'centered',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'grid',\n 'hideAnimation',\n 'htmlCls',\n 'ignoreParentReadOnly',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'sync',\n 'tab',\n 'tag',\n 'textAlign',\n 'title',\n 'type',\n 'ui',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'content',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'html',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'readOnly',\n 'rtl',\n 'scrollable',\n 'span',\n 'tooltip',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'parent'\n ],\n eventNames : [\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show'\n ]\n};\n\nconst instance: {\n value?: GridChartDesigner\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof GridChartDesigner>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","GridChartDesigner","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwbA,UAAMA,IAAOC,GAqIPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAuC;AAAA,QAClE,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAvtBGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, ref as l, provide as m, onMounted as g, getCurrentInstance as b, toRaw as f, onBeforeUnmount as y, openBlock as C, createElementBlock as k, watch as x } from "vue";
|
|
2
|
-
import { SlideToggle as
|
|
2
|
+
import { SlideToggle as w } from "@bryntum/schedulerpro";
|
|
3
3
|
import { WrapperHelper as r } from "../helper/WrapperHelper.js";
|
|
4
4
|
const A = /* @__PURE__ */ u({
|
|
5
5
|
__name: "BryntumSlideToggle",
|
|
@@ -84,6 +84,7 @@ const A = /* @__PURE__ */ u({
|
|
|
84
84
|
required: {},
|
|
85
85
|
revertOnEscape: {},
|
|
86
86
|
ripple: {},
|
|
87
|
+
role: {},
|
|
87
88
|
rootElement: {},
|
|
88
89
|
rtl: {},
|
|
89
90
|
scrollAction: {},
|
|
@@ -111,9 +112,9 @@ const A = /* @__PURE__ */ u({
|
|
|
111
112
|
y: {}
|
|
112
113
|
},
|
|
113
114
|
emits: ["action", "beforeChange", "beforeDestroy", "beforeHide", "beforeShow", "catchAll", "change", "clear", "click", "destroy", "elementCreated", "focusIn", "focusOut", "hide", "input", "paint", "readOnly", "recompose", "resize", "show", "trigger"],
|
|
114
|
-
setup(
|
|
115
|
-
const d = c,
|
|
116
|
-
instanceClass:
|
|
115
|
+
setup(S, { expose: s, emit: c }) {
|
|
116
|
+
const d = c, o = {
|
|
117
|
+
instanceClass: w,
|
|
117
118
|
instanceName: "SlideToggle",
|
|
118
119
|
configNames: [
|
|
119
120
|
"adopt",
|
|
@@ -168,6 +169,7 @@ const A = /* @__PURE__ */ u({
|
|
|
168
169
|
"relayStoreEvents",
|
|
169
170
|
"revertOnEscape",
|
|
170
171
|
"ripple",
|
|
172
|
+
"role",
|
|
171
173
|
"rootElement",
|
|
172
174
|
"scrollAction",
|
|
173
175
|
"showAnimation",
|
|
@@ -246,10 +248,8 @@ const A = /* @__PURE__ */ u({
|
|
|
246
248
|
"y"
|
|
247
249
|
],
|
|
248
250
|
propertyNames: [
|
|
249
|
-
"anchorSize",
|
|
250
251
|
"content",
|
|
251
252
|
"editable",
|
|
252
|
-
"focusVisible",
|
|
253
253
|
"html",
|
|
254
254
|
"input",
|
|
255
255
|
"parent",
|
|
@@ -279,24 +279,24 @@ const A = /* @__PURE__ */ u({
|
|
|
279
279
|
"show",
|
|
280
280
|
"trigger"
|
|
281
281
|
]
|
|
282
|
-
}, e = {}, t = l(),
|
|
283
|
-
return m("teleports",
|
|
282
|
+
}, e = {}, t = l(), i = l(/* @__PURE__ */ new Map());
|
|
283
|
+
return m("teleports", i), g(() => {
|
|
284
284
|
const n = b();
|
|
285
285
|
e.value = r.createWidget({
|
|
286
286
|
me: n,
|
|
287
|
-
widgetData:
|
|
287
|
+
widgetData: o,
|
|
288
288
|
emit: d,
|
|
289
289
|
element: t.value,
|
|
290
290
|
toRaw: f
|
|
291
291
|
});
|
|
292
292
|
const a = (p, h) => x(() => n.props[p], h);
|
|
293
|
-
r.watchProps(e.value,
|
|
293
|
+
r.watchProps(e.value, o, a);
|
|
294
294
|
}), y(() => {
|
|
295
295
|
e.value?.destroy?.();
|
|
296
296
|
}), s({
|
|
297
297
|
instance: e,
|
|
298
298
|
refElement: t,
|
|
299
|
-
teleports:
|
|
299
|
+
teleports: i
|
|
300
300
|
}), (n, a) => (C(), k("div", {
|
|
301
301
|
ref_key: "refElement",
|
|
302
302
|
ref: t
|
|
@@ -306,4 +306,4 @@ const A = /* @__PURE__ */ u({
|
|
|
306
306
|
export {
|
|
307
307
|
A as _
|
|
308
308
|
};
|
|
309
|
-
//# sourceMappingURL=
|
|
309
|
+
//# sourceMappingURL=BMszmpSq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BMszmpSq.js","sources":["../../src/components/BryntumSlideToggle.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum SlideToggle -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Checkbox, ContainerItemConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, MaskConfig, Rectangle, SlideToggleListeners, TabConfig, TooltipConfig, Widget } from '@bryntum/schedulerpro';\nimport { SlideToggle } from '@bryntum/schedulerpro';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Specify `true` to automatically [collapse](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FieldContainer#config-collapsed) the field's\n * [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox#config-container) when the field is not [checked](#Core/widget/Checkbox#property-checked).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-autoCollapse)\n * @returns {boolean}\n */\n autoCollapse ? : Boolean|(() => Boolean)\n /**\n * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n */\n autoComplete ? : string\n /**\n * Specify `true` to auto select field contents on focus\n */\n autoSelect ? : Boolean\n /**\n * Initial text to show in badge.\n */\n badge ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * The checked state. The same as `value`.\n */\n checked ? : Boolean\n /**\n * The value to provide for this widget in [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values) when it is\n * [checked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox#property-checked).\n * A value of `undefined` will cause this widget not to include its value when checked.\n */\n checkedValue ? : any\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-cls)\n */\n cls ? : string|object\n /**\n * Checkbox color, must have match in CSS\n */\n color ? : string\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The configuration for additional items associated to this field. This is typically used to add contextual\n * fields related to a [checkbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See\n * these classes for examples of nested fields.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-container)\n */\n container ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|FieldContainerConfig\n /**\n * The config controls how the value of nested items are handled when a parent container gets or sets its\n * [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-containValues)\n * @param {Core.widget.Field} field Field instance\n * @returns {boolean}\n */\n containValues ? : Boolean|string|((field: Field) => Boolean)\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Specify `true` to highlight field after external value changes\n */\n highlightExternalChange ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/schedulerpro/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Set this config to `true` to always display items horizontally along with this field. This assigns an\n * [hbox](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-inline)\n */\n inline ? : Boolean\n /**\n * Text alignment for the input field.\n */\n inputAlign ? : string\n /**\n * Sets custom attributes of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)\n */\n inputAttributes ? : Record<string, string>\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).\n */\n inputType ? : string\n /**\n * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any\n * triggers. If a number is specified, `px` will be used.\n */\n inputWidth ? : string|number\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The delay in milliseconds to wait after the last keystroke before triggering a change event.\n * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have\n * immediate feedback, change will still be triggered on blur).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-keyStrokeChangeDelay)\n */\n keyStrokeChangeDelay ? : number\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-labels)\n * @property {string} html Label text\n * @property {'start','end'} align Which end of the file the label should go\n */\n labels ? : object[]\n /**\n * The width to apply to the `<label>` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-listeners)\n */\n listeners ? : SlideToggleListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-name)\n */\n name ? : string\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement), but must\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will\n * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * If this field is not [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing\n * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when\n * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#config-clearable)\n * behaviour will be activated.\n */\n revertOnEscape ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @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.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-role)\n */\n role ? : string\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)\n */\n spellCheck ? : Boolean\n /**\n * A configuration for the [tab](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for\n * this widget:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`\n * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable\n * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set\n * to the element programmatically.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-tabIndex)\n */\n tabIndex ? : number\n /**\n * Text to display on checkbox label\n */\n text ? : string\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * The triggers to add either before or after the input field. Each property name is the reference by which\n * an instantiated Trigger Widget may be retrieved from the live `triggers` property.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'slidetoggle'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-ui)\n */\n ui ? : string|object\n /**\n * The value to provide for this widget in [values](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-values) when it is not\n * [checked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Checkbox#property-checked).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-uncheckedValue)\n */\n uncheckedValue ? : any\n /**\n * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press\n * or similar.\n */\n validateOnInput ? : Boolean\n /**\n * The value of the checkbox. This is the same as `checked`.\n */\n value ? : Boolean\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * User performed the default action (toggled the checkbox)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Checkbox} params.event.source Checkbox\n * @param {boolean} params.event.checked Checked state (=value)\n * @param {boolean} params.event.value This field's value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {boolean} params.event.oldValue This field's previous value\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {Event} params.event.event The triggering DOM event if any\n */\n (e: 'action', params: ((event: { source: Checkbox, checked: boolean, value: boolean, valid: boolean, oldValue: boolean, userAction: boolean, event: Event }) => void)|string): void\n /**\n * Fired before checkbox is toggled. Returning false from a listener prevents the checkbox from being toggled.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Checkbox} params.event.source Checkbox\n * @param {boolean} params.event.checked Checked state (=value)\n * @param {boolean} params.event.value This field's value\n * @param {boolean} params.event.oldValue This field's previous value\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.valid True if this field is in a valid state.\n * @param {Event} params.event.event The triggering DOM event if any\n */\n (e: 'beforeChange', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired when checkbox is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Checkbox} params.event.source Checkbox\n * @param {boolean} params.event.checked Checked state (=value)\n * @param {boolean} params.event.value This field's value\n * @param {boolean} params.event.oldValue This field's previous value\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.valid True if this field is in a valid state.\n * @param {Event} params.event.event The triggering DOM event if any\n */\n (e: 'change', params: ((event: { source: Checkbox, checked: boolean, value: boolean, oldValue: boolean, userAction: boolean, valid: boolean, event: Event }) => void)|string): void\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => void)|string): void\n /**\n * Fires when the checkbox is clicked\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Checkbox} params.event.source The checkbox\n * @param {Event} params.event.event DOM event\n */\n (e: 'click', params: ((event: { source: Checkbox, event: Event }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Fired when the user types into this field.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {Event} params.event.event The triggering DOM event\n */\n (e: 'input', params: ((event: { source: Field|any, value: string|number|boolean|any, event: Event }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/SlideToggle#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : SlideToggle,\n instanceName : 'SlideToggle',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoCollapse',\n 'autoComplete',\n 'autoSelect',\n 'bubbleEvents',\n 'centered',\n 'checkedValue',\n 'color',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'highlightExternalChange',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inline',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputType',\n 'inputWidth',\n 'keyStrokeChangeDelay',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'spellCheck',\n 'tab',\n 'tabIndex',\n 'text',\n 'textAlign',\n 'title',\n 'type',\n 'ui',\n 'uncheckedValue',\n 'validateOnInput',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'checked',\n 'cls',\n 'column',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'name',\n 'onAction',\n 'onBeforeChange',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onClick',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'onTrigger',\n 'readOnly',\n 'required',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'tooltip',\n 'triggers',\n 'value',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'content',\n 'editable',\n 'html',\n 'input',\n 'parent',\n 'placeholder',\n 'scrollable'\n ],\n eventNames : [\n 'action',\n 'beforeChange',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'click',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: SlideToggle\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof SlideToggle>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","SlideToggle","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAslBA,UAAMA,IAAOC,GAoNPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAiC;AAAA,QAC5D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAp/BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as h, ref as l, provide as u, onMounted as f, getCurrentInstance as g, toRaw as
|
|
1
|
+
import { defineComponent as h, ref as l, provide as u, onMounted as f, getCurrentInstance as g, toRaw as b, onBeforeUnmount as y, openBlock as C, createElementBlock as w, watch as S } from "vue";
|
|
2
2
|
import { FilePicker as x } from "@bryntum/schedulerpro";
|
|
3
3
|
import { WrapperHelper as r } from "../helper/WrapperHelper.js";
|
|
4
4
|
const B = /* @__PURE__ */ h({
|
|
@@ -54,6 +54,7 @@ const B = /* @__PURE__ */ h({
|
|
|
54
54
|
items: {},
|
|
55
55
|
keyMap: {},
|
|
56
56
|
labelPosition: {},
|
|
57
|
+
labelWidth: {},
|
|
57
58
|
layout: {},
|
|
58
59
|
layoutStyle: {},
|
|
59
60
|
lazyItems: {},
|
|
@@ -78,6 +79,7 @@ const B = /* @__PURE__ */ h({
|
|
|
78
79
|
relayStoreEvents: {},
|
|
79
80
|
rendition: {},
|
|
80
81
|
ripple: {},
|
|
82
|
+
role: {},
|
|
81
83
|
rootElement: {},
|
|
82
84
|
rtl: {},
|
|
83
85
|
scrollable: {},
|
|
@@ -149,6 +151,7 @@ const B = /* @__PURE__ */ h({
|
|
|
149
151
|
"preventTooltipOnTouch",
|
|
150
152
|
"relayStoreEvents",
|
|
151
153
|
"ripple",
|
|
154
|
+
"role",
|
|
152
155
|
"rootElement",
|
|
153
156
|
"scrollAction",
|
|
154
157
|
"showAnimation",
|
|
@@ -185,6 +188,7 @@ const B = /* @__PURE__ */ h({
|
|
|
185
188
|
"items",
|
|
186
189
|
"keyMap",
|
|
187
190
|
"labelPosition",
|
|
191
|
+
"labelWidth",
|
|
188
192
|
"layout",
|
|
189
193
|
"layoutStyle",
|
|
190
194
|
"margin",
|
|
@@ -225,11 +229,6 @@ const B = /* @__PURE__ */ h({
|
|
|
225
229
|
"y"
|
|
226
230
|
],
|
|
227
231
|
propertyNames: [
|
|
228
|
-
"anchorSize",
|
|
229
|
-
"focusVisible",
|
|
230
|
-
"hasChanges",
|
|
231
|
-
"isSettingValues",
|
|
232
|
-
"isValid",
|
|
233
232
|
"parent",
|
|
234
233
|
"values"
|
|
235
234
|
],
|
|
@@ -261,17 +260,17 @@ const B = /* @__PURE__ */ h({
|
|
|
261
260
|
widgetData: n,
|
|
262
261
|
emit: d,
|
|
263
262
|
element: t.value,
|
|
264
|
-
toRaw:
|
|
263
|
+
toRaw: b
|
|
265
264
|
});
|
|
266
|
-
const a = (m, p) =>
|
|
265
|
+
const a = (m, p) => S(() => o.props[m], p);
|
|
267
266
|
r.watchProps(e.value, n, a);
|
|
268
|
-
}),
|
|
267
|
+
}), y(() => {
|
|
269
268
|
e.value?.destroy?.();
|
|
270
269
|
}), s({
|
|
271
270
|
instance: e,
|
|
272
271
|
refElement: t,
|
|
273
272
|
teleports: i
|
|
274
|
-
}), (o, a) => (C(),
|
|
273
|
+
}), (o, a) => (C(), w("div", {
|
|
275
274
|
ref_key: "refElement",
|
|
276
275
|
ref: t
|
|
277
276
|
}, null, 512));
|
|
@@ -280,4 +279,4 @@ const B = /* @__PURE__ */ h({
|
|
|
280
279
|
export {
|
|
281
280
|
B as _
|
|
282
281
|
};
|
|
283
|
-
//# sourceMappingURL
|
|
282
|
+
//# sourceMappingURL=BNSEzjia.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BNSEzjia.js","sources":["../../src/components/BryntumFilePicker.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum FilePicker -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, ButtonConfig, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, FileFieldConfig, FilePickerListeners, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/schedulerpro';\nimport { FilePicker } from '@bryntum/schedulerpro';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Update assigned [record](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-record) automatically on field changes\n */\n autoUpdateRecord ? : Boolean\n /**\n * Set `true` to add a border to this container's element.\n */\n border ? : Boolean\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Wrapper button config object. See [Button](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Button) for list of available configs.\n */\n buttonConfig ? : ButtonConfig\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-cls)\n */\n cls ? : string|object\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The HTML content that coexists with sibling elements which may have been added to the\n * [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.\n * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-htmlCls)\n * class added to its classList, to allow targeted styling.\n */\n content ? : string\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this FilePicker. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * A [query](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which\n * focus should be directed by default.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-defaultFocus)\n * @param {Core.widget.Widget} widget Widget passed to method\n * @returns {boolean} truthy value if widget is the default one\n */\n defaultFocus ? : ((widget: Widget) => Boolean)|string\n /**\n * A config object containing default settings to apply to all child widgets.\n */\n defaults ? : ContainerItemConfig\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * Underlying field config object. See [FileField](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FileField) for list of available configs.\n */\n fileFieldConfig ? : FileFieldConfig\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Specify `true` to make this container hide when it has no visible children (Either empty\n * or all children hidden).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-hideWhenEmpty)\n */\n hideWhenEmpty ? : Boolean\n /**\n * The HTML to display initially or a function returning the markup (called at widget construction time).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-html)\n * @param {Core.widget.Widget} widget The calling Widget\n */\n html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX\n /**\n * The CSS class(es) to add when HTML content is being applied to this widget.\n */\n htmlCls ? : string|object\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Convenience setting to align input fields of child widgets. By default, the Field input element is\n * placed immediately following the `label`. If you prefer to have all input fields aligned to the\n * right, set this config to `'end'`.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-inputFieldAlign)\n */\n inputFieldAlign ? : 'start'|'end'\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An optional CSS class to add to child items of this container.\n */\n itemCls ? : string\n /**\n * An object containing typed child widget config objects or Widgets. May also be specified\n * as an array.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-items)\n */\n items ? : Record<string, ContainerItemConfig|MenuItemEntry>|(ContainerItemConfig|MenuItemEntry|Widget)[]\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * Convenience setting to use same label placement on all child widgets.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|'align-before'|'auto'|null\n /**\n * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-labelWidth)\n */\n labelWidth ? : number|null\n /**\n * The short name of a helper class which manages rendering and styling of child items.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-layout)\n */\n layout ? : string|ContainerLayoutConfig\n /**\n * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-layoutStyle)\n */\n layoutStyle ? : object\n /**\n * An array of [child item](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into\n * instances only when this Container is rendered, rather than eagerly at construct time.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-lazyItems)\n */\n lazyItems ? : Record<string, ContainerItemConfig>|ContainerItemConfig[]|Widget[]\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-listeners)\n */\n listeners ? : FilePickerListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-items)\n * config. For example, a specialized [Menu](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Menu) subclass may have a `namedItems` default\n * value defined like this:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-namedItems)\n */\n namedItems ? : Record<string, ContainerItemConfig>\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement), but must\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Whether this widget is read-only. This is only valid if the widget is an input\n * field, <strong>or contains input fields at any depth</strong>.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * [Record](https://bryntum.com/products/schedulerpro/docs/api/Core/data/Model) whose values will be used to populate fields in the container.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-record)\n */\n record ? : Model\n relayStoreEvents ? : Boolean\n /**\n * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget\n * `type`.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-rendition)\n */\n rendition ? : string|Record<string, string>|null\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [focusElement](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @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.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-role)\n */\n role ? : string\n /**\n * 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`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll\n * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are\n * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to\n * CSS overflow properties thus:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-scrollable)\n */\n scrollable ? : Boolean|ScrollerConfig|Scroller\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * Set to `false` to hide the badge indicating the number of files selected\n */\n showBadge ? : Boolean\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#config-record),\n * without falling back to `ref`.\n */\n strictRecordMapping ? : Boolean\n /**\n * A configuration for the [tab](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for\n * this widget:\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * When this container is used as a tab in a TabPanel, these items are added to the\n * [TabBar](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/TabBar) when this container is the active tab.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-tabBarItems)\n */\n tabBarItems ? : ToolbarItems[]|Widget[]\n /**\n * The tag name of this Widget's root element\n */\n tag ? : string\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`\n * which specifies a default max-width that makes long text more readable.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-textContent)\n */\n textContent ? : Boolean\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n type ? : 'filepicker'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-ui)\n */\n ui ? : string|object\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fired before this container will load record values into its child fields. This is useful if you\n * want to modify the UI before data is loaded (e.g. set some input field to be readonly)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container\n * @param {Core.data.Model} params.event.record The record\n */\n (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget,any} params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fires after user closes file picker dialog.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {FileList} params.event.files List of picked files\n */\n (e: 'change', params: ((event: { files: FileList }) => void)|string): void\n /**\n * Fires when field is cleared with [clear](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#function-clear) method\n */\n (e: 'clear', params: (() => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Container#property-hasChanges) property changes\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container.\n * @param {boolean} params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.\n */\n (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/FilePicker#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {boolean} params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/schedulerpro/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : FilePicker,\n instanceName : 'FilePicker',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoUpdateRecord',\n 'border',\n 'bubbleEvents',\n 'buttonConfig',\n 'centered',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'defaultFocus',\n 'defaults',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'fileFieldConfig',\n 'floating',\n 'hideAnimation',\n 'hideWhenEmpty',\n 'htmlCls',\n 'ignoreParentReadOnly',\n 'itemCls',\n 'lazyItems',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'namedItems',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'tab',\n 'tabBarItems',\n 'tag',\n 'textAlign',\n 'textContent',\n 'title',\n 'type',\n 'ui',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'content',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'html',\n 'id',\n 'inputFieldAlign',\n 'insertBefore',\n 'insertFirst',\n 'items',\n 'keyMap',\n 'labelPosition',\n 'labelWidth',\n 'layout',\n 'layoutStyle',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeSetRecord',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onDirtyStateChange',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'readOnly',\n 'record',\n 'rendition',\n 'rtl',\n 'scrollable',\n 'showBadge',\n 'span',\n 'strictRecordMapping',\n 'tooltip',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'parent',\n 'values'\n ],\n eventNames : [\n 'beforeDestroy',\n 'beforeHide',\n 'beforeSetRecord',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'dirtyStateChange',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show'\n ]\n};\n\nconst instance: {\n value?: FilePicker\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof FilePicker>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","FilePicker","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiiBA,UAAMA,IAAOC,GAoKPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAgC;AAAA,QAC3D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBA53BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|