@synergy-design-system/components 2.14.1 → 2.14.3
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.JWVUVW6O.js → chunk.25JUHBIK.js} +2 -2
- package/dist/chunks/{chunk.5OK5KN5S.js → chunk.2DL4ZSBS.js} +2 -2
- package/dist/chunks/{chunk.B7626H6F.js → chunk.2M3OO2G6.js} +2 -2
- package/dist/chunks/{chunk.5MGIWDX5.js → chunk.2N4CXWJR.js} +2 -2
- package/dist/chunks/{chunk.HSTOFIXW.js → chunk.2VEV27HT.js} +11 -11
- package/dist/chunks/{chunk.UCSBHOIS.js → chunk.2XKMEGGX.js} +18 -15
- package/dist/chunks/chunk.2XKMEGGX.js.map +7 -0
- package/dist/chunks/{chunk.JNHBMNPQ.js → chunk.32AK63SX.js} +2 -2
- package/dist/chunks/{chunk.MQ7LOO2Y.js → chunk.3GAK3HCW.js} +2 -2
- package/dist/chunks/{chunk.JSNMBHOQ.js → chunk.3N54OV6X.js} +2 -2
- package/dist/chunks/{chunk.RBG37CD4.js → chunk.3NXKLKWH.js} +1 -1
- package/dist/chunks/{chunk.RBG37CD4.js.map → chunk.3NXKLKWH.js.map} +2 -2
- package/dist/chunks/{chunk.RMS6DADX.js → chunk.3RQCHNTE.js} +2 -2
- package/dist/chunks/{chunk.XKG57QNE.js → chunk.3T4PKXLZ.js} +6 -6
- package/dist/chunks/{chunk.F5463ZDK.js → chunk.3V3Z552X.js} +2 -2
- package/dist/chunks/{chunk.BBUFEDXF.js → chunk.43YNZAWL.js} +2 -5
- package/dist/chunks/{chunk.BBUFEDXF.js.map → chunk.43YNZAWL.js.map} +2 -2
- package/dist/chunks/{chunk.BVPLIUAM.js → chunk.4ZCQXFO7.js} +2 -2
- package/dist/chunks/{chunk.QSOI4JQP.js → chunk.5JWKXQDN.js} +47 -22
- package/dist/chunks/chunk.5JWKXQDN.js.map +7 -0
- package/dist/chunks/{chunk.G5Y4T62U.js → chunk.6DCZLSTP.js} +3 -3
- package/dist/chunks/{chunk.NIA5K4OJ.js → chunk.6EVVIDQZ.js} +3 -3
- package/dist/chunks/chunk.6EVVIDQZ.js.map +7 -0
- package/dist/chunks/{chunk.GN2HRVLE.js → chunk.7MCSBLOW.js} +2 -2
- package/dist/chunks/{chunk.XFKWBXZR.js → chunk.7WHIEYGK.js} +2 -2
- package/dist/chunks/{chunk.OKFITUPX.js → chunk.A2FQFTFB.js} +2 -2
- package/dist/chunks/{chunk.LSZXCDFL.js → chunk.A7DYRCSL.js} +2 -2
- package/dist/chunks/{chunk.52263CF2.js → chunk.ADQX5OKP.js} +2 -2
- package/dist/chunks/{chunk.5PA56ND3.js → chunk.AGXEODV2.js} +4 -4
- package/dist/chunks/{chunk.CEV42XP7.js → chunk.BMXPNWDD.js} +3 -3
- package/dist/chunks/{chunk.ACYJBJDB.js → chunk.CDQY5ANT.js} +2 -2
- package/dist/chunks/{chunk.3AY3V6GM.js → chunk.CJVTIJGE.js} +2 -2
- package/dist/chunks/{chunk.WMIXKTYN.js → chunk.D6D5IFPL.js} +6 -6
- package/dist/chunks/{chunk.LGMADQ74.js → chunk.DOU546A6.js} +2 -2
- package/dist/chunks/{chunk.PJJLUK3S.js → chunk.DQC3S32H.js} +8 -8
- package/dist/chunks/{chunk.VAMMVENR.js → chunk.DYZDTSNX.js} +7 -8
- package/dist/chunks/chunk.DYZDTSNX.js.map +7 -0
- package/dist/chunks/{chunk.BTDXOSFP.js → chunk.EBE3CGKL.js} +2 -2
- package/dist/chunks/{chunk.BTDXOSFP.js.map → chunk.EBE3CGKL.js.map} +1 -1
- package/dist/chunks/{chunk.YPUZNOGK.js → chunk.EFEGWSPA.js} +2 -2
- package/dist/chunks/{chunk.BOLYNSAY.js → chunk.EHHULBSP.js} +13 -7
- package/dist/chunks/chunk.EHHULBSP.js.map +7 -0
- package/dist/chunks/{chunk.3INFZQUC.js → chunk.FAM3ZB47.js} +3 -3
- package/dist/chunks/{chunk.DL7JII5E.js → chunk.FN76TNJJ.js} +2 -2
- package/dist/chunks/{chunk.DJZH56NZ.js → chunk.FWM3I5X4.js} +2 -2
- package/dist/chunks/{chunk.QSP4W3ST.js → chunk.GLQI4HLD.js} +10 -9
- package/dist/chunks/{chunk.QSP4W3ST.js.map → chunk.GLQI4HLD.js.map} +2 -2
- package/dist/chunks/{chunk.4M6OPEJO.js → chunk.GOFLVOUS.js} +2 -2
- package/dist/chunks/{chunk.4WQGGNBW.js → chunk.GWRO6ZDZ.js} +4 -4
- package/dist/chunks/chunk.GWRO6ZDZ.js.map +7 -0
- package/dist/chunks/{chunk.5SBPVPZO.js → chunk.HCJMC4IT.js} +2 -2
- package/dist/chunks/{chunk.TQB37PWT.js → chunk.HEFW5DOH.js} +2 -2
- package/dist/chunks/{chunk.C4ONHCR2.js → chunk.I4STIUVP.js} +2 -2
- package/dist/chunks/{chunk.RKYYDWN5.js → chunk.I5N5WFJU.js} +5 -5
- package/dist/chunks/{chunk.TBGHJV63.js → chunk.ILCJZFQK.js} +3 -3
- package/dist/chunks/{chunk.IZEADTY5.js → chunk.IZ72PTZ7.js} +1 -10
- package/dist/chunks/{chunk.IZEADTY5.js.map → chunk.IZ72PTZ7.js.map} +2 -2
- package/dist/chunks/{chunk.PKX7DBI4.js → chunk.K5BSQPSN.js} +2 -2
- package/dist/chunks/{chunk.6BMVIJL3.js → chunk.K5PXELDD.js} +3 -3
- package/dist/chunks/{chunk.XZFMTDSR.js → chunk.KX3ATDPK.js} +2 -2
- package/dist/chunks/{chunk.RTEU272Y.js → chunk.LNBMB3DI.js} +2 -2
- package/dist/chunks/{chunk.ELVW2U46.js → chunk.LR3QOC2S.js} +6 -6
- package/dist/chunks/{chunk.4PU7OIVQ.js → chunk.M5NJMQBQ.js} +3 -3
- package/dist/chunks/{chunk.U3G6BCYU.js → chunk.M7ICWWDM.js} +2 -2
- package/dist/chunks/{chunk.2PGJMFOB.js → chunk.MCTYU5HS.js} +7 -8
- package/dist/chunks/chunk.MCTYU5HS.js.map +7 -0
- package/dist/chunks/{chunk.OKGUIJXI.js → chunk.MGMIX6DT.js} +2 -2
- package/dist/chunks/{chunk.TI2OQSXU.js → chunk.MTPLSXES.js} +2 -2
- package/dist/chunks/{chunk.UOCB6QQW.js → chunk.NCQXRLJC.js} +3 -3
- package/dist/chunks/{chunk.G733OK5E.js → chunk.NPQAP7F6.js} +2 -2
- package/dist/chunks/{chunk.KDPRCS4B.js → chunk.O2XUYEBK.js} +2 -2
- package/dist/chunks/{chunk.GFXOZOKO.js → chunk.O7YNDGZN.js} +6 -6
- package/dist/chunks/{chunk.LLW3ZESH.js → chunk.P5CBQNOP.js} +3 -3
- package/dist/chunks/{chunk.62BPHWGP.js → chunk.PDN2VYR2.js} +2 -2
- package/dist/chunks/{chunk.CJXGS65O.js → chunk.PEQB7YJD.js} +4 -4
- package/dist/chunks/{chunk.XFDPUTFZ.js → chunk.PFCFF54R.js} +7 -7
- package/dist/chunks/{chunk.MFK3OBGO.js → chunk.PONNA4YL.js} +2 -2
- package/dist/chunks/{chunk.PYBUH4X3.js → chunk.QS7HRCHA.js} +7 -7
- package/dist/chunks/{chunk.MKWJTOOB.js → chunk.QUXICFJL.js} +2 -2
- package/dist/chunks/{chunk.QVEVZ6P6.js → chunk.QZRLHN6I.js} +2 -2
- package/dist/chunks/{chunk.YJ56W45T.js → chunk.R22XUKGQ.js} +7 -7
- package/dist/chunks/{chunk.HYZYKFKI.js → chunk.RXG5TZNY.js} +9 -9
- package/dist/chunks/{chunk.CJLH7J7S.js → chunk.SCT7M3OI.js} +6 -6
- package/dist/chunks/{chunk.VLMXH5H3.js → chunk.SF4OPBS6.js} +5 -5
- package/dist/chunks/{chunk.DRK3YX4Z.js → chunk.SFCABZYW.js} +2 -2
- package/dist/chunks/{chunk.ARFMGKMY.js → chunk.SNVEQ432.js} +2 -2
- package/dist/chunks/{chunk.AZF7WN73.js → chunk.SPAJDYL5.js} +2 -2
- package/dist/chunks/{chunk.J3WEX5HD.js → chunk.STSKJPGL.js} +2 -2
- package/dist/chunks/{chunk.A77RWT6K.js → chunk.T5ZAWJVF.js} +2 -2
- package/dist/chunks/{chunk.D4YOKGJQ.js → chunk.TXKD5X4O.js} +2 -2
- package/dist/chunks/{chunk.O6GNDOJS.js → chunk.UAK6WG4U.js} +2 -2
- package/dist/chunks/{chunk.DJOJTIW7.js → chunk.UQRQF6V7.js} +2 -2
- package/dist/chunks/{chunk.TQPJY33X.js → chunk.UVT3K4BL.js} +8 -8
- package/dist/chunks/{chunk.DRRFQY4U.js → chunk.V3YTSDOG.js} +2 -2
- package/dist/chunks/{chunk.FUHFSQEX.js → chunk.V4HPWQE7.js} +1 -1
- package/dist/chunks/{chunk.FUHFSQEX.js.map → chunk.V4HPWQE7.js.map} +2 -2
- package/dist/chunks/{chunk.FM7Y6QTI.js → chunk.VLLUDIS7.js} +2 -2
- package/dist/chunks/{chunk.XDYBSCZB.js → chunk.VN3RRCSO.js} +2 -2
- package/dist/chunks/{chunk.QTMPI6MU.js → chunk.VRYQ7MKQ.js} +2 -2
- package/dist/chunks/{chunk.GLOX7JMO.js → chunk.WNUD4VDX.js} +2 -2
- package/dist/chunks/{chunk.2UYVUDI7.js → chunk.WQXCL54U.js} +2 -2
- package/dist/chunks/{chunk.VXGFRIVQ.js → chunk.XC2GLKQM.js} +8 -8
- package/dist/chunks/{chunk.WT2TGROO.js → chunk.XQPM6V3Y.js} +2 -2
- package/dist/chunks/{chunk.BQ5HKXCW.js → chunk.XSTUKBIN.js} +2 -2
- package/dist/chunks/{chunk.MJEJKJER.js → chunk.XTWO6ZZW.js} +6 -6
- package/dist/chunks/{chunk.MJEJKJER.js.map → chunk.XTWO6ZZW.js.map} +1 -1
- package/dist/chunks/{chunk.W3RGEMX5.js → chunk.XYAH4IO5.js} +2 -2
- package/dist/chunks/{chunk.M2FYP3OQ.js → chunk.YHDODK3T.js} +2 -2
- package/dist/chunks/{chunk.5AJSQKA5.js → chunk.YMCR3GIU.js} +2 -2
- package/dist/chunks/{chunk.5BZ26TQP.js → chunk.YVIQ2WAT.js} +2 -2
- package/dist/chunks/{chunk.ULTXP6Y2.js → chunk.ZA3WJ6M5.js} +2 -2
- package/dist/chunks/{chunk.XENZ2D2Z.js → chunk.ZLBGUUHH.js} +2 -2
- package/dist/chunks/{chunk.MJK6ZWX5.js → chunk.ZPT2C54J.js} +2 -2
- package/dist/chunks/{chunk.BIDTP26C.js → chunk.ZVXLBYON.js} +4 -4
- package/dist/components/accordion/accordion.component.js +3 -3
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/badge/badge.component.js +4 -4
- package/dist/components/badge/badge.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/combobox/combobox.component.d.ts +1 -1
- package/dist/components/combobox/combobox.component.js +8 -8
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/file/file.component.js +8 -8
- package/dist/components/file/file.js +9 -9
- package/dist/components/header/header.component.js +6 -6
- package/dist/components/header/header.js +7 -7
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +8 -8
- package/dist/components/menu-item/menu-item.js +9 -9
- package/dist/components/menu-item/submenu-controller.js +1 -1
- package/dist/components/menu-label/menu-label.component.js +3 -3
- package/dist/components/menu-label/menu-label.js +4 -4
- package/dist/components/nav-item/nav-item.component.js +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.d.ts +0 -1
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/prio-nav/prio-nav.component.js +10 -10
- package/dist/components/prio-nav/prio-nav.js +11 -11
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +6 -6
- package/dist/components/range/range.js +7 -7
- package/dist/components/range-tick/range-tick.component.js +2 -2
- package/dist/components/range-tick/range-tick.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/select/select.component.d.ts +5 -2
- package/dist/components/select/select.component.js +9 -10
- package/dist/components/select/select.js +10 -11
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/side-nav/side-nav.component.js +8 -8
- package/dist/components/side-nav/side-nav.js +9 -9
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tab/tab.component.js +7 -7
- package/dist/components/tab/tab.js +8 -8
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +10 -10
- package/dist/components/validate/validate.js +11 -11
- package/dist/custom-elements.json +22 -25
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +112 -112
- package/dist/vscode.html-custom-data.json +5 -5
- package/package.json +1 -1
- package/dist/chunks/chunk.2PGJMFOB.js.map +0 -7
- package/dist/chunks/chunk.4WQGGNBW.js.map +0 -7
- package/dist/chunks/chunk.BOLYNSAY.js.map +0 -7
- package/dist/chunks/chunk.NIA5K4OJ.js.map +0 -7
- package/dist/chunks/chunk.QSOI4JQP.js.map +0 -7
- package/dist/chunks/chunk.UCSBHOIS.js.map +0 -7
- package/dist/chunks/chunk.VAMMVENR.js.map +0 -7
- /package/dist/chunks/{chunk.JWVUVW6O.js.map → chunk.25JUHBIK.js.map} +0 -0
- /package/dist/chunks/{chunk.5OK5KN5S.js.map → chunk.2DL4ZSBS.js.map} +0 -0
- /package/dist/chunks/{chunk.B7626H6F.js.map → chunk.2M3OO2G6.js.map} +0 -0
- /package/dist/chunks/{chunk.5MGIWDX5.js.map → chunk.2N4CXWJR.js.map} +0 -0
- /package/dist/chunks/{chunk.HSTOFIXW.js.map → chunk.2VEV27HT.js.map} +0 -0
- /package/dist/chunks/{chunk.JNHBMNPQ.js.map → chunk.32AK63SX.js.map} +0 -0
- /package/dist/chunks/{chunk.MQ7LOO2Y.js.map → chunk.3GAK3HCW.js.map} +0 -0
- /package/dist/chunks/{chunk.JSNMBHOQ.js.map → chunk.3N54OV6X.js.map} +0 -0
- /package/dist/chunks/{chunk.RMS6DADX.js.map → chunk.3RQCHNTE.js.map} +0 -0
- /package/dist/chunks/{chunk.XKG57QNE.js.map → chunk.3T4PKXLZ.js.map} +0 -0
- /package/dist/chunks/{chunk.F5463ZDK.js.map → chunk.3V3Z552X.js.map} +0 -0
- /package/dist/chunks/{chunk.BVPLIUAM.js.map → chunk.4ZCQXFO7.js.map} +0 -0
- /package/dist/chunks/{chunk.G5Y4T62U.js.map → chunk.6DCZLSTP.js.map} +0 -0
- /package/dist/chunks/{chunk.GN2HRVLE.js.map → chunk.7MCSBLOW.js.map} +0 -0
- /package/dist/chunks/{chunk.XFKWBXZR.js.map → chunk.7WHIEYGK.js.map} +0 -0
- /package/dist/chunks/{chunk.OKFITUPX.js.map → chunk.A2FQFTFB.js.map} +0 -0
- /package/dist/chunks/{chunk.LSZXCDFL.js.map → chunk.A7DYRCSL.js.map} +0 -0
- /package/dist/chunks/{chunk.52263CF2.js.map → chunk.ADQX5OKP.js.map} +0 -0
- /package/dist/chunks/{chunk.5PA56ND3.js.map → chunk.AGXEODV2.js.map} +0 -0
- /package/dist/chunks/{chunk.CEV42XP7.js.map → chunk.BMXPNWDD.js.map} +0 -0
- /package/dist/chunks/{chunk.ACYJBJDB.js.map → chunk.CDQY5ANT.js.map} +0 -0
- /package/dist/chunks/{chunk.3AY3V6GM.js.map → chunk.CJVTIJGE.js.map} +0 -0
- /package/dist/chunks/{chunk.WMIXKTYN.js.map → chunk.D6D5IFPL.js.map} +0 -0
- /package/dist/chunks/{chunk.LGMADQ74.js.map → chunk.DOU546A6.js.map} +0 -0
- /package/dist/chunks/{chunk.PJJLUK3S.js.map → chunk.DQC3S32H.js.map} +0 -0
- /package/dist/chunks/{chunk.YPUZNOGK.js.map → chunk.EFEGWSPA.js.map} +0 -0
- /package/dist/chunks/{chunk.3INFZQUC.js.map → chunk.FAM3ZB47.js.map} +0 -0
- /package/dist/chunks/{chunk.DL7JII5E.js.map → chunk.FN76TNJJ.js.map} +0 -0
- /package/dist/chunks/{chunk.DJZH56NZ.js.map → chunk.FWM3I5X4.js.map} +0 -0
- /package/dist/chunks/{chunk.4M6OPEJO.js.map → chunk.GOFLVOUS.js.map} +0 -0
- /package/dist/chunks/{chunk.5SBPVPZO.js.map → chunk.HCJMC4IT.js.map} +0 -0
- /package/dist/chunks/{chunk.TQB37PWT.js.map → chunk.HEFW5DOH.js.map} +0 -0
- /package/dist/chunks/{chunk.C4ONHCR2.js.map → chunk.I4STIUVP.js.map} +0 -0
- /package/dist/chunks/{chunk.RKYYDWN5.js.map → chunk.I5N5WFJU.js.map} +0 -0
- /package/dist/chunks/{chunk.TBGHJV63.js.map → chunk.ILCJZFQK.js.map} +0 -0
- /package/dist/chunks/{chunk.PKX7DBI4.js.map → chunk.K5BSQPSN.js.map} +0 -0
- /package/dist/chunks/{chunk.6BMVIJL3.js.map → chunk.K5PXELDD.js.map} +0 -0
- /package/dist/chunks/{chunk.XZFMTDSR.js.map → chunk.KX3ATDPK.js.map} +0 -0
- /package/dist/chunks/{chunk.RTEU272Y.js.map → chunk.LNBMB3DI.js.map} +0 -0
- /package/dist/chunks/{chunk.ELVW2U46.js.map → chunk.LR3QOC2S.js.map} +0 -0
- /package/dist/chunks/{chunk.4PU7OIVQ.js.map → chunk.M5NJMQBQ.js.map} +0 -0
- /package/dist/chunks/{chunk.U3G6BCYU.js.map → chunk.M7ICWWDM.js.map} +0 -0
- /package/dist/chunks/{chunk.OKGUIJXI.js.map → chunk.MGMIX6DT.js.map} +0 -0
- /package/dist/chunks/{chunk.TI2OQSXU.js.map → chunk.MTPLSXES.js.map} +0 -0
- /package/dist/chunks/{chunk.UOCB6QQW.js.map → chunk.NCQXRLJC.js.map} +0 -0
- /package/dist/chunks/{chunk.G733OK5E.js.map → chunk.NPQAP7F6.js.map} +0 -0
- /package/dist/chunks/{chunk.KDPRCS4B.js.map → chunk.O2XUYEBK.js.map} +0 -0
- /package/dist/chunks/{chunk.GFXOZOKO.js.map → chunk.O7YNDGZN.js.map} +0 -0
- /package/dist/chunks/{chunk.LLW3ZESH.js.map → chunk.P5CBQNOP.js.map} +0 -0
- /package/dist/chunks/{chunk.62BPHWGP.js.map → chunk.PDN2VYR2.js.map} +0 -0
- /package/dist/chunks/{chunk.CJXGS65O.js.map → chunk.PEQB7YJD.js.map} +0 -0
- /package/dist/chunks/{chunk.XFDPUTFZ.js.map → chunk.PFCFF54R.js.map} +0 -0
- /package/dist/chunks/{chunk.MFK3OBGO.js.map → chunk.PONNA4YL.js.map} +0 -0
- /package/dist/chunks/{chunk.PYBUH4X3.js.map → chunk.QS7HRCHA.js.map} +0 -0
- /package/dist/chunks/{chunk.MKWJTOOB.js.map → chunk.QUXICFJL.js.map} +0 -0
- /package/dist/chunks/{chunk.QVEVZ6P6.js.map → chunk.QZRLHN6I.js.map} +0 -0
- /package/dist/chunks/{chunk.YJ56W45T.js.map → chunk.R22XUKGQ.js.map} +0 -0
- /package/dist/chunks/{chunk.HYZYKFKI.js.map → chunk.RXG5TZNY.js.map} +0 -0
- /package/dist/chunks/{chunk.CJLH7J7S.js.map → chunk.SCT7M3OI.js.map} +0 -0
- /package/dist/chunks/{chunk.VLMXH5H3.js.map → chunk.SF4OPBS6.js.map} +0 -0
- /package/dist/chunks/{chunk.DRK3YX4Z.js.map → chunk.SFCABZYW.js.map} +0 -0
- /package/dist/chunks/{chunk.ARFMGKMY.js.map → chunk.SNVEQ432.js.map} +0 -0
- /package/dist/chunks/{chunk.AZF7WN73.js.map → chunk.SPAJDYL5.js.map} +0 -0
- /package/dist/chunks/{chunk.J3WEX5HD.js.map → chunk.STSKJPGL.js.map} +0 -0
- /package/dist/chunks/{chunk.A77RWT6K.js.map → chunk.T5ZAWJVF.js.map} +0 -0
- /package/dist/chunks/{chunk.D4YOKGJQ.js.map → chunk.TXKD5X4O.js.map} +0 -0
- /package/dist/chunks/{chunk.O6GNDOJS.js.map → chunk.UAK6WG4U.js.map} +0 -0
- /package/dist/chunks/{chunk.DJOJTIW7.js.map → chunk.UQRQF6V7.js.map} +0 -0
- /package/dist/chunks/{chunk.TQPJY33X.js.map → chunk.UVT3K4BL.js.map} +0 -0
- /package/dist/chunks/{chunk.DRRFQY4U.js.map → chunk.V3YTSDOG.js.map} +0 -0
- /package/dist/chunks/{chunk.FM7Y6QTI.js.map → chunk.VLLUDIS7.js.map} +0 -0
- /package/dist/chunks/{chunk.XDYBSCZB.js.map → chunk.VN3RRCSO.js.map} +0 -0
- /package/dist/chunks/{chunk.QTMPI6MU.js.map → chunk.VRYQ7MKQ.js.map} +0 -0
- /package/dist/chunks/{chunk.GLOX7JMO.js.map → chunk.WNUD4VDX.js.map} +0 -0
- /package/dist/chunks/{chunk.2UYVUDI7.js.map → chunk.WQXCL54U.js.map} +0 -0
- /package/dist/chunks/{chunk.VXGFRIVQ.js.map → chunk.XC2GLKQM.js.map} +0 -0
- /package/dist/chunks/{chunk.WT2TGROO.js.map → chunk.XQPM6V3Y.js.map} +0 -0
- /package/dist/chunks/{chunk.BQ5HKXCW.js.map → chunk.XSTUKBIN.js.map} +0 -0
- /package/dist/chunks/{chunk.W3RGEMX5.js.map → chunk.XYAH4IO5.js.map} +0 -0
- /package/dist/chunks/{chunk.M2FYP3OQ.js.map → chunk.YHDODK3T.js.map} +0 -0
- /package/dist/chunks/{chunk.5AJSQKA5.js.map → chunk.YMCR3GIU.js.map} +0 -0
- /package/dist/chunks/{chunk.5BZ26TQP.js.map → chunk.YVIQ2WAT.js.map} +0 -0
- /package/dist/chunks/{chunk.ULTXP6Y2.js.map → chunk.ZA3WJ6M5.js.map} +0 -0
- /package/dist/chunks/{chunk.XENZ2D2Z.js.map → chunk.ZLBGUUHH.js.map} +0 -0
- /package/dist/chunks/{chunk.MJK6ZWX5.js.map → chunk.ZPT2C54J.js.map} +0 -0
- /package/dist/chunks/{chunk.BIDTP26C.js.map → chunk.ZVXLBYON.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynAccordion
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.I5N5WFJU.js";
|
|
4
4
|
|
|
5
5
|
// src/components/accordion/accordion.ts
|
|
6
6
|
var accordion_default = SynAccordion;
|
|
@@ -9,4 +9,4 @@ SynAccordion.define("syn-accordion");
|
|
|
9
9
|
export {
|
|
10
10
|
accordion_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.25JUHBIK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynHeader
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SCT7M3OI.js";
|
|
4
4
|
|
|
5
5
|
// src/components/header/header.ts
|
|
6
6
|
var header_default = SynHeader;
|
|
@@ -9,4 +9,4 @@ SynHeader.define("syn-header");
|
|
|
9
9
|
export {
|
|
10
10
|
header_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.2DL4ZSBS.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.EBE3CGKL.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -132,4 +132,4 @@ __decorateClass([
|
|
|
132
132
|
export {
|
|
133
133
|
SynRadioButton
|
|
134
134
|
};
|
|
135
|
-
//# sourceMappingURL=chunk.
|
|
135
|
+
//# sourceMappingURL=chunk.2M3OO2G6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButtonGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XQPM6V3Y.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button-group/button-group.ts
|
|
6
6
|
var button_group_default = SynButtonGroup;
|
|
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
|
|
|
9
9
|
export {
|
|
10
10
|
button_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.2N4CXWJR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIconButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.K5PXELDD.js";
|
|
4
4
|
import {
|
|
5
5
|
waitForEvent
|
|
6
6
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -16,23 +16,23 @@ import {
|
|
|
16
16
|
HasSlotController
|
|
17
17
|
} from "./chunk.WVVQK5TE.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./chunk.
|
|
21
|
-
import {
|
|
22
|
-
alert_styles_default
|
|
23
|
-
} from "./chunk.IFXKIEOU.js";
|
|
19
|
+
LocalizeController
|
|
20
|
+
} from "./chunk.GIU3H3J3.js";
|
|
24
21
|
import {
|
|
25
22
|
watch
|
|
26
23
|
} from "./chunk.74IOULXM.js";
|
|
27
|
-
import {
|
|
28
|
-
LocalizeController
|
|
29
|
-
} from "./chunk.GIU3H3J3.js";
|
|
30
24
|
import {
|
|
31
25
|
component_styles_default
|
|
32
26
|
} from "./chunk.NLYVOJGK.js";
|
|
33
27
|
import {
|
|
34
28
|
SynergyElement
|
|
35
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.EBE3CGKL.js";
|
|
30
|
+
import {
|
|
31
|
+
alert_custom_styles_default
|
|
32
|
+
} from "./chunk.JRYXECAY.js";
|
|
33
|
+
import {
|
|
34
|
+
alert_styles_default
|
|
35
|
+
} from "./chunk.IFXKIEOU.js";
|
|
36
36
|
import {
|
|
37
37
|
__decorateClass
|
|
38
38
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -271,4 +271,4 @@ setDefaultAnimation("alert.hide", {
|
|
|
271
271
|
export {
|
|
272
272
|
SynAlert
|
|
273
273
|
};
|
|
274
|
-
//# sourceMappingURL=chunk.
|
|
274
|
+
//# sourceMappingURL=chunk.2VEV27HT.js.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
} from "./chunk.3B24TYVN.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIcon
|
|
9
|
-
} from "./chunk.
|
|
10
|
-
import {
|
|
11
|
-
watch
|
|
12
|
-
} from "./chunk.74IOULXM.js";
|
|
9
|
+
} from "./chunk.UAK6WG4U.js";
|
|
13
10
|
import {
|
|
14
11
|
LocalizeController
|
|
15
12
|
} from "./chunk.GIU3H3J3.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.74IOULXM.js";
|
|
16
16
|
import {
|
|
17
17
|
component_styles_default
|
|
18
18
|
} from "./chunk.NLYVOJGK.js";
|
|
19
19
|
import {
|
|
20
20
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.EBE3CGKL.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -44,15 +44,18 @@ var SynOption = class extends SynergyElement {
|
|
|
44
44
|
this.setAttribute("aria-selected", "false");
|
|
45
45
|
}
|
|
46
46
|
handleDefaultSlotChange() {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
this.
|
|
55
|
-
|
|
47
|
+
customElements.whenDefined("syn-combobox").then(() => {
|
|
48
|
+
const controller = this.closest("syn-combobox");
|
|
49
|
+
if (controller) {
|
|
50
|
+
controller.handleDefaultSlotChange();
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
customElements.whenDefined("syn-select").then(() => {
|
|
54
|
+
const controller = this.closest("syn-select");
|
|
55
|
+
if (controller) {
|
|
56
|
+
controller.handleDefaultSlotChange();
|
|
57
|
+
}
|
|
58
|
+
});
|
|
56
59
|
}
|
|
57
60
|
handleMouseEnter() {
|
|
58
61
|
this.hasHover = true;
|
|
@@ -146,4 +149,4 @@ __decorateClass([
|
|
|
146
149
|
export {
|
|
147
150
|
SynOption
|
|
148
151
|
};
|
|
149
|
-
//# sourceMappingURL=chunk.
|
|
152
|
+
//# sourceMappingURL=chunk.2XKMEGGX.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/option/option.component.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport styles from './option.styles.js';\nimport customStyles from './option.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Options define the selectable items within various form controls such as [select](/components/select).\n * @documentation https://synergy.style/components/option\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The option's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n *\n * @csspart checked-icon - The checked icon, an `<syn-icon>` element.\n * @csspart base - The component's base wrapper.\n * @csspart label - The option's label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n */\nexport default class SynOption extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n // @ts-expect-error - Controller is currently unused\n private readonly localize = new LocalizeController(this);\n\n @query('.option__label') defaultSlot: HTMLSlotElement;\n\n @state() current = false; // the user has keyed into the option, but hasn't selected it yet (shows a highlight)\n @state() selected = false; // the option is selected and has aria-selected=\"true\"\n @state() hasHover = false; // we need this because Safari doesn't honor :hover styles while dragging\n\n /**\n * The option's value. When selected, the containing form control will receive this value. The value must be unique\n * from other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing\n * multiple values.\n */\n @property({ reflect: true }) value = '';\n\n /** Draws the option in a disabled state, preventing selection. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'option');\n this.setAttribute('aria-selected', 'false');\n }\n\n private handleDefaultSlotChange() {\n // When the label changes, tell the controller to update\n customElements.whenDefined('syn-combobox').then(() => {\n const controller = this.closest('syn-combobox');\n if (controller) {\n controller.handleDefaultSlotChange();\n }\n });\n customElements.whenDefined('syn-select').then(() => {\n const controller = this.closest('syn-select');\n if (controller) {\n controller.handleDefaultSlotChange();\n }\n });\n }\n\n private handleMouseEnter() {\n this.hasHover = true;\n }\n\n private handleMouseLeave() {\n this.hasHover = false;\n }\n\n @watch('disabled')\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('selected')\n handleSelectedChange() {\n this.setAttribute('aria-selected', this.selected ? 'true' : 'false');\n }\n\n @watch('value')\n handleValueChange() {\n // Ensure the value is a string. This ensures the next line doesn't error and allows framework users to pass numbers\n // instead of requiring them to cast the value to a string.\n if (typeof this.value !== 'string') {\n this.value = String(this.value);\n }\n\n if (this.value.includes(' ')) {\n console.error(`Option values cannot include a space. All spaces have been replaced with underscores.`, this);\n this.value = this.value.replace(/ /g, '_');\n }\n }\n\n /** Returns a plain text label based on the option's content. */\n getTextLabel() {\n const nodes = this.childNodes;\n let label = '';\n\n [...nodes].forEach(node => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n if (!(node as HTMLElement).hasAttribute('slot')) {\n label += (node as HTMLElement).textContent;\n }\n }\n\n if (node.nodeType === Node.TEXT_NODE) {\n label += node.textContent;\n }\n });\n\n return label.trim();\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n option: true,\n 'option--current': this.current,\n 'option--disabled': this.disabled,\n 'option--selected': this.selected,\n 'option--hover': this.hasHover\n })}\n @mouseenter=${this.handleMouseEnter}\n @mouseleave=${this.handleMouseLeave}\n >\n <syn-icon part=\"checked-icon\" class=\"option__check\" name=\"check\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n <slot part=\"prefix\" name=\"prefix\" class=\"option__prefix\"></slot>\n <slot part=\"label\" class=\"option__label\" @slotchange=${this.handleDefaultSlotChange}></slot>\n <slot part=\"suffix\" name=\"suffix\" class=\"option__suffix\"></slot>\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;AA2BvC,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA;AAKE;AAAA,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAI9C,mBAAU;AACV,oBAAW;AACX,oBAAW;AAOS,iBAAQ;AAGO,oBAAW;AAAA;AAAA,EAEvD,oBAAoB;AAClB,UAAM,kBAAkB;AACxB,SAAK,aAAa,QAAQ,QAAQ;AAClC,SAAK,aAAa,iBAAiB,OAAO;AAAA,EAC5C;AAAA,EAEQ,0BAA0B;AAEhC,mBAAe,YAAY,cAAc,EAAE,KAAK,MAAM;AACpD,YAAM,aAAa,KAAK,QAAQ,cAAc;AAC9C,UAAI,YAAY;AACd,mBAAW,wBAAwB;AAAA,MACrC;AAAA,IACF,CAAC;AACD,mBAAe,YAAY,YAAY,EAAE,KAAK,MAAM;AAClD,YAAM,aAAa,KAAK,QAAQ,YAAY;AAC5C,UAAI,YAAY;AACd,mBAAW,wBAAwB;AAAA,MACrC;AAAA,IACF,CAAC;AAAA,EACH;AAAA,EAEQ,mBAAmB;AACzB,SAAK,WAAW;AAAA,EAClB;AAAA,EAEQ,mBAAmB;AACzB,SAAK,WAAW;AAAA,EAClB;AAAA,EAGA,uBAAuB;AACrB,SAAK,aAAa,iBAAiB,KAAK,WAAW,SAAS,OAAO;AAAA,EACrE;AAAA,EAGA,uBAAuB;AACrB,SAAK,aAAa,iBAAiB,KAAK,WAAW,SAAS,OAAO;AAAA,EACrE;AAAA,EAGA,oBAAoB;AAGlB,QAAI,OAAO,KAAK,UAAU,UAAU;AAClC,WAAK,QAAQ,OAAO,KAAK,KAAK;AAAA,IAChC;AAEA,QAAI,KAAK,MAAM,SAAS,GAAG,GAAG;AAC5B,cAAQ,MAAM,yFAAyF,IAAI;AAC3G,WAAK,QAAQ,KAAK,MAAM,QAAQ,MAAM,GAAG;AAAA,IAC3C;AAAA,EACF;AAAA;AAAA,EAGA,eAAe;AACb,UAAM,QAAQ,KAAK;AACnB,QAAI,QAAQ;AAEZ,KAAC,GAAG,KAAK,EAAE,QAAQ,UAAQ;AACzB,UAAI,KAAK,aAAa,KAAK,cAAc;AACvC,YAAI,CAAE,KAAqB,aAAa,MAAM,GAAG;AAC/C,mBAAU,KAAqB;AAAA,QACjC;AAAA,MACF;AAEA,UAAI,KAAK,aAAa,KAAK,WAAW;AACpC,iBAAS,KAAK;AAAA,MAChB;AAAA,IACF,CAAC;AAED,WAAO,MAAM,KAAK;AAAA,EACpB;AAAA,EAEA,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,QAAQ;AAAA,MACR,mBAAmB,KAAK;AAAA,MACxB,oBAAoB,KAAK;AAAA,MACzB,oBAAoB,KAAK;AAAA,MACzB,iBAAiB,KAAK;AAAA,IACxB,CAAC,CAAC;AAAA,sBACY,KAAK,gBAAgB;AAAA,sBACrB,KAAK,gBAAgB;AAAA;AAAA;AAAA;AAAA,+DAIoB,KAAK,uBAAuB;AAAA;AAAA;AAAA;AAAA,EAIzF;AACF;AAtHqB,UACZ,SAAyB,CAAC,0BAAiB,uBAAQ,4BAAY;AADnD,UAEZ,eAAe,EAAE,YAAY,QAAQ;AAKnB;AAAA,EAAxB,MAAM,gBAAgB;AAAA,GAPJ,UAOM;AAEhB;AAAA,EAAR,MAAM;AAAA,GATY,UASV;AACA;AAAA,EAAR,MAAM;AAAA,GAVY,UAUV;AACA;AAAA,EAAR,MAAM;AAAA,GAXY,UAWV;AAOoB;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GAlBR,UAkBU;AAGe;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GArBvB,UAqByB;AAiC5C;AAAA,EADC,MAAM,UAAU;AAAA,GArDE,UAsDnB;AAKA;AAAA,EADC,MAAM,UAAU;AAAA,GA1DE,UA2DnB;AAKA;AAAA,EADC,MAAM,OAAO;AAAA,GA/DK,UAgEnB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2M3OO2G6.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-button/radio-button.ts
|
|
6
6
|
var radio_button_default = SynRadioButton;
|
|
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.32AK63SX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynergyElement
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EBE3CGKL.js";
|
|
4
4
|
|
|
5
5
|
// src/components/validate/utility.ts
|
|
6
6
|
var WhitelistedSynergyFormEventNames = [
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
normalizeEventAttribute,
|
|
34
34
|
getEventNameForElement
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk.
|
|
36
|
+
//# sourceMappingURL=chunk.3GAK3HCW.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.EBE3CGKL.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -68,4 +68,4 @@ __decorateClass([
|
|
|
68
68
|
export {
|
|
69
69
|
SynProgressBar
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk.
|
|
71
|
+
//# sourceMappingURL=chunk.3N54OV6X.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/internal/default-value.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\n// @defaultValue decorator\n//\n// Runs when the corresponding attribute of the observed property changes, e.g. after calling Element.setAttribute or after updating\n// the observed property.\n//\n// The decorator checks whether the value of the attribute is different from the value of the property and in that case\n// it saves the new value.\n//\n//\n// Usage:\n//\n// @property({ type: Boolean, reflect: true }) checked = false;\n//\n// @defaultValue('checked') defaultChecked = false;\n//\n\nimport { defaultConverter } from 'lit';\nimport type { ReactiveElement } from 'lit';\n\nexport const defaultValue =\n (propertyName = 'value') =>\n (proto: ReactiveElement, key: string) => {\n const ctor = proto.constructor as typeof ReactiveElement;\n\n const attributeChangedCallback = ctor.prototype.attributeChangedCallback;\n ctor.prototype.attributeChangedCallback = function (\n this: ReactiveElement & { [name: string]: unknown },\n name,\n old,\n value\n ) {\n const options = ctor.getPropertyOptions(propertyName);\n const attributeName = typeof options.attribute === 'string' ? options.attribute : propertyName;\n\n if (name === attributeName) {\n const converter = options.converter || defaultConverter;\n const fromAttribute =\n typeof converter === 'function' ? converter : converter?.fromAttribute ?? defaultConverter.fromAttribute;\n\n const newValue: unknown = fromAttribute!(value, options.type);\n\n if (this[propertyName] !== newValue) {\n this[key] = newValue;\n }\n }\n\n attributeChangedCallback.call(this, name, old, value);\n };\n };\n"],
|
|
5
|
-
"mappings": ";AAwBA,SAAS,wBAAwB;AAG1B,IAAM,eACX,CAAC,eAAe,YAChB,CAAC,OAAwB,QAAgB;AACvC,QAAM,OAAO,MAAM;AAEnB,QAAM,2BAA2B,KAAK,UAAU;AAChD,OAAK,UAAU,2BAA2B,SAExC,MACA,KACA,OACA;AAtCN;AAuCM,UAAM,UAAU,KAAK,mBAAmB,YAAY;AACpD,UAAM,gBAAgB,OAAO,QAAQ,cAAc,WAAW,QAAQ,YAAY;AAElF,QAAI,SAAS,eAAe;AAC1B,YAAM,YAAY,QAAQ,aAAa;AACvC,YAAM,gBACJ,OAAO,cAAc,aAAa,
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\n// @defaultValue decorator\n//\n// Runs when the corresponding attribute of the observed property changes, e.g. after calling Element.setAttribute or after updating\n// the observed property.\n//\n// The decorator checks whether the value of the attribute is different from the value of the property and in that case\n// it saves the new value.\n//\n//\n// Usage:\n//\n// @property({ type: Boolean, reflect: true }) checked = false;\n//\n// @defaultValue('checked') defaultChecked = false;\n//\n\nimport { defaultConverter } from 'lit';\nimport type { ReactiveElement } from 'lit';\n\nexport const defaultValue =\n (propertyName = 'value') =>\n (proto: ReactiveElement, key: string) => {\n const ctor = proto.constructor as typeof ReactiveElement;\n\n const attributeChangedCallback = ctor.prototype.attributeChangedCallback;\n ctor.prototype.attributeChangedCallback = function (\n this: ReactiveElement & { [name: string]: unknown },\n name,\n old,\n value\n ) {\n const options = ctor.getPropertyOptions(propertyName);\n const attributeName = typeof options.attribute === 'string' ? options.attribute : propertyName;\n\n if (name === attributeName) {\n const converter = options.converter || defaultConverter;\n const fromAttribute =\n typeof converter === 'function' ? converter : (converter?.fromAttribute ?? defaultConverter.fromAttribute);\n\n const newValue: unknown = fromAttribute!(value, options.type);\n\n if (this[propertyName] !== newValue) {\n this[key] = newValue;\n }\n }\n\n attributeChangedCallback.call(this, name, old, value);\n };\n };\n"],
|
|
5
|
+
"mappings": ";AAwBA,SAAS,wBAAwB;AAG1B,IAAM,eACX,CAAC,eAAe,YAChB,CAAC,OAAwB,QAAgB;AACvC,QAAM,OAAO,MAAM;AAEnB,QAAM,2BAA2B,KAAK,UAAU;AAChD,OAAK,UAAU,2BAA2B,SAExC,MACA,KACA,OACA;AAtCN;AAuCM,UAAM,UAAU,KAAK,mBAAmB,YAAY;AACpD,UAAM,gBAAgB,OAAO,QAAQ,cAAc,WAAW,QAAQ,YAAY;AAElF,QAAI,SAAS,eAAe;AAC1B,YAAM,YAAY,QAAQ,aAAa;AACvC,YAAM,gBACJ,OAAO,cAAc,aAAa,aAAa,4CAAW,kBAAX,YAA4B,iBAAiB;AAE9F,YAAM,WAAoB,cAAe,OAAO,QAAQ,IAAI;AAE5D,UAAI,KAAK,YAAY,MAAM,UAAU;AACnC,aAAK,GAAG,IAAI;AAAA,MACd;AAAA,IACF;AAEA,6BAAyB,KAAK,MAAM,MAAM,KAAK,KAAK;AAAA,EACtD;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTooltip
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LR3QOC2S.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tooltip/tooltip.ts
|
|
6
6
|
var tooltip_default = SynTooltip;
|
|
@@ -9,4 +9,4 @@ SynTooltip.define("syn-tooltip");
|
|
|
9
9
|
export {
|
|
10
10
|
tooltip_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.3RQCHNTE.js.map
|
|
@@ -18,19 +18,19 @@ import {
|
|
|
18
18
|
} from "./chunk.HQ6QUSK7.js";
|
|
19
19
|
import {
|
|
20
20
|
SynIcon
|
|
21
|
-
} from "./chunk.
|
|
22
|
-
import {
|
|
23
|
-
watch
|
|
24
|
-
} from "./chunk.74IOULXM.js";
|
|
21
|
+
} from "./chunk.UAK6WG4U.js";
|
|
25
22
|
import {
|
|
26
23
|
LocalizeController
|
|
27
24
|
} from "./chunk.GIU3H3J3.js";
|
|
25
|
+
import {
|
|
26
|
+
watch
|
|
27
|
+
} from "./chunk.74IOULXM.js";
|
|
28
28
|
import {
|
|
29
29
|
component_styles_default
|
|
30
30
|
} from "./chunk.NLYVOJGK.js";
|
|
31
31
|
import {
|
|
32
32
|
SynergyElement
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.EBE3CGKL.js";
|
|
34
34
|
import {
|
|
35
35
|
__decorateClass
|
|
36
36
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -241,4 +241,4 @@ setDefaultAnimation("details.hide", {
|
|
|
241
241
|
export {
|
|
242
242
|
SynDetails
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk.
|
|
244
|
+
//# sourceMappingURL=chunk.3T4PKXLZ.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.NLYVOJGK.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.EBE3CGKL.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass
|
|
15
15
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -136,4 +136,4 @@ __decorateClass([
|
|
|
136
136
|
export {
|
|
137
137
|
SynMenu
|
|
138
138
|
};
|
|
139
|
-
//# sourceMappingURL=chunk.
|
|
139
|
+
//# sourceMappingURL=chunk.3V3Z552X.js.map
|
|
@@ -32,11 +32,8 @@ var tab_styles_default = css`
|
|
|
32
32
|
outline: transparent;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
:host(:focus-visible):not([disabled]) {
|
|
36
|
-
color: var(--syn-color-primary-600);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
35
|
:host(:focus-visible) {
|
|
36
|
+
color: var(--syn-color-primary-600);
|
|
40
37
|
outline: var(--syn-focus-ring);
|
|
41
38
|
outline-offset: calc(-1 * var(--syn-focus-ring-width) - var(--syn-focus-ring-offset));
|
|
42
39
|
}
|
|
@@ -74,4 +71,4 @@ var tab_styles_default = css`
|
|
|
74
71
|
export {
|
|
75
72
|
tab_styles_default
|
|
76
73
|
};
|
|
77
|
-
//# sourceMappingURL=chunk.
|
|
74
|
+
//# sourceMappingURL=chunk.43YNZAWL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/tab/tab.styles.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: inline-block;\n }\n\n .tab {\n display: inline-flex;\n align-items: center;\n font-family: var(--syn-font-sans);\n font-size: var(--syn-font-size-small);\n font-weight: var(--syn-font-weight-semibold);\n border-radius: var(--syn-border-radius-medium);\n color: var(--syn-color-neutral-600);\n padding: var(--syn-spacing-medium) var(--syn-spacing-large);\n white-space: nowrap;\n user-select: none;\n -webkit-user-select: none;\n cursor: pointer;\n transition:\n var(--transition-speed) box-shadow,\n var(--transition-speed) color;\n }\n\n .tab:hover:not(.tab--disabled) {\n color: var(--syn-color-primary-600);\n }\n\n :host(:focus) {\n outline: transparent;\n }\n\n :host(:focus-visible)
|
|
5
|
-
"mappings": ";AAQA,SAAS,WAAW;AAEpB,IAAO,qBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: inline-block;\n }\n\n .tab {\n display: inline-flex;\n align-items: center;\n font-family: var(--syn-font-sans);\n font-size: var(--syn-font-size-small);\n font-weight: var(--syn-font-weight-semibold);\n border-radius: var(--syn-border-radius-medium);\n color: var(--syn-color-neutral-600);\n padding: var(--syn-spacing-medium) var(--syn-spacing-large);\n white-space: nowrap;\n user-select: none;\n -webkit-user-select: none;\n cursor: pointer;\n transition:\n var(--transition-speed) box-shadow,\n var(--transition-speed) color;\n }\n\n .tab:hover:not(.tab--disabled) {\n color: var(--syn-color-primary-600);\n }\n\n :host(:focus) {\n outline: transparent;\n }\n\n :host(:focus-visible) {\n color: var(--syn-color-primary-600);\n outline: var(--syn-focus-ring);\n outline-offset: calc(-1 * var(--syn-focus-ring-width) - var(--syn-focus-ring-offset));\n }\n\n .tab.tab--active:not(.tab--disabled) {\n color: var(--syn-color-primary-600);\n }\n\n .tab.tab--closable {\n padding-inline-end: var(--syn-spacing-small);\n }\n\n .tab.tab--disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .tab__close-button {\n font-size: var(--syn-font-size-small);\n margin-inline-start: var(--syn-spacing-small);\n }\n\n .tab__close-button::part(base) {\n padding: var(--syn-spacing-3x-small);\n }\n\n @media (forced-colors: active) {\n .tab.tab--active:not(.tab--disabled) {\n outline: solid 1px transparent;\n outline-offset: -3px;\n }\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAQA,SAAS,WAAW;AAEpB,IAAO,qBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynAlert
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2VEV27HT.js";
|
|
4
4
|
|
|
5
5
|
// src/components/alert/alert.ts
|
|
6
6
|
var alert_default = SynAlert;
|
|
@@ -9,4 +9,4 @@ SynAlert.define("syn-alert");
|
|
|
9
9
|
export {
|
|
10
10
|
alert_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4ZCQXFO7.js.map
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.P5CBQNOP.js";
|
|
4
4
|
import {
|
|
5
5
|
select_custom_styles_default
|
|
6
6
|
} from "./chunk.ZO4VONAT.js";
|
|
7
7
|
import {
|
|
8
8
|
select_styles_default
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.XTWO6ZZW.js";
|
|
10
10
|
import {
|
|
11
11
|
SynPopup
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.6EVVIDQZ.js";
|
|
13
13
|
import {
|
|
14
14
|
scrollIntoView
|
|
15
15
|
} from "./chunk.5732DMBC.js";
|
|
16
|
-
import {
|
|
17
|
-
defaultValue
|
|
18
|
-
} from "./chunk.RBG37CD4.js";
|
|
19
16
|
import {
|
|
20
17
|
form_control_custom_styles_default,
|
|
21
18
|
form_control_styles_default
|
|
@@ -39,19 +36,19 @@ import {
|
|
|
39
36
|
} from "./chunk.WVVQK5TE.js";
|
|
40
37
|
import {
|
|
41
38
|
SynIcon
|
|
42
|
-
} from "./chunk.
|
|
43
|
-
import {
|
|
44
|
-
watch
|
|
45
|
-
} from "./chunk.74IOULXM.js";
|
|
39
|
+
} from "./chunk.UAK6WG4U.js";
|
|
46
40
|
import {
|
|
47
41
|
LocalizeController
|
|
48
42
|
} from "./chunk.GIU3H3J3.js";
|
|
43
|
+
import {
|
|
44
|
+
watch
|
|
45
|
+
} from "./chunk.74IOULXM.js";
|
|
49
46
|
import {
|
|
50
47
|
component_styles_default
|
|
51
48
|
} from "./chunk.NLYVOJGK.js";
|
|
52
49
|
import {
|
|
53
50
|
SynergyElement
|
|
54
|
-
} from "./chunk.
|
|
51
|
+
} from "./chunk.EBE3CGKL.js";
|
|
55
52
|
import {
|
|
56
53
|
__decorateClass
|
|
57
54
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -75,7 +72,7 @@ var SynSelect = class extends SynergyElement {
|
|
|
75
72
|
this.selectedOptions = [];
|
|
76
73
|
this.valueHasChanged = false;
|
|
77
74
|
this.name = "";
|
|
78
|
-
this.
|
|
75
|
+
this._value = "";
|
|
79
76
|
this.defaultValue = "";
|
|
80
77
|
this.size = "medium";
|
|
81
78
|
this.placeholder = "";
|
|
@@ -212,6 +209,21 @@ var SynSelect = class extends SynergyElement {
|
|
|
212
209
|
}
|
|
213
210
|
};
|
|
214
211
|
}
|
|
212
|
+
get value() {
|
|
213
|
+
return this._value;
|
|
214
|
+
}
|
|
215
|
+
set value(val) {
|
|
216
|
+
if (this.multiple) {
|
|
217
|
+
val = Array.isArray(val) ? val : val.split(" ");
|
|
218
|
+
} else {
|
|
219
|
+
val = Array.isArray(val) ? val.join(" ") : val;
|
|
220
|
+
}
|
|
221
|
+
if (this._value === val) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
this.valueHasChanged = true;
|
|
225
|
+
this._value = val;
|
|
226
|
+
}
|
|
215
227
|
/** Gets the validity state object */
|
|
216
228
|
get validity() {
|
|
217
229
|
return this.valueInput.validity;
|
|
@@ -287,6 +299,7 @@ var SynSelect = class extends SynergyElement {
|
|
|
287
299
|
}
|
|
288
300
|
handleClearClick(event) {
|
|
289
301
|
event.stopPropagation();
|
|
302
|
+
this.valueHasChanged = true;
|
|
290
303
|
if (this.value !== "") {
|
|
291
304
|
this.setSelectedOptions([]);
|
|
292
305
|
this.displayInput.focus({ preventScroll: true });
|
|
@@ -325,6 +338,7 @@ var SynSelect = class extends SynergyElement {
|
|
|
325
338
|
}
|
|
326
339
|
}
|
|
327
340
|
}
|
|
341
|
+
/* @internal - used by options to update labels */
|
|
328
342
|
handleDefaultSlotChange() {
|
|
329
343
|
if (!customElements.get("syn-option")) {
|
|
330
344
|
customElements.whenDefined("syn-option").then(() => this.handleDefaultSlotChange());
|
|
@@ -338,6 +352,7 @@ var SynSelect = class extends SynergyElement {
|
|
|
338
352
|
}
|
|
339
353
|
handleTagRemove(event, option) {
|
|
340
354
|
event.stopPropagation();
|
|
355
|
+
this.valueHasChanged = true;
|
|
341
356
|
if (!this.disabled) {
|
|
342
357
|
this.toggleOptionSelection(option, false);
|
|
343
358
|
this.updateComplete.then(() => {
|
|
@@ -394,6 +409,7 @@ var SynSelect = class extends SynergyElement {
|
|
|
394
409
|
var _a, _b, _c;
|
|
395
410
|
const options = this.getAllOptions();
|
|
396
411
|
this.selectedOptions = options.filter((el) => el.selected);
|
|
412
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
397
413
|
if (this.multiple) {
|
|
398
414
|
this.value = this.selectedOptions.map((el) => el.value);
|
|
399
415
|
if (this.placeholder && this.value.length === 0) {
|
|
@@ -406,6 +422,7 @@ var SynSelect = class extends SynergyElement {
|
|
|
406
422
|
this.value = (_a = selectedOption == null ? void 0 : selectedOption.value) != null ? _a : "";
|
|
407
423
|
this.displayLabel = (_c = (_b = selectedOption == null ? void 0 : selectedOption.getTextLabel) == null ? void 0 : _b.call(selectedOption)) != null ? _c : "";
|
|
408
424
|
}
|
|
425
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
409
426
|
this.updateComplete.then(() => {
|
|
410
427
|
this.formControlController.updateValidity();
|
|
411
428
|
});
|
|
@@ -433,7 +450,20 @@ var SynSelect = class extends SynergyElement {
|
|
|
433
450
|
this.handleOpenChange();
|
|
434
451
|
}
|
|
435
452
|
}
|
|
453
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
454
|
+
super.attributeChangedCallback(name, oldVal, newVal);
|
|
455
|
+
if (name === "value") {
|
|
456
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
457
|
+
this.value = this.defaultValue;
|
|
458
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
459
|
+
}
|
|
460
|
+
}
|
|
436
461
|
handleValueChange() {
|
|
462
|
+
if (!this.valueHasChanged) {
|
|
463
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
464
|
+
this.value = this.defaultValue;
|
|
465
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
466
|
+
}
|
|
437
467
|
const allOptions = this.getAllOptions();
|
|
438
468
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
439
469
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
@@ -700,15 +730,10 @@ __decorateClass([
|
|
|
700
730
|
property()
|
|
701
731
|
], SynSelect.prototype, "name", 2);
|
|
702
732
|
__decorateClass([
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
fromAttribute: (value) => value.split(" "),
|
|
706
|
-
toAttribute: (value) => value.join(" ")
|
|
707
|
-
}
|
|
708
|
-
})
|
|
709
|
-
], SynSelect.prototype, "value", 2);
|
|
733
|
+
state()
|
|
734
|
+
], SynSelect.prototype, "value", 1);
|
|
710
735
|
__decorateClass([
|
|
711
|
-
|
|
736
|
+
property({ attribute: "value" })
|
|
712
737
|
], SynSelect.prototype, "defaultValue", 2);
|
|
713
738
|
__decorateClass([
|
|
714
739
|
property({ reflect: true })
|
|
@@ -756,7 +781,7 @@ __decorateClass([
|
|
|
756
781
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
757
782
|
], SynSelect.prototype, "handleDisabledChange", 1);
|
|
758
783
|
__decorateClass([
|
|
759
|
-
watch("value", { waitUntilFirstUpdate: true })
|
|
784
|
+
watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
|
|
760
785
|
], SynSelect.prototype, "handleValueChange", 1);
|
|
761
786
|
__decorateClass([
|
|
762
787
|
watch("open", { waitUntilFirstUpdate: true })
|
|
@@ -779,4 +804,4 @@ setDefaultAnimation("select.hide", {
|
|
|
779
804
|
export {
|
|
780
805
|
SynSelect
|
|
781
806
|
};
|
|
782
|
-
//# sourceMappingURL=chunk.
|
|
807
|
+
//# sourceMappingURL=chunk.5JWKXQDN.js.map
|