@synergy-design-system/components 2.72.0 → 2.74.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.ESOR5SLZ.js → chunk.22DCIF5D.js} +14 -8
- package/dist/chunks/chunk.22DCIF5D.js.map +7 -0
- package/dist/chunks/{chunk.CVWL4UGB.js → chunk.2FWS5M22.js} +2 -2
- package/dist/chunks/{chunk.2C4CXGCX.js → chunk.2OJY3PED.js} +3 -3
- package/dist/chunks/{chunk.5SCKQ7CM.js → chunk.2XUEBC52.js} +3 -3
- package/dist/chunks/{chunk.OBKYI2HM.js → chunk.3VPFP2NO.js} +2 -2
- package/dist/chunks/{chunk.ZDXUQ6AG.js → chunk.4326CVFG.js} +2 -2
- package/dist/chunks/{chunk.4MCIKMCZ.js → chunk.4FOXZRHO.js} +3 -3
- package/dist/chunks/{chunk.MX72UPWV.js → chunk.4GYLPSAW.js} +41 -8
- package/dist/chunks/chunk.4GYLPSAW.js.map +7 -0
- package/dist/chunks/{chunk.OZAAALPV.js → chunk.4L5ZZTW6.js} +6 -6
- package/dist/chunks/{chunk.RPVIKLPF.js → chunk.4OGUNXLN.js} +2 -2
- package/dist/chunks/{chunk.63PZ56TB.js → chunk.4XFY2FBP.js} +2 -2
- package/dist/chunks/{chunk.MDDR5NB2.js → chunk.534GA3OZ.js} +2 -2
- package/dist/chunks/{chunk.RQMPMHYS.js → chunk.56USGF2W.js} +2 -2
- package/dist/chunks/{chunk.27YHXJTS.js → chunk.63R7LKO6.js} +4 -4
- package/dist/chunks/{chunk.5SD54EYR.js → chunk.6C5JNA5R.js} +2 -2
- package/dist/chunks/{chunk.N46XWYRV.js → chunk.6MN2NRXV.js} +2 -2
- package/dist/chunks/{chunk.MNOHHR6N.js → chunk.6RHP3VNO.js} +4 -4
- package/dist/chunks/{chunk.MOU72OAJ.js → chunk.6VBZQIDO.js} +2 -2
- package/dist/chunks/{chunk.2P7Q5K6B.js → chunk.7DOGSV7H.js} +4 -4
- package/dist/chunks/{chunk.KGNFWRWX.js → chunk.7PDZD4MI.js} +2 -2
- package/dist/chunks/{chunk.KRU7HRBI.js → chunk.AD2MXM4K.js} +37 -9
- package/dist/chunks/chunk.AD2MXM4K.js.map +7 -0
- package/dist/chunks/{chunk.E2NKWOGR.js → chunk.B52RDYGF.js} +2 -2
- package/dist/chunks/{chunk.ZJIQSCEF.js → chunk.BOIZLENZ.js} +2 -2
- package/dist/chunks/{chunk.HC4N72MX.js → chunk.C4JMEKUF.js} +2 -2
- package/dist/chunks/{chunk.JQUUPZ3G.js → chunk.CHMEOFSF.js} +2 -2
- package/dist/chunks/{chunk.37ODDXXV.js → chunk.CN3EEOJ2.js} +2 -2
- package/dist/chunks/{chunk.GJL3QMGH.js → chunk.CYXEGDSN.js} +2 -2
- package/dist/chunks/{chunk.UHJZFZC7.js → chunk.DFMJMMC7.js} +2 -2
- package/dist/chunks/{chunk.ZUOONRMM.js → chunk.DJOEE36C.js} +6 -6
- package/dist/chunks/{chunk.MYYUHE76.js → chunk.DN2RAXQJ.js} +3 -3
- package/dist/chunks/{chunk.ZC7GZ2L3.js → chunk.DT576MV3.js} +2 -2
- package/dist/chunks/{chunk.TTFD77IU.js → chunk.DUHQT5UC.js} +2 -2
- package/dist/chunks/{chunk.SYRCMG7I.js → chunk.DUR7EXZ5.js} +2 -2
- package/dist/chunks/{chunk.E4TYFSAQ.js → chunk.DZUQKLAK.js} +2 -2
- package/dist/chunks/{chunk.FJWYLCCM.js → chunk.EF5QNNNV.js} +2 -2
- package/dist/chunks/{chunk.CS5VN6UT.js → chunk.EO26ATDV.js} +3 -3
- package/dist/chunks/{chunk.5VUXREQQ.js → chunk.EXWGH7UL.js} +2 -2
- package/dist/chunks/{chunk.5VUXREQQ.js.map → chunk.EXWGH7UL.js.map} +1 -1
- package/dist/chunks/{chunk.EQEWMIOQ.js → chunk.F74LVOLR.js} +2 -2
- package/dist/chunks/{chunk.RXPQXYXA.js → chunk.FGBZY4DD.js} +5 -5
- package/dist/chunks/{chunk.EUCBCAOD.js → chunk.FIBNLYVR.js} +2 -2
- package/dist/chunks/{chunk.C6OPREZF.js → chunk.G77AJVFW.js} +2 -2
- package/dist/chunks/{chunk.DDI5NV3M.js → chunk.GIOT5U5N.js} +5 -5
- package/dist/chunks/{chunk.NTJRY2BC.js → chunk.GJQVGKI2.js} +4 -4
- package/dist/chunks/{chunk.OOSENQ6W.js → chunk.H73IAJJE.js} +2 -2
- package/dist/chunks/{chunk.BYBZDOXY.js → chunk.HN5JLV2K.js} +2 -2
- package/dist/chunks/{chunk.E5UUNP6E.js → chunk.HYFCK7MM.js} +2 -2
- package/dist/chunks/{chunk.ZBUKXQBI.js → chunk.HYNU7TUB.js} +2 -2
- package/dist/chunks/{chunk.DB5MYSYT.js → chunk.I2Z5HW4Z.js} +2 -2
- package/dist/chunks/{chunk.SKHZWU2I.js → chunk.I3MOJ5CM.js} +3 -3
- package/dist/chunks/{chunk.RNZ7ONSQ.js → chunk.I6W7KBMZ.js} +2 -2
- package/dist/chunks/{chunk.BRV5GD7J.js → chunk.IGGF3W7E.js} +3 -3
- package/dist/chunks/{chunk.63M2FS2R.js → chunk.INGNGMV5.js} +2 -2
- package/dist/chunks/{chunk.J3FVFKXG.js → chunk.IX2VNOGV.js} +2 -2
- package/dist/chunks/{chunk.QC33DC7E.js → chunk.J4BNYHDN.js} +4 -4
- package/dist/chunks/{chunk.N6RFXGNC.js → chunk.JLKT6OGE.js} +7 -7
- package/dist/chunks/{chunk.TZBHHOY3.js → chunk.JOUAVWXT.js} +2 -2
- package/dist/chunks/{chunk.4NAFDDGF.js → chunk.KIXQ3BXY.js} +2 -2
- package/dist/chunks/{chunk.JK6P7JZN.js → chunk.LDACFPRF.js} +7 -5
- package/dist/chunks/chunk.LDACFPRF.js.map +7 -0
- package/dist/chunks/{chunk.J35NFZNU.js → chunk.LHPV5KQH.js} +16 -5
- package/dist/chunks/chunk.LHPV5KQH.js.map +7 -0
- package/dist/chunks/{chunk.URB4DZCA.js → chunk.LHULOG5J.js} +5 -5
- package/dist/chunks/{chunk.AAJZOB5O.js → chunk.LP4OSR7I.js} +3 -3
- package/dist/chunks/{chunk.CGH7ZACW.js → chunk.LUGOQDGM.js} +3 -3
- package/dist/chunks/{chunk.L3BTI2IT.js → chunk.MD5325A4.js} +2 -2
- package/dist/chunks/{chunk.5MX6656G.js → chunk.MHNCD7UR.js} +2 -2
- package/dist/chunks/{chunk.REATIGYN.js → chunk.MLDNT4EJ.js} +2 -2
- package/dist/chunks/{chunk.E6CZIIF4.js → chunk.MZGHM43B.js} +2 -2
- package/dist/chunks/{chunk.OF46XPVP.js → chunk.NFWZAJTN.js} +2 -2
- package/dist/chunks/{chunk.X2RTMJWO.js → chunk.NOGZUKRP.js} +3 -3
- package/dist/chunks/{chunk.QLMO7EBK.js → chunk.P5T3CMUX.js} +5 -5
- package/dist/chunks/{chunk.2CYUATRJ.js → chunk.PA2VP2NK.js} +2 -2
- package/dist/chunks/{chunk.6BLIEVVY.js → chunk.PYJE6ADS.js} +2 -2
- package/dist/chunks/{chunk.E4ZRKMTB.js → chunk.Q6FU5ZUZ.js} +2 -2
- package/dist/chunks/{chunk.WQUSA7NQ.js → chunk.QAGSIPUU.js} +2 -2
- package/dist/chunks/{chunk.R7YTTN6W.js → chunk.QANIW4LE.js} +2 -2
- package/dist/chunks/{chunk.NSQMHX2A.js → chunk.QFHBMI6M.js} +4 -4
- package/dist/chunks/{chunk.CZCPN5QP.js → chunk.QNTS4D5M.js} +5 -5
- package/dist/chunks/{chunk.IHPZBIPG.js → chunk.R55JK3BP.js} +3 -3
- package/dist/chunks/{chunk.3U5PHYWM.js → chunk.R7343W54.js} +5 -5
- package/dist/chunks/{chunk.FXJDCXSQ.js → chunk.RVMRBC55.js} +6 -6
- package/dist/chunks/{chunk.EQOAWX3Y.js → chunk.S5OH4G5W.js} +2 -2
- package/dist/chunks/{chunk.2UMD5DQN.js → chunk.SRT3566N.js} +2 -2
- package/dist/chunks/{chunk.G7EWARXL.js → chunk.SY3D7IVD.js} +2 -2
- package/dist/chunks/{chunk.Q3BJD3B4.js → chunk.THWZIYOU.js} +2 -2
- package/dist/chunks/{chunk.VCNYVZND.js → chunk.TNIGL6QM.js} +2 -2
- package/dist/chunks/{chunk.YOB2O57Y.js → chunk.TPP2IDBA.js} +3 -3
- package/dist/chunks/{chunk.BDAOTIN3.js → chunk.TRBFZK2B.js} +4 -4
- package/dist/chunks/{chunk.REZCPN34.js → chunk.UXURTQ7T.js} +2 -2
- package/dist/chunks/{chunk.7FEMDF6H.js → chunk.VBEXYQOO.js} +3 -3
- package/dist/chunks/{chunk.TKNBZNA7.js → chunk.VI3SIT3O.js} +14 -14
- package/dist/chunks/chunk.VI3SIT3O.js.map +7 -0
- package/dist/chunks/{chunk.SPJQXTWQ.js → chunk.W3BXOIPX.js} +2 -2
- package/dist/chunks/{chunk.TZLWKIN5.js → chunk.WJDZWQFV.js} +2 -2
- package/dist/chunks/{chunk.LCKVWZ32.js → chunk.WJTNH4AT.js} +2 -2
- package/dist/chunks/{chunk.KBSQI42B.js → chunk.WKYIK4KD.js} +2 -2
- package/dist/chunks/{chunk.6CDKAXCK.js → chunk.WU6XDHS4.js} +3 -3
- package/dist/chunks/{chunk.FG36OVD6.js → chunk.WXKC7B7M.js} +4 -4
- package/dist/chunks/{chunk.7LLJ4AV6.js → chunk.XJW5YGDP.js} +2 -2
- package/dist/chunks/{chunk.DEPBBV2G.js → chunk.XJYZ5Q5T.js} +2 -2
- package/dist/chunks/{chunk.FWQXG4HU.js → chunk.YBEBHRLF.js} +2 -2
- package/dist/chunks/{chunk.6QJYD7WX.js → chunk.YBZFYBWC.js} +3 -1
- package/dist/chunks/chunk.YBZFYBWC.js.map +7 -0
- package/dist/chunks/{chunk.VW2T7WUR.js → chunk.ZCX7PCEL.js} +2 -2
- package/dist/chunks/{chunk.S3K4F4VS.js → chunk.ZGDGPG2A.js} +2 -2
- package/dist/chunks/{chunk.NHRUO5ME.js → chunk.ZM7CHOP2.js} +12 -5
- package/dist/chunks/chunk.ZM7CHOP2.js.map +7 -0
- package/dist/components/accordion/accordion.component.js +5 -5
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/alert/alert.component.d.ts +2 -0
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.custom.styles.js +1 -1
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/badge/badge.component.js +5 -5
- package/dist/components/badge/badge.js +6 -6
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- 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 +7 -7
- package/dist/components/button/button.js +8 -8
- 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 +7 -7
- package/dist/components/checkbox/checkbox.custom.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +8 -8
- package/dist/components/combobox/combobox.component.js +8 -8
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/details/details.component.js +6 -6
- package/dist/components/details/details.js +7 -7
- package/dist/components/dialog/dialog.component.js +7 -7
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/file/file.component.js +8 -8
- package/dist/components/file/file.js +9 -9
- package/dist/components/header/header.component.js +4 -4
- package/dist/components/header/header.js +5 -5
- 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 +6 -6
- package/dist/components/icon-button/icon-button.js +7 -7
- 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 +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- 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 +4 -4
- package/dist/components/nav-item/nav-item.js +5 -5
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- 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 +8 -8
- package/dist/components/prio-nav/prio-nav.js +9 -9
- 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 +7 -7
- package/dist/components/radio/radio.custom.styles.js +1 -1
- package/dist/components/radio/radio.js +8 -8
- package/dist/components/radio-button/radio-button.component.js +5 -5
- package/dist/components/radio-button/radio-button.js +6 -6
- package/dist/components/radio-group/radio-group.component.js +6 -6
- package/dist/components/radio-group/radio-group.js +7 -7
- package/dist/components/range/range.component.js +7 -7
- package/dist/components/range/range.js +8 -8
- 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.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/side-nav/side-nav.component.js +10 -10
- package/dist/components/side-nav/side-nav.js +11 -11
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +6 -6
- package/dist/components/switch/switch.custom.styles.js +1 -1
- package/dist/components/switch/switch.js +7 -7
- package/dist/components/tab/tab.component.js +7 -7
- package/dist/components/tab/tab.js +8 -8
- package/dist/components/tab-group/tab-group.component.js +8 -8
- package/dist/components/tab-group/tab-group.js +9 -9
- 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 +7 -7
- package/dist/components/tag/tag.js +8 -8
- package/dist/components/textarea/textarea.component.js +5 -5
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/validate/utility.d.ts +13 -0
- package/dist/components/validate/utility.js +6 -2
- package/dist/components/validate/validate.component.d.ts +4 -0
- package/dist/components/validate/validate.component.js +10 -10
- package/dist/components/validate/validate.js +11 -11
- package/dist/custom-elements.json +40 -1
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +102 -102
- package/dist/utilities/defaultSettings/base.d.ts +1 -0
- package/dist/utilities/defaultSettings/base.js +1 -1
- package/dist/utilities/defaultSettings/decorator.js +3 -3
- package/dist/utilities/defaultSettings/functions.js +2 -2
- package/dist/utilities/defaultSettings/index.js +3 -3
- package/dist/vscode.html-custom-data.json +9 -0
- package/package.json +3 -3
- package/dist/chunks/chunk.6QJYD7WX.js.map +0 -7
- package/dist/chunks/chunk.ESOR5SLZ.js.map +0 -7
- package/dist/chunks/chunk.J35NFZNU.js.map +0 -7
- package/dist/chunks/chunk.JK6P7JZN.js.map +0 -7
- package/dist/chunks/chunk.KRU7HRBI.js.map +0 -7
- package/dist/chunks/chunk.MX72UPWV.js.map +0 -7
- package/dist/chunks/chunk.NHRUO5ME.js.map +0 -7
- package/dist/chunks/chunk.TKNBZNA7.js.map +0 -7
- /package/dist/chunks/{chunk.CVWL4UGB.js.map → chunk.2FWS5M22.js.map} +0 -0
- /package/dist/chunks/{chunk.2C4CXGCX.js.map → chunk.2OJY3PED.js.map} +0 -0
- /package/dist/chunks/{chunk.5SCKQ7CM.js.map → chunk.2XUEBC52.js.map} +0 -0
- /package/dist/chunks/{chunk.OBKYI2HM.js.map → chunk.3VPFP2NO.js.map} +0 -0
- /package/dist/chunks/{chunk.ZDXUQ6AG.js.map → chunk.4326CVFG.js.map} +0 -0
- /package/dist/chunks/{chunk.4MCIKMCZ.js.map → chunk.4FOXZRHO.js.map} +0 -0
- /package/dist/chunks/{chunk.OZAAALPV.js.map → chunk.4L5ZZTW6.js.map} +0 -0
- /package/dist/chunks/{chunk.RPVIKLPF.js.map → chunk.4OGUNXLN.js.map} +0 -0
- /package/dist/chunks/{chunk.63PZ56TB.js.map → chunk.4XFY2FBP.js.map} +0 -0
- /package/dist/chunks/{chunk.MDDR5NB2.js.map → chunk.534GA3OZ.js.map} +0 -0
- /package/dist/chunks/{chunk.RQMPMHYS.js.map → chunk.56USGF2W.js.map} +0 -0
- /package/dist/chunks/{chunk.27YHXJTS.js.map → chunk.63R7LKO6.js.map} +0 -0
- /package/dist/chunks/{chunk.5SD54EYR.js.map → chunk.6C5JNA5R.js.map} +0 -0
- /package/dist/chunks/{chunk.N46XWYRV.js.map → chunk.6MN2NRXV.js.map} +0 -0
- /package/dist/chunks/{chunk.MNOHHR6N.js.map → chunk.6RHP3VNO.js.map} +0 -0
- /package/dist/chunks/{chunk.MOU72OAJ.js.map → chunk.6VBZQIDO.js.map} +0 -0
- /package/dist/chunks/{chunk.2P7Q5K6B.js.map → chunk.7DOGSV7H.js.map} +0 -0
- /package/dist/chunks/{chunk.KGNFWRWX.js.map → chunk.7PDZD4MI.js.map} +0 -0
- /package/dist/chunks/{chunk.E2NKWOGR.js.map → chunk.B52RDYGF.js.map} +0 -0
- /package/dist/chunks/{chunk.ZJIQSCEF.js.map → chunk.BOIZLENZ.js.map} +0 -0
- /package/dist/chunks/{chunk.HC4N72MX.js.map → chunk.C4JMEKUF.js.map} +0 -0
- /package/dist/chunks/{chunk.JQUUPZ3G.js.map → chunk.CHMEOFSF.js.map} +0 -0
- /package/dist/chunks/{chunk.37ODDXXV.js.map → chunk.CN3EEOJ2.js.map} +0 -0
- /package/dist/chunks/{chunk.GJL3QMGH.js.map → chunk.CYXEGDSN.js.map} +0 -0
- /package/dist/chunks/{chunk.UHJZFZC7.js.map → chunk.DFMJMMC7.js.map} +0 -0
- /package/dist/chunks/{chunk.ZUOONRMM.js.map → chunk.DJOEE36C.js.map} +0 -0
- /package/dist/chunks/{chunk.MYYUHE76.js.map → chunk.DN2RAXQJ.js.map} +0 -0
- /package/dist/chunks/{chunk.ZC7GZ2L3.js.map → chunk.DT576MV3.js.map} +0 -0
- /package/dist/chunks/{chunk.TTFD77IU.js.map → chunk.DUHQT5UC.js.map} +0 -0
- /package/dist/chunks/{chunk.SYRCMG7I.js.map → chunk.DUR7EXZ5.js.map} +0 -0
- /package/dist/chunks/{chunk.E4TYFSAQ.js.map → chunk.DZUQKLAK.js.map} +0 -0
- /package/dist/chunks/{chunk.FJWYLCCM.js.map → chunk.EF5QNNNV.js.map} +0 -0
- /package/dist/chunks/{chunk.CS5VN6UT.js.map → chunk.EO26ATDV.js.map} +0 -0
- /package/dist/chunks/{chunk.EQEWMIOQ.js.map → chunk.F74LVOLR.js.map} +0 -0
- /package/dist/chunks/{chunk.RXPQXYXA.js.map → chunk.FGBZY4DD.js.map} +0 -0
- /package/dist/chunks/{chunk.EUCBCAOD.js.map → chunk.FIBNLYVR.js.map} +0 -0
- /package/dist/chunks/{chunk.C6OPREZF.js.map → chunk.G77AJVFW.js.map} +0 -0
- /package/dist/chunks/{chunk.DDI5NV3M.js.map → chunk.GIOT5U5N.js.map} +0 -0
- /package/dist/chunks/{chunk.NTJRY2BC.js.map → chunk.GJQVGKI2.js.map} +0 -0
- /package/dist/chunks/{chunk.OOSENQ6W.js.map → chunk.H73IAJJE.js.map} +0 -0
- /package/dist/chunks/{chunk.BYBZDOXY.js.map → chunk.HN5JLV2K.js.map} +0 -0
- /package/dist/chunks/{chunk.E5UUNP6E.js.map → chunk.HYFCK7MM.js.map} +0 -0
- /package/dist/chunks/{chunk.ZBUKXQBI.js.map → chunk.HYNU7TUB.js.map} +0 -0
- /package/dist/chunks/{chunk.DB5MYSYT.js.map → chunk.I2Z5HW4Z.js.map} +0 -0
- /package/dist/chunks/{chunk.SKHZWU2I.js.map → chunk.I3MOJ5CM.js.map} +0 -0
- /package/dist/chunks/{chunk.RNZ7ONSQ.js.map → chunk.I6W7KBMZ.js.map} +0 -0
- /package/dist/chunks/{chunk.BRV5GD7J.js.map → chunk.IGGF3W7E.js.map} +0 -0
- /package/dist/chunks/{chunk.63M2FS2R.js.map → chunk.INGNGMV5.js.map} +0 -0
- /package/dist/chunks/{chunk.J3FVFKXG.js.map → chunk.IX2VNOGV.js.map} +0 -0
- /package/dist/chunks/{chunk.QC33DC7E.js.map → chunk.J4BNYHDN.js.map} +0 -0
- /package/dist/chunks/{chunk.N6RFXGNC.js.map → chunk.JLKT6OGE.js.map} +0 -0
- /package/dist/chunks/{chunk.TZBHHOY3.js.map → chunk.JOUAVWXT.js.map} +0 -0
- /package/dist/chunks/{chunk.4NAFDDGF.js.map → chunk.KIXQ3BXY.js.map} +0 -0
- /package/dist/chunks/{chunk.URB4DZCA.js.map → chunk.LHULOG5J.js.map} +0 -0
- /package/dist/chunks/{chunk.AAJZOB5O.js.map → chunk.LP4OSR7I.js.map} +0 -0
- /package/dist/chunks/{chunk.CGH7ZACW.js.map → chunk.LUGOQDGM.js.map} +0 -0
- /package/dist/chunks/{chunk.L3BTI2IT.js.map → chunk.MD5325A4.js.map} +0 -0
- /package/dist/chunks/{chunk.5MX6656G.js.map → chunk.MHNCD7UR.js.map} +0 -0
- /package/dist/chunks/{chunk.REATIGYN.js.map → chunk.MLDNT4EJ.js.map} +0 -0
- /package/dist/chunks/{chunk.E6CZIIF4.js.map → chunk.MZGHM43B.js.map} +0 -0
- /package/dist/chunks/{chunk.OF46XPVP.js.map → chunk.NFWZAJTN.js.map} +0 -0
- /package/dist/chunks/{chunk.X2RTMJWO.js.map → chunk.NOGZUKRP.js.map} +0 -0
- /package/dist/chunks/{chunk.QLMO7EBK.js.map → chunk.P5T3CMUX.js.map} +0 -0
- /package/dist/chunks/{chunk.2CYUATRJ.js.map → chunk.PA2VP2NK.js.map} +0 -0
- /package/dist/chunks/{chunk.6BLIEVVY.js.map → chunk.PYJE6ADS.js.map} +0 -0
- /package/dist/chunks/{chunk.E4ZRKMTB.js.map → chunk.Q6FU5ZUZ.js.map} +0 -0
- /package/dist/chunks/{chunk.WQUSA7NQ.js.map → chunk.QAGSIPUU.js.map} +0 -0
- /package/dist/chunks/{chunk.R7YTTN6W.js.map → chunk.QANIW4LE.js.map} +0 -0
- /package/dist/chunks/{chunk.NSQMHX2A.js.map → chunk.QFHBMI6M.js.map} +0 -0
- /package/dist/chunks/{chunk.CZCPN5QP.js.map → chunk.QNTS4D5M.js.map} +0 -0
- /package/dist/chunks/{chunk.IHPZBIPG.js.map → chunk.R55JK3BP.js.map} +0 -0
- /package/dist/chunks/{chunk.3U5PHYWM.js.map → chunk.R7343W54.js.map} +0 -0
- /package/dist/chunks/{chunk.FXJDCXSQ.js.map → chunk.RVMRBC55.js.map} +0 -0
- /package/dist/chunks/{chunk.EQOAWX3Y.js.map → chunk.S5OH4G5W.js.map} +0 -0
- /package/dist/chunks/{chunk.2UMD5DQN.js.map → chunk.SRT3566N.js.map} +0 -0
- /package/dist/chunks/{chunk.G7EWARXL.js.map → chunk.SY3D7IVD.js.map} +0 -0
- /package/dist/chunks/{chunk.Q3BJD3B4.js.map → chunk.THWZIYOU.js.map} +0 -0
- /package/dist/chunks/{chunk.VCNYVZND.js.map → chunk.TNIGL6QM.js.map} +0 -0
- /package/dist/chunks/{chunk.YOB2O57Y.js.map → chunk.TPP2IDBA.js.map} +0 -0
- /package/dist/chunks/{chunk.BDAOTIN3.js.map → chunk.TRBFZK2B.js.map} +0 -0
- /package/dist/chunks/{chunk.REZCPN34.js.map → chunk.UXURTQ7T.js.map} +0 -0
- /package/dist/chunks/{chunk.7FEMDF6H.js.map → chunk.VBEXYQOO.js.map} +0 -0
- /package/dist/chunks/{chunk.SPJQXTWQ.js.map → chunk.W3BXOIPX.js.map} +0 -0
- /package/dist/chunks/{chunk.TZLWKIN5.js.map → chunk.WJDZWQFV.js.map} +0 -0
- /package/dist/chunks/{chunk.LCKVWZ32.js.map → chunk.WJTNH4AT.js.map} +0 -0
- /package/dist/chunks/{chunk.KBSQI42B.js.map → chunk.WKYIK4KD.js.map} +0 -0
- /package/dist/chunks/{chunk.6CDKAXCK.js.map → chunk.WU6XDHS4.js.map} +0 -0
- /package/dist/chunks/{chunk.FG36OVD6.js.map → chunk.WXKC7B7M.js.map} +0 -0
- /package/dist/chunks/{chunk.7LLJ4AV6.js.map → chunk.XJW5YGDP.js.map} +0 -0
- /package/dist/chunks/{chunk.DEPBBV2G.js.map → chunk.XJYZ5Q5T.js.map} +0 -0
- /package/dist/chunks/{chunk.FWQXG4HU.js.map → chunk.YBEBHRLF.js.map} +0 -0
- /package/dist/chunks/{chunk.VW2T7WUR.js.map → chunk.ZCX7PCEL.js.map} +0 -0
- /package/dist/chunks/{chunk.S3K4F4VS.js.map → chunk.ZGDGPG2A.js.map} +0 -0
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
+
alertSizeForInput,
|
|
2
3
|
getEventNameForElement,
|
|
3
4
|
isBlurEvent,
|
|
4
5
|
isInvalidEvent,
|
|
6
|
+
isSynergyElement,
|
|
5
7
|
normalizeEventAttribute
|
|
6
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.LHPV5KQH.js";
|
|
7
9
|
import {
|
|
8
10
|
validate_styles_default
|
|
9
11
|
} from "./chunk.MVM3NN6Y.js";
|
|
10
12
|
import {
|
|
11
13
|
SynAlert
|
|
12
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.ZM7CHOP2.js";
|
|
13
15
|
import {
|
|
14
16
|
enableDefaultSettings
|
|
15
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.HYFCK7MM.js";
|
|
16
18
|
import {
|
|
17
19
|
watch
|
|
18
20
|
} from "./chunk.BVZQ6QSY.js";
|
|
@@ -21,7 +23,7 @@ import {
|
|
|
21
23
|
} from "./chunk.NLYVOJGK.js";
|
|
22
24
|
import {
|
|
23
25
|
SynergyElement
|
|
24
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.EXWGH7UL.js";
|
|
25
27
|
import {
|
|
26
28
|
__decorateClass
|
|
27
29
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -29,6 +31,7 @@ import {
|
|
|
29
31
|
// src/components/validate/validate.component.ts
|
|
30
32
|
import { html } from "lit";
|
|
31
33
|
import { property, queryAssignedElements, state } from "lit/decorators.js";
|
|
34
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
32
35
|
var SynValidate = class extends SynergyElement {
|
|
33
36
|
constructor() {
|
|
34
37
|
super(...arguments);
|
|
@@ -68,7 +71,7 @@ var SynValidate = class extends SynergyElement {
|
|
|
68
71
|
e.stopPropagation();
|
|
69
72
|
}
|
|
70
73
|
const input = e.currentTarget;
|
|
71
|
-
if (input
|
|
74
|
+
if (isSynergyElement(input)) {
|
|
72
75
|
await input.updateComplete;
|
|
73
76
|
}
|
|
74
77
|
this.isValid = (_a = input.validity) == null ? void 0 : _a.valid;
|
|
@@ -124,6 +127,9 @@ var SynValidate = class extends SynergyElement {
|
|
|
124
127
|
const input = this.slottedChildren[0];
|
|
125
128
|
return input ? input : void 0;
|
|
126
129
|
}
|
|
130
|
+
setAlertSize() {
|
|
131
|
+
this.alertSize = alertSizeForInput(this.getInput());
|
|
132
|
+
}
|
|
127
133
|
/**
|
|
128
134
|
* Get the event names to listen for.
|
|
129
135
|
* If the input is a synergy element, will use syn- prefixes.
|
|
@@ -205,7 +211,7 @@ var SynValidate = class extends SynergyElement {
|
|
|
205
211
|
this.updateEvents();
|
|
206
212
|
const input = this.getInput();
|
|
207
213
|
if (this.customValidationMessage) {
|
|
208
|
-
if (input
|
|
214
|
+
if (isSynergyElement(input)) {
|
|
209
215
|
await input.updateComplete;
|
|
210
216
|
}
|
|
211
217
|
input == null ? void 0 : input.setCustomValidity(this.customValidationMessage);
|
|
@@ -218,6 +224,23 @@ var SynValidate = class extends SynergyElement {
|
|
|
218
224
|
}
|
|
219
225
|
connectedCallback() {
|
|
220
226
|
super.connectedCallback();
|
|
227
|
+
this.sizeObserver = new MutationObserver((entries) => {
|
|
228
|
+
const input = this.getInput();
|
|
229
|
+
if (!input) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
const hasSizeChanged = entries.filter(({ target }) => target === input).every(
|
|
233
|
+
(entry) => entry.attributeName === "size"
|
|
234
|
+
);
|
|
235
|
+
if (hasSizeChanged) {
|
|
236
|
+
this.setAlertSize();
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
this.sizeObserver.observe(this, {
|
|
240
|
+
attributeFilter: ["size"],
|
|
241
|
+
attributes: true,
|
|
242
|
+
subtree: true
|
|
243
|
+
});
|
|
221
244
|
this.observer = new MutationObserver((entries) => {
|
|
222
245
|
const input = this.getInput();
|
|
223
246
|
if (!input) {
|
|
@@ -231,7 +254,7 @@ var SynValidate = class extends SynergyElement {
|
|
|
231
254
|
this.isValid = true;
|
|
232
255
|
this.validationMessage = "";
|
|
233
256
|
} else {
|
|
234
|
-
const waitForPromise = input
|
|
257
|
+
const waitForPromise = isSynergyElement(input) ? input.updateComplete : Promise.resolve();
|
|
235
258
|
waitForPromise.then(() => {
|
|
236
259
|
var _a, _b, _c;
|
|
237
260
|
this.isValid = (_b = (_a = input == null ? void 0 : input.validity) == null ? void 0 : _a.valid) != null ? _b : false;
|
|
@@ -246,10 +269,11 @@ var SynValidate = class extends SynergyElement {
|
|
|
246
269
|
});
|
|
247
270
|
}
|
|
248
271
|
disconnectedCallback() {
|
|
249
|
-
var _a;
|
|
272
|
+
var _a, _b;
|
|
250
273
|
super.disconnectedCallback();
|
|
251
274
|
this.controller.abort();
|
|
252
275
|
(_a = this == null ? void 0 : this.observer) == null ? void 0 : _a.disconnect();
|
|
276
|
+
(_b = this == null ? void 0 : this.sizeObserver) == null ? void 0 : _b.disconnect();
|
|
253
277
|
}
|
|
254
278
|
renderInlineValidation() {
|
|
255
279
|
if (this.variant !== "inline" || !this.validationMessage) {
|
|
@@ -260,6 +284,7 @@ var SynValidate = class extends SynergyElement {
|
|
|
260
284
|
open
|
|
261
285
|
exportparts="base:alert__base,message:alert__message,icon:alert__icon"
|
|
262
286
|
part="alert"
|
|
287
|
+
size=${ifDefined(this.alertSize)}
|
|
263
288
|
variant="danger"
|
|
264
289
|
>
|
|
265
290
|
${!this.hideIcon ? html`<syn-icon slot="icon" name="status-error" library="system"></syn-icon>` : ""}
|
|
@@ -302,6 +327,9 @@ __decorateClass([
|
|
|
302
327
|
__decorateClass([
|
|
303
328
|
state()
|
|
304
329
|
], SynValidate.prototype, "isValid", 2);
|
|
330
|
+
__decorateClass([
|
|
331
|
+
state()
|
|
332
|
+
], SynValidate.prototype, "alertSize", 2);
|
|
305
333
|
__decorateClass([
|
|
306
334
|
property({ reflect: true })
|
|
307
335
|
], SynValidate.prototype, "variant", 2);
|
|
@@ -333,4 +361,4 @@ SynValidate = __decorateClass([
|
|
|
333
361
|
export {
|
|
334
362
|
SynValidate
|
|
335
363
|
};
|
|
336
|
-
//# sourceMappingURL=chunk.
|
|
364
|
+
//# sourceMappingURL=chunk.AD2MXM4K.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/validate/validate.component.ts"],
|
|
4
|
+
"sourcesContent": ["import type { CSSResultGroup, PropertyValues } from 'lit';\nimport { html } from 'lit';\nimport { property, queryAssignedElements, state } from 'lit/decorators.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport type SynInput from '../input/input.component.js';\nimport { watch } from '../../internal/watch.js';\nimport SynAlert from '../alert/alert.component.js';\nimport {\n alertSizeForInput,\n getEventNameForElement,\n isBlurEvent,\n isInvalidEvent,\n isSynergyElement,\n normalizeEventAttribute,\n} from './utility.js';\nimport styles from './validate.styles.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Validate provides form field validation messages in a unified way.\n * It does this by using [the native browser validation](https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation)\n * and showing the validation message in a consistent, user defined way.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-validate--docs\n * @dependency syn-alert\n *\n * @slot - The form field that should be validated.\n * Avoid slotting in more than one element, as subsequent ones will be ignored.\n *\n * @csspart base - The component's base wrapper.\n * @csspart input-wrapper - The container that wraps the form field.\n * @csspart alert - The syn-alert that is shown when the variant is set to \"inline\".\n * @csspart alert__base - The container that wraps the alert.\n * @csspart alert__message - The container that wraps the alert message.\n * @csspart alert__icon - The container that wraps the alert icon.\n */\n@enableDefaultSettings('SynValidate')\nexport default class SynValidate extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n static dependencies = {\n 'syn-alert': SynAlert,\n };\n\n controller = new AbortController();\n\n observer: MutationObserver;\n\n sizeObserver: MutationObserver;\n\n @queryAssignedElements() private slottedChildren: HTMLElement[];\n\n @state() validationMessage = '';\n\n @state() eagerFirstMount = true;\n\n @state() isInternalTriggeredInvalid = false;\n\n @state() isValid = true;\n\n @state() alertSize?: SynInput['size'];\n\n /**\n * The variant that should be used to show validation alerts.\n *\n * The following variants are supported:\n * - **native** (default): Uses the native browser validation, usually a browser tooltip.\n * - **inline**: Show the validation message underneath the element, using a `<syn-alert>`\n */\n @property({ reflect: true }) variant: 'native' | 'inline' = 'native';\n\n /** Do not show the error icon when using the inline variant validation */\n @property({ attribute: 'hide-icon', reflect: true, type: Boolean }) hideIcon = false;\n\n /**\n * Defines the events that trigger the validation.\n * `invalid` will always automatically be included.\n * You may also use the `live` keyword to validate on every input change.\n * `live` will make sure to listen to the `invalid`, `input` and `blur` events.\n *\n * Please have a look at the [documentation for native form validation](https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation)\n * and [the use of form invalid events](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/invalid_event) for further information.\n *\n * @example ```html\n * <!-- Validate on invalid and change events (invalid, change) -->\n * <syn-validate on=\"invalid change\"></syn-validate>\n *\n * <!-- Validate on live events (invalid, blur, input)-->\n * <syn-validate on=\"live\"></syn-validate>\n *\n * <!-- Validate on live and custom events (invalid, blur, input, focus, change) -->\n * <syn-validate on=\"live focus change\"></syn-validate>\n * ```\n */\n @property({ reflect: true }) on: string = '';\n\n /**\n * Custom validation message to be displayed when the input is invalid.\n * Will override the default browser validation message.\n * Set to an empty string to reset the validation message.\n */\n @property({ attribute: 'custom-validation-message', type: String }) customValidationMessage = '';\n\n /**\n * Set this to true to validate the input immediately when it is rendered.\n * Best used with a `variant` of `inline`.\n * When setting eager, the input will not be focused automatically.\n *\n * When using a `variant` of `native` the browser will focus\n * the last eager field as it is using a tooltip.\n * In this case it is better to just provide one eager field.\n */\n @property({ type: Boolean }) eager = false;\n\n // Automatically refresh all event listeners when the on property changes.\n @watch('on', { waitUntilFirstUpdate: true })\n handleListenerChange() {\n this.updateEvents();\n }\n\n @watch('eager', { waitUntilFirstUpdate: false })\n async handleEagerChange() {\n if (this.eager) {\n const input = this.getInput();\n await this.updateComplete;\n input?.reportValidity();\n this.eagerFirstMount = true;\n } else {\n this.eagerFirstMount = false;\n }\n }\n\n // Synchronize the validation message on the wrapped input with the custom message\n @watch('customValidationMessage', { waitUntilFirstUpdate: true })\n handleCustomValidationMessageChange() {\n const input = this.getInput();\n if (input) {\n this.setCustomValidationMessage(input);\n this.setValidationMessage(input);\n }\n }\n\n /**\n * Returns the validity state of the input component.\n * `true` for valid and `false` for invalid.\n */\n getValidity() {\n return this.isValid;\n }\n\n /**\n * Get the input element to validate. Defined as the first slotted element\n * @returns The input element or undefined if not found\n */\n private getInput() {\n const input = this.slottedChildren[0];\n return input ? input as HTMLInputElement : undefined;\n }\n\n private setAlertSize() {\n this.alertSize = alertSizeForInput(this.getInput());\n }\n\n /**\n * Get the event names to listen for.\n * If the input is a synergy element, will use syn- prefixes.\n * @returns The event names to listen for\n */\n // eslint-disable-next-line complexity\n private getUsedEventNames() {\n const input = this.getInput();\n\n // If there is no input, skip before doing any harm\n if (!input) {\n return [];\n }\n\n // Make sure to always use an array of events\n // This is needed because on may be a special value like \"live\"\n const on = normalizeEventAttribute(this.on);\n\n // Filter makes sure to remove empty values, e.g.\n // <syn-validate on=\"\"></syn-validate>\n const [...events] = on.filter(Boolean);\n\n // Make sure to always have an invalid event\n if (!events.includes('invalid')) {\n events.push('invalid');\n }\n\n // Special handling for the live keyword:\n // live always means on input and blur\n if (events.includes('live')) {\n events.push('input');\n events.push('blur');\n }\n\n // Make sure to remove duplicated events and the live property\n // and map the events to the correct event names\n return Array.from(new Set(\n events\n .filter(e => e !== 'live')\n .map(e => getEventNameForElement(input, e)),\n ));\n }\n\n /**\n * Update the events on the input element.\n */\n private updateEvents() {\n this.controller.abort();\n this.controller = new AbortController();\n const input = this.getInput();\n\n if (!input) {\n return;\n }\n\n const events = this.getUsedEventNames();\n events.forEach(eventName => {\n // eslint-disable-next-line @typescript-eslint/no-misused-promises\n input.addEventListener(eventName, this.validate, {\n capture: isInvalidEvent(eventName),\n signal: this.controller.signal,\n });\n });\n\n // If the change event is not included,\n // make sure to attach a custom listener that resets the validation message\n // This is needed as the custom message may be set on change\n const usedChangeEvent = getEventNameForElement(input, 'change');\n if (!events.includes(usedChangeEvent)) {\n input.addEventListener(usedChangeEvent, this.internalRevalidate, {\n signal: this.controller.signal,\n });\n }\n }\n\n private setValidationMessage(input: HTMLInputElement) {\n const { customValidationMessage } = this;\n const validationMessage = customValidationMessage || input.validationMessage;\n this.validationMessage = validationMessage;\n }\n\n /**\n * Set the custom validation message to the input. This will make sure to either:\n * - use the custom message if one is set or\n * - use the default message if the custom message is empty\n */\n private setCustomValidationMessage(input: HTMLInputElement) {\n // Set the custom validation message on the input only once, when the customValidationMessage\n // is changed. Otherwise there could be problems with `variant=\"native\"` and `on=\"live\"` or\n // `on=\"blur\"`, because the browser popup will never disappear even if clicking somewhere else.\n input.setCustomValidity(this.customValidationMessage);\n }\n\n /**\n * Set the validation message from the input element\n * @param e The event that was received\n */\n private internalRevalidate = (e: Event) => {\n const input = e.currentTarget as HTMLInputElement;\n if (input.validity?.valid) {\n this.validationMessage = '';\n }\n };\n\n /**\n * Handle the blur event during validation\n */\n // eslint-disable-next-line class-methods-use-this\n private handleFocus(input: HTMLInputElement) {\n const activeElement = document.activeElement! as HTMLInputElement;\n const activeElementIsWrapped = activeElement.closest('syn-validate');\n\n if (!activeElement.validity?.valid && activeElementIsWrapped) {\n // The active element is invalid do not scroll\n return;\n }\n\n input.scrollIntoView({ block: 'nearest' });\n input.focus();\n }\n\n /**\n * Triggers a validation run, showing the validation message if needed.\n */\n // eslint-disable-next-line complexity\n private validate = async (e: Event) => {\n // Make sure to stop the validate component from going into an endless cycle of triggering\n if (isInvalidEvent(e.type) && this.variant === 'native' && this.isInternalTriggeredInvalid === true) {\n this.isInternalTriggeredInvalid = false;\n return;\n }\n\n // Make sure to always prevent the invalid event when not using native validation\n if (isInvalidEvent(e.type) && this.variant !== 'native') {\n e.preventDefault();\n e.stopPropagation();\n }\n\n const input = e.currentTarget as HTMLInputElement;\n if (isSynergyElement(input)) {\n // When using a synergy element, we need to wait for it to be ready!\n // This is needed as the validity state of the element may not be set yet.\n await input.updateComplete;\n }\n this.isValid = input.validity?.valid;\n\n // When we are using eager, make sure to skip focus on the first mount\n if (this.eager && this.eagerFirstMount) {\n this.eagerFirstMount = false;\n this.setValidationMessage(input);\n return;\n }\n\n // If the active element that has focus is placed in a validate component,\n // make sure to not loose focus.\n if (!this.isValid && !isBlurEvent(e.type)) {\n this.handleFocus(input);\n }\n\n this.setValidationMessage(input);\n\n // Trigger reportValidity when using native validation, so the browser popup is also shown\n // for other events than `invalid`. All events except the blur event, should trigger this.\n if (!isBlurEvent(e.type) && this.variant === 'native') {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.isInternalTriggeredInvalid = true;\n input.reportValidity();\n });\n }\n };\n\n async firstUpdated(changedProperties: PropertyValues) {\n super.firstUpdated(changedProperties);\n this.updateEvents();\n\n // #713: Make sure to set the custom validation message on mount\n // When we have a custom element, we need to wait for it to be ready!\n const input = this.getInput();\n\n if (this.customValidationMessage) {\n if (isSynergyElement(input)) {\n await input.updateComplete;\n }\n input?.setCustomValidity(this.customValidationMessage);\n }\n\n // Make sure to run validation on mount if eager is set\n if (this.eager) {\n await this.updateComplete;\n this.isValid = input?.validity?.valid ?? false;\n input?.reportValidity();\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n\n // #1119: Update alert size when the input size changes\n // Note that we need to create our own observer here,\n // as the size attribute may be changed on the input element directly,\n // which would not be captured by the synergy-element observer.\n this.sizeObserver = new MutationObserver(entries => {\n const input = this.getInput();\n\n if (!input) {\n return;\n }\n\n const hasSizeChanged = entries\n .filter(({ target }) => target === input)\n .every(\n entry => entry.attributeName === 'size',\n );\n\n if (hasSizeChanged) {\n this.setAlertSize();\n }\n });\n\n this.sizeObserver.observe(this, {\n attributeFilter: ['size'],\n attributes: true,\n subtree: true,\n });\n\n // #717: Make sure to remove to rerun validation when\n // disabled or readonly properties change on the input\n this.observer = new MutationObserver(entries => {\n const input = this.getInput();\n\n if (!input) {\n return;\n }\n\n // Check if the input is disabled or readonly\n const hasDisabledOrReadonly = entries\n .filter(({ target }) => target === input)\n .every(entry => {\n const target = entry.target as HTMLInputElement;\n return target.hasAttribute('disabled') || target.hasAttribute('readonly');\n });\n\n if (hasDisabledOrReadonly) {\n this.isValid = true;\n this.validationMessage = '';\n } else {\n // When using a synergy element, we need to check the validity after the element is updated,\n // as we cannot rely on the validity state of the element itself.\n // Unfortunately, this depends on used browser :(.\n const waitForPromise = isSynergyElement(input)\n ? input.updateComplete\n : Promise.resolve();\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n waitForPromise.then(() => {\n this.isValid = input?.validity?.valid ?? false;\n this.validationMessage = input?.validationMessage ?? '';\n });\n }\n });\n\n this.observer.observe(this, {\n attributeFilter: ['disabled', 'readonly'],\n attributes: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.controller.abort();\n this?.observer?.disconnect();\n this?.sizeObserver?.disconnect();\n }\n\n private renderInlineValidation() {\n if (this.variant !== 'inline' || !this.validationMessage) {\n return '';\n }\n\n return html`\n <syn-alert\n open\n exportparts=\"base:alert__base,message:alert__message,icon:alert__icon\"\n part=\"alert\"\n size=${ifDefined(this.alertSize)}\n variant=\"danger\"\n >\n ${!this.hideIcon\n ? html`<syn-icon slot=\"icon\" name=\"status-error\" library=\"system\"></syn-icon>`\n : ''\n }\n ${this.validationMessage}\n </syn-alert>\n `;\n }\n\n render() {\n return html`\n <div\n class=\"validate\"\n part=\"base\"\n >\n <slot\n class=\"validate__input-wrapper\"\n part=\"input-wrapper\"\n ></slot>\n \n ${this.renderInlineValidation()}\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,YAAY;AACrB,SAAS,UAAU,uBAAuB,aAAa;AACvD,SAAS,iBAAiB;AAmC1B,IAAqB,cAArB,cAAyC,eAAe;AAAA,EAAxD;AAAA;AAOE,sBAAa,IAAI,gBAAgB;AAQxB,6BAAoB;AAEpB,2BAAkB;AAElB,sCAA6B;AAE7B,mBAAU;AAWU,mBAA+B;AAGQ,oBAAW;AAsBlD,cAAa;AAO0B,mCAA0B;AAWjE,iBAAQ;AAoJrC;AAAA;AAAA;AAAA;AAAA,SAAQ,qBAAqB,CAAC,MAAa;AArQ7C;AAsQI,YAAM,QAAQ,EAAE;AAChB,WAAI,WAAM,aAAN,mBAA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M,SAAS,EAAE,sBAAsB,MAAM,CAAC;AAAA,GAnF5B,YAoFb;AAaN;AAAA,EADC,MAAM,2BAA2B,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAhG7C,YAiGnB;AAjGmB,cAArB;AAAA,EADC,sBAAsB,aAAa;AAAA,GACf;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCheckbox
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.P5T3CMUX.js";
|
|
4
4
|
|
|
5
5
|
// src/components/checkbox/checkbox.ts
|
|
6
6
|
var checkbox_default = SynCheckbox;
|
|
@@ -9,4 +9,4 @@ SynCheckbox.define("syn-checkbox");
|
|
|
9
9
|
export {
|
|
10
10
|
checkbox_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.B52RDYGF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynAccordion
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.WU6XDHS4.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.BOIZLENZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
INITIAL_DEFAULT_SETTINGS,
|
|
3
3
|
defaultSettings
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.YBZFYBWC.js";
|
|
5
5
|
|
|
6
6
|
// src/utilities/defaultSettings/functions.ts
|
|
7
7
|
var SYNERGY_EXPERIMENTAL_SETTING_EMIT_EVENTS = false;
|
|
@@ -144,4 +144,4 @@ export {
|
|
|
144
144
|
setGlobalDefaultSettings,
|
|
145
145
|
resetGlobalDefaultSettings
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk.
|
|
147
|
+
//# sourceMappingURL=chunk.C4JMEKUF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynFile
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GIOT5U5N.js";
|
|
4
4
|
|
|
5
5
|
// src/components/file/file.ts
|
|
6
6
|
var file_default = SynFile;
|
|
@@ -9,4 +9,4 @@ SynFile.define("syn-file");
|
|
|
9
9
|
export {
|
|
10
10
|
file_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.CHMEOFSF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.DJOEE36C.js";
|
|
4
4
|
|
|
5
5
|
// src/components/select/select.ts
|
|
6
6
|
var select_default = SynSelect;
|
|
@@ -9,4 +9,4 @@ SynSelect.define("syn-select");
|
|
|
9
9
|
export {
|
|
10
10
|
select_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.CN3EEOJ2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.R7343W54.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu-item/menu-item.ts
|
|
6
6
|
var menu_item_default = SynMenuItem;
|
|
@@ -9,4 +9,4 @@ SynMenuItem.define("syn-menu-item");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_item_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.CYXEGDSN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.TRBFZK2B.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-group/radio-group.ts
|
|
6
6
|
var radio_group_default = SynRadioGroup;
|
|
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DFMJMMC7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GJQVGKI2.js";
|
|
4
4
|
import {
|
|
5
5
|
compareValues,
|
|
6
6
|
isAllowedValue
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk.XTWO6ZZW.js";
|
|
14
14
|
import {
|
|
15
15
|
SynPopup
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.56USGF2W.js";
|
|
17
17
|
import {
|
|
18
18
|
scrollIntoView
|
|
19
19
|
} from "./chunk.5732DMBC.js";
|
|
@@ -40,13 +40,13 @@ import {
|
|
|
40
40
|
} from "./chunk.WVVQK5TE.js";
|
|
41
41
|
import {
|
|
42
42
|
SynIcon
|
|
43
|
-
} from "./chunk.
|
|
43
|
+
} from "./chunk.H73IAJJE.js";
|
|
44
44
|
import {
|
|
45
45
|
LocalizeController
|
|
46
46
|
} from "./chunk.OAQRCZOO.js";
|
|
47
47
|
import {
|
|
48
48
|
enableDefaultSettings
|
|
49
|
-
} from "./chunk.
|
|
49
|
+
} from "./chunk.HYFCK7MM.js";
|
|
50
50
|
import {
|
|
51
51
|
watch
|
|
52
52
|
} from "./chunk.BVZQ6QSY.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
} from "./chunk.NLYVOJGK.js";
|
|
56
56
|
import {
|
|
57
57
|
SynergyElement
|
|
58
|
-
} from "./chunk.
|
|
58
|
+
} from "./chunk.EXWGH7UL.js";
|
|
59
59
|
import {
|
|
60
60
|
__decorateClass
|
|
61
61
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -879,4 +879,4 @@ setDefaultAnimation("select.hide", {
|
|
|
879
879
|
export {
|
|
880
880
|
SynSelect
|
|
881
881
|
};
|
|
882
|
-
//# sourceMappingURL=chunk.
|
|
882
|
+
//# sourceMappingURL=chunk.DJOEE36C.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk.G76BKD7B.js";
|
|
11
11
|
import {
|
|
12
12
|
SynPopup
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.56USGF2W.js";
|
|
14
14
|
import {
|
|
15
15
|
waitForEvent
|
|
16
16
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk.NLYVOJGK.js";
|
|
34
34
|
import {
|
|
35
35
|
SynergyElement
|
|
36
|
-
} from "./chunk.
|
|
36
|
+
} from "./chunk.EXWGH7UL.js";
|
|
37
37
|
import {
|
|
38
38
|
__decorateClass
|
|
39
39
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -385,4 +385,4 @@ setDefaultAnimation("dropdown.hide", {
|
|
|
385
385
|
export {
|
|
386
386
|
SynDropdown
|
|
387
387
|
};
|
|
388
|
-
//# sourceMappingURL=chunk.
|
|
388
|
+
//# sourceMappingURL=chunk.DN2RAXQJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRange
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.7DOGSV7H.js";
|
|
4
4
|
|
|
5
5
|
// src/components/range/range.ts
|
|
6
6
|
var range_default = SynRange;
|
|
@@ -9,4 +9,4 @@ SynRange.define("syn-range");
|
|
|
9
9
|
export {
|
|
10
10
|
range_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DT576MV3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBreadcrumbItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.IX2VNOGV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/breadcrumb-item/breadcrumb-item.ts
|
|
6
6
|
var breadcrumb_item_default = SynBreadcrumbItem;
|
|
@@ -9,4 +9,4 @@ SynBreadcrumbItem.define("syn-breadcrumb-item");
|
|
|
9
9
|
export {
|
|
10
10
|
breadcrumb_item_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DUHQT5UC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LHULOG5J.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio/radio.ts
|
|
6
6
|
var radio_default = SynRadio;
|
|
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DUR7EXZ5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTabPanel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.S5OH4G5W.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tab-panel/tab-panel.ts
|
|
6
6
|
var tab_panel_default = SynTabPanel;
|
|
@@ -9,4 +9,4 @@ SynTabPanel.define("syn-tab-panel");
|
|
|
9
9
|
export {
|
|
10
10
|
tab_panel_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DZUQKLAK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.3VPFP2NO.js";
|
|
4
4
|
|
|
5
5
|
// src/components/spinner/spinner.ts
|
|
6
6
|
var spinner_default = SynSpinner;
|
|
@@ -9,4 +9,4 @@ SynSpinner.define("syn-spinner");
|
|
|
9
9
|
export {
|
|
10
10
|
spinner_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.EF5QNNNV.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.IVM3BGRH.js";
|
|
10
10
|
import {
|
|
11
11
|
SynIcon
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.H73IAJJE.js";
|
|
13
13
|
import {
|
|
14
14
|
LocalizeController
|
|
15
15
|
} from "./chunk.OAQRCZOO.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk.NLYVOJGK.js";
|
|
22
22
|
import {
|
|
23
23
|
SynergyElement
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.EXWGH7UL.js";
|
|
25
25
|
import {
|
|
26
26
|
__decorateClass
|
|
27
27
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -186,4 +186,4 @@ __decorateClass([
|
|
|
186
186
|
export {
|
|
187
187
|
SynOption
|
|
188
188
|
};
|
|
189
|
-
//# sourceMappingURL=chunk.
|
|
189
|
+
//# sourceMappingURL=chunk.EO26ATDV.js.map
|
|
@@ -81,7 +81,7 @@ var SynergyElement = class extends LitElement {
|
|
|
81
81
|
_hasRecordedInitialProperties = new WeakMap();
|
|
82
82
|
/* eslint-disable */
|
|
83
83
|
// @ts-expect-error This is auto-injected at build time.
|
|
84
|
-
SynergyElement.version = "2.
|
|
84
|
+
SynergyElement.version = "2.74.0";
|
|
85
85
|
SynergyElement.dependencies = {};
|
|
86
86
|
__decorateClass([
|
|
87
87
|
property()
|
|
@@ -93,4 +93,4 @@ __decorateClass([
|
|
|
93
93
|
export {
|
|
94
94
|
SynergyElement
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=chunk.
|
|
96
|
+
//# sourceMappingURL=chunk.EXWGH7UL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/internal/synergy-element.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 { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"2.
|
|
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 { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"2.74.0\";\n \n\n static define(name: string, elementConstructor = this, options: ElementDefinitionOptions = {}) {\n const currentlyRegisteredConstructor = customElements.get(name) as\n | CustomElementConstructor\n | typeof SynergyElement;\n\n if (!currentlyRegisteredConstructor) {\n // We try to register as the actual class first. If for some reason that fails, we fall back to anonymous classes.\n // customElements can only have 1 class of the same \"object id\" per registry, so that is why the try {} catch {} exists.\n // Some tools like Jest Snapshots and if you import the constructor and call `new SynButton()` they will fail with\n // the anonymous class version.\n try {\n customElements.define(name, elementConstructor, options);\n } catch (_err) {\n customElements.define(name, class extends elementConstructor {}, options);\n }\n return;\n }\n\n let newVersion = ' (unknown version)';\n let existingVersion = newVersion;\n\n if ('version' in elementConstructor && elementConstructor.version) {\n newVersion = ' v' + elementConstructor.version;\n }\n\n if ('version' in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {\n existingVersion = ' v' + currentlyRegisteredConstructor.version;\n }\n\n // Need to make sure we're not working with null or empty strings before doing version comparisons.\n if (newVersion && existingVersion && newVersion === existingVersion) {\n // If versions match, we don't need to warn anyone. Carry on.\n return;\n }\n\n console.warn(\n `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`\n );\n }\n\n static dependencies: Record<string, typeof SynergyElement> = {};\n\n constructor() {\n super();\n Object.entries((this.constructor as typeof SynergyElement).dependencies).forEach(([name, component]) => {\n (this.constructor as typeof SynergyElement).define(name, component);\n });\n }\n\n #hasRecordedInitialProperties = false;\n\n // Store the constructor value of all `static properties = {}`\n initialReflectedProperties: Map<string, unknown> = new Map();\n\n attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null) {\n if (!this.#hasRecordedInitialProperties) {\n (this.constructor as typeof SynergyElement).elementProperties.forEach(\n (obj, prop: keyof typeof this & string) => {\n // eslint-disable-next-line\n if (obj.reflect && this[prop] != null) {\n this.initialReflectedProperties.set(prop, this[prop]);\n }\n }\n );\n\n this.#hasRecordedInitialProperties = true;\n }\n\n super.attributeChangedCallback(name, oldValue, newValue);\n }\n\n protected willUpdate(changedProperties: Parameters<LitElement['willUpdate']>[0]): void {\n super.willUpdate(changedProperties);\n\n // Run the morph fixing *after* willUpdate.\n this.initialReflectedProperties.forEach((value, prop: string & keyof typeof this) => {\n // If a prop changes to `null`, we assume this happens via an attribute changing to `null`.\n // eslint-disable-next-line\n if (changedProperties.has(prop) && this[prop] == null) {\n // Silly type gymnastics to appease the compiler.\n (this as Record<string, unknown>)[prop] = value;\n }\n });\n }\n}\n\nexport interface SynergyFormControl extends SynergyElement {\n // Form attributes\n name: string;\n value: unknown;\n disabled?: boolean;\n defaultValue?: unknown;\n defaultChecked?: boolean;\n form?: string;\n\n // Constraint validation attributes\n pattern?: string;\n min?: number | string | Date;\n max?: number | string | Date;\n step?: number | 'any';\n required?: boolean;\n minlength?: number;\n maxlength?: number;\n\n // Form validation properties\n readonly validity: ValidityState;\n readonly validationMessage: string;\n\n // Form validation methods\n checkValidity: () => boolean;\n getForm: () => HTMLFormElement | null;\n reportValidity: () => boolean;\n setCustomValidity: (message: string) => void;\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;AAQA,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AATzB;AAwEA,IAAqB,iBAArB,cAA4C,WAAW;AAAA,EA8ErD,cAAc;AACZ,UAAM;AAMR,sDAAgC;AAGhC;AAAA,sCAAmD,oBAAI,IAAI;AARzD,WAAO,QAAS,KAAK,YAAsC,YAAY,EAAE,QAAQ,CAAC,CAAC,MAAM,SAAS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,+BAAgC;AAAA,IACvC;AAEA,UAAM,yBAAyB,MAAM,UAAU,QAAQ;AAAA,EACzD;AAAA,EAEU,WAAW,mBAAkE;AACrF,UAAM,WAAW,iBAAiB;AAGlC,SAAK,2BAA2B,QAAQ,CAAC,OAAO,SAAqC;AAGnF,UAAI,kBAAkB,IAAI,IAAI,KAAK,KAAK,IAAI,KAAK,MAAM;AAErD,QAAC,KAAiC,IAAI,IAAI;AAAA,MAC5C;AAAA,IACF,CAAC;AAAA,EACH;AACF;AAnCE;AAAA;AAAA;AArFmB,eAiCZ,UAAU;AAjCE,eA4EZ,eAAsD,CAAC;AA1ElD;AAAA,EAAX,SAAS;AAAA,GAFS,eAEP;AACA;AAAA,EAAX,SAAS;AAAA,GAHS,eAGP;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.NLYVOJGK.js";
|
|
7
7
|
import {
|
|
8
8
|
SynergyElement
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.EXWGH7UL.js";
|
|
10
10
|
import {
|
|
11
11
|
__decorateClass
|
|
12
12
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -89,4 +89,4 @@ function findButton(el) {
|
|
|
89
89
|
export {
|
|
90
90
|
SynButtonGroup
|
|
91
91
|
};
|
|
92
|
-
//# sourceMappingURL=chunk.
|
|
92
|
+
//# sourceMappingURL=chunk.F74LVOLR.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.XAQKFEHH.js";
|
|
10
10
|
import {
|
|
11
11
|
SynDivider
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.4XFY2FBP.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultValue
|
|
15
15
|
} from "./chunk.3NXKLKWH.js";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
} from "./chunk.WVVQK5TE.js";
|
|
26
26
|
import {
|
|
27
27
|
SynIcon
|
|
28
|
-
} from "./chunk.
|
|
28
|
+
} from "./chunk.H73IAJJE.js";
|
|
29
29
|
import {
|
|
30
30
|
LocalizeController
|
|
31
31
|
} from "./chunk.OAQRCZOO.js";
|
|
32
32
|
import {
|
|
33
33
|
enableDefaultSettings
|
|
34
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.HYFCK7MM.js";
|
|
35
35
|
import {
|
|
36
36
|
createNumericStrategy,
|
|
37
37
|
modernNumericStrategy,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk.NLYVOJGK.js";
|
|
46
46
|
import {
|
|
47
47
|
SynergyElement
|
|
48
|
-
} from "./chunk.
|
|
48
|
+
} from "./chunk.EXWGH7UL.js";
|
|
49
49
|
import {
|
|
50
50
|
__decorateClass,
|
|
51
51
|
__privateAdd,
|
|
@@ -867,4 +867,4 @@ SynInput = __decorateClass([
|
|
|
867
867
|
export {
|
|
868
868
|
SynInput
|
|
869
869
|
};
|
|
870
|
-
//# sourceMappingURL=chunk.
|
|
870
|
+
//# sourceMappingURL=chunk.FGBZY4DD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCard
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XJW5YGDP.js";
|
|
4
4
|
|
|
5
5
|
// src/components/card/card.ts
|
|
6
6
|
var card_default = SynCard;
|
|
@@ -9,4 +9,4 @@ SynCard.define("syn-card");
|
|
|
9
9
|
export {
|
|
10
10
|
card_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.FIBNLYVR.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.EXWGH7UL.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass
|
|
15
15
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -160,4 +160,4 @@ __decorateClass([
|
|
|
160
160
|
export {
|
|
161
161
|
SynMenu
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=chunk.
|
|
163
|
+
//# sourceMappingURL=chunk.G77AJVFW.js.map
|