@synergy-design-system/components 2.4.3 → 2.6.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/dist/chunks/chunk.277APOW3.js +277 -0
- package/dist/chunks/chunk.277APOW3.js.map +7 -0
- package/dist/chunks/{chunk.QZNPL6WK.js → chunk.27HWF7JY.js} +12 -2
- package/dist/chunks/{chunk.QZNPL6WK.js.map → chunk.27HWF7JY.js.map} +2 -2
- package/dist/chunks/{chunk.Y4LO5L6L.js → chunk.2IEYCSI6.js} +4 -4
- package/dist/chunks/{chunk.NH5UF5W4.js → chunk.2TVDQYJX.js} +12 -12
- package/dist/chunks/{chunk.XVFSTDCI.js → chunk.2VMSUMKU.js} +2 -2
- package/dist/chunks/{chunk.KP7ABNMV.js → chunk.3HG7LHI7.js} +8 -8
- package/dist/chunks/{chunk.MIF4NFFN.js → chunk.3I5JDTGT.js} +3 -3
- package/dist/chunks/{chunk.MIF4NFFN.js.map → chunk.3I5JDTGT.js.map} +1 -1
- package/dist/chunks/{chunk.BCREP7HQ.js → chunk.3SWRT4AL.js} +2 -2
- package/dist/chunks/{chunk.OPAVUSG6.js → chunk.4DCKHPZX.js} +6 -6
- package/dist/chunks/{chunk.DOHCZXOF.js → chunk.4PD74CS6.js} +2 -2
- package/dist/chunks/{chunk.5CL6DHME.js → chunk.4SSPQ66Z.js} +4 -4
- package/dist/chunks/{chunk.GJPZZH76.js → chunk.536NCWEA.js} +2 -2
- package/dist/chunks/{chunk.AV56MW4Q.js → chunk.543GQUFN.js} +4 -4
- package/dist/chunks/{chunk.AD7URUHH.js → chunk.63P7MT4J.js} +2 -2
- package/dist/chunks/{chunk.VA5J6CGG.js → chunk.6BJDFV76.js} +2 -2
- package/dist/chunks/{chunk.VNQF6LEZ.js → chunk.6RTGL3PP.js} +2 -2
- package/dist/chunks/{chunk.FO3NV7MY.js → chunk.72I324LK.js} +12 -10
- package/dist/chunks/{chunk.FO3NV7MY.js.map → chunk.72I324LK.js.map} +1 -1
- package/dist/chunks/{chunk.SDQC32B3.js → chunk.AINKZEUX.js} +3 -1
- package/dist/chunks/{chunk.SDQC32B3.js.map → chunk.AINKZEUX.js.map} +2 -2
- package/dist/chunks/{chunk.5BUBL7JY.js → chunk.AMAMIZIA.js} +2 -2
- package/dist/chunks/{chunk.H4EFGKKT.js → chunk.AQ3OGEJ7.js} +2 -2
- package/dist/chunks/{chunk.NUHI5YB7.js → chunk.AQJKRHVT.js} +11 -11
- package/dist/chunks/{chunk.ZBYQDVMH.js → chunk.AZVHDONN.js} +15 -13
- package/dist/chunks/{chunk.ZBYQDVMH.js.map → chunk.AZVHDONN.js.map} +1 -1
- package/dist/chunks/chunk.C2ENQBPM.js +17 -0
- package/dist/chunks/chunk.C2ENQBPM.js.map +7 -0
- package/dist/chunks/{chunk.MVZJDKSR.js → chunk.CFXNQ5IS.js} +9 -9
- package/dist/chunks/{chunk.KOZGQJ42.js → chunk.CGOHWVSA.js} +3 -3
- package/dist/chunks/{chunk.PMC3VAD6.js → chunk.CRU7ZSDO.js} +2 -2
- package/dist/chunks/{chunk.6JHUWKC2.js → chunk.D3FO6WR5.js} +6 -6
- package/dist/chunks/{chunk.SMPYVOTL.js → chunk.D3NSCKGB.js} +2 -2
- package/dist/chunks/{chunk.JBW7QDPF.js → chunk.D65RJIQG.js} +2 -2
- package/dist/chunks/{chunk.4H3F5YVU.js → chunk.DRA2UZ77.js} +4 -4
- package/dist/chunks/{chunk.W2S2MTUW.js → chunk.E35IIEQ7.js} +2 -2
- package/dist/chunks/{chunk.NMM47RXC.js → chunk.EIKNGXXK.js} +2 -2
- package/dist/chunks/{chunk.4HSU3RZA.js → chunk.EJNLN3CX.js} +2 -2
- package/dist/chunks/{chunk.J47HF5GZ.js → chunk.F6HHFAPB.js} +6 -6
- package/dist/chunks/{chunk.UWNJQDZP.js → chunk.FIIQJSVJ.js} +5 -5
- package/dist/chunks/{chunk.CX4QZVGR.js → chunk.FKKJBKYL.js} +3 -6
- package/dist/chunks/{chunk.CX4QZVGR.js.map → chunk.FKKJBKYL.js.map} +2 -2
- package/dist/chunks/{chunk.PYLHI2JQ.js → chunk.FMSA5VHT.js} +3 -17
- package/dist/chunks/{chunk.PYLHI2JQ.js.map → chunk.FMSA5VHT.js.map} +3 -3
- package/dist/chunks/{chunk.TFC66SL6.js → chunk.FRELNK6W.js} +12 -10
- package/dist/chunks/{chunk.TFC66SL6.js.map → chunk.FRELNK6W.js.map} +1 -1
- package/dist/chunks/{chunk.B4PYRXCV.js → chunk.GKKENNQE.js} +13 -11
- package/dist/chunks/{chunk.B4PYRXCV.js.map → chunk.GKKENNQE.js.map} +1 -1
- package/dist/chunks/{chunk.4HBNKWDI.js → chunk.GQMLBFF3.js} +2 -2
- package/dist/chunks/{chunk.ZBJXFMXI.js → chunk.GVPQNGY3.js} +9 -9
- package/dist/chunks/{chunk.2BKN4SVL.js → chunk.H43NLW3K.js} +2 -2
- package/dist/chunks/{chunk.SW3NDC4L.js → chunk.HE4KPEL6.js} +2 -2
- package/dist/chunks/{chunk.R7FWD6IV.js → chunk.HIIXDCGP.js} +4 -4
- package/dist/chunks/{chunk.QNDC5KWA.js → chunk.HLQ75E45.js} +27 -1
- package/dist/chunks/{chunk.GCI7QWTQ.js → chunk.HVKRSLBD.js} +9 -9
- package/dist/chunks/{chunk.RILCNQ7U.js → chunk.I6ROVIIB.js} +2 -2
- package/dist/chunks/chunk.I6YARDHH.js +39 -0
- package/dist/chunks/chunk.I6YARDHH.js.map +7 -0
- package/dist/chunks/chunk.IJ67S5B6.js +12 -0
- package/dist/chunks/chunk.IJ67S5B6.js.map +7 -0
- package/dist/chunks/chunk.IKZOQ7AE.js +184 -0
- package/dist/chunks/chunk.IKZOQ7AE.js.map +7 -0
- package/dist/chunks/{chunk.TQMD3CRX.js → chunk.INQ5T33N.js} +2 -2
- package/dist/chunks/{chunk.QJMO7V5R.js → chunk.ITKS5ZOS.js} +2 -2
- package/dist/chunks/{chunk.VHASVP7B.js → chunk.ITW4C543.js} +8 -8
- package/dist/chunks/{chunk.Z2XKAE7D.js → chunk.ITWCPUOB.js} +13 -11
- package/dist/chunks/{chunk.Z2XKAE7D.js.map → chunk.ITWCPUOB.js.map} +1 -1
- package/dist/chunks/{chunk.XMS3V7AX.js → chunk.J2EUQLBR.js} +5 -5
- package/dist/chunks/{chunk.A54YJOJZ.js → chunk.J5H7WYNF.js} +2 -2
- package/dist/chunks/{chunk.EHZE3CKH.js → chunk.JUZCWVBF.js} +8 -8
- package/dist/chunks/{chunk.LITNZ5UP.js → chunk.K26XKBB4.js} +4 -4
- package/dist/chunks/{chunk.YLRQUWVH.js → chunk.K5OP4LDM.js} +2 -2
- package/dist/chunks/{chunk.Q63T23NX.js → chunk.KCVQQRVW.js} +2 -2
- package/dist/chunks/{chunk.MSUX23ZJ.js → chunk.KL7CAPPJ.js} +2 -2
- package/dist/chunks/chunk.LGCK4I4E.js +12 -0
- package/dist/chunks/chunk.LGCK4I4E.js.map +7 -0
- package/dist/chunks/{chunk.7MRLMCDG.js → chunk.LH75WEHB.js} +16 -14
- package/dist/chunks/{chunk.7MRLMCDG.js.map → chunk.LH75WEHB.js.map} +1 -1
- package/dist/chunks/{chunk.QGODDF6V.js → chunk.LQCQI2F4.js} +2 -2
- package/dist/chunks/{chunk.WM3ZKNS4.js → chunk.M2JYB7TN.js} +2 -2
- package/dist/chunks/chunk.MCWFKLR3.js +49 -0
- package/dist/chunks/chunk.MCWFKLR3.js.map +7 -0
- package/dist/chunks/{chunk.2FHYURSV.js → chunk.MM55BLFM.js} +3 -3
- package/dist/chunks/{chunk.FZKUXUK6.js → chunk.NCXSLHHQ.js} +7 -7
- package/dist/chunks/{chunk.TJADLTCQ.js → chunk.NFYLQHRP.js} +17 -15
- package/dist/chunks/{chunk.TJADLTCQ.js.map → chunk.NFYLQHRP.js.map} +1 -1
- package/dist/chunks/{chunk.QH5LWFIU.js → chunk.NPHJNN2T.js} +3 -3
- package/dist/chunks/{chunk.LVMOATGP.js → chunk.NREQNXC6.js} +5 -5
- package/dist/chunks/chunk.OOFVD7M5.js +483 -0
- package/dist/chunks/chunk.OOFVD7M5.js.map +7 -0
- package/dist/chunks/{chunk.5UWGWBIX.js → chunk.OQQ3RUCC.js} +2 -2
- package/dist/chunks/{chunk.KBUOEYFD.js → chunk.OUEA3H7P.js} +6 -6
- package/dist/chunks/{chunk.DXNSNACZ.js → chunk.OZGGB3YU.js} +2 -2
- package/dist/chunks/{chunk.XHVDKQO2.js → chunk.PAFCMQM4.js} +2 -2
- package/dist/chunks/{chunk.XRRZVMQT.js → chunk.PN2B3HKP.js} +2 -2
- package/dist/chunks/{chunk.KDBBMF6R.js → chunk.PPKWM5KJ.js} +7 -7
- package/dist/chunks/{chunk.E3KW3KQM.js → chunk.QQ3HY3YJ.js} +2 -2
- package/dist/chunks/{chunk.E3KW3KQM.js.map → chunk.QQ3HY3YJ.js.map} +1 -1
- package/dist/chunks/{chunk.MXCWG2OM.js → chunk.R4Y2EU76.js} +2 -2
- package/dist/chunks/{chunk.JBSLSPA4.js → chunk.R6T4FYGP.js} +2 -2
- package/dist/chunks/{chunk.DFR3UNMT.js → chunk.RU5QGDNJ.js} +7 -7
- package/dist/chunks/{chunk.5C2N3OG3.js → chunk.S35OARTV.js} +2 -2
- package/dist/chunks/{chunk.4ZAIWKYK.js → chunk.T2BHFREJ.js} +4 -4
- package/dist/chunks/{chunk.DNYMFI4T.js → chunk.TOWZTCAT.js} +2 -2
- package/dist/chunks/{chunk.R2MO73SN.js → chunk.U7XXAVXV.js} +2 -2
- package/dist/chunks/{chunk.MQMVF4PW.js → chunk.UCZUWSO5.js} +8 -8
- package/dist/chunks/{chunk.5KE7YYYL.js → chunk.ULJBPLL6.js} +3 -3
- package/dist/chunks/{chunk.PD4GEYPT.js → chunk.UQOWSCP3.js} +2 -2
- package/dist/chunks/{chunk.4UGAAIOV.js → chunk.UYCIME52.js} +8 -8
- package/dist/chunks/{chunk.AVNL6XBJ.js → chunk.UYMVCZFD.js} +5 -5
- package/dist/chunks/{chunk.PVBLEKYQ.js → chunk.VB7U5SK7.js} +2 -2
- package/dist/chunks/{chunk.CN4QRO22.js → chunk.VXAM5HPM.js} +2 -2
- package/dist/chunks/chunk.WO6VXGWQ.js +34 -0
- package/dist/chunks/chunk.WO6VXGWQ.js.map +7 -0
- package/dist/chunks/chunk.WYQ7ZY3X.js +12 -0
- package/dist/chunks/chunk.WYQ7ZY3X.js.map +7 -0
- package/dist/chunks/{chunk.DCILBP5O.js → chunk.WZ3DZS4C.js} +2 -2
- package/dist/chunks/chunk.X7LEPG3A.js +681 -0
- package/dist/chunks/chunk.X7LEPG3A.js.map +7 -0
- package/dist/chunks/{chunk.STPTOC6W.js → chunk.X7TL7T7R.js} +2 -2
- package/dist/chunks/{chunk.IUBRJUHB.js → chunk.XE5OK2UE.js} +2 -2
- package/dist/chunks/{chunk.MLTJKLDB.js → chunk.XG3XBCNU.js} +2 -2
- package/dist/chunks/{chunk.2BVNVTCJ.js → chunk.XL5RSJ3V.js} +2 -2
- package/dist/chunks/{chunk.LLNHJVT6.js → chunk.XVUJKP6I.js} +4 -4
- package/dist/chunks/{chunk.NCS3KNSS.js → chunk.Y3LKXZKA.js} +3 -3
- package/dist/chunks/{chunk.6EXC65JJ.js → chunk.YCNVMJNR.js} +9 -2
- package/dist/chunks/{chunk.6EXC65JJ.js.map → chunk.YCNVMJNR.js.map} +2 -2
- package/dist/chunks/{chunk.F5LLLIE5.js → chunk.YOHLIT2Z.js} +4 -4
- package/dist/chunks/{chunk.KU3GIITB.js → chunk.ZXXT7QGH.js} +2 -2
- package/dist/components/accordion/accordion.component.js +4 -4
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/accordion/accordion.styles.js +1 -1
- package/dist/components/alert/alert.component.js +14 -13
- package/dist/components/alert/alert.custom.styles.js +1 -1
- package/dist/components/alert/alert.js +15 -14
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/badge/badge.component.js +5 -5
- package/dist/components/badge/badge.custom.styles.js +1 -1
- package/dist/components/badge/badge.js +6 -6
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +10 -10
- package/dist/components/breadcrumb/breadcrumb.custom.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +11 -11
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/dist/components/button/button.component.js +12 -12
- package/dist/components/button/button.custom.styles.js +1 -1
- package/dist/components/button/button.js +13 -13
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/button-group/button-group.component.js +3 -3
- package/dist/components/button-group/button-group.js +4 -4
- package/dist/components/button-group/button-group.styles.js +1 -1
- package/dist/components/card/card.component.js +3 -3
- package/dist/components/card/card.custom.styles.js +1 -1
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +10 -10
- package/dist/components/checkbox/checkbox.custom.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +11 -11
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/details/details.component.js +13 -12
- package/dist/components/details/details.custom.styles.js +1 -1
- package/dist/components/details/details.js +14 -13
- package/dist/components/details/details.styles.js +1 -1
- package/dist/components/dialog/dialog.component.js +15 -14
- package/dist/components/dialog/dialog.custom.styles.js +1 -1
- package/dist/components/dialog/dialog.js +16 -15
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.component.js +4 -4
- package/dist/components/divider/divider.custom.styles.js +1 -1
- package/dist/components/divider/divider.js +5 -5
- package/dist/components/divider/divider.styles.js +1 -1
- package/dist/components/drawer/drawer.component.js +15 -14
- package/dist/components/drawer/drawer.custom.styles.js +1 -1
- package/dist/components/drawer/drawer.js +16 -15
- package/dist/components/drawer/drawer.styles.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +10 -9
- package/dist/components/dropdown/dropdown.custom.styles.js +1 -1
- package/dist/components/dropdown/dropdown.js +11 -10
- package/dist/components/dropdown/dropdown.styles.js +1 -1
- package/dist/components/file/file.component.d.ts +195 -0
- package/dist/components/file/file.component.js +32 -0
- package/dist/components/file/file.component.js.map +7 -0
- package/dist/components/file/file.d.ts +8 -0
- package/dist/components/file/file.js +33 -0
- package/dist/components/file/file.js.map +7 -0
- package/dist/components/file/file.styles.d.ts +2 -0
- package/dist/components/file/file.styles.js +8 -0
- package/dist/components/file/file.styles.js.map +7 -0
- package/dist/components/header/header.component.js +11 -11
- package/dist/components/header/header.js +12 -12
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icon/icon.component.js +7 -7
- package/dist/components/icon/icon.custom.styles.js +1 -1
- package/dist/components/icon/icon.js +8 -8
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/icon/library.system.js +2 -2
- package/dist/components/icon-button/icon-button.component.js +8 -8
- package/dist/components/icon-button/icon-button.custom.styles.js +1 -1
- package/dist/components/icon-button/icon-button.js +9 -9
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.component.js +14 -14
- package/dist/components/input/input.custom.styles.js +1 -1
- package/dist/components/input/input.js +15 -15
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/menu/menu.component.js +3 -3
- package/dist/components/menu/menu.custom.styles.js +1 -1
- package/dist/components/menu/menu.js +4 -4
- package/dist/components/menu/menu.styles.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +13 -13
- package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
- package/dist/components/menu-item/menu-item.js +14 -14
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-item/submenu-controller.js +3 -3
- package/dist/components/menu-label/menu-label.component.js +6 -6
- package/dist/components/menu-label/menu-label.custom.styles.js +1 -1
- package/dist/components/menu-label/menu-label.js +7 -7
- package/dist/components/menu-label/menu-label.styles.js +1 -1
- package/dist/components/nav-item/nav-item.component.js +5 -5
- package/dist/components/nav-item/nav-item.js +6 -6
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/optgroup/optgroup.component.js +5 -5
- package/dist/components/optgroup/optgroup.js +6 -6
- package/dist/components/optgroup/optgroup.styles.js +1 -1
- package/dist/components/option/option.component.js +10 -10
- package/dist/components/option/option.custom.styles.js +1 -1
- package/dist/components/option/option.js +11 -11
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/popup/popup.component.js +3 -3
- package/dist/components/popup/popup.js +4 -4
- package/dist/components/popup/popup.styles.js +1 -1
- package/dist/components/prio-nav/prio-nav.component.js +18 -17
- package/dist/components/prio-nav/prio-nav.js +19 -18
- package/dist/components/prio-nav/prio-nav.styles.js +1 -1
- package/dist/components/prio-nav/utils.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +5 -5
- package/dist/components/progress-bar/progress-bar.custom.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +6 -6
- package/dist/components/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.component.js +5 -5
- package/dist/components/progress-ring/progress-ring.custom.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.js +6 -6
- package/dist/components/progress-ring/progress-ring.styles.js +1 -1
- package/dist/components/radio/radio.component.js +8 -8
- package/dist/components/radio/radio.custom.styles.js +1 -1
- package/dist/components/radio/radio.js +9 -9
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.component.js +4 -4
- package/dist/components/radio-button/radio-button.js +5 -5
- package/dist/components/radio-button/radio-button.styles.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +7 -7
- package/dist/components/radio-group/radio-group.custom.styles.js +1 -1
- package/dist/components/radio-group/radio-group.js +8 -8
- package/dist/components/radio-group/radio-group.styles.js +1 -1
- package/dist/components/range/range.component.d.ts +125 -0
- package/dist/components/range/range.component.js +26 -0
- package/dist/components/range/range.component.js.map +7 -0
- package/dist/components/range/range.d.ts +8 -0
- package/dist/components/range/range.js +27 -0
- package/dist/components/range/range.js.map +7 -0
- package/dist/components/range/range.styles.d.ts +2 -0
- package/dist/components/range/range.styles.js +8 -0
- package/dist/components/range/range.styles.js.map +7 -0
- package/dist/components/range/utility.d.ts +9 -0
- package/dist/components/range/utility.js +12 -0
- package/dist/components/range/utility.js.map +7 -0
- package/dist/components/range-tick/range-tick.component.d.ts +24 -0
- package/dist/components/range-tick/range-tick.component.js +10 -0
- package/dist/components/range-tick/range-tick.component.js.map +7 -0
- package/dist/components/range-tick/range-tick.d.ts +8 -0
- package/dist/components/range-tick/range-tick.js +11 -0
- package/dist/components/range-tick/range-tick.js.map +7 -0
- package/dist/components/range-tick/range-tick.styles.d.ts +2 -0
- package/dist/components/range-tick/range-tick.styles.js +8 -0
- package/dist/components/range-tick/range-tick.styles.js.map +7 -0
- package/dist/components/select/select.component.js +19 -18
- package/dist/components/select/select.custom.styles.js +1 -1
- package/dist/components/select/select.js +20 -19
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/side-nav/side-nav.component.js +17 -16
- package/dist/components/side-nav/side-nav.js +18 -17
- package/dist/components/side-nav/side-nav.styles.js +1 -1
- package/dist/components/spinner/spinner.component.js +5 -5
- package/dist/components/spinner/spinner.custom.styles.js +1 -1
- package/dist/components/spinner/spinner.js +6 -6
- package/dist/components/spinner/spinner.styles.js +1 -1
- package/dist/components/switch/switch.component.js +7 -7
- package/dist/components/switch/switch.custom.styles.js +1 -1
- package/dist/components/switch/switch.js +8 -8
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.component.js +11 -11
- package/dist/components/tab/tab.custom.styles.js +1 -1
- package/dist/components/tab/tab.js +12 -12
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.component.js +12 -12
- package/dist/components/tab-group/tab-group.custom.styles.js +1 -1
- package/dist/components/tab-group/tab-group.js +13 -13
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +4 -4
- package/dist/components/tab-panel/tab-panel.custom.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +5 -5
- package/dist/components/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/tag/tag.component.js +12 -12
- package/dist/components/tag/tag.custom.styles.js +1 -1
- package/dist/components/tag/tag.js +13 -13
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.component.js +6 -6
- package/dist/components/textarea/textarea.custom.styles.js +1 -1
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +11 -10
- package/dist/components/tooltip/tooltip.custom.styles.js +1 -1
- package/dist/components/tooltip/tooltip.js +12 -11
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/custom-elements.json +1810 -279
- package/dist/events/events.d.ts +1 -0
- package/dist/events/syn-move.d.ts +9 -0
- package/dist/styles/fouc.css +3 -0
- package/dist/styles/index.css +4 -1
- package/dist/synergy-autoloader.js +1 -1
- package/dist/synergy.d.ts +3 -0
- package/dist/synergy.js +155 -135
- package/dist/translations/de.js +14 -4
- package/dist/translations/de.js.map +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/utilities/animation-registry.js +2 -2
- package/dist/utilities/base-path.js +1 -1
- package/dist/utilities/form.js +3 -3
- package/dist/utilities/icon-library.js +3 -3
- package/dist/utilities/localize.d.ts +6 -0
- package/dist/utilities/localize.js +3 -3
- package/dist/vscode.html-custom-data.json +183 -0
- package/package.json +4 -4
- /package/dist/chunks/{chunk.Y4LO5L6L.js.map → chunk.2IEYCSI6.js.map} +0 -0
- /package/dist/chunks/{chunk.NH5UF5W4.js.map → chunk.2TVDQYJX.js.map} +0 -0
- /package/dist/chunks/{chunk.XVFSTDCI.js.map → chunk.2VMSUMKU.js.map} +0 -0
- /package/dist/chunks/{chunk.KP7ABNMV.js.map → chunk.3HG7LHI7.js.map} +0 -0
- /package/dist/chunks/{chunk.BCREP7HQ.js.map → chunk.3SWRT4AL.js.map} +0 -0
- /package/dist/chunks/{chunk.OPAVUSG6.js.map → chunk.4DCKHPZX.js.map} +0 -0
- /package/dist/chunks/{chunk.DOHCZXOF.js.map → chunk.4PD74CS6.js.map} +0 -0
- /package/dist/chunks/{chunk.5CL6DHME.js.map → chunk.4SSPQ66Z.js.map} +0 -0
- /package/dist/chunks/{chunk.GJPZZH76.js.map → chunk.536NCWEA.js.map} +0 -0
- /package/dist/chunks/{chunk.AV56MW4Q.js.map → chunk.543GQUFN.js.map} +0 -0
- /package/dist/chunks/{chunk.AD7URUHH.js.map → chunk.63P7MT4J.js.map} +0 -0
- /package/dist/chunks/{chunk.VA5J6CGG.js.map → chunk.6BJDFV76.js.map} +0 -0
- /package/dist/chunks/{chunk.VNQF6LEZ.js.map → chunk.6RTGL3PP.js.map} +0 -0
- /package/dist/chunks/{chunk.5BUBL7JY.js.map → chunk.AMAMIZIA.js.map} +0 -0
- /package/dist/chunks/{chunk.H4EFGKKT.js.map → chunk.AQ3OGEJ7.js.map} +0 -0
- /package/dist/chunks/{chunk.NUHI5YB7.js.map → chunk.AQJKRHVT.js.map} +0 -0
- /package/dist/chunks/{chunk.MVZJDKSR.js.map → chunk.CFXNQ5IS.js.map} +0 -0
- /package/dist/chunks/{chunk.KOZGQJ42.js.map → chunk.CGOHWVSA.js.map} +0 -0
- /package/dist/chunks/{chunk.PMC3VAD6.js.map → chunk.CRU7ZSDO.js.map} +0 -0
- /package/dist/chunks/{chunk.6JHUWKC2.js.map → chunk.D3FO6WR5.js.map} +0 -0
- /package/dist/chunks/{chunk.SMPYVOTL.js.map → chunk.D3NSCKGB.js.map} +0 -0
- /package/dist/chunks/{chunk.JBW7QDPF.js.map → chunk.D65RJIQG.js.map} +0 -0
- /package/dist/chunks/{chunk.4H3F5YVU.js.map → chunk.DRA2UZ77.js.map} +0 -0
- /package/dist/chunks/{chunk.W2S2MTUW.js.map → chunk.E35IIEQ7.js.map} +0 -0
- /package/dist/chunks/{chunk.NMM47RXC.js.map → chunk.EIKNGXXK.js.map} +0 -0
- /package/dist/chunks/{chunk.4HSU3RZA.js.map → chunk.EJNLN3CX.js.map} +0 -0
- /package/dist/chunks/{chunk.J47HF5GZ.js.map → chunk.F6HHFAPB.js.map} +0 -0
- /package/dist/chunks/{chunk.UWNJQDZP.js.map → chunk.FIIQJSVJ.js.map} +0 -0
- /package/dist/chunks/{chunk.4HBNKWDI.js.map → chunk.GQMLBFF3.js.map} +0 -0
- /package/dist/chunks/{chunk.ZBJXFMXI.js.map → chunk.GVPQNGY3.js.map} +0 -0
- /package/dist/chunks/{chunk.2BKN4SVL.js.map → chunk.H43NLW3K.js.map} +0 -0
- /package/dist/chunks/{chunk.SW3NDC4L.js.map → chunk.HE4KPEL6.js.map} +0 -0
- /package/dist/chunks/{chunk.R7FWD6IV.js.map → chunk.HIIXDCGP.js.map} +0 -0
- /package/dist/chunks/{chunk.QNDC5KWA.js.map → chunk.HLQ75E45.js.map} +0 -0
- /package/dist/chunks/{chunk.GCI7QWTQ.js.map → chunk.HVKRSLBD.js.map} +0 -0
- /package/dist/chunks/{chunk.RILCNQ7U.js.map → chunk.I6ROVIIB.js.map} +0 -0
- /package/dist/chunks/{chunk.TQMD3CRX.js.map → chunk.INQ5T33N.js.map} +0 -0
- /package/dist/chunks/{chunk.QJMO7V5R.js.map → chunk.ITKS5ZOS.js.map} +0 -0
- /package/dist/chunks/{chunk.VHASVP7B.js.map → chunk.ITW4C543.js.map} +0 -0
- /package/dist/chunks/{chunk.XMS3V7AX.js.map → chunk.J2EUQLBR.js.map} +0 -0
- /package/dist/chunks/{chunk.A54YJOJZ.js.map → chunk.J5H7WYNF.js.map} +0 -0
- /package/dist/chunks/{chunk.EHZE3CKH.js.map → chunk.JUZCWVBF.js.map} +0 -0
- /package/dist/chunks/{chunk.LITNZ5UP.js.map → chunk.K26XKBB4.js.map} +0 -0
- /package/dist/chunks/{chunk.YLRQUWVH.js.map → chunk.K5OP4LDM.js.map} +0 -0
- /package/dist/chunks/{chunk.Q63T23NX.js.map → chunk.KCVQQRVW.js.map} +0 -0
- /package/dist/chunks/{chunk.MSUX23ZJ.js.map → chunk.KL7CAPPJ.js.map} +0 -0
- /package/dist/chunks/{chunk.QGODDF6V.js.map → chunk.LQCQI2F4.js.map} +0 -0
- /package/dist/chunks/{chunk.WM3ZKNS4.js.map → chunk.M2JYB7TN.js.map} +0 -0
- /package/dist/chunks/{chunk.2FHYURSV.js.map → chunk.MM55BLFM.js.map} +0 -0
- /package/dist/chunks/{chunk.FZKUXUK6.js.map → chunk.NCXSLHHQ.js.map} +0 -0
- /package/dist/chunks/{chunk.QH5LWFIU.js.map → chunk.NPHJNN2T.js.map} +0 -0
- /package/dist/chunks/{chunk.LVMOATGP.js.map → chunk.NREQNXC6.js.map} +0 -0
- /package/dist/chunks/{chunk.5UWGWBIX.js.map → chunk.OQQ3RUCC.js.map} +0 -0
- /package/dist/chunks/{chunk.KBUOEYFD.js.map → chunk.OUEA3H7P.js.map} +0 -0
- /package/dist/chunks/{chunk.DXNSNACZ.js.map → chunk.OZGGB3YU.js.map} +0 -0
- /package/dist/chunks/{chunk.XHVDKQO2.js.map → chunk.PAFCMQM4.js.map} +0 -0
- /package/dist/chunks/{chunk.XRRZVMQT.js.map → chunk.PN2B3HKP.js.map} +0 -0
- /package/dist/chunks/{chunk.KDBBMF6R.js.map → chunk.PPKWM5KJ.js.map} +0 -0
- /package/dist/chunks/{chunk.MXCWG2OM.js.map → chunk.R4Y2EU76.js.map} +0 -0
- /package/dist/chunks/{chunk.JBSLSPA4.js.map → chunk.R6T4FYGP.js.map} +0 -0
- /package/dist/chunks/{chunk.DFR3UNMT.js.map → chunk.RU5QGDNJ.js.map} +0 -0
- /package/dist/chunks/{chunk.5C2N3OG3.js.map → chunk.S35OARTV.js.map} +0 -0
- /package/dist/chunks/{chunk.4ZAIWKYK.js.map → chunk.T2BHFREJ.js.map} +0 -0
- /package/dist/chunks/{chunk.DNYMFI4T.js.map → chunk.TOWZTCAT.js.map} +0 -0
- /package/dist/chunks/{chunk.R2MO73SN.js.map → chunk.U7XXAVXV.js.map} +0 -0
- /package/dist/chunks/{chunk.MQMVF4PW.js.map → chunk.UCZUWSO5.js.map} +0 -0
- /package/dist/chunks/{chunk.5KE7YYYL.js.map → chunk.ULJBPLL6.js.map} +0 -0
- /package/dist/chunks/{chunk.PD4GEYPT.js.map → chunk.UQOWSCP3.js.map} +0 -0
- /package/dist/chunks/{chunk.4UGAAIOV.js.map → chunk.UYCIME52.js.map} +0 -0
- /package/dist/chunks/{chunk.AVNL6XBJ.js.map → chunk.UYMVCZFD.js.map} +0 -0
- /package/dist/chunks/{chunk.PVBLEKYQ.js.map → chunk.VB7U5SK7.js.map} +0 -0
- /package/dist/chunks/{chunk.CN4QRO22.js.map → chunk.VXAM5HPM.js.map} +0 -0
- /package/dist/chunks/{chunk.DCILBP5O.js.map → chunk.WZ3DZS4C.js.map} +0 -0
- /package/dist/chunks/{chunk.STPTOC6W.js.map → chunk.X7TL7T7R.js.map} +0 -0
- /package/dist/chunks/{chunk.IUBRJUHB.js.map → chunk.XE5OK2UE.js.map} +0 -0
- /package/dist/chunks/{chunk.MLTJKLDB.js.map → chunk.XG3XBCNU.js.map} +0 -0
- /package/dist/chunks/{chunk.2BVNVTCJ.js.map → chunk.XL5RSJ3V.js.map} +0 -0
- /package/dist/chunks/{chunk.LLNHJVT6.js.map → chunk.XVUJKP6I.js.map} +0 -0
- /package/dist/chunks/{chunk.NCS3KNSS.js.map → chunk.Y3LKXZKA.js.map} +0 -0
- /package/dist/chunks/{chunk.F5LLLIE5.js.map → chunk.YOHLIT2Z.js.map} +0 -0
- /package/dist/chunks/{chunk.KU3GIITB.js.map → chunk.ZXXT7QGH.js.map} +0 -0
|
@@ -0,0 +1,681 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SynTooltip
|
|
3
|
+
} from "./chunk.AZVHDONN.js";
|
|
4
|
+
import {
|
|
5
|
+
arraysDiffer,
|
|
6
|
+
getNormalizedValueFromClientX,
|
|
7
|
+
numericSort
|
|
8
|
+
} from "./chunk.WO6VXGWQ.js";
|
|
9
|
+
import {
|
|
10
|
+
range_styles_default
|
|
11
|
+
} from "./chunk.277APOW3.js";
|
|
12
|
+
import {
|
|
13
|
+
defaultValue
|
|
14
|
+
} from "./chunk.RBG37CD4.js";
|
|
15
|
+
import {
|
|
16
|
+
form_control_custom_styles_default,
|
|
17
|
+
form_control_styles_default
|
|
18
|
+
} from "./chunk.FKKJBKYL.js";
|
|
19
|
+
import {
|
|
20
|
+
FormControlController,
|
|
21
|
+
customErrorValidityState,
|
|
22
|
+
validValidityState
|
|
23
|
+
} from "./chunk.YCNVMJNR.js";
|
|
24
|
+
import {
|
|
25
|
+
HasSlotController
|
|
26
|
+
} from "./chunk.WVVQK5TE.js";
|
|
27
|
+
import {
|
|
28
|
+
LocalizeController
|
|
29
|
+
} from "./chunk.QQ3HY3YJ.js";
|
|
30
|
+
import {
|
|
31
|
+
SynergyElement,
|
|
32
|
+
component_styles_default
|
|
33
|
+
} from "./chunk.3I5JDTGT.js";
|
|
34
|
+
import {
|
|
35
|
+
__decorateClass,
|
|
36
|
+
__privateAdd,
|
|
37
|
+
__privateGet,
|
|
38
|
+
__privateMethod,
|
|
39
|
+
__privateSet
|
|
40
|
+
} from "./chunk.HLQ75E45.js";
|
|
41
|
+
|
|
42
|
+
// src/components/range/range.component.ts
|
|
43
|
+
import { html } from "lit";
|
|
44
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
45
|
+
import { property, query, queryAll } from "lit/decorators.js";
|
|
46
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
47
|
+
var _value, _rangeValues, _hasFocus, _validationError, _validationTimeout, _nextId, _lastChangeValue, _rtl, rtl_get, _onClickTrack, onClickTrack_fn, _onClickThumb, onClickThumb_fn, _onDragThumb, onDragThumb_fn, _onReleaseThumb, onReleaseThumb_fn, _moveThumb, moveThumb_fn, _updateActiveTrack, updateActiveTrack_fn, _onKeyPress, onKeyPress_fn, _onBlur, onBlur_fn, _updateTooltip, updateTooltip_fn, _onFocusThumb, onFocusThumb_fn, _handleInvalid, handleInvalid_fn, _updatePrefixSuffixPosition, updatePrefixSuffixPosition_fn;
|
|
48
|
+
var SynRange = class extends SynergyElement {
|
|
49
|
+
constructor() {
|
|
50
|
+
super();
|
|
51
|
+
__privateAdd(this, _rtl);
|
|
52
|
+
__privateAdd(this, _onClickTrack);
|
|
53
|
+
__privateAdd(this, _onClickThumb);
|
|
54
|
+
__privateAdd(this, _onDragThumb);
|
|
55
|
+
__privateAdd(this, _onReleaseThumb);
|
|
56
|
+
__privateAdd(this, _moveThumb);
|
|
57
|
+
__privateAdd(this, _updateActiveTrack);
|
|
58
|
+
__privateAdd(this, _onKeyPress);
|
|
59
|
+
__privateAdd(this, _onBlur);
|
|
60
|
+
__privateAdd(this, _updateTooltip);
|
|
61
|
+
__privateAdd(this, _onFocusThumb);
|
|
62
|
+
__privateAdd(this, _handleInvalid);
|
|
63
|
+
__privateAdd(this, _updatePrefixSuffixPosition);
|
|
64
|
+
this.name = "";
|
|
65
|
+
this.label = "";
|
|
66
|
+
this.helpText = "";
|
|
67
|
+
this.disabled = false;
|
|
68
|
+
this.min = 0;
|
|
69
|
+
this.max = 100;
|
|
70
|
+
this.step = 1;
|
|
71
|
+
this.size = "medium";
|
|
72
|
+
this.tooltipPlacement = "top";
|
|
73
|
+
this.defaultValue = "0";
|
|
74
|
+
this.form = "";
|
|
75
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label", "prefix", "suffix", "ticks");
|
|
76
|
+
this.formControlController = new FormControlController(this, { assumeInteractionOn: ["syn-change"] });
|
|
77
|
+
this.localize = new LocalizeController(this);
|
|
78
|
+
__privateAdd(this, _value, [0]);
|
|
79
|
+
__privateAdd(this, _rangeValues, /* @__PURE__ */ new Map());
|
|
80
|
+
__privateAdd(this, _hasFocus, false);
|
|
81
|
+
__privateAdd(this, _validationError, "");
|
|
82
|
+
__privateAdd(this, _validationTimeout, void 0);
|
|
83
|
+
__privateAdd(this, _nextId, 1);
|
|
84
|
+
__privateAdd(this, _lastChangeValue, []);
|
|
85
|
+
this.tooltipFormatter = this.localize.number.bind(this.localize);
|
|
86
|
+
}
|
|
87
|
+
set value(value) {
|
|
88
|
+
__privateSet(this, _value, value ? value.split(" ").map((n) => +n).sort(numericSort) : []);
|
|
89
|
+
}
|
|
90
|
+
get value() {
|
|
91
|
+
return __privateGet(this, _value).slice().sort(numericSort).join(" ");
|
|
92
|
+
}
|
|
93
|
+
/** Gets or sets the current values of the range as an array of numbers */
|
|
94
|
+
set valueAsArray(value) {
|
|
95
|
+
const oldValue = __privateGet(this, _value);
|
|
96
|
+
__privateSet(this, _value, Array.isArray(value) ? value.slice().sort(numericSort) : value || []);
|
|
97
|
+
if (arraysDiffer(oldValue, __privateGet(this, _value))) {
|
|
98
|
+
this.requestUpdate("value", oldValue.join(" "));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
get valueAsArray() {
|
|
102
|
+
return [...__privateGet(this, _value)].sort(numericSort);
|
|
103
|
+
}
|
|
104
|
+
firstUpdated() {
|
|
105
|
+
this.formControlController.updateValidity();
|
|
106
|
+
__privateSet(this, _lastChangeValue, Array.from(__privateGet(this, _value)));
|
|
107
|
+
this.thumbs.forEach((thumb) => {
|
|
108
|
+
const tooltip = thumb.parentElement;
|
|
109
|
+
tooltip.updateComplete.then(() => {
|
|
110
|
+
const tooltipBody = tooltip.shadowRoot.querySelector(".tooltip__body");
|
|
111
|
+
tooltipBody == null ? void 0 : tooltipBody.setAttribute("aria-hidden", "true");
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
willUpdate(changedProperties) {
|
|
116
|
+
super.willUpdate(changedProperties);
|
|
117
|
+
if (this.min > this.max) {
|
|
118
|
+
[this.min, this.max] = [this.max, this.min];
|
|
119
|
+
}
|
|
120
|
+
if (this.step > this.max - this.min) {
|
|
121
|
+
this.step = this.max - this.min;
|
|
122
|
+
}
|
|
123
|
+
if (this.step <= 0) {
|
|
124
|
+
this.step = 1;
|
|
125
|
+
}
|
|
126
|
+
const adjustedValue = __privateGet(this, _value).map((value) => {
|
|
127
|
+
if (value <= this.min)
|
|
128
|
+
return this.min;
|
|
129
|
+
if (value >= this.max)
|
|
130
|
+
return this.max;
|
|
131
|
+
const nextValue = this.min + this.step * Math.round((value - this.min) / this.step);
|
|
132
|
+
if (nextValue > this.max)
|
|
133
|
+
return this.max;
|
|
134
|
+
return nextValue;
|
|
135
|
+
});
|
|
136
|
+
if (arraysDiffer(__privateGet(this, _value), adjustedValue)) {
|
|
137
|
+
__privateSet(this, _value, adjustedValue);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
updated(changedProperties) {
|
|
141
|
+
super.updated(changedProperties);
|
|
142
|
+
for (const thumb of this.thumbs) {
|
|
143
|
+
const rangeId = +thumb.dataset.rangeId;
|
|
144
|
+
if (!__privateGet(this, _rangeValues).has(rangeId))
|
|
145
|
+
continue;
|
|
146
|
+
__privateMethod(this, _moveThumb, moveThumb_fn).call(this, thumb, __privateGet(this, _rangeValues).get(rangeId));
|
|
147
|
+
}
|
|
148
|
+
__privateMethod(this, _updateActiveTrack, updateActiveTrack_fn).call(this);
|
|
149
|
+
}
|
|
150
|
+
focus(options) {
|
|
151
|
+
const firstThumb = this.thumbs.item(0);
|
|
152
|
+
if (firstThumb) {
|
|
153
|
+
firstThumb.focus(options);
|
|
154
|
+
} else {
|
|
155
|
+
super.focus(options);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Checks for validity but does not show a validation message.
|
|
160
|
+
* Returns `true` when valid and `false` when invalid.
|
|
161
|
+
*/
|
|
162
|
+
checkValidity() {
|
|
163
|
+
if (this.disabled)
|
|
164
|
+
return true;
|
|
165
|
+
const isValid = !__privateGet(this, _validationError);
|
|
166
|
+
if (!isValid) {
|
|
167
|
+
this.formControlController.emitInvalidEvent();
|
|
168
|
+
}
|
|
169
|
+
return isValid;
|
|
170
|
+
}
|
|
171
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
172
|
+
reportValidity() {
|
|
173
|
+
if (this.disabled)
|
|
174
|
+
return true;
|
|
175
|
+
const isValid = this.validity.valid;
|
|
176
|
+
this.formControlController.setValidity(isValid);
|
|
177
|
+
this.validationInput.hidden = true;
|
|
178
|
+
clearTimeout(__privateGet(this, _validationTimeout));
|
|
179
|
+
if (!isValid) {
|
|
180
|
+
this.validationInput.hidden = false;
|
|
181
|
+
this.validationInput.reportValidity();
|
|
182
|
+
__privateSet(this, _validationTimeout, setTimeout(() => {
|
|
183
|
+
this.validationInput.hidden = true;
|
|
184
|
+
}, 1e4));
|
|
185
|
+
}
|
|
186
|
+
return isValid;
|
|
187
|
+
}
|
|
188
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
189
|
+
setCustomValidity(message) {
|
|
190
|
+
__privateSet(this, _validationError, message);
|
|
191
|
+
this.validationInput.setCustomValidity(message);
|
|
192
|
+
this.formControlController.updateValidity();
|
|
193
|
+
}
|
|
194
|
+
/** Gets the associated form, if one exists. */
|
|
195
|
+
getForm() {
|
|
196
|
+
return this.formControlController.getForm();
|
|
197
|
+
}
|
|
198
|
+
/** Gets the validity state object */
|
|
199
|
+
get validity() {
|
|
200
|
+
if (__privateGet(this, _validationError))
|
|
201
|
+
return customErrorValidityState;
|
|
202
|
+
return validValidityState;
|
|
203
|
+
}
|
|
204
|
+
/** Gets the validation message */
|
|
205
|
+
get validationMessage() {
|
|
206
|
+
return __privateGet(this, _validationError);
|
|
207
|
+
}
|
|
208
|
+
/* eslint-disable @typescript-eslint/unbound-method */
|
|
209
|
+
renderThumbs(hasLabel) {
|
|
210
|
+
const isMultiple = __privateGet(this, _value).length > 1;
|
|
211
|
+
__privateGet(this, _rangeValues).clear();
|
|
212
|
+
return __privateGet(this, _value).map((value, index) => {
|
|
213
|
+
__privateSet(this, _nextId, __privateGet(this, _nextId) + 1);
|
|
214
|
+
const rangeId = __privateGet(this, _nextId);
|
|
215
|
+
__privateGet(this, _rangeValues).set(rangeId, value);
|
|
216
|
+
const id = `thumb-${rangeId}`;
|
|
217
|
+
let ariaLabel = "";
|
|
218
|
+
let ariaLabeledBy = "";
|
|
219
|
+
if (!isMultiple) {
|
|
220
|
+
ariaLabeledBy = hasLabel ? "label aria-label-hidden" : "";
|
|
221
|
+
} else {
|
|
222
|
+
ariaLabeledBy = hasLabel ? `label aria-label-hidden ${id}` : `aria-label-hidden ${id}`;
|
|
223
|
+
if (index === 0) {
|
|
224
|
+
ariaLabel = `${this.localize.term("rangeMin")} (${this.tooltipFormatter(value)})`;
|
|
225
|
+
} else if (index === __privateGet(this, _value).length - 1) {
|
|
226
|
+
ariaLabel = `${this.localize.term("rangeMax")} (${this.tooltipFormatter(value)})`;
|
|
227
|
+
} else {
|
|
228
|
+
ariaLabel = this.tooltipFormatter(value);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
return html`
|
|
232
|
+
<syn-tooltip
|
|
233
|
+
hoist
|
|
234
|
+
.disabled=${this.tooltipPlacement === "none" || this.disabled}
|
|
235
|
+
.placement=${this.tooltipPlacement}
|
|
236
|
+
trigger="focus"
|
|
237
|
+
>
|
|
238
|
+
<div
|
|
239
|
+
aria-disabled=${ifDefined(this.disabled ? "true" : void 0)}
|
|
240
|
+
aria-labelledby=${ariaLabeledBy}
|
|
241
|
+
aria-label=${ariaLabel}
|
|
242
|
+
aria-valuemax="${this.max}"
|
|
243
|
+
aria-valuemin="${this.min}"
|
|
244
|
+
aria-valuenow="${value}"
|
|
245
|
+
aria-valuetext="${this.tooltipFormatter(value)}"
|
|
246
|
+
class="thumb"
|
|
247
|
+
data-range-id="${rangeId}"
|
|
248
|
+
id=${id}
|
|
249
|
+
part="thumb"
|
|
250
|
+
role="slider"
|
|
251
|
+
tabindex="${this.disabled ? -1 : 0}"
|
|
252
|
+
@pointerdown=${__privateMethod(this, _onClickThumb, onClickThumb_fn)}
|
|
253
|
+
@pointermove=${__privateMethod(this, _onDragThumb, onDragThumb_fn)}
|
|
254
|
+
@pointerup=${__privateMethod(this, _onReleaseThumb, onReleaseThumb_fn)}
|
|
255
|
+
@pointercancel=${__privateMethod(this, _onReleaseThumb, onReleaseThumb_fn)}
|
|
256
|
+
@keydown=${__privateMethod(this, _onKeyPress, onKeyPress_fn)}
|
|
257
|
+
@focus=${__privateMethod(this, _onFocusThumb, onFocusThumb_fn)}
|
|
258
|
+
></div>
|
|
259
|
+
</syn-tooltip>
|
|
260
|
+
`;
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
/* eslint-enable @typescript-eslint/unbound-method */
|
|
264
|
+
/* eslint-disable @typescript-eslint/unbound-method */
|
|
265
|
+
render() {
|
|
266
|
+
const hasLabelSlot = this.hasSlotController.test("label");
|
|
267
|
+
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
268
|
+
const hasPrefixSlot = this.hasSlotController.test("prefix");
|
|
269
|
+
const hasSuffixSlot = this.hasSlotController.test("suffix");
|
|
270
|
+
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
271
|
+
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
272
|
+
__privateMethod(this, _updatePrefixSuffixPosition, updatePrefixSuffixPosition_fn).call(this);
|
|
273
|
+
return html`
|
|
274
|
+
<div
|
|
275
|
+
part="form-control"
|
|
276
|
+
class=${classMap({
|
|
277
|
+
"form-control": true,
|
|
278
|
+
"form-control--has-help-text": hasHelpText,
|
|
279
|
+
"form-control--has-label": hasLabel,
|
|
280
|
+
"form-control--has-prefix": hasPrefixSlot,
|
|
281
|
+
"form-control--has-suffix": hasSuffixSlot,
|
|
282
|
+
"form-control--is-disabled": this.disabled,
|
|
283
|
+
"form-control--large": this.size === "large",
|
|
284
|
+
"form-control--medium": this.size === "medium",
|
|
285
|
+
"form-control--small": this.size === "small"
|
|
286
|
+
})}
|
|
287
|
+
@focusout=${__privateMethod(this, _onBlur, onBlur_fn)}
|
|
288
|
+
>
|
|
289
|
+
<label
|
|
290
|
+
id="label"
|
|
291
|
+
part="form-control-label"
|
|
292
|
+
class="form-control__label"
|
|
293
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
294
|
+
@click=${this.focus}
|
|
295
|
+
>
|
|
296
|
+
<slot name="label">${this.label}</slot>
|
|
297
|
+
</label>
|
|
298
|
+
|
|
299
|
+
<label id="aria-label-hidden" class="visually-hidden">
|
|
300
|
+
(${__privateGet(this, _value).map(this.tooltipFormatter).join(" - ")})
|
|
301
|
+
</label>
|
|
302
|
+
|
|
303
|
+
<div class="base input__control" part="base">
|
|
304
|
+
<span part="prefix" class="input__prefix">
|
|
305
|
+
<slot name="prefix"></slot>
|
|
306
|
+
</span>
|
|
307
|
+
|
|
308
|
+
<div class="input__wrapper" part="input-wrapper">
|
|
309
|
+
<input
|
|
310
|
+
class="range__validation-input visually-hidden"
|
|
311
|
+
tabindex="-1"
|
|
312
|
+
hidden
|
|
313
|
+
@invalid=${__privateMethod(this, _handleInvalid, handleInvalid_fn)}
|
|
314
|
+
/>
|
|
315
|
+
|
|
316
|
+
<div
|
|
317
|
+
class="track__wrapper"
|
|
318
|
+
@click=${__privateMethod(this, _onClickTrack, onClickTrack_fn)}
|
|
319
|
+
part="track-wrapper"
|
|
320
|
+
role="presentation"
|
|
321
|
+
>
|
|
322
|
+
<div class="track__click-helper"></div>
|
|
323
|
+
<div class="track" part="track"></div>
|
|
324
|
+
<div class="active-track" part="active-track"></div>
|
|
325
|
+
</div>
|
|
326
|
+
|
|
327
|
+
${this.renderThumbs(hasLabel)}
|
|
328
|
+
|
|
329
|
+
<div
|
|
330
|
+
class="ticks"
|
|
331
|
+
part="ticks"
|
|
332
|
+
@click=${__privateMethod(this, _onClickTrack, onClickTrack_fn)}
|
|
333
|
+
role="presentation"
|
|
334
|
+
>
|
|
335
|
+
<slot name="ticks"></slot>
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
338
|
+
|
|
339
|
+
<span part="suffix" class="input__suffix">
|
|
340
|
+
<slot name="suffix"></slot>
|
|
341
|
+
</span>
|
|
342
|
+
</div>
|
|
343
|
+
|
|
344
|
+
<div
|
|
345
|
+
part="form-control-help-text"
|
|
346
|
+
class="form-control__help-text"
|
|
347
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
348
|
+
>
|
|
349
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
`;
|
|
353
|
+
}
|
|
354
|
+
/* eslint-enable @typescript-eslint/unbound-method */
|
|
355
|
+
};
|
|
356
|
+
_value = new WeakMap();
|
|
357
|
+
_rangeValues = new WeakMap();
|
|
358
|
+
_hasFocus = new WeakMap();
|
|
359
|
+
_validationError = new WeakMap();
|
|
360
|
+
_validationTimeout = new WeakMap();
|
|
361
|
+
_nextId = new WeakMap();
|
|
362
|
+
_lastChangeValue = new WeakMap();
|
|
363
|
+
_rtl = new WeakSet();
|
|
364
|
+
rtl_get = function() {
|
|
365
|
+
return this.localize.dir() === "rtl";
|
|
366
|
+
};
|
|
367
|
+
_onClickTrack = new WeakSet();
|
|
368
|
+
onClickTrack_fn = function(event) {
|
|
369
|
+
if (this.disabled)
|
|
370
|
+
return;
|
|
371
|
+
const { clientX } = event;
|
|
372
|
+
const thumbs = Array.from(this.thumbs);
|
|
373
|
+
const pos = getNormalizedValueFromClientX(this.baseDiv, clientX, __privateGet(this, _rtl, rtl_get));
|
|
374
|
+
const unit = this.step / (this.max - this.min);
|
|
375
|
+
const nextValue = this.min + this.step * Math.round(pos / unit);
|
|
376
|
+
const thumb = thumbs.reduce((prev, curr) => {
|
|
377
|
+
const currValue = __privateGet(this, _rangeValues).get(+curr.dataset.rangeId);
|
|
378
|
+
const prevValue2 = __privateGet(this, _rangeValues).get(+prev.dataset.rangeId);
|
|
379
|
+
return Math.abs(currValue - nextValue) <= Math.abs(prevValue2 - nextValue) ? curr : prev;
|
|
380
|
+
});
|
|
381
|
+
const rangeId = +thumb.dataset.rangeId;
|
|
382
|
+
if (!rangeId)
|
|
383
|
+
return;
|
|
384
|
+
__privateGet(this, _rangeValues).set(rangeId, nextValue);
|
|
385
|
+
__privateMethod(this, _moveThumb, moveThumb_fn).call(this, thumb, nextValue);
|
|
386
|
+
const prevValue = __privateGet(this, _value);
|
|
387
|
+
__privateSet(this, _value, Array.from(__privateGet(this, _rangeValues).values()));
|
|
388
|
+
__privateMethod(this, _updateActiveTrack, updateActiveTrack_fn).call(this);
|
|
389
|
+
if (arraysDiffer(prevValue, __privateGet(this, _value))) {
|
|
390
|
+
__privateSet(this, _lastChangeValue, Array.from(__privateGet(this, _value)));
|
|
391
|
+
this.emit("syn-input");
|
|
392
|
+
this.emit("syn-change");
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
_onClickThumb = new WeakSet();
|
|
396
|
+
onClickThumb_fn = async function(event) {
|
|
397
|
+
if (this.disabled)
|
|
398
|
+
return;
|
|
399
|
+
const thumb = event.target;
|
|
400
|
+
__privateMethod(this, _updateTooltip, updateTooltip_fn).call(this, thumb);
|
|
401
|
+
if (thumb.dataset.pointerId) {
|
|
402
|
+
thumb.releasePointerCapture(+thumb.dataset.pointerId);
|
|
403
|
+
}
|
|
404
|
+
thumb.dataset.pointerId = event.pointerId.toString();
|
|
405
|
+
thumb.setPointerCapture(event.pointerId);
|
|
406
|
+
thumb.classList.add("grabbed");
|
|
407
|
+
await thumb.parentElement.show();
|
|
408
|
+
};
|
|
409
|
+
_onDragThumb = new WeakSet();
|
|
410
|
+
onDragThumb_fn = function(event) {
|
|
411
|
+
if (this.disabled)
|
|
412
|
+
return;
|
|
413
|
+
const thumb = event.target;
|
|
414
|
+
const rangeId = +thumb.dataset.rangeId;
|
|
415
|
+
if (!__privateGet(this, _rangeValues).has(rangeId))
|
|
416
|
+
return;
|
|
417
|
+
const pointerId = thumb.dataset.pointerId ? +thumb.dataset.pointerId : null;
|
|
418
|
+
if (pointerId !== event.pointerId)
|
|
419
|
+
return;
|
|
420
|
+
const pos = getNormalizedValueFromClientX(this.baseDiv, event.clientX, __privateGet(this, _rtl, rtl_get));
|
|
421
|
+
const unit = this.step / (this.max - this.min);
|
|
422
|
+
const value = this.min + this.step * Math.round(pos / unit);
|
|
423
|
+
const synMove = this.emit("syn-move", {
|
|
424
|
+
cancelable: true,
|
|
425
|
+
detail: {
|
|
426
|
+
element: thumb,
|
|
427
|
+
value
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
if (synMove.defaultPrevented) {
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
__privateGet(this, _rangeValues).set(rangeId, value);
|
|
434
|
+
__privateMethod(this, _moveThumb, moveThumb_fn).call(this, thumb, value);
|
|
435
|
+
const prevValue = __privateGet(this, _value);
|
|
436
|
+
__privateSet(this, _value, Array.from(__privateGet(this, _rangeValues).values()));
|
|
437
|
+
__privateMethod(this, _updateActiveTrack, updateActiveTrack_fn).call(this);
|
|
438
|
+
if (arraysDiffer(prevValue, __privateGet(this, _value))) {
|
|
439
|
+
this.emit("syn-input");
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
_onReleaseThumb = new WeakSet();
|
|
443
|
+
onReleaseThumb_fn = async function(event) {
|
|
444
|
+
const thumb = event.target;
|
|
445
|
+
if (!thumb.dataset.pointerId || event.pointerId !== +thumb.dataset.pointerId)
|
|
446
|
+
return;
|
|
447
|
+
thumb.classList.remove("grabbed");
|
|
448
|
+
thumb.releasePointerCapture(event.pointerId);
|
|
449
|
+
delete thumb.dataset.pointerId;
|
|
450
|
+
if (arraysDiffer(__privateGet(this, _lastChangeValue), __privateGet(this, _value))) {
|
|
451
|
+
__privateSet(this, _lastChangeValue, Array.from(__privateGet(this, _value)));
|
|
452
|
+
this.emit("syn-change");
|
|
453
|
+
}
|
|
454
|
+
await thumb.parentElement.hide();
|
|
455
|
+
};
|
|
456
|
+
_moveThumb = new WeakSet();
|
|
457
|
+
moveThumb_fn = function(thumb, value) {
|
|
458
|
+
thumb.setAttribute("aria-valuenow", value.toString());
|
|
459
|
+
thumb.setAttribute("aria-valuetext", this.tooltipFormatter(value));
|
|
460
|
+
const pos = (value - this.min) / (this.max - this.min);
|
|
461
|
+
thumb.style.insetInlineStart = `calc( ${100 * pos}% - var(--full-thumb-size) / 2 )`;
|
|
462
|
+
__privateMethod(this, _updateTooltip, updateTooltip_fn).call(this, thumb);
|
|
463
|
+
};
|
|
464
|
+
_updateActiveTrack = new WeakSet();
|
|
465
|
+
updateActiveTrack_fn = function() {
|
|
466
|
+
const { activeTrack } = this;
|
|
467
|
+
if (!activeTrack)
|
|
468
|
+
return;
|
|
469
|
+
if (this.min === this.max) {
|
|
470
|
+
activeTrack.style.insetInlineStart = "0%";
|
|
471
|
+
activeTrack.style.insetInlineEnd = "0%";
|
|
472
|
+
return;
|
|
473
|
+
}
|
|
474
|
+
if (__privateGet(this, _value).length === 1) {
|
|
475
|
+
const start2 = getComputedStyle(this).getPropertyValue("--track-active-offset") || "0%";
|
|
476
|
+
const end2 = 100 * (__privateGet(this, _value)[0] - this.min) / (this.max - this.min);
|
|
477
|
+
activeTrack.style.insetInlineStart = `min(${start2}, ${end2}%)`;
|
|
478
|
+
activeTrack.style.insetInlineEnd = `min(calc(100% - ${start2}), calc(100% - ${end2}%))`;
|
|
479
|
+
return;
|
|
480
|
+
}
|
|
481
|
+
const sortedValues = __privateGet(this, _value).slice().sort(numericSort);
|
|
482
|
+
const start = 100 * (sortedValues[0] - this.min) / (this.max - this.min);
|
|
483
|
+
const end = 100 * (sortedValues[sortedValues.length - 1] - this.min) / (this.max - this.min);
|
|
484
|
+
activeTrack.style.insetInlineStart = `${start}%`;
|
|
485
|
+
activeTrack.style.insetInlineEnd = `calc(100% - ${end}%)`;
|
|
486
|
+
};
|
|
487
|
+
_onKeyPress = new WeakSet();
|
|
488
|
+
onKeyPress_fn = function(event) {
|
|
489
|
+
const thumb = event.target;
|
|
490
|
+
const rangeId = +thumb.dataset.rangeId;
|
|
491
|
+
const currentValue = __privateGet(this, _rangeValues).get(rangeId);
|
|
492
|
+
if (currentValue === void 0)
|
|
493
|
+
return;
|
|
494
|
+
let value = currentValue;
|
|
495
|
+
switch (event.key) {
|
|
496
|
+
case "ArrowUp":
|
|
497
|
+
case "Up":
|
|
498
|
+
value = Math.min(currentValue + this.step, this.max);
|
|
499
|
+
break;
|
|
500
|
+
case "ArrowDown":
|
|
501
|
+
case "Down":
|
|
502
|
+
value = Math.max(currentValue - this.step, this.min);
|
|
503
|
+
break;
|
|
504
|
+
case "ArrowLeft":
|
|
505
|
+
case "Left":
|
|
506
|
+
value = __privateGet(this, _rtl, rtl_get) ? Math.min(currentValue + this.step, this.max) : Math.max(currentValue - this.step, this.min);
|
|
507
|
+
break;
|
|
508
|
+
case "ArrowRight":
|
|
509
|
+
case "Right":
|
|
510
|
+
value = __privateGet(this, _rtl, rtl_get) ? Math.max(currentValue - this.step, this.min) : Math.min(currentValue + this.step, this.max);
|
|
511
|
+
break;
|
|
512
|
+
case "PageUp":
|
|
513
|
+
value = Math.min(
|
|
514
|
+
currentValue + (this.max - this.min) / 5,
|
|
515
|
+
this.max
|
|
516
|
+
);
|
|
517
|
+
break;
|
|
518
|
+
case "PageDown":
|
|
519
|
+
value = Math.max(
|
|
520
|
+
currentValue - (this.max - this.min) / 5,
|
|
521
|
+
this.min
|
|
522
|
+
);
|
|
523
|
+
break;
|
|
524
|
+
case "Home":
|
|
525
|
+
value = this.min;
|
|
526
|
+
break;
|
|
527
|
+
case "End":
|
|
528
|
+
value = this.max;
|
|
529
|
+
break;
|
|
530
|
+
default:
|
|
531
|
+
return;
|
|
532
|
+
}
|
|
533
|
+
if (value !== currentValue) {
|
|
534
|
+
const synMove = this.emit("syn-move", {
|
|
535
|
+
cancelable: true,
|
|
536
|
+
detail: {
|
|
537
|
+
element: thumb,
|
|
538
|
+
value
|
|
539
|
+
}
|
|
540
|
+
});
|
|
541
|
+
if (synMove.defaultPrevented) {
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
544
|
+
__privateMethod(this, _moveThumb, moveThumb_fn).call(this, thumb, value);
|
|
545
|
+
__privateGet(this, _rangeValues).set(rangeId, value);
|
|
546
|
+
__privateSet(this, _value, Array.from(__privateGet(this, _rangeValues).values()));
|
|
547
|
+
__privateMethod(this, _updateActiveTrack, updateActiveTrack_fn).call(this);
|
|
548
|
+
__privateMethod(this, _updateTooltip, updateTooltip_fn).call(this, thumb);
|
|
549
|
+
__privateSet(this, _lastChangeValue, Array.from(__privateGet(this, _value)));
|
|
550
|
+
this.emit("syn-input");
|
|
551
|
+
this.emit("syn-change");
|
|
552
|
+
}
|
|
553
|
+
event.stopPropagation();
|
|
554
|
+
event.preventDefault();
|
|
555
|
+
};
|
|
556
|
+
_onBlur = new WeakSet();
|
|
557
|
+
onBlur_fn = function(event) {
|
|
558
|
+
var _a;
|
|
559
|
+
if (event.relatedTarget && ((_a = this.shadowRoot) == null ? void 0 : _a.contains(event.relatedTarget)))
|
|
560
|
+
return;
|
|
561
|
+
this.emit("syn-blur");
|
|
562
|
+
__privateSet(this, _hasFocus, false);
|
|
563
|
+
};
|
|
564
|
+
_updateTooltip = new WeakSet();
|
|
565
|
+
updateTooltip_fn = function(thumb) {
|
|
566
|
+
if (this.tooltipPlacement === "none")
|
|
567
|
+
return;
|
|
568
|
+
const rangeId = +thumb.dataset.rangeId;
|
|
569
|
+
if (!__privateGet(this, _rangeValues).has(rangeId))
|
|
570
|
+
return;
|
|
571
|
+
const value = __privateGet(this, _rangeValues).get(rangeId);
|
|
572
|
+
const tooltip = thumb.parentElement;
|
|
573
|
+
tooltip.content = this.tooltipFormatter(value);
|
|
574
|
+
};
|
|
575
|
+
_onFocusThumb = new WeakSet();
|
|
576
|
+
onFocusThumb_fn = function(event) {
|
|
577
|
+
var _a;
|
|
578
|
+
if (this.disabled)
|
|
579
|
+
return;
|
|
580
|
+
if (!__privateGet(this, _hasFocus)) {
|
|
581
|
+
__privateSet(this, _hasFocus, true);
|
|
582
|
+
this.emit("syn-focus");
|
|
583
|
+
}
|
|
584
|
+
const thumb = event.target;
|
|
585
|
+
if (!((_a = thumb == null ? void 0 : thumb.dataset) == null ? void 0 : _a.rangeId))
|
|
586
|
+
return;
|
|
587
|
+
__privateMethod(this, _updateTooltip, updateTooltip_fn).call(this, thumb);
|
|
588
|
+
};
|
|
589
|
+
_handleInvalid = new WeakSet();
|
|
590
|
+
handleInvalid_fn = function(event) {
|
|
591
|
+
this.formControlController.setValidity(false);
|
|
592
|
+
this.formControlController.emitInvalidEvent(event);
|
|
593
|
+
};
|
|
594
|
+
_updatePrefixSuffixPosition = new WeakSet();
|
|
595
|
+
updatePrefixSuffixPosition_fn = function() {
|
|
596
|
+
var _a, _b, _c, _d;
|
|
597
|
+
const hasTicksSlot = this.hasSlotController.test("ticks");
|
|
598
|
+
const hasPrefixSlot = this.hasSlotController.test("prefix");
|
|
599
|
+
const hasSuffixSlot = this.hasSlotController.test("suffix");
|
|
600
|
+
if (!hasTicksSlot) {
|
|
601
|
+
return;
|
|
602
|
+
}
|
|
603
|
+
let ticksHeight = (_b = (_a = this.shadowRoot) == null ? void 0 : _a.querySelector(".ticks")) == null ? void 0 : _b.clientHeight;
|
|
604
|
+
if (ticksHeight) {
|
|
605
|
+
ticksHeight += 2;
|
|
606
|
+
ticksHeight /= 2;
|
|
607
|
+
if (hasPrefixSlot) {
|
|
608
|
+
const prefix = (_c = this.shadowRoot) == null ? void 0 : _c.querySelector(".input__prefix");
|
|
609
|
+
prefix.style.transform = `translateY(-${ticksHeight}px)`;
|
|
610
|
+
}
|
|
611
|
+
if (hasSuffixSlot) {
|
|
612
|
+
const suffix = (_d = this.shadowRoot) == null ? void 0 : _d.querySelector(".input__suffix");
|
|
613
|
+
suffix.style.transform = `translateY(-${ticksHeight}px)`;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
SynRange.styles = [
|
|
618
|
+
component_styles_default,
|
|
619
|
+
form_control_styles_default,
|
|
620
|
+
form_control_custom_styles_default,
|
|
621
|
+
range_styles_default
|
|
622
|
+
];
|
|
623
|
+
SynRange.dependencies = {
|
|
624
|
+
"syn-tooltip": SynTooltip
|
|
625
|
+
};
|
|
626
|
+
__decorateClass([
|
|
627
|
+
property()
|
|
628
|
+
], SynRange.prototype, "name", 2);
|
|
629
|
+
__decorateClass([
|
|
630
|
+
property()
|
|
631
|
+
], SynRange.prototype, "label", 2);
|
|
632
|
+
__decorateClass([
|
|
633
|
+
property({ attribute: "help-text" })
|
|
634
|
+
], SynRange.prototype, "helpText", 2);
|
|
635
|
+
__decorateClass([
|
|
636
|
+
property({ reflect: true, type: Boolean })
|
|
637
|
+
], SynRange.prototype, "disabled", 2);
|
|
638
|
+
__decorateClass([
|
|
639
|
+
property({ type: Number })
|
|
640
|
+
], SynRange.prototype, "min", 2);
|
|
641
|
+
__decorateClass([
|
|
642
|
+
property({ type: Number })
|
|
643
|
+
], SynRange.prototype, "max", 2);
|
|
644
|
+
__decorateClass([
|
|
645
|
+
property({ type: Number })
|
|
646
|
+
], SynRange.prototype, "step", 2);
|
|
647
|
+
__decorateClass([
|
|
648
|
+
property({ reflect: true })
|
|
649
|
+
], SynRange.prototype, "size", 2);
|
|
650
|
+
__decorateClass([
|
|
651
|
+
property({ attribute: "tooltip-placement", type: String })
|
|
652
|
+
], SynRange.prototype, "tooltipPlacement", 2);
|
|
653
|
+
__decorateClass([
|
|
654
|
+
property({ type: String })
|
|
655
|
+
], SynRange.prototype, "value", 1);
|
|
656
|
+
__decorateClass([
|
|
657
|
+
defaultValue()
|
|
658
|
+
], SynRange.prototype, "defaultValue", 2);
|
|
659
|
+
__decorateClass([
|
|
660
|
+
property({ reflect: true })
|
|
661
|
+
], SynRange.prototype, "form", 2);
|
|
662
|
+
__decorateClass([
|
|
663
|
+
property({ attribute: false })
|
|
664
|
+
], SynRange.prototype, "tooltipFormatter", 2);
|
|
665
|
+
__decorateClass([
|
|
666
|
+
query(".input__wrapper")
|
|
667
|
+
], SynRange.prototype, "baseDiv", 2);
|
|
668
|
+
__decorateClass([
|
|
669
|
+
query(".active-track")
|
|
670
|
+
], SynRange.prototype, "activeTrack", 2);
|
|
671
|
+
__decorateClass([
|
|
672
|
+
queryAll(".thumb")
|
|
673
|
+
], SynRange.prototype, "thumbs", 2);
|
|
674
|
+
__decorateClass([
|
|
675
|
+
query(".range__validation-input")
|
|
676
|
+
], SynRange.prototype, "validationInput", 2);
|
|
677
|
+
|
|
678
|
+
export {
|
|
679
|
+
SynRange
|
|
680
|
+
};
|
|
681
|
+
//# sourceMappingURL=chunk.X7LEPG3A.js.map
|